@mtnmanager/sdk 1.5.2 → 1.7.0
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/LICENSE +21 -0
- package/README.md +8 -0
- package/dist/apis/MtnManagerApi.d.ts +85 -4
- package/dist/apis/MtnManagerApi.js +89 -1
- package/dist/esm/apis/MtnManagerApi.d.ts +85 -4
- package/dist/esm/apis/MtnManagerApi.js +89 -1
- package/dist/esm/models/Amenity.d.ts +15 -0
- package/dist/esm/models/Amenity.js +7 -0
- package/dist/esm/models/EntityImage.d.ts +39 -0
- package/dist/esm/models/EntityImage.js +47 -0
- package/dist/esm/models/FullReport.d.ts +5 -3
- package/dist/esm/models/FullReport.js +2 -2
- package/dist/esm/models/Lift.d.ts +8 -0
- package/dist/esm/models/Lift.js +3 -0
- package/dist/esm/models/MarkerIcon.d.ts +1 -0
- package/dist/esm/models/MarkerIcon.js +2 -1
- package/dist/esm/models/ParkingLot.d.ts +8 -0
- package/dist/esm/models/ParkingLot.js +3 -0
- package/dist/esm/models/Run.d.ts +8 -0
- package/dist/esm/models/Run.js +3 -0
- package/dist/esm/models/SummerTrail.d.ts +8 -0
- package/dist/esm/models/SummerTrail.js +3 -0
- package/dist/esm/models/TerrainPark.d.ts +8 -0
- package/dist/esm/models/TerrainPark.js +3 -0
- package/dist/esm/models/TerrainParkFeature.d.ts +8 -0
- package/dist/esm/models/TerrainParkFeature.js +3 -0
- package/dist/esm/models/TrailMapElementOneOf6.d.ts +4 -9
- package/dist/esm/models/TrailMapElementOneOf6.js +5 -8
- package/dist/esm/models/TrailMapElementOneOf7.d.ts +88 -0
- package/dist/esm/models/TrailMapElementOneOf7.js +76 -0
- package/dist/esm/models/Weather.d.ts +18 -0
- package/dist/esm/models/Weather.js +6 -0
- package/dist/esm/models/Webcam.d.ts +88 -0
- package/dist/esm/models/Webcam.js +71 -0
- package/dist/esm/models/WebcamHistoryFrame.d.ts +44 -0
- package/dist/esm/models/WebcamHistoryFrame.js +51 -0
- package/dist/esm/models/WebcamHistoryQuery.d.ts +38 -0
- package/dist/esm/models/WebcamHistoryQuery.js +43 -0
- package/dist/esm/models/WebcamHistoryResponse.d.ts +39 -0
- package/dist/esm/models/WebcamHistoryResponse.js +48 -0
- package/dist/esm/models/index.d.ts +6 -0
- package/dist/esm/models/index.js +6 -0
- package/dist/models/Amenity.d.ts +15 -0
- package/dist/models/Amenity.js +7 -0
- package/dist/models/EntityImage.d.ts +39 -0
- package/dist/models/EntityImage.js +54 -0
- package/dist/models/FullReport.d.ts +5 -3
- package/dist/models/FullReport.js +2 -2
- package/dist/models/Lift.d.ts +8 -0
- package/dist/models/Lift.js +3 -0
- package/dist/models/MarkerIcon.d.ts +1 -0
- package/dist/models/MarkerIcon.js +2 -1
- package/dist/models/ParkingLot.d.ts +8 -0
- package/dist/models/ParkingLot.js +3 -0
- package/dist/models/Run.d.ts +8 -0
- package/dist/models/Run.js +3 -0
- package/dist/models/SummerTrail.d.ts +8 -0
- package/dist/models/SummerTrail.js +3 -0
- package/dist/models/TerrainPark.d.ts +8 -0
- package/dist/models/TerrainPark.js +3 -0
- package/dist/models/TerrainParkFeature.d.ts +8 -0
- package/dist/models/TerrainParkFeature.js +3 -0
- package/dist/models/TrailMapElementOneOf6.d.ts +4 -9
- package/dist/models/TrailMapElementOneOf6.js +5 -8
- package/dist/models/TrailMapElementOneOf7.d.ts +88 -0
- package/dist/models/TrailMapElementOneOf7.js +84 -0
- package/dist/models/Weather.d.ts +18 -0
- package/dist/models/Weather.js +6 -0
- package/dist/models/Webcam.d.ts +88 -0
- package/dist/models/Webcam.js +78 -0
- package/dist/models/WebcamHistoryFrame.d.ts +44 -0
- package/dist/models/WebcamHistoryFrame.js +58 -0
- package/dist/models/WebcamHistoryQuery.d.ts +38 -0
- package/dist/models/WebcamHistoryQuery.js +50 -0
- package/dist/models/WebcamHistoryResponse.d.ts +39 -0
- package/dist/models/WebcamHistoryResponse.js +55 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/package.json +1 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 MtnManager
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -67,6 +67,8 @@ All URIs are relative to *https://your-resort.mtnmanager.com*
|
|
|
67
67
|
*MtnManagerApi* | [**getTerrainParks**](docs/MtnManagerApi.md#getterrainparks) | **GET** /api/v1/report/terrain-parks | Get terrain parks
|
|
68
68
|
*MtnManagerApi* | [**getTrailMaps**](docs/MtnManagerApi.md#gettrailmaps) | **GET** /api/v1/report/trail-maps | Get trail maps
|
|
69
69
|
*MtnManagerApi* | [**getWeather**](docs/MtnManagerApi.md#getweather) | **GET** /api/v1/report/weather | Get weather
|
|
70
|
+
*MtnManagerApi* | [**getWebcamHistory**](docs/MtnManagerApi.md#getwebcamhistory) | **GET** /api/v1/report/webcam/{uuid}/history | Get webcam history
|
|
71
|
+
*MtnManagerApi* | [**getWebcams**](docs/MtnManagerApi.md#getwebcams) | **GET** /api/v1/report/webcams | Get webcams
|
|
70
72
|
|
|
71
73
|
|
|
72
74
|
### Models
|
|
@@ -84,6 +86,7 @@ All URIs are relative to *https://your-resort.mtnmanager.com*
|
|
|
84
86
|
- [DailyForecastImperial](docs/DailyForecastImperial.md)
|
|
85
87
|
- [DailyForecastMetric](docs/DailyForecastMetric.md)
|
|
86
88
|
- [DayOfWeek](docs/DayOfWeek.md)
|
|
89
|
+
- [EntityImage](docs/EntityImage.md)
|
|
87
90
|
- [FeatureSize](docs/FeatureSize.md)
|
|
88
91
|
- [FeatureType](docs/FeatureType.md)
|
|
89
92
|
- [FullReport](docs/FullReport.md)
|
|
@@ -133,10 +136,15 @@ All URIs are relative to *https://your-resort.mtnmanager.com*
|
|
|
133
136
|
- [TrailMapElementOneOf4](docs/TrailMapElementOneOf4.md)
|
|
134
137
|
- [TrailMapElementOneOf5](docs/TrailMapElementOneOf5.md)
|
|
135
138
|
- [TrailMapElementOneOf6](docs/TrailMapElementOneOf6.md)
|
|
139
|
+
- [TrailMapElementOneOf7](docs/TrailMapElementOneOf7.md)
|
|
136
140
|
- [TrailMapSummary](docs/TrailMapSummary.md)
|
|
137
141
|
- [UnitPreference](docs/UnitPreference.md)
|
|
138
142
|
- [Weather](docs/Weather.md)
|
|
139
143
|
- [WeatherConditionCode](docs/WeatherConditionCode.md)
|
|
144
|
+
- [Webcam](docs/Webcam.md)
|
|
145
|
+
- [WebcamHistoryFrame](docs/WebcamHistoryFrame.md)
|
|
146
|
+
- [WebcamHistoryQuery](docs/WebcamHistoryQuery.md)
|
|
147
|
+
- [WebcamHistoryResponse](docs/WebcamHistoryResponse.md)
|
|
140
148
|
|
|
141
149
|
### Authorization
|
|
142
150
|
|
|
@@ -22,6 +22,8 @@ import { type SummerTrail } from '../models/SummerTrail';
|
|
|
22
22
|
import { type TerrainPark } from '../models/TerrainPark';
|
|
23
23
|
import { type TrailMapSummary } from '../models/TrailMapSummary';
|
|
24
24
|
import { type Weather } from '../models/Weather';
|
|
25
|
+
import { type Webcam } from '../models/Webcam';
|
|
26
|
+
import { type WebcamHistoryResponse } from '../models/WebcamHistoryResponse';
|
|
25
27
|
export interface GetAmenitiesRequest {
|
|
26
28
|
acceptLanguage?: string;
|
|
27
29
|
}
|
|
@@ -58,6 +60,15 @@ export interface GetTrailMapsRequest {
|
|
|
58
60
|
export interface GetWeatherRequest {
|
|
59
61
|
acceptLanguage?: string;
|
|
60
62
|
}
|
|
63
|
+
export interface GetWebcamHistoryRequest {
|
|
64
|
+
uuid: string;
|
|
65
|
+
from?: string | null;
|
|
66
|
+
to?: string | null;
|
|
67
|
+
acceptLanguage?: string;
|
|
68
|
+
}
|
|
69
|
+
export interface GetWebcamsRequest {
|
|
70
|
+
acceptLanguage?: string;
|
|
71
|
+
}
|
|
61
72
|
/**
|
|
62
73
|
* MtnManagerApi - interface
|
|
63
74
|
*
|
|
@@ -300,11 +311,57 @@ export interface MtnManagerApiInterface {
|
|
|
300
311
|
* @throws {RequiredError}
|
|
301
312
|
* @memberof MtnManagerApiInterface
|
|
302
313
|
*/
|
|
303
|
-
getWeatherRaw(requestParameters: GetWeatherRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Weather
|
|
314
|
+
getWeatherRaw(requestParameters: GetWeatherRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Weather>>>;
|
|
304
315
|
/**
|
|
305
316
|
* Get weather
|
|
306
317
|
*/
|
|
307
|
-
getWeather(requestParameters: GetWeatherRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Weather
|
|
318
|
+
getWeather(requestParameters: GetWeatherRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Weather>>;
|
|
319
|
+
/**
|
|
320
|
+
* Creates request options for getWebcamHistory without sending the request
|
|
321
|
+
* @param {string} uuid Resource UUID
|
|
322
|
+
* @param {string} [from] Inclusive lower bound on `captured_at` (RFC 3339).
|
|
323
|
+
* @param {string} [to] Inclusive upper bound on `captured_at` (RFC 3339).
|
|
324
|
+
* @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.
|
|
325
|
+
* @throws {RequiredError}
|
|
326
|
+
* @memberof MtnManagerApiInterface
|
|
327
|
+
*/
|
|
328
|
+
getWebcamHistoryRequestOpts(requestParameters: GetWebcamHistoryRequest): Promise<runtime.RequestOpts>;
|
|
329
|
+
/**
|
|
330
|
+
*
|
|
331
|
+
* @summary Get webcam history
|
|
332
|
+
* @param {string} uuid Resource UUID
|
|
333
|
+
* @param {string} [from] Inclusive lower bound on `captured_at` (RFC 3339).
|
|
334
|
+
* @param {string} [to] Inclusive upper bound on `captured_at` (RFC 3339).
|
|
335
|
+
* @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.
|
|
336
|
+
* @param {*} [options] Override http request option.
|
|
337
|
+
* @throws {RequiredError}
|
|
338
|
+
* @memberof MtnManagerApiInterface
|
|
339
|
+
*/
|
|
340
|
+
getWebcamHistoryRaw(requestParameters: GetWebcamHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebcamHistoryResponse>>;
|
|
341
|
+
/**
|
|
342
|
+
* Get webcam history
|
|
343
|
+
*/
|
|
344
|
+
getWebcamHistory(requestParameters: GetWebcamHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebcamHistoryResponse>;
|
|
345
|
+
/**
|
|
346
|
+
* Creates request options for getWebcams without sending the request
|
|
347
|
+
* @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.
|
|
348
|
+
* @throws {RequiredError}
|
|
349
|
+
* @memberof MtnManagerApiInterface
|
|
350
|
+
*/
|
|
351
|
+
getWebcamsRequestOpts(requestParameters: GetWebcamsRequest): Promise<runtime.RequestOpts>;
|
|
352
|
+
/**
|
|
353
|
+
*
|
|
354
|
+
* @summary Get webcams
|
|
355
|
+
* @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.
|
|
356
|
+
* @param {*} [options] Override http request option.
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
* @memberof MtnManagerApiInterface
|
|
359
|
+
*/
|
|
360
|
+
getWebcamsRaw(requestParameters: GetWebcamsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Webcam>>>;
|
|
361
|
+
/**
|
|
362
|
+
* Get webcams
|
|
363
|
+
*/
|
|
364
|
+
getWebcams(requestParameters: GetWebcamsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Webcam>>;
|
|
308
365
|
}
|
|
309
366
|
/**
|
|
310
367
|
*
|
|
@@ -449,9 +506,33 @@ export declare class MtnManagerApi extends runtime.BaseAPI implements MtnManager
|
|
|
449
506
|
/**
|
|
450
507
|
* Get weather
|
|
451
508
|
*/
|
|
452
|
-
getWeatherRaw(requestParameters: GetWeatherRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Weather
|
|
509
|
+
getWeatherRaw(requestParameters: GetWeatherRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Weather>>>;
|
|
453
510
|
/**
|
|
454
511
|
* Get weather
|
|
455
512
|
*/
|
|
456
|
-
getWeather(requestParameters?: GetWeatherRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Weather
|
|
513
|
+
getWeather(requestParameters?: GetWeatherRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Weather>>;
|
|
514
|
+
/**
|
|
515
|
+
* Creates request options for getWebcamHistory without sending the request
|
|
516
|
+
*/
|
|
517
|
+
getWebcamHistoryRequestOpts(requestParameters: GetWebcamHistoryRequest): Promise<runtime.RequestOpts>;
|
|
518
|
+
/**
|
|
519
|
+
* Get webcam history
|
|
520
|
+
*/
|
|
521
|
+
getWebcamHistoryRaw(requestParameters: GetWebcamHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebcamHistoryResponse>>;
|
|
522
|
+
/**
|
|
523
|
+
* Get webcam history
|
|
524
|
+
*/
|
|
525
|
+
getWebcamHistory(requestParameters: GetWebcamHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebcamHistoryResponse>;
|
|
526
|
+
/**
|
|
527
|
+
* Creates request options for getWebcams without sending the request
|
|
528
|
+
*/
|
|
529
|
+
getWebcamsRequestOpts(requestParameters: GetWebcamsRequest): Promise<runtime.RequestOpts>;
|
|
530
|
+
/**
|
|
531
|
+
* Get webcams
|
|
532
|
+
*/
|
|
533
|
+
getWebcamsRaw(requestParameters: GetWebcamsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Webcam>>>;
|
|
534
|
+
/**
|
|
535
|
+
* Get webcams
|
|
536
|
+
*/
|
|
537
|
+
getWebcams(requestParameters?: GetWebcamsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Webcam>>;
|
|
457
538
|
}
|
|
@@ -36,6 +36,8 @@ const SummerTrail_1 = require("../models/SummerTrail");
|
|
|
36
36
|
const TerrainPark_1 = require("../models/TerrainPark");
|
|
37
37
|
const TrailMapSummary_1 = require("../models/TrailMapSummary");
|
|
38
38
|
const Weather_1 = require("../models/Weather");
|
|
39
|
+
const Webcam_1 = require("../models/Webcam");
|
|
40
|
+
const WebcamHistoryResponse_1 = require("../models/WebcamHistoryResponse");
|
|
39
41
|
/**
|
|
40
42
|
*
|
|
41
43
|
*/
|
|
@@ -484,7 +486,7 @@ class MtnManagerApi extends runtime.BaseAPI {
|
|
|
484
486
|
return __awaiter(this, void 0, void 0, function* () {
|
|
485
487
|
const requestOptions = yield this.getWeatherRequestOpts(requestParameters);
|
|
486
488
|
const response = yield this.request(requestOptions, initOverrides);
|
|
487
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (
|
|
489
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(Weather_1.WeatherFromJSON));
|
|
488
490
|
});
|
|
489
491
|
}
|
|
490
492
|
/**
|
|
@@ -496,5 +498,91 @@ class MtnManagerApi extends runtime.BaseAPI {
|
|
|
496
498
|
return yield response.value();
|
|
497
499
|
});
|
|
498
500
|
}
|
|
501
|
+
/**
|
|
502
|
+
* Creates request options for getWebcamHistory without sending the request
|
|
503
|
+
*/
|
|
504
|
+
getWebcamHistoryRequestOpts(requestParameters) {
|
|
505
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
506
|
+
if (requestParameters['uuid'] == null) {
|
|
507
|
+
throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling getWebcamHistory().');
|
|
508
|
+
}
|
|
509
|
+
const queryParameters = {};
|
|
510
|
+
if (requestParameters['from'] != null) {
|
|
511
|
+
queryParameters['from'] = requestParameters['from'];
|
|
512
|
+
}
|
|
513
|
+
if (requestParameters['to'] != null) {
|
|
514
|
+
queryParameters['to'] = requestParameters['to'];
|
|
515
|
+
}
|
|
516
|
+
const headerParameters = {};
|
|
517
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
518
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
519
|
+
}
|
|
520
|
+
let urlPath = `/api/v1/report/webcam/{uuid}/history`;
|
|
521
|
+
urlPath = urlPath.replace('{uuid}', encodeURIComponent(String(requestParameters['uuid'])));
|
|
522
|
+
return {
|
|
523
|
+
path: urlPath,
|
|
524
|
+
method: 'GET',
|
|
525
|
+
headers: headerParameters,
|
|
526
|
+
query: queryParameters,
|
|
527
|
+
};
|
|
528
|
+
});
|
|
529
|
+
}
|
|
530
|
+
/**
|
|
531
|
+
* Get webcam history
|
|
532
|
+
*/
|
|
533
|
+
getWebcamHistoryRaw(requestParameters, initOverrides) {
|
|
534
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
535
|
+
const requestOptions = yield this.getWebcamHistoryRequestOpts(requestParameters);
|
|
536
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
537
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, WebcamHistoryResponse_1.WebcamHistoryResponseFromJSON)(jsonValue));
|
|
538
|
+
});
|
|
539
|
+
}
|
|
540
|
+
/**
|
|
541
|
+
* Get webcam history
|
|
542
|
+
*/
|
|
543
|
+
getWebcamHistory(requestParameters, initOverrides) {
|
|
544
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
545
|
+
const response = yield this.getWebcamHistoryRaw(requestParameters, initOverrides);
|
|
546
|
+
return yield response.value();
|
|
547
|
+
});
|
|
548
|
+
}
|
|
549
|
+
/**
|
|
550
|
+
* Creates request options for getWebcams without sending the request
|
|
551
|
+
*/
|
|
552
|
+
getWebcamsRequestOpts(requestParameters) {
|
|
553
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
554
|
+
const queryParameters = {};
|
|
555
|
+
const headerParameters = {};
|
|
556
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
557
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
558
|
+
}
|
|
559
|
+
let urlPath = `/api/v1/report/webcams`;
|
|
560
|
+
return {
|
|
561
|
+
path: urlPath,
|
|
562
|
+
method: 'GET',
|
|
563
|
+
headers: headerParameters,
|
|
564
|
+
query: queryParameters,
|
|
565
|
+
};
|
|
566
|
+
});
|
|
567
|
+
}
|
|
568
|
+
/**
|
|
569
|
+
* Get webcams
|
|
570
|
+
*/
|
|
571
|
+
getWebcamsRaw(requestParameters, initOverrides) {
|
|
572
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
573
|
+
const requestOptions = yield this.getWebcamsRequestOpts(requestParameters);
|
|
574
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
575
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(Webcam_1.WebcamFromJSON));
|
|
576
|
+
});
|
|
577
|
+
}
|
|
578
|
+
/**
|
|
579
|
+
* Get webcams
|
|
580
|
+
*/
|
|
581
|
+
getWebcams() {
|
|
582
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
583
|
+
const response = yield this.getWebcamsRaw(requestParameters, initOverrides);
|
|
584
|
+
return yield response.value();
|
|
585
|
+
});
|
|
586
|
+
}
|
|
499
587
|
}
|
|
500
588
|
exports.MtnManagerApi = MtnManagerApi;
|
|
@@ -22,6 +22,8 @@ import { type SummerTrail } from '../models/SummerTrail';
|
|
|
22
22
|
import { type TerrainPark } from '../models/TerrainPark';
|
|
23
23
|
import { type TrailMapSummary } from '../models/TrailMapSummary';
|
|
24
24
|
import { type Weather } from '../models/Weather';
|
|
25
|
+
import { type Webcam } from '../models/Webcam';
|
|
26
|
+
import { type WebcamHistoryResponse } from '../models/WebcamHistoryResponse';
|
|
25
27
|
export interface GetAmenitiesRequest {
|
|
26
28
|
acceptLanguage?: string;
|
|
27
29
|
}
|
|
@@ -58,6 +60,15 @@ export interface GetTrailMapsRequest {
|
|
|
58
60
|
export interface GetWeatherRequest {
|
|
59
61
|
acceptLanguage?: string;
|
|
60
62
|
}
|
|
63
|
+
export interface GetWebcamHistoryRequest {
|
|
64
|
+
uuid: string;
|
|
65
|
+
from?: string | null;
|
|
66
|
+
to?: string | null;
|
|
67
|
+
acceptLanguage?: string;
|
|
68
|
+
}
|
|
69
|
+
export interface GetWebcamsRequest {
|
|
70
|
+
acceptLanguage?: string;
|
|
71
|
+
}
|
|
61
72
|
/**
|
|
62
73
|
* MtnManagerApi - interface
|
|
63
74
|
*
|
|
@@ -300,11 +311,57 @@ export interface MtnManagerApiInterface {
|
|
|
300
311
|
* @throws {RequiredError}
|
|
301
312
|
* @memberof MtnManagerApiInterface
|
|
302
313
|
*/
|
|
303
|
-
getWeatherRaw(requestParameters: GetWeatherRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Weather
|
|
314
|
+
getWeatherRaw(requestParameters: GetWeatherRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Weather>>>;
|
|
304
315
|
/**
|
|
305
316
|
* Get weather
|
|
306
317
|
*/
|
|
307
|
-
getWeather(requestParameters: GetWeatherRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Weather
|
|
318
|
+
getWeather(requestParameters: GetWeatherRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Weather>>;
|
|
319
|
+
/**
|
|
320
|
+
* Creates request options for getWebcamHistory without sending the request
|
|
321
|
+
* @param {string} uuid Resource UUID
|
|
322
|
+
* @param {string} [from] Inclusive lower bound on `captured_at` (RFC 3339).
|
|
323
|
+
* @param {string} [to] Inclusive upper bound on `captured_at` (RFC 3339).
|
|
324
|
+
* @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.
|
|
325
|
+
* @throws {RequiredError}
|
|
326
|
+
* @memberof MtnManagerApiInterface
|
|
327
|
+
*/
|
|
328
|
+
getWebcamHistoryRequestOpts(requestParameters: GetWebcamHistoryRequest): Promise<runtime.RequestOpts>;
|
|
329
|
+
/**
|
|
330
|
+
*
|
|
331
|
+
* @summary Get webcam history
|
|
332
|
+
* @param {string} uuid Resource UUID
|
|
333
|
+
* @param {string} [from] Inclusive lower bound on `captured_at` (RFC 3339).
|
|
334
|
+
* @param {string} [to] Inclusive upper bound on `captured_at` (RFC 3339).
|
|
335
|
+
* @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.
|
|
336
|
+
* @param {*} [options] Override http request option.
|
|
337
|
+
* @throws {RequiredError}
|
|
338
|
+
* @memberof MtnManagerApiInterface
|
|
339
|
+
*/
|
|
340
|
+
getWebcamHistoryRaw(requestParameters: GetWebcamHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebcamHistoryResponse>>;
|
|
341
|
+
/**
|
|
342
|
+
* Get webcam history
|
|
343
|
+
*/
|
|
344
|
+
getWebcamHistory(requestParameters: GetWebcamHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebcamHistoryResponse>;
|
|
345
|
+
/**
|
|
346
|
+
* Creates request options for getWebcams without sending the request
|
|
347
|
+
* @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.
|
|
348
|
+
* @throws {RequiredError}
|
|
349
|
+
* @memberof MtnManagerApiInterface
|
|
350
|
+
*/
|
|
351
|
+
getWebcamsRequestOpts(requestParameters: GetWebcamsRequest): Promise<runtime.RequestOpts>;
|
|
352
|
+
/**
|
|
353
|
+
*
|
|
354
|
+
* @summary Get webcams
|
|
355
|
+
* @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.
|
|
356
|
+
* @param {*} [options] Override http request option.
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
* @memberof MtnManagerApiInterface
|
|
359
|
+
*/
|
|
360
|
+
getWebcamsRaw(requestParameters: GetWebcamsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Webcam>>>;
|
|
361
|
+
/**
|
|
362
|
+
* Get webcams
|
|
363
|
+
*/
|
|
364
|
+
getWebcams(requestParameters: GetWebcamsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Webcam>>;
|
|
308
365
|
}
|
|
309
366
|
/**
|
|
310
367
|
*
|
|
@@ -449,9 +506,33 @@ export declare class MtnManagerApi extends runtime.BaseAPI implements MtnManager
|
|
|
449
506
|
/**
|
|
450
507
|
* Get weather
|
|
451
508
|
*/
|
|
452
|
-
getWeatherRaw(requestParameters: GetWeatherRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Weather
|
|
509
|
+
getWeatherRaw(requestParameters: GetWeatherRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Weather>>>;
|
|
453
510
|
/**
|
|
454
511
|
* Get weather
|
|
455
512
|
*/
|
|
456
|
-
getWeather(requestParameters?: GetWeatherRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Weather
|
|
513
|
+
getWeather(requestParameters?: GetWeatherRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Weather>>;
|
|
514
|
+
/**
|
|
515
|
+
* Creates request options for getWebcamHistory without sending the request
|
|
516
|
+
*/
|
|
517
|
+
getWebcamHistoryRequestOpts(requestParameters: GetWebcamHistoryRequest): Promise<runtime.RequestOpts>;
|
|
518
|
+
/**
|
|
519
|
+
* Get webcam history
|
|
520
|
+
*/
|
|
521
|
+
getWebcamHistoryRaw(requestParameters: GetWebcamHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebcamHistoryResponse>>;
|
|
522
|
+
/**
|
|
523
|
+
* Get webcam history
|
|
524
|
+
*/
|
|
525
|
+
getWebcamHistory(requestParameters: GetWebcamHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebcamHistoryResponse>;
|
|
526
|
+
/**
|
|
527
|
+
* Creates request options for getWebcams without sending the request
|
|
528
|
+
*/
|
|
529
|
+
getWebcamsRequestOpts(requestParameters: GetWebcamsRequest): Promise<runtime.RequestOpts>;
|
|
530
|
+
/**
|
|
531
|
+
* Get webcams
|
|
532
|
+
*/
|
|
533
|
+
getWebcamsRaw(requestParameters: GetWebcamsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Webcam>>>;
|
|
534
|
+
/**
|
|
535
|
+
* Get webcams
|
|
536
|
+
*/
|
|
537
|
+
getWebcams(requestParameters?: GetWebcamsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Webcam>>;
|
|
457
538
|
}
|
|
@@ -33,6 +33,8 @@ import { SummerTrailFromJSON, } from '../models/SummerTrail';
|
|
|
33
33
|
import { TerrainParkFromJSON, } from '../models/TerrainPark';
|
|
34
34
|
import { TrailMapSummaryFromJSON, } from '../models/TrailMapSummary';
|
|
35
35
|
import { WeatherFromJSON, } from '../models/Weather';
|
|
36
|
+
import { WebcamFromJSON, } from '../models/Webcam';
|
|
37
|
+
import { WebcamHistoryResponseFromJSON, } from '../models/WebcamHistoryResponse';
|
|
36
38
|
/**
|
|
37
39
|
*
|
|
38
40
|
*/
|
|
@@ -481,7 +483,7 @@ export class MtnManagerApi extends runtime.BaseAPI {
|
|
|
481
483
|
return __awaiter(this, void 0, void 0, function* () {
|
|
482
484
|
const requestOptions = yield this.getWeatherRequestOpts(requestParameters);
|
|
483
485
|
const response = yield this.request(requestOptions, initOverrides);
|
|
484
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => WeatherFromJSON
|
|
486
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(WeatherFromJSON));
|
|
485
487
|
});
|
|
486
488
|
}
|
|
487
489
|
/**
|
|
@@ -493,4 +495,90 @@ export class MtnManagerApi extends runtime.BaseAPI {
|
|
|
493
495
|
return yield response.value();
|
|
494
496
|
});
|
|
495
497
|
}
|
|
498
|
+
/**
|
|
499
|
+
* Creates request options for getWebcamHistory without sending the request
|
|
500
|
+
*/
|
|
501
|
+
getWebcamHistoryRequestOpts(requestParameters) {
|
|
502
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
503
|
+
if (requestParameters['uuid'] == null) {
|
|
504
|
+
throw new runtime.RequiredError('uuid', 'Required parameter "uuid" was null or undefined when calling getWebcamHistory().');
|
|
505
|
+
}
|
|
506
|
+
const queryParameters = {};
|
|
507
|
+
if (requestParameters['from'] != null) {
|
|
508
|
+
queryParameters['from'] = requestParameters['from'];
|
|
509
|
+
}
|
|
510
|
+
if (requestParameters['to'] != null) {
|
|
511
|
+
queryParameters['to'] = requestParameters['to'];
|
|
512
|
+
}
|
|
513
|
+
const headerParameters = {};
|
|
514
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
515
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
516
|
+
}
|
|
517
|
+
let urlPath = `/api/v1/report/webcam/{uuid}/history`;
|
|
518
|
+
urlPath = urlPath.replace('{uuid}', encodeURIComponent(String(requestParameters['uuid'])));
|
|
519
|
+
return {
|
|
520
|
+
path: urlPath,
|
|
521
|
+
method: 'GET',
|
|
522
|
+
headers: headerParameters,
|
|
523
|
+
query: queryParameters,
|
|
524
|
+
};
|
|
525
|
+
});
|
|
526
|
+
}
|
|
527
|
+
/**
|
|
528
|
+
* Get webcam history
|
|
529
|
+
*/
|
|
530
|
+
getWebcamHistoryRaw(requestParameters, initOverrides) {
|
|
531
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
532
|
+
const requestOptions = yield this.getWebcamHistoryRequestOpts(requestParameters);
|
|
533
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
534
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => WebcamHistoryResponseFromJSON(jsonValue));
|
|
535
|
+
});
|
|
536
|
+
}
|
|
537
|
+
/**
|
|
538
|
+
* Get webcam history
|
|
539
|
+
*/
|
|
540
|
+
getWebcamHistory(requestParameters, initOverrides) {
|
|
541
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
542
|
+
const response = yield this.getWebcamHistoryRaw(requestParameters, initOverrides);
|
|
543
|
+
return yield response.value();
|
|
544
|
+
});
|
|
545
|
+
}
|
|
546
|
+
/**
|
|
547
|
+
* Creates request options for getWebcams without sending the request
|
|
548
|
+
*/
|
|
549
|
+
getWebcamsRequestOpts(requestParameters) {
|
|
550
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
551
|
+
const queryParameters = {};
|
|
552
|
+
const headerParameters = {};
|
|
553
|
+
if (requestParameters['acceptLanguage'] != null) {
|
|
554
|
+
headerParameters['Accept-Language'] = String(requestParameters['acceptLanguage']);
|
|
555
|
+
}
|
|
556
|
+
let urlPath = `/api/v1/report/webcams`;
|
|
557
|
+
return {
|
|
558
|
+
path: urlPath,
|
|
559
|
+
method: 'GET',
|
|
560
|
+
headers: headerParameters,
|
|
561
|
+
query: queryParameters,
|
|
562
|
+
};
|
|
563
|
+
});
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* Get webcams
|
|
567
|
+
*/
|
|
568
|
+
getWebcamsRaw(requestParameters, initOverrides) {
|
|
569
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
570
|
+
const requestOptions = yield this.getWebcamsRequestOpts(requestParameters);
|
|
571
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
572
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(WebcamFromJSON));
|
|
573
|
+
});
|
|
574
|
+
}
|
|
575
|
+
/**
|
|
576
|
+
* Get webcams
|
|
577
|
+
*/
|
|
578
|
+
getWebcams() {
|
|
579
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
580
|
+
const response = yield this.getWebcamsRaw(requestParameters, initOverrides);
|
|
581
|
+
return yield response.value();
|
|
582
|
+
});
|
|
583
|
+
}
|
|
496
584
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { AmenityCategory } from './AmenityCategory';
|
|
13
13
|
import type { Schedule } from './Schedule';
|
|
14
|
+
import type { EntityImage } from './EntityImage';
|
|
14
15
|
/**
|
|
15
16
|
* Represents an amenity at the resort (e.g. lodge, restaurant, ski school)
|
|
16
17
|
* with its category, description, website, and hours.
|
|
@@ -48,6 +49,13 @@ export interface Amenity {
|
|
|
48
49
|
* @memberof Amenity
|
|
49
50
|
*/
|
|
50
51
|
website: string;
|
|
52
|
+
/**
|
|
53
|
+
* Whether this amenity reports operating hours. When false, clients should
|
|
54
|
+
* not expect `opens_at`, `closes_at`, or `schedules` to ever be populated.
|
|
55
|
+
* @type {boolean}
|
|
56
|
+
* @memberof Amenity
|
|
57
|
+
*/
|
|
58
|
+
hasOperatingHours: boolean;
|
|
51
59
|
/**
|
|
52
60
|
* Today's scheduled opening time in 24-hour format (HH:MM), in resort's local timezone.
|
|
53
61
|
* @type {string}
|
|
@@ -67,6 +75,13 @@ export interface Amenity {
|
|
|
67
75
|
* @memberof Amenity
|
|
68
76
|
*/
|
|
69
77
|
schedules: Array<Schedule>;
|
|
78
|
+
/**
|
|
79
|
+
* Images attached to this amenity, ordered for display. Each includes a
|
|
80
|
+
* ThumbHash for rendering a blurred placeholder while the image loads.
|
|
81
|
+
* @type {Array<EntityImage>}
|
|
82
|
+
* @memberof Amenity
|
|
83
|
+
*/
|
|
84
|
+
images?: Array<EntityImage>;
|
|
70
85
|
}
|
|
71
86
|
/**
|
|
72
87
|
* Check if a given object implements the Amenity interface.
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { AmenityCategoryFromJSON, AmenityCategoryToJSON, } from './AmenityCategory';
|
|
15
15
|
import { ScheduleFromJSON, ScheduleToJSON, } from './Schedule';
|
|
16
|
+
import { EntityImageFromJSON, EntityImageToJSON, } from './EntityImage';
|
|
16
17
|
/**
|
|
17
18
|
* Check if a given object implements the Amenity interface.
|
|
18
19
|
*/
|
|
@@ -27,6 +28,8 @@ export function instanceOfAmenity(value) {
|
|
|
27
28
|
return false;
|
|
28
29
|
if (!('website' in value) || value['website'] === undefined)
|
|
29
30
|
return false;
|
|
31
|
+
if ((!('hasOperatingHours' in value) && !('has_operating_hours' in value)) || (value['hasOperatingHours'] === undefined && value['has_operating_hours'] === undefined))
|
|
32
|
+
return false;
|
|
30
33
|
if (!('schedules' in value) || value['schedules'] === undefined)
|
|
31
34
|
return false;
|
|
32
35
|
return true;
|
|
@@ -44,9 +47,11 @@ export function AmenityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
47
|
'name': json['name'],
|
|
45
48
|
'category': AmenityCategoryFromJSON(json['category']),
|
|
46
49
|
'website': json['website'],
|
|
50
|
+
'hasOperatingHours': json['has_operating_hours'],
|
|
47
51
|
'opensAt': json['opens_at'] == null ? undefined : json['opens_at'],
|
|
48
52
|
'closesAt': json['closes_at'] == null ? undefined : json['closes_at'],
|
|
49
53
|
'schedules': (json['schedules'].map(ScheduleFromJSON)),
|
|
54
|
+
'images': json['images'] == null ? undefined : (json['images'].map(EntityImageFromJSON)),
|
|
50
55
|
};
|
|
51
56
|
}
|
|
52
57
|
export function AmenityToJSON(json) {
|
|
@@ -62,8 +67,10 @@ export function AmenityToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
62
67
|
'name': value['name'],
|
|
63
68
|
'category': AmenityCategoryToJSON(value['category']),
|
|
64
69
|
'website': value['website'],
|
|
70
|
+
'has_operating_hours': value['hasOperatingHours'],
|
|
65
71
|
'opens_at': value['opensAt'],
|
|
66
72
|
'closes_at': value['closesAt'],
|
|
67
73
|
'schedules': (value['schedules'].map(ScheduleToJSON)),
|
|
74
|
+
'images': value['images'] == null ? undefined : (value['images'].map(EntityImageToJSON)),
|
|
68
75
|
};
|
|
69
76
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 single image attached to a resort entity, with a client-supplied ThumbHash
|
|
14
|
+
* for rendering a blurred placeholder while the full image loads.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface EntityImage
|
|
17
|
+
*/
|
|
18
|
+
export interface EntityImage {
|
|
19
|
+
/**
|
|
20
|
+
* Full public URL to the image.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof EntityImage
|
|
23
|
+
*/
|
|
24
|
+
url: string;
|
|
25
|
+
/**
|
|
26
|
+
* Base64-encoded ThumbHash for placeholder rendering.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof EntityImage
|
|
29
|
+
*/
|
|
30
|
+
thumbHash: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the EntityImage interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfEntityImage(value: object): value is EntityImage;
|
|
36
|
+
export declare function EntityImageFromJSON(json: any): EntityImage;
|
|
37
|
+
export declare function EntityImageFromJSONTyped(json: any, ignoreDiscriminator: boolean): EntityImage;
|
|
38
|
+
export declare function EntityImageToJSON(json: any): EntityImage;
|
|
39
|
+
export declare function EntityImageToJSONTyped(value?: EntityImage | null, ignoreDiscriminator?: boolean): any;
|