@mtnmanager/sdk 0.0.15 → 0.0.17
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 +2 -2
- package/dist/esm/models/PublicLift.d.ts +6 -0
- package/dist/esm/models/PublicLift.js +2 -0
- package/dist/esm/models/PublicResortStatus.d.ts +12 -0
- package/dist/esm/models/PublicResortStatus.js +4 -0
- package/dist/esm/models/PublicRun.d.ts +6 -0
- package/dist/esm/models/PublicRun.js +2 -0
- package/dist/models/PublicLift.d.ts +6 -0
- package/dist/models/PublicLift.js +2 -0
- package/dist/models/PublicResortStatus.d.ts +12 -0
- package/dist/models/PublicResortStatus.js +4 -0
- package/dist/models/PublicRun.d.ts +6 -0
- package/dist/models/PublicRun.js +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @mtnmanager/sdk@0.0.
|
|
1
|
+
# @mtnmanager/sdk@0.0.17
|
|
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.
|
|
104
|
+
- Package version: `0.0.17`
|
|
105
105
|
- Generator version: `7.17.0`
|
|
106
106
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
107
107
|
|
|
@@ -77,6 +77,12 @@ export interface PublicLift {
|
|
|
77
77
|
* @memberof PublicLift
|
|
78
78
|
*/
|
|
79
79
|
areaDisplayOrder?: number | null;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof PublicLift
|
|
84
|
+
*/
|
|
85
|
+
updatedAt?: string | null;
|
|
80
86
|
}
|
|
81
87
|
/**
|
|
82
88
|
* Check if a given object implements the PublicLift interface.
|
|
@@ -49,6 +49,7 @@ export function PublicLiftFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
'areaUuid': json['area_uuid'] == null ? undefined : json['area_uuid'],
|
|
50
50
|
'areaName': json['area_name'] == null ? undefined : json['area_name'],
|
|
51
51
|
'areaDisplayOrder': json['area_display_order'] == null ? undefined : json['area_display_order'],
|
|
52
|
+
'updatedAt': json['updated_at'] == null ? undefined : json['updated_at'],
|
|
52
53
|
};
|
|
53
54
|
}
|
|
54
55
|
export function PublicLiftToJSON(json) {
|
|
@@ -69,5 +70,6 @@ export function PublicLiftToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
69
70
|
'area_uuid': value['areaUuid'],
|
|
70
71
|
'area_name': value['areaName'],
|
|
71
72
|
'area_display_order': value['areaDisplayOrder'],
|
|
73
|
+
'updated_at': value['updatedAt'],
|
|
72
74
|
};
|
|
73
75
|
}
|
|
@@ -71,6 +71,12 @@ export interface PublicResortStatus {
|
|
|
71
71
|
* @memberof PublicResortStatus
|
|
72
72
|
*/
|
|
73
73
|
totalRuns: number;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof PublicResortStatus
|
|
78
|
+
*/
|
|
79
|
+
runsUpdatedAt?: string | null;
|
|
74
80
|
/**
|
|
75
81
|
*
|
|
76
82
|
* @type {number}
|
|
@@ -83,6 +89,12 @@ export interface PublicResortStatus {
|
|
|
83
89
|
* @memberof PublicResortStatus
|
|
84
90
|
*/
|
|
85
91
|
totalLifts: number;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof PublicResortStatus
|
|
96
|
+
*/
|
|
97
|
+
liftsUpdatedAt?: string | null;
|
|
86
98
|
}
|
|
87
99
|
/**
|
|
88
100
|
* Check if a given object implements the PublicResortStatus interface.
|
|
@@ -52,8 +52,10 @@ export function PublicResortStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
52
|
'openRuns': json['open_runs'],
|
|
53
53
|
'groomedRuns': json['groomed_runs'],
|
|
54
54
|
'totalRuns': json['total_runs'],
|
|
55
|
+
'runsUpdatedAt': json['runs_updated_at'] == null ? undefined : json['runs_updated_at'],
|
|
55
56
|
'openLifts': json['open_lifts'],
|
|
56
57
|
'totalLifts': json['total_lifts'],
|
|
58
|
+
'liftsUpdatedAt': json['lifts_updated_at'] == null ? undefined : json['lifts_updated_at'],
|
|
57
59
|
};
|
|
58
60
|
}
|
|
59
61
|
export function PublicResortStatusToJSON(json) {
|
|
@@ -73,7 +75,9 @@ export function PublicResortStatusToJSONTyped(value, ignoreDiscriminator = false
|
|
|
73
75
|
'open_runs': value['openRuns'],
|
|
74
76
|
'groomed_runs': value['groomedRuns'],
|
|
75
77
|
'total_runs': value['totalRuns'],
|
|
78
|
+
'runs_updated_at': value['runsUpdatedAt'],
|
|
76
79
|
'open_lifts': value['openLifts'],
|
|
77
80
|
'total_lifts': value['totalLifts'],
|
|
81
|
+
'lifts_updated_at': value['liftsUpdatedAt'],
|
|
78
82
|
};
|
|
79
83
|
}
|
|
@@ -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.
|
|
@@ -53,6 +53,7 @@ export function PublicRunFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
53
|
'areaUuid': json['area_uuid'] == null ? undefined : json['area_uuid'],
|
|
54
54
|
'areaName': json['area_name'] == null ? undefined : json['area_name'],
|
|
55
55
|
'areaDisplayOrder': json['area_display_order'] == null ? undefined : json['area_display_order'],
|
|
56
|
+
'updatedAt': json['updated_at'] == null ? undefined : json['updated_at'],
|
|
56
57
|
};
|
|
57
58
|
}
|
|
58
59
|
export function PublicRunToJSON(json) {
|
|
@@ -75,5 +76,6 @@ export function PublicRunToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
75
76
|
'area_uuid': value['areaUuid'],
|
|
76
77
|
'area_name': value['areaName'],
|
|
77
78
|
'area_display_order': value['areaDisplayOrder'],
|
|
79
|
+
'updated_at': value['updatedAt'],
|
|
78
80
|
};
|
|
79
81
|
}
|
|
@@ -77,6 +77,12 @@ export interface PublicLift {
|
|
|
77
77
|
* @memberof PublicLift
|
|
78
78
|
*/
|
|
79
79
|
areaDisplayOrder?: number | null;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof PublicLift
|
|
84
|
+
*/
|
|
85
|
+
updatedAt?: string | null;
|
|
80
86
|
}
|
|
81
87
|
/**
|
|
82
88
|
* Check if a given object implements the PublicLift interface.
|
|
@@ -56,6 +56,7 @@ function PublicLiftFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
56
|
'areaUuid': json['area_uuid'] == null ? undefined : json['area_uuid'],
|
|
57
57
|
'areaName': json['area_name'] == null ? undefined : json['area_name'],
|
|
58
58
|
'areaDisplayOrder': json['area_display_order'] == null ? undefined : json['area_display_order'],
|
|
59
|
+
'updatedAt': json['updated_at'] == null ? undefined : json['updated_at'],
|
|
59
60
|
};
|
|
60
61
|
}
|
|
61
62
|
function PublicLiftToJSON(json) {
|
|
@@ -76,5 +77,6 @@ function PublicLiftToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
76
77
|
'area_uuid': value['areaUuid'],
|
|
77
78
|
'area_name': value['areaName'],
|
|
78
79
|
'area_display_order': value['areaDisplayOrder'],
|
|
80
|
+
'updated_at': value['updatedAt'],
|
|
79
81
|
};
|
|
80
82
|
}
|
|
@@ -71,6 +71,12 @@ export interface PublicResortStatus {
|
|
|
71
71
|
* @memberof PublicResortStatus
|
|
72
72
|
*/
|
|
73
73
|
totalRuns: number;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof PublicResortStatus
|
|
78
|
+
*/
|
|
79
|
+
runsUpdatedAt?: string | null;
|
|
74
80
|
/**
|
|
75
81
|
*
|
|
76
82
|
* @type {number}
|
|
@@ -83,6 +89,12 @@ export interface PublicResortStatus {
|
|
|
83
89
|
* @memberof PublicResortStatus
|
|
84
90
|
*/
|
|
85
91
|
totalLifts: number;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof PublicResortStatus
|
|
96
|
+
*/
|
|
97
|
+
liftsUpdatedAt?: string | null;
|
|
86
98
|
}
|
|
87
99
|
/**
|
|
88
100
|
* Check if a given object implements the PublicResortStatus interface.
|
|
@@ -59,8 +59,10 @@ function PublicResortStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
59
|
'openRuns': json['open_runs'],
|
|
60
60
|
'groomedRuns': json['groomed_runs'],
|
|
61
61
|
'totalRuns': json['total_runs'],
|
|
62
|
+
'runsUpdatedAt': json['runs_updated_at'] == null ? undefined : json['runs_updated_at'],
|
|
62
63
|
'openLifts': json['open_lifts'],
|
|
63
64
|
'totalLifts': json['total_lifts'],
|
|
65
|
+
'liftsUpdatedAt': json['lifts_updated_at'] == null ? undefined : json['lifts_updated_at'],
|
|
64
66
|
};
|
|
65
67
|
}
|
|
66
68
|
function PublicResortStatusToJSON(json) {
|
|
@@ -80,7 +82,9 @@ function PublicResortStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
80
82
|
'open_runs': value['openRuns'],
|
|
81
83
|
'groomed_runs': value['groomedRuns'],
|
|
82
84
|
'total_runs': value['totalRuns'],
|
|
85
|
+
'runs_updated_at': value['runsUpdatedAt'],
|
|
83
86
|
'open_lifts': value['openLifts'],
|
|
84
87
|
'total_lifts': value['totalLifts'],
|
|
88
|
+
'lifts_updated_at': value['liftsUpdatedAt'],
|
|
85
89
|
};
|
|
86
90
|
}
|
|
@@ -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.
|
package/dist/models/PublicRun.js
CHANGED
|
@@ -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
|
}
|