@mtnmanager/sdk 0.0.14 → 0.0.16

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 (58) hide show
  1. package/README.md +3 -2
  2. package/dist/esm/models/CurrentWeather.d.ts +9 -23
  3. package/dist/esm/models/CurrentWeather.js +6 -17
  4. package/dist/esm/models/DailyForecast.d.ts +8 -7
  5. package/dist/esm/models/DailyForecast.js +5 -6
  6. package/dist/esm/models/DailyForecastImperial.d.ts +4 -4
  7. package/dist/esm/models/DailyForecastImperial.js +4 -12
  8. package/dist/esm/models/DailyForecastMetric.d.ts +4 -4
  9. package/dist/esm/models/DailyForecastMetric.js +4 -12
  10. package/dist/esm/models/HourlyForecast.d.ts +6 -11
  11. package/dist/esm/models/HourlyForecast.js +5 -10
  12. package/dist/esm/models/HourlyForecastImperial.d.ts +4 -4
  13. package/dist/esm/models/HourlyForecastImperial.js +4 -12
  14. package/dist/esm/models/HourlyForecastMetric.d.ts +4 -4
  15. package/dist/esm/models/HourlyForecastMetric.js +4 -12
  16. package/dist/esm/models/ImperialUnits.d.ts +3 -9
  17. package/dist/esm/models/ImperialUnits.js +3 -11
  18. package/dist/esm/models/MetricUnits.d.ts +3 -9
  19. package/dist/esm/models/MetricUnits.js +3 -11
  20. package/dist/esm/models/PublicLift.d.ts +0 -6
  21. package/dist/esm/models/PublicLift.js +0 -2
  22. package/dist/esm/models/PublicRun.d.ts +6 -0
  23. package/dist/esm/models/PublicRun.js +2 -0
  24. package/dist/esm/models/RecurrencePatternOneOf.js +2 -0
  25. package/dist/esm/models/RecurrencePatternOneOf1.js +2 -0
  26. package/dist/esm/models/WeatherConditionCode.d.ts +22 -0
  27. package/dist/esm/models/WeatherConditionCode.js +43 -0
  28. package/dist/esm/models/index.d.ts +1 -0
  29. package/dist/esm/models/index.js +1 -0
  30. package/dist/models/CurrentWeather.d.ts +9 -23
  31. package/dist/models/CurrentWeather.js +6 -17
  32. package/dist/models/DailyForecast.d.ts +8 -7
  33. package/dist/models/DailyForecast.js +5 -6
  34. package/dist/models/DailyForecastImperial.d.ts +4 -4
  35. package/dist/models/DailyForecastImperial.js +4 -12
  36. package/dist/models/DailyForecastMetric.d.ts +4 -4
  37. package/dist/models/DailyForecastMetric.js +4 -12
  38. package/dist/models/HourlyForecast.d.ts +6 -11
  39. package/dist/models/HourlyForecast.js +5 -10
  40. package/dist/models/HourlyForecastImperial.d.ts +4 -4
  41. package/dist/models/HourlyForecastImperial.js +4 -12
  42. package/dist/models/HourlyForecastMetric.d.ts +4 -4
  43. package/dist/models/HourlyForecastMetric.js +4 -12
  44. package/dist/models/ImperialUnits.d.ts +3 -9
  45. package/dist/models/ImperialUnits.js +3 -11
  46. package/dist/models/MetricUnits.d.ts +3 -9
  47. package/dist/models/MetricUnits.js +3 -11
  48. package/dist/models/PublicLift.d.ts +0 -6
  49. package/dist/models/PublicLift.js +0 -2
  50. package/dist/models/PublicRun.d.ts +6 -0
  51. package/dist/models/PublicRun.js +2 -0
  52. package/dist/models/RecurrencePatternOneOf.js +2 -0
  53. package/dist/models/RecurrencePatternOneOf1.js +2 -0
  54. package/dist/models/WeatherConditionCode.d.ts +22 -0
  55. package/dist/models/WeatherConditionCode.js +49 -0
  56. package/dist/models/index.d.ts +1 -0
  57. package/dist/models/index.js +1 -0
  58. package/package.json +1 -1
