ob-bms-sdk 0.0.85 → 0.0.87

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 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
@@ -1990,10 +2191,10 @@ export interface RateDetail {
1990
2191
  export interface RequesterData {
1991
2192
  /**
1992
2193
  *
1993
- * @type {RequesterDataTenantMember}
2194
+ * @type {Array<RequesterDataTenantMembersInner>}
1994
2195
  * @memberof RequesterData
1995
2196
  */
1996
- 'tenant_member'?: RequesterDataTenantMember;
2197
+ 'tenant_members'?: Array<RequesterDataTenantMembersInner>;
1997
2198
  /**
1998
2199
  *
1999
2200
  * @type {string}
@@ -2034,15 +2235,15 @@ export interface RequesterData {
2034
2235
  /**
2035
2236
  *
2036
2237
  * @export
2037
- * @interface RequesterDataTenantMember
2238
+ * @interface RequesterDataTenantMembersInner
2038
2239
  */
2039
- export interface RequesterDataTenantMember {
2240
+ export interface RequesterDataTenantMembersInner {
2040
2241
  /**
2041
2242
  *
2042
- * @type {Array<TenantData>}
2043
- * @memberof RequesterDataTenantMember
2243
+ * @type {TenantData}
2244
+ * @memberof RequesterDataTenantMembersInner
2044
2245
  */
2045
- 'tenant': Array<TenantData>;
2246
+ 'tenant': TenantData;
2046
2247
  }
2047
2248
  /**
2048
2249
  *
@@ -2105,9 +2306,40 @@ export interface SensorData {
2105
2306
  * @memberof SensorData
2106
2307
  */
2107
2308
  'updated_at': string;
2309
+ /**
2310
+ *
2311
+ * @type {string}
2312
+ * @memberof SensorData
2313
+ */
2314
+ 'indicator': string;
2315
+ /**
2316
+ *
2317
+ * @type {string}
2318
+ * @memberof SensorData
2319
+ */
2320
+ 'color_code': string;
2108
2321
  }
2109
2322
 
2110
2323
 
2324
+ /**
2325
+ *
2326
+ * @export
2327
+ * @interface SensorIndicatorData
2328
+ */
2329
+ export interface SensorIndicatorData {
2330
+ /**
2331
+ *
2332
+ * @type {Array<AirQualityIndex>}
2333
+ * @memberof SensorIndicatorData
2334
+ */
2335
+ 'indicator': Array<AirQualityIndex>;
2336
+ /**
2337
+ *
2338
+ * @type {Array<FloorSensorData>}
2339
+ * @memberof SensorIndicatorData
2340
+ */
2341
+ 'floors': Array<FloorSensorData>;
2342
+ }
2111
2343
  /**
2112
2344
  *
2113
2345
  * @export
@@ -2201,10 +2433,10 @@ export interface ServiceRequestBody {
2201
2433
  export interface ServiceRequestData {
2202
2434
  /**
2203
2435
  *
2204
- * @type {Array<object>}
2436
+ * @type {Array<RequesterDataTenantMembersInner>}
2205
2437
  * @memberof ServiceRequestData
2206
2438
  */
2207
- 'tenant_member'?: Array<object>;
2439
+ 'tenant_members'?: Array<RequesterDataTenantMembersInner>;
2208
2440
  /**
2209
2441
  *
2210
2442
  * @type {RequesterData}
@@ -3475,10 +3707,10 @@ export interface WrappedArrayResponseIssueTypeData {
3475
3707
  export interface WrappedArrayResponseSensorsIndexResponseData {
3476
3708
  /**
3477
3709
  *
3478
- * @type {Array<FloorSensorData>}
3710
+ * @type {Array<SensorIndicatorData>}
3479
3711
  * @memberof WrappedArrayResponseSensorsIndexResponseData
3480
3712
  */
3481
- 'data': Array<FloorSensorData>;
3713
+ 'data': Array<SensorIndicatorData>;
3482
3714
  }
3483
3715
  /**
3484
3716
  *
@@ -5247,11 +5479,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5247
5479
  /**
5248
5480
  *
5249
5481
  * @param {string} towerId
5482
+ * @param {string} [acceptLanguage]
5250
5483
  * @param {string} [memberId]
5251
5484
  * @param {*} [options] Override http request option.
5252
5485
  * @throws {RequiredError}
5253
5486
  */
5254
- sensorsIndex: async (towerId: string, memberId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5487
+ sensorsIndex: async (towerId: string, acceptLanguage?: string, memberId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5255
5488
  // verify required parameter 'towerId' is not null or undefined
5256
5489
  assertParamExists('sensorsIndex', 'towerId', towerId)
5257
5490
  const localVarPath = `/sensors`;
@@ -5274,6 +5507,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
5274
5507
  localVarQueryParameter['member_id'] = memberId;
5275
5508
  }
5276
5509
 
5510
+ if (acceptLanguage != null) {
5511
+ localVarHeaderParameter['accept-language'] = String(acceptLanguage);
5512
+ }
5513
+
5277
5514
 
5278
5515
 
5279
5516
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -6010,12 +6247,13 @@ export const DefaultApiFp = function(configuration?: Configuration) {
6010
6247
  /**
6011
6248
  *
6012
6249
  * @param {string} towerId
6250
+ * @param {string} [acceptLanguage]
6013
6251
  * @param {string} [memberId]
6014
6252
  * @param {*} [options] Override http request option.
6015
6253
  * @throws {RequiredError}
6016
6254
  */
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);
6255
+ async sensorsIndex(towerId: string, acceptLanguage?: string, memberId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>> {
6256
+ const localVarAxiosArgs = await localVarAxiosParamCreator.sensorsIndex(towerId, acceptLanguage, memberId, options);
6019
6257
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6020
6258
  },
6021
6259
  /**
@@ -6409,12 +6647,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
6409
6647
  /**
6410
6648
  *
6411
6649
  * @param {string} towerId
6650
+ * @param {string} [acceptLanguage]
6412
6651
  * @param {string} [memberId]
6413
6652
  * @param {*} [options] Override http request option.
6414
6653
  * @throws {RequiredError}
6415
6654
  */
6416
- sensorsIndex(towerId: string, memberId?: string, options?: any): AxiosPromise<WrappedArrayResponseSensorsIndexResponseData> {
6417
- return localVarFp.sensorsIndex(towerId, memberId, options).then((request) => request(axios, basePath));
6655
+ sensorsIndex(towerId: string, acceptLanguage?: string, memberId?: string, options?: any): AxiosPromise<WrappedArrayResponseSensorsIndexResponseData> {
6656
+ return localVarFp.sensorsIndex(towerId, acceptLanguage, memberId, options).then((request) => request(axios, basePath));
6418
6657
  },
6419
6658
  /**
6420
6659
  *
@@ -6847,13 +7086,14 @@ export class DefaultApi extends BaseAPI {
6847
7086
  /**
6848
7087
  *
6849
7088
  * @param {string} towerId
7089
+ * @param {string} [acceptLanguage]
6850
7090
  * @param {string} [memberId]
6851
7091
  * @param {*} [options] Override http request option.
6852
7092
  * @throws {RequiredError}
6853
7093
  * @memberof DefaultApi
6854
7094
  */
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));
7095
+ public sensorsIndex(towerId: string, acceptLanguage?: string, memberId?: string, options?: AxiosRequestConfig) {
7096
+ return DefaultApiFp(this.configuration).sensorsIndex(towerId, acceptLanguage, memberId, options).then((request) => request(this.axios, this.basePath));
6857
7097
  }
6858
7098
 
6859
7099
  /**
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
@@ -1965,10 +2166,10 @@ export interface RateDetail {
1965
2166
  export interface RequesterData {
1966
2167
  /**
1967
2168
  *
1968
- * @type {RequesterDataTenantMember}
2169
+ * @type {Array<RequesterDataTenantMembersInner>}
1969
2170
  * @memberof RequesterData
1970
2171
  */
1971
- 'tenant_member'?: RequesterDataTenantMember;
2172
+ 'tenant_members'?: Array<RequesterDataTenantMembersInner>;
1972
2173
  /**
1973
2174
  *
1974
2175
  * @type {string}
@@ -2009,15 +2210,15 @@ export interface RequesterData {
2009
2210
  /**
2010
2211
  *
2011
2212
  * @export
2012
- * @interface RequesterDataTenantMember
2213
+ * @interface RequesterDataTenantMembersInner
2013
2214
  */
2014
- export interface RequesterDataTenantMember {
2215
+ export interface RequesterDataTenantMembersInner {
2015
2216
  /**
2016
2217
  *
2017
- * @type {Array<TenantData>}
2018
- * @memberof RequesterDataTenantMember
2218
+ * @type {TenantData}
2219
+ * @memberof RequesterDataTenantMembersInner
2019
2220
  */
2020
- 'tenant': Array<TenantData>;
2221
+ 'tenant': TenantData;
2021
2222
  }
2022
2223
  /**
2023
2224
  *
@@ -2080,6 +2281,37 @@ export interface SensorData {
2080
2281
  * @memberof SensorData
2081
2282
  */
2082
2283
  'updated_at': string;
2284
+ /**
2285
+ *
2286
+ * @type {string}
2287
+ * @memberof SensorData
2288
+ */
2289
+ 'indicator': string;
2290
+ /**
2291
+ *
2292
+ * @type {string}
2293
+ * @memberof SensorData
2294
+ */
2295
+ 'color_code': string;
2296
+ }
2297
+ /**
2298
+ *
2299
+ * @export
2300
+ * @interface SensorIndicatorData
2301
+ */
2302
+ export interface SensorIndicatorData {
2303
+ /**
2304
+ *
2305
+ * @type {Array<AirQualityIndex>}
2306
+ * @memberof SensorIndicatorData
2307
+ */
2308
+ 'indicator': Array<AirQualityIndex>;
2309
+ /**
2310
+ *
2311
+ * @type {Array<FloorSensorData>}
2312
+ * @memberof SensorIndicatorData
2313
+ */
2314
+ 'floors': Array<FloorSensorData>;
2083
2315
  }
2084
2316
  /**
2085
2317
  *
@@ -2170,10 +2402,10 @@ export interface ServiceRequestBody {
2170
2402
  export interface ServiceRequestData {
2171
2403
  /**
2172
2404
  *
2173
- * @type {Array<object>}
2405
+ * @type {Array<RequesterDataTenantMembersInner>}
2174
2406
  * @memberof ServiceRequestData
2175
2407
  */
2176
- 'tenant_member'?: Array<object>;
2408
+ 'tenant_members'?: Array<RequesterDataTenantMembersInner>;
2177
2409
  /**
2178
2410
  *
2179
2411
  * @type {RequesterData}
@@ -3427,10 +3659,10 @@ export interface WrappedArrayResponseIssueTypeData {
3427
3659
  export interface WrappedArrayResponseSensorsIndexResponseData {
3428
3660
  /**
3429
3661
  *
3430
- * @type {Array<FloorSensorData>}
3662
+ * @type {Array<SensorIndicatorData>}
3431
3663
  * @memberof WrappedArrayResponseSensorsIndexResponseData
3432
3664
  */
3433
- 'data': Array<FloorSensorData>;
3665
+ 'data': Array<SensorIndicatorData>;
3434
3666
  }
3435
3667
  /**
3436
3668
  *
@@ -4407,11 +4639,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
4407
4639
  /**
4408
4640
  *
4409
4641
  * @param {string} towerId
4642
+ * @param {string} [acceptLanguage]
4410
4643
  * @param {string} [memberId]
4411
4644
  * @param {*} [options] Override http request option.
4412
4645
  * @throws {RequiredError}
4413
4646
  */
4414
- sensorsIndex: (towerId: string, memberId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4647
+ sensorsIndex: (towerId: string, acceptLanguage?: string, memberId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
4415
4648
  /**
4416
4649
  *
4417
4650
  * @param {ServiceRequestBody} serviceRequestBody
@@ -4711,11 +4944,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
4711
4944
  /**
4712
4945
  *
4713
4946
  * @param {string} towerId
4947
+ * @param {string} [acceptLanguage]
4714
4948
  * @param {string} [memberId]
4715
4949
  * @param {*} [options] Override http request option.
4716
4950
  * @throws {RequiredError}
4717
4951
  */
4718
- sensorsIndex(towerId: string, memberId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>>;
4952
+ sensorsIndex(towerId: string, acceptLanguage?: string, memberId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>>;
4719
4953
  /**
4720
4954
  *
4721
4955
  * @param {ServiceRequestBody} serviceRequestBody
@@ -5015,11 +5249,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
5015
5249
  /**
5016
5250
  *
5017
5251
  * @param {string} towerId
5252
+ * @param {string} [acceptLanguage]
5018
5253
  * @param {string} [memberId]
5019
5254
  * @param {*} [options] Override http request option.
5020
5255
  * @throws {RequiredError}
5021
5256
  */
5022
- sensorsIndex(towerId: string, memberId?: string, options?: any): AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>;
5257
+ sensorsIndex(towerId: string, acceptLanguage?: string, memberId?: string, options?: any): AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>;
5023
5258
  /**
5024
5259
  *
5025
5260
  * @param {ServiceRequestBody} serviceRequestBody
@@ -5347,12 +5582,13 @@ export declare class DefaultApi extends BaseAPI {
5347
5582
  /**
5348
5583
  *
5349
5584
  * @param {string} towerId
5585
+ * @param {string} [acceptLanguage]
5350
5586
  * @param {string} [memberId]
5351
5587
  * @param {*} [options] Override http request option.
5352
5588
  * @throws {RequiredError}
5353
5589
  * @memberof DefaultApi
5354
5590
  */
5355
- sensorsIndex(towerId: string, memberId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedArrayResponseSensorsIndexResponseData, any>>;
5591
+ sensorsIndex(towerId: string, acceptLanguage?: string, memberId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedArrayResponseSensorsIndexResponseData, any>>;
5356
5592
  /**
5357
5593
  *
5358
5594
  * @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
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.85",
3
+ "version": "0.0.87",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"