ob-bms-sdk 0.0.65 → 0.0.67

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
@@ -23,6 +23,49 @@ import type { RequestArgs } from './base';
23
23
  // @ts-ignore
24
24
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError } from './base';
25
25
 
26
+ /**
27
+ *
28
+ * @export
29
+ * @interface ACZoneData
30
+ */
31
+ export interface ACZoneData {
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof ACZoneData
36
+ */
37
+ 'updated_at': string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof ACZoneData
42
+ */
43
+ 'created_at': string;
44
+ /**
45
+ *
46
+ * @type {number}
47
+ * @memberof ACZoneData
48
+ */
49
+ 'area_size': number;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof ACZoneData
54
+ */
55
+ 'name': string;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof ACZoneData
60
+ */
61
+ 'floor_id': string;
62
+ /**
63
+ *
64
+ * @type {string}
65
+ * @memberof ACZoneData
66
+ */
67
+ 'id': string;
68
+ }
26
69
  /**
27
70
  *
28
71
  * @export
@@ -524,6 +567,25 @@ export interface FloorDataPasses {
524
567
  */
525
568
  'updated_at': string;
526
569
  }
570
+ /**
571
+ *
572
+ * @export
573
+ * @interface FloorSensorData
574
+ */
575
+ export interface FloorSensorData {
576
+ /**
577
+ *
578
+ * @type {Array<SensorData>}
579
+ * @memberof FloorSensorData
580
+ */
581
+ 'sensors': Array<SensorData>;
582
+ /**
583
+ *
584
+ * @type {string}
585
+ * @memberof FloorSensorData
586
+ */
587
+ 'floor_id': string;
588
+ }
527
589
  /**
528
590
  *
529
591
  * @export
@@ -1459,6 +1521,12 @@ export interface SensorsIndexQuery {
1459
1521
  * @memberof SensorsIndexQuery
1460
1522
  */
1461
1523
  'tower_id': string;
1524
+ /**
1525
+ *
1526
+ * @type {string}
1527
+ * @memberof SensorsIndexQuery
1528
+ */
1529
+ 'member_id'?: string;
1462
1530
  }
1463
1531
  /**
1464
1532
  *
@@ -2552,10 +2620,66 @@ export interface WebhookCreateBodyPayload {
2552
2620
  export interface WrappedArrayResponseSensorsIndexResponseData {
2553
2621
  /**
2554
2622
  *
2555
- * @type {Array<SensorData>}
2623
+ * @type {Array<FloorSensorData>}
2556
2624
  * @memberof WrappedArrayResponseSensorsIndexResponseData
2557
2625
  */
2558
- 'data': Array<SensorData>;
2626
+ 'data': Array<FloorSensorData>;
2627
+ }
2628
+ /**
2629
+ *
2630
+ * @export
2631
+ * @interface WrappedResponseACZoneData
2632
+ */
2633
+ export interface WrappedResponseACZoneData {
2634
+ /**
2635
+ *
2636
+ * @type {WrappedResponseACZoneDataData}
2637
+ * @memberof WrappedResponseACZoneData
2638
+ */
2639
+ 'data': WrappedResponseACZoneDataData | null;
2640
+ }
2641
+ /**
2642
+ *
2643
+ * @export
2644
+ * @interface WrappedResponseACZoneDataData
2645
+ */
2646
+ export interface WrappedResponseACZoneDataData {
2647
+ /**
2648
+ *
2649
+ * @type {string}
2650
+ * @memberof WrappedResponseACZoneDataData
2651
+ */
2652
+ 'updated_at': string;
2653
+ /**
2654
+ *
2655
+ * @type {string}
2656
+ * @memberof WrappedResponseACZoneDataData
2657
+ */
2658
+ 'created_at': string;
2659
+ /**
2660
+ *
2661
+ * @type {number}
2662
+ * @memberof WrappedResponseACZoneDataData
2663
+ */
2664
+ 'area_size': number;
2665
+ /**
2666
+ *
2667
+ * @type {string}
2668
+ * @memberof WrappedResponseACZoneDataData
2669
+ */
2670
+ 'name': string;
2671
+ /**
2672
+ *
2673
+ * @type {string}
2674
+ * @memberof WrappedResponseACZoneDataData
2675
+ */
2676
+ 'floor_id': string;
2677
+ /**
2678
+ *
2679
+ * @type {string}
2680
+ * @memberof WrappedResponseACZoneDataData
2681
+ */
2682
+ 'id': string;
2559
2683
  }