@@ -26,19 +26,19 @@ export interface HourlyForecastImperial {
26
26
  * @type {number}
27
27
  * @memberof HourlyForecastImperial
28
28
  */
29
- feelsLike: number;
29
+ feelsLike?: number | null;
30
30
  /**
31
31
  * Snowfall amount expected this hour in inches
32
32
  * @type {number}
33
33
  * @memberof HourlyForecastImperial
34
34
  */
35
- snowfall: number;
35
+ snowfall?: number | null;
36
36
  /**
37
37
  * Precipitation amount expected this hour in inches
38
38
  * @type {number}
39
39
  * @memberof HourlyForecastImperial
40
40
  */
41
- precipitation: number;
41
+ precipitation?: number | null;
42
42
  /**
43
43
  * Wind speed in mph
44
44
  * @type {number}
@@ -50,7 +50,7 @@ export interface HourlyForecastImperial {
50
50
  * @type {number}
51
51
  * @memberof HourlyForecastImperial
52
52
  */
53
- windGust: number;
53
+ windGust?: number | null;
54
54
  }
55
55
  /**
56
56
  * Check if a given object implements the HourlyForecastImperial interface.
@@ -24,16 +24,8 @@ exports.HourlyForecastImperialToJSONTyped = HourlyForecastImperialToJSONTyped;
24
24
  function instanceOfHourlyForecastImperial(value) {
25
25
  if (!('temperature' in value) || value['temperature'] === undefined)
26
26
  return false;
27
- if (!('feelsLike' in value) || value['feelsLike'] === undefined)
28
- return false;
29
- if (!('snowfall' in value) || value['snowfall'] === undefined)
30
- return false;
31
- if (!('precipitation' in value) || value['precipitation'] === undefined)
32
- return false;
33
27
  if (!('windSpeed' in value) || value['windSpeed'] === undefined)
34
28
  return false;
35
- if (!('windGust' in value) || value['windGust'] === undefined)
36
- return false;
37
29
  return true;
38
30
  }
39
31
  function HourlyForecastImperialFromJSON(json) {
@@ -45,11 +37,11 @@ function HourlyForecastImperialFromJSONTyped(json, ignoreDiscriminator) {
45
37
  }
46
38
  return {
47
39
  'temperature': json['temperature'],
48
- 'feelsLike': json['feels_like'],
49
- 'snowfall': json['snowfall'],
50
- 'precipitation': json['precipitation'],
40
+ 'feelsLike': json['feels_like'] == null ? undefined : json['feels_like'],
41
+ 'snowfall': json['snowfall'] == null ? undefined : json['snowfall'],
42
+ 'precipitation': json['precipitation'] == null ? undefined : json['precipitation'],
51
43
  'windSpeed': json['wind_speed'],
52
- 'windGust': json['wind_gust'],
44
+ 'windGust': json['wind_gust'] == null ? undefined : json['wind_gust'],
53
45
  };
54
46
  }
55
47
  function HourlyForecastImperialToJSON(json) {
@@ -26,19 +26,19 @@ export interface HourlyForecastMetric {
26
26
  * @type {number}
27
27
  * @memberof HourlyForecastMetric
28
28
  */
29
- feelsLike: number;
29
+ feelsLike?: number | null;
30
30
  /**
31
31
  * Snowfall amount expected this hour in centimeters
32
32
  * @type {number}
33
33
  * @memberof HourlyForecastMetric
34
34
  */
35
- snowfall: number;
35
+ snowfall?: number | null;
36
36
  /**
37
37
  * Precipitation amount expected this hour in millimeters
38
38
  * @type {number}
39
39
  * @memberof HourlyForecastMetric
40
40
  */
41
- precipitation: number;
41
+ precipitation?: number | null;
42
42
  /**
43
43
  * Wind speed in km/h
44
44
  * @type {number}
@@ -50,7 +50,7 @@ export interface HourlyForecastMetric {
50
50
  * @type {number}
51
51
  * @memberof HourlyForecastMetric
52
52
  */
53
- windGust: number;
53
+ windGust?: number | null;
54
54
  }
