ob-bms-sdk 0.0.46 → 0.0.47
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 +86 -15
- package/dist/api/api.d.ts +75 -12
- package/dist/api/api.js +21 -7
- package/package.json +1 -1
- package/test.ts +15 -0
package/api/api.ts
CHANGED
|
@@ -954,6 +954,24 @@ export interface ParkingTicketResult {
|
|
|
954
954
|
* @memberof ParkingTicketResult
|
|
955
955
|
*/
|
|
956
956
|
'plate_number': string;
|
|
957
|
+
/**
|
|
958
|
+
*
|
|
959
|
+
* @type {string}
|
|
960
|
+
* @memberof ParkingTicketResult
|
|
961
|
+
*/
|
|
962
|
+
'ticket_number': string;
|
|
963
|
+
/**
|
|
964
|
+
*
|
|
965
|
+
* @type {string}
|
|
966
|
+
* @memberof ParkingTicketResult
|
|
967
|
+
*/
|
|
968
|
+
'vehicle_type': string;
|
|
969
|
+
/**
|
|
970
|
+
*
|
|
971
|
+
* @type {number}
|
|
972
|
+
* @memberof ParkingTicketResult
|
|
973
|
+
*/
|
|
974
|
+
'total_fee': number;
|
|
957
975
|
/**
|
|
958
976
|
*
|
|
959
977
|
* @type {string}
|
|
@@ -962,16 +980,16 @@ export interface ParkingTicketResult {
|
|
|
962
980
|
'member_id': string;
|
|
963
981
|
/**
|
|
964
982
|
*
|
|
965
|
-
* @type {
|
|
983
|
+
* @type {string}
|
|
966
984
|
* @memberof ParkingTicketResult
|
|
967
985
|
*/
|
|
968
|
-
'
|
|
986
|
+
'parked_at': string;
|
|
969
987
|
/**
|
|
970
988
|
*
|
|
971
|
-
* @type {
|
|
989
|
+
* @type {RateDetail}
|
|
972
990
|
* @memberof ParkingTicketResult
|
|
973
991
|
*/
|
|
974
|
-
'
|
|
992
|
+
'rate_detail': RateDetail;
|
|
975
993
|
}
|
|
976
994
|
/**
|
|
977
995
|
*
|
|
@@ -1203,6 +1221,25 @@ export interface PersonData {
|
|
|
1203
1221
|
*/
|
|
1204
1222
|
export interface PrismaJsonValue {
|
|
1205
1223
|
}
|
|
1224
|
+
/**
|
|
1225
|
+
*
|
|
1226
|
+
* @export
|
|
1227
|
+
* @interface RateDetail
|
|
1228
|
+
*/
|
|
1229
|
+
export interface RateDetail {
|
|
1230
|
+
/**
|
|
1231
|
+
*
|
|
1232
|
+
* @type {string}
|
|
1233
|
+
* @memberof RateDetail
|
|
1234
|
+
*/
|
|
1235
|
+
'th': string;
|
|
1236
|
+
/**
|
|
1237
|
+
*
|
|
1238
|
+
* @type {string}
|
|
1239
|
+
* @memberof RateDetail
|
|
1240
|
+
*/
|
|
1241
|
+
'en': string;
|
|
1242
|
+
}
|
|
1206
1243
|
/**
|
|
1207
1244
|
*
|
|
1208
1245
|
* @export
|
|
@@ -2354,6 +2391,24 @@ export interface WrappedResponseParkingTicketResultData {
|
|
|
2354
2391
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2355
2392
|
*/
|
|
2356
2393
|
'plate_number': string;
|
|
2394
|
+
/**
|
|
2395
|
+
*
|
|
2396
|
+
* @type {string}
|
|
2397
|
+
* @memberof WrappedResponseParkingTicketResultData
|
|
2398
|
+
*/
|
|
2399
|
+
'ticket_number': string;
|
|
2400
|
+
/**
|
|
2401
|
+
*
|
|
2402
|
+
* @type {string}
|
|
2403
|
+
* @memberof WrappedResponseParkingTicketResultData
|
|
2404
|
+
*/
|
|
2405
|
+
'vehicle_type': string;
|
|
2406
|
+
/**
|
|
2407
|
+
*
|
|
2408
|
+
* @type {number}
|
|
2409
|
+
* @memberof WrappedResponseParkingTicketResultData
|
|
2410
|
+
*/
|
|
2411
|
+
'total_fee': number;
|
|
2357
2412
|
/**
|
|
2358
2413
|
*
|
|
2359
2414
|
* @type {string}
|
|
@@ -2362,16 +2417,16 @@ export interface WrappedResponseParkingTicketResultData {
|
|
|
2362
2417
|
'member_id': string;
|
|
2363
2418
|
/**
|
|
2364
2419
|
*
|
|
2365
|
-
* @type {
|
|
2420
|
+
* @type {string}
|
|
2366
2421
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2367
2422
|
*/
|
|
2368
|
-
'
|
|
2423
|
+
'parked_at': string;
|
|
2369
2424
|
/**
|
|
2370
2425
|
*
|
|
2371
|
-
* @type {
|
|
2426
|
+
* @type {RateDetail}
|
|
2372
2427
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2373
2428
|
*/
|
|
2374
|
-
'
|
|
2429
|
+
'rate_detail': RateDetail;
|
|
2375
2430
|
}
|
|
2376
2431
|
/**
|
|
2377
2432
|
*
|
|
@@ -2849,10 +2904,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2849
2904
|
},
|
|
2850
2905
|
/**
|
|
2851
2906
|
*
|
|
2907
|
+
* @param {string} [identifier]
|
|
2908
|
+
* @param {string} [xAccountId]
|
|
2852
2909
|
* @param {*} [options] Override http request option.
|
|
2853
2910
|
* @throws {RequiredError}
|
|
2854
2911
|
*/
|
|
2855
|
-
membersIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2912
|
+
membersIndex: async (identifier?: string, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2856
2913
|
const localVarPath = `/members`;
|
|
2857
2914
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2858
2915
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2865,6 +2922,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2865
2922
|
const localVarHeaderParameter = {} as any;
|
|
2866
2923
|
const localVarQueryParameter = {} as any;
|
|
2867
2924
|
|
|
2925
|
+
if (identifier !== undefined) {
|
|
2926
|
+
localVarQueryParameter['identifier'] = identifier;
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2929
|
+
if (xAccountId != null) {
|
|
2930
|
+
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
2931
|
+
}
|
|
2932
|
+
|
|
2868
2933
|
|
|
2869
2934
|
|
|
2870
2935
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -3309,11 +3374,13 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3309
3374
|
},
|
|
3310
3375
|
/**
|
|
3311
3376
|
*
|
|
3377
|
+
* @param {string} [identifier]
|
|
3378
|
+
* @param {string} [xAccountId]
|
|
3312
3379
|
* @param {*} [options] Override http request option.
|
|
3313
3380
|
* @throws {RequiredError}
|
|
3314
3381
|
*/
|
|
3315
|
-
async membersIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>> {
|
|
3316
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(options);
|
|
3382
|
+
async membersIndex(identifier?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>> {
|
|
3383
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(identifier, xAccountId, options);
|
|
3317
3384
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3318
3385
|
},
|
|
3319
3386
|
/**
|
|
@@ -3497,11 +3564,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3497
3564
|
},
|
|
3498
3565
|
/**
|
|
3499
3566
|
*
|
|
3567
|
+
* @param {string} [identifier]
|
|
3568
|
+
* @param {string} [xAccountId]
|
|
3500
3569
|
* @param {*} [options] Override http request option.
|
|
3501
3570
|
* @throws {RequiredError}
|
|
3502
3571
|
*/
|
|
3503
|
-
membersIndex(options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull> {
|
|
3504
|
-
return localVarFp.membersIndex(options).then((request) => request(axios, basePath));
|
|
3572
|
+
membersIndex(identifier?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull> {
|
|
3573
|
+
return localVarFp.membersIndex(identifier, xAccountId, options).then((request) => request(axios, basePath));
|
|
3505
3574
|
},
|
|
3506
3575
|
/**
|
|
3507
3576
|
*
|
|
@@ -3688,12 +3757,14 @@ export class DefaultApi extends BaseAPI {
|
|
|
3688
3757
|
|
|
3689
3758
|
/**
|
|
3690
3759
|
*
|
|
3760
|
+
* @param {string} [identifier]
|
|
3761
|
+
* @param {string} [xAccountId]
|
|
3691
3762
|
* @param {*} [options] Override http request option.
|
|
3692
3763
|
* @throws {RequiredError}
|
|
3693
3764
|
* @memberof DefaultApi
|
|
3694
3765
|
*/
|
|
3695
|
-
public membersIndex(options?: AxiosRequestConfig) {
|
|
3696
|
-
return DefaultApiFp(this.configuration).membersIndex(options).then((request) => request(this.axios, this.basePath));
|
|
3766
|
+
public membersIndex(identifier?: string, xAccountId?: string, options?: AxiosRequestConfig) {
|
|
3767
|
+
return DefaultApiFp(this.configuration).membersIndex(identifier, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
3697
3768
|
}
|
|
3698
3769
|
|
|
3699
3770
|
/**
|
package/dist/api/api.d.ts
CHANGED
|
@@ -952,6 +952,24 @@ export interface ParkingTicketResult {
|
|
|
952
952
|
* @memberof ParkingTicketResult
|
|
953
953
|
*/
|
|
954
954
|
'plate_number': string;
|
|
955
|
+
/**
|
|
956
|
+
*
|
|
957
|
+
* @type {string}
|
|
958
|
+
* @memberof ParkingTicketResult
|
|
959
|
+
*/
|
|
960
|
+
'ticket_number': string;
|
|
961
|
+
/**
|
|
962
|
+
*
|
|
963
|
+
* @type {string}
|
|
964
|
+
* @memberof ParkingTicketResult
|
|
965
|
+
*/
|
|
966
|
+
'vehicle_type': string;
|
|
967
|
+
/**
|
|
968
|
+
*
|
|
969
|
+
* @type {number}
|
|
970
|
+
* @memberof ParkingTicketResult
|
|
971
|
+
*/
|
|
972
|
+
'total_fee': number;
|
|
955
973
|
/**
|
|
956
974
|
*
|
|
957
975
|
* @type {string}
|
|
@@ -960,16 +978,16 @@ export interface ParkingTicketResult {
|
|
|
960
978
|
'member_id': string;
|
|
961
979
|
/**
|
|
962
980
|
*
|
|
963
|
-
* @type {
|
|
981
|
+
* @type {string}
|
|
964
982
|
* @memberof ParkingTicketResult
|
|
965
983
|
*/
|
|
966
|
-
'
|
|
984
|
+
'parked_at': string;
|
|
967
985
|
/**
|
|
968
986
|
*
|
|
969
|
-
* @type {
|
|
987
|
+
* @type {RateDetail}
|
|
970
988
|
* @memberof ParkingTicketResult
|
|
971
989
|
*/
|
|
972
|
-
'
|
|
990
|
+
'rate_detail': RateDetail;
|
|
973
991
|
}
|
|
974
992
|
/**
|
|
975
993
|
*
|
|
@@ -1195,6 +1213,25 @@ export interface PersonData {
|
|
|
1195
1213
|
*/
|
|
1196
1214
|
export interface PrismaJsonValue {
|
|
1197
1215
|
}
|
|
1216
|
+
/**
|
|
1217
|
+
*
|
|
1218
|
+
* @export
|
|
1219
|
+
* @interface RateDetail
|
|
1220
|
+
*/
|
|
1221
|
+
export interface RateDetail {
|
|
1222
|
+
/**
|
|
1223
|
+
*
|
|
1224
|
+
* @type {string}
|
|
1225
|
+
* @memberof RateDetail
|
|
1226
|
+
*/
|
|
1227
|
+
'th': string;
|
|
1228
|
+
/**
|
|
1229
|
+
*
|
|
1230
|
+
* @type {string}
|
|
1231
|
+
* @memberof RateDetail
|
|
1232
|
+
*/
|
|
1233
|
+
'en': string;
|
|
1234
|
+
}
|
|
1198
1235
|
/**
|
|
1199
1236
|
*
|
|
1200
1237
|
* @export
|
|
@@ -2340,6 +2377,24 @@ export interface WrappedResponseParkingTicketResultData {
|
|
|
2340
2377
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2341
2378
|
*/
|
|
2342
2379
|
'plate_number': string;
|
|
2380
|
+
/**
|
|
2381
|
+
*
|
|
2382
|
+
* @type {string}
|
|
2383
|
+
* @memberof WrappedResponseParkingTicketResultData
|
|
2384
|
+
*/
|
|
2385
|
+
'ticket_number': string;
|
|
2386
|
+
/**
|
|
2387
|
+
*
|
|
2388
|
+
* @type {string}
|
|
2389
|
+
* @memberof WrappedResponseParkingTicketResultData
|
|
2390
|
+
*/
|
|
2391
|
+
'vehicle_type': string;
|
|
2392
|
+
/**
|
|
2393
|
+
*
|
|
2394
|
+
* @type {number}
|
|
2395
|
+
* @memberof WrappedResponseParkingTicketResultData
|
|
2396
|
+
*/
|
|
2397
|
+
'total_fee': number;
|
|
2343
2398
|
/**
|
|
2344
2399
|
*
|
|
2345
2400
|
* @type {string}
|
|
@@ -2348,16 +2403,16 @@ export interface WrappedResponseParkingTicketResultData {
|
|
|
2348
2403
|
'member_id': string;
|
|
2349
2404
|
/**
|
|
2350
2405
|
*
|
|
2351
|
-
* @type {
|
|
2406
|
+
* @type {string}
|
|
2352
2407
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2353
2408
|
*/
|
|
2354
|
-
'
|
|
2409
|
+
'parked_at': string;
|
|
2355
2410
|
/**
|
|
2356
2411
|
*
|
|
2357
|
-
* @type {
|
|
2412
|
+
* @type {RateDetail}
|
|
2358
2413
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2359
2414
|
*/
|
|
2360
|
-
'
|
|
2415
|
+
'rate_detail': RateDetail;
|
|
2361
2416
|
}
|
|
2362
2417
|
/**
|
|
2363
2418
|
*
|
|
@@ -2623,10 +2678,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2623
2678
|
membersCommandsIndex: (memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2624
2679
|
/**
|
|
2625
2680
|
*
|
|
2681
|
+
* @param {string} [identifier]
|
|
2682
|
+
* @param {string} [xAccountId]
|
|
2626
2683
|
* @param {*} [options] Override http request option.
|
|
2627
2684
|
* @throws {RequiredError}
|
|
2628
2685
|
*/
|
|
2629
|
-
membersIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2686
|
+
membersIndex: (identifier?: string, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2630
2687
|
/**
|
|
2631
2688
|
*
|
|
2632
2689
|
* @param {string} id
|
|
@@ -2760,10 +2817,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2760
2817
|
membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseCommandsIndexResponse>>;
|
|
2761
2818
|
/**
|
|
2762
2819
|
*
|
|
2820
|
+
* @param {string} [identifier]
|
|
2821
|
+
* @param {string} [xAccountId]
|
|
2763
2822
|
* @param {*} [options] Override http request option.
|
|
2764
2823
|
* @throws {RequiredError}
|
|
2765
2824
|
*/
|
|
2766
|
-
membersIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>>;
|
|
2825
|
+
membersIndex(identifier?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>>;
|
|
2767
2826
|
/**
|
|
2768
2827
|
*
|
|
2769
2828
|
* @param {string} id
|
|
@@ -2897,10 +2956,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2897
2956
|
membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: any): AxiosPromise<WrappedResponseCommandsIndexResponse>;
|
|
2898
2957
|
/**
|
|
2899
2958
|
*
|
|
2959
|
+
* @param {string} [identifier]
|
|
2960
|
+
* @param {string} [xAccountId]
|
|
2900
2961
|
* @param {*} [options] Override http request option.
|
|
2901
2962
|
* @throws {RequiredError}
|
|
2902
2963
|
*/
|
|
2903
|
-
membersIndex(options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>;
|
|
2964
|
+
membersIndex(identifier?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>;
|
|
2904
2965
|
/**
|
|
2905
2966
|
*
|
|
2906
2967
|
* @param {string} id
|
|
@@ -3043,11 +3104,13 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3043
3104
|
membersCommandsIndex(memberId: string, name?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseCommandsIndexResponse, any>>;
|
|
3044
3105
|
/**
|
|
3045
3106
|
*
|
|
3107
|
+
* @param {string} [identifier]
|
|
3108
|
+
* @param {string} [xAccountId]
|
|
3046
3109
|
* @param {*} [options] Override http request option.
|
|
3047
3110
|
* @throws {RequiredError}
|
|
3048
3111
|
* @memberof DefaultApi
|
|
3049
3112
|
*/
|
|
3050
|
-
membersIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseFindMemberResultArrayOrNull, any>>;
|
|
3113
|
+
membersIndex(identifier?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseFindMemberResultArrayOrNull, any>>;
|
|
3051
3114
|
/**
|
|
3052
3115
|
*
|
|
3053
3116
|
* @param {string} id
|
package/dist/api/api.js
CHANGED
|
@@ -275,10 +275,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
275
275
|
}),
|
|
276
276
|
/**
|
|
277
277
|
*
|
|
278
|
+
* @param {string} [identifier]
|
|
279
|
+
* @param {string} [xAccountId]
|
|
278
280
|
* @param {*} [options] Override http request option.
|
|
279
281
|
* @throws {RequiredError}
|
|
280
282
|
*/
|
|
281
|
-
membersIndex: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
283
|
+
membersIndex: (identifier, xAccountId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
282
284
|
const localVarPath = `/members`;
|
|
283
285
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
284
286
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -289,6 +291,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
289
291
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
290
292
|
const localVarHeaderParameter = {};
|
|
291
293
|
const localVarQueryParameter = {};
|
|
294
|
+
if (identifier !== undefined) {
|
|
295
|
+
localVarQueryParameter['identifier'] = identifier;
|
|
296
|
+
}
|
|
297
|
+
if (xAccountId != null) {
|
|
298
|
+
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
299
|
+
}
|
|
292
300
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
293
301
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
294
302
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -689,12 +697,14 @@ const DefaultApiFp = function (configuration) {
|
|
|
689
697
|
},
|
|
690
698
|
/**
|
|
691
699
|
*
|
|
700
|
+
* @param {string} [identifier]
|
|
701
|
+
* @param {string} [xAccountId]
|
|
692
702
|
* @param {*} [options] Override http request option.
|
|
693
703
|
* @throws {RequiredError}
|
|
694
704
|
*/
|
|
695
|
-
membersIndex(options) {
|
|
705
|
+
membersIndex(identifier, xAccountId, options) {
|
|
696
706
|
return __awaiter(this, void 0, void 0, function* () {
|
|
697
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.membersIndex(options);
|
|
707
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.membersIndex(identifier, xAccountId, options);
|
|
698
708
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
699
709
|
});
|
|
700
710
|
},
|
|
@@ -899,11 +909,13 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
899
909
|
},
|
|
900
910
|
/**
|
|
901
911
|
*
|
|
912
|
+
* @param {string} [identifier]
|
|
913
|
+
* @param {string} [xAccountId]
|
|
902
914
|
* @param {*} [options] Override http request option.
|
|
903
915
|
* @throws {RequiredError}
|
|
904
916
|
*/
|
|
905
|
-
membersIndex(options) {
|
|
906
|
-
return localVarFp.membersIndex(options).then((request) => request(axios, basePath));
|
|
917
|
+
membersIndex(identifier, xAccountId, options) {
|
|
918
|
+
return localVarFp.membersIndex(identifier, xAccountId, options).then((request) => request(axios, basePath));
|
|
907
919
|
},
|
|
908
920
|
/**
|
|
909
921
|
*
|
|
@@ -1083,12 +1095,14 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1083
1095
|
}
|
|
1084
1096
|
/**
|
|
1085
1097
|
*
|
|
1098
|
+
* @param {string} [identifier]
|
|
1099
|
+
* @param {string} [xAccountId]
|
|
1086
1100
|
* @param {*} [options] Override http request option.
|
|
1087
1101
|
* @throws {RequiredError}
|
|
1088
1102
|
* @memberof DefaultApi
|
|
1089
1103
|
*/
|
|
1090
|
-
membersIndex(options) {
|
|
1091
|
-
return (0, exports.DefaultApiFp)(this.configuration).membersIndex(options).then((request) => request(this.axios, this.basePath));
|
|
1104
|
+
membersIndex(identifier, xAccountId, options) {
|
|
1105
|
+
return (0, exports.DefaultApiFp)(this.configuration).membersIndex(identifier, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
1092
1106
|
}
|
|
1093
1107
|
/**
|
|
1094
1108
|
*
|
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.eyJzdWIiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS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ImZjYzE3MTY4LWRmNTQtNDIyMy04MzYxLTY4NTlkZmNmMzU2NSIsInBlcm1pdHRlZV90eXBlIjoiYWNjb3VudCIsInZhbHVlIjp7Im5hbWUiOiJvYi1pYW06dG9rZW4iLCJzZXJ2aWNlIjoib2ItaWFtIiwiYWN0aW9ucyI6WyJjcmVhdGUiLCJyZWFkIl0sInJlc291cmNlX3R5cGUiOiJ0b2tlbiIsInJlc291cmNlIjp7ImFjY291bnRfaWQiOiJzZWxmIn19LCJjcmVhdGVkX2F0IjoiMjAyMy0xMS0wMlQwODo1MTo0Mi43NzFaIiwidXBkYXRlZF9hdCI6IjIwMjMtMTEtMDJUMDg6NTE6NDIuNzcxWiIsImRlbGV0ZWRfYXQiOm51bGwsImFjY291bnRfaWQiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJhY2NvdW50X2dyb3VwX2lkIjpudWxsfV19.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
|
+
})();
|