ob-bms-sdk 0.0.18 → 0.0.20
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 +61 -49
- package/dist/api/api.d.ts +62 -52
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
- package/test.ts +3 -3
package/api/api.ts
CHANGED
|
@@ -223,35 +223,54 @@ export interface DestroyMembersResponse {
|
|
|
223
223
|
export interface FindMemberResult {
|
|
224
224
|
/**
|
|
225
225
|
*
|
|
226
|
-
* @type {
|
|
226
|
+
* @type {string}
|
|
227
227
|
* @memberof FindMemberResult
|
|
228
228
|
*/
|
|
229
|
-
'
|
|
229
|
+
'id': string;
|
|
230
230
|
/**
|
|
231
231
|
*
|
|
232
|
-
* @type {
|
|
232
|
+
* @type {string}
|
|
233
233
|
* @memberof FindMemberResult
|
|
234
234
|
*/
|
|
235
|
-
'
|
|
236
|
-
}
|
|
237
|
-
/**
|
|
238
|
-
*
|
|
239
|
-
* @export
|
|
240
|
-
* @interface FindMemberResultMember
|
|
241
|
-
*/
|
|
242
|
-
export interface FindMemberResultMember {
|
|
235
|
+
'uid': string;
|
|
243
236
|
/**
|
|
244
237
|
*
|
|
245
|
-
* @type {
|
|
246
|
-
* @memberof
|
|
238
|
+
* @type {string}
|
|
239
|
+
* @memberof FindMemberResult
|
|
247
240
|
*/
|
|
248
|
-
'
|
|
241
|
+
'account_id'?: string | null;
|
|
249
242
|
/**
|
|
250
243
|
*
|
|
251
|
-
* @type {
|
|
252
|
-
* @memberof
|
|
244
|
+
* @type {JsonValue}
|
|
245
|
+
* @memberof FindMemberResult
|
|
246
|
+
*/
|
|
247
|
+
'metadata'?: JsonValue | null;
|
|
248
|
+
/**
|
|
249
|
+
*
|
|
250
|
+
* @type {FindMemberResultCreatedAt}
|
|
251
|
+
* @memberof FindMemberResult
|
|
252
|
+
*/
|
|
253
|
+
'created_at': FindMemberResultCreatedAt;
|
|
254
|
+
/**
|
|
255
|
+
*
|
|
256
|
+
* @type {FindMemberResultCreatedAt}
|
|
257
|
+
* @memberof FindMemberResult
|
|
253
258
|
*/
|
|
254
|
-
'
|
|
259
|
+
'updated_at': FindMemberResultCreatedAt;
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
*
|
|
263
|
+
* @export
|
|
264
|
+
* @interface FindMemberResultCreatedAt
|
|
265
|
+
*/
|
|
266
|
+
export interface FindMemberResultCreatedAt {
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
*
|
|
270
|
+
* @export
|
|
271
|
+
* @interface JsonValue
|
|
272
|
+
*/
|
|
273
|
+
export interface JsonValue {
|
|
255
274
|
}
|
|
256
275
|
/**
|
|
257
276
|
*
|
|
@@ -480,6 +499,12 @@ export interface ShowMemberResult {
|
|
|
480
499
|
* @memberof ShowMemberResult
|
|
481
500
|
*/
|
|
482
501
|
'metadata': PrismaJsonValue | null;
|
|
502
|
+
/**
|
|
503
|
+
*
|
|
504
|
+
* @type {string}
|
|
505
|
+
* @memberof ShowMemberResult
|
|
506
|
+
*/
|
|
507
|
+
'account_id': string | null;
|
|
483
508
|
/**
|
|
484
509
|
*
|
|
485
510
|
* @type {Array<ShowMemberTower>}
|
|
@@ -767,16 +792,16 @@ export interface VisitorSchedule {
|
|
|
767
792
|
'floor_id': string;
|
|
768
793
|
/**
|
|
769
794
|
*
|
|
770
|
-
* @type {
|
|
795
|
+
* @type {FindMemberResultCreatedAt}
|
|
771
796
|
* @memberof VisitorSchedule
|
|
772
797
|
*/
|
|
773
|
-
'from':
|
|
798
|
+
'from': FindMemberResultCreatedAt;
|
|
774
799
|
/**
|
|
775
800
|
*
|
|
776
|
-
* @type {
|
|
801
|
+
* @type {FindMemberResultCreatedAt}
|
|
777
802
|
* @memberof VisitorSchedule
|
|
778
803
|
*/
|
|
779
|
-
'to':
|
|
804
|
+
'to': FindMemberResultCreatedAt;
|
|
780
805
|
/**
|
|
781
806
|
*
|
|
782
807
|
* @type {object}
|
|
@@ -784,13 +809,6 @@ export interface VisitorSchedule {
|
|
|
784
809
|
*/
|
|
785
810
|
'repetition'?: object;
|
|
786
811
|
}
|
|
787
|
-
/**
|
|
788
|
-
*
|
|
789
|
-
* @export
|
|
790
|
-
* @interface VisitorScheduleFrom
|
|
791
|
-
*/
|
|
792
|
-
export interface VisitorScheduleFrom {
|
|
793
|
-
}
|
|
794
812
|
/**
|
|
795
813
|
*
|
|
796
814
|
* @export
|
|
@@ -868,34 +886,22 @@ export interface WrappedResponseCreateVisitorResponseData {
|
|
|
868
886
|
/**
|
|
869
887
|
*
|
|
870
888
|
* @export
|
|
871
|
-
* @interface
|
|
889
|
+
* @interface WrappedResponseFindMemberResultArrayOrNull
|
|
872
890
|
*/
|
|
873
|
-
export interface
|
|
891
|
+
export interface WrappedResponseFindMemberResultArrayOrNull {
|
|
874
892
|
/**
|
|
875
893
|
*
|
|
876
|
-
* @type {
|
|
877
|
-
* @memberof
|
|
894
|
+
* @type {WrappedResponseFindMemberResultArrayOrNullData}
|
|
895
|
+
* @memberof WrappedResponseFindMemberResultArrayOrNull
|
|
878
896
|
*/
|
|
879
|
-
'data':
|
|
897
|
+
'data': WrappedResponseFindMemberResultArrayOrNullData;
|
|
880
898
|
}
|
|
881
899
|
/**
|
|
882
900
|
*
|
|
883
901
|
* @export
|
|
884
|
-
* @interface
|
|
902
|
+
* @interface WrappedResponseFindMemberResultArrayOrNullData
|
|
885
903
|
*/
|
|
886
|
-
export interface
|
|
887
|
-
/**
|
|
888
|
-
*
|
|
889
|
-
* @type {boolean}
|
|
890
|
-
* @memberof WrappedResponseFindMemberResultData
|
|
891
|
-
*/
|
|
892
|
-
'result': boolean;
|
|
893
|
-
/**
|
|
894
|
-
*
|
|
895
|
-
* @type {FindMemberResultMember}
|
|
896
|
-
* @memberof WrappedResponseFindMemberResultData
|
|
897
|
-
*/
|
|
898
|
-
'member'?: FindMemberResultMember;
|
|
904
|
+
export interface WrappedResponseFindMemberResultArrayOrNullData {
|
|
899
905
|
}
|
|
900
906
|
/**
|
|
901
907
|
*
|
|
@@ -954,6 +960,12 @@ export interface WrappedResponseShowMemberResultData {
|
|
|
954
960
|
* @memberof WrappedResponseShowMemberResultData
|
|
955
961
|
*/
|
|
956
962
|
'metadata': PrismaJsonValue | null;
|
|
963
|
+
/**
|
|
964
|
+
*
|
|
965
|
+
* @type {string}
|
|
966
|
+
* @memberof WrappedResponseShowMemberResultData
|
|
967
|
+
*/
|
|
968
|
+
'account_id': string | null;
|
|
957
969
|
/**
|
|
958
970
|
*
|
|
959
971
|
* @type {Array<ShowMemberTower>}
|
|
@@ -1426,7 +1438,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
1426
1438
|
* @param {*} [options] Override http request option.
|
|
1427
1439
|
* @throws {RequiredError}
|
|
1428
1440
|
*/
|
|
1429
|
-
async membersIndex(identifier: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1441
|
+
async membersIndex(identifier: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>> {
|
|
1430
1442
|
const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(identifier, options);
|
|
1431
1443
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1432
1444
|
},
|
|
@@ -1522,7 +1534,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
1522
1534
|
* @param {*} [options] Override http request option.
|
|
1523
1535
|
* @throws {RequiredError}
|
|
1524
1536
|
*/
|
|
1525
|
-
membersIndex(identifier: string, options?: any): AxiosPromise<
|
|
1537
|
+
membersIndex(identifier: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull> {
|
|
1526
1538
|
return localVarFp.membersIndex(identifier, options).then((request) => request(axios, basePath));
|
|
1527
1539
|
},
|
|
1528
1540
|
/**
|
package/dist/api/api.d.ts
CHANGED
|
@@ -221,37 +221,54 @@ export interface DestroyMembersResponse {
|
|
|
221
221
|
export interface FindMemberResult {
|
|
222
222
|
/**
|
|
223
223
|
*
|
|
224
|
-
* @type {
|
|
224
|
+
* @type {string}
|
|
225
225
|
* @memberof FindMemberResult
|
|
226
226
|
*/
|
|
227
|
-
'
|
|
227
|
+
'id': string;
|
|
228
228
|
/**
|
|
229
229
|
*
|
|
230
|
-
* @type {
|
|
230
|
+
* @type {string}
|
|
231
231
|
* @memberof FindMemberResult
|
|
232
232
|
*/
|
|
233
|
-
'
|
|
234
|
-
}
|
|
235
|
-
/**
|
|
236
|
-
*
|
|
237
|
-
* @export
|
|
238
|
-
* @interface FindMemberResultMember
|
|
239
|
-
*/
|
|
240
|
-
export interface FindMemberResultMember {
|
|
233
|
+
'uid': string;
|
|
241
234
|
/**
|
|
242
235
|
*
|
|
243
|
-
* @type {
|
|
244
|
-
* @memberof
|
|
236
|
+
* @type {string}
|
|
237
|
+
* @memberof FindMemberResult
|
|
245
238
|
*/
|
|
246
|
-
'
|
|
247
|
-
[key: string]: any;
|
|
248
|
-
};
|
|
239
|
+
'account_id'?: string | null;
|
|
249
240
|
/**
|
|
250
241
|
*
|
|
251
|
-
* @type {
|
|
252
|
-
* @memberof
|
|
242
|
+
* @type {JsonValue}
|
|
243
|
+
* @memberof FindMemberResult
|
|
244
|
+
*/
|
|
245
|
+
'metadata'?: JsonValue | null;
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @type {FindMemberResultCreatedAt}
|
|
249
|
+
* @memberof FindMemberResult
|
|
253
250
|
*/
|
|
254
|
-
'
|
|
251
|
+
'created_at': FindMemberResultCreatedAt;
|
|
252
|
+
/**
|
|
253
|
+
*
|
|
254
|
+
* @type {FindMemberResultCreatedAt}
|
|
255
|
+
* @memberof FindMemberResult
|
|
256
|
+
*/
|
|
257
|
+
'updated_at': FindMemberResultCreatedAt;
|
|
258
|
+
}
|
|
259
|
+
/**
|
|
260
|
+
*
|
|
261
|
+
* @export
|
|
262
|
+
* @interface FindMemberResultCreatedAt
|
|
263
|
+
*/
|
|
264
|
+
export interface FindMemberResultCreatedAt {
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
*
|
|
268
|
+
* @export
|
|
269
|
+
* @interface JsonValue
|
|
270
|
+
*/
|
|
271
|
+
export interface JsonValue {
|
|
255
272
|
}
|
|
256
273
|
/**
|
|
257
274
|
*
|
|
@@ -480,6 +497,12 @@ export interface ShowMemberResult {
|
|
|
480
497
|
* @memberof ShowMemberResult
|
|
481
498
|
*/
|
|
482
499
|
'metadata': PrismaJsonValue | null;
|
|
500
|
+
/**
|
|
501
|
+
*
|
|
502
|
+
* @type {string}
|
|
503
|
+
* @memberof ShowMemberResult
|
|
504
|
+
*/
|
|
505
|
+
'account_id': string | null;
|
|
483
506
|
/**
|
|
484
507
|
*
|
|
485
508
|
* @type {Array<ShowMemberTower>}
|
|
@@ -767,16 +790,16 @@ export interface VisitorSchedule {
|
|
|
767
790
|
'floor_id': string;
|
|
768
791
|
/**
|
|
769
792
|
*
|
|
770
|
-
* @type {
|
|
793
|
+
* @type {FindMemberResultCreatedAt}
|
|
771
794
|
* @memberof VisitorSchedule
|
|
772
795
|
*/
|
|
773
|
-
'from':
|
|
796
|
+
'from': FindMemberResultCreatedAt;
|
|
774
797
|
/**
|
|
775
798
|
*
|
|
776
|
-
* @type {
|
|
799
|
+
* @type {FindMemberResultCreatedAt}
|
|
777
800
|
* @memberof VisitorSchedule
|
|
778
801
|
*/
|
|
779
|
-
'to':
|
|
802
|
+
'to': FindMemberResultCreatedAt;
|
|
780
803
|
/**
|
|
781
804
|
*
|
|
782
805
|
* @type {object}
|
|
@@ -784,13 +807,6 @@ export interface VisitorSchedule {
|
|
|
784
807
|
*/
|
|
785
808
|
'repetition'?: object;
|
|
786
809
|
}
|
|
787
|
-
/**
|
|
788
|
-
*
|
|
789
|
-
* @export
|
|
790
|
-
* @interface VisitorScheduleFrom
|
|
791
|
-
*/
|
|
792
|
-
export interface VisitorScheduleFrom {
|
|
793
|
-
}
|
|
794
810
|
/**
|
|
795
811
|
*
|
|
796
812
|
* @export
|
|
@@ -868,34 +884,22 @@ export interface WrappedResponseCreateVisitorResponseData {
|
|
|
868
884
|
/**
|
|
869
885
|
*
|
|
870
886
|
* @export
|
|
871
|
-
* @interface
|
|
887
|
+
* @interface WrappedResponseFindMemberResultArrayOrNull
|
|
872
888
|
*/
|
|
873
|
-
export interface
|
|
889
|
+
export interface WrappedResponseFindMemberResultArrayOrNull {
|
|
874
890
|
/**
|
|
875
891
|
*
|
|
876
|
-
* @type {
|
|
877
|
-
* @memberof
|
|
892
|
+
* @type {WrappedResponseFindMemberResultArrayOrNullData}
|
|
893
|
+
* @memberof WrappedResponseFindMemberResultArrayOrNull
|
|
878
894
|
*/
|
|
879
|
-
'data':
|
|
895
|
+
'data': WrappedResponseFindMemberResultArrayOrNullData;
|
|
880
896
|
}
|
|
881
897
|
/**
|
|
882
898
|
*
|
|
883
899
|
* @export
|
|
884
|
-
* @interface
|
|
900
|
+
* @interface WrappedResponseFindMemberResultArrayOrNullData
|
|
885
901
|
*/
|
|
886
|
-
export interface
|
|
887
|
-
/**
|
|
888
|
-
*
|
|
889
|
-
* @type {boolean}
|
|
890
|
-
* @memberof WrappedResponseFindMemberResultData
|
|
891
|
-
*/
|
|
892
|
-
'result': boolean;
|
|
893
|
-
/**
|
|
894
|
-
*
|
|
895
|
-
* @type {FindMemberResultMember}
|
|
896
|
-
* @memberof WrappedResponseFindMemberResultData
|
|
897
|
-
*/
|
|
898
|
-
'member'?: FindMemberResultMember;
|
|
902
|
+
export interface WrappedResponseFindMemberResultArrayOrNullData {
|
|
899
903
|
}
|
|
900
904
|
/**
|
|
901
905
|
*
|
|
@@ -951,6 +955,12 @@ export interface WrappedResponseShowMemberResultData {
|
|
|
951
955
|
* @memberof WrappedResponseShowMemberResultData
|
|
952
956
|
*/
|
|
953
957
|
'metadata': PrismaJsonValue | null;
|
|
958
|
+
/**
|
|
959
|
+
*
|
|
960
|
+
* @type {string}
|
|
961
|
+
* @memberof WrappedResponseShowMemberResultData
|
|
962
|
+
*/
|
|
963
|
+
'account_id': string | null;
|
|
954
964
|
/**
|
|
955
965
|
*
|
|
956
966
|
* @type {Array<ShowMemberTower>}
|
|
@@ -1158,7 +1168,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
1158
1168
|
* @param {*} [options] Override http request option.
|
|
1159
1169
|
* @throws {RequiredError}
|
|
1160
1170
|
*/
|
|
1161
|
-
membersIndex(identifier: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1171
|
+
membersIndex(identifier: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>>;
|
|
1162
1172
|
/**
|
|
1163
1173
|
*
|
|
1164
1174
|
* @param {SyncBody} syncBody
|
|
@@ -1227,7 +1237,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
1227
1237
|
* @param {*} [options] Override http request option.
|
|
1228
1238
|
* @throws {RequiredError}
|
|
1229
1239
|
*/
|
|
1230
|
-
membersIndex(identifier: string, options?: any): AxiosPromise<
|
|
1240
|
+
membersIndex(identifier: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>;
|
|
1231
1241
|
/**
|
|
1232
1242
|
*
|
|
1233
1243
|
* @param {SyncBody} syncBody
|
|
@@ -1303,7 +1313,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1303
1313
|
* @throws {RequiredError}
|
|
1304
1314
|
* @memberof DefaultApi
|
|
1305
1315
|
*/
|
|
1306
|
-
membersIndex(identifier: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1316
|
+
membersIndex(identifier: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseFindMemberResultArrayOrNull, any>>;
|
|
1307
1317
|
/**
|
|
1308
1318
|
*
|
|
1309
1319
|
* @param {SyncBody} syncBody
|
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.setBaseUrl = exports.setAcessToken = exports.axiosInstance = exports.cli
|
|
|
7
7
|
const api_1 = require("./api");
|
|
8
8
|
const axios_1 = __importDefault(require("axios"));
|
|
9
9
|
const axiosInstance = axios_1.default.create({
|
|
10
|
-
baseURL: process.env.OB_BMS_URL || 'localhost:3000',
|
|
10
|
+
baseURL: process.env.OB_BMS_URL || 'http://localhost:3000',
|
|
11
11
|
});
|
|
12
12
|
exports.axiosInstance = axiosInstance;
|
|
13
13
|
function setAcessToken(accessToken) {
|
package/index.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { DefaultApi } from './api';
|
|
|
2
2
|
import axios from 'axios';
|
|
3
3
|
|
|
4
4
|
const axiosInstance = axios.create({
|
|
5
|
-
baseURL: process.env.OB_BMS_URL || 'localhost:3000',
|
|
5
|
+
baseURL: process.env.OB_BMS_URL || 'http://localhost:3000',
|
|
6
6
|
});
|
|
7
7
|
|
|
8
8
|
function setAcessToken(accessToken: string): void {
|
package/package.json
CHANGED
package/test.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as OB_BMS_SDK from './dist';
|
|
2
2
|
|
|
3
3
|
// OB_BMS_SDK.setAcessToken('789');
|
|
4
|
-
OB_BMS_SDK.setBaseUrl('
|
|
4
|
+
OB_BMS_SDK.setBaseUrl('http://dev.glorymtel.xyz/ob-bms');
|
|
5
5
|
OB_BMS_SDK.setAcessToken(
|
|
6
6
|
'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJpYXQiOjE2OTg5MzU2ODcsImV4cCI6MTcwMTUyNzY4NywicGVybWlzc2lvbiI6W3siaWQiOiJmY2Q1NDZmYy1lNThmLTQ2MjctOTU5Yy1jNWFlYTljMGQ0ODMiLCJwZX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FtIiwiYWN0aW9ucyI6WyJjcmVhdGUiLCJyZWFkIl0sInJlc291cmNlX3R5cGUiOiJ0b2tlbiIsInJlc291cmNlIjp7ImFjY291bnRfaWQiOiJzZWxmIn19LCJjcmVhdGVkX2F0IjoiMjAyMy0xMS0wMlQwODo1MTo0Mi43NzFaIiwidXBkYXRlZF9hdCI6IjIwMjMtMTEtMDJUMDg6NTE6NDIuNzcxWiIsImRlbGV0ZWRfYXQiOm51bGwsImFjY291bnRfaWQiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJhY2NvdW50X2dyb3VwX2lkIjpudWxsfV19.tfqYJop4iJNlIbBVztf7DFfVhaYAFnUGDhLjik2OGA4',
|
|
7
7
|
);
|
|
8
8
|
(async () => {
|
|
9
9
|
try {
|
|
10
|
-
const res = await OB_BMS_SDK.client.
|
|
11
|
-
console.dir(res);
|
|
10
|
+
const res = await OB_BMS_SDK.client.membersIndex('t.shin@pjoe.com', {});
|
|
11
|
+
console.dir(res.data, { depth: null });
|
|
12
12
|
} catch (err) {
|
|
13
13
|
console.log(err);
|
|
14
14
|
}
|