55
55
  /**
56
56
  * Check if a given object implements the HourlyForecastMetric interface.
@@ -24,16 +24,8 @@ exports.HourlyForecastMetricToJSONTyped = HourlyForecastMetricToJSONTyped;
24
24
  function instanceOfHourlyForecastMetric(value) {
25
25
  if (!('temperature' in value) || value['temperature'] === undefined)
26
26
  return false;
27
- if (!('feelsLike' in value) || value['feelsLike'] === undefined)
28
- return false;
29
- if (!('snowfall' in value) || value['snowfall'] === undefined)
30
- return false;
31
- if (!('precipitation' in value) || value['precipitation'] === undefined)
32
- return false;
33
27
  if (!('windSpeed' in value) || value['windSpeed'] === undefined)
34
28
  return false;
35
- if (!('windGust' in value) || value['windGust'] === undefined)
36
- return false;
37
29
  return true;
38
30
  }
39
31
  function HourlyForecastMetricFromJSON(json) {
@@ -45,11 +37,11 @@ function HourlyForecastMetricFromJSONTyped(json, ignoreDiscriminator) {
45
37
  }
46
38
  return {
47
39
  'temperature': json['temperature'],
48
- 'feelsLike': json['feels_like'],
49
- 'snowfall': json['snowfall'],
50
- 'precipitation': json['precipitation'],
40
+ 'feelsLike': json['feels_like'] == null ? undefined : json['feels_like'],
41
+ 'snowfall': json['snowfall'] == null ? undefined : json['snowfall'],
42
+ 'precipitation': json['precipitation'] == null ? undefined : json['precipitation'],
51
43
  'windSpeed': json['wind_speed'],
52
- 'windGust': json['wind_gust'],
44
+ 'windGust': json['wind_gust'] == null ? undefined : json['wind_gust'],
53
45
  };
54
46
  }
55
47
  function HourlyForecastMetricToJSON(json) {
@@ -32,13 +32,13 @@ export interface ImperialUnits {
32
32
  * @type {number}
33
33
  * @memberof ImperialUnits
34
34
  */
35
- snowfall: number;
35
+ snowfall?: number | null;
36
36
  /**
37
37
  * Precipitation in inches
38
38
  * @type {number}
39
39
  * @memberof ImperialUnits
40
40
  */
41
- precipitation: number;
41
+ precipitation?: number | null;
42
42
  /**
43
43
  * Wind speed in mph
44
44
  * @type {number}
@@ -50,13 +50,7 @@ export interface ImperialUnits {
50
50
  * @type {number}
51
51
  * @memberof ImperialUnits
52
52
  */
53
- windGust: number;
54
- /**
55
- * Visibility in miles (optional)
56
- * @type {number}
57
- * @memberof ImperialUnits
58
- */
59
- visibility?: number | null;
53
+ windGust?: number | null;
60
54
  }
61
55
  /**
62
56
  * Check if a given object implements the ImperialUnits interface.
@@ -26,14 +26,8 @@ function instanceOfImperialUnits(value) {
26
26
  return false;
27
27
  if (!('feelsLike' in value) || value['feelsLike'] === undefined)
28
28
  return false;
29
- if (!('snowfall' in value) || value['snowfall'] === undefined)
30
- return false;
31
- if (!('precipitation' in value) || value['precipitation'] === undefined)
32
- return false;
33
29
  if (!('windSpeed' in value) || value['windSpeed'] === undefined)
34
30
  return false;
35
- if (!('windGust' in value) || value['windGust'] === undefined)
36
- return false;
37
31
  return true;
38
32
  }
39
33
  function ImperialUnitsFromJSON(json) {
@@ -46,11 +40,10 @@ function ImperialUnitsFromJSONTyped(json, ignoreDiscriminator) {
46
40
  return {
47
41
  'temperature': json['temperature'],
48
42
  'feelsLike': json['feels_like'],
49
- 'snowfall': json['snowfall'],
50
- 'precipitation': json['precipitation'],
43
+ 'snowfall': json['snowfall'] == null ? undefined : json['snowfall'],
44
+ 'precipitation': json['precipitation'] == null ? undefined : json['precipitation'],
51
45
  'windSpeed': json['wind_speed'],
52
- 'windGust': json['wind_gust'],
53
- 'visibility': json['visibility'] == null ? undefined : json['visibility'],
46
+ 'windGust': json['wind_gust'] == null ? undefined : json['wind_gust'],
54
47
  };
55
48
  }
56
49
  function ImperialUnitsToJSON(json) {
@@ -67,6 +60,5 @@ function ImperialUnitsToJSONTyped(value, ignoreDiscriminator = false) {
67
60
  'precipitation': value['precipitation'],
68
61
  'wind_speed': value['windSpeed'],
69
62
  'wind_gust': value['windGust'],
70
- 'visibility': value['visibility'],
71
63
  };
72
64
  }
@@ -32,13 +32,13 @@ export interface MetricUnits {
32
32
  * @type {number}
33
33
  * @memberof MetricUnits
34
34
  */
