ob-bms-sdk 0.0.83 → 0.0.85
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 +34 -249
- package/dist/api/api.d.ts +31 -242
- package/dist/api/api.js +7 -14
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -415,207 +415,6 @@ 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
|
-
}
|
|
619
418
|
/**
|
|
620
419
|
*
|
|
621
420
|
* @export
|
|
@@ -2189,6 +1988,12 @@ export interface RateDetail {
|
|
|
2189
1988
|
* @interface RequesterData
|
|
2190
1989
|
*/
|
|
2191
1990
|
export interface RequesterData {
|
|
1991
|
+
/**
|
|
1992
|
+
*
|
|
1993
|
+
* @type {RequesterDataTenantMember}
|
|
1994
|
+
* @memberof RequesterData
|
|
1995
|
+
*/
|
|
1996
|
+
'tenant_member'?: RequesterDataTenantMember;
|
|
2192
1997
|
/**
|
|
2193
1998
|
*
|
|
2194
1999
|
* @type {string}
|
|
@@ -2226,6 +2031,19 @@ export interface RequesterData {
|
|
|
2226
2031
|
*/
|
|
2227
2032
|
'id': string;
|
|
2228
2033
|
}
|
|
2034
|
+
/**
|
|
2035
|
+
*
|
|
2036
|
+
* @export
|
|
2037
|
+
* @interface RequesterDataTenantMember
|
|
2038
|
+
*/
|
|
2039
|
+
export interface RequesterDataTenantMember {
|
|
2040
|
+
/**
|
|
2041
|
+
*
|
|
2042
|
+
* @type {Array<TenantData>}
|
|
2043
|
+
* @memberof RequesterDataTenantMember
|
|
2044
|
+
*/
|
|
2045
|
+
'tenant': Array<TenantData>;
|
|
2046
|
+
}
|
|
2229
2047
|
/**
|
|
2230
2048
|
*
|
|
2231
2049
|
* @export
|
|
@@ -2287,40 +2105,9 @@ export interface SensorData {
|
|
|
2287
2105
|
* @memberof SensorData
|
|
2288
2106
|
*/
|
|
2289
2107
|
'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
2108
|
}
|
|
2303
2109
|
|
|
2304
2110
|
|
|
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
|
-
}
|
|
2324
2111
|
/**
|
|
2325
2112
|
*
|
|
2326
2113
|
* @export
|
|
@@ -2412,6 +2199,12 @@ export interface ServiceRequestBody {
|
|
|
2412
2199
|
* @interface ServiceRequestData
|
|
2413
2200
|
*/
|
|
2414
2201
|
export interface ServiceRequestData {
|
|
2202
|
+
/**
|
|
2203
|
+
*
|
|
2204
|
+
* @type {Array<object>}
|
|
2205
|
+
* @memberof ServiceRequestData
|
|
2206
|
+
*/
|
|
2207
|
+
'tenant_member'?: Array<object>;
|
|
2415
2208
|
/**
|
|
2416
2209
|
*
|
|
2417
2210
|
* @type {RequesterData}
|
|
@@ -3682,10 +3475,10 @@ export interface WrappedArrayResponseIssueTypeData {
|
|
|
3682
3475
|
export interface WrappedArrayResponseSensorsIndexResponseData {
|
|
3683
3476
|
/**
|
|
3684
3477
|
*
|
|
3685
|
-
* @type {Array<
|
|
3478
|
+
* @type {Array<FloorSensorData>}
|
|
3686
3479
|
* @memberof WrappedArrayResponseSensorsIndexResponseData
|
|
3687
3480
|
*/
|
|
3688
|
-
'data': Array<
|
|
3481
|
+
'data': Array<FloorSensorData>;
|
|
3689
3482
|
}
|
|
3690
3483
|
/**
|
|
3691
3484
|
*
|
|
@@ -5454,12 +5247,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5454
5247
|
/**
|
|
5455
5248
|
*
|
|
5456
5249
|
* @param {string} towerId
|
|
5457
|
-
* @param {string} [acceptLanguage]
|
|
5458
5250
|
* @param {string} [memberId]
|
|
5459
5251
|
* @param {*} [options] Override http request option.
|
|
5460
5252
|
* @throws {RequiredError}
|
|
5461
5253
|
*/
|
|
5462
|
-
sensorsIndex: async (towerId: string,
|
|
5254
|
+
sensorsIndex: async (towerId: string, memberId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5463
5255
|
// verify required parameter 'towerId' is not null or undefined
|
|
5464
5256
|
assertParamExists('sensorsIndex', 'towerId', towerId)
|
|
5465
5257
|
const localVarPath = `/sensors`;
|
|
@@ -5482,10 +5274,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5482
5274
|
localVarQueryParameter['member_id'] = memberId;
|
|
5483
5275
|
}
|
|
5484
5276
|
|
|
5485
|
-
if (acceptLanguage != null) {
|
|
5486
|
-
localVarHeaderParameter['accept-language'] = String(acceptLanguage);
|
|
5487
|
-
}
|
|
5488
|
-
|
|
5489
5277
|
|
|
5490
5278
|
|
|
5491
5279
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -6222,13 +6010,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
6222
6010
|
/**
|
|
6223
6011
|
*
|
|
6224
6012
|
* @param {string} towerId
|
|
6225
|
-
* @param {string} [acceptLanguage]
|
|
6226
6013
|
* @param {string} [memberId]
|
|
6227
6014
|
* @param {*} [options] Override http request option.
|
|
6228
6015
|
* @throws {RequiredError}
|
|
6229
6016
|
*/
|
|
6230
|
-
async sensorsIndex(towerId: string,
|
|
6231
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.sensorsIndex(towerId,
|
|
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);
|
|
6232
6019
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6233
6020
|
},
|
|
6234
6021
|
/**
|
|
@@ -6622,13 +6409,12 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
6622
6409
|
/**
|
|
6623
6410
|
*
|
|
6624
6411
|
* @param {string} towerId
|
|
6625
|
-
* @param {string} [acceptLanguage]
|
|
6626
6412
|
* @param {string} [memberId]
|
|
6627
6413
|
* @param {*} [options] Override http request option.
|
|
6628
6414
|
* @throws {RequiredError}
|
|
6629
6415
|
*/
|
|
6630
|
-
sensorsIndex(towerId: string,
|
|
6631
|
-
return localVarFp.sensorsIndex(towerId,
|
|
6416
|
+
sensorsIndex(towerId: string, memberId?: string, options?: any): AxiosPromise<WrappedArrayResponseSensorsIndexResponseData> {
|
|
6417
|
+
return localVarFp.sensorsIndex(towerId, memberId, options).then((request) => request(axios, basePath));
|
|
6632
6418
|
},
|
|
6633
6419
|
/**
|
|
6634
6420
|
*
|
|
@@ -7061,14 +6847,13 @@ export class DefaultApi extends BaseAPI {
|
|
|
7061
6847
|
/**
|
|
7062
6848
|
*
|
|
7063
6849
|
* @param {string} towerId
|
|
7064
|
-
* @param {string} [acceptLanguage]
|
|
7065
6850
|
* @param {string} [memberId]
|
|
7066
6851
|
* @param {*} [options] Override http request option.
|
|
7067
6852
|
* @throws {RequiredError}
|
|
7068
6853
|
* @memberof DefaultApi
|
|
7069
6854
|
*/
|
|
7070
|
-
public sensorsIndex(towerId: string,
|
|
7071
|
-
return DefaultApiFp(this.configuration).sensorsIndex(towerId,
|
|
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));
|
|
7072
6857
|
}
|
|
7073
6858
|
|
|
7074
6859
|
/**
|
package/dist/api/api.d.ts
CHANGED
|
@@ -391,207 +391,6 @@ 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
|
-
}
|
|
595
394
|
/**
|
|
596
395
|
*
|
|
597
396
|
* @export
|
|
@@ -2164,6 +1963,12 @@ export interface RateDetail {
|
|
|
2164
1963
|
* @interface RequesterData
|
|
2165
1964
|
*/
|
|
2166
1965
|
export interface RequesterData {
|
|
1966
|
+
/**
|
|
1967
|
+
*
|
|
1968
|
+
* @type {RequesterDataTenantMember}
|
|
1969
|
+
* @memberof RequesterData
|
|
1970
|
+
*/
|
|
1971
|
+
'tenant_member'?: RequesterDataTenantMember;
|
|
2167
1972
|
/**
|
|
2168
1973
|
*
|
|
2169
1974
|
* @type {string}
|
|
@@ -2201,6 +2006,19 @@ export interface RequesterData {
|
|
|
2201
2006
|
*/
|
|
2202
2007
|
'id': string;
|
|
2203
2008
|
}
|
|
2009
|
+
/**
|
|
2010
|
+
*
|
|
2011
|
+
* @export
|
|
2012
|
+
* @interface RequesterDataTenantMember
|
|
2013
|
+
*/
|
|
2014
|
+
export interface RequesterDataTenantMember {
|
|
2015
|
+
/**
|
|
2016
|
+
*
|
|
2017
|
+
* @type {Array<TenantData>}
|
|
2018
|
+
* @memberof RequesterDataTenantMember
|
|
2019
|
+
*/
|
|
2020
|
+
'tenant': Array<TenantData>;
|
|
2021
|
+
}
|
|
2204
2022
|
/**
|
|
2205
2023
|
*
|
|
2206
2024
|
* @export
|
|
@@ -2262,37 +2080,6 @@ export interface SensorData {
|
|
|
2262
2080
|
* @memberof SensorData
|
|
2263
2081
|
*/
|
|
2264
2082
|
'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>;
|
|
2296
2083
|
}
|
|
2297
2084
|
/**
|
|
2298
2085
|
*
|
|
@@ -2381,6 +2168,12 @@ export interface ServiceRequestBody {
|
|
|
2381
2168
|
* @interface ServiceRequestData
|
|
2382
2169
|
*/
|
|
2383
2170
|
export interface ServiceRequestData {
|
|
2171
|
+
/**
|
|
2172
|
+
*
|
|
2173
|
+
* @type {Array<object>}
|
|
2174
|
+
* @memberof ServiceRequestData
|
|
2175
|
+
*/
|
|
2176
|
+
'tenant_member'?: Array<object>;
|
|
2384
2177
|
/**
|
|
2385
2178
|
*
|
|
2386
2179
|
* @type {RequesterData}
|
|
@@ -3634,10 +3427,10 @@ export interface WrappedArrayResponseIssueTypeData {
|
|
|
3634
3427
|
export interface WrappedArrayResponseSensorsIndexResponseData {
|
|
3635
3428
|
/**
|
|
3636
3429
|
*
|
|
3637
|
-
* @type {Array<
|
|
3430
|
+
* @type {Array<FloorSensorData>}
|
|
3638
3431
|
* @memberof WrappedArrayResponseSensorsIndexResponseData
|
|
3639
3432
|
*/
|
|
3640
|
-
'data': Array<
|
|
3433
|
+
'data': Array<FloorSensorData>;
|
|
3641
3434
|
}
|
|
3642
3435
|
/**
|
|
3643
3436
|
*
|
|
@@ -4614,12 +4407,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
4614
4407
|
/**
|
|
4615
4408
|
*
|
|
4616
4409
|
* @param {string} towerId
|
|
4617
|
-
* @param {string} [acceptLanguage]
|
|
4618
4410
|
* @param {string} [memberId]
|
|
4619
4411
|
* @param {*} [options] Override http request option.
|
|
4620
4412
|
* @throws {RequiredError}
|
|
4621
4413
|
*/
|
|
4622
|
-
sensorsIndex: (towerId: string,
|
|
4414
|
+
sensorsIndex: (towerId: string, memberId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4623
4415
|
/**
|
|
4624
4416
|
*
|
|
4625
4417
|
* @param {ServiceRequestBody} serviceRequestBody
|
|
@@ -4919,12 +4711,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
4919
4711
|
/**
|
|
4920
4712
|
*
|
|
4921
4713
|
* @param {string} towerId
|
|
4922
|
-
* @param {string} [acceptLanguage]
|
|
4923
4714
|
* @param {string} [memberId]
|
|
4924
4715
|
* @param {*} [options] Override http request option.
|
|
4925
4716
|
* @throws {RequiredError}
|
|
4926
4717
|
*/
|
|
4927
|
-
sensorsIndex(towerId: string,
|
|
4718
|
+
sensorsIndex(towerId: string, memberId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>>;
|
|
4928
4719
|
/**
|
|
4929
4720
|
*
|
|
4930
4721
|
* @param {ServiceRequestBody} serviceRequestBody
|
|
@@ -5224,12 +5015,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
5224
5015
|
/**
|
|
5225
5016
|
*
|
|
5226
5017
|
* @param {string} towerId
|
|
5227
|
-
* @param {string} [acceptLanguage]
|
|
5228
5018
|
* @param {string} [memberId]
|
|
5229
5019
|
* @param {*} [options] Override http request option.
|
|
5230
5020
|
* @throws {RequiredError}
|
|
5231
5021
|
*/
|
|
5232
|
-
sensorsIndex(towerId: string,
|
|
5022
|
+
sensorsIndex(towerId: string, memberId?: string, options?: any): AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>;
|
|
5233
5023
|
/**
|
|
5234
5024
|
*
|
|
5235
5025
|
* @param {ServiceRequestBody} serviceRequestBody
|
|
@@ -5557,13 +5347,12 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
5557
5347
|
/**
|
|
5558
5348
|
*
|
|
5559
5349
|
* @param {string} towerId
|
|
5560
|
-
* @param {string} [acceptLanguage]
|
|
5561
5350
|
* @param {string} [memberId]
|
|
5562
5351
|
* @param {*} [options] Override http request option.
|
|
5563
5352
|
* @throws {RequiredError}
|
|
5564
5353
|
* @memberof DefaultApi
|
|
5565
5354
|
*/
|
|
5566
|
-
sensorsIndex(towerId: string,
|
|
5355
|
+
sensorsIndex(towerId: string, memberId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedArrayResponseSensorsIndexResponseData, any>>;
|
|
5567
5356
|
/**
|
|
5568
5357
|
*
|
|
5569
5358
|
* @param {ServiceRequestBody} serviceRequestBody
|
package/dist/api/api.js
CHANGED
|
@@ -952,12 +952,11 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
952
952
|
/**
|
|
953
953
|
*
|
|
954
954
|
* @param {string} towerId
|
|
955
|
-
* @param {string} [acceptLanguage]
|
|
956
955
|
* @param {string} [memberId]
|
|
957
956
|
* @param {*} [options] Override http request option.
|
|
958
957
|
* @throws {RequiredError}
|
|
959
958
|
*/
|
|
960
|
-
sensorsIndex: (towerId,
|
|
959
|
+
sensorsIndex: (towerId, memberId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
961
960
|
// verify required parameter 'towerId' is not null or undefined
|
|
962
961
|
(0, common_1.assertParamExists)('sensorsIndex', 'towerId', towerId);
|
|
963
962
|
const localVarPath = `/sensors`;
|
|
@@ -976,9 +975,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
976
975
|
if (memberId !== undefined) {
|
|
977
976
|
localVarQueryParameter['member_id'] = memberId;
|
|
978
977
|
}
|
|
979
|
-
if (acceptLanguage != null) {
|
|
980
|
-
localVarHeaderParameter['accept-language'] = String(acceptLanguage);
|
|
981
|
-
}
|
|
982
978
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
983
979
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
984
980
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1692,14 +1688,13 @@ const DefaultApiFp = function (configuration) {
|
|
|
1692
1688
|
/**
|
|
1693
1689
|
*
|
|
1694
1690
|
* @param {string} towerId
|
|
1695
|
-
* @param {string} [acceptLanguage]
|
|
1696
1691
|
* @param {string} [memberId]
|
|
1697
1692
|
* @param {*} [options] Override http request option.
|
|
1698
1693
|
* @throws {RequiredError}
|
|
1699
1694
|
*/
|
|
1700
|
-
sensorsIndex(towerId,
|
|
1695
|
+
sensorsIndex(towerId, memberId, options) {
|
|
1701
1696
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1702
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.sensorsIndex(towerId,
|
|
1697
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.sensorsIndex(towerId, memberId, options);
|
|
1703
1698
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1704
1699
|
});
|
|
1705
1700
|
},
|
|
@@ -2118,13 +2113,12 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2118
2113
|
/**
|
|
2119
2114
|
*
|
|
2120
2115
|
* @param {string} towerId
|
|
2121
|
-
* @param {string} [acceptLanguage]
|
|
2122
2116
|
* @param {string} [memberId]
|
|
2123
2117
|
* @param {*} [options] Override http request option.
|
|
2124
2118
|
* @throws {RequiredError}
|
|
2125
2119
|
*/
|
|
2126
|
-
sensorsIndex(towerId,
|
|
2127
|
-
return localVarFp.sensorsIndex(towerId,
|
|
2120
|
+
sensorsIndex(towerId, memberId, options) {
|
|
2121
|
+
return localVarFp.sensorsIndex(towerId, memberId, options).then((request) => request(axios, basePath));
|
|
2128
2122
|
},
|
|
2129
2123
|
/**
|
|
2130
2124
|
*
|
|
@@ -2531,14 +2525,13 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2531
2525
|
/**
|
|
2532
2526
|
*
|
|
2533
2527
|
* @param {string} towerId
|
|
2534
|
-
* @param {string} [acceptLanguage]
|
|
2535
2528
|
* @param {string} [memberId]
|
|
2536
2529
|
* @param {*} [options] Override http request option.
|
|
2537
2530
|
* @throws {RequiredError}
|
|
2538
2531
|
* @memberof DefaultApi
|
|
2539
2532
|
*/
|
|
2540
|
-
sensorsIndex(towerId,
|
|
2541
|
-
return (0, exports.DefaultApiFp)(this.configuration).sensorsIndex(towerId,
|
|
2533
|
+
sensorsIndex(towerId, memberId, options) {
|
|
2534
|
+
return (0, exports.DefaultApiFp)(this.configuration).sensorsIndex(towerId, memberId, options).then((request) => request(this.axios, this.basePath));
|
|
2542
2535
|
}
|
|
2543
2536
|
/**
|
|
2544
2537
|
*
|