@mtnmanager/sdk 0.0.18 → 0.0.19

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.18
1
+ # @mtnmanager/sdk@0.0.19
2
2
 
3
3
  A TypeScript SDK client for the your-resort.mtnmanager.com API.
4
4
 
@@ -101,8 +101,8 @@ 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.18`
105
- - Generator version: `7.17.0`
104
+ - Package version: `0.0.19`
105
+ - Generator version: `7.18.0`
106
106
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
107
107
 
108
108
  The generated npm module supports the following:
@@ -25,34 +25,34 @@ export interface PublicResortStatus {
25
25
  status: ResortStatusType;
26
26
  /**
27
27
  *
28
- * @type {SeasonType}
28
+ * @type {string}
29
29
  * @memberof PublicResortStatus
30
30
  */
31
- season: SeasonType;
31
+ opensAt?: string | null;
32
32
  /**
33
33
  *
34
34
  * @type {string}
35
35
  * @memberof PublicResortStatus
36
36
  */
37
- notes: string;
37
+ closesAt?: string | null;
38
38
  /**
39
39
  *
40
- * @type {string}
40
+ * @type {SeasonType}
41
41
  * @memberof PublicResortStatus
42
42
  */
43
- updatedAt?: string | null;
43
+ season: SeasonType;
44
44
  /**
45
45
  *
46
46
  * @type {string}
47
47
  * @memberof PublicResortStatus
48
48
  */
49
- scheduledOpensAt?: string | null;
49
+ notes: string;
50
50
  /**
51
51
  *
52
52
  * @type {string}
53
53
  * @memberof PublicResortStatus
54
54
  */
55
- scheduledClosesAt?: string | null;
55
+ updatedAt?: string | null;
56
56
  /**
57
57
  *
58
58
  * @type {number}
@@ -44,11 +44,11 @@ export function PublicResortStatusFromJSONTyped(json, ignoreDiscriminator) {
44
44
  }
45
45
  return {
46
46
  'status': ResortStatusTypeFromJSON(json['status']),
47
+ 'opensAt': json['opens_at'] == null ? undefined : json['opens_at'],
48
+ 'closesAt': json['closes_at'] == null ? undefined : json['closes_at'],
47
49
  'season': SeasonTypeFromJSON(json['season']),
48
50
  'notes': json['notes'],
49
51
  'updatedAt': json['updated_at'] == null ? undefined : json['updated_at'],
50
- 'scheduledOpensAt': json['scheduled_opens_at'] == null ? undefined : json['scheduled_opens_at'],
51
- 'scheduledClosesAt': json['scheduled_closes_at'] == null ? undefined : json['scheduled_closes_at'],
52
52
  'openRuns': json['open_runs'],
53
53
  'groomedRuns': json['groomed_runs'],
54
54
  'totalRuns': json['total_runs'],
@@ -67,11 +67,11 @@ export function PublicResortStatusToJSONTyped(value, ignoreDiscriminator = false
67
67
  }
68
68
  return {
69
69
  'status': ResortStatusTypeToJSON(value['status']),
70
+ 'opens_at': value['opensAt'],
71
+ 'closes_at': value['closesAt'],
70
72
  'season': SeasonTypeToJSON(value['season']),
71
73
  'notes': value['notes'],
72
74
  'updated_at': value['updatedAt'],
73
- 'scheduled_opens_at': value['scheduledOpensAt'],
74
- 'scheduled_closes_at': value['scheduledClosesAt'],
75
75
  'open_runs': value['openRuns'],
76
76
  'groomed_runs': value['groomedRuns'],
77
77
  'total_runs': value['totalRuns'],
@@ -25,13 +25,13 @@ export interface WeatherData {
25
25
  */
26
26
  current: CurrentWeather;
27
27
  /**
28
- * Hourly forecast for next 24 hours
28
+ * Hourly forecast for next 24 hours (starting from 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 5 days
34
+ * Daily forecast for next 7 days
35
35
  * @type {Array<DailyForecast>}
36
36
  * @memberof WeatherData
37
37
  */
@@ -25,34 +25,34 @@ export interface PublicResortStatus {
25
25
  status: ResortStatusType;
26
26
  /**
27
27
  *
28
- * @type {SeasonType}
28
+ * @type {string}
29
29
  * @memberof PublicResortStatus
30
30
  */
31
- season: SeasonType;
31
+ opensAt?: string | null;
32
32
  /**
33
33
  *
34
34
  * @type {string}
35
35
  * @memberof PublicResortStatus
36
36
  */
37
- notes: string;
37
+ closesAt?: string | null;
38
38
  /**
39
39
  *
40
- * @type {string}
40
+ * @type {SeasonType}
41
41
  * @memberof PublicResortStatus
42
42
  */
43
- updatedAt?: string | null;
43
+ season: SeasonType;
44
44
  /**
45
45
  *
46
46
  * @type {string}
47
47
  * @memberof PublicResortStatus
48
48
  */
49
- scheduledOpensAt?: string | null;
49
+ notes: string;
50
50
  /**
51
51
  *
52
52
  * @type {string}
53
53
  * @memberof PublicResortStatus
54
54
  */
55
- scheduledClosesAt?: string | null;
55
+ updatedAt?: string | null;
56
56
  /**
57
57
  *
58
58
  * @type {number}
@@ -51,11 +51,11 @@ function PublicResortStatusFromJSONTyped(json, ignoreDiscriminator) {
51
51
  }
52
52
  return {
53
53
  'status': (0, ResortStatusType_1.ResortStatusTypeFromJSON)(json['status']),
54
+ 'opensAt': json['opens_at'] == null ? undefined : json['opens_at'],
55
+ 'closesAt': json['closes_at'] == null ? undefined : json['closes_at'],
54
56
  'season': (0, SeasonType_1.SeasonTypeFromJSON)(json['season']),
55
57
  'notes': json['notes'],
56
58
  'updatedAt': json['updated_at'] == null ? undefined : json['updated_at'],
57
- 'scheduledOpensAt': json['scheduled_opens_at'] == null ? undefined : json['scheduled_opens_at'],
58
- 'scheduledClosesAt': json['scheduled_closes_at'] == null ? undefined : json['scheduled_closes_at'],
59
59
  'openRuns': json['open_runs'],
60
60
  'groomedRuns': json['groomed_runs'],
61
61
  'totalRuns': json['total_runs'],
@@ -74,11 +74,11 @@ function PublicResortStatusToJSONTyped(value, ignoreDiscriminator = false) {
74
74
  }
75
75
  return {
76
76
  'status': (0, ResortStatusType_1.ResortStatusTypeToJSON)(value['status']),
77
+ 'opens_at': value['opensAt'],
78
+ 'closes_at': value['closesAt'],
77
79
  'season': (0, SeasonType_1.SeasonTypeToJSON)(value['season']),
78
80
  'notes': value['notes'],
79
81
  'updated_at': value['updatedAt'],
80
- 'scheduled_opens_at': value['scheduledOpensAt'],
81
- 'scheduled_closes_at': value['scheduledClosesAt'],
82
82
  'open_runs': value['openRuns'],
83
83
  'groomed_runs': value['groomedRuns'],
84
84
  'total_runs': value['totalRuns'],
@@ -25,13 +25,13 @@ export interface WeatherData {
25
25
  */
26
26
  current: CurrentWeather;
27
27
  /**
28
- * Hourly forecast for next 24 hours
28
+ * Hourly forecast for next 24 hours (starting from 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 5 days
34
+ * Daily forecast for next 7 days
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.18",
3
+ "version": "0.0.19",
4
4
  "description": "OpenAPI client for @mtnmanager/sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "main": "./dist/index.js",