35
- snowfall: number;
35
+ snowfall?: number | null;
36
36
  /**
37
37
  * Precipitation in millimeters
38
38
  * @type {number}
39
39
  * @memberof MetricUnits
40
40
  */
41
- precipitation: number;
41
+ precipitation?: number | null;
42
42
  /**
43
43
  * Wind speed in km/h
44
44
  * @type {number}
@@ -50,13 +50,7 @@ export interface MetricUnits {
50
50
  * @type {number}
51
51
  * @memberof MetricUnits
52
52
  */
53
- windGust: number;
54
- /**
55
- * Visibility in kilometers (optional)
56
- * @type {number}
57
- * @memberof MetricUnits
58
- */
59
- visibility?: number | null;
53
+ windGust?: number | null;
60
54
  }
61
55
  /**
62
56
  * Check if a given object implements the MetricUnits interface.
@@ -26,14 +26,8 @@ function instanceOfMetricUnits(value) {
26
26
  return false;
27
27
  if (!('feelsLike' in value) || value['feelsLike'] === undefined)
28
28
  return false;
29
- if (!('snowfall' in value) || value['snowfall'] === undefined)
30
- return false;
31
- if (!('precipitation' in value) || value['precipitation'] === undefined)
32
- return false;
33
29
  if (!('windSpeed' in value) || value['windSpeed'] === undefined)
34
30
  return false;
35
- if (!('windGust' in value) || value['windGust'] === undefined)
36
- return false;
37
31
  return true;
38
32
  }
39
33
  function MetricUnitsFromJSON(json) {
@@ -46,11 +40,10 @@ function MetricUnitsFromJSONTyped(json, ignoreDiscriminator) {
46
40
  return {
47
41
  'temperature': json['temperature'],
48
42
  'feelsLike': json['feels_like'],
49
- 'snowfall': json['snowfall'],
50
- 'precipitation': json['precipitation'],
43
+ 'snowfall': json['snowfall'] == null ? undefined : json['snowfall'],
44
+ 'precipitation': json['precipitation'] == null ? undefined : json['precipitation'],
51
45
  'windSpeed': json['wind_speed'],
52
- 'windGust': json['wind_gust'],
53
- 'visibility': json['visibility'] == null ? undefined : json['visibility'],
46
+ 'windGust': json['wind_gust'] == null ? undefined : json['wind_gust'],
54
47
  };
55
48
  }
56
49
  function MetricUnitsToJSON(json) {
@@ -67,6 +60,5 @@ function MetricUnitsToJSONTyped(value, ignoreDiscriminator = false) {
67
60
  'precipitation': value['precipitation'],
68
61
  'wind_speed': value['windSpeed'],
69
62
  'wind_gust': value['windGust'],
70
- 'visibility': value['visibility'],
71
63
  };
72
64
  }
@@ -59,12 +59,6 @@ export interface PublicLift {
59
59
  * @memberof PublicLift
60
60
  */
61
61
  highSpeed: boolean;
