ob-bms-sdk 0.0.55 → 0.0.57
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 +114 -126
- package/dist/api/api.d.ts +115 -127
- package/package.json +1 -1
- package/test.ts +15 -0
package/api/api.ts
CHANGED
|
@@ -413,6 +413,56 @@ export interface FetchParkingResult {
|
|
|
413
413
|
*/
|
|
414
414
|
'error': Array<SyncResultSyncJobErrorInner>;
|
|
415
415
|
}
|
|
416
|
+
/**
|
|
417
|
+
*
|
|
418
|
+
* @export
|
|
419
|
+
* @interface FindMemberResult
|
|
420
|
+
*/
|
|
421
|
+
export interface FindMemberResult {
|
|
422
|
+
/**
|
|
423
|
+
*
|
|
424
|
+
* @type {FindMemberResultUpdatedAt}
|
|
425
|
+
* @memberof FindMemberResult
|
|
426
|
+
*/
|
|
427
|
+
'updated_at': FindMemberResultUpdatedAt;
|
|
428
|
+
/**
|
|
429
|
+
*
|
|
430
|
+
* @type {FindMemberResultUpdatedAt}
|
|
431
|
+
* @memberof FindMemberResult
|
|
432
|
+
*/
|
|
433
|
+
'created_at': FindMemberResultUpdatedAt;
|
|
434
|
+
/**
|
|
435
|
+
*
|
|
436
|
+
* @type {JsonValue}
|
|
437
|
+
* @memberof FindMemberResult
|
|
438
|
+
*/
|
|
439
|
+
'metadata'?: JsonValue | null;
|
|
440
|
+
/**
|
|
441
|
+
*
|
|
442
|
+
* @type {string}
|
|
443
|
+
* @memberof FindMemberResult
|
|
444
|
+
*/
|
|
445
|
+
'account_id'?: string | null;
|
|
446
|
+
/**
|
|
447
|
+
*
|
|
448
|
+
* @type {string}
|
|
449
|
+
* @memberof FindMemberResult
|
|
450
|
+
*/
|
|
451
|
+
'uid': string;
|
|
452
|
+
/**
|
|
453
|
+
*
|
|
454
|
+
* @type {string}
|
|
455
|
+
* @memberof FindMemberResult
|
|
456
|
+
*/
|
|
457
|
+
'id': string;
|
|
458
|
+
}
|
|
459
|
+
/**
|
|
460
|
+
*
|
|
461
|
+
* @export
|
|
462
|
+
* @interface FindMemberResultUpdatedAt
|
|
463
|
+
*/
|
|
464
|
+
export interface FindMemberResultUpdatedAt {
|
|
465
|
+
}
|
|
416
466
|
/**
|
|
417
467
|
*
|
|
418
468
|
* @export
|
|
@@ -660,61 +710,6 @@ export interface LocationPasses {
|
|
|
660
710
|
*/
|
|
661
711
|
'updated_at': string;
|
|
662
712
|
}
|
|
663
|
-
/**
|
|
664
|
-
*
|
|
665
|
-
* @export
|
|
666
|
-
* @interface MemberIndexInterface
|
|
667
|
-
*/
|
|
668
|
-
export interface MemberIndexInterface {
|
|
669
|
-
/**
|
|
670
|
-
*
|
|
671
|
-
* @type {string}
|
|
672
|
-
* @memberof MemberIndexInterface
|
|
673
|
-
*/
|
|
674
|
-
'id'?: string;
|
|
675
|
-
/**
|
|
676
|
-
*
|
|
677
|
-
* @type {string}
|
|
678
|
-
* @memberof MemberIndexInterface
|
|
679
|
-
*/
|
|
680
|
-
'uid'?: string;
|
|
681
|
-
/**
|
|
682
|
-
*
|
|
683
|
-
* @type {PrismaJsonValue}
|
|
684
|
-
* @memberof MemberIndexInterface
|
|
685
|
-
*/
|
|
686
|
-
'metadata'?: PrismaJsonValue | null;
|
|
687
|
-
/**
|
|
688
|
-
*
|
|
689
|
-
* @type {string}
|
|
690
|
-
* @memberof MemberIndexInterface
|
|
691
|
-
*/
|
|
692
|
-
'account_id'?: string | null;
|
|
693
|
-
/**
|
|
694
|
-
*
|
|
695
|
-
* @type {string}
|
|
696
|
-
* @memberof MemberIndexInterface
|
|
697
|
-
*/
|
|
698
|
-
'created_at'?: string;
|
|
699
|
-
/**
|
|
700
|
-
*
|
|
701
|
-
* @type {string}
|
|
702
|
-
* @memberof MemberIndexInterface
|
|
703
|
-
*/
|
|
704
|
-
'updated_at'?: string;
|
|
705
|
-
/**
|
|
706
|
-
*
|
|
707
|
-
* @type {string}
|
|
708
|
-
* @memberof MemberIndexInterface
|
|
709
|
-
*/
|
|
710
|
-
'default_floor'?: string | null;
|
|
711
|
-
/**
|
|
712
|
-
*
|
|
713
|
-
* @type {boolean}
|
|
714
|
-
* @memberof MemberIndexInterface
|
|
715
|
-
*/
|
|
716
|
-
'redemption_authorized': boolean;
|
|
717
|
-
}
|
|
718
713
|
/**
|
|
719
714
|
*
|
|
720
715
|
* @export
|
|
@@ -949,16 +944,16 @@ export interface ParkingLotData {
|
|
|
949
944
|
export interface ParkingRedemptionRateResult {
|
|
950
945
|
/**
|
|
951
946
|
*
|
|
952
|
-
* @type {
|
|
947
|
+
* @type {RateDetail}
|
|
953
948
|
* @memberof ParkingRedemptionRateResult
|
|
954
949
|
*/
|
|
955
|
-
'
|
|
950
|
+
'detail': RateDetail;
|
|
956
951
|
/**
|
|
957
952
|
*
|
|
958
|
-
* @type {
|
|
953
|
+
* @type {number}
|
|
959
954
|
* @memberof ParkingRedemptionRateResult
|
|
960
955
|
*/
|
|
961
|
-
'
|
|
956
|
+
'code': number;
|
|
962
957
|
}
|
|
963
958
|
/**
|
|
964
959
|
*
|
|
@@ -968,64 +963,64 @@ export interface ParkingRedemptionRateResult {
|
|
|
968
963
|
export interface ParkingTicketResult {
|
|
969
964
|
/**
|
|
970
965
|
*
|
|
971
|
-
* @type {
|
|
966
|
+
* @type {number}
|
|
972
967
|
* @memberof ParkingTicketResult
|
|
973
968
|
*/
|
|
974
|
-
'
|
|
969
|
+
'vehicle_type_id': number;
|
|
975
970
|
/**
|
|
976
971
|
*
|
|
977
|
-
* @type {
|
|
972
|
+
* @type {number}
|
|
978
973
|
* @memberof ParkingTicketResult
|
|
979
974
|
*/
|
|
980
|
-
'
|
|
975
|
+
'member_type_id': number;
|
|
981
976
|
/**
|
|
982
977
|
*
|
|
983
|
-
* @type {
|
|
978
|
+
* @type {RateDetail}
|
|
984
979
|
* @memberof ParkingTicketResult
|
|
985
980
|
*/
|
|
986
|
-
'
|
|
981
|
+
'rate_detail': RateDetail;
|
|
987
982
|
/**
|
|
988
983
|
*
|
|
989
984
|
* @type {string}
|
|
990
985
|
* @memberof ParkingTicketResult
|
|
991
986
|
*/
|
|
992
|
-
'
|
|
987
|
+
'parked_at': string;
|
|
993
988
|
/**
|
|
994
989
|
*
|
|
995
|
-
* @type {
|
|
990
|
+
* @type {string}
|
|
996
991
|
* @memberof ParkingTicketResult
|
|
997
992
|
*/
|
|
998
|
-
'
|
|
993
|
+
'member_id': string;
|
|
999
994
|
/**
|
|
1000
995
|
*
|
|
1001
|
-
* @type {
|
|
996
|
+
* @type {number}
|
|
1002
997
|
* @memberof ParkingTicketResult
|
|
1003
998
|
*/
|
|
1004
|
-
'
|
|
999
|
+
'total_fee': number;
|
|
1005
1000
|
/**
|
|
1006
1001
|
*
|
|
1007
1002
|
* @type {string}
|
|
1008
1003
|
* @memberof ParkingTicketResult
|
|
1009
1004
|
*/
|
|
1010
|
-
'
|
|
1005
|
+
'vehicle_type': string;
|
|
1011
1006
|
/**
|
|
1012
1007
|
*
|
|
1013
|
-
* @type {
|
|
1008
|
+
* @type {string}
|
|
1014
1009
|
* @memberof ParkingTicketResult
|
|
1015
1010
|
*/
|
|
1016
|
-
'
|
|
1011
|
+
'ticket_number': string;
|
|
1017
1012
|
/**
|
|
1018
1013
|
*
|
|
1019
|
-
* @type {
|
|
1014
|
+
* @type {string}
|
|
1020
1015
|
* @memberof ParkingTicketResult
|
|
1021
1016
|
*/
|
|
1022
|
-
'
|
|
1017
|
+
'plate_number': string;
|
|
1023
1018
|
/**
|
|
1024
1019
|
*
|
|
1025
|
-
* @type {
|
|
1020
|
+
* @type {string}
|
|
1026
1021
|
* @memberof ParkingTicketResult
|
|
1027
1022
|
*/
|
|
1028
|
-
'
|
|
1023
|
+
'id': string;
|
|
1029
1024
|
}
|
|
1030
1025
|
/**
|
|
1031
1026
|
*
|
|
@@ -1057,7 +1052,7 @@ export interface PassConsentResponse {
|
|
|
1057
1052
|
* @type {string}
|
|
1058
1053
|
* @memberof PassConsentResponse
|
|
1059
1054
|
*/
|
|
1060
|
-
'
|
|
1055
|
+
'status': PassConsentResponseStatusEnum;
|
|
1061
1056
|
/**
|
|
1062
1057
|
*
|
|
1063
1058
|
* @type {string}
|
|
@@ -1075,7 +1070,7 @@ export interface PassConsentResponse {
|
|
|
1075
1070
|
* @type {string}
|
|
1076
1071
|
* @memberof PassConsentResponse
|
|
1077
1072
|
*/
|
|
1078
|
-
'
|
|
1073
|
+
'uid': string | null;
|
|
1079
1074
|
/**
|
|
1080
1075
|
*
|
|
1081
1076
|
* @type {string}
|
|
@@ -1884,16 +1879,16 @@ export interface VisitorSchedule {
|
|
|
1884
1879
|
'floor_id': string;
|
|
1885
1880
|
/**
|
|
1886
1881
|
*
|
|
1887
|
-
* @type {
|
|
1882
|
+
* @type {FindMemberResultUpdatedAt}
|
|
1888
1883
|
* @memberof VisitorSchedule
|
|
1889
1884
|
*/
|
|
1890
|
-
'from':
|
|
1885
|
+
'from': FindMemberResultUpdatedAt;
|
|
1891
1886
|
/**
|
|
1892
1887
|
*
|
|
1893
|
-
* @type {
|
|
1888
|
+
* @type {FindMemberResultUpdatedAt}
|
|
1894
1889
|
* @memberof VisitorSchedule
|
|
1895
1890
|
*/
|
|
1896
|
-
'to':
|
|
1891
|
+
'to': FindMemberResultUpdatedAt;
|
|
1897
1892
|
/**
|
|
1898
1893
|
*
|
|
1899
1894
|
* @type {object}
|
|
@@ -1901,13 +1896,6 @@ export interface VisitorSchedule {
|
|
|
1901
1896
|
*/
|
|
1902
1897
|
'repetition'?: object;
|
|
1903
1898
|
}
|
|
1904
|
-
/**
|
|
1905
|
-
*
|
|
1906
|
-
* @export
|
|
1907
|
-
* @interface VisitorScheduleFrom
|
|
1908
|
-
*/
|
|
1909
|
-
export interface VisitorScheduleFrom {
|
|
1910
|
-
}
|
|
1911
1899
|
/**
|
|
1912
1900
|
*
|
|
1913
1901
|
* @export
|
|
@@ -2259,42 +2247,42 @@ export interface WrappedResponseFetchParkingResultData {
|
|
|
2259
2247
|
/**
|
|
2260
2248
|
*
|
|
2261
2249
|
* @export
|
|
2262
|
-
* @interface
|
|
2250
|
+
* @interface WrappedResponseFindMemberResultArray
|
|
2263
2251
|
*/
|
|
2264
|
-
export interface
|
|
2252
|
+
export interface WrappedResponseFindMemberResultArray {
|
|
2265
2253
|
/**
|
|
2266
2254
|
*
|
|
2267
|
-
* @type {
|
|
2268
|
-
* @memberof
|
|
2255
|
+
* @type {WrappedResponseFindMemberResultArrayData}
|
|
2256
|
+
* @memberof WrappedResponseFindMemberResultArray
|
|
2269
2257
|
*/
|
|
2270
|
-
'data':
|
|
2258
|
+
'data': WrappedResponseFindMemberResultArrayData | null;
|
|
2271
2259
|
}
|
|
2272
2260
|
/**
|
|
2273
2261
|
*
|
|
2274
2262
|
* @export
|
|
2275
|
-
* @interface
|
|
2263
|
+
* @interface WrappedResponseFindMemberResultArrayData
|
|
2276
2264
|
*/
|
|
2277
|
-
export interface
|
|
2265
|
+
export interface WrappedResponseFindMemberResultArrayData {
|
|
2278
2266
|
}
|
|
2279
2267
|
/**
|
|
2280
2268
|
*
|
|
2281
2269
|
* @export
|
|
2282
|
-
* @interface
|
|
2270
|
+
* @interface WrappedResponseLocationIndexResponse
|
|
2283
2271
|
*/
|
|
2284
|
-
export interface
|
|
2272
|
+
export interface WrappedResponseLocationIndexResponse {
|
|
2285
2273
|
/**
|
|
2286
2274
|
*
|
|
2287
|
-
* @type {
|
|
2288
|
-
* @memberof
|
|
2275
|
+
* @type {WrappedResponseLocationIndexResponseData}
|
|
2276
|
+
* @memberof WrappedResponseLocationIndexResponse
|
|
2289
2277
|
*/
|
|
2290
|
-
'data':
|
|
2278
|
+
'data': WrappedResponseLocationIndexResponseData | null;
|
|
2291
2279
|
}
|
|
2292
2280
|
/**
|
|
2293
2281
|
*
|
|
2294
2282
|
* @export
|
|
2295
|
-
* @interface
|
|
2283
|
+
* @interface WrappedResponseLocationIndexResponseData
|
|
2296
2284
|
*/
|
|
2297
|
-
export interface
|
|
2285
|
+
export interface WrappedResponseLocationIndexResponseData {
|
|
2298
2286
|
}
|
|
2299
2287
|
/**
|
|
2300
2288
|
*
|
|
@@ -2477,64 +2465,64 @@ export interface WrappedResponseParkingTicketResultArrayData {
|
|
|
2477
2465
|
export interface WrappedResponseParkingTicketResultData {
|
|
2478
2466
|
/**
|
|
2479
2467
|
*
|
|
2480
|
-
* @type {
|
|
2468
|
+
* @type {number}
|
|
2481
2469
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2482
2470
|
*/
|
|
2483
|
-
'
|
|
2471
|
+
'vehicle_type_id': number;
|
|
2484
2472
|
/**
|
|
2485
2473
|
*
|
|
2486
|
-
* @type {
|
|
2474
|
+
* @type {number}
|
|
2487
2475
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2488
2476
|
*/
|
|
2489
|
-
'
|
|
2477
|
+
'member_type_id': number;
|
|
2490
2478
|
/**
|
|
2491
2479
|
*
|
|
2492
|
-
* @type {
|
|
2480
|
+
* @type {RateDetail}
|
|
2493
2481
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2494
2482
|
*/
|
|
2495
|
-
'
|
|
2483
|
+
'rate_detail': RateDetail;
|
|
2496
2484
|
/**
|
|
2497
2485
|
*
|
|
2498
2486
|
* @type {string}
|
|
2499
2487
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2500
2488
|
*/
|
|
2501
|
-
'
|
|
2489
|
+
'parked_at': string;
|
|
2502
2490
|
/**
|
|
2503
2491
|
*
|
|
2504
|
-
* @type {
|
|
2492
|
+
* @type {string}
|
|
2505
2493
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2506
2494
|
*/
|
|
2507
|
-
'
|
|
2495
|
+
'member_id': string;
|
|
2508
2496
|
/**
|
|
2509
2497
|
*
|
|
2510
|
-
* @type {
|
|
2498
|
+
* @type {number}
|
|
2511
2499
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2512
2500
|
*/
|
|
2513
|
-
'
|
|
2501
|
+
'total_fee': number;
|
|
2514
2502
|
/**
|
|
2515
2503
|
*
|
|
2516
2504
|
* @type {string}
|
|
2517
2505
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2518
2506
|
*/
|
|
2519
|
-
'
|
|
2507
|
+
'vehicle_type': string;
|
|
2520
2508
|
/**
|
|
2521
2509
|
*
|
|
2522
|
-
* @type {
|
|
2510
|
+
* @type {string}
|
|
2523
2511
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2524
2512
|
*/
|
|
2525
|
-
'
|
|
2513
|
+
'ticket_number': string;
|
|
2526
2514
|
/**
|
|
2527
2515
|
*
|
|
2528
|
-
* @type {
|
|
2516
|
+
* @type {string}
|
|
2529
2517
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2530
2518
|
*/
|
|
2531
|
-
'
|
|
2519
|
+
'plate_number': string;
|
|
2532
2520
|
/**
|
|
2533
2521
|
*
|
|
2534
|
-
* @type {
|
|
2522
|
+
* @type {string}
|
|
2535
2523
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2536
2524
|
*/
|
|
2537
|
-
'
|
|
2525
|
+
'id': string;
|
|
2538
2526
|
}
|
|
2539
2527
|
/**
|
|
2540
2528
|
*
|
|
@@ -2566,7 +2554,7 @@ export interface WrappedResponsePassConsentResponseData {
|
|
|
2566
2554
|
* @type {string}
|
|
2567
2555
|
* @memberof WrappedResponsePassConsentResponseData
|
|
2568
2556
|
*/
|
|
2569
|
-
'
|
|
2557
|
+
'status': WrappedResponsePassConsentResponseDataStatusEnum;
|
|
2570
2558
|
/**
|
|
2571
2559
|
*
|
|
2572
2560
|
* @type {string}
|
|
@@ -2584,7 +2572,7 @@ export interface WrappedResponsePassConsentResponseData {
|
|
|
2584
2572
|
* @type {string}
|
|
2585
2573
|
* @memberof WrappedResponsePassConsentResponseData
|
|
2586
2574
|
*/
|
|
2587
|
-
'
|
|
2575
|
+
'uid': string | null;
|
|
2588
2576
|
/**
|
|
2589
2577
|
*
|
|
2590
2578
|
* @type {string}
|
|
@@ -3588,7 +3576,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3588
3576
|
* @param {*} [options] Override http request option.
|
|
3589
3577
|
* @throws {RequiredError}
|
|
3590
3578
|
*/
|
|
3591
|
-
async membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3579
|
+
async membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArray>> {
|
|
3592
3580
|
const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(identifier, accountId, xAccountId, options);
|
|
3593
3581
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3594
3582
|
},
|
|
@@ -3804,7 +3792,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3804
3792
|
* @param {*} [options] Override http request option.
|
|
3805
3793
|
* @throws {RequiredError}
|
|
3806
3794
|
*/
|
|
3807
|
-
membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<
|
|
3795
|
+
membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArray> {
|
|
3808
3796
|
return localVarFp.membersIndex(identifier, accountId, xAccountId, options).then((request) => request(axios, basePath));
|
|
3809
3797
|
},
|
|
3810
3798
|
/**
|
package/dist/api/api.d.ts
CHANGED
|
@@ -411,6 +411,56 @@ export interface FetchParkingResult {
|
|
|
411
411
|
*/
|
|
412
412
|
'error': Array<SyncResultSyncJobErrorInner>;
|
|
413
413
|
}
|
|
414
|
+
/**
|
|
415
|
+
*
|
|
416
|
+
* @export
|
|
417
|
+
* @interface FindMemberResult
|
|
418
|
+
*/
|
|
419
|
+
export interface FindMemberResult {
|
|
420
|
+
/**
|
|
421
|
+
*
|
|
422
|
+
* @type {FindMemberResultUpdatedAt}
|
|
423
|
+
* @memberof FindMemberResult
|
|
424
|
+
*/
|
|
425
|
+
'updated_at': FindMemberResultUpdatedAt;
|
|
426
|
+
/**
|
|
427
|
+
*
|
|
428
|
+
* @type {FindMemberResultUpdatedAt}
|
|
429
|
+
* @memberof FindMemberResult
|
|
430
|
+
*/
|
|
431
|
+
'created_at': FindMemberResultUpdatedAt;
|
|
432
|
+
/**
|
|
433
|
+
*
|
|
434
|
+
* @type {JsonValue}
|
|
435
|
+
* @memberof FindMemberResult
|
|
436
|
+
*/
|
|
437
|
+
'metadata'?: JsonValue | null;
|
|
438
|
+
/**
|
|
439
|
+
*
|
|
440
|
+
* @type {string}
|
|
441
|
+
* @memberof FindMemberResult
|
|
442
|
+
*/
|
|
443
|
+
'account_id'?: string | null;
|
|
444
|
+
/**
|
|
445
|
+
*
|
|
446
|
+
* @type {string}
|
|
447
|
+
* @memberof FindMemberResult
|
|
448
|
+
*/
|
|
449
|
+
'uid': string;
|
|
450
|
+
/**
|
|
451
|
+
*
|
|
452
|
+
* @type {string}
|
|
453
|
+
* @memberof FindMemberResult
|
|
454
|
+
*/
|
|
455
|
+
'id': string;
|
|
456
|
+
}
|
|
457
|
+
/**
|
|
458
|
+
*
|
|
459
|
+
* @export
|
|
460
|
+
* @interface FindMemberResultUpdatedAt
|
|
461
|
+
*/
|
|
462
|
+
export interface FindMemberResultUpdatedAt {
|
|
463
|
+
}
|
|
414
464
|
/**
|
|
415
465
|
*
|
|
416
466
|
* @export
|
|
@@ -658,61 +708,6 @@ export interface LocationPasses {
|
|
|
658
708
|
*/
|
|
659
709
|
'updated_at': string;
|
|
660
710
|
}
|
|
661
|
-
/**
|
|
662
|
-
*
|
|
663
|
-
* @export
|
|
664
|
-
* @interface MemberIndexInterface
|
|
665
|
-
*/
|
|
666
|
-
export interface MemberIndexInterface {
|
|
667
|
-
/**
|
|
668
|
-
*
|
|
669
|
-
* @type {string}
|
|
670
|
-
* @memberof MemberIndexInterface
|
|
671
|
-
*/
|
|
672
|
-
'id'?: string;
|
|
673
|
-
/**
|
|
674
|
-
*
|
|
675
|
-
* @type {string}
|
|
676
|
-
* @memberof MemberIndexInterface
|
|
677
|
-
*/
|
|
678
|
-
'uid'?: string;
|
|
679
|
-
/**
|
|
680
|
-
*
|
|
681
|
-
* @type {PrismaJsonValue}
|
|
682
|
-
* @memberof MemberIndexInterface
|
|
683
|
-
*/
|
|
684
|
-
'metadata'?: PrismaJsonValue | null;
|
|
685
|
-
/**
|
|
686
|
-
*
|
|
687
|
-
* @type {string}
|
|
688
|
-
* @memberof MemberIndexInterface
|
|
689
|
-
*/
|
|
690
|
-
'account_id'?: string | null;
|
|
691
|
-
/**
|
|
692
|
-
*
|
|
693
|
-
* @type {string}
|
|
694
|
-
* @memberof MemberIndexInterface
|
|
695
|
-
*/
|
|
696
|
-
'created_at'?: string;
|
|
697
|
-
/**
|
|
698
|
-
*
|
|
699
|
-
* @type {string}
|
|
700
|
-
* @memberof MemberIndexInterface
|
|
701
|
-
*/
|
|
702
|
-
'updated_at'?: string;
|
|
703
|
-
/**
|
|
704
|
-
*
|
|
705
|
-
* @type {string}
|
|
706
|
-
* @memberof MemberIndexInterface
|
|
707
|
-
*/
|
|
708
|
-
'default_floor'?: string | null;
|
|
709
|
-
/**
|
|
710
|
-
*
|
|
711
|
-
* @type {boolean}
|
|
712
|
-
* @memberof MemberIndexInterface
|
|
713
|
-
*/
|
|
714
|
-
'redemption_authorized': boolean;
|
|
715
|
-
}
|
|
716
711
|
/**
|
|
717
712
|
*
|
|
718
713
|
* @export
|
|
@@ -947,16 +942,16 @@ export interface ParkingLotData {
|
|
|
947
942
|
export interface ParkingRedemptionRateResult {
|
|
948
943
|
/**
|
|
949
944
|
*
|
|
950
|
-
* @type {
|
|
945
|
+
* @type {RateDetail}
|
|
951
946
|
* @memberof ParkingRedemptionRateResult
|
|
952
947
|
*/
|
|
953
|
-
'
|
|
948
|
+
'detail': RateDetail;
|
|
954
949
|
/**
|
|
955
950
|
*
|
|
956
|
-
* @type {
|
|
951
|
+
* @type {number}
|
|
957
952
|
* @memberof ParkingRedemptionRateResult
|
|
958
953
|
*/
|
|
959
|
-
'
|
|
954
|
+
'code': number;
|
|
960
955
|
}
|
|
961
956
|
/**
|
|
962
957
|
*
|
|
@@ -966,64 +961,64 @@ export interface ParkingRedemptionRateResult {
|
|
|
966
961
|
export interface ParkingTicketResult {
|
|
967
962
|
/**
|
|
968
963
|
*
|
|
969
|
-
* @type {
|
|
964
|
+
* @type {number}
|
|
970
965
|
* @memberof ParkingTicketResult
|
|
971
966
|
*/
|
|
972
|
-
'
|
|
967
|
+
'vehicle_type_id': number;
|
|
973
968
|
/**
|
|
974
969
|
*
|
|
975
|
-
* @type {
|
|
970
|
+
* @type {number}
|
|
976
971
|
* @memberof ParkingTicketResult
|
|
977
972
|
*/
|
|
978
|
-
'
|
|
973
|
+
'member_type_id': number;
|
|
979
974
|
/**
|
|
980
975
|
*
|
|
981
|
-
* @type {
|
|
976
|
+
* @type {RateDetail}
|
|
982
977
|
* @memberof ParkingTicketResult
|
|
983
978
|
*/
|
|
984
|
-
'
|
|
979
|
+
'rate_detail': RateDetail;
|
|
985
980
|
/**
|
|
986
981
|
*
|
|
987
982
|
* @type {string}
|
|
988
983
|
* @memberof ParkingTicketResult
|
|
989
984
|
*/
|
|
990
|
-
'
|
|
985
|
+
'parked_at': string;
|
|
991
986
|
/**
|
|
992
987
|
*
|
|
993
|
-
* @type {
|
|
988
|
+
* @type {string}
|
|
994
989
|
* @memberof ParkingTicketResult
|
|
995
990
|
*/
|
|
996
|
-
'
|
|
991
|
+
'member_id': string;
|
|
997
992
|
/**
|
|
998
993
|
*
|
|
999
|
-
* @type {
|
|
994
|
+
* @type {number}
|
|
1000
995
|
* @memberof ParkingTicketResult
|
|
1001
996
|
*/
|
|
1002
|
-
'
|
|
997
|
+
'total_fee': number;
|
|
1003
998
|
/**
|
|
1004
999
|
*
|
|
1005
1000
|
* @type {string}
|
|
1006
1001
|
* @memberof ParkingTicketResult
|
|
1007
1002
|
*/
|
|
1008
|
-
'
|
|
1003
|
+
'vehicle_type': string;
|
|
1009
1004
|
/**
|
|
1010
1005
|
*
|
|
1011
|
-
* @type {
|
|
1006
|
+
* @type {string}
|
|
1012
1007
|
* @memberof ParkingTicketResult
|
|
1013
1008
|
*/
|
|
1014
|
-
'
|
|
1009
|
+
'ticket_number': string;
|
|
1015
1010
|
/**
|
|
1016
1011
|
*
|
|
1017
|
-
* @type {
|
|
1012
|
+
* @type {string}
|
|
1018
1013
|
* @memberof ParkingTicketResult
|
|
1019
1014
|
*/
|
|
1020
|
-
'
|
|
1015
|
+
'plate_number': string;
|
|
1021
1016
|
/**
|
|
1022
1017
|
*
|
|
1023
|
-
* @type {
|
|
1018
|
+
* @type {string}
|
|
1024
1019
|
* @memberof ParkingTicketResult
|
|
1025
1020
|
*/
|
|
1026
|
-
'
|
|
1021
|
+
'id': string;
|
|
1027
1022
|
}
|
|
1028
1023
|
/**
|
|
1029
1024
|
*
|
|
@@ -1055,7 +1050,7 @@ export interface PassConsentResponse {
|
|
|
1055
1050
|
* @type {string}
|
|
1056
1051
|
* @memberof PassConsentResponse
|
|
1057
1052
|
*/
|
|
1058
|
-
'
|
|
1053
|
+
'status': PassConsentResponseStatusEnum;
|
|
1059
1054
|
/**
|
|
1060
1055
|
*
|
|
1061
1056
|
* @type {string}
|
|
@@ -1073,7 +1068,7 @@ export interface PassConsentResponse {
|
|
|
1073
1068
|
* @type {string}
|
|
1074
1069
|
* @memberof PassConsentResponse
|
|
1075
1070
|
*/
|
|
1076
|
-
'
|
|
1071
|
+
'uid': string | null;
|
|
1077
1072
|
/**
|
|
1078
1073
|
*
|
|
1079
1074
|
* @type {string}
|
|
@@ -1873,16 +1868,16 @@ export interface VisitorSchedule {
|
|
|
1873
1868
|
'floor_id': string;
|
|
1874
1869
|
/**
|
|
1875
1870
|
*
|
|
1876
|
-
* @type {
|
|
1871
|
+
* @type {FindMemberResultUpdatedAt}
|
|
1877
1872
|
* @memberof VisitorSchedule
|
|
1878
1873
|
*/
|
|
1879
|
-
'from':
|
|
1874
|
+
'from': FindMemberResultUpdatedAt;
|
|
1880
1875
|
/**
|
|
1881
1876
|
*
|
|
1882
|
-
* @type {
|
|
1877
|
+
* @type {FindMemberResultUpdatedAt}
|
|
1883
1878
|
* @memberof VisitorSchedule
|
|
1884
1879
|
*/
|
|
1885
|
-
'to':
|
|
1880
|
+
'to': FindMemberResultUpdatedAt;
|
|
1886
1881
|
/**
|
|
1887
1882
|
*
|
|
1888
1883
|
* @type {object}
|
|
@@ -1890,13 +1885,6 @@ export interface VisitorSchedule {
|
|
|
1890
1885
|
*/
|
|
1891
1886
|
'repetition'?: object;
|
|
1892
1887
|
}
|
|
1893
|
-
/**
|
|
1894
|
-
*
|
|
1895
|
-
* @export
|
|
1896
|
-
* @interface VisitorScheduleFrom
|
|
1897
|
-
*/
|
|
1898
|
-
export interface VisitorScheduleFrom {
|
|
1899
|
-
}
|
|
1900
1888
|
/**
|
|
1901
1889
|
*
|
|
1902
1890
|
* @export
|
|
@@ -2248,42 +2236,42 @@ export interface WrappedResponseFetchParkingResultData {
|
|
|
2248
2236
|
/**
|
|
2249
2237
|
*
|
|
2250
2238
|
* @export
|
|
2251
|
-
* @interface
|
|
2239
|
+
* @interface WrappedResponseFindMemberResultArray
|
|
2252
2240
|
*/
|
|
2253
|
-
export interface
|
|
2241
|
+
export interface WrappedResponseFindMemberResultArray {
|
|
2254
2242
|
/**
|
|
2255
2243
|
*
|
|
2256
|
-
* @type {
|
|
2257
|
-
* @memberof
|
|
2244
|
+
* @type {WrappedResponseFindMemberResultArrayData}
|
|
2245
|
+
* @memberof WrappedResponseFindMemberResultArray
|
|
2258
2246
|
*/
|
|
2259
|
-
'data':
|
|
2247
|
+
'data': WrappedResponseFindMemberResultArrayData | null;
|
|
2260
2248
|
}
|
|
2261
2249
|
/**
|
|
2262
2250
|
*
|
|
2263
2251
|
* @export
|
|
2264
|
-
* @interface
|
|
2252
|
+
* @interface WrappedResponseFindMemberResultArrayData
|
|
2265
2253
|
*/
|
|
2266
|
-
export interface
|
|
2254
|
+
export interface WrappedResponseFindMemberResultArrayData {
|
|
2267
2255
|
}
|
|
2268
2256
|
/**
|
|
2269
2257
|
*
|
|
2270
2258
|
* @export
|
|
2271
|
-
* @interface
|
|
2259
|
+
* @interface WrappedResponseLocationIndexResponse
|
|
2272
2260
|
*/
|
|
2273
|
-
export interface
|
|
2261
|
+
export interface WrappedResponseLocationIndexResponse {
|
|
2274
2262
|
/**
|
|
2275
2263
|
*
|
|
2276
|
-
* @type {
|
|
2277
|
-
* @memberof
|
|
2264
|
+
* @type {WrappedResponseLocationIndexResponseData}
|
|
2265
|
+
* @memberof WrappedResponseLocationIndexResponse
|
|
2278
2266
|
*/
|
|
2279
|
-
'data':
|
|
2267
|
+
'data': WrappedResponseLocationIndexResponseData | null;
|
|
2280
2268
|
}
|
|
2281
2269
|
/**
|
|
2282
2270
|
*
|
|
2283
2271
|
* @export
|
|
2284
|
-
* @interface
|
|
2272
|
+
* @interface WrappedResponseLocationIndexResponseData
|
|
2285
2273
|
*/
|
|
2286
|
-
export interface
|
|
2274
|
+
export interface WrappedResponseLocationIndexResponseData {
|
|
2287
2275
|
}
|
|
2288
2276
|
/**
|
|
2289
2277
|
*
|
|
@@ -2463,64 +2451,64 @@ export interface WrappedResponseParkingTicketResultArrayData {
|
|
|
2463
2451
|
export interface WrappedResponseParkingTicketResultData {
|
|
2464
2452
|
/**
|
|
2465
2453
|
*
|
|
2466
|
-
* @type {
|
|
2454
|
+
* @type {number}
|
|
2467
2455
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2468
2456
|
*/
|
|
2469
|
-
'
|
|
2457
|
+
'vehicle_type_id': number;
|
|
2470
2458
|
/**
|
|
2471
2459
|
*
|
|
2472
|
-
* @type {
|
|
2460
|
+
* @type {number}
|
|
2473
2461
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2474
2462
|
*/
|
|
2475
|
-
'
|
|
2463
|
+
'member_type_id': number;
|
|
2476
2464
|
/**
|
|
2477
2465
|
*
|
|
2478
|
-
* @type {
|
|
2466
|
+
* @type {RateDetail}
|
|
2479
2467
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2480
2468
|
*/
|
|
2481
|
-
'
|
|
2469
|
+
'rate_detail': RateDetail;
|
|
2482
2470
|
/**
|
|
2483
2471
|
*
|
|
2484
2472
|
* @type {string}
|
|
2485
2473
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2486
2474
|
*/
|
|
2487
|
-
'
|
|
2475
|
+
'parked_at': string;
|
|
2488
2476
|
/**
|
|
2489
2477
|
*
|
|
2490
|
-
* @type {
|
|
2478
|
+
* @type {string}
|
|
2491
2479
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2492
2480
|
*/
|
|
2493
|
-
'
|
|
2481
|
+
'member_id': string;
|
|
2494
2482
|
/**
|
|
2495
2483
|
*
|
|
2496
|
-
* @type {
|
|
2484
|
+
* @type {number}
|
|
2497
2485
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2498
2486
|
*/
|
|
2499
|
-
'
|
|
2487
|
+
'total_fee': number;
|
|
2500
2488
|
/**
|
|
2501
2489
|
*
|
|
2502
2490
|
* @type {string}
|
|
2503
2491
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2504
2492
|
*/
|
|
2505
|
-
'
|
|
2493
|
+
'vehicle_type': string;
|
|
2506
2494
|
/**
|
|
2507
2495
|
*
|
|
2508
|
-
* @type {
|
|
2496
|
+
* @type {string}
|
|
2509
2497
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2510
2498
|
*/
|
|
2511
|
-
'
|
|
2499
|
+
'ticket_number': string;
|
|
2512
2500
|
/**
|
|
2513
2501
|
*
|
|
2514
|
-
* @type {
|
|
2502
|
+
* @type {string}
|
|
2515
2503
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2516
2504
|
*/
|
|
2517
|
-
'
|
|
2505
|
+
'plate_number': string;
|
|
2518
2506
|
/**
|
|
2519
2507
|
*
|
|
2520
|
-
* @type {
|
|
2508
|
+
* @type {string}
|
|
2521
2509
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2522
2510
|
*/
|
|
2523
|
-
'
|
|
2511
|
+
'id': string;
|
|
2524
2512
|
}
|
|
2525
2513
|
/**
|
|
2526
2514
|
*
|
|
@@ -2552,7 +2540,7 @@ export interface WrappedResponsePassConsentResponseData {
|
|
|
2552
2540
|
* @type {string}
|
|
2553
2541
|
* @memberof WrappedResponsePassConsentResponseData
|
|
2554
2542
|
*/
|
|
2555
|
-
'
|
|
2543
|
+
'status': WrappedResponsePassConsentResponseDataStatusEnum;
|
|
2556
2544
|
/**
|
|
2557
2545
|
*
|
|
2558
2546
|
* @type {string}
|
|
@@ -2570,7 +2558,7 @@ export interface WrappedResponsePassConsentResponseData {
|
|
|
2570
2558
|
* @type {string}
|
|
2571
2559
|
* @memberof WrappedResponsePassConsentResponseData
|
|
2572
2560
|
*/
|
|
2573
|
-
'
|
|
2561
|
+
'uid': string | null;
|
|
2574
2562
|
/**
|
|
2575
2563
|
*
|
|
2576
2564
|
* @type {string}
|
|
@@ -2951,7 +2939,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2951
2939
|
* @param {*} [options] Override http request option.
|
|
2952
2940
|
* @throws {RequiredError}
|
|
2953
2941
|
*/
|
|
2954
|
-
membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2942
|
+
membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArray>>;
|
|
2955
2943
|
/**
|
|
2956
2944
|
*
|
|
2957
2945
|
* @param {string} id
|
|
@@ -3110,7 +3098,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3110
3098
|
* @param {*} [options] Override http request option.
|
|
3111
3099
|
* @throws {RequiredError}
|
|
3112
3100
|
*/
|
|
3113
|
-
membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<
|
|
3101
|
+
membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArray>;
|
|
3114
3102
|
/**
|
|
3115
3103
|
*
|
|
3116
3104
|
* @param {string} id
|
|
@@ -3279,7 +3267,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3279
3267
|
* @throws {RequiredError}
|
|
3280
3268
|
* @memberof DefaultApi
|
|
3281
3269
|
*/
|
|
3282
|
-
membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
3270
|
+
membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseFindMemberResultArray, any>>;
|
|
3283
3271
|
/**
|
|
3284
3272
|
*
|
|
3285
3273
|
* @param {string} id
|
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
|
+
})();
|