ob-bms-sdk 0.0.81 → 0.0.83
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 +262 -10
- package/dist/api/api.d.ts +255 -7
- 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
|
|
@@ -985,6 +1186,12 @@ export interface IssueTypeData {
|
|
|
985
1186
|
* @interface IssueTypeRequest
|
|
986
1187
|
*/
|
|
987
1188
|
export interface IssueTypeRequest {
|
|
1189
|
+
/**
|
|
1190
|
+
*
|
|
1191
|
+
* @type {string}
|
|
1192
|
+
* @memberof IssueTypeRequest
|
|
1193
|
+
*/
|
|
1194
|
+
'internal_remark'?: string;
|
|
988
1195
|
/**
|
|
989
1196
|
*
|
|
990
1197
|
* @type {object}
|
|
@@ -1292,7 +1499,7 @@ export interface MemberIndexInterface {
|
|
|
1292
1499
|
* @type {boolean}
|
|
1293
1500
|
* @memberof MemberIndexInterface
|
|
1294
1501
|
*/
|
|
1295
|
-
'
|
|
1502
|
+
'can_preregister'?: boolean;
|
|
1296
1503
|
}
|
|
1297
1504
|
/**
|
|
1298
1505
|
*
|
|
@@ -2080,9 +2287,40 @@ 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;
|
|
2083
2302
|
}
|
|
2084
2303
|
|
|
2085
2304
|
|
|
2305
|
+
/**
|
|
2306
|
+
*
|
|
2307
|
+
* @export
|
|
2308
|
+
* @interface SensorIndicatorData
|
|
2309
|
+
*/
|
|
2310
|
+
export interface SensorIndicatorData {
|
|
2311
|
+
/**
|
|
2312
|
+
*
|
|
2313
|
+
* @type {Array<AirQualityIndex>}
|
|
2314
|
+
* @memberof SensorIndicatorData
|
|
2315
|
+
*/
|
|
2316
|
+
'indicator': Array<AirQualityIndex>;
|
|
2317
|
+
/**
|
|
2318
|
+
*
|
|
2319
|
+
* @type {Array<FloorSensorData>}
|
|
2320
|
+
* @memberof SensorIndicatorData
|
|
2321
|
+
*/
|
|
2322
|
+
'floors': Array<FloorSensorData>;
|
|
2323
|
+
}
|
|
2086
2324
|
/**
|
|
2087
2325
|
*
|
|
2088
2326
|
* @export
|
|
@@ -2174,6 +2412,12 @@ export interface ServiceRequestBody {
|
|
|
2174
2412
|
* @interface ServiceRequestData
|
|
2175
2413
|
*/
|
|
2176
2414
|
export interface ServiceRequestData {
|
|
2415
|
+
/**
|
|
2416
|
+
*
|
|
2417
|
+
* @type {RequesterData}
|
|
2418
|
+
* @memberof ServiceRequestData
|
|
2419
|
+
*/
|
|
2420
|
+
'requester': RequesterData;
|
|
2177
2421
|
/**
|
|
2178
2422
|
*
|
|
2179
2423
|
* @type {string}
|
|
@@ -3438,10 +3682,10 @@ export interface WrappedArrayResponseIssueTypeData {
|
|
|
3438
3682
|
export interface WrappedArrayResponseSensorsIndexResponseData {
|
|
3439
3683
|
/**
|
|
3440
3684
|
*
|
|
3441
|
-
* @type {Array<
|
|
3685
|
+
* @type {Array<SensorIndicatorData>}
|
|
3442
3686
|
* @memberof WrappedArrayResponseSensorsIndexResponseData
|
|
3443
3687
|
*/
|
|
3444
|
-
'data': Array<
|
|
3688
|
+
'data': Array<SensorIndicatorData>;
|
|
3445
3689
|
}
|
|
3446
3690
|
/**
|
|
3447
3691
|
*
|
|
@@ -5210,11 +5454,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5210
5454
|
/**
|
|
5211
5455
|
*
|
|
5212
5456
|
* @param {string} towerId
|
|
5457
|
+
* @param {string} [acceptLanguage]
|
|
5213
5458
|
* @param {string} [memberId]
|
|
5214
5459
|
* @param {*} [options] Override http request option.
|
|
5215
5460
|
* @throws {RequiredError}
|
|
5216
5461
|
*/
|
|
5217
|
-
sensorsIndex: async (towerId: string, memberId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5462
|
+
sensorsIndex: async (towerId: string, acceptLanguage?: string, memberId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5218
5463
|
// verify required parameter 'towerId' is not null or undefined
|
|
5219
5464
|
assertParamExists('sensorsIndex', 'towerId', towerId)
|
|
5220
5465
|
const localVarPath = `/sensors`;
|
|
@@ -5237,6 +5482,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5237
5482
|
localVarQueryParameter['member_id'] = memberId;
|
|
5238
5483
|
}
|
|
5239
5484
|
|
|
5485
|
+
if (acceptLanguage != null) {
|
|
5486
|
+
localVarHeaderParameter['accept-language'] = String(acceptLanguage);
|
|
5487
|
+
}
|
|
5488
|
+
|
|
5240
5489
|
|
|
5241
5490
|
|
|
5242
5491
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -5973,12 +6222,13 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
5973
6222
|
/**
|
|
5974
6223
|
*
|
|
5975
6224
|
* @param {string} towerId
|
|
6225
|
+
* @param {string} [acceptLanguage]
|
|
5976
6226
|
* @param {string} [memberId]
|
|
5977
6227
|
* @param {*} [options] Override http request option.
|
|
5978
6228
|
* @throws {RequiredError}
|
|
5979
6229
|
*/
|
|
5980
|
-
async sensorsIndex(towerId: string, memberId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>> {
|
|
5981
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.sensorsIndex(towerId, memberId, options);
|
|
6230
|
+
async sensorsIndex(towerId: string, acceptLanguage?: string, memberId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>> {
|
|
6231
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sensorsIndex(towerId, acceptLanguage, memberId, options);
|
|
5982
6232
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5983
6233
|
},
|
|
5984
6234
|
/**
|
|
@@ -6372,12 +6622,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
6372
6622
|
/**
|
|
6373
6623
|
*
|
|
6374
6624
|
* @param {string} towerId
|
|
6625
|
+
* @param {string} [acceptLanguage]
|
|
6375
6626
|
* @param {string} [memberId]
|
|
6376
6627
|
* @param {*} [options] Override http request option.
|
|
6377
6628
|
* @throws {RequiredError}
|
|
6378
6629
|
*/
|
|
6379
|
-
sensorsIndex(towerId: string, memberId?: string, options?: any): AxiosPromise<WrappedArrayResponseSensorsIndexResponseData> {
|
|
6380
|
-
return localVarFp.sensorsIndex(towerId, memberId, options).then((request) => request(axios, basePath));
|
|
6630
|
+
sensorsIndex(towerId: string, acceptLanguage?: string, memberId?: string, options?: any): AxiosPromise<WrappedArrayResponseSensorsIndexResponseData> {
|
|
6631
|
+
return localVarFp.sensorsIndex(towerId, acceptLanguage, memberId, options).then((request) => request(axios, basePath));
|
|
6381
6632
|
},
|
|
6382
6633
|
/**
|
|
6383
6634
|
*
|
|
@@ -6810,13 +7061,14 @@ export class DefaultApi extends BaseAPI {
|
|
|
6810
7061
|
/**
|
|
6811
7062
|
*
|
|
6812
7063
|
* @param {string} towerId
|
|
7064
|
+
* @param {string} [acceptLanguage]
|
|
6813
7065
|
* @param {string} [memberId]
|
|
6814
7066
|
* @param {*} [options] Override http request option.
|
|
6815
7067
|
* @throws {RequiredError}
|
|
6816
7068
|
* @memberof DefaultApi
|
|
6817
7069
|
*/
|
|
6818
|
-
public sensorsIndex(towerId: string, memberId?: string, options?: AxiosRequestConfig) {
|
|
6819
|
-
return DefaultApiFp(this.configuration).sensorsIndex(towerId, memberId, options).then((request) => request(this.axios, this.basePath));
|
|
7070
|
+
public sensorsIndex(towerId: string, acceptLanguage?: string, memberId?: string, options?: AxiosRequestConfig) {
|
|
7071
|
+
return DefaultApiFp(this.configuration).sensorsIndex(towerId, acceptLanguage, memberId, options).then((request) => request(this.axios, this.basePath));
|
|
6820
7072
|
}
|
|
6821
7073
|
|
|
6822
7074
|
/**
|
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
|
|
@@ -969,6 +1170,12 @@ export interface IssueTypeData {
|
|
|
969
1170
|
* @interface IssueTypeRequest
|
|
970
1171
|
*/
|
|
971
1172
|
export interface IssueTypeRequest {
|
|
1173
|
+
/**
|
|
1174
|
+
*
|
|
1175
|
+
* @type {string}
|
|
1176
|
+
* @memberof IssueTypeRequest
|
|
1177
|
+
*/
|
|
1178
|
+
'internal_remark'?: string;
|
|
972
1179
|
/**
|
|
973
1180
|
*
|
|
974
1181
|
* @type {object}
|
|
@@ -1276,7 +1483,7 @@ export interface MemberIndexInterface {
|
|
|
1276
1483
|
* @type {boolean}
|
|
1277
1484
|
* @memberof MemberIndexInterface
|
|
1278
1485
|
*/
|
|
1279
|
-
'
|
|
1486
|
+
'can_preregister'?: boolean;
|
|
1280
1487
|
}
|
|
1281
1488
|
/**
|
|
1282
1489
|
*
|
|
@@ -2055,6 +2262,37 @@ export interface SensorData {
|
|
|
2055
2262
|
* @memberof SensorData
|
|
2056
2263
|
*/
|
|
2057
2264
|
'updated_at': string;
|
|
2265
|
+
/**
|
|
2266
|
+
*
|
|
2267
|
+
* @type {string}
|
|
2268
|
+
* @memberof SensorData
|
|
2269
|
+
*/
|
|
2270
|
+
'indicator': string;
|
|
2271
|
+
/**
|
|
2272
|
+
*
|
|
2273
|
+
* @type {string}
|
|
2274
|
+
* @memberof SensorData
|
|
2275
|
+
*/
|
|
2276
|
+
'color_code': string;
|
|
2277
|
+
}
|
|
2278
|
+
/**
|
|
2279
|
+
*
|
|
2280
|
+
* @export
|
|
2281
|
+
* @interface SensorIndicatorData
|
|
2282
|
+
*/
|
|
2283
|
+
export interface SensorIndicatorData {
|
|
2284
|
+
/**
|
|
2285
|
+
*
|
|
2286
|
+
* @type {Array<AirQualityIndex>}
|
|
2287
|
+
* @memberof SensorIndicatorData
|
|
2288
|
+
*/
|
|
2289
|
+
'indicator': Array<AirQualityIndex>;
|
|
2290
|
+
/**
|
|
2291
|
+
*
|
|
2292
|
+
* @type {Array<FloorSensorData>}
|
|
2293
|
+
* @memberof SensorIndicatorData
|
|
2294
|
+
*/
|
|
2295
|
+
'floors': Array<FloorSensorData>;
|
|
2058
2296
|
}
|
|
2059
2297
|
/**
|
|
2060
2298
|
*
|
|
@@ -2143,6 +2381,12 @@ export interface ServiceRequestBody {
|
|
|
2143
2381
|
* @interface ServiceRequestData
|
|
2144
2382
|
*/
|
|
2145
2383
|
export interface ServiceRequestData {
|
|
2384
|
+
/**
|
|
2385
|
+
*
|
|
2386
|
+
* @type {RequesterData}
|
|
2387
|
+
* @memberof ServiceRequestData
|
|
2388
|
+
*/
|
|
2389
|
+
'requester': RequesterData;
|
|
2146
2390
|
/**
|
|
2147
2391
|
*
|
|
2148
2392
|
* @type {string}
|
|
@@ -3390,10 +3634,10 @@ export interface WrappedArrayResponseIssueTypeData {
|
|
|
3390
3634
|
export interface WrappedArrayResponseSensorsIndexResponseData {
|
|
3391
3635
|
/**
|
|
3392
3636
|
*
|
|
3393
|
-
* @type {Array<
|
|
3637
|
+
* @type {Array<SensorIndicatorData>}
|
|
3394
3638
|
* @memberof WrappedArrayResponseSensorsIndexResponseData
|
|
3395
3639
|
*/
|
|
3396
|
-
'data': Array<
|
|
3640
|
+
'data': Array<SensorIndicatorData>;
|
|
3397
3641
|
}
|
|
3398
3642
|
/**
|
|
3399
3643
|
*
|
|
@@ -4370,11 +4614,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
4370
4614
|
/**
|
|
4371
4615
|
*
|
|
4372
4616
|
* @param {string} towerId
|
|
4617
|
+
* @param {string} [acceptLanguage]
|
|
4373
4618
|
* @param {string} [memberId]
|
|
4374
4619
|
* @param {*} [options] Override http request option.
|
|
4375
4620
|
* @throws {RequiredError}
|
|
4376
4621
|
*/
|
|
4377
|
-
sensorsIndex: (towerId: string, memberId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4622
|
+
sensorsIndex: (towerId: string, acceptLanguage?: string, memberId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4378
4623
|
/**
|
|
4379
4624
|
*
|
|
4380
4625
|
* @param {ServiceRequestBody} serviceRequestBody
|
|
@@ -4674,11 +4919,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
4674
4919
|
/**
|
|
4675
4920
|
*
|
|
4676
4921
|
* @param {string} towerId
|
|
4922
|
+
* @param {string} [acceptLanguage]
|
|
4677
4923
|
* @param {string} [memberId]
|
|
4678
4924
|
* @param {*} [options] Override http request option.
|
|
4679
4925
|
* @throws {RequiredError}
|
|
4680
4926
|
*/
|
|
4681
|
-
sensorsIndex(towerId: string, memberId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>>;
|
|
4927
|
+
sensorsIndex(towerId: string, acceptLanguage?: string, memberId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>>;
|
|
4682
4928
|
/**
|
|
4683
4929
|
*
|
|
4684
4930
|
* @param {ServiceRequestBody} serviceRequestBody
|
|
@@ -4978,11 +5224,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
4978
5224
|
/**
|
|
4979
5225
|
*
|
|
4980
5226
|
* @param {string} towerId
|
|
5227
|
+
* @param {string} [acceptLanguage]
|
|
4981
5228
|
* @param {string} [memberId]
|
|
4982
5229
|
* @param {*} [options] Override http request option.
|
|
4983
5230
|
* @throws {RequiredError}
|
|
4984
5231
|
*/
|
|
4985
|
-
sensorsIndex(towerId: string, memberId?: string, options?: any): AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>;
|
|
5232
|
+
sensorsIndex(towerId: string, acceptLanguage?: string, memberId?: string, options?: any): AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>;
|
|
4986
5233
|
/**
|
|
4987
5234
|
*
|
|
4988
5235
|
* @param {ServiceRequestBody} serviceRequestBody
|
|
@@ -5310,12 +5557,13 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
5310
5557
|
/**
|
|
5311
5558
|
*
|
|
5312
5559
|
* @param {string} towerId
|
|
5560
|
+
* @param {string} [acceptLanguage]
|
|
5313
5561
|
* @param {string} [memberId]
|
|
5314
5562
|
* @param {*} [options] Override http request option.
|
|
5315
5563
|
* @throws {RequiredError}
|
|
5316
5564
|
* @memberof DefaultApi
|
|
5317
5565
|
*/
|
|
5318
|
-
sensorsIndex(towerId: string, memberId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedArrayResponseSensorsIndexResponseData, any>>;
|
|
5566
|
+
sensorsIndex(towerId: string, acceptLanguage?: string, memberId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedArrayResponseSensorsIndexResponseData, any>>;
|
|
5319
5567
|
/**
|
|
5320
5568
|
*
|
|
5321
5569
|
* @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
|
*
|