ob-bms-sdk 0.0.86 → 0.0.88
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/api/api.ts +255 -9
- package/dist/api/api.d.ts +248 -6
- package/dist/api/api.js +14 -7
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -415,6 +415,207 @@ export interface ACZoneData {
|
|
|
415
415
|
*/
|
|
416
416
|
'updated_at': string;
|
|
417
417
|
}
|
|
418
|
+
/**
|
|
419
|
+
*
|
|
420
|
+
* @export
|
|
421
|
+
* @interface AirQualityIndex
|
|
422
|
+
*/
|
|
423
|
+
export interface AirQualityIndex {
|
|
424
|
+
/**
|
|
425
|
+
*
|
|
426
|
+
* @type {Array<AirQualityIndexIndicator>}
|
|
427
|
+
* @memberof AirQualityIndex
|
|
428
|
+
*/
|
|
429
|
+
'air_quality_index_indicator': Array<AirQualityIndexIndicator>;
|
|
430
|
+
/**
|
|
431
|
+
*
|
|
432
|
+
* @type {string}
|
|
433
|
+
* @memberof AirQualityIndex
|
|
434
|
+
*/
|
|
435
|
+
'updated_at': string;
|
|
436
|
+
/**
|
|
437
|
+
*
|
|
438
|
+
* @type {string}
|
|
439
|
+
* @memberof AirQualityIndex
|
|
440
|
+
*/
|
|
441
|
+
'created_at': string;
|
|
442
|
+
/**
|
|
443
|
+
*
|
|
444
|
+
* @type {number}
|
|
445
|
+
* @memberof AirQualityIndex
|
|
446
|
+
*/
|
|
447
|
+
'sequence': number;
|
|
448
|
+
/**
|
|
449
|
+
* Construct a type with a set of properties K of type T
|
|
450
|
+
* @type {object}
|
|
451
|
+
* @memberof AirQualityIndex
|
|
452
|
+
*/
|
|
453
|
+
'description': object;
|
|
454
|
+
/**
|
|
455
|
+
* Construct a type with a set of properties K of type T
|
|
456
|
+
* @type {object}
|
|
457
|
+
* @memberof AirQualityIndex
|
|
458
|
+
*/
|
|
459
|
+
'short_description': object;
|
|
460
|
+
/**
|
|
461
|
+
* Construct a type with a set of properties K of type T
|
|
462
|
+
* @type {object}
|
|
463
|
+
* @memberof AirQualityIndex
|
|
464
|
+
*/
|
|
465
|
+
'display_name': object;
|
|
466
|
+
/**
|
|
467
|
+
*
|
|
468
|
+
* @type {string}
|
|
469
|
+
* @memberof AirQualityIndex
|
|
470
|
+
*/
|
|
471
|
+
'name': string;
|
|
472
|
+
/**
|
|
473
|
+
*
|
|
474
|
+
* @type {string}
|
|
475
|
+
* @memberof AirQualityIndex
|
|
476
|
+
*/
|
|
477
|
+
'id': string;
|
|
478
|
+
}
|
|
479
|
+
/**
|
|
480
|
+
*
|
|
481
|
+
* @export
|
|
482
|
+
* @interface AirQualityIndexIndicator
|
|
483
|
+
*/
|
|
484
|
+
export interface AirQualityIndexIndicator {
|
|
485
|
+
/**
|
|
486
|
+
*
|
|
487
|
+
* @type {Array<AirQualityIndexIndicatorRange>}
|
|
488
|
+
* @memberof AirQualityIndexIndicator
|
|
489
|
+
*/
|
|
490
|
+
'air_quality_index_indicator_range': Array<AirQualityIndexIndicatorRange>;
|
|
491
|
+
/**
|
|
492
|
+
*
|
|
493
|
+
* @type {AirQualityIndex}
|
|
494
|
+
* @memberof AirQualityIndexIndicator
|
|
495
|
+
*/
|
|
496
|
+
'air_quality_index': AirQualityIndex;
|
|
497
|
+
/**
|
|
498
|
+
*
|
|
499
|
+
* @type {string}
|
|
500
|
+
* @memberof AirQualityIndexIndicator
|
|
501
|
+
*/
|
|
502
|
+
'updated_at': string;
|
|
503
|
+
/**
|
|
504
|
+
*
|
|
505
|
+
* @type {string}
|
|
506
|
+
* @memberof AirQualityIndexIndicator
|
|
507
|
+
*/
|
|
508
|
+
'created_at': string;
|
|
509
|
+
/**
|
|
510
|
+
*
|
|
511
|
+
* @type {string}
|
|
512
|
+
* @memberof AirQualityIndexIndicator
|
|
513
|
+
*/
|
|
514
|
+
'color_code': string;
|
|
515
|
+
/**
|
|
516
|
+
*
|
|
517
|
+
* @type {number}
|
|
518
|
+
* @memberof AirQualityIndexIndicator
|
|
519
|
+
*/
|
|
520
|
+
'sequence': number;
|
|
521
|
+
/**
|
|
522
|
+
* Construct a type with a set of properties K of type T
|
|
523
|
+
* @type {object}
|
|
524
|
+
* @memberof AirQualityIndexIndicator
|
|
525
|
+
*/
|
|
526
|
+
'description': object;
|
|
527
|
+
/**
|
|
528
|
+
* Construct a type with a set of properties K of type T
|
|
529
|
+
* @type {object}
|
|
530
|
+
* @memberof AirQualityIndexIndicator
|
|
531
|
+
*/
|
|
532
|
+
'title': object;
|
|
533
|
+
/**
|
|
534
|
+
*
|
|
535
|
+
* @type {string}
|
|
536
|
+
* @memberof AirQualityIndexIndicator
|
|
537
|
+
*/
|
|
538
|
+
'air_quality_index_id': string;
|
|
539
|
+
/**
|
|
540
|
+
*
|
|
541
|
+
* @type {string}
|
|
542
|
+
* @memberof AirQualityIndexIndicator
|
|
543
|
+
*/
|
|
544
|
+
'id': string;
|
|
545
|
+
}
|
|
546
|
+
/**
|
|
547
|
+
*
|
|
548
|
+
* @export
|
|
549
|
+
* @interface AirQualityIndexIndicatorRange
|
|
550
|
+
*/
|
|
551
|
+
export interface AirQualityIndexIndicatorRange {
|
|
552
|
+
/**
|
|
553
|
+
*
|
|
554
|
+
* @type {AirQualityIndexIndicator}
|
|
555
|
+
* @memberof AirQualityIndexIndicatorRange
|
|
556
|
+
*/
|
|
557
|
+
'air_quality_index_indicator': AirQualityIndexIndicator;
|
|
558
|
+
/**
|
|
559
|
+
*
|
|
560
|
+
* @type {string}
|
|
561
|
+
* @memberof AirQualityIndexIndicatorRange
|
|
562
|
+
*/
|
|
563
|
+
'updated_at': string;
|
|
564
|
+
/**
|
|
565
|
+
*
|
|
566
|
+
* @type {string}
|
|
567
|
+
* @memberof AirQualityIndexIndicatorRange
|
|
568
|
+
*/
|
|
569
|
+
'created_at': string;
|
|
570
|
+
/**
|
|
571
|
+
*
|
|
572
|
+
* @type {number}
|
|
573
|
+
* @memberof AirQualityIndexIndicatorRange
|
|
574
|
+
*/
|
|
575
|
+
'sequence': number;
|
|
576
|
+
/**
|
|
577
|
+
*
|
|
578
|
+
* @type {string}
|
|
579
|
+
* @memberof AirQualityIndexIndicatorRange
|
|
580
|
+
*/
|
|
581
|
+
'max_display': string;
|
|
582
|
+
/**
|
|
583
|
+
*
|
|
584
|
+
* @type {string}
|
|
585
|
+
* @memberof AirQualityIndexIndicatorRange
|
|
586
|
+
*/
|
|
587
|
+
'min_display': string;
|
|
588
|
+
/**
|
|
589
|
+
*
|
|
590
|
+
* @type {number}
|
|
591
|
+
* @memberof AirQualityIndexIndicatorRange
|
|
592
|
+
*/
|
|
593
|
+
'max_value': number | null;
|
|
594
|
+
/**
|
|
595
|
+
*
|
|
596
|
+
* @type {number}
|
|
597
|
+
* @memberof AirQualityIndexIndicatorRange
|
|
598
|
+
*/
|
|
599
|
+
'min_value': number | null;
|
|
600
|
+
/**
|
|
601
|
+
* Construct a type with a set of properties K of type T
|
|
602
|
+
* @type {object}
|
|
603
|
+
* @memberof AirQualityIndexIndicatorRange
|
|
604
|
+
*/
|
|
605
|
+
'title': object;
|
|
606
|
+
/**
|
|
607
|
+
*
|
|
608
|
+
* @type {string}
|
|
609
|
+
* @memberof AirQualityIndexIndicatorRange
|
|
610
|
+
*/
|
|
611
|
+
'air_quality_index_indicator_id': string;
|
|
612
|
+
/**
|
|
613
|
+
*
|
|
614
|
+
* @type {string}
|
|
615
|
+
* @memberof AirQualityIndexIndicatorRange
|
|
616
|
+
*/
|
|
617
|
+
'id': string;
|
|
618
|
+
}
|
|
418
619
|
/**
|
|
419
620
|
*
|
|
420
621
|
* @export
|
|
@@ -1677,6 +1878,12 @@ export type ParkingTicketsIndexQueryTypeEnum = typeof ParkingTicketsIndexQueryTy
|
|
|
1677
1878
|
* @interface ParkingTicketsRedeemBody
|
|
1678
1879
|
*/
|
|
1679
1880
|
export interface ParkingTicketsRedeemBody {
|
|
1881
|
+
/**
|
|
1882
|
+
*
|
|
1883
|
+
* @type {string}
|
|
1884
|
+
* @memberof ParkingTicketsRedeemBody
|
|
1885
|
+
*/
|
|
1886
|
+
'remark': string;
|
|
1680
1887
|
/**
|
|
1681
1888
|
*
|
|
1682
1889
|
* @type {string}
|
|
@@ -2105,9 +2312,40 @@ export interface SensorData {
|
|
|
2105
2312
|
* @memberof SensorData
|
|
2106
2313
|
*/
|
|
2107
2314
|
'updated_at': string;
|
|
2315
|
+
/**
|
|
2316
|
+
*
|
|
2317
|
+
* @type {string}
|
|
2318
|
+
* @memberof SensorData
|
|
2319
|
+
*/
|
|
2320
|
+
'indicator': string;
|
|
2321
|
+
/**
|
|
2322
|
+
*
|
|
2323
|
+
* @type {string}
|
|
2324
|
+
* @memberof SensorData
|
|
2325
|
+
*/
|
|
2326
|
+
'color_code': string;
|
|
2108
2327
|
}
|
|
2109
2328
|
|
|
2110
2329
|
|
|
2330
|
+
/**
|
|
2331
|
+
*
|
|
2332
|
+
* @export
|
|
2333
|
+
* @interface SensorIndicatorData
|
|
2334
|
+
*/
|
|
2335
|
+
export interface SensorIndicatorData {
|
|
2336
|
+
/**
|
|
2337
|
+
*
|
|
2338
|
+
* @type {Array<AirQualityIndex>}
|
|
2339
|
+
* @memberof SensorIndicatorData
|
|
2340
|
+
*/
|
|
2341
|
+
'indicator': Array<AirQualityIndex>;
|
|
2342
|
+
/**
|
|
2343
|
+
*
|
|
2344
|
+
* @type {Array<FloorSensorData>}
|
|
2345
|
+
* @memberof SensorIndicatorData
|
|
2346
|
+
*/
|
|
2347
|
+
'floors': Array<FloorSensorData>;
|
|
2348
|
+
}
|
|
2111
2349
|
/**
|
|
2112
2350
|
*
|
|
2113
2351
|
* @export
|
|
@@ -3475,10 +3713,10 @@ export interface WrappedArrayResponseIssueTypeData {
|
|
|
3475
3713
|
export interface WrappedArrayResponseSensorsIndexResponseData {
|
|
3476
3714
|
/**
|
|
3477
3715
|
*
|
|
3478
|
-
* @type {Array<
|
|
3716
|
+
* @type {Array<SensorIndicatorData>}
|
|
3479
3717
|
* @memberof WrappedArrayResponseSensorsIndexResponseData
|
|
3480
3718
|
*/
|
|
3481
|
-
'data': Array<
|
|
3719
|
+
'data': Array<SensorIndicatorData>;
|
|
3482
3720
|
}
|
|
3483
3721
|
/**
|
|
3484
3722
|
*
|
|
@@ -5247,11 +5485,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5247
5485
|
/**
|
|
5248
5486
|
*
|
|
5249
5487
|
* @param {string} towerId
|
|
5488
|
+
* @param {string} [acceptLanguage]
|
|
5250
5489
|
* @param {string} [memberId]
|
|
5251
5490
|
* @param {*} [options] Override http request option.
|
|
5252
5491
|
* @throws {RequiredError}
|
|
5253
5492
|
*/
|
|
5254
|
-
sensorsIndex: async (towerId: string, memberId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5493
|
+
sensorsIndex: async (towerId: string, acceptLanguage?: string, memberId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5255
5494
|
// verify required parameter 'towerId' is not null or undefined
|
|
5256
5495
|
assertParamExists('sensorsIndex', 'towerId', towerId)
|
|
5257
5496
|
const localVarPath = `/sensors`;
|
|
@@ -5274,6 +5513,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5274
5513
|
localVarQueryParameter['member_id'] = memberId;
|
|
5275
5514
|
}
|
|
5276
5515
|
|
|
5516
|
+
if (acceptLanguage != null) {
|
|
5517
|
+
localVarHeaderParameter['accept-language'] = String(acceptLanguage);
|
|
5518
|
+
}
|
|
5519
|
+
|
|
5277
5520
|
|
|
5278
5521
|
|
|
5279
5522
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -6010,12 +6253,13 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
6010
6253
|
/**
|
|
6011
6254
|
*
|
|
6012
6255
|
* @param {string} towerId
|
|
6256
|
+
* @param {string} [acceptLanguage]
|
|
6013
6257
|
* @param {string} [memberId]
|
|
6014
6258
|
* @param {*} [options] Override http request option.
|
|
6015
6259
|
* @throws {RequiredError}
|
|
6016
6260
|
*/
|
|
6017
|
-
async sensorsIndex(towerId: string, memberId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>> {
|
|
6018
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.sensorsIndex(towerId, memberId, options);
|
|
6261
|
+
async sensorsIndex(towerId: string, acceptLanguage?: string, memberId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>> {
|
|
6262
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sensorsIndex(towerId, acceptLanguage, memberId, options);
|
|
6019
6263
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6020
6264
|
},
|
|
6021
6265
|
/**
|
|
@@ -6409,12 +6653,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
6409
6653
|
/**
|
|
6410
6654
|
*
|
|
6411
6655
|
* @param {string} towerId
|
|
6656
|
+
* @param {string} [acceptLanguage]
|
|
6412
6657
|
* @param {string} [memberId]
|
|
6413
6658
|
* @param {*} [options] Override http request option.
|
|
6414
6659
|
* @throws {RequiredError}
|
|
6415
6660
|
*/
|
|
6416
|
-
sensorsIndex(towerId: string, memberId?: string, options?: any): AxiosPromise<WrappedArrayResponseSensorsIndexResponseData> {
|
|
6417
|
-
return localVarFp.sensorsIndex(towerId, memberId, options).then((request) => request(axios, basePath));
|
|
6661
|
+
sensorsIndex(towerId: string, acceptLanguage?: string, memberId?: string, options?: any): AxiosPromise<WrappedArrayResponseSensorsIndexResponseData> {
|
|
6662
|
+
return localVarFp.sensorsIndex(towerId, acceptLanguage, memberId, options).then((request) => request(axios, basePath));
|
|
6418
6663
|
},
|
|
6419
6664
|
/**
|
|
6420
6665
|
*
|
|
@@ -6847,13 +7092,14 @@ export class DefaultApi extends BaseAPI {
|
|
|
6847
7092
|
/**
|
|
6848
7093
|
*
|
|
6849
7094
|
* @param {string} towerId
|
|
7095
|
+
* @param {string} [acceptLanguage]
|
|
6850
7096
|
* @param {string} [memberId]
|
|
6851
7097
|
* @param {*} [options] Override http request option.
|
|
6852
7098
|
* @throws {RequiredError}
|
|
6853
7099
|
* @memberof DefaultApi
|
|
6854
7100
|
*/
|
|
6855
|
-
public sensorsIndex(towerId: string, memberId?: string, options?: AxiosRequestConfig) {
|
|
6856
|
-
return DefaultApiFp(this.configuration).sensorsIndex(towerId, memberId, options).then((request) => request(this.axios, this.basePath));
|
|
7101
|
+
public sensorsIndex(towerId: string, acceptLanguage?: string, memberId?: string, options?: AxiosRequestConfig) {
|
|
7102
|
+
return DefaultApiFp(this.configuration).sensorsIndex(towerId, acceptLanguage, memberId, options).then((request) => request(this.axios, this.basePath));
|
|
6857
7103
|
}
|
|
6858
7104
|
|
|
6859
7105
|
/**
|
package/dist/api/api.d.ts
CHANGED
|
@@ -391,6 +391,207 @@ export interface ACZoneData {
|
|
|
391
391
|
*/
|
|
392
392
|
'updated_at': string;
|
|
393
393
|
}
|
|
394
|
+
/**
|
|
395
|
+
*
|
|
396
|
+
* @export
|
|
397
|
+
* @interface AirQualityIndex
|
|
398
|
+
*/
|
|
399
|
+
export interface AirQualityIndex {
|
|
400
|
+
/**
|
|
401
|
+
*
|
|
402
|
+
* @type {Array<AirQualityIndexIndicator>}
|
|
403
|
+
* @memberof AirQualityIndex
|
|
404
|
+
*/
|
|
405
|
+
'air_quality_index_indicator': Array<AirQualityIndexIndicator>;
|
|
406
|
+
/**
|
|
407
|
+
*
|
|
408
|
+
* @type {string}
|
|
409
|
+
* @memberof AirQualityIndex
|
|
410
|
+
*/
|
|
411
|
+
'updated_at': string;
|
|
412
|
+
/**
|
|
413
|
+
*
|
|
414
|
+
* @type {string}
|
|
415
|
+
* @memberof AirQualityIndex
|
|
416
|
+
*/
|
|
417
|
+
'created_at': string;
|
|
418
|
+
/**
|
|
419
|
+
*
|
|
420
|
+
* @type {number}
|
|
421
|
+
* @memberof AirQualityIndex
|
|
422
|
+
*/
|
|
423
|
+
'sequence': number;
|
|
424
|
+
/**
|
|
425
|
+
* Construct a type with a set of properties K of type T
|
|
426
|
+
* @type {object}
|
|
427
|
+
* @memberof AirQualityIndex
|
|
428
|
+
*/
|
|
429
|
+
'description': object;
|
|
430
|
+
/**
|
|
431
|
+
* Construct a type with a set of properties K of type T
|
|
432
|
+
* @type {object}
|
|
433
|
+
* @memberof AirQualityIndex
|
|
434
|
+
*/
|
|
435
|
+
'short_description': object;
|
|
436
|
+
/**
|
|
437
|
+
* Construct a type with a set of properties K of type T
|
|
438
|
+
* @type {object}
|
|
439
|
+
* @memberof AirQualityIndex
|
|
440
|
+
*/
|
|
441
|
+
'display_name': object;
|
|
442
|
+
/**
|
|
443
|
+
*
|
|
444
|
+
* @type {string}
|
|
445
|
+
* @memberof AirQualityIndex
|
|
446
|
+
*/
|
|
447
|
+
'name': string;
|
|
448
|
+
/**
|
|
449
|
+
*
|
|
450
|
+
* @type {string}
|
|
451
|
+
* @memberof AirQualityIndex
|
|
452
|
+
*/
|
|
453
|
+
'id': string;
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
*
|
|
457
|
+
* @export
|
|
458
|
+
* @interface AirQualityIndexIndicator
|
|
459
|
+
*/
|
|
460
|
+
export interface AirQualityIndexIndicator {
|
|
461
|
+
/**
|
|
462
|
+
*
|
|
463
|
+
* @type {Array<AirQualityIndexIndicatorRange>}
|
|
464
|
+
* @memberof AirQualityIndexIndicator
|
|
465
|
+
*/
|
|
466
|
+
'air_quality_index_indicator_range': Array<AirQualityIndexIndicatorRange>;
|
|
467
|
+
/**
|
|
468
|
+
*
|
|
469
|
+
* @type {AirQualityIndex}
|
|
470
|
+
* @memberof AirQualityIndexIndicator
|
|
471
|
+
*/
|
|
472
|
+
'air_quality_index': AirQualityIndex;
|
|
473
|
+
/**
|
|
474
|
+
*
|
|
475
|
+
* @type {string}
|
|
476
|
+
* @memberof AirQualityIndexIndicator
|
|
477
|
+
*/
|
|
478
|
+
'updated_at': string;
|
|
479
|
+
/**
|
|
480
|
+
*
|
|
481
|
+
* @type {string}
|
|
482
|
+
* @memberof AirQualityIndexIndicator
|
|
483
|
+
*/
|
|
484
|
+
'created_at': string;
|
|
485
|
+
/**
|
|
486
|
+
*
|
|
487
|
+
* @type {string}
|
|
488
|
+
* @memberof AirQualityIndexIndicator
|
|
489
|
+
*/
|
|
490
|
+
'color_code': string;
|
|
491
|
+
/**
|
|
492
|
+
*
|
|
493
|
+
* @type {number}
|
|
494
|
+
* @memberof AirQualityIndexIndicator
|
|
495
|
+
*/
|
|
496
|
+
'sequence': number;
|
|
497
|
+
/**
|
|
498
|
+
* Construct a type with a set of properties K of type T
|
|
499
|
+
* @type {object}
|
|
500
|
+
* @memberof AirQualityIndexIndicator
|
|
501
|
+
*/
|
|
502
|
+
'description': object;
|
|
503
|
+
/**
|
|
504
|
+
* Construct a type with a set of properties K of type T
|
|
505
|
+
* @type {object}
|
|
506
|
+
* @memberof AirQualityIndexIndicator
|
|
507
|
+
*/
|
|
508
|
+
'title': object;
|
|
509
|
+
/**
|
|
510
|
+
*
|
|
511
|
+
* @type {string}
|
|
512
|
+
* @memberof AirQualityIndexIndicator
|
|
513
|
+
*/
|
|
514
|
+
'air_quality_index_id': string;
|
|
515
|
+
/**
|
|
516
|
+
*
|
|
517
|
+
* @type {string}
|
|
518
|
+
* @memberof AirQualityIndexIndicator
|
|
519
|
+
*/
|
|
520
|
+
'id': string;
|
|
521
|
+
}
|
|
522
|
+
/**
|
|
523
|
+
*
|
|
524
|
+
* @export
|
|
525
|
+
* @interface AirQualityIndexIndicatorRange
|
|
526
|
+
*/
|
|
527
|
+
export interface AirQualityIndexIndicatorRange {
|
|
528
|
+
/**
|
|
529
|
+
*
|
|
530
|
+
* @type {AirQualityIndexIndicator}
|
|
531
|
+
* @memberof AirQualityIndexIndicatorRange
|
|
532
|
+
*/
|
|
533
|
+
'air_quality_index_indicator': AirQualityIndexIndicator;
|
|
534
|
+
/**
|
|
535
|
+
*
|
|
536
|
+
* @type {string}
|
|
537
|
+
* @memberof AirQualityIndexIndicatorRange
|
|
538
|
+
*/
|
|
539
|
+
'updated_at': string;
|
|
540
|
+
/**
|
|
541
|
+
*
|
|
542
|
+
* @type {string}
|
|
543
|
+
* @memberof AirQualityIndexIndicatorRange
|
|
544
|
+
*/
|
|
545
|
+
'created_at': string;
|
|
546
|
+
/**
|
|
547
|
+
*
|
|
548
|
+
* @type {number}
|
|
549
|
+
* @memberof AirQualityIndexIndicatorRange
|
|
550
|
+
*/
|
|
551
|
+
'sequence': number;
|
|
552
|
+
/**
|
|
553
|
+
*
|
|
554
|
+
* @type {string}
|
|
555
|
+
* @memberof AirQualityIndexIndicatorRange
|
|
556
|
+
*/
|
|
557
|
+
'max_display': string;
|
|
558
|
+
/**
|
|
559
|
+
*
|
|
560
|
+
* @type {string}
|
|
561
|
+
* @memberof AirQualityIndexIndicatorRange
|
|
562
|
+
*/
|
|
563
|
+
'min_display': string;
|
|
564
|
+
/**
|
|
565
|
+
*
|
|
566
|
+
* @type {number}
|
|
567
|
+
* @memberof AirQualityIndexIndicatorRange
|
|
568
|
+
*/
|
|
569
|
+
'max_value': number | null;
|
|
570
|
+
/**
|
|
571
|
+
*
|
|
572
|
+
* @type {number}
|
|
573
|
+
* @memberof AirQualityIndexIndicatorRange
|
|
574
|
+
*/
|
|
575
|
+
'min_value': number | null;
|
|
576
|
+
/**
|
|
577
|
+
* Construct a type with a set of properties K of type T
|
|
578
|
+
* @type {object}
|
|
579
|
+
* @memberof AirQualityIndexIndicatorRange
|
|
580
|
+
*/
|
|
581
|
+
'title': object;
|
|
582
|
+
/**
|
|
583
|
+
*
|
|
584
|
+
* @type {string}
|
|
585
|
+
* @memberof AirQualityIndexIndicatorRange
|
|
586
|
+
*/
|
|
587
|
+
'air_quality_index_indicator_id': string;
|
|
588
|
+
/**
|
|
589
|
+
*
|
|
590
|
+
* @type {string}
|
|
591
|
+
* @memberof AirQualityIndexIndicatorRange
|
|
592
|
+
*/
|
|
593
|
+
'id': string;
|
|
594
|
+
}
|
|
394
595
|
/**
|
|
395
596
|
*
|
|
396
597
|
* @export
|
|
@@ -1658,6 +1859,12 @@ export type ParkingTicketsIndexQueryTypeEnum = typeof ParkingTicketsIndexQueryTy
|
|
|
1658
1859
|
* @interface ParkingTicketsRedeemBody
|
|
1659
1860
|
*/
|
|
1660
1861
|
export interface ParkingTicketsRedeemBody {
|
|
1862
|
+
/**
|
|
1863
|
+
*
|
|
1864
|
+
* @type {string}
|
|
1865
|
+
* @memberof ParkingTicketsRedeemBody
|
|
1866
|
+
*/
|
|
1867
|
+
'remark': string;
|
|
1661
1868
|
/**
|
|
1662
1869
|
*
|
|
1663
1870
|
* @type {string}
|
|
@@ -2080,6 +2287,37 @@ export interface SensorData {
|
|
|
2080
2287
|
* @memberof SensorData
|
|
2081
2288
|
*/
|
|
2082
2289
|
'updated_at': string;
|
|
2290
|
+
/**
|
|
2291
|
+
*
|
|
2292
|
+
* @type {string}
|
|
2293
|
+
* @memberof SensorData
|
|
2294
|
+
*/
|
|
2295
|
+
'indicator': string;
|
|
2296
|
+
/**
|
|
2297
|
+
*
|
|
2298
|
+
* @type {string}
|
|
2299
|
+
* @memberof SensorData
|
|
2300
|
+
*/
|
|
2301
|
+
'color_code': string;
|
|
2302
|
+
}
|
|
2303
|
+
/**
|
|
2304
|
+
*
|
|
2305
|
+
* @export
|
|
2306
|
+
* @interface SensorIndicatorData
|
|
2307
|
+
*/
|
|
2308
|
+
export interface SensorIndicatorData {
|
|
2309
|
+
/**
|
|
2310
|
+
*
|
|
2311
|
+
* @type {Array<AirQualityIndex>}
|
|
2312
|
+
* @memberof SensorIndicatorData
|
|
2313
|
+
*/
|
|
2314
|
+
'indicator': Array<AirQualityIndex>;
|
|
2315
|
+
/**
|
|
2316
|
+
*
|
|
2317
|
+
* @type {Array<FloorSensorData>}
|
|
2318
|
+
* @memberof SensorIndicatorData
|
|
2319
|
+
*/
|
|
2320
|
+
'floors': Array<FloorSensorData>;
|
|
2083
2321
|
}
|
|
2084
2322
|
/**
|
|
2085
2323
|
*
|
|
@@ -3427,10 +3665,10 @@ export interface WrappedArrayResponseIssueTypeData {
|
|
|
3427
3665
|
export interface WrappedArrayResponseSensorsIndexResponseData {
|
|
3428
3666
|
/**
|
|
3429
3667
|
*
|
|
3430
|
-
* @type {Array<
|
|
3668
|
+
* @type {Array<SensorIndicatorData>}
|
|
3431
3669
|
* @memberof WrappedArrayResponseSensorsIndexResponseData
|
|
3432
3670
|
*/
|
|
3433
|
-
'data': Array<
|
|
3671
|
+
'data': Array<SensorIndicatorData>;
|
|
3434
3672
|
}
|
|
3435
3673
|
/**
|
|
3436
3674
|
*
|
|
@@ -4407,11 +4645,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
4407
4645
|
/**
|
|
4408
4646
|
*
|
|
4409
4647
|
* @param {string} towerId
|
|
4648
|
+
* @param {string} [acceptLanguage]
|
|
4410
4649
|
* @param {string} [memberId]
|
|
4411
4650
|
* @param {*} [options] Override http request option.
|
|
4412
4651
|
* @throws {RequiredError}
|
|
4413
4652
|
*/
|
|
4414
|
-
sensorsIndex: (towerId: string, memberId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4653
|
+
sensorsIndex: (towerId: string, acceptLanguage?: string, memberId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4415
4654
|
/**
|
|
4416
4655
|
*
|
|
4417
4656
|
* @param {ServiceRequestBody} serviceRequestBody
|
|
@@ -4711,11 +4950,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
4711
4950
|
/**
|
|
4712
4951
|
*
|
|
4713
4952
|
* @param {string} towerId
|
|
4953
|
+
* @param {string} [acceptLanguage]
|
|
4714
4954
|
* @param {string} [memberId]
|
|
4715
4955
|
* @param {*} [options] Override http request option.
|
|
4716
4956
|
* @throws {RequiredError}
|
|
4717
4957
|
*/
|
|
4718
|
-
sensorsIndex(towerId: string, memberId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>>;
|
|
4958
|
+
sensorsIndex(towerId: string, acceptLanguage?: string, memberId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>>;
|
|
4719
4959
|
/**
|
|
4720
4960
|
*
|
|
4721
4961
|
* @param {ServiceRequestBody} serviceRequestBody
|
|
@@ -5015,11 +5255,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
5015
5255
|
/**
|
|
5016
5256
|
*
|
|
5017
5257
|
* @param {string} towerId
|
|
5258
|
+
* @param {string} [acceptLanguage]
|
|
5018
5259
|
* @param {string} [memberId]
|
|
5019
5260
|
* @param {*} [options] Override http request option.
|
|
5020
5261
|
* @throws {RequiredError}
|
|
5021
5262
|
*/
|
|
5022
|
-
sensorsIndex(towerId: string, memberId?: string, options?: any): AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>;
|
|
5263
|
+
sensorsIndex(towerId: string, acceptLanguage?: string, memberId?: string, options?: any): AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>;
|
|
5023
5264
|
/**
|
|
5024
5265
|
*
|
|
5025
5266
|
* @param {ServiceRequestBody} serviceRequestBody
|
|
@@ -5347,12 +5588,13 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
5347
5588
|
/**
|
|
5348
5589
|
*
|
|
5349
5590
|
* @param {string} towerId
|
|
5591
|
+
* @param {string} [acceptLanguage]
|
|
5350
5592
|
* @param {string} [memberId]
|
|
5351
5593
|
* @param {*} [options] Override http request option.
|
|
5352
5594
|
* @throws {RequiredError}
|
|
5353
5595
|
* @memberof DefaultApi
|
|
5354
5596
|
*/
|
|
5355
|
-
sensorsIndex(towerId: string, memberId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedArrayResponseSensorsIndexResponseData, any>>;
|
|
5597
|
+
sensorsIndex(towerId: string, acceptLanguage?: string, memberId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedArrayResponseSensorsIndexResponseData, any>>;
|
|
5356
5598
|
/**
|
|
5357
5599
|
*
|
|
5358
5600
|
* @param {ServiceRequestBody} serviceRequestBody
|
package/dist/api/api.js
CHANGED
|
@@ -952,11 +952,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
952
952
|
/**
|
|
953
953
|
*
|
|
954
954
|
* @param {string} towerId
|
|
955
|
+
* @param {string} [acceptLanguage]
|
|
955
956
|
* @param {string} [memberId]
|
|
956
957
|
* @param {*} [options] Override http request option.
|
|
957
958
|
* @throws {RequiredError}
|
|
958
959
|
*/
|
|
959
|
-
sensorsIndex: (towerId, memberId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
960
|
+
sensorsIndex: (towerId, acceptLanguage, memberId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
960
961
|
// verify required parameter 'towerId' is not null or undefined
|
|
961
962
|
(0, common_1.assertParamExists)('sensorsIndex', 'towerId', towerId);
|
|
962
963
|
const localVarPath = `/sensors`;
|
|
@@ -975,6 +976,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
975
976
|
if (memberId !== undefined) {
|
|
976
977
|
localVarQueryParameter['member_id'] = memberId;
|
|
977
978
|
}
|
|
979
|
+
if (acceptLanguage != null) {
|
|
980
|
+
localVarHeaderParameter['accept-language'] = String(acceptLanguage);
|
|
981
|
+
}
|
|
978
982
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
979
983
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
980
984
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1688,13 +1692,14 @@ const DefaultApiFp = function (configuration) {
|
|
|
1688
1692
|
/**
|
|
1689
1693
|
*
|
|
1690
1694
|
* @param {string} towerId
|
|
1695
|
+
* @param {string} [acceptLanguage]
|
|
1691
1696
|
* @param {string} [memberId]
|
|
1692
1697
|
* @param {*} [options] Override http request option.
|
|
1693
1698
|
* @throws {RequiredError}
|
|
1694
1699
|
*/
|
|
1695
|
-
sensorsIndex(towerId, memberId, options) {
|
|
1700
|
+
sensorsIndex(towerId, acceptLanguage, memberId, options) {
|
|
1696
1701
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1697
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.sensorsIndex(towerId, memberId, options);
|
|
1702
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.sensorsIndex(towerId, acceptLanguage, memberId, options);
|
|
1698
1703
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1699
1704
|
});
|
|
1700
1705
|
},
|
|
@@ -2113,12 +2118,13 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2113
2118
|
/**
|
|
2114
2119
|
*
|
|
2115
2120
|
* @param {string} towerId
|
|
2121
|
+
* @param {string} [acceptLanguage]
|
|
2116
2122
|
* @param {string} [memberId]
|
|
2117
2123
|
* @param {*} [options] Override http request option.
|
|
2118
2124
|
* @throws {RequiredError}
|
|
2119
2125
|
*/
|
|
2120
|
-
sensorsIndex(towerId, memberId, options) {
|
|
2121
|
-
return localVarFp.sensorsIndex(towerId, memberId, options).then((request) => request(axios, basePath));
|
|
2126
|
+
sensorsIndex(towerId, acceptLanguage, memberId, options) {
|
|
2127
|
+
return localVarFp.sensorsIndex(towerId, acceptLanguage, memberId, options).then((request) => request(axios, basePath));
|
|
2122
2128
|
},
|
|
2123
2129
|
/**
|
|
2124
2130
|
*
|
|
@@ -2525,13 +2531,14 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2525
2531
|
/**
|
|
2526
2532
|
*
|
|
2527
2533
|
* @param {string} towerId
|
|
2534
|
+
* @param {string} [acceptLanguage]
|
|
2528
2535
|
* @param {string} [memberId]
|
|
2529
2536
|
* @param {*} [options] Override http request option.
|
|
2530
2537
|
* @throws {RequiredError}
|
|
2531
2538
|
* @memberof DefaultApi
|
|
2532
2539
|
*/
|
|
2533
|
-
sensorsIndex(towerId, memberId, options) {
|
|
2534
|
-
return (0, exports.DefaultApiFp)(this.configuration).sensorsIndex(towerId, memberId, options).then((request) => request(this.axios, this.basePath));
|
|
2540
|
+
sensorsIndex(towerId, acceptLanguage, memberId, options) {
|
|
2541
|
+
return (0, exports.DefaultApiFp)(this.configuration).sensorsIndex(towerId, acceptLanguage, memberId, options).then((request) => request(this.axios, this.basePath));
|
|
2535
2542
|
}
|
|
2536
2543
|
/**
|
|
2537
2544
|
*
|