@mtnmanager/sdk 1.4.9 → 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.
Files changed (34) hide show
  1. package/README.md +0 -7
  2. package/dist/apis/MtnManagerApi.d.ts +0 -75
  3. package/dist/apis/MtnManagerApi.js +0 -82
  4. package/dist/esm/apis/MtnManagerApi.d.ts +0 -75
  5. package/dist/esm/apis/MtnManagerApi.js +0 -82
  6. package/dist/esm/models/WeatherConditionCode.d.ts +19 -25
  7. package/dist/esm/models/WeatherConditionCode.js +19 -25
  8. package/dist/esm/models/index.d.ts +0 -5
  9. package/dist/esm/models/index.js +0 -5
  10. package/dist/models/WeatherConditionCode.d.ts +19 -25
  11. package/dist/models/WeatherConditionCode.js +19 -25
  12. package/dist/models/index.d.ts +0 -5
  13. package/dist/models/index.js +0 -5
  14. package/package.json +1 -1
  15. package/dist/esm/models/GeoControlPoint.d.ts +0 -50
  16. package/dist/esm/models/GeoControlPoint.js +0 -55
  17. package/dist/esm/models/MobileAppBanner.d.ts +0 -56
  18. package/dist/esm/models/MobileAppBanner.js +0 -59
  19. package/dist/esm/models/MobileAppResponse.d.ts +0 -34
  20. package/dist/esm/models/MobileAppResponse.js +0 -44
  21. package/dist/esm/models/TrailMap.d.ts +0 -91
  22. package/dist/esm/models/TrailMap.js +0 -81
  23. package/dist/esm/models/TrailMapElement.d.ts +0 -28
  24. package/dist/esm/models/TrailMapElement.js +0 -86
  25. package/dist/models/GeoControlPoint.d.ts +0 -50
  26. package/dist/models/GeoControlPoint.js +0 -62
  27. package/dist/models/MobileAppBanner.d.ts +0 -56
  28. package/dist/models/MobileAppBanner.js +0 -66
  29. package/dist/models/MobileAppResponse.d.ts +0 -34
  30. package/dist/models/MobileAppResponse.js +0 -51
  31. package/dist/models/TrailMap.d.ts +0 -91
  32. package/dist/models/TrailMap.js +0 -88
  33. package/dist/models/TrailMapElement.d.ts +0 -28
  34. package/dist/models/TrailMapElement.js +0 -92
@@ -15,7 +15,6 @@ export * from './FeatureSize';
15
15
  export * from './FeatureType';
16
16
  export * from './FullReport';
17
17
  export * from './GeoBounds';
18
- export * from './GeoControlPoint';
19
18
  export * from './GeoPoint';
20
19
  export * from './HourlyForecast';
21
20
  export * from './HourlyForecastImperial';
@@ -25,8 +24,6 @@ export * from './Lift';
25
24
  export * from './LiftStatus';
26
25
  export * from './LiftType';
27
26
  export * from './MarkerIcon';
28
- export * from './MobileAppBanner';
29
- export * from './MobileAppResponse';
30
27
  export * from './OperatingHours';
31
28
  export * from './Overview';
32
29
  export * from './OverviewLifts';
@@ -56,8 +53,6 @@ export * from './TerrainPark';
56
53
  export * from './TerrainParkFeature';
57
54
  export * from './TerrainParkFeatureStatus';
58
55
  export * from './TerrainParkStatus';
59
- export * from './TrailMap';
60
- export * from './TrailMapElement';
61
56
  export * from './TrailMapElementOneOf';
62
57
  export * from './TrailMapElementOneOf1';
63
58
  export * from './TrailMapElementOneOf2';
@@ -17,7 +17,6 @@ export * from './FeatureSize';
17
17
  export * from './FeatureType';
18
18
  export * from './FullReport';
19
19
  export * from './GeoBounds';
20
- export * from './GeoControlPoint';
21
20
  export * from './GeoPoint';
22
21
  export * from './HourlyForecast';
23
22
  export * from './HourlyForecastImperial';
@@ -27,8 +26,6 @@ export * from './Lift';
27
26
  export * from './LiftStatus';
28
27
  export * from './LiftType';
29
28
  export * from './MarkerIcon';
30
- export * from './MobileAppBanner';
31
- export * from './MobileAppResponse';
32
29
  export * from './OperatingHours';