62
- /**
63
- *
64
- * @type {number}
65
- * @memberof PublicLift
66
- */
67
- capacityPerHour?: number | null;
68
62
  /**
69
63
  *
70
64
  * @type {string}
@@ -53,7 +53,6 @@ function PublicLiftFromJSONTyped(json, ignoreDiscriminator) {
53
53
  'status': (0, LiftStatus_1.LiftStatusFromJSON)(json['status']),
54
54
  'waitTimeMinutes': json['wait_time_minutes'] == null ? undefined : json['wait_time_minutes'],
55
55
  'highSpeed': json['high_speed'],
56
- 'capacityPerHour': json['capacity_per_hour'] == null ? undefined : json['capacity_per_hour'],
57
56
  'areaUuid': json['area_uuid'] == null ? undefined : json['area_uuid'],
58
57
  'areaName': json['area_name'] == null ? undefined : json['area_name'],
59
58
  'areaDisplayOrder': json['area_display_order'] == null ? undefined : json['area_display_order'],
@@ -74,7 +73,6 @@ function PublicLiftToJSONTyped(value, ignoreDiscriminator = false) {
74
73
  'status': (0, LiftStatus_1.LiftStatusToJSON)(value['status']),
75
74
  'wait_time_minutes': value['waitTimeMinutes'],
76
75
  'high_speed': value['highSpeed'],
77
- 'capacity_per_hour': value['capacityPerHour'],
78
76
  'area_uuid': value['areaUuid'],
79
77
  'area_name': value['areaName'],
80
78
  'area_display_order': value['areaDisplayOrder'],
@@ -89,6 +89,12 @@ export interface PublicRun {
89
89
  * @memberof PublicRun
90
90
  */
91
91
  areaDisplayOrder?: number | null;
92
+ /**
93
+ *
94
+ * @type {string}
95
+ * @memberof PublicRun
96
+ */
97
+ updatedAt?: string | null;
92
98
  }
