ob-bms-sdk 0.0.28 → 0.0.29
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 +15 -8
- package/dist/api/api.d.ts +8 -4
- package/dist/api/api.js +15 -8
- package/package.json +1 -1
- package/test.ts +15 -0
package/api/api.ts
CHANGED
|
@@ -2291,6 +2291,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2291
2291
|
},
|
|
2292
2292
|
/**
|
|
2293
2293
|
*
|
|
2294
|
+
* @param {string} memberId
|
|
2294
2295
|
* @param {string} [name]
|
|
2295
2296
|
* @param {string} [orderBy]
|
|
2296
2297
|
* @param {string} [orderDirection]
|
|
@@ -2299,8 +2300,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2299
2300
|
* @param {*} [options] Override http request option.
|
|
2300
2301
|
* @throws {RequiredError}
|
|
2301
2302
|
*/
|
|
2302
|
-
membersCommandsIndex: async (name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2303
|
-
|
|
2303
|
+
membersCommandsIndex: async (memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2304
|
+
// verify required parameter 'memberId' is not null or undefined
|
|
2305
|
+
assertParamExists('membersCommandsIndex', 'memberId', memberId)
|
|
2306
|
+
const localVarPath = `/members/{member_id}/commands`
|
|
2307
|
+
.replace(`{${"member_id"}}`, encodeURIComponent(String(memberId)));
|
|
2304
2308
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2305
2309
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2306
2310
|
let baseOptions;
|
|
@@ -2702,6 +2706,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2702
2706
|
},
|
|
2703
2707
|
/**
|
|
2704
2708
|
*
|
|
2709
|
+
* @param {string} memberId
|
|
2705
2710
|
* @param {string} [name]
|
|
2706
2711
|
* @param {string} [orderBy]
|
|
2707
2712
|
* @param {string} [orderDirection]
|
|
@@ -2710,8 +2715,8 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2710
2715
|
* @param {*} [options] Override http request option.
|
|
2711
2716
|
* @throws {RequiredError}
|
|
2712
2717
|
*/
|
|
2713
|
-
async membersCommandsIndex(name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseCommandsIndexResponse>> {
|
|
2714
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.membersCommandsIndex(name, orderBy, orderDirection, pageNumber, pageSize, options);
|
|
2718
|
+
async membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseCommandsIndexResponse>> {
|
|
2719
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.membersCommandsIndex(memberId, name, orderBy, orderDirection, pageNumber, pageSize, options);
|
|
2715
2720
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2716
2721
|
},
|
|
2717
2722
|
/**
|
|
@@ -2853,6 +2858,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
2853
2858
|
},
|
|
2854
2859
|
/**
|
|
2855
2860
|
*
|
|
2861
|
+
* @param {string} memberId
|
|
2856
2862
|
* @param {string} [name]
|
|
2857
2863
|
* @param {string} [orderBy]
|
|
2858
2864
|
* @param {string} [orderDirection]
|
|
@@ -2861,8 +2867,8 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
2861
2867
|
* @param {*} [options] Override http request option.
|
|
2862
2868
|
* @throws {RequiredError}
|
|
2863
2869
|
*/
|
|
2864
|
-
membersCommandsIndex(name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: any): AxiosPromise<WrappedResponseCommandsIndexResponse> {
|
|
2865
|
-
return localVarFp.membersCommandsIndex(name, orderBy, orderDirection, pageNumber, pageSize, options).then((request) => request(axios, basePath));
|
|
2870
|
+
membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: any): AxiosPromise<WrappedResponseCommandsIndexResponse> {
|
|
2871
|
+
return localVarFp.membersCommandsIndex(memberId, name, orderBy, orderDirection, pageNumber, pageSize, options).then((request) => request(axios, basePath));
|
|
2866
2872
|
},
|
|
2867
2873
|
/**
|
|
2868
2874
|
*
|
|
@@ -3002,6 +3008,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
3002
3008
|
|
|
3003
3009
|
/**
|
|
3004
3010
|
*
|
|
3011
|
+
* @param {string} memberId
|
|
3005
3012
|
* @param {string} [name]
|
|
3006
3013
|
* @param {string} [orderBy]
|
|
3007
3014
|
* @param {string} [orderDirection]
|
|
@@ -3011,8 +3018,8 @@ export class DefaultApi extends BaseAPI {
|
|
|
3011
3018
|
* @throws {RequiredError}
|
|
3012
3019
|
* @memberof DefaultApi
|
|
3013
3020
|
*/
|
|
3014
|
-
public membersCommandsIndex(name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig) {
|
|
3015
|
-
return DefaultApiFp(this.configuration).membersCommandsIndex(name, orderBy, orderDirection, pageNumber, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
3021
|
+
public membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig) {
|
|
3022
|
+
return DefaultApiFp(this.configuration).membersCommandsIndex(memberId, name, orderBy, orderDirection, pageNumber, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
3016
3023
|
}
|
|
3017
3024
|
|
|
3018
3025
|
/**
|
package/dist/api/api.d.ts
CHANGED
|
@@ -2154,6 +2154,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2154
2154
|
membersCommandsCreate: (memberId: string, commandsCreateBody: CommandsCreateBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2155
2155
|
/**
|
|
2156
2156
|
*
|
|
2157
|
+
* @param {string} memberId
|
|
2157
2158
|
* @param {string} [name]
|
|
2158
2159
|
* @param {string} [orderBy]
|
|
2159
2160
|
* @param {string} [orderDirection]
|
|
@@ -2162,7 +2163,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2162
2163
|
* @param {*} [options] Override http request option.
|
|
2163
2164
|
* @throws {RequiredError}
|
|
2164
2165
|
*/
|
|
2165
|
-
membersCommandsIndex: (name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2166
|
+
membersCommandsIndex: (memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2166
2167
|
/**
|
|
2167
2168
|
*
|
|
2168
2169
|
* @param {string} identifier
|
|
@@ -2263,6 +2264,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2263
2264
|
membersCommandsCreate(memberId: string, commandsCreateBody: CommandsCreateBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseCommandsCreateResponse>>;
|
|
2264
2265
|
/**
|
|
2265
2266
|
*
|
|
2267
|
+
* @param {string} memberId
|
|
2266
2268
|
* @param {string} [name]
|
|
2267
2269
|
* @param {string} [orderBy]
|
|
2268
2270
|
* @param {string} [orderDirection]
|
|
@@ -2271,7 +2273,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2271
2273
|
* @param {*} [options] Override http request option.
|
|
2272
2274
|
* @throws {RequiredError}
|
|
2273
2275
|
*/
|
|
2274
|
-
membersCommandsIndex(name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseCommandsIndexResponse>>;
|
|
2276
|
+
membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseCommandsIndexResponse>>;
|
|
2275
2277
|
/**
|
|
2276
2278
|
*
|
|
2277
2279
|
* @param {string} identifier
|
|
@@ -2372,6 +2374,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2372
2374
|
membersCommandsCreate(memberId: string, commandsCreateBody: CommandsCreateBody, options?: any): AxiosPromise<WrappedResponseCommandsCreateResponse>;
|
|
2373
2375
|
/**
|
|
2374
2376
|
*
|
|
2377
|
+
* @param {string} memberId
|
|
2375
2378
|
* @param {string} [name]
|
|
2376
2379
|
* @param {string} [orderBy]
|
|
2377
2380
|
* @param {string} [orderDirection]
|
|
@@ -2380,7 +2383,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2380
2383
|
* @param {*} [options] Override http request option.
|
|
2381
2384
|
* @throws {RequiredError}
|
|
2382
2385
|
*/
|
|
2383
|
-
membersCommandsIndex(name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: any): AxiosPromise<WrappedResponseCommandsIndexResponse>;
|
|
2386
|
+
membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: any): AxiosPromise<WrappedResponseCommandsIndexResponse>;
|
|
2384
2387
|
/**
|
|
2385
2388
|
*
|
|
2386
2389
|
* @param {string} identifier
|
|
@@ -2487,6 +2490,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
2487
2490
|
membersCommandsCreate(memberId: string, commandsCreateBody: CommandsCreateBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseCommandsCreateResponse, any>>;
|
|
2488
2491
|
/**
|
|
2489
2492
|
*
|
|
2493
|
+
* @param {string} memberId
|
|
2490
2494
|
* @param {string} [name]
|
|
2491
2495
|
* @param {string} [orderBy]
|
|
2492
2496
|
* @param {string} [orderDirection]
|
|
@@ -2496,7 +2500,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
2496
2500
|
* @throws {RequiredError}
|
|
2497
2501
|
* @memberof DefaultApi
|
|
2498
2502
|
*/
|
|
2499
|
-
membersCommandsIndex(name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseCommandsIndexResponse, any>>;
|
|
2503
|
+
membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseCommandsIndexResponse, any>>;
|
|
2500
2504
|
/**
|
|
2501
2505
|
*
|
|
2502
2506
|
* @param {string} identifier
|
package/dist/api/api.js
CHANGED
|
@@ -182,6 +182,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
182
182
|
}),
|
|
183
183
|
/**
|
|
184
184
|
*
|
|
185
|
+
* @param {string} memberId
|
|
185
186
|
* @param {string} [name]
|
|
186
187
|
* @param {string} [orderBy]
|
|
187
188
|
* @param {string} [orderDirection]
|
|
@@ -190,8 +191,11 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
190
191
|
* @param {*} [options] Override http request option.
|
|
191
192
|
* @throws {RequiredError}
|
|
192
193
|
*/
|
|
193
|
-
membersCommandsIndex: (name, orderBy, orderDirection, pageNumber, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
194
|
-
|
|
194
|
+
membersCommandsIndex: (memberId, name, orderBy, orderDirection, pageNumber, pageSize, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
195
|
+
// verify required parameter 'memberId' is not null or undefined
|
|
196
|
+
(0, common_1.assertParamExists)('membersCommandsIndex', 'memberId', memberId);
|
|
197
|
+
const localVarPath = `/members/{member_id}/commands`
|
|
198
|
+
.replace(`{${"member_id"}}`, encodeURIComponent(String(memberId)));
|
|
195
199
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
196
200
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
197
201
|
let baseOptions;
|
|
@@ -542,6 +546,7 @@ const DefaultApiFp = function (configuration) {
|
|
|
542
546
|
},
|
|
543
547
|
/**
|
|
544
548
|
*
|
|
549
|
+
* @param {string} memberId
|
|
545
550
|
* @param {string} [name]
|
|
546
551
|
* @param {string} [orderBy]
|
|
547
552
|
* @param {string} [orderDirection]
|
|
@@ -550,9 +555,9 @@ const DefaultApiFp = function (configuration) {
|
|
|
550
555
|
* @param {*} [options] Override http request option.
|
|
551
556
|
* @throws {RequiredError}
|
|
552
557
|
*/
|
|
553
|
-
membersCommandsIndex(name, orderBy, orderDirection, pageNumber, pageSize, options) {
|
|
558
|
+
membersCommandsIndex(memberId, name, orderBy, orderDirection, pageNumber, pageSize, options) {
|
|
554
559
|
return __awaiter(this, void 0, void 0, function* () {
|
|
555
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.membersCommandsIndex(name, orderBy, orderDirection, pageNumber, pageSize, options);
|
|
560
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.membersCommandsIndex(memberId, name, orderBy, orderDirection, pageNumber, pageSize, options);
|
|
556
561
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
557
562
|
});
|
|
558
563
|
},
|
|
@@ -713,6 +718,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
713
718
|
},
|
|
714
719
|
/**
|
|
715
720
|
*
|
|
721
|
+
* @param {string} memberId
|
|
716
722
|
* @param {string} [name]
|
|
717
723
|
* @param {string} [orderBy]
|
|
718
724
|
* @param {string} [orderDirection]
|
|
@@ -721,8 +727,8 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
721
727
|
* @param {*} [options] Override http request option.
|
|
722
728
|
* @throws {RequiredError}
|
|
723
729
|
*/
|
|
724
|
-
membersCommandsIndex(name, orderBy, orderDirection, pageNumber, pageSize, options) {
|
|
725
|
-
return localVarFp.membersCommandsIndex(name, orderBy, orderDirection, pageNumber, pageSize, options).then((request) => request(axios, basePath));
|
|
730
|
+
membersCommandsIndex(memberId, name, orderBy, orderDirection, pageNumber, pageSize, options) {
|
|
731
|
+
return localVarFp.membersCommandsIndex(memberId, name, orderBy, orderDirection, pageNumber, pageSize, options).then((request) => request(axios, basePath));
|
|
726
732
|
},
|
|
727
733
|
/**
|
|
728
734
|
*
|
|
@@ -858,6 +864,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
858
864
|
}
|
|
859
865
|
/**
|
|
860
866
|
*
|
|
867
|
+
* @param {string} memberId
|
|
861
868
|
* @param {string} [name]
|
|
862
869
|
* @param {string} [orderBy]
|
|
863
870
|
* @param {string} [orderDirection]
|
|
@@ -867,8 +874,8 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
867
874
|
* @throws {RequiredError}
|
|
868
875
|
* @memberof DefaultApi
|
|
869
876
|
*/
|
|
870
|
-
membersCommandsIndex(name, orderBy, orderDirection, pageNumber, pageSize, options) {
|
|
871
|
-
return (0, exports.DefaultApiFp)(this.configuration).membersCommandsIndex(name, orderBy, orderDirection, pageNumber, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
877
|
+
membersCommandsIndex(memberId, name, orderBy, orderDirection, pageNumber, pageSize, options) {
|
|
878
|
+
return (0, exports.DefaultApiFp)(this.configuration).membersCommandsIndex(memberId, name, orderBy, orderDirection, pageNumber, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
872
879
|
}
|
|
873
880
|
/**
|
|
874
881
|
*
|
package/package.json
CHANGED
package/test.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as OB_BMS_SDK from './dist';
|
|
2
|
+
|
|
3
|
+
// OB_BMS_SDK.setAcessToken('789');
|
|
4
|
+
OB_BMS_SDK.setBaseUrl('http://dev.glorymtel.xyz/ob-bms');
|
|
5
|
+
OB_BMS_SDK.setAcessToken(
|
|
6
|
+
'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJpYXQiOjE2OTg5MzU2ODcsImV4cCI6MTcwMTUyNzY4NywicGVybWlzc2lvbiI6W3siaWQiOiJmY2Q1NDZmYy1lNThmLTQ2MjctOTU5Yy1jNWFlYTljMGQ0ODMiLCJwZXJtaXR0ZWVfdHlwZSI6ImFjY291bnQiLCJ2YWx1ZSI6eyJuYW1lIjoib2ItaWFtOmFjY291bnQiLCJzZXJ2aWNlIjoib2ItaWFtIiwiYWN0aW9ucyI6WyJyZWFkIiwidXBkYXRlIiwiZGVsZXRlIl0sInJlc291cmNlX3R5cGUiOiJhY2NvdW50IiwicmVzb3VyY2UiOnsiaWQiOiJzZWxmIn19LCJjcmVhdGVkX2F0IjoiMjAyMy0xMS0wMlQwODo1MTo0Mi43NzFaIiwidXBkYXRlZF9hdCI6IjIwMjMtMTEtMDJUMDg6NTE6NDIuNzcxWiIsImRlbGV0ZWRfYXQiOm51bGwsImFjY291bnRfaWQiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJhY2NvdW50X2dyb3VwX2lkIjpudWxsfSx7ImlkIjoiNWY0MDlmYzYtNDRkMi00YzQyLThhOGYtYzFiNTQ1MWZjODZiIiwicGVybWl0dGVlX3R5cGUiOiJhY2NvdW50IiwidmFsdWUiOnsibmFtZSI6Im9iLWlhbTpwcm9maWxlIiwic2VydmljZSI6Im9iLWlhbSIsImFjdGlvbnMiOlsicmVhZCIsInVwZGF0ZSJdLCJyZXNvdXJjZV90eXBlIjoicHJvZmlsZSIsInJlc291cmNlIjp7ImFjY291bnRfaWQiOiJzZWxmIn19LCJjcmVhdGVkX2F0IjoiMjAyMy0xMS0wMlQwODo1MTo0Mi43NzFaIiwidXBkYXRlZF9hdCI6IjIwMjMtMTEtMDJUMDg6NTE6NDIuNzcxWiIsImRlbGV0ZWRfYXQiOm51bGwsImFjY291bnRfaWQiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJhY2NvdW50X2dyb3VwX2lkIjpudWxsfSx7ImlkIjoiMDNlM2MxODctOTY3NC00MTdiLThjOGMtNDBmNGE0MjEyMDlkIiwicGVybWl0dGVlX3R5cGUiOiJhY2NvdW50IiwidmFsdWUiOnsibmFtZSI6Im9iLWlhbTppZGVudGl0eSIsInNlcnZpY2UiOiJvYi1pYW0iLCJhY3Rpb25zIjpbIioiXSwicmVzb3VyY2VfdHlwZSI6ImlkZW50aXR5IiwicmVzb3VyY2UiOnsiYWNjb3VudF9pZCI6InNlbGYifX0sImNyZWF0ZWRfYXQiOiIyMDIzLTExLTAyVDA4OjUxOjQyLjc3MVoiLCJ1cGRhdGVkX2F0IjoiMjAyMy0xMS0wMlQwODo1MTo0Mi43NzFaIiwiZGVsZXRlZF9hdCI6bnVsbCwiYWNjb3VudF9pZCI6IjgyNDI3MDVmLTM1YjUtNGQ3MS04ZTE5LWM1YTQxYWMyZTBhNCIsImFjY291bnRfZ3JvdXBfaWQiOm51bGx9LHsiaWQiOiIzMjU0MTEyNi00Nzc2LTQ0NzYtOTc5MS1mYjZhNjA2ZWUxNDIiLCJwZXJtaXR0ZWVfdHlwZSI6ImFjY291bnQiLCJ2YWx1ZSI6eyJuYW1lIjoib2ItaWFtOnNldHRpbmciLCJzZXJ2aWNlIjoib2ItaWFtIiwiYWN0aW9ucyI6WyJ1cGRhdGUiXSwicmVzb3VyY2VfdHlwZSI6InNldHRpbmciLCJyZXNvdXJjZSI6eyJhY2NvdW50X2lkIjoic2VsZiJ9fSwiY3JlYXRlZF9hdCI6IjIwMjMtMTEtMDJUMDg6NTE6NDIuNzcxWiIsInVwZGF0ZWRfYXQiOiIyMDIzLTExLTAyVDA4OjUxOjQyLjc3MVoiLCJkZWxldGVkX2F0IjpudWxsLCJhY2NvdW50X2lkIjoiODI0MjcwNWYtMzViNS00ZDcxLThlMTktYzVhNDFhYzJlMGE0IiwiYWNjb3VudF9ncm91cF9pZCI6bnVsbH0seyJpZCI6ImZjYzE3MTY4LWRmNTQtNDIyMy04MzYxLTY4NTlkZmNmMzU2NSIsInBlcm1pdHRlZV90eXBlIjoiYWNjb3VudCIsInZhbHVlIjp7Im5hbWUiOiJvYi1pYW06dG9rZW4iLCJzZXJ2aWNlIjoib2ItaWFtIiwiYWN0aW9ucyI6WyJjcmVhdGUiLCJyZWFkIl0sInJlc291cmNlX3R5cGUiOiJ0b2tlbiIsInJlc291cmNlIjp7ImFjY291bnRfaWQiOiJzZWxmIn19LCJjcmVhdGVkX2F0IjoiMjAyMy0xMS0wMlQwODo1MTo0Mi43NzFaIiwidXBkYXRlZF9hdCI6IjIwMjMtMTEtMDJUMDg6NTE6NDIuNzcxWiIsImRlbGV0ZWRfYXQiOm51bGwsImFjY291bnRfaWQiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJhY2NvdW50X2dyb3VwX2lkIjpudWxsfV19.tfqYJop4iJNlIbBVztf7DFfVhaYAFnUGDhLjik2OGA4',
|
|
7
|
+
);
|
|
8
|
+
(async () => {
|
|
9
|
+
try {
|
|
10
|
+
const res = await OB_BMS_SDK.client.membersIndex('t.shin@pjoe.com', {});
|
|
11
|
+
console.dir(res.data, { depth: null });
|
|
12
|
+
} catch (err) {
|
|
13
|
+
console.log(err);
|
|
14
|
+
}
|
|
15
|
+
})();
|