@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.
- package/README.md +0 -4
- package/dist/apis/MtnManagerApi.d.ts +0 -39
- package/dist/apis/MtnManagerApi.js +0 -43
- package/dist/esm/apis/MtnManagerApi.d.ts +0 -39
- package/dist/esm/apis/MtnManagerApi.js +0 -43
- package/dist/esm/models/WeatherConditionCode.d.ts +19 -25
- package/dist/esm/models/WeatherConditionCode.js +19 -25
- package/dist/esm/models/index.d.ts +0 -3
- package/dist/esm/models/index.js +0 -3
- package/dist/models/WeatherConditionCode.d.ts +19 -25
- package/dist/models/WeatherConditionCode.js +19 -25
- package/dist/models/index.d.ts +0 -3
- package/dist/models/index.js +0 -3
- package/package.json +1 -1
- package/dist/esm/models/GeoControlPoint.d.ts +0 -50
- package/dist/esm/models/GeoControlPoint.js +0 -55
- package/dist/esm/models/TrailMap.d.ts +0 -91
- package/dist/esm/models/TrailMap.js +0 -81
- package/dist/esm/models/TrailMapElement.d.ts +0 -28
- package/dist/esm/models/TrailMapElement.js +0 -86
- package/dist/models/GeoControlPoint.d.ts +0 -50
- package/dist/models/GeoControlPoint.js +0 -62
- package/dist/models/TrailMap.d.ts +0 -91
- package/dist/models/TrailMap.js +0 -88
- package/dist/models/TrailMapElement.d.ts +0 -28
- package/dist/models/TrailMapElement.js +0 -92
package/README.md
CHANGED
|
@@ -65,7 +65,6 @@ All URIs are relative to *https://your-resort.mtnmanager.com*
|
|
|
65
65
|
*MtnManagerApi* | [**getSnow**](docs/MtnManagerApi.md#getsnow) | **GET** /api/v1/report/snow | Get snow conditions
|
|
66
66
|
*MtnManagerApi* | [**getSummerTrails**](docs/MtnManagerApi.md#getsummertrails) | **GET** /api/v1/report/summer-trails | Get summer trails
|
|
67
67
|
*MtnManagerApi* | [**getTerrainParks**](docs/MtnManagerApi.md#getterrainparks) | **GET** /api/v1/report/terrain-parks | Get terrain parks
|
|
68
|
-
*MtnManagerApi* | [**getTrailMap**](docs/MtnManagerApi.md#gettrailmap) | **GET** /api/v1/report/trail-map/{uuid} | Get trail map
|
|
69
68
|
*MtnManagerApi* | [**getTrailMaps**](docs/MtnManagerApi.md#gettrailmaps) | **GET** /api/v1/report/trail-maps | Get trail maps
|
|
70
69
|
*MtnManagerApi* | [**getWeather**](docs/MtnManagerApi.md#getweather) | **GET** /api/v1/report/weather | Get weather
|
|
71
70
|
|
|
@@ -89,7 +88,6 @@ All URIs are relative to *https://your-resort.mtnmanager.com*
|
|
|
89
88
|
- [FeatureType](docs/FeatureType.md)
|
|
90
89
|
- [FullReport](docs/FullReport.md)
|
|
91
90
|
- [GeoBounds](docs/GeoBounds.md)
|
|
92
|
-
- [GeoControlPoint](docs/GeoControlPoint.md)
|
|
93
91
|
- [GeoPoint](docs/GeoPoint.md)
|
|
94
92
|
- [HourlyForecast](docs/HourlyForecast.md)
|
|
95
93
|
- [HourlyForecastImperial](docs/HourlyForecastImperial.md)
|
|
@@ -128,8 +126,6 @@ All URIs are relative to *https://your-resort.mtnmanager.com*
|
|
|
128
126
|
- [TerrainParkFeature](docs/TerrainParkFeature.md)
|
|
129
127
|
- [TerrainParkFeatureStatus](docs/TerrainParkFeatureStatus.md)
|
|
130
128
|
- [TerrainParkStatus](docs/TerrainParkStatus.md)
|
|
131
|
-
- [TrailMap](docs/TrailMap.md)
|
|
132
|
-
- [TrailMapElement](docs/TrailMapElement.md)
|
|
133
129
|
- [TrailMapElementOneOf](docs/TrailMapElementOneOf.md)
|
|
134
130
|
- [TrailMapElementOneOf1](docs/TrailMapElementOneOf1.md)
|
|
135
131
|
- [TrailMapElementOneOf2](docs/TrailMapElementOneOf2.md)
|
|
@@ -20,7 +20,6 @@ import { type Run } from '../models/Run';
|
|
|
20
20
|
import { type SnowReport } from '../models/SnowReport';
|
|
21
21
|
import { type SummerTrail } from '../models/SummerTrail';
|
|
22
22
|
import { type TerrainPark } from '../models/TerrainPark';
|
|
23
|
-
import { type TrailMap } from '../models/TrailMap';
|
|
24
23
|
import { type TrailMapSummary } from '../models/TrailMapSummary';
|
|
25
24
|
import { type Weather } from '../models/Weather';
|
|
26
25
|
export interface GetAmenitiesRequest {
|
|
@@ -53,10 +52,6 @@ export interface GetSummerTrailsRequest {
|
|
|
53
52
|
export interface GetTerrainParksRequest {
|
|
54
53
|
acceptLanguage?: string;
|
|
55
54
|
}
|
|
56
|
-
export interface GetTrailMapRequest {
|
|
57
|
-
uuid: string;
|
|
58
|
-
acceptLanguage?: string;
|
|
59
|
-
}
|
|
60
55
|
export interface GetTrailMapsRequest {
|
|
61
56
|
acceptLanguage?: string;
|
|
62
57
|
}
|
|
@@ -270,28 +265,6 @@ export interface MtnManagerApiInterface {
|
|
|
270
265
|
* Get terrain parks
|
|
271
266
|
*/
|
|
272
267
|
getTerrainParks(requestParameters: GetTerrainParksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TerrainPark>>;
|
|
273
|
-
/**
|
|
274
|
-
* Creates request options for getTrailMap without sending the request
|
|
275
|
-
* @param {string} uuid Resource UUID
|
|
276
|
-
* @param {string} [acceptLanguage] Preferred language and optional region for human-readable strings in the response (e.g. operating hours summaries). Supports `en`, `fr`, `de`, `it`, and `es`, with optional region tags such as `fr-CA` or `de-CH`. Defaults to English when omitted or unsupported.
|
|
277
|
-
* @throws {RequiredError}
|
|
278
|
-
* @memberof MtnManagerApiInterface
|
|
279
|
-
*/
|
|
280
|
-
getTrailMapRequestOpts(requestParameters: GetTrailMapRequest): Promise<runtime.RequestOpts>;
|
|
281
|
-
/**
|
|
282
|
-
*
|
|
283
|
-
* @summary Get trail map
|
|
284
|
-
* @param {string} uuid Resource UUID
|
|
285
|
-
* @param {string} [acceptLanguage] Preferred language and optional region for human-readable strings in the response (e.g. operating hours summaries). Supports `en`, `fr`, `de`, `it`, and `es`, with optional region tags such as `fr-CA` or `de-CH`. Defaults to English when omitted or unsupported.
|
|
286
|
-
* @param {*} [options] Override http request option.
|
|
287
|
-
* @throws {RequiredError}
|
|
288
|
-
* @memberof MtnManagerApiInterface
|
|
289
|
-
*/
|
|
290
|
-
getTrailMapRaw(requestParameters: GetTrailMapRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TrailMap>>;
|
|
291
|
-
/**
|
|
292
|
-
* Get trail map
|
|
293
|
-
*/
|
|
294
|
-
getTrailMap(requestParameters: GetTrailMapRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TrailMap>;
|
|
295
268
|
/**
|
|
296
269
|
* Creates request options for getTrailMaps without sending the request
|
|
297
270
|
* @param {string} [acceptLanguage] Preferred language and optional region for human-readable strings in the response (e.g. operating hours summaries). Supports `en`, `fr`, `de`, `it`, and `es`, with optional region tags such as `fr-CA` or `de-CH`. Defaults to English when omitted or unsupported.
|
|
@@ -457,18 +430,6 @@ export declare class MtnManagerApi extends runtime.BaseAPI implements MtnManager
|
|
|
457
430
|
* Get terrain parks
|
|
458
431
|
*/
|
|
459
432
|
getTerrainParks(requestParameters?: GetTerrainParksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TerrainPark>>;
|
|
460
|
-
/**
|
|
461
|
-
* Creates request options for getTrailMap without sending the request
|
|
462
|
-
*/
|
|
463
|
-
getTrailMapRequestOpts(requestParameters: GetTrailMapRequest): Promise<runtime.RequestOpts>;
|
|
464
|
-
/**
|
|
465
|
-
* Get trail map
|
|
466
|
-
*/
|
|
467
|
-
getTrailMapRaw(requestParameters: GetTrailMapRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TrailMap>>;
|
|
468
|
-
/**
|
|
469
|
-
* Get trail map
|
|
470
|
-
*/
|
|
471
|
-
getTrailMap(requestParameters: GetTrailMapRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TrailMap>;
|
|
472
433
|
/**
|
|
473
434
|
* Creates request options for getTrailMaps without sending the request
|
|
474
435
|
*/
|
|
@@ -34,7 +34,6 @@ const Run_1 = require("../models/Run");
|
|
|
34
34
|
const SnowReport_1 = require("../models/SnowReport");
|
|
35
35
|
const SummerTrail_1 = require("../models/SummerTrail");
|
|
36
36
|
const TerrainPark_1 = require("../models/TerrainPark");
|
|
37
|
-
const TrailMap_1 = require("../models/TrailMap");
|
|
38
37
|
const TrailMapSummary_1 = require("../models/TrailMapSummary");
|
|
39
38
|
const Weather_1 = require("../models/Weather");
|
|
40
39
|
/**
|
|
@@ -421,48 +420,6 @@ class MtnManagerApi extends runtime.BaseAPI {
|
|
|
421
420
|
return yield response.value();
|
|
422
421
|
});
|
|
423
422
|
}
|
|
424
|
-
/**
|
|
425
|
-
* Creates request options for getTrailMap without sending the request
|
|
426
|
-
*/
|
|
427
|
-
getTrailMapRequestOpts(requestParameters) {
|
|
428
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
429
|
-
if (requestParameters['uuid'] == null) {
|
|
430
|
-
throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling getTrailMap().');
|
|
431
|
-
}
|
|
432
|
-
const queryParameters = {};
|
|
433
|
-
const headerParameters = {};
|
|
434
|
-
if (requestParameters['acceptLanguage'] != null) {
|
|
435
|
-
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
436
|
-
}
|
|
437
|
-
let urlPath = `/api/v1/report/trail-map/{uuid}`;
|
|
438
|
-
urlPath = urlPath.replace('{uuid}', encodeURIComponent(String(requestParameters['uuid'])));
|
|
439
|
-
return {
|
|
440
|
-
path: urlPath,
|
|
441
|
-
method: 'GET',
|
|
442
|
-
headers: headerParameters,
|
|
443
|
-
query: queryParameters,
|
|
444
|
-
};
|
|
445
|
-
});
|
|
446
|
-
}
|
|
447
|
-
/**
|
|
448
|
-
* Get trail map
|
|
449
|
-
*/
|
|
450
|
-
getTrailMapRaw(requestParameters, initOverrides) {
|
|
451
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
452
|
-
const requestOptions = yield this.getTrailMapRequestOpts(requestParameters);
|
|
453
|
-
const response = yield this.request(requestOptions, initOverrides);
|
|
454
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, TrailMap_1.TrailMapFromJSON)(jsonValue));
|
|
455
|
-
});
|
|
456
|
-
}
|
|
457
|
-
/**
|
|
458
|
-
* Get trail map
|
|
459
|
-
*/
|
|
460
|
-
getTrailMap(requestParameters, initOverrides) {
|
|
461
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
462
|
-
const response = yield this.getTrailMapRaw(requestParameters, initOverrides);
|
|
463
|
-
return yield response.value();
|
|
464
|
-
});
|
|
465
|
-
}
|
|
466
423
|
/**
|
|
467
424
|
* Creates request options for getTrailMaps without sending the request
|
|
468
425
|
*/
|
|
@@ -20,7 +20,6 @@ import { type Run } from '../models/Run';
|
|
|
20
20
|
import { type SnowReport } from '../models/SnowReport';
|
|
21
21
|
import { type SummerTrail } from '../models/SummerTrail';
|
|
22
22
|
import { type TerrainPark } from '../models/TerrainPark';
|
|
23
|
-
import { type TrailMap } from '../models/TrailMap';
|
|
24
23
|
import { type TrailMapSummary } from '../models/TrailMapSummary';
|
|
25
24
|
import { type Weather } from '../models/Weather';
|
|
26
25
|
export interface GetAmenitiesRequest {
|
|
@@ -53,10 +52,6 @@ export interface GetSummerTrailsRequest {
|
|
|
53
52
|
export interface GetTerrainParksRequest {
|
|
54
53
|
acceptLanguage?: string;
|
|
55
54
|
}
|
|
56
|
-
export interface GetTrailMapRequest {
|
|
57
|
-
uuid: string;
|
|
58
|
-
acceptLanguage?: string;
|
|
59
|
-
}
|
|
60
55
|
export interface GetTrailMapsRequest {
|
|
61
56
|
acceptLanguage?: string;
|
|
62
57
|
}
|
|
@@ -270,28 +265,6 @@ export interface MtnManagerApiInterface {
|
|
|
270
265
|
* Get terrain parks
|
|
271
266
|
*/
|
|
272
267
|
getTerrainParks(requestParameters: GetTerrainParksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TerrainPark>>;
|
|
273
|
-
/**
|
|
274
|
-
* Creates request options for getTrailMap without sending the request
|
|
275
|
-
* @param {string} uuid Resource UUID
|
|
276
|
-
* @param {string} [acceptLanguage] Preferred language and optional region for human-readable strings in the response (e.g. operating hours summaries). Supports `en`, `fr`, `de`, `it`, and `es`, with optional region tags such as `fr-CA` or `de-CH`. Defaults to English when omitted or unsupported.
|
|
277
|
-
* @throws {RequiredError}
|
|
278
|
-
* @memberof MtnManagerApiInterface
|
|
279
|
-
*/
|
|
280
|
-
getTrailMapRequestOpts(requestParameters: GetTrailMapRequest): Promise<runtime.RequestOpts>;
|
|
281
|
-
/**
|
|
282
|
-
*
|
|
283
|
-
* @summary Get trail map
|
|
284
|
-
* @param {string} uuid Resource UUID
|
|
285
|
-
* @param {string} [acceptLanguage] Preferred language and optional region for human-readable strings in the response (e.g. operating hours summaries). Supports `en`, `fr`, `de`, `it`, and `es`, with optional region tags such as `fr-CA` or `de-CH`. Defaults to English when omitted or unsupported.
|
|
286
|
-
* @param {*} [options] Override http request option.
|
|
287
|
-
* @throws {RequiredError}
|
|
288
|
-
* @memberof MtnManagerApiInterface
|
|
289
|
-
*/
|
|
290
|
-
getTrailMapRaw(requestParameters: GetTrailMapRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TrailMap>>;
|
|
291
|
-
/**
|
|
292
|
-
* Get trail map
|
|
293
|
-
*/
|
|
294
|
-
getTrailMap(requestParameters: GetTrailMapRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TrailMap>;
|
|
295
268
|
/**
|
|
296
269
|
* Creates request options for getTrailMaps without sending the request
|
|
297
270
|
* @param {string} [acceptLanguage] Preferred language and optional region for human-readable strings in the response (e.g. operating hours summaries). Supports `en`, `fr`, `de`, `it`, and `es`, with optional region tags such as `fr-CA` or `de-CH`. Defaults to English when omitted or unsupported.
|
|
@@ -457,18 +430,6 @@ export declare class MtnManagerApi extends runtime.BaseAPI implements MtnManager
|
|
|
457
430
|
* Get terrain parks
|
|
458
431
|
*/
|
|
459
432
|
getTerrainParks(requestParameters?: GetTerrainParksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TerrainPark>>;
|
|
460
|
-
/**
|
|
461
|
-
* Creates request options for getTrailMap without sending the request
|
|
462
|
-
*/
|
|
463
|
-
getTrailMapRequestOpts(requestParameters: GetTrailMapRequest): Promise<runtime.RequestOpts>;
|
|
464
|
-
/**
|
|
465
|
-
* Get trail map
|
|
466
|
-
*/
|
|
467
|
-
getTrailMapRaw(requestParameters: GetTrailMapRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TrailMap>>;
|
|
468
|
-
/**
|
|
469
|
-
* Get trail map
|
|
470
|
-
*/
|
|
471
|
-
getTrailMap(requestParameters: GetTrailMapRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TrailMap>;
|
|
472
433
|
/**
|
|
473
434
|
* Creates request options for getTrailMaps without sending the request
|
|
474
435
|
*/
|
|
@@ -31,7 +31,6 @@ import { RunFromJSON, } from '../models/Run';
|
|
|
31
31
|
import { SnowReportFromJSON, } from '../models/SnowReport';
|
|
32
32
|
import { SummerTrailFromJSON, } from '../models/SummerTrail';
|
|
33
33
|
import { TerrainParkFromJSON, } from '../models/TerrainPark';
|
|
34
|
-
import { TrailMapFromJSON, } from '../models/TrailMap';
|
|
35
34
|
import { TrailMapSummaryFromJSON, } from '../models/TrailMapSummary';
|
|
36
35
|
import { WeatherFromJSON, } from '../models/Weather';
|
|
37
36
|
/**
|
|
@@ -418,48 +417,6 @@ export class MtnManagerApi extends runtime.BaseAPI {
|
|
|
418
417
|
return yield response.value();
|
|
419
418
|
});
|
|
420
419
|
}
|
|
421
|
-
/**
|
|
422
|
-
* Creates request options for getTrailMap without sending the request
|
|
423
|
-
*/
|
|
424
|
-
getTrailMapRequestOpts(requestParameters) {
|
|
425
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
426
|
-
if (requestParameters['uuid'] == null) {
|
|
427
|
-
throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling getTrailMap().');
|
|
428
|
-
}
|
|
429
|
-
const queryParameters = {};
|
|
430
|
-
const headerParameters = {};
|
|
431
|
-
if (requestParameters['acceptLanguage'] != null) {
|
|
432
|
-
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
433
|
-
}
|
|
434
|
-
let urlPath = `/api/v1/report/trail-map/{uuid}`;
|
|
435
|
-
urlPath = urlPath.replace('{uuid}', encodeURIComponent(String(requestParameters['uuid'])));
|
|
436
|
-
return {
|
|
437
|
-
path: urlPath,
|
|
438
|
-
method: 'GET',
|
|
439
|
-
headers: headerParameters,
|
|
440
|
-
query: queryParameters,
|
|
441
|
-
};
|
|
442
|
-
});
|
|
443
|
-
}
|
|
444
|
-
/**
|
|
445
|
-
* Get trail map
|
|
446
|
-
*/
|
|
447
|
-
getTrailMapRaw(requestParameters, initOverrides) {
|
|
448
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
449
|
-
const requestOptions = yield this.getTrailMapRequestOpts(requestParameters);
|
|
450
|
-
const response = yield this.request(requestOptions, initOverrides);
|
|
451
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => TrailMapFromJSON(jsonValue));
|
|
452
|
-
});
|
|
453
|
-
}
|
|
454
|
-
/**
|
|
455
|
-
* Get trail map
|
|
456
|
-
*/
|
|
457
|
-
getTrailMap(requestParameters, initOverrides) {
|
|
458
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
459
|
-
const response = yield this.getTrailMapRaw(requestParameters, initOverrides);
|
|
460
|
-
return yield response.value();
|
|
461
|
-
});
|
|
462
|
-
}
|
|
463
420
|
/**
|
|
464
421
|
* Creates request options for getTrailMaps without sending the request
|
|
465
422
|
*/
|
|
@@ -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
|
|
23
|
-
readonly Fog: "Fog";
|
|
19
|
+
readonly Foggy: "Foggy";
|
|
24
20
|
readonly Haze: "Haze";
|
|
25
|
-
readonly
|
|
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
|
|
36
|
-
readonly
|
|
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
|
|
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];
|
|
@@ -17,45 +17,39 @@
|
|
|
17
17
|
*/
|
|
18
18
|
export const WeatherConditionCode = {
|
|
19
19
|
Clear: 'Clear',
|
|
20
|
-
MostlyClear: 'MostlyClear',
|
|
21
|
-
PartlyCloudy: 'PartlyCloudy',
|
|
22
|
-
MostlyCloudy: 'MostlyCloudy',
|
|
23
20
|
Cloudy: 'Cloudy',
|
|
24
|
-
|
|
25
|
-
Fog: 'Fog',
|
|
21
|
+
Foggy: 'Foggy',
|
|
26
22
|
Haze: 'Haze',
|
|
27
|
-
|
|
23
|
+
MostlyClear: 'MostlyClear',
|
|
24
|
+
MostlyCloudy: 'MostlyCloudy',
|
|
25
|
+
PartlyCloudy: 'PartlyCloudy',
|
|
26
|
+
Smoky: 'Smoky',
|
|
27
|
+
BlowingDust: 'BlowingDust',
|
|
28
28
|
Breezy: 'Breezy',
|
|
29
29
|
Windy: 'Windy',
|
|
30
30
|
Drizzle: 'Drizzle',
|
|
31
|
-
Rain: 'Rain',
|
|
32
|
-
Showers: 'Showers',
|
|
33
|
-
ScatteredShowers: 'ScatteredShowers',
|
|
34
31
|
HeavyRain: 'HeavyRain',
|
|
32
|
+
IsolatedThunderstorms: 'IsolatedThunderstorms',
|
|
33
|
+
Rain: 'Rain',
|
|
34
|
+
SunShowers: 'SunShowers',
|
|
35
|
+
ScatteredThunderstorms: 'ScatteredThunderstorms',
|
|
36
|
+
StrongStorms: 'StrongStorms',
|
|
37
|
+
Thunderstorms: 'Thunderstorms',
|
|
38
|
+
Frigid: 'Frigid',
|
|
39
|
+
Hail: 'Hail',
|
|
40
|
+
Hot: 'Hot',
|
|
35
41
|
Flurries: 'Flurries',
|
|
42
|
+
Sleet: 'Sleet',
|
|
36
43
|
Snow: 'Snow',
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
HeavySnow: 'HeavySnow',
|
|
44
|
+
SunFlurries: 'SunFlurries',
|
|
45
|
+
WintryMix: 'WintryMix',
|
|
40
46
|
Blizzard: 'Blizzard',
|
|
41
47
|
BlowingSnow: 'BlowingSnow',
|
|
42
|
-
MixedRainAndSleet: 'MixedRainAndSleet',
|
|
43
|
-
MixedRainAndSnow: 'MixedRainAndSnow',
|
|
44
|
-
MixedRainfall: 'MixedRainfall',
|
|
45
|
-
MixedSnowAndSleet: 'MixedSnowAndSleet',
|
|
46
|
-
Sleet: 'Sleet',
|
|
47
48
|
FreezingDrizzle: 'FreezingDrizzle',
|
|
48
49
|
FreezingRain: 'FreezingRain',
|
|
49
|
-
|
|
50
|
-
Hail: 'Hail',
|
|
51
|
-
ScatteredThunderstorms: 'ScatteredThunderstorms',
|
|
52
|
-
IsolatedThunderstorms: 'IsolatedThunderstorms',
|
|
53
|
-
Thunderstorm: 'Thunderstorm',
|
|
54
|
-
SevereThunderstorm: 'SevereThunderstorm',
|
|
50
|
+
HeavySnow: 'HeavySnow',
|
|
55
51
|
Hurricane: 'Hurricane',
|
|
56
|
-
Tornado: 'Tornado',
|
|
57
52
|
TropicalStorm: 'TropicalStorm',
|
|
58
|
-
Hot: 'Hot',
|
|
59
53
|
Unknown: 'Unknown'
|
|
60
54
|
};
|
|
61
55
|
export 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';
|
|
@@ -54,8 +53,6 @@ export * from './TerrainPark';
|
|
|
54
53
|
export * from './TerrainParkFeature';
|
|
55
54
|
export * from './TerrainParkFeatureStatus';
|
|
56
55
|
export * from './TerrainParkStatus';
|
|
57
|
-
export * from './TrailMap';
|
|
58
|
-
export * from './TrailMapElement';
|
|
59
56
|
export * from './TrailMapElementOneOf';
|
|
60
57
|
export * from './TrailMapElementOneOf1';
|
|
61
58
|
export * from './TrailMapElementOneOf2';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -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';
|
|
@@ -56,8 +55,6 @@ export * from './TerrainPark';
|
|
|
56
55
|
export * from './TerrainParkFeature';
|
|
57
56
|
export * from './TerrainParkFeatureStatus';
|
|
58
57
|
export * from './TerrainParkStatus';
|
|
59
|
-
export * from './TrailMap';
|
|
60
|
-
export * from './TrailMapElement';
|
|
61
58
|
export * from './TrailMapElementOneOf';
|
|
62
59
|
export * from './TrailMapElementOneOf1';
|
|
63
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
|
|
23
|
-
readonly Fog: "Fog";
|
|
19
|
+
readonly Foggy: "Foggy";
|
|
24
20
|
readonly Haze: "Haze";
|
|
25
|
-
readonly
|
|
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
|
|
36
|
-
readonly
|
|
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
|
|
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
|
-
|
|
33
|
-
Fog: 'Fog',
|
|
29
|
+
Foggy: 'Foggy',
|
|
34
30
|
Haze: 'Haze',
|
|
35
|
-
|
|
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
|
-
|
|
46
|
-
|
|
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
|
-
|
|
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) {
|
package/dist/models/index.d.ts
CHANGED
|
@@ -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';
|
|
@@ -54,8 +53,6 @@ export * from './TerrainPark';
|
|
|
54
53
|
export * from './TerrainParkFeature';
|
|
55
54
|
export * from './TerrainParkFeatureStatus';
|
|
56
55
|
export * from './TerrainParkStatus';
|
|
57
|
-
export * from './TrailMap';
|
|
58
|
-
export * from './TrailMapElement';
|
|
59
56
|
export * from './TrailMapElementOneOf';
|
|
60
57
|
export * from './TrailMapElementOneOf1';
|
|
61
58
|
export * from './TrailMapElementOneOf2';
|
package/dist/models/index.js
CHANGED
|
@@ -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);
|
|
@@ -72,8 +71,6 @@ __exportStar(require("./TerrainPark"), exports);
|
|
|
72
71
|
__exportStar(require("./TerrainParkFeature"), exports);
|
|
73
72
|
__exportStar(require("./TerrainParkFeatureStatus"), exports);
|
|
74
73
|
__exportStar(require("./TerrainParkStatus"), exports);
|
|
75
|
-
__exportStar(require("./TrailMap"), exports);
|
|
76
|
-
__exportStar(require("./TrailMapElement"), exports);
|
|
77
74
|
__exportStar(require("./TrailMapElementOneOf"), exports);
|
|
78
75
|
__exportStar(require("./TrailMapElementOneOf1"), exports);
|
|
79
76
|
__exportStar(require("./TrailMapElementOneOf2"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mtnmanager/sdk",
|
|
3
|
-
"version": "1.
|
|
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",
|