33
30
  export * from './Overview';
34
31
  export * from './OverviewLifts';
@@ -58,8 +55,6 @@ export * from './TerrainPark';
58
55
  export * from './TerrainParkFeature';
59
56
  export * from './TerrainParkFeatureStatus';
60
57
  export * from './TerrainParkStatus';
61
- export * from './TrailMap';
62
- export * from './TrailMapElement';
63
58
  export * from './TrailMapElementOneOf';
64
59
  export * from './TrailMapElementOneOf1';
65
60
  export * from './TrailMapElementOneOf2';
@@ -15,45 +15,39 @@
15
15
  */
16
16
  export declare const WeatherConditionCode: {
17
17
  readonly Clear: "Clear";
18
- readonly MostlyClear: "MostlyClear";
19
- readonly PartlyCloudy: "PartlyCloudy";
20
- readonly MostlyCloudy: "MostlyCloudy";
21
18
  readonly Cloudy: "Cloudy";
22
- readonly Dust: "Dust";
23
- readonly Fog: "Fog";
19
+ readonly Foggy: "Foggy";
24
20
  readonly Haze: "Haze";
25
- readonly Smoke: "Smoke";
21
+ readonly MostlyClear: "MostlyClear";
22
+ readonly MostlyCloudy: "MostlyCloudy";
23
+ readonly PartlyCloudy: "PartlyCloudy";
24
+ readonly Smoky: "Smoky";
25
+ readonly BlowingDust: "BlowingDust";
26
26
  readonly Breezy: "Breezy";
27
27
  readonly Windy: "Windy";
28
28
  readonly Drizzle: "Drizzle";
29
- readonly Rain: "Rain";
30
- readonly Showers: "Showers";
31
- readonly ScatteredShowers: "ScatteredShowers";
32
29
  readonly HeavyRain: "HeavyRain";
30
+ readonly IsolatedThunderstorms: "IsolatedThunderstorms";
31
+ readonly Rain: "Rain";
32
+ readonly SunShowers: "SunShowers";
33
+ readonly ScatteredThunderstorms: "ScatteredThunderstorms";
34
+ readonly StrongStorms: "StrongStorms";
35
+ readonly Thunderstorms: "Thunderstorms";
36
+ readonly Frigid: "Frigid";
37
+ readonly Hail: "Hail";
38
+ readonly Hot: "Hot";
33
39
  readonly Flurries: "Flurries";
40
+ readonly Sleet: "Sleet";
34
41
  readonly Snow: "Snow";
35
- readonly SnowShowers: "SnowShowers";
36
- readonly ScatteredSnowShowers: "ScatteredSnowShowers";
37
- readonly HeavySnow: "HeavySnow";
42
+ readonly SunFlurries: "SunFlurries";
43
+ readonly WintryMix: "WintryMix";
38
44
  readonly Blizzard: "Blizzard";
39
45
  readonly BlowingSnow: "BlowingSnow";
40
- readonly MixedRainAndSleet: "MixedRainAndSleet";
41
- readonly MixedRainAndSnow: "MixedRainAndSnow";
42
- readonly MixedRainfall: "MixedRainfall";
43
- readonly MixedSnowAndSleet: "MixedSnowAndSleet";
44
- readonly Sleet: "Sleet";
45
46
  readonly FreezingDrizzle: "FreezingDrizzle";
46
47
  readonly FreezingRain: "FreezingRain";
47
- readonly Frigid: "Frigid";
48
- readonly Hail: "Hail";
49
- readonly ScatteredThunderstorms: "ScatteredThunderstorms";
50
- readonly IsolatedThunderstorms: "IsolatedThunderstorms";
51
- readonly Thunderstorm: "Thunderstorm";
52
- readonly SevereThunderstorm: "SevereThunderstorm";
48
+ readonly HeavySnow: "HeavySnow";
53
49
  readonly Hurricane: "Hurricane";
54
- readonly Tornado: "Tornado";
55
50
  readonly TropicalStorm: "TropicalStorm";
56
- readonly Hot: "Hot";
57
51
  readonly Unknown: "Unknown";
58
52
  };
59
53
  export type WeatherConditionCode = typeof WeatherConditionCode[keyof typeof WeatherConditionCode];