93
99
  /**
94
100
  * Check if a given object implements the PublicRun interface.
@@ -60,6 +60,7 @@ function PublicRunFromJSONTyped(json, ignoreDiscriminator) {
60
60
  'areaUuid': json['area_uuid'] == null ? undefined : json['area_uuid'],
61
61
  'areaName': json['area_name'] == null ? undefined : json['area_name'],
62
62
  'areaDisplayOrder': json['area_display_order'] == null ? undefined : json['area_display_order'],
63
+ 'updatedAt': json['updated_at'] == null ? undefined : json['updated_at'],
63
64
  };
64
65
  }
65
66
  function PublicRunToJSON(json) {
@@ -82,5 +83,6 @@ function PublicRunToJSONTyped(value, ignoreDiscriminator = false) {
82
83
  'area_uuid': value['areaUuid'],
83
84
  'area_name': value['areaName'],
84
85
  'area_display_order': value['areaDisplayOrder'],
86
+ 'updated_at': value['updatedAt'],
85
87
  };
86
88
  }
@@ -31,6 +31,8 @@ exports.RecurrencePatternOneOfTypeEnum = {
31
31
  function instanceOfRecurrencePatternOneOf(value) {
32
32
  if (!('type' in value) || value['type'] === undefined)
33
33
  return false;
34
+ if (value['type'] !== 'none')
35
+ return false;
34
36
  return true;
35
37
  }
36
38
  function RecurrencePatternOneOfFromJSON(json) {
@@ -31,6 +31,8 @@ exports.RecurrencePatternOneOf1TypeEnum = {
31
31
  function instanceOfRecurrencePatternOneOf1(value) {
32
32
  if (!('type' in value) || value['type'] === undefined)
33
33
  return false;
34
+ if (value['type'] !== 'weekly')
35
+ return false;
34
36
  if (!('days' in value) || value['days'] === undefined)
35
37
  return false;
36
38
  return true;
@@ -0,0 +1,22 @@
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
+ * @type WeatherConditionCode
14
+ * Apple WeatherKit condition codes
15
+ * Represents all possible weather conditions from the WeatherKit API
16
+ * @export
17
+ */
18
+ export type WeatherConditionCode = string;
19
+ export declare function WeatherConditionCodeFromJSON(json: any): WeatherConditionCode;
20
+ export declare function WeatherConditionCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): WeatherConditionCode;
21
+ export declare function WeatherConditionCodeToJSON(json: any): any;
22
+ export declare function WeatherConditionCodeToJSONTyped(value?: WeatherConditionCode | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,49 @@
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.WeatherConditionCodeFromJSON = WeatherConditionCodeFromJSON;
17
+ exports.WeatherConditionCodeFromJSONTyped = WeatherConditionCodeFromJSONTyped;
18
+ exports.WeatherConditionCodeToJSON = WeatherConditionCodeToJSON;
19
+ exports.WeatherConditionCodeToJSONTyped = WeatherConditionCodeToJSONTyped;
20
+ function WeatherConditionCodeFromJSON(json) {
21
+ return WeatherConditionCodeFromJSONTyped(json, false);
22
+ }
23
+ function WeatherConditionCodeFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ if (typeof json === 'string' && (json === 'Clear' || json === 'MostlyClear' || json === 'PartlyCloudy' || json === 'MostlyCloudy' || json === 'Cloudy' || json === 'Dust' || json === 'Fog' || json === 'Haze' || json === 'Smoke' || json === 'Breezy' || json === 'Windy' || json === 'Drizzle' || json === 'Rain' || json === 'Showers' || json === 'ScatteredShowers' || json === 'HeavyRain' || json === 'Flurries' || json === 'Snow' || json === 'SnowShowers' || json === 'ScatteredSnowShowers' || json === 'HeavySnow' || json === 'Blizzard' || json === 'BlowingSnow' || json === 'MixedRainAndSleet' || json === 'MixedRainAndSnow' || json === 'MixedRainfall' || json === 'MixedSnowAndSleet' || json === 'Sleet' || json === 'FreezingDrizzle' || json === 'FreezingRain' || json === 'Frigid' || json === 'Hail' || json === 'ScatteredThunderstorms' || json === 'IsolatedThunderstorms' || json === 'Thunderstorm' || json === 'SevereThunderstorm' || json === 'Hurricane' || json === 'Tornado' || json === 'TropicalStorm' || json === 'Hot')) {
28
+ return json;
29
+ }
30
+ if (typeof json === 'string' && (json === 'Unknown')) {
31
+ return json;
32
+ }
33
+ return {};
34
+ }
35
+ function WeatherConditionCodeToJSON(json) {
36
+ return WeatherConditionCodeToJSONTyped(json, false);
37
+ }
38
+ function WeatherConditionCodeToJSONTyped(value, ignoreDiscriminator = false) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ if (typeof value === 'string' && (value === 'Clear' || value === 'MostlyClear' || value === 'PartlyCloudy' || value === 'MostlyCloudy' || value === 'Cloudy' || value === 'Dust' || value === 'Fog' || value === 'Haze' || value === 'Smoke' || value === 'Breezy' || value === 'Windy' || value === 'Drizzle' || value === 'Rain' || value === 'Showers' || value === 'ScatteredShowers' || value === 'HeavyRain' || value === 'Flurries' || value === 'Snow' || value === 'SnowShowers' || value === 'ScatteredSnowShowers' || value === 'HeavySnow' || value === 'Blizzard' || value === 'BlowingSnow' || value === 'MixedRainAndSleet' || value === 'MixedRainAndSnow' || value === 'MixedRainfall' || value === 'MixedSnowAndSleet' || value === 'Sleet' || value === 'FreezingDrizzle' || value === 'FreezingRain' || value === 'Frigid' || value === 'Hail' || value === 'ScatteredThunderstorms' || value === 'IsolatedThunderstorms' || value === 'Thunderstorm' || value === 'SevereThunderstorm' || value === 'Hurricane' || value === 'Tornado' || value === 'TropicalStorm' || value === 'Hot')) {
43
+ return value;
44
+ }
45
+ if (typeof value === 'string' && (value === 'Unknown')) {
46
+ return value;
47
+ }
48
+ return {};
49
+ }
@@ -29,4 +29,5 @@ export * from './SeasonType';
29
29
  export * from './SnowMetrics';
30
30
  export * from './SurfaceCondition';
31
31
  export * from './UnitPreference';
32
+ export * from './WeatherConditionCode';
32
33
  export * from './WeatherData';
@@ -47,4 +47,5 @@ __exportStar(require("./SeasonType"), exports);
47
47
  __exportStar(require("./SnowMetrics"), exports);
48
48
  __exportStar(require("./SurfaceCondition"), exports);
49
49
  __exportStar(require("./UnitPreference"), exports);
50
+ __exportStar(require("./WeatherConditionCode"), exports);
50
51
  __exportStar(require("./WeatherData"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mtnmanager/sdk",
3
- "version": "0.0.14",
3
+ "version": "0.0.16",
4
4
  "description": "OpenAPI client for @mtnmanager/sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "main": "./dist/index.js",