ob-bms-sdk 0.0.83 → 0.0.84
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 +143 -249
- package/dist/api/api.d.ts +140 -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 {Array<RequesterDataTenantMemberInner>}
|
|
1994
|
+
* @memberof RequesterData
|
|
1995
|
+
*/
|
|
1996
|
+
'tenant_member'?: Array<RequesterDataTenantMemberInner>;
|
|
2192
1997
|
/**
|
|
2193
1998
|
*
|
|
2194
1999
|
* @type {string}
|
|
@@ -2226,6 +2031,128 @@ export interface RequesterData {
|
|
|
2226
2031
|
*/
|
|
2227
2032
|
'id': string;
|
|
2228
2033
|
}
|
|
2034
|
+
/**
|
|
2035
|
+
*
|
|
2036
|
+
* @export
|
|
2037
|
+
* @interface RequesterDataTenantMemberInner
|
|
2038
|
+
*/
|
|
2039
|
+
export interface RequesterDataTenantMemberInner {
|
|
2040
|
+
/**
|
|
2041
|
+
*
|
|
2042
|
+
* @type {RequesterDataTenantMemberInnerAllOfTenant}
|
|
2043
|
+
* @memberof RequesterDataTenantMemberInner
|
|
2044
|
+
*/
|
|
2045
|
+
'tenant': RequesterDataTenantMemberInnerAllOfTenant;
|
|
2046
|
+
/**
|
|
2047
|
+
*
|
|
2048
|
+
* @type {string}
|
|
2049
|
+
* @memberof RequesterDataTenantMemberInner
|
|
2050
|
+
*/
|
|
2051
|
+
'updated_at': string;
|
|
2052
|
+
/**
|
|
2053
|
+
*
|
|
2054
|
+
* @type {string}
|
|
2055
|
+
* @memberof RequesterDataTenantMemberInner
|
|
2056
|
+
*/
|
|
2057
|
+
'created_at': string;
|
|
2058
|
+
/**
|
|
2059
|
+
*
|
|
2060
|
+
* @type {JsonValue}
|
|
2061
|
+
* @memberof RequesterDataTenantMemberInner
|
|
2062
|
+
*/
|
|
2063
|
+
'setting': JsonValue | null;
|
|
2064
|
+
/**
|
|
2065
|
+
*
|
|
2066
|
+
* @type {any}
|
|
2067
|
+
* @memberof RequesterDataTenantMemberInner
|
|
2068
|
+
*/
|
|
2069
|
+
'role': any;
|
|
2070
|
+
/**
|
|
2071
|
+
*
|
|
2072
|
+
* @type {string}
|
|
2073
|
+
* @memberof RequesterDataTenantMemberInner
|
|
2074
|
+
*/
|
|
2075
|
+
'member_id': string;
|
|
2076
|
+
/**
|
|
2077
|
+
*
|
|
2078
|
+
* @type {string}
|
|
2079
|
+
* @memberof RequesterDataTenantMemberInner
|
|
2080
|
+
*/
|
|
2081
|
+
'tenant_id': string;
|
|
2082
|
+
/**
|
|
2083
|
+
*
|
|
2084
|
+
* @type {string}
|
|
2085
|
+
* @memberof RequesterDataTenantMemberInner
|
|
2086
|
+
*/
|
|
2087
|
+
'id': string;
|
|
2088
|
+
}
|
|
2089
|
+
/**
|
|
2090
|
+
*
|
|
2091
|
+
* @export
|
|
2092
|
+
* @interface RequesterDataTenantMemberInnerAllOfTenant
|
|
2093
|
+
*/
|
|
2094
|
+
export interface RequesterDataTenantMemberInnerAllOfTenant {
|
|
2095
|
+
/**
|
|
2096
|
+
*
|
|
2097
|
+
* @type {string}
|
|
2098
|
+
* @memberof RequesterDataTenantMemberInnerAllOfTenant
|
|
2099
|
+
*/
|
|
2100
|
+
'updated_at': string;
|
|
2101
|
+
/**
|
|
2102
|
+
*
|
|
2103
|
+
* @type {string}
|
|
2104
|
+
* @memberof RequesterDataTenantMemberInnerAllOfTenant
|
|
2105
|
+
*/
|
|
2106
|
+
'created_at': string;
|
|
2107
|
+
/**
|
|
2108
|
+
*
|
|
2109
|
+
* @type {JsonValue}
|
|
2110
|
+
* @memberof RequesterDataTenantMemberInnerAllOfTenant
|
|
2111
|
+
*/
|
|
2112
|
+
'metadata': JsonValue | null;
|
|
2113
|
+
/**
|
|
2114
|
+
*
|
|
2115
|
+
* @type {string}
|
|
2116
|
+
* @memberof RequesterDataTenantMemberInnerAllOfTenant
|
|
2117
|
+
*/
|
|
2118
|
+
'address': string;
|
|
2119
|
+
/**
|
|
2120
|
+
*
|
|
2121
|
+
* @type {string}
|
|
2122
|
+
* @memberof RequesterDataTenantMemberInnerAllOfTenant
|
|
2123
|
+
*/
|
|
2124
|
+
'phone_number': string;
|
|
2125
|
+
/**
|
|
2126
|
+
*
|
|
2127
|
+
* @type {string}
|
|
2128
|
+
* @memberof RequesterDataTenantMemberInnerAllOfTenant
|
|
2129
|
+
*/
|
|
2130
|
+
'email': string;
|
|
2131
|
+
/**
|
|
2132
|
+
*
|
|
2133
|
+
* @type {JsonValue}
|
|
2134
|
+
* @memberof RequesterDataTenantMemberInnerAllOfTenant
|
|
2135
|
+
*/
|
|
2136
|
+
'display_name': JsonValue | null;
|
|
2137
|
+
/**
|
|
2138
|
+
*
|
|
2139
|
+
* @type {string}
|
|
2140
|
+
* @memberof RequesterDataTenantMemberInnerAllOfTenant
|
|
2141
|
+
*/
|
|
2142
|
+
'name': string;
|
|
2143
|
+
/**
|
|
2144
|
+
*
|
|
2145
|
+
* @type {string}
|
|
2146
|
+
* @memberof RequesterDataTenantMemberInnerAllOfTenant
|
|
2147
|
+
*/
|
|
2148
|
+
'uid': string;
|
|
2149
|
+
/**
|
|
2150
|
+
*
|
|
2151
|
+
* @type {string}
|
|
2152
|
+
* @memberof RequesterDataTenantMemberInnerAllOfTenant
|
|
2153
|
+
*/
|
|
2154
|
+
'id': string;
|
|
2155
|
+
}
|
|
2229
2156
|
/**
|
|
2230
2157
|
*
|
|
2231
2158
|
* @export
|
|
@@ -2287,40 +2214,9 @@ export interface SensorData {
|
|
|
2287
2214
|
* @memberof SensorData
|
|
2288
2215
|
*/
|
|
2289
2216
|
'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
2217
|
}
|
|
2303
2218
|
|
|
2304
2219
|
|
|
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
2220
|
/**
|
|
2325
2221
|
*
|
|
2326
2222
|
* @export
|
|
@@ -2412,6 +2308,12 @@ export interface ServiceRequestBody {
|
|
|
2412
2308
|
* @interface ServiceRequestData
|
|
2413
2309
|
*/
|
|
2414
2310
|
export interface ServiceRequestData {
|
|
2311
|
+
/**
|
|
2312
|
+
*
|
|
2313
|
+
* @type {Array<object>}
|
|
2314
|
+
* @memberof ServiceRequestData
|
|
2315
|
+
*/
|
|
2316
|
+
'tenant_member'?: Array<object>;
|
|
2415
2317
|
/**
|
|
2416
2318
|
*
|
|
2417
2319
|
* @type {RequesterData}
|
|
@@ -3682,10 +3584,10 @@ export interface WrappedArrayResponseIssueTypeData {
|
|
|
3682
3584
|
export interface WrappedArrayResponseSensorsIndexResponseData {
|
|
3683
3585
|
/**
|
|
3684
3586
|
*
|
|
3685
|
-
* @type {Array<
|
|
3587
|
+
* @type {Array<FloorSensorData>}
|
|
3686
3588
|
* @memberof WrappedArrayResponseSensorsIndexResponseData
|
|
3687
3589
|
*/
|
|
3688
|
-
'data': Array<
|
|
3590
|
+
'data': Array<FloorSensorData>;
|
|
3689
3591
|
}
|
|
3690
3592
|
/**
|
|
3691
3593
|
*
|
|
@@ -5454,12 +5356,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5454
5356
|
/**
|
|
5455
5357
|
*
|
|
5456
5358
|
* @param {string} towerId
|
|
5457
|
-
* @param {string} [acceptLanguage]
|
|
5458
5359
|
* @param {string} [memberId]
|
|
5459
5360
|
* @param {*} [options] Override http request option.
|
|
5460
5361
|
* @throws {RequiredError}
|
|
5461
5362
|
*/
|
|
5462
|
-
sensorsIndex: async (towerId: string,
|
|
5363
|
+
sensorsIndex: async (towerId: string, memberId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5463
5364
|
// verify required parameter 'towerId' is not null or undefined
|
|
5464
5365
|
assertParamExists('sensorsIndex', 'towerId', towerId)
|
|
5465
5366
|
const localVarPath = `/sensors`;
|
|
@@ -5482,10 +5383,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5482
5383
|
localVarQueryParameter['member_id'] = memberId;
|
|
5483
5384
|
}
|
|
5484
5385
|
|
|
5485
|
-
if (acceptLanguage != null) {
|
|
5486
|
-
localVarHeaderParameter['accept-language'] = String(acceptLanguage);
|
|
5487
|
-
}
|
|
5488
|
-
|
|
5489
5386
|
|
|
5490
5387
|
|
|
5491
5388
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -6222,13 +6119,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
6222
6119
|
/**
|
|
6223
6120
|
*
|
|
6224
6121
|
* @param {string} towerId
|
|
6225
|
-
* @param {string} [acceptLanguage]
|
|
6226
6122
|
* @param {string} [memberId]
|
|
6227
6123
|
* @param {*} [options] Override http request option.
|
|
6228
6124
|
* @throws {RequiredError}
|
|
6229
6125
|
*/
|
|
6230
|
-
async sensorsIndex(towerId: string,
|
|
6231
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.sensorsIndex(towerId,
|
|
6126
|
+
async sensorsIndex(towerId: string, memberId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>> {
|
|
6127
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sensorsIndex(towerId, memberId, options);
|
|
6232
6128
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6233
6129
|
},
|
|
6234
6130
|
/**
|
|
@@ -6622,13 +6518,12 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
6622
6518
|
/**
|
|
6623
6519
|
*
|
|
6624
6520
|
* @param {string} towerId
|
|
6625
|
-
* @param {string} [acceptLanguage]
|
|
6626
6521
|
* @param {string} [memberId]
|
|
6627
6522
|
* @param {*} [options] Override http request option.
|
|
6628
6523
|
* @throws {RequiredError}
|
|
6629
6524
|
*/
|
|
6630
|
-
sensorsIndex(towerId: string,
|
|
6631
|
-
return localVarFp.sensorsIndex(towerId,
|
|
6525
|
+
sensorsIndex(towerId: string, memberId?: string, options?: any): AxiosPromise<WrappedArrayResponseSensorsIndexResponseData> {
|
|
6526
|
+
return localVarFp.sensorsIndex(towerId, memberId, options).then((request) => request(axios, basePath));
|
|
6632
6527
|
},
|
|
6633
6528
|
/**
|
|
6634
6529
|
*
|
|
@@ -7061,14 +6956,13 @@ export class DefaultApi extends BaseAPI {
|
|
|
7061
6956
|
/**
|
|
7062
6957
|
*
|
|
7063
6958
|
* @param {string} towerId
|
|
7064
|
-
* @param {string} [acceptLanguage]
|
|
7065
6959
|
* @param {string} [memberId]
|
|
7066
6960
|
* @param {*} [options] Override http request option.
|
|
7067
6961
|
* @throws {RequiredError}
|
|
7068
6962
|
* @memberof DefaultApi
|
|
7069
6963
|
*/
|
|
7070
|
-
public sensorsIndex(towerId: string,
|
|
7071
|
-
return DefaultApiFp(this.configuration).sensorsIndex(towerId,
|
|
6964
|
+
public sensorsIndex(towerId: string, memberId?: string, options?: AxiosRequestConfig) {
|
|
6965
|
+
return DefaultApiFp(this.configuration).sensorsIndex(towerId, memberId, options).then((request) => request(this.axios, this.basePath));
|
|
7072
6966
|
}
|
|
7073
6967
|
|
|
7074
6968
|
/**
|
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 {Array<RequesterDataTenantMemberInner>}
|
|
1969
|
+
* @memberof RequesterData
|
|
1970
|
+
*/
|
|
1971
|
+
'tenant_member'?: Array<RequesterDataTenantMemberInner>;
|
|
2167
1972
|
/**
|
|
2168
1973
|
*
|
|
2169
1974
|
* @type {string}
|
|
@@ -2201,6 +2006,128 @@ export interface RequesterData {
|
|
|
2201
2006
|
*/
|
|
2202
2007
|
'id': string;
|
|
2203
2008
|
}
|
|
2009
|
+
/**
|
|
2010
|
+
*
|
|
2011
|
+
* @export
|
|
2012
|
+
* @interface RequesterDataTenantMemberInner
|
|
2013
|
+
*/
|
|
2014
|
+
export interface RequesterDataTenantMemberInner {
|
|
2015
|
+
/**
|
|
2016
|
+
*
|
|
2017
|
+
* @type {RequesterDataTenantMemberInnerAllOfTenant}
|
|
2018
|
+
* @memberof RequesterDataTenantMemberInner
|
|
2019
|
+
*/
|
|
2020
|
+
'tenant': RequesterDataTenantMemberInnerAllOfTenant;
|
|
2021
|
+
/**
|
|
2022
|
+
*
|
|
2023
|
+
* @type {string}
|
|
2024
|
+
* @memberof RequesterDataTenantMemberInner
|
|
2025
|
+
*/
|
|
2026
|
+
'updated_at': string;
|
|
2027
|
+
/**
|
|
2028
|
+
*
|
|
2029
|
+
* @type {string}
|
|
2030
|
+
* @memberof RequesterDataTenantMemberInner
|
|
2031
|
+
*/
|
|
2032
|
+
'created_at': string;
|
|
2033
|
+
/**
|
|
2034
|
+
*
|
|
2035
|
+
* @type {JsonValue}
|
|
2036
|
+
* @memberof RequesterDataTenantMemberInner
|
|
2037
|
+
*/
|
|
2038
|
+
'setting': JsonValue | null;
|
|
2039
|
+
/**
|
|
2040
|
+
*
|
|
2041
|
+
* @type {any}
|
|
2042
|
+
* @memberof RequesterDataTenantMemberInner
|
|
2043
|
+
*/
|
|
2044
|
+
'role': any;
|
|
2045
|
+
/**
|
|
2046
|
+
*
|
|
2047
|
+
* @type {string}
|
|
2048
|
+
* @memberof RequesterDataTenantMemberInner
|
|
2049
|
+
*/
|
|
2050
|
+
'member_id': string;
|
|
2051
|
+
/**
|
|
2052
|
+
*
|
|
2053
|
+
* @type {string}
|
|
2054
|
+
* @memberof RequesterDataTenantMemberInner
|
|
2055
|
+
*/
|
|
2056
|
+
'tenant_id': string;
|
|
2057
|
+
/**
|
|
2058
|
+
*
|
|
2059
|
+
* @type {string}
|
|
2060
|
+
* @memberof RequesterDataTenantMemberInner
|
|
2061
|
+
*/
|
|
2062
|
+
'id': string;
|
|
2063
|
+
}
|
|
2064
|
+
/**
|
|
2065
|
+
*
|
|
2066
|
+
* @export
|
|
2067
|
+
* @interface RequesterDataTenantMemberInnerAllOfTenant
|
|
2068
|
+
*/
|
|
2069
|
+
export interface RequesterDataTenantMemberInnerAllOfTenant {
|
|
2070
|
+
/**
|
|
2071
|
+
*
|
|
2072
|
+
* @type {string}
|
|
2073
|
+
* @memberof RequesterDataTenantMemberInnerAllOfTenant
|
|
2074
|
+
*/
|
|
2075
|
+
'updated_at': string;
|
|
2076
|
+
/**
|
|
2077
|
+
*
|
|
2078
|
+
* @type {string}
|
|
2079
|
+
* @memberof RequesterDataTenantMemberInnerAllOfTenant
|
|
2080
|
+
*/
|
|
2081
|
+
'created_at': string;
|
|
2082
|
+
/**
|
|
2083
|
+
*
|
|
2084
|
+
* @type {JsonValue}
|
|
2085
|
+
* @memberof RequesterDataTenantMemberInnerAllOfTenant
|
|
2086
|
+
*/
|
|
2087
|
+
'metadata': JsonValue | null;
|
|
2088
|
+
/**
|
|
2089
|
+
*
|
|
2090
|
+
* @type {string}
|
|
2091
|
+
* @memberof RequesterDataTenantMemberInnerAllOfTenant
|
|
2092
|
+
*/
|
|
2093
|
+
'address': string;
|
|
2094
|
+
/**
|
|
2095
|
+
*
|
|
2096
|
+
* @type {string}
|
|
2097
|
+
* @memberof RequesterDataTenantMemberInnerAllOfTenant
|
|
2098
|
+
*/
|
|
2099
|
+
'phone_number': string;
|
|
2100
|
+
/**
|
|
2101
|
+
*
|
|
2102
|
+
* @type {string}
|
|
2103
|
+
* @memberof RequesterDataTenantMemberInnerAllOfTenant
|
|
2104
|
+
*/
|
|
2105
|
+
'email': string;
|
|
2106
|
+
/**
|
|
2107
|
+
*
|
|
2108
|
+
* @type {JsonValue}
|
|
2109
|
+
* @memberof RequesterDataTenantMemberInnerAllOfTenant
|
|
2110
|
+
*/
|
|
2111
|
+
'display_name': JsonValue | null;
|
|
2112
|
+
/**
|
|
2113
|
+
*
|
|
2114
|
+
* @type {string}
|
|
2115
|
+
* @memberof RequesterDataTenantMemberInnerAllOfTenant
|
|
2116
|
+
*/
|
|
2117
|
+
'name': string;
|
|
2118
|
+
/**
|
|
2119
|
+
*
|
|
2120
|
+
* @type {string}
|
|
2121
|
+
* @memberof RequesterDataTenantMemberInnerAllOfTenant
|
|
2122
|
+
*/
|
|
2123
|
+
'uid': string;
|
|
2124
|
+
/**
|
|
2125
|
+
*
|
|
2126
|
+
* @type {string}
|
|
2127
|
+
* @memberof RequesterDataTenantMemberInnerAllOfTenant
|
|
2128
|
+
*/
|
|
2129
|
+
'id': string;
|
|
2130
|
+
}
|
|
2204
2131
|
/**
|
|
2205
2132
|
*
|
|
2206
2133
|
* @export
|
|
@@ -2262,37 +2189,6 @@ export interface SensorData {
|
|
|
2262
2189
|
* @memberof SensorData
|
|
2263
2190
|
*/
|
|
2264
2191
|
'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
2192
|
}
|
|
2297
2193
|
/**
|
|
2298
2194
|
*
|
|
@@ -2381,6 +2277,12 @@ export interface ServiceRequestBody {
|
|
|
2381
2277
|
* @interface ServiceRequestData
|
|
2382
2278
|
*/
|
|
2383
2279
|
export interface ServiceRequestData {
|
|
2280
|
+
/**
|
|
2281
|
+
*
|
|
2282
|
+
* @type {Array<object>}
|
|
2283
|
+
* @memberof ServiceRequestData
|
|
2284
|
+
*/
|
|
2285
|
+
'tenant_member'?: Array<object>;
|
|
2384
2286
|
/**
|
|
2385
2287
|
*
|
|
2386
2288
|
* @type {RequesterData}
|
|
@@ -3634,10 +3536,10 @@ export interface WrappedArrayResponseIssueTypeData {
|
|
|
3634
3536
|
export interface WrappedArrayResponseSensorsIndexResponseData {
|
|
3635
3537
|
/**
|
|
3636
3538
|
*
|
|
3637
|
-
* @type {Array<
|
|
3539
|
+
* @type {Array<FloorSensorData>}
|
|
3638
3540
|
* @memberof WrappedArrayResponseSensorsIndexResponseData
|
|
3639
3541
|
*/
|
|
3640
|
-
'data': Array<
|
|
3542
|
+
'data': Array<FloorSensorData>;
|
|
3641
3543
|
}
|
|
3642
3544
|
/**
|
|
3643
3545
|
*
|
|
@@ -4614,12 +4516,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
4614
4516
|
/**
|
|
4615
4517
|
*
|
|
4616
4518
|
* @param {string} towerId
|
|
4617
|
-
* @param {string} [acceptLanguage]
|
|
4618
4519
|
* @param {string} [memberId]
|
|
4619
4520
|
* @param {*} [options] Override http request option.
|
|
4620
4521
|
* @throws {RequiredError}
|
|
4621
4522
|
*/
|
|
4622
|
-
sensorsIndex: (towerId: string,
|
|
4523
|
+
sensorsIndex: (towerId: string, memberId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4623
4524
|
/**
|
|
4624
4525
|
*
|
|
4625
4526
|
* @param {ServiceRequestBody} serviceRequestBody
|
|
@@ -4919,12 +4820,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
4919
4820
|
/**
|
|
4920
4821
|
*
|
|
4921
4822
|
* @param {string} towerId
|
|
4922
|
-
* @param {string} [acceptLanguage]
|
|
4923
4823
|
* @param {string} [memberId]
|
|
4924
4824
|
* @param {*} [options] Override http request option.
|
|
4925
4825
|
* @throws {RequiredError}
|
|
4926
4826
|
*/
|
|
4927
|
-
sensorsIndex(towerId: string,
|
|
4827
|
+
sensorsIndex(towerId: string, memberId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>>;
|
|
4928
4828
|
/**
|
|
4929
4829
|
*
|
|
4930
4830
|
* @param {ServiceRequestBody} serviceRequestBody
|
|
@@ -5224,12 +5124,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
5224
5124
|
/**
|
|
5225
5125
|
*
|
|
5226
5126
|
* @param {string} towerId
|
|
5227
|
-
* @param {string} [acceptLanguage]
|
|
5228
5127
|
* @param {string} [memberId]
|
|
5229
5128
|
* @param {*} [options] Override http request option.
|
|
5230
5129
|
* @throws {RequiredError}
|
|
5231
5130
|
*/
|
|
5232
|
-
sensorsIndex(towerId: string,
|
|
5131
|
+
sensorsIndex(towerId: string, memberId?: string, options?: any): AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>;
|
|
5233
5132
|
/**
|
|
5234
5133
|
*
|
|
5235
5134
|
* @param {ServiceRequestBody} serviceRequestBody
|
|
@@ -5557,13 +5456,12 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
5557
5456
|
/**
|
|
5558
5457
|
*
|
|
5559
5458
|
* @param {string} towerId
|
|
5560
|
-
* @param {string} [acceptLanguage]
|
|
5561
5459
|
* @param {string} [memberId]
|
|
5562
5460
|
* @param {*} [options] Override http request option.
|
|
5563
5461
|
* @throws {RequiredError}
|
|
5564
5462
|
* @memberof DefaultApi
|
|
5565
5463
|
*/
|
|
5566
|
-
sensorsIndex(towerId: string,
|
|
5464
|
+
sensorsIndex(towerId: string, memberId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedArrayResponseSensorsIndexResponseData, any>>;
|
|
5567
5465
|
/**
|
|
5568
5466
|
*
|
|
5569
5467
|
* @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
|
*
|