@@ -25,45 +25,39 @@ exports.WeatherConditionCodeToJSONTyped = WeatherConditionCodeToJSONTyped;
25
25
  */
26
26
  exports.WeatherConditionCode = {
27
27
  Clear: 'Clear',
28
- MostlyClear: 'MostlyClear',
29
- PartlyCloudy: 'PartlyCloudy',
30
- MostlyCloudy: 'MostlyCloudy',
31
28
  Cloudy: 'Cloudy',
32
- Dust: 'Dust',
33
- Fog: 'Fog',
29
+ Foggy: 'Foggy',
34
30
  Haze: 'Haze',
35
- Smoke: 'Smoke',
31
+ MostlyClear: 'MostlyClear',
32
+ MostlyCloudy: 'MostlyCloudy',
33
+ PartlyCloudy: 'PartlyCloudy',
34
+ Smoky: 'Smoky',
35
+ BlowingDust: 'BlowingDust',
36
36
  Breezy: 'Breezy',
37
37
  Windy: 'Windy',
38
38
  Drizzle: 'Drizzle',
39
- Rain: 'Rain',
40
- Showers: 'Showers',
41
- ScatteredShowers: 'ScatteredShowers',
42
39
  HeavyRain: 'HeavyRain',
40
+ IsolatedThunderstorms: 'IsolatedThunderstorms',
41
+ Rain: 'Rain',
42
+ SunShowers: 'SunShowers',
43
+ ScatteredThunderstorms: 'ScatteredThunderstorms',
44
+ StrongStorms: 'StrongStorms',
45
+ Thunderstorms: 'Thunderstorms',
46
+ Frigid: 'Frigid',
47
+ Hail: 'Hail',
48
+ Hot: 'Hot',
43
49
  Flurries: 'Flurries',
50
+ Sleet: 'Sleet',
44
51
  Snow: 'Snow',
45
- SnowShowers: 'SnowShowers',
46
- ScatteredSnowShowers: 'ScatteredSnowShowers',
47
- HeavySnow: 'HeavySnow',
52
+ SunFlurries: 'SunFlurries',
53
+ WintryMix: 'WintryMix',
48
54
  Blizzard: 'Blizzard',
49
55
  BlowingSnow: 'BlowingSnow',
50
- MixedRainAndSleet: 'MixedRainAndSleet',
51
- MixedRainAndSnow: 'MixedRainAndSnow',
52
- MixedRainfall: 'MixedRainfall',
53
- MixedSnowAndSleet: 'MixedSnowAndSleet',
54
- Sleet: 'Sleet',
55
56
  FreezingDrizzle: 'FreezingDrizzle',
56
57
  FreezingRain: 'FreezingRain',
57
- Frigid: 'Frigid',
58
- Hail: 'Hail',
59
- ScatteredThunderstorms: 'ScatteredThunderstorms',
60
- IsolatedThunderstorms: 'IsolatedThunderstorms',
61
- Thunderstorm: 'Thunderstorm',
62
- SevereThunderstorm: 'SevereThunderstorm',
58
+ HeavySnow: 'HeavySnow',
63
59
  Hurricane: 'Hurricane',
64
- Tornado: 'Tornado',
65
60
  TropicalStorm: 'TropicalStorm',
66
- Hot: 'Hot',
67
61
  Unknown: 'Unknown'
68
62
  };
