ob-bms-sdk 0.0.66 → 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
@@ -2582,6 +2625,62 @@ export interface WrappedArrayResponseSensorsIndexResponseData {
2582
2625
  */
2583
2626
  'data': Array<FloorSensorData>;
2584
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;
2683
+ }
2585
2684
  /**
2586
2685
  *
2587
2686
  * @export
@@ -3369,6 +3468,39 @@ export interface WrappedResponseVisitorTokensIndexResponseDataData {
3369
3468
  */
3370
3469
  export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
3371
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
+ },
3372
3504
  /**
3373
3505
  *
3374
3506
  * @param {WebhookCreateBody} webhookCreateBody
@@ -4357,6 +4489,16 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4357
4489
  export const DefaultApiFp = function(configuration?: Configuration) {
4358
4490
  const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
4359
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
+ },
4360
4502
  /**
4361
4503
  *
4362
4504
  * @param {WebhookCreateBody} webhookCreateBody
@@ -4644,6 +4786,15 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4644
4786
  export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
4645
4787
  const localVarFp = DefaultApiFp(configuration)
4646
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
+ },
4647
4798
  /**
4648
4799
  *
4649
4800
  * @param {WebhookCreateBody} webhookCreateBody
@@ -4905,6 +5056,17 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
4905
5056
  * @extends {BaseAPI}
4906
5057
  */
4907
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
+
4908
5070
  /**
4909
5071
  *
4910
5072
  * @param {WebhookCreateBody} webhookCreateBody
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
@@ -2556,6 +2599,62 @@ export interface WrappedArrayResponseSensorsIndexResponseData {
2556
2599
  */
2557
2600
  'data': Array<FloorSensorData>;
2558
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;
2657
+ }
2559
2658
  /**
2560
2659
  *
2561
2660
  * @export
@@ -3335,6 +3434,13 @@ export interface WrappedResponseVisitorTokensIndexResponseDataData {
3335
3434
  * @export
3336
3435
  */
3337
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>;
3338
3444
  /**
3339
3445
  *
3340
3446
  * @param {WebhookCreateBody} webhookCreateBody
@@ -3540,6 +3646,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
3540
3646
  * @export
3541
3647
  */
3542
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>>;
3543
3656
  /**
3544
3657
  *
3545
3658
  * @param {WebhookCreateBody} webhookCreateBody
@@ -3745,6 +3858,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
3745
3858
  * @export
3746
3859
  */
3747
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>;
3748
3868
  /**
3749
3869
  *
3750
3870
  * @param {WebhookCreateBody} webhookCreateBody
@@ -3952,6 +4072,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
3952
4072
  * @extends {BaseAPI}
3953
4073
  */
3954
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>>;
3955
4083
  /**
3956
4084
  *
3957
4085
  * @param {WebhookCreateBody} webhookCreateBody
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
@@ -910,6 +938,18 @@ exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
910
938
  const DefaultApiFp = function (configuration) {
911
939
  const localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
912
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
+ },
913
953
  /**
914
954
  *
915
955
  * @param {WebhookCreateBody} webhookCreateBody
@@ -1249,6 +1289,15 @@ exports.DefaultApiFp = DefaultApiFp;
1249
1289
  const DefaultApiFactory = function (configuration, basePath, axios) {
1250
1290
  const localVarFp = (0, exports.DefaultApiFp)(configuration);
1251
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
+ },
1252
1301
  /**
1253
1302
  *
1254
1303
  * @param {WebhookCreateBody} webhookCreateBody
@@ -1510,6 +1559,16 @@ exports.DefaultApiFactory = DefaultApiFactory;
1510
1559
  * @extends {BaseAPI}
1511
1560
  */
1512
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
+ }
1513
1572
  /**
1514
1573
  *
1515
1574
  * @param {WebhookCreateBody} webhookCreateBody
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.66",
3
+ "version": "0.0.67",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"
package/test.ts DELETED
@@ -1,15 +0,0 @@
1
- import * as OB_BMS_SDK from './index';
2
-
3
- // OB_BMS_SDK.setAcessToken('789');
4
- OB_BMS_SDK.setBaseUrl('http://localhost:3000');
5
- OB_BMS_SDK.setAcessToken(
6
- 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MW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MTY4LWRmNTQtNDIyMy04MzYxLTY4NTlkZmNmMzU2NSIsInBlcm1pdHRlZV90eXBlIjoiYWNjb3VudCIsInZhbHVlIjp7Im5hbWUiOiJvYi1pYW06dG9rZW4iLCJzZXJ2aWNlIjoib2ItaWFtIiwiYWN0aW9ucyI6WyJjcmVhdGUiLCJyZWFkIl0sInJlc291cmNlX3R5cGUiOiJ0b2tlbiIsInJlc291cmNlIjp7ImFjY291bnRfaWQiOiJzZWxmIn19LCJjcmVhdGVkX2F0IjoiMjAyMy0xMS0wMlQwODo1MTo0Mi43NzFaIiwidXBkYXRlZF9hdCI6IjIwMjMtMTEtMDJUMDg6NTE6NDIuNzcxWiIsImRlbGV0ZWRfYXQiOm51bGwsImFjY291bnRfaWQiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJhY2NvdW50X2dyb3VwX2lkIjpudWxsfV19.tfqYJop4iJNlIbBVztf7DFfVhaYAFnUGDhLjik2OGA4',
7
- );
8
- (async () => {
9
- try {
10
- const res = await OB_BMS_SDK.client.sensorsIndex('mock');
11
- console.dir({ x: res.data.data[0] }, { depth: null });
12
- } catch (err) {
13
- console.log(err);
14
- }
15
- })();