@mtnmanager/sdk 0.0.19 → 0.0.20

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 CHANGED
@@ -1,4 +1,4 @@
1
- # @mtnmanager/sdk@0.0.19
1
+ # @mtnmanager/sdk@0.0.20
2
2
 
3
3
  A TypeScript SDK client for the your-resort.mtnmanager.com API.
4
4
 
@@ -101,7 +101,7 @@ and is automatically generated by the
101
101
  [OpenAPI Generator](https://openapi-generator.tech) project:
102
102
 
103
103
  - API version: `1.0.0`
104
- - Package version: `0.0.19`
104
+ - Package version: `0.0.20`
105
105
  - Generator version: `7.18.0`
106
106
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
107
107
 
@@ -58,13 +58,13 @@ export interface PublicResortStatus {
58
58
  * @type {number}
59
59
  * @memberof PublicResortStatus
60
60
  */
61
- openRuns: number;
61
+ openRuns?: number | null;
62
62
  /**
63
63
  *
64
64
  * @type {number}
65
65
  * @memberof PublicResortStatus
66
66
  */
67
- groomedRuns: number;
67
+ groomedRuns?: number | null;
68
68
  /**
69
69
  *
70
70
  * @type {number}
@@ -82,7 +82,7 @@ export interface PublicResortStatus {
82
82
  * @type {number}
83
83
  * @memberof PublicResortStatus
84
84
  */
85
- openLifts: number;
85
+ openLifts?: number | null;
86
86
  /**
87
87
  *
88
88
  * @type {number}
@@ -23,14 +23,8 @@ export function instanceOfPublicResortStatus(value) {
23
23
  return false;
24
24
  if (!('notes' in value) || value['notes'] === undefined)
25
25
  return false;
26
- if (!('openRuns' in value) || value['openRuns'] === undefined)
27
- return false;
28
- if (!('groomedRuns' in value) || value['groomedRuns'] === undefined)
29
- return false;
30
26
  if (!('totalRuns' in value) || value['totalRuns'] === undefined)
31
27
  return false;
32
- if (!('openLifts' in value) || value['openLifts'] === undefined)
33
- return false;
34
28
  if (!('totalLifts' in value) || value['totalLifts'] === undefined)
35
29
  return false;
36
30
  return true;
@@ -49,11 +43,11 @@ export function PublicResortStatusFromJSONTyped(json, ignoreDiscriminator) {
49
43
  'season': SeasonTypeFromJSON(json['season']),
50
44
  'notes': json['notes'],
51
45
  'updatedAt': json['updated_at'] == null ? undefined : json['updated_at'],
52
- 'openRuns': json['open_runs'],
53
- 'groomedRuns': json['groomed_runs'],
46
+ 'openRuns': json['open_runs'] == null ? undefined : json['open_runs'],
47
+ 'groomedRuns': json['groomed_runs'] == null ? undefined : json['groomed_runs'],
54
48
  'totalRuns': json['total_runs'],
55
49
  'runsUpdatedAt': json['runs_updated_at'] == null ? undefined : json['runs_updated_at'],
56
- 'openLifts': json['open_lifts'],
50
+ 'openLifts': json['open_lifts'] == null ? undefined : json['open_lifts'],
57
51
  'totalLifts': json['total_lifts'],
58
52
  'liftsUpdatedAt': json['lifts_updated_at'] == null ? undefined : json['lifts_updated_at'],
59
53
  };
@@ -25,13 +25,13 @@ export interface WeatherData {
25
25
  */
26
26
  current: CurrentWeather;
27
27
  /**
28
- * Hourly forecast for next 24 hours (starting from current hour)
28
+ * Hourly forecast for next 24 hours (including current hour)
29
29
  * @type {Array<HourlyForecast>}
30
30
  * @memberof WeatherData
31
31
  */
32
32
  hourlyForecast: Array<HourlyForecast>;
33
33
  /**
34
- * Daily forecast for next 7 days
34
+ * Daily forecast for next 7 days (including today)
35
35
  * @type {Array<DailyForecast>}
36
36
  * @memberof WeatherData
37
37
  */
@@ -58,13 +58,13 @@ export interface PublicResortStatus {
58
58
  * @type {number}
59
59
  * @memberof PublicResortStatus
60
60
  */
61
- openRuns: number;
61
+ openRuns?: number | null;
62
62
  /**
63
63
  *
64
64
  * @type {number}
65
65
  * @memberof PublicResortStatus
66
66
  */
67
- groomedRuns: number;
67
+ groomedRuns?: number | null;
68
68
  /**
69
69
  *
70
70
  * @type {number}
@@ -82,7 +82,7 @@ export interface PublicResortStatus {
82
82
  * @type {number}
83
83
  * @memberof PublicResortStatus
84
84
  */
85
- openLifts: number;
85
+ openLifts?: number | null;
86
86
  /**
87
87
  *
88
88
  * @type {number}
@@ -30,14 +30,8 @@ function instanceOfPublicResortStatus(value) {
30
30
  return false;
31
31
  if (!('notes' in value) || value['notes'] === undefined)
32
32
  return false;
33
- if (!('openRuns' in value) || value['openRuns'] === undefined)
34
- return false;
35
- if (!('groomedRuns' in value) || value['groomedRuns'] === undefined)
36
- return false;
37
33
  if (!('totalRuns' in value) || value['totalRuns'] === undefined)
38
34
  return false;
39
- if (!('openLifts' in value) || value['openLifts'] === undefined)
40
- return false;
41
35
  if (!('totalLifts' in value) || value['totalLifts'] === undefined)
42
36
  return false;
43
37
  return true;
@@ -56,11 +50,11 @@ function PublicResortStatusFromJSONTyped(json, ignoreDiscriminator) {
56
50
  'season': (0, SeasonType_1.SeasonTypeFromJSON)(json['season']),
57
51
  'notes': json['notes'],
58
52
  'updatedAt': json['updated_at'] == null ? undefined : json['updated_at'],
59
- 'openRuns': json['open_runs'],
60
- 'groomedRuns': json['groomed_runs'],
53
+ 'openRuns': json['open_runs'] == null ? undefined : json['open_runs'],
54
+ 'groomedRuns': json['groomed_runs'] == null ? undefined : json['groomed_runs'],
61
55
  'totalRuns': json['total_runs'],
62
56
  'runsUpdatedAt': json['runs_updated_at'] == null ? undefined : json['runs_updated_at'],
63
- 'openLifts': json['open_lifts'],
57
+ 'openLifts': json['open_lifts'] == null ? undefined : json['open_lifts'],
64
58
  'totalLifts': json['total_lifts'],
65
59
  'liftsUpdatedAt': json['lifts_updated_at'] == null ? undefined : json['lifts_updated_at'],
66
60
  };
@@ -25,13 +25,13 @@ export interface WeatherData {
25
25
  */
26
26
  current: CurrentWeather;
27
27
  /**
28
- * Hourly forecast for next 24 hours (starting from current hour)
28
+ * Hourly forecast for next 24 hours (including current hour)
29
29
  * @type {Array<HourlyForecast>}
30
30
  * @memberof WeatherData
31
31
  */
32
32
  hourlyForecast: Array<HourlyForecast>;
33
33
  /**
34
- * Daily forecast for next 7 days
34
+ * Daily forecast for next 7 days (including today)
35
35
  * @type {Array<DailyForecast>}
36
36
  * @memberof WeatherData
37
37
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mtnmanager/sdk",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "description": "OpenAPI client for @mtnmanager/sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "main": "./dist/index.js",