@mtnmanager/sdk 0.0.32 → 0.0.33
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.
|
|
1
|
+
# @mtnmanager/sdk@0.0.33
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the your-resort.mtnmanager.com API.
|
|
4
4
|
|
|
@@ -112,7 +112,7 @@ and is automatically generated by the
|
|
|
112
112
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
113
113
|
|
|
114
114
|
- API version: `1.0.0`
|
|
115
|
-
- Package version: `0.0.
|
|
115
|
+
- Package version: `0.0.33`
|
|
116
116
|
- Generator version: `7.18.0`
|
|
117
117
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
118
118
|
|
|
@@ -49,17 +49,24 @@ export interface PublicResortStatus {
|
|
|
49
49
|
*/
|
|
50
50
|
season: SeasonType;
|
|
51
51
|
/**
|
|
52
|
-
* General notes or announcements about current conditions.
|
|
52
|
+
* General notes or announcements about current conditions (markdown source).
|
|
53
53
|
* @type {string}
|
|
54
54
|
* @memberof PublicResortStatus
|
|
55
55
|
*/
|
|
56
56
|
notes: string;
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* General notes or announcements rendered as HTML from markdown.
|
|
59
|
+
* Images are stripped for security.
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof PublicResortStatus
|
|
62
|
+
*/
|
|
63
|
+
notesHtml: string;
|
|
64
|
+
/**
|
|
65
|
+
* When the resort status notes were last updated.
|
|
59
66
|
* @type {Date}
|
|
60
67
|
* @memberof PublicResortStatus
|
|
61
68
|
*/
|
|
62
|
-
|
|
69
|
+
notesUpdatedAt?: Date | null;
|
|
63
70
|
/**
|
|
64
71
|
* Number of runs currently open.
|
|
65
72
|
* Only included if the runs status feature is enabled.
|
|
@@ -23,6 +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 (!('notesHtml' in value) || value['notesHtml'] === undefined)
|
|
27
|
+
return false;
|
|
26
28
|
if (!('totalRuns' in value) || value['totalRuns'] === undefined)
|
|
27
29
|
return false;
|
|
28
30
|
if (!('totalLifts' in value) || value['totalLifts'] === undefined)
|
|
@@ -42,7 +44,8 @@ export function PublicResortStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
44
|
'closesAt': json['closes_at'] == null ? undefined : json['closes_at'],
|
|
43
45
|
'season': SeasonTypeFromJSON(json['season']),
|
|
44
46
|
'notes': json['notes'],
|
|
45
|
-
'
|
|
47
|
+
'notesHtml': json['notes_html'],
|
|
48
|
+
'notesUpdatedAt': json['notes_updated_at'] == null ? undefined : (new Date(json['notes_updated_at'])),
|
|
46
49
|
'openRuns': json['open_runs'] == null ? undefined : json['open_runs'],
|
|
47
50
|
'groomedRuns': json['groomed_runs'] == null ? undefined : json['groomed_runs'],
|
|
48
51
|
'totalRuns': json['total_runs'],
|
|
@@ -71,7 +74,8 @@ export function PublicResortStatusToJSONTyped(value, ignoreDiscriminator = false
|
|
|
71
74
|
'closes_at': value['closesAt'],
|
|
72
75
|
'season': SeasonTypeToJSON(value['season']),
|
|
73
76
|
'notes': value['notes'],
|
|
74
|
-
'
|
|
77
|
+
'notes_html': value['notesHtml'],
|
|
78
|
+
'notes_updated_at': value['notesUpdatedAt'] == null ? value['notesUpdatedAt'] : value['notesUpdatedAt'].toISOString(),
|
|
75
79
|
'open_runs': value['openRuns'],
|
|
76
80
|
'groomed_runs': value['groomedRuns'],
|
|
77
81
|
'total_runs': value['totalRuns'],
|
|
@@ -49,17 +49,24 @@ export interface PublicResortStatus {
|
|
|
49
49
|
*/
|
|
50
50
|
season: SeasonType;
|
|
51
51
|
/**
|
|
52
|
-
* General notes or announcements about current conditions.
|
|
52
|
+
* General notes or announcements about current conditions (markdown source).
|
|
53
53
|
* @type {string}
|
|
54
54
|
* @memberof PublicResortStatus
|
|
55
55
|
*/
|
|
56
56
|
notes: string;
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* General notes or announcements rendered as HTML from markdown.
|
|
59
|
+
* Images are stripped for security.
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof PublicResortStatus
|
|
62
|
+
*/
|
|
63
|
+
notesHtml: string;
|
|
64
|
+
/**
|
|
65
|
+
* When the resort status notes were last updated.
|
|
59
66
|
* @type {Date}
|
|
60
67
|
* @memberof PublicResortStatus
|
|
61
68
|
*/
|
|
62
|
-
|
|
69
|
+
notesUpdatedAt?: Date | null;
|
|
63
70
|
/**
|
|
64
71
|
* Number of runs currently open.
|
|
65
72
|
* Only included if the runs status feature is enabled.
|
|
@@ -30,6 +30,8 @@ function instanceOfPublicResortStatus(value) {
|
|
|
30
30
|
return false;
|
|
31
31
|
if (!('notes' in value) || value['notes'] === undefined)
|
|
32
32
|
return false;
|
|
33
|
+
if (!('notesHtml' in value) || value['notesHtml'] === undefined)
|
|
34
|
+
return false;
|
|
33
35
|
if (!('totalRuns' in value) || value['totalRuns'] === undefined)
|
|
34
36
|
return false;
|
|
35
37
|
if (!('totalLifts' in value) || value['totalLifts'] === undefined)
|
|
@@ -49,7 +51,8 @@ function PublicResortStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
51
|
'closesAt': json['closes_at'] == null ? undefined : json['closes_at'],
|
|
50
52
|
'season': (0, SeasonType_1.SeasonTypeFromJSON)(json['season']),
|
|
51
53
|
'notes': json['notes'],
|
|
52
|
-
'
|
|
54
|
+
'notesHtml': json['notes_html'],
|
|
55
|
+
'notesUpdatedAt': json['notes_updated_at'] == null ? undefined : (new Date(json['notes_updated_at'])),
|
|
53
56
|
'openRuns': json['open_runs'] == null ? undefined : json['open_runs'],
|
|
54
57
|
'groomedRuns': json['groomed_runs'] == null ? undefined : json['groomed_runs'],
|
|
55
58
|
'totalRuns': json['total_runs'],
|
|
@@ -78,7 +81,8 @@ function PublicResortStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
78
81
|
'closes_at': value['closesAt'],
|
|
79
82
|
'season': (0, SeasonType_1.SeasonTypeToJSON)(value['season']),
|
|
80
83
|
'notes': value['notes'],
|
|
81
|
-
'
|
|
84
|
+
'notes_html': value['notesHtml'],
|
|
85
|
+
'notes_updated_at': value['notesUpdatedAt'] == null ? value['notesUpdatedAt'] : value['notesUpdatedAt'].toISOString(),
|
|
82
86
|
'open_runs': value['openRuns'],
|
|
83
87
|
'groomed_runs': value['groomedRuns'],
|
|
84
88
|
'total_runs': value['totalRuns'],
|