2560
2684
  /**
2561
2685
  *
@@ -3344,6 +3468,39 @@ export interface WrappedResponseVisitorTokensIndexResponseDataData {
3344
3468
  */
3345
3469
  export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
3346
3470
  return {
3471
+ /**
3472
+ *
3473
+ * @param {string} floorId
3474
+ * @param {*} [options] Override http request option.
3475
+ * @throws {RequiredError}
3476
+ */
3477
+ acZonesShow: async (floorId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3478
+ // verify required parameter 'floorId' is not null or undefined
3479
+ assertParamExists('acZonesShow', 'floorId', floorId)
3480
+ const localVarPath = `/ac_zones/{floor_id}`
3481
+ .replace(`{${"floor_id"}}`, encodeURIComponent(String(floorId)));
3482
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3483
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3484
+ let baseOptions;
3485
+ if (configuration) {
3486
+ baseOptions = configuration.baseOptions;
3487
+ }
3488
+
3489
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3490
+ const localVarHeaderParameter = {} as any;
3491
+ const localVarQueryParameter = {} as any;
3492
+
3493
+
3494
+
3495
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3496
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3497
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3498
+
3499
+ return {
3500
+ url: toPathString(localVarUrlObj),
3501
+ options: localVarRequestOptions,
3502
+ };
3503
+ },
3347
3504
  /**
3348
3505
  *
3349
3506
  * @param {WebhookCreateBody} webhookCreateBody
@@ -3987,10 +4144,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3987
4144
  /**
3988
4145
  *
3989
4146
  * @param {string} towerId
4147
+ * @param {string} [memberId]
3990
4148
  * @param {*} [options] Override http request option.
3991
4149
  * @throws {RequiredError}
3992
4150
  */
3993
- sensorsIndex: async (towerId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4151
+ sensorsIndex: async (towerId: string, memberId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3994
4152
  // verify required parameter 'towerId' is not null or undefined
3995
4153
  assertParamExists('sensorsIndex', 'towerId', towerId)
3996
4154
  const localVarPath = `/sensors`;
@@ -4009,6 +4167,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4009
4167
  localVarQueryParameter['tower_id'] = towerId;
4010
4168
  }
4011
4169
 
4170
+ if (memberId !== undefined) {
4171
+ localVarQueryParameter['member_id'] = memberId;
4172
+ }
4173
+
4012
4174
 
4013
4175
 
4014
4176
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4327,6 +4489,16 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4327
4489
  export const DefaultApiFp = function(configuration?: Configuration) {
4328
4490
  const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
4329
4491
  return {
4492
+ /**
4493
+ *
4494
+ * @param {string} floorId
4495
+ * @param {*} [options] Override http request option.
4496
+ * @throws {RequiredError}
4497
+ */
4498
+ async acZonesShow(floorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseACZoneData>> {
4499
+ const localVarAxiosArgs = await localVarAxiosParamCreator.acZonesShow(floorId, options);
4500
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4501
+ },
4330
4502
  /**
4331
4503
  *
4332
4504
  * @param {WebhookCreateBody} webhookCreateBody
@@ -4511,11 +4683,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4511
4683
  /**
4512
4684
  *
4513
4685
  * @param {string} towerId
4686
+ * @param {string} [memberId]
4514
4687
  * @param {*} [options] Override http request option.
4515
4688
  * @throws {RequiredError}
4516
4689
  */
4517
- async sensorsIndex(towerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>> {
4518
- const localVarAxiosArgs = await localVarAxiosParamCreator.sensorsIndex(towerId, options);
4690
+ async sensorsIndex(towerId: string, memberId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>> {
4691
+ const localVarAxiosArgs = await localVarAxiosParamCreator.sensorsIndex(towerId, memberId, options);
4519
4692
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4520
4693
  },
4521
4694
  /**
@@ -4613,6 +4786,15 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4613
4786
  export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
4614
4787
  const localVarFp = DefaultApiFp(configuration)
4615
4788
  return {
4789
+ /**
4790
+ *
4791
+ * @param {string} floorId
4792
+ * @param {*} [options] Override http request option.
4793
+ * @throws {RequiredError}
4794
+ */
4795
+ acZonesShow(floorId: string, options?: any): AxiosPromise<WrappedResponseACZoneData> {
4796
+ return localVarFp.acZonesShow(floorId, options).then((request) => request(axios, basePath));
4797
+ },
4616
4798
  /**
4617
4799
  *
4618
4800
  * @param {WebhookCreateBody} webhookCreateBody
@@ -4780,11 +4962,12 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
4780
4962
  /**
4781
4963
  *
4782
4964
  * @param {string} towerId
4965
+ * @param {string} [memberId]
4783
4966
  * @param {*} [options] Override http request option.
4784
4967
  * @throws {RequiredError}
4785
4968
  */
4786
- sensorsIndex(towerId: string, options?: any): AxiosPromise<WrappedArrayResponseSensorsIndexResponseData> {
4787
- return localVarFp.sensorsIndex(towerId, options).then((request) => request(axios, basePath));
4969
+ sensorsIndex(towerId: string, memberId?: string, options?: any): AxiosPromise<WrappedArrayResponseSensorsIndexResponseData> {
4970
+ return localVarFp.sensorsIndex(towerId, memberId, options).then((request) => request(axios, basePath));
4788
4971
  },
4789
4972
  /**
4790
4973
  *
@@ -4873,6 +5056,17 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
4873
5056
  * @extends {BaseAPI}
4874
5057
  */
4875
5058
  export class DefaultApi extends BaseAPI {
5059
+ /**
5060
+ *
5061
+ * @param {string} floorId
5062
+ * @param {*} [options] Override http request option.
5063
+ * @throws {RequiredError}
5064
+ * @memberof DefaultApi
5065
+ */
5066
+ public acZonesShow(floorId: string, options?: AxiosRequestConfig) {
5067
+ return DefaultApiFp(this.configuration).acZonesShow(floorId, options).then((request) => request(this.axios, this.basePath));
5068
+ }
5069
+
4876
5070
  /**
4877
5071
  *
4878
5072
  * @param {WebhookCreateBody} webhookCreateBody
@@ -5074,12 +5268,13 @@ export class DefaultApi extends BaseAPI {
5074
5268
  /**
5075
5269
  *
5076
5270
  * @param {string} towerId
5271
+ * @param {string} [memberId]
5077
5272
  * @param {*} [options] Override http request option.
5078
5273
  * @throws {RequiredError}
5079
5274
  * @memberof DefaultApi
5080
5275
  */
5081
- public sensorsIndex(towerId: string, options?: AxiosRequestConfig) {
5082
- return DefaultApiFp(this.configuration).sensorsIndex(towerId, options).then((request) => request(this.axios, this.basePath));
5276
+ public sensorsIndex(towerId: string, memberId?: string, options?: AxiosRequestConfig) {
5277
+ return DefaultApiFp(this.configuration).sensorsIndex(towerId, memberId, options).then((request) => request(this.axios, this.basePath));
5083
5278
  }
5084
5279
 
5085
5280
  /**
package/dist/api/api.d.ts CHANGED
@@ -13,6 +13,49 @@ import type { Configuration } from './configuration';
13
13
  import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
14
14
  import type { RequestArgs } from './base';
15
15
  import { BaseAPI } from './base';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ACZoneData
20
+ */
21
+ export interface ACZoneData {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ACZoneData
26
+ */
27
+ 'updated_at': string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ACZoneData
32
+ */
33
+ 'created_at': string;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof ACZoneData
38
+ */
39
+ 'area_size': number;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof ACZoneData
44
+ */
45
+ 'name': string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof ACZoneData
50
+ */
51
+ 'floor_id': string;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof ACZoneData
56
+ */
57
+ 'id': string;
58
+ }
16
59
  /**
17
60
  *
18
61
  * @export
@@ -522,6 +565,25 @@ export interface FloorDataPasses {
522
565
  */
523
566
  'updated_at': string;
524
567
  }
568
+ /**
569
+ *
570
+ * @export
571
+ * @interface FloorSensorData
572
+ */
573
+ export interface FloorSensorData {
574
+ /**
575
+ *
576
+ * @type {Array<SensorData>}
577
+ * @memberof FloorSensorData
578
+ */
579
+ 'sensors': Array<SensorData>;
580
+ /**
581
+ *
582
+ * @type {string}
583
+ * @memberof FloorSensorData
584
+ */
585
+ 'floor_id': string;
586
+ }
525
587
  /**
526
588
  *
527
589
  * @export
@@ -1442,6 +1504,12 @@ export interface SensorsIndexQuery {
1442
1504
  * @memberof SensorsIndexQuery
1443
1505
  */
1444
1506
  'tower_id': string;
1507
+ /**
1508
+ *
1509
+ * @type {string}
1510
+ * @memberof SensorsIndexQuery
1511
+ */
1512
+ 'member_id'?: string;
1445
1513
  }
1446
1514
  /**
1447
1515
  *
@@ -2526,10 +2594,66 @@ export interface WebhookCreateBodyPayload {
2526
2594
  export interface WrappedArrayResponseSensorsIndexResponseData {
2527
2595
  /**
2528
2596
  *
2529
- * @type {Array<SensorData>}
2597
+ * @type {Array<FloorSensorData>}
2530
2598
  * @memberof WrappedArrayResponseSensorsIndexResponseData
2531
2599
  */
2532
- 'data': Array<SensorData>;
2600
+ 'data': Array<FloorSensorData>;
2601
+ }
2602
+ /**
2603
+ *
2604
+ * @export
2605
+ * @interface WrappedResponseACZoneData
2606
+ */
2607
+ export interface WrappedResponseACZoneData {
2608
+ /**
2609
+ *
2610
+ * @type {WrappedResponseACZoneDataData}
2611
+ * @memberof WrappedResponseACZoneData
2612
+ */
2613
+ 'data': WrappedResponseACZoneDataData | null;
2614
+ }
2615
+ /**
2616
+ *
2617
+ * @export
2618
+ * @interface WrappedResponseACZoneDataData
2619
+ */
2620
+ export interface WrappedResponseACZoneDataData {
2621
+ /**
2622
+ *
2623
+ * @type {string}
2624
+ * @memberof WrappedResponseACZoneDataData
2625
+ */
2626
+ 'updated_at': string;
2627
+ /**
2628
+ *
2629
+ * @type {string}
2630
+ * @memberof WrappedResponseACZoneDataData
2631
+ */
2632
+ 'created_at': string;
2633
+ /**
2634
+ *
2635
+ * @type {number}
2636
+ * @memberof WrappedResponseACZoneDataData
2637
+ */
2638
+ 'area_size': number;
2639
+ /**
2640
+ *
2641
+ * @type {string}
2642
+ * @memberof WrappedResponseACZoneDataData
2643
+ */
2644
+ 'name': string;
2645
+ /**
2646
+ *
2647
+ * @type {string}
2648
+ * @memberof WrappedResponseACZoneDataData
2649
+ */
2650
+ 'floor_id': string;
2651
+ /**
2652
+ *
2653
+ * @type {string}
2654
+ * @memberof WrappedResponseACZoneDataData
2655
+ */
2656
+ 'id': string;
2533
2657
  }
2534
2658
  /**
2535
2659
  *
@@ -3310,6 +3434,13 @@ export interface WrappedResponseVisitorTokensIndexResponseDataData {
3310
3434
  * @export
3311
3435
  */
3312
3436
  export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
3437
+ /**
3438
+ *
3439
+ * @param {string} floorId
3440
+ * @param {*} [options] Override http request option.
3441
+ * @throws {RequiredError}
3442
+ */
3443
+ acZonesShow: (floorId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3313
3444
  /**
3314
3445
  *
3315
3446
  * @param {WebhookCreateBody} webhookCreateBody
@@ -3443,10 +3574,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
3443
3574
  /**
3444
3575
  *
3445
3576
  * @param {string} towerId
3577
+ * @param {string} [memberId]
3446
3578
  * @param {*} [options] Override http request option.
3447
3579
  * @throws {RequiredError}
3448
3580
  */
3449
- sensorsIndex: (towerId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3581
+ sensorsIndex: (towerId: string, memberId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3450
3582
  /**
3451
3583
  *
3452
3584
  * @param {ServiceRequestBody} serviceRequestBody
@@ -3514,6 +3646,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
3514
3646
  * @export
3515
3647
  */
3516
3648
  export declare const DefaultApiFp: (configuration?: Configuration) => {
3649
+ /**
3650
+ *
3651
+ * @param {string} floorId
3652
+ * @param {*} [options] Override http request option.
3653
+ * @throws {RequiredError}
3654
+ */
3655
+ acZonesShow(floorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseACZoneData>>;
3517
3656
  /**
3518
3657
  *
3519
3658
  * @param {WebhookCreateBody} webhookCreateBody
@@ -3647,10 +3786,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
3647
3786
  /**
3648
3787
  *
3649
3788
  * @param {string} towerId
3789
+ * @param {string} [memberId]
3650
3790
  * @param {*} [options] Override http request option.
3651
3791
  * @throws {RequiredError}
3652
3792
  */
3653
- sensorsIndex(towerId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>>;
3793
+ sensorsIndex(towerId: string, memberId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>>;
3654
3794
  /**
3655
3795
  *
3656
3796
  * @param {ServiceRequestBody} serviceRequestBody
@@ -3718,6 +3858,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
3718
3858
  * @export
3719
3859
  */
3720
3860
  export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3861
+ /**
3862
+ *
3863
+ * @param {string} floorId
3864
+ * @param {*} [options] Override http request option.
3865
+ * @throws {RequiredError}
3866
+ */
3867
+ acZonesShow(floorId: string, options?: any): AxiosPromise<WrappedResponseACZoneData>;
3721
3868
  /**
3722
3869
  *
3723
3870
  * @param {WebhookCreateBody} webhookCreateBody
@@ -3851,10 +3998,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
3851
3998
  /**
3852
3999
  *
3853
4000
  * @param {string} towerId
4001
+ * @param {string} [memberId]
3854
4002
  * @param {*} [options] Override http request option.
3855
4003
  * @throws {RequiredError}
3856
4004
  */
3857
- sensorsIndex(towerId: string, options?: any): AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>;
4005
+ sensorsIndex(towerId: string, memberId?: string, options?: any): AxiosPromise<WrappedArrayResponseSensorsIndexResponseData>;
3858
4006
  /**
3859
4007
  *
3860
4008
  * @param {ServiceRequestBody} serviceRequestBody
@@ -3924,6 +4072,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
3924
4072
  * @extends {BaseAPI}
3925
4073
  */
3926
4074
  export declare class DefaultApi extends BaseAPI {
4075
+ /**
4076
+ *
4077
+ * @param {string} floorId
4078
+ * @param {*} [options] Override http request option.
4079
+ * @throws {RequiredError}
4080
+ * @memberof DefaultApi
4081
+ */
4082
+ acZonesShow(floorId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseACZoneData, any>>;
3927
4083
  /**
3928
4084
  *
3929
4085
  * @param {WebhookCreateBody} webhookCreateBody
@@ -4074,11 +4230,12 @@ export declare class DefaultApi extends BaseAPI {
4074
4230
  /**
4075
4231
  *
4076
4232
  * @param {string} towerId
4233
+ * @param {string} [memberId]
4077
4234
  * @param {*} [options] Override http request option.
4078
4235
  * @throws {RequiredError}
4079
4236
  * @memberof DefaultApi
4080
4237
  */
4081
- sensorsIndex(towerId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedArrayResponseSensorsIndexResponseData, any>>;
4238
+ sensorsIndex(towerId: string, memberId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedArrayResponseSensorsIndexResponseData, any>>;
4082
4239
  /**
4083
4240
  *
4084
4241
  * @param {ServiceRequestBody} serviceRequestBody
package/dist/api/api.js CHANGED
@@ -84,6 +84,34 @@ exports.WrappedResponsePassConsentResponseDataStatusEnum = {
84
84
  */
85
85
  const DefaultApiAxiosParamCreator = function (configuration) {
86
86
  return {
87
+ /**
88
+ *
89
+ * @param {string} floorId
90
+ * @param {*} [options] Override http request option.
91
+ * @throws {RequiredError}
92
+ */
93
+ acZonesShow: (floorId, options = {}) => __awaiter(this, void 0, void 0, function* () {
94
+ // verify required parameter 'floorId' is not null or undefined
95
+ (0, common_1.assertParamExists)('acZonesShow', 'floorId', floorId);
96
+ const localVarPath = `/ac_zones/{floor_id}`
97
+ .replace(`{${"floor_id"}}`, encodeURIComponent(String(floorId)));
98
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
99
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
100
+ let baseOptions;
101
+ if (configuration) {
102
+ baseOptions = configuration.baseOptions;
103
+ }
104
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
105
+ const localVarHeaderParameter = {};
106
+ const localVarQueryParameter = {};
107
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
108
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
109
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
110
+ return {
111
+ url: (0, common_1.toPathString)(localVarUrlObj),
112
+ options: localVarRequestOptions,
113
+ };
114
+ }),
87
115
  /**
88
116
  *
89
117
  * @param {WebhookCreateBody} webhookCreateBody
@@ -622,10 +650,11 @@ const DefaultApiAxiosParamCreator = function (configuration) {
622
650
  /**
623
651
  *
624
652
  * @param {string} towerId
653
+ * @param {string} [memberId]
625
654
  * @param {*} [options] Override http request option.
626
655
  * @throws {RequiredError}
627
656
  */
628
- sensorsIndex: (towerId, options = {}) => __awaiter(this, void 0, void 0, function* () {
657
+ sensorsIndex: (towerId, memberId, options = {}) => __awaiter(this, void 0, void 0, function* () {
629
658
  // verify required parameter 'towerId' is not null or undefined
630
659
  (0, common_1.assertParamExists)('sensorsIndex', 'towerId', towerId);
631
660
  const localVarPath = `/sensors`;
@@ -641,6 +670,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
641
670
  if (towerId !== undefined) {
642
671
  localVarQueryParameter['tower_id'] = towerId;
643
672
  }
673
+ if (memberId !== undefined) {
674
+ localVarQueryParameter['member_id'] = memberId;
675
+ }
644
676
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
645
677
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
646
678
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -906,6 +938,18 @@ exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
906
938
  const DefaultApiFp = function (configuration) {
907
939
  const localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
908
940
  return {
941
+ /**
942
+ *
943
+ * @param {string} floorId
944
+ * @param {*} [options] Override http request option.
945
+ * @throws {RequiredError}
946
+ */
947
+ acZonesShow(floorId, options) {
948
+ return __awaiter(this, void 0, void 0, function* () {
949
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.acZonesShow(floorId, options);
950
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
951
+ });
952
+ },
909
953
  /**
910
954
  *
911
955
  * @param {WebhookCreateBody} webhookCreateBody
@@ -1124,12 +1168,13 @@ const DefaultApiFp = function (configuration) {
1124
1168
  /**
1125
1169
  *
1126
1170
  * @param {string} towerId
1171
+ * @param {string} [memberId]
1127
1172
  * @param {*} [options] Override http request option.
1128
1173
  * @throws {RequiredError}
1129
1174
  */
1130
- sensorsIndex(towerId, options) {
1175
+ sensorsIndex(towerId, memberId, options) {
1131
1176
  return __awaiter(this, void 0, void 0, function* () {
1132
- const localVarAxiosArgs = yield localVarAxiosParamCreator.sensorsIndex(towerId, options);
1177
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.sensorsIndex(towerId, memberId, options);
1133
1178
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1134
1179
  });
1135
1180
  },
@@ -1244,6 +1289,15 @@ exports.DefaultApiFp = DefaultApiFp;
1244
1289
  const DefaultApiFactory = function (configuration, basePath, axios) {
1245
1290
  const localVarFp = (0, exports.DefaultApiFp)(configuration);
1246
1291
  return {
1292
+ /**
1293
+ *
1294
+ * @param {string} floorId
1295
+ * @param {*} [options] Override http request option.
1296
+ * @throws {RequiredError}
1297
+ */
1298
+ acZonesShow(floorId, options) {
1299
+ return localVarFp.acZonesShow(floorId, options).then((request) => request(axios, basePath));
1300
+ },
1247
1301
  /**
1248
1302
  *
1249
1303
  * @param {WebhookCreateBody} webhookCreateBody
@@ -1411,11 +1465,12 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1411
1465
  /**
1412
1466
  *
1413
1467
  * @param {string} towerId
1468
+ * @param {string} [memberId]
1414
1469
  * @param {*} [options] Override http request option.
1415
1470
  * @throws {RequiredError}
1416
1471
  */
1417
- sensorsIndex(towerId, options) {
1418
- return localVarFp.sensorsIndex(towerId, options).then((request) => request(axios, basePath));
1472
+ sensorsIndex(towerId, memberId, options) {
1473
+ return localVarFp.sensorsIndex(towerId, memberId, options).then((request) => request(axios, basePath));
1419
1474
  },
1420
1475
  /**
1421
1476
  *
@@ -1504,6 +1559,16 @@ exports.DefaultApiFactory = DefaultApiFactory;
1504
1559
  * @extends {BaseAPI}
1505
1560
  */
1506
1561
  class DefaultApi extends base_1.BaseAPI {
1562
+ /**
1563
+ *
1564
+ * @param {string} floorId
1565
+ * @param {*} [options] Override http request option.
1566
+ * @throws {RequiredError}
1567
+ * @memberof DefaultApi
1568
+ */
1569
+ acZonesShow(floorId, options) {
1570
+ return (0, exports.DefaultApiFp)(this.configuration).acZonesShow(floorId, options).then((request) => request(this.axios, this.basePath));
1571
+ }
1507
1572
  /**
1508
1573
  *
1509
1574
  * @param {WebhookCreateBody} webhookCreateBody
@@ -1688,12 +1753,13 @@ class DefaultApi extends base_1.BaseAPI {
1688
1753
  /**
1689
1754
  *
1690
1755
  * @param {string} towerId
1756
+ * @param {string} [memberId]
1691
1757
  * @param {*} [options] Override http request option.
1692
1758
  * @throws {RequiredError}
1693
1759
  * @memberof DefaultApi
1694
1760
  */
1695
- sensorsIndex(towerId, options) {
1696
- return (0, exports.DefaultApiFp)(this.configuration).sensorsIndex(towerId, options).then((request) => request(this.axios, this.basePath));
1761
+ sensorsIndex(towerId, memberId, options) {
1762
+ return (0, exports.DefaultApiFp)(this.configuration).sensorsIndex(towerId, memberId, options).then((request) => request(this.axios, this.basePath));
1697
1763
  }
1698
1764
  /**
1699
1765
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.65",
3
+ "version": "0.0.67",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"