@mtnmanager/sdk 1.4.8 → 1.5.1

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.
@@ -1,28 +0,0 @@
1
- /**
2
- * MtnManager API
3
- * The MtnManager API provides real-time access to your ski resort’s public operational data. Use it to display current conditions on your website, mobile app, or digital signage.
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: support@mtnmanager.com
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
- import type { TrailMapElementOneOf } from './TrailMapElementOneOf';
13
- import type { TrailMapElementOneOf1 } from './TrailMapElementOneOf1';
14
- import type { TrailMapElementOneOf2 } from './TrailMapElementOneOf2';
15
- import type { TrailMapElementOneOf3 } from './TrailMapElementOneOf3';
16
- import type { TrailMapElementOneOf4 } from './TrailMapElementOneOf4';
17
- import type { TrailMapElementOneOf5 } from './TrailMapElementOneOf5';
18
- import type { TrailMapElementOneOf6 } from './TrailMapElementOneOf6';
19
- /**
20
- * @type TrailMapElement
21
- * A trail map element with full entity data from existing public models.
22
- * @export
23
- */
24
- export type TrailMapElement = TrailMapElementOneOf | TrailMapElementOneOf1 | TrailMapElementOneOf2 | TrailMapElementOneOf3 | TrailMapElementOneOf4 | TrailMapElementOneOf5 | TrailMapElementOneOf6;
25
- export declare function TrailMapElementFromJSON(json: any): TrailMapElement;
26
- export declare function TrailMapElementFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrailMapElement;
27
- export declare function TrailMapElementToJSON(json: any): any;
28
- export declare function TrailMapElementToJSONTyped(value?: TrailMapElement | null, ignoreDiscriminator?: boolean): any;
@@ -1,92 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * MtnManager API
6
- * The MtnManager API provides real-time access to your ski resort’s public operational data. Use it to display current conditions on your website, mobile app, or digital signage.
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- * Contact: support@mtnmanager.com
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.TrailMapElementFromJSON = TrailMapElementFromJSON;
17
- exports.TrailMapElementFromJSONTyped = TrailMapElementFromJSONTyped;
18
- exports.TrailMapElementToJSON = TrailMapElementToJSON;
19
- exports.TrailMapElementToJSONTyped = TrailMapElementToJSONTyped;
20
- const TrailMapElementOneOf_1 = require("./TrailMapElementOneOf");
21
- const TrailMapElementOneOf1_1 = require("./TrailMapElementOneOf1");
22
- const TrailMapElementOneOf2_1 = require("./TrailMapElementOneOf2");
23
- const TrailMapElementOneOf3_1 = require("./TrailMapElementOneOf3");
24
- const TrailMapElementOneOf4_1 = require("./TrailMapElementOneOf4");
25
- const TrailMapElementOneOf5_1 = require("./TrailMapElementOneOf5");
26
- const TrailMapElementOneOf6_1 = require("./TrailMapElementOneOf6");
27
- function TrailMapElementFromJSON(json) {
28
- return TrailMapElementFromJSONTyped(json, false);
29
- }
30
- function TrailMapElementFromJSONTyped(json, ignoreDiscriminator) {
31
- if (json == null) {
32
- return json;
33
- }
34
- if (typeof json !== 'object') {
35
- return json;
36
- }
37
- if ((0, TrailMapElementOneOf_1.instanceOfTrailMapElementOneOf)(json)) {
38
- return (0, TrailMapElementOneOf_1.TrailMapElementOneOfFromJSONTyped)(json, true);
39
- }
40
- if ((0, TrailMapElementOneOf1_1.instanceOfTrailMapElementOneOf1)(json)) {
41
- return (0, TrailMapElementOneOf1_1.TrailMapElementOneOf1FromJSONTyped)(json, true);
42
- }
43
- if ((0, TrailMapElementOneOf2_1.instanceOfTrailMapElementOneOf2)(json)) {
44
- return (0, TrailMapElementOneOf2_1.TrailMapElementOneOf2FromJSONTyped)(json, true);
45
- }
46
- if ((0, TrailMapElementOneOf3_1.instanceOfTrailMapElementOneOf3)(json)) {
47
- return (0, TrailMapElementOneOf3_1.TrailMapElementOneOf3FromJSONTyped)(json, true);
48
- }
49
- if ((0, TrailMapElementOneOf4_1.instanceOfTrailMapElementOneOf4)(json)) {
50
- return (0, TrailMapElementOneOf4_1.TrailMapElementOneOf4FromJSONTyped)(json, true);
51
- }
52
- if ((0, TrailMapElementOneOf5_1.instanceOfTrailMapElementOneOf5)(json)) {
53
- return (0, TrailMapElementOneOf5_1.TrailMapElementOneOf5FromJSONTyped)(json, true);
54
- }
55
- if ((0, TrailMapElementOneOf6_1.instanceOfTrailMapElementOneOf6)(json)) {
56
- return (0, TrailMapElementOneOf6_1.TrailMapElementOneOf6FromJSONTyped)(json, true);
57
- }
58
- return {};
59
- }
60
- function TrailMapElementToJSON(json) {
61
- return TrailMapElementToJSONTyped(json, false);
62
- }
63
- function TrailMapElementToJSONTyped(value, ignoreDiscriminator = false) {
64
- if (value == null) {
65
- return value;
66
- }
67
- if (typeof value !== 'object') {
68
- return value;
69
- }
70
- if ((0, TrailMapElementOneOf_1.instanceOfTrailMapElementOneOf)(value)) {
71
- return (0, TrailMapElementOneOf_1.TrailMapElementOneOfToJSON)(value);
72
- }
73
- if ((0, TrailMapElementOneOf1_1.instanceOfTrailMapElementOneOf1)(value)) {
74
- return (0, TrailMapElementOneOf1_1.TrailMapElementOneOf1ToJSON)(value);
75
- }
76
- if ((0, TrailMapElementOneOf2_1.instanceOfTrailMapElementOneOf2)(value)) {
77
- return (0, TrailMapElementOneOf2_1.TrailMapElementOneOf2ToJSON)(value);
78
- }
79
- if ((0, TrailMapElementOneOf3_1.instanceOfTrailMapElementOneOf3)(value)) {
80
- return (0, TrailMapElementOneOf3_1.TrailMapElementOneOf3ToJSON)(value);
81
- }
82
- if ((0, TrailMapElementOneOf4_1.instanceOfTrailMapElementOneOf4)(value)) {
83
- return (0, TrailMapElementOneOf4_1.TrailMapElementOneOf4ToJSON)(value);
84
- }
85
- if ((0, TrailMapElementOneOf5_1.instanceOfTrailMapElementOneOf5)(value)) {
86
- return (0, TrailMapElementOneOf5_1.TrailMapElementOneOf5ToJSON)(value);
87
- }
88
- if ((0, TrailMapElementOneOf6_1.instanceOfTrailMapElementOneOf6)(value)) {
89
- return (0, TrailMapElementOneOf6_1.TrailMapElementOneOf6ToJSON)(value);
90
- }
91
- return {};
92
- }