69
63
  function instanceOfWeatherConditionCode(value) {
@@ -15,7 +15,6 @@ export * from './FeatureSize';
15
15
  export * from './FeatureType';
16
16
  export * from './FullReport';
17
17
  export * from './GeoBounds';
18
- export * from './GeoControlPoint';
19
18
  export * from './GeoPoint';
20
19
  export * from './HourlyForecast';
21
20
  export * from './HourlyForecastImperial';
@@ -25,8 +24,6 @@ export * from './Lift';
25
24
  export * from './LiftStatus';
26
25
  export * from './LiftType';
27
26
  export * from './MarkerIcon';
28
- export * from './MobileAppBanner';
29
- export * from './MobileAppResponse';
30
27
  export * from './OperatingHours';
31
28
  export * from './Overview';
32
29
  export * from './OverviewLifts';
@@ -56,8 +53,6 @@ export * from './TerrainPark';
56
53
  export * from './TerrainParkFeature';
57
54
  export * from './TerrainParkFeatureStatus';
58
55
  export * from './TerrainParkStatus';
59
- export * from './TrailMap';
60
- export * from './TrailMapElement';
61
56
  export * from './TrailMapElementOneOf';
62
57
  export * from './TrailMapElementOneOf1';
63
58
  export * from './TrailMapElementOneOf2';
@@ -33,7 +33,6 @@ __exportStar(require("./FeatureSize"), exports);
33
33
  __exportStar(require("./FeatureType"), exports);
34
34
  __exportStar(require("./FullReport"), exports);
35
35
  __exportStar(require("./GeoBounds"), exports);
36
- __exportStar(require("./GeoControlPoint"), exports);
37
36
  __exportStar(require("./GeoPoint"), exports);
38
37
  __exportStar(require("./HourlyForecast"), exports);
39
38
  __exportStar(require("./HourlyForecastImperial"), exports);
@@ -43,8 +42,6 @@ __exportStar(require("./Lift"), exports);
43
42
  __exportStar(require("./LiftStatus"), exports);
44
43
  __exportStar(require("./LiftType"), exports);
45
44
  __exportStar(require("./MarkerIcon"), exports);
46
- __exportStar(require("./MobileAppBanner"), exports);
47
- __exportStar(require("./MobileAppResponse"), exports);
48
45
  __exportStar(require("./OperatingHours"), exports);
49
46
  __exportStar(require("./Overview"), exports);
50
47
  __exportStar(require("./OverviewLifts"), exports);
@@ -74,8 +71,6 @@ __exportStar(require("./TerrainPark"), exports);
74
71
  __exportStar(require("./TerrainParkFeature"), exports);
75
72
  __exportStar(require("./TerrainParkFeatureStatus"), exports);
76
73
  __exportStar(require("./TerrainParkStatus"), exports);
77
- __exportStar(require("./TrailMap"), exports);
78
- __exportStar(require("./TrailMapElement"), exports);
79
74
  __exportStar(require("./TrailMapElementOneOf"), exports);
80
75
  __exportStar(require("./TrailMapElementOneOf1"), exports);
81
76
  __exportStar(require("./TrailMapElementOneOf2"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mtnmanager/sdk",
3
- "version": "1.4.9",
3
+ "version": "1.5.1",
4
4
  "description": "SDK for interacting with the MtnManager API, providing real-time access to your ski resort's public operational data.",
5
5
  "author": "OpenAPI-Generator",
6
6
  "main": "./dist/index.js",
@@ -1,50 +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
- /**
13
- *
14
- * @export
15
- * @interface GeoControlPoint
16
- */
17
- export interface GeoControlPoint {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof GeoControlPoint
22
- */
23
- pixelX: number;
24
- /**
25
- *
26
- * @type {number}
27
- * @memberof GeoControlPoint
28
- */
29
- pixelY: number;
30
- /**
31
- *
32
- * @type {number}
33
- * @memberof GeoControlPoint
34
- */
35
- lat: number;
36
- /**
37
- *
38
- * @type {number}
39
- * @memberof GeoControlPoint
40
- */
41
- lng: number;
42
- }
43
- /**
44
- * Check if a given object implements the GeoControlPoint interface.
45
- */
46
- export declare function instanceOfGeoControlPoint(value: object): value is GeoControlPoint;
47
- export declare function GeoControlPointFromJSON(json: any): GeoControlPoint;
48
- export declare function GeoControlPointFromJSONTyped(json: any, ignoreDiscriminator: boolean): GeoControlPoint;
49
- export declare function GeoControlPointToJSON(json: any): GeoControlPoint;
50
- export declare function GeoControlPointToJSONTyped(value?: GeoControlPoint | null, ignoreDiscriminator?: boolean): any;
@@ -1,55 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * MtnManager API
5
- * 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.
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: support@mtnmanager.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Check if a given object implements the GeoControlPoint interface.
16
- */
17
- export function instanceOfGeoControlPoint(value) {
18
- if ((!('pixelX' in value) && !('pixel_x' in value)) || (value['pixelX'] === undefined && value['pixel_x'] === undefined))
19
- return false;
20
- if ((!('pixelY' in value) && !('pixel_y' in value)) || (value['pixelY'] === undefined && value['pixel_y'] === undefined))
21
- return false;
22
- if (!('lat' in value) || value['lat'] === undefined)
23
- return false;
24
- if (!('lng' in value) || value['lng'] === undefined)
25
- return false;
26
- return true;
27
- }
28
- export function GeoControlPointFromJSON(json) {
29
- return GeoControlPointFromJSONTyped(json, false);
30
- }
31
- export function GeoControlPointFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'pixelX': json['pixel_x'],
37
- 'pixelY': json['pixel_y'],
38
- 'lat': json['lat'],
39
- 'lng': json['lng'],
40
- };
41
- }
42
- export function GeoControlPointToJSON(json) {
43
- return GeoControlPointToJSONTyped(json, false);
44
- }
45
- export function GeoControlPointToJSONTyped(value, ignoreDiscriminator = false) {
46
- if (value == null) {
47
- return value;
48
- }
49
- return {
50
- 'pixel_x': value['pixelX'],
51
- 'pixel_y': value['pixelY'],
52
- 'lat': value['lat'],
53
- 'lng': value['lng'],
54
- };
55
- }
@@ -1,56 +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
- /**
13
- * A banner shown in the mobile app.
14
- * @export
15
- * @interface MobileAppBanner
16
- */
17
- export interface MobileAppBanner {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof MobileAppBanner
22
- */
23
- title: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof MobileAppBanner
28
- */
29
- uuid: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof MobileAppBanner
34
- */
35
- subtitle: string;
36
- /**
37
- * Full public URL of the banner image.
38
- * @type {string}
39
- * @memberof MobileAppBanner
40
- */
41
- image: string;
42
- /**
43
- * Destination URL opened when the banner is tapped.
44
- * @type {string}
45
- * @memberof MobileAppBanner
46
- */
47
- url: string;
48
- }
49
- /**
50
- * Check if a given object implements the MobileAppBanner interface.
51
- */
52
- export declare function instanceOfMobileAppBanner(value: object): value is MobileAppBanner;
53
- export declare function MobileAppBannerFromJSON(json: any): MobileAppBanner;
54
- export declare function MobileAppBannerFromJSONTyped(json: any, ignoreDiscriminator: boolean): MobileAppBanner;
55
- export declare function MobileAppBannerToJSON(json: any): MobileAppBanner;
56
- export declare function MobileAppBannerToJSONTyped(value?: MobileAppBanner | null, ignoreDiscriminator?: boolean): any;
@@ -1,59 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * MtnManager API
5
- * 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.
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: support@mtnmanager.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Check if a given object implements the MobileAppBanner interface.
16
- */
17
- export function instanceOfMobileAppBanner(value) {
18
- if (!('title' in value) || value['title'] === undefined)
19
- return false;
20
- if (!('uuid' in value) || value['uuid'] === undefined)
21
- return false;
22
- if (!('subtitle' in value) || value['subtitle'] === undefined)
23
- return false;
24
- if (!('image' in value) || value['image'] === undefined)
25
- return false;
26
- if (!('url' in value) || value['url'] === undefined)
27
- return false;
28
- return true;
29
- }
30
- export function MobileAppBannerFromJSON(json) {
31
- return MobileAppBannerFromJSONTyped(json, false);
32
- }
33
- export function MobileAppBannerFromJSONTyped(json, ignoreDiscriminator) {
34
- if (json == null) {
35
- return json;
36
- }
37
- return {
38
- 'title': json['title'],
39
- 'uuid': json['uuid'],
40
- 'subtitle': json['subtitle'],
41
- 'image': json['image'],
42
- 'url': json['url'],
43
- };
44
- }
45
- export function MobileAppBannerToJSON(json) {
46
- return MobileAppBannerToJSONTyped(json, false);
47
- }
48
- export function MobileAppBannerToJSONTyped(value, ignoreDiscriminator = false) {
49
- if (value == null) {
50
- return value;
51
- }
52
- return {
53
- 'title': value['title'],
54
- 'uuid': value['uuid'],
55
- 'subtitle': value['subtitle'],
56
- 'image': value['image'],
57
- 'url': value['url'],
58
- };
59
- }
@@ -1,34 +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 { MobileAppBanner } from './MobileAppBanner';
13
- /**
14
- * Aggregated mobile-app data for the resort. New mobile-app surface area is
15
- * added as additional fields on this response.
16
- * @export
17
- * @interface MobileAppResponse
18
- */
19
- export interface MobileAppResponse {
20
- /**
21
- * Banners shown in the mobile app, in display order.
22
- * @type {Array<MobileAppBanner>}
23
- * @memberof MobileAppResponse
24
- */
25
- banners: Array<MobileAppBanner>;
26
- }
27
- /**
28
- * Check if a given object implements the MobileAppResponse interface.
29
- */
30
- export declare function instanceOfMobileAppResponse(value: object): value is MobileAppResponse;
31
- export declare function MobileAppResponseFromJSON(json: any): MobileAppResponse;
32
- export declare function MobileAppResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MobileAppResponse;
33
- export declare function MobileAppResponseToJSON(json: any): MobileAppResponse;
34
- export declare function MobileAppResponseToJSONTyped(value?: MobileAppResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,44 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * MtnManager API
5
- * 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.
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: support@mtnmanager.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { MobileAppBannerFromJSON, MobileAppBannerToJSON, } from './MobileAppBanner';
15
- /**
16
- * Check if a given object implements the MobileAppResponse interface.
17
- */
18
- export function instanceOfMobileAppResponse(value) {
19
- if (!('banners' in value) || value['banners'] === undefined)
20
- return false;
21
- return true;
22
- }
23
- export function MobileAppResponseFromJSON(json) {
24
- return MobileAppResponseFromJSONTyped(json, false);
25
- }
26
- export function MobileAppResponseFromJSONTyped(json, ignoreDiscriminator) {
27
- if (json == null) {
28
- return json;
29
- }
30
- return {
31
- 'banners': (json['banners'].map(MobileAppBannerFromJSON)),
32
- };
33
- }
34
- export function MobileAppResponseToJSON(json) {
35
- return MobileAppResponseToJSONTyped(json, false);
36
- }
37
- export function MobileAppResponseToJSONTyped(value, ignoreDiscriminator = false) {
38
- if (value == null) {
39
- return value;
40
- }
41
- return {
42
- 'banners': (value['banners'].map(MobileAppBannerToJSON)),
43
- };
44
- }
@@ -1,91 +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 { ResortInfo } from './ResortInfo';
13
- import type { TrailMapElement } from './TrailMapElement';
14
- import type { SeasonType } from './SeasonType';
15
- import type { GeoControlPoint } from './GeoControlPoint';
16
- /**
17
- * A public trail map with enriched entity data.
18
- * @export
19
- * @interface TrailMap
20
- */
21
- export interface TrailMap {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof TrailMap
26
- */
27
- uuid: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof TrailMap
32
- */
33
- name: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof TrailMap
38
- */
39
- slug: string;
40
- /**
41
- *
42
- * @type {SeasonType}
43
- * @memberof TrailMap
44
- */
45
- season: SeasonType;
46
- /**
47
- *
48
- * @type {number}
49
- * @memberof TrailMap
50
- */
51
- displayOrder: number;
52
- /**
53
- * Monotonically incremented on every update. Clients can compare this
54
- * against a cached value to decide whether to reload the trail map.
55
- * @type {number}
56
- * @memberof TrailMap
57
- */
58
- version: number;
59
- /**
60
- *
61
- * @type {string}
62
- * @memberof TrailMap
63
- */
64
- backgroundImageUrl: string;
65
- /**
66
- *
67
- * @type {ResortInfo}
68
- * @memberof TrailMap
69
- */
70
- resort: ResortInfo;
71
- /**
72
- *
73
- * @type {Array<TrailMapElement>}
74
- * @memberof TrailMap
75
- */
76
- elements: Array<TrailMapElement>;
77
- /**
78
- *
79
- * @type {Array<GeoControlPoint>}
80
- * @memberof TrailMap
81
- */
82
- geoControlPoints?: Array<GeoControlPoint> | null;
83
- }
84
- /**
85
- * Check if a given object implements the TrailMap interface.
86
- */
87
- export declare function instanceOfTrailMap(value: object): value is TrailMap;
88
- export declare function TrailMapFromJSON(json: any): TrailMap;
89
- export declare function TrailMapFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrailMap;
90
- export declare function TrailMapToJSON(json: any): TrailMap;
91
- export declare function TrailMapToJSONTyped(value?: TrailMap | null, ignoreDiscriminator?: boolean): any;