ob-bms-sdk 0.0.52 → 0.0.53
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 +67 -67
- package/dist/api/api.d.ts +68 -68
- package/package.json +1 -1
- package/test.ts +0 -15
package/api/api.ts
CHANGED
|
@@ -421,47 +421,47 @@ export interface FetchParkingResult {
|
|
|
421
421
|
export interface FindMemberResult {
|
|
422
422
|
/**
|
|
423
423
|
*
|
|
424
|
-
* @type {
|
|
424
|
+
* @type {string}
|
|
425
425
|
* @memberof FindMemberResult
|
|
426
426
|
*/
|
|
427
|
-
'
|
|
427
|
+
'id': string;
|
|
428
428
|
/**
|
|
429
429
|
*
|
|
430
|
-
* @type {
|
|
430
|
+
* @type {string}
|
|
431
431
|
* @memberof FindMemberResult
|
|
432
432
|
*/
|
|
433
|
-
'
|
|
433
|
+
'uid': string;
|
|
434
434
|
/**
|
|
435
435
|
*
|
|
436
|
-
* @type {
|
|
436
|
+
* @type {string}
|
|
437
437
|
* @memberof FindMemberResult
|
|
438
438
|
*/
|
|
439
|
-
'
|
|
439
|
+
'account_id'?: string | null;
|
|
440
440
|
/**
|
|
441
441
|
*
|
|
442
|
-
* @type {
|
|
442
|
+
* @type {JsonValue}
|
|
443
443
|
* @memberof FindMemberResult
|
|
444
444
|
*/
|
|
445
|
-
'
|
|
445
|
+
'metadata'?: JsonValue | null;
|
|
446
446
|
/**
|
|
447
447
|
*
|
|
448
|
-
* @type {
|
|
448
|
+
* @type {FindMemberResultCreatedAt}
|
|
449
449
|
* @memberof FindMemberResult
|
|
450
450
|
*/
|
|
451
|
-
'
|
|
451
|
+
'created_at': FindMemberResultCreatedAt;
|
|
452
452
|
/**
|
|
453
453
|
*
|
|
454
|
-
* @type {
|
|
454
|
+
* @type {FindMemberResultCreatedAt}
|
|
455
455
|
* @memberof FindMemberResult
|
|
456
456
|
*/
|
|
457
|
-
'
|
|
457
|
+
'updated_at': FindMemberResultCreatedAt;
|
|
458
458
|
}
|
|
459
459
|
/**
|
|
460
460
|
*
|
|
461
461
|
* @export
|
|
462
|
-
* @interface
|
|
462
|
+
* @interface FindMemberResultCreatedAt
|
|
463
463
|
*/
|
|
464
|
-
export interface
|
|
464
|
+
export interface FindMemberResultCreatedAt {
|
|
465
465
|
}
|
|
466
466
|
/**
|
|
467
467
|
*
|
|
@@ -944,16 +944,16 @@ export interface ParkingLotData {
|
|
|
944
944
|
export interface ParkingRedemptionRateResult {
|
|
945
945
|
/**
|
|
946
946
|
*
|
|
947
|
-
* @type {
|
|
947
|
+
* @type {number}
|
|
948
948
|
* @memberof ParkingRedemptionRateResult
|
|
949
949
|
*/
|
|
950
|
-
'
|
|
950
|
+
'code': number;
|
|
951
951
|
/**
|
|
952
952
|
*
|
|
953
|
-
* @type {
|
|
953
|
+
* @type {RateDetail}
|
|
954
954
|
* @memberof ParkingRedemptionRateResult
|
|
955
955
|
*/
|
|
956
|
-
'
|
|
956
|
+
'detail': RateDetail;
|
|
957
957
|
}
|
|
958
958
|
/**
|
|
959
959
|
*
|
|
@@ -963,34 +963,28 @@ export interface ParkingRedemptionRateResult {
|
|
|
963
963
|
export interface ParkingTicketResult {
|
|
964
964
|
/**
|
|
965
965
|
*
|
|
966
|
-
* @type {
|
|
967
|
-
* @memberof ParkingTicketResult
|
|
968
|
-
*/
|
|
969
|
-
'vehicle_type_id': number;
|
|
970
|
-
/**
|
|
971
|
-
*
|
|
972
|
-
* @type {number}
|
|
966
|
+
* @type {string}
|
|
973
967
|
* @memberof ParkingTicketResult
|
|
974
968
|
*/
|
|
975
|
-
'
|
|
969
|
+
'id': string;
|
|
976
970
|
/**
|
|
977
971
|
*
|
|
978
|
-
* @type {
|
|
972
|
+
* @type {string}
|
|
979
973
|
* @memberof ParkingTicketResult
|
|
980
974
|
*/
|
|
981
|
-
'
|
|
975
|
+
'plate_number': string;
|
|
982
976
|
/**
|
|
983
977
|
*
|
|
984
978
|
* @type {string}
|
|
985
979
|
* @memberof ParkingTicketResult
|
|
986
980
|
*/
|
|
987
|
-
'
|
|
981
|
+
'ticket_number': string;
|
|
988
982
|
/**
|
|
989
983
|
*
|
|
990
984
|
* @type {string}
|
|
991
985
|
* @memberof ParkingTicketResult
|
|
992
986
|
*/
|
|
993
|
-
'
|
|
987
|
+
'vehicle_type': string;
|
|
994
988
|
/**
|
|
995
989
|
*
|
|
996
990
|
* @type {number}
|
|
@@ -1002,25 +996,31 @@ export interface ParkingTicketResult {
|
|
|
1002
996
|
* @type {string}
|
|
1003
997
|
* @memberof ParkingTicketResult
|
|
1004
998
|
*/
|
|
1005
|
-
'
|
|
999
|
+
'member_id': string;
|
|
1006
1000
|
/**
|
|
1007
1001
|
*
|
|
1008
1002
|
* @type {string}
|
|
1009
1003
|
* @memberof ParkingTicketResult
|
|
1010
1004
|
*/
|
|
1011
|
-
'
|
|
1005
|
+
'parked_at': string;
|
|
1012
1006
|
/**
|
|
1013
1007
|
*
|
|
1014
|
-
* @type {
|
|
1008
|
+
* @type {RateDetail}
|
|
1015
1009
|
* @memberof ParkingTicketResult
|
|
1016
1010
|
*/
|
|
1017
|
-
'
|
|
1011
|
+
'rate_detail': RateDetail;
|
|
1018
1012
|
/**
|
|
1019
1013
|
*
|
|
1020
|
-
* @type {
|
|
1014
|
+
* @type {number}
|
|
1021
1015
|
* @memberof ParkingTicketResult
|
|
1022
1016
|
*/
|
|
1023
|
-
'
|
|
1017
|
+
'member_type_id': number;
|
|
1018
|
+
/**
|
|
1019
|
+
*
|
|
1020
|
+
* @type {number}
|
|
1021
|
+
* @memberof ParkingTicketResult
|
|
1022
|
+
*/
|
|
1023
|
+
'vehicle_type_id': number;
|
|
1024
1024
|
}
|
|
1025
1025
|
/**
|
|
1026
1026
|
*
|
|
@@ -1879,16 +1879,16 @@ export interface VisitorSchedule {
|
|
|
1879
1879
|
'floor_id': string;
|
|
1880
1880
|
/**
|
|
1881
1881
|
*
|
|
1882
|
-
* @type {
|
|
1882
|
+
* @type {FindMemberResultCreatedAt}
|
|
1883
1883
|
* @memberof VisitorSchedule
|
|
1884
1884
|
*/
|
|
1885
|
-
'from':
|
|
1885
|
+
'from': FindMemberResultCreatedAt;
|
|
1886
1886
|
/**
|
|
1887
1887
|
*
|
|
1888
|
-
* @type {
|
|
1888
|
+
* @type {FindMemberResultCreatedAt}
|
|
1889
1889
|
* @memberof VisitorSchedule
|
|
1890
1890
|
*/
|
|
1891
|
-
'to':
|
|
1891
|
+
'to': FindMemberResultCreatedAt;
|
|
1892
1892
|
/**
|
|
1893
1893
|
*
|
|
1894
1894
|
* @type {object}
|
|
@@ -2247,22 +2247,22 @@ export interface WrappedResponseFetchParkingResultData {
|
|
|
2247
2247
|
/**
|
|
2248
2248
|
*
|
|
2249
2249
|
* @export
|
|
2250
|
-
* @interface
|
|
2250
|
+
* @interface WrappedResponseFindMemberResultArrayOrNull
|
|
2251
2251
|
*/
|
|
2252
|
-
export interface
|
|
2252
|
+
export interface WrappedResponseFindMemberResultArrayOrNull {
|
|
2253
2253
|
/**
|
|
2254
2254
|
*
|
|
2255
|
-
* @type {
|
|
2256
|
-
* @memberof
|
|
2255
|
+
* @type {WrappedResponseFindMemberResultArrayOrNullData}
|
|
2256
|
+
* @memberof WrappedResponseFindMemberResultArrayOrNull
|
|
2257
2257
|
*/
|
|
2258
|
-
'data':
|
|
2258
|
+
'data': WrappedResponseFindMemberResultArrayOrNullData | null;
|
|
2259
2259
|
}
|
|
2260
2260
|
/**
|
|
2261
2261
|
*
|
|
2262
2262
|
* @export
|
|
2263
|
-
* @interface
|
|
2263
|
+
* @interface WrappedResponseFindMemberResultArrayOrNullData
|
|
2264
2264
|
*/
|
|
2265
|
-
export interface
|
|
2265
|
+
export interface WrappedResponseFindMemberResultArrayOrNullData {
|
|
2266
2266
|
}
|
|
2267
2267
|
/**
|
|
2268
2268
|
*
|
|
@@ -2465,34 +2465,28 @@ export interface WrappedResponseParkingTicketResultArrayData {
|
|
|
2465
2465
|
export interface WrappedResponseParkingTicketResultData {
|
|
2466
2466
|
/**
|
|
2467
2467
|
*
|
|
2468
|
-
* @type {
|
|
2469
|
-
* @memberof WrappedResponseParkingTicketResultData
|
|
2470
|
-
*/
|
|
2471
|
-
'vehicle_type_id': number;
|
|
2472
|
-
/**
|
|
2473
|
-
*
|
|
2474
|
-
* @type {number}
|
|
2468
|
+
* @type {string}
|
|
2475
2469
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2476
2470
|
*/
|
|
2477
|
-
'
|
|
2471
|
+
'id': string;
|
|
2478
2472
|
/**
|
|
2479
2473
|
*
|
|
2480
|
-
* @type {
|
|
2474
|
+
* @type {string}
|
|
2481
2475
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2482
2476
|
*/
|
|
2483
|
-
'
|
|
2477
|
+
'plate_number': string;
|
|
2484
2478
|
/**
|
|
2485
2479
|
*
|
|
2486
2480
|
* @type {string}
|
|
2487
2481
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2488
2482
|
*/
|
|
2489
|
-
'
|
|
2483
|
+
'ticket_number': string;
|
|
2490
2484
|
/**
|
|
2491
2485
|
*
|
|
2492
2486
|
* @type {string}
|
|
2493
2487
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2494
2488
|
*/
|
|
2495
|
-
'
|
|
2489
|
+
'vehicle_type': string;
|
|
2496
2490
|
/**
|
|
2497
2491
|
*
|
|
2498
2492
|
* @type {number}
|
|
@@ -2504,25 +2498,31 @@ export interface WrappedResponseParkingTicketResultData {
|
|
|
2504
2498
|
* @type {string}
|
|
2505
2499
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2506
2500
|
*/
|
|
2507
|
-
'
|
|
2501
|
+
'member_id': string;
|
|
2508
2502
|
/**
|
|
2509
2503
|
*
|
|
2510
2504
|
* @type {string}
|
|
2511
2505
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2512
2506
|
*/
|
|
2513
|
-
'
|
|
2507
|
+
'parked_at': string;
|
|
2514
2508
|
/**
|
|
2515
2509
|
*
|
|
2516
|
-
* @type {
|
|
2510
|
+
* @type {RateDetail}
|
|
2517
2511
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2518
2512
|
*/
|
|
2519
|
-
'
|
|
2513
|
+
'rate_detail': RateDetail;
|
|
2520
2514
|
/**
|
|
2521
2515
|
*
|
|
2522
|
-
* @type {
|
|
2516
|
+
* @type {number}
|
|
2523
2517
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2524
2518
|
*/
|
|
2525
|
-
'
|
|
2519
|
+
'member_type_id': number;
|
|
2520
|
+
/**
|
|
2521
|
+
*
|
|
2522
|
+
* @type {number}
|
|
2523
|
+
* @memberof WrappedResponseParkingTicketResultData
|
|
2524
|
+
*/
|
|
2525
|
+
'vehicle_type_id': number;
|
|
2526
2526
|
}
|
|
2527
2527
|
/**
|
|
2528
2528
|
*
|
|
@@ -3576,7 +3576,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3576
3576
|
* @param {*} [options] Override http request option.
|
|
3577
3577
|
* @throws {RequiredError}
|
|
3578
3578
|
*/
|
|
3579
|
-
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<WrappedResponseFindMemberResultArrayOrNull>> {
|
|
3580
3580
|
const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(identifier, accountId, xAccountId, options);
|
|
3581
3581
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3582
3582
|
},
|
|
@@ -3792,7 +3792,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3792
3792
|
* @param {*} [options] Override http request option.
|
|
3793
3793
|
* @throws {RequiredError}
|
|
3794
3794
|
*/
|
|
3795
|
-
membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<
|
|
3795
|
+
membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull> {
|
|
3796
3796
|
return localVarFp.membersIndex(identifier, accountId, xAccountId, options).then((request) => request(axios, basePath));
|
|
3797
3797
|
},
|
|
3798
3798
|
/**
|
package/dist/api/api.d.ts
CHANGED
|
@@ -419,47 +419,47 @@ export interface FetchParkingResult {
|
|
|
419
419
|
export interface FindMemberResult {
|
|
420
420
|
/**
|
|
421
421
|
*
|
|
422
|
-
* @type {
|
|
422
|
+
* @type {string}
|
|
423
423
|
* @memberof FindMemberResult
|
|
424
424
|
*/
|
|
425
|
-
'
|
|
425
|
+
'id': string;
|
|
426
426
|
/**
|
|
427
427
|
*
|
|
428
|
-
* @type {
|
|
428
|
+
* @type {string}
|
|
429
429
|
* @memberof FindMemberResult
|
|
430
430
|
*/
|
|
431
|
-
'
|
|
431
|
+
'uid': string;
|
|
432
432
|
/**
|
|
433
433
|
*
|
|
434
|
-
* @type {
|
|
434
|
+
* @type {string}
|
|
435
435
|
* @memberof FindMemberResult
|
|
436
436
|
*/
|
|
437
|
-
'
|
|
437
|
+
'account_id'?: string | null;
|
|
438
438
|
/**
|
|
439
439
|
*
|
|
440
|
-
* @type {
|
|
440
|
+
* @type {JsonValue}
|
|
441
441
|
* @memberof FindMemberResult
|
|
442
442
|
*/
|
|
443
|
-
'
|
|
443
|
+
'metadata'?: JsonValue | null;
|
|
444
444
|
/**
|
|
445
445
|
*
|
|
446
|
-
* @type {
|
|
446
|
+
* @type {FindMemberResultCreatedAt}
|
|
447
447
|
* @memberof FindMemberResult
|
|
448
448
|
*/
|
|
449
|
-
'
|
|
449
|
+
'created_at': FindMemberResultCreatedAt;
|
|
450
450
|
/**
|
|
451
451
|
*
|
|
452
|
-
* @type {
|
|
452
|
+
* @type {FindMemberResultCreatedAt}
|
|
453
453
|
* @memberof FindMemberResult
|
|
454
454
|
*/
|
|
455
|
-
'
|
|
455
|
+
'updated_at': FindMemberResultCreatedAt;
|
|
456
456
|
}
|
|
457
457
|
/**
|
|
458
458
|
*
|
|
459
459
|
* @export
|
|
460
|
-
* @interface
|
|
460
|
+
* @interface FindMemberResultCreatedAt
|
|
461
461
|
*/
|
|
462
|
-
export interface
|
|
462
|
+
export interface FindMemberResultCreatedAt {
|
|
463
463
|
}
|
|
464
464
|
/**
|
|
465
465
|
*
|
|
@@ -942,16 +942,16 @@ export interface ParkingLotData {
|
|
|
942
942
|
export interface ParkingRedemptionRateResult {
|
|
943
943
|
/**
|
|
944
944
|
*
|
|
945
|
-
* @type {
|
|
945
|
+
* @type {number}
|
|
946
946
|
* @memberof ParkingRedemptionRateResult
|
|
947
947
|
*/
|
|
948
|
-
'
|
|
948
|
+
'code': number;
|
|
949
949
|
/**
|
|
950
950
|
*
|
|
951
|
-
* @type {
|
|
951
|
+
* @type {RateDetail}
|
|
952
952
|
* @memberof ParkingRedemptionRateResult
|
|
953
953
|
*/
|
|
954
|
-
'
|
|
954
|
+
'detail': RateDetail;
|
|
955
955
|
}
|
|
956
956
|
/**
|
|
957
957
|
*
|
|
@@ -961,34 +961,28 @@ export interface ParkingRedemptionRateResult {
|
|
|
961
961
|
export interface ParkingTicketResult {
|
|
962
962
|
/**
|
|
963
963
|
*
|
|
964
|
-
* @type {
|
|
965
|
-
* @memberof ParkingTicketResult
|
|
966
|
-
*/
|
|
967
|
-
'vehicle_type_id': number;
|
|
968
|
-
/**
|
|
969
|
-
*
|
|
970
|
-
* @type {number}
|
|
964
|
+
* @type {string}
|
|
971
965
|
* @memberof ParkingTicketResult
|
|
972
966
|
*/
|
|
973
|
-
'
|
|
967
|
+
'id': string;
|
|
974
968
|
/**
|
|
975
969
|
*
|
|
976
|
-
* @type {
|
|
970
|
+
* @type {string}
|
|
977
971
|
* @memberof ParkingTicketResult
|
|
978
972
|
*/
|
|
979
|
-
'
|
|
973
|
+
'plate_number': string;
|
|
980
974
|
/**
|
|
981
975
|
*
|
|
982
976
|
* @type {string}
|
|
983
977
|
* @memberof ParkingTicketResult
|
|
984
978
|
*/
|
|
985
|
-
'
|
|
979
|
+
'ticket_number': string;
|
|
986
980
|
/**
|
|
987
981
|
*
|
|
988
982
|
* @type {string}
|
|
989
983
|
* @memberof ParkingTicketResult
|
|
990
984
|
*/
|
|
991
|
-
'
|
|
985
|
+
'vehicle_type': string;
|
|
992
986
|
/**
|
|
993
987
|
*
|
|
994
988
|
* @type {number}
|
|
@@ -1000,25 +994,31 @@ export interface ParkingTicketResult {
|
|
|
1000
994
|
* @type {string}
|
|
1001
995
|
* @memberof ParkingTicketResult
|
|
1002
996
|
*/
|
|
1003
|
-
'
|
|
997
|
+
'member_id': string;
|
|
1004
998
|
/**
|
|
1005
999
|
*
|
|
1006
1000
|
* @type {string}
|
|
1007
1001
|
* @memberof ParkingTicketResult
|
|
1008
1002
|
*/
|
|
1009
|
-
'
|
|
1003
|
+
'parked_at': string;
|
|
1010
1004
|
/**
|
|
1011
1005
|
*
|
|
1012
|
-
* @type {
|
|
1006
|
+
* @type {RateDetail}
|
|
1013
1007
|
* @memberof ParkingTicketResult
|
|
1014
1008
|
*/
|
|
1015
|
-
'
|
|
1009
|
+
'rate_detail': RateDetail;
|
|
1016
1010
|
/**
|
|
1017
1011
|
*
|
|
1018
|
-
* @type {
|
|
1012
|
+
* @type {number}
|
|
1019
1013
|
* @memberof ParkingTicketResult
|
|
1020
1014
|
*/
|
|
1021
|
-
'
|
|
1015
|
+
'member_type_id': number;
|
|
1016
|
+
/**
|
|
1017
|
+
*
|
|
1018
|
+
* @type {number}
|
|
1019
|
+
* @memberof ParkingTicketResult
|
|
1020
|
+
*/
|
|
1021
|
+
'vehicle_type_id': number;
|
|
1022
1022
|
}
|
|
1023
1023
|
/**
|
|
1024
1024
|
*
|
|
@@ -1868,16 +1868,16 @@ export interface VisitorSchedule {
|
|
|
1868
1868
|
'floor_id': string;
|
|
1869
1869
|
/**
|
|
1870
1870
|
*
|
|
1871
|
-
* @type {
|
|
1871
|
+
* @type {FindMemberResultCreatedAt}
|
|
1872
1872
|
* @memberof VisitorSchedule
|
|
1873
1873
|
*/
|
|
1874
|
-
'from':
|
|
1874
|
+
'from': FindMemberResultCreatedAt;
|
|
1875
1875
|
/**
|
|
1876
1876
|
*
|
|
1877
|
-
* @type {
|
|
1877
|
+
* @type {FindMemberResultCreatedAt}
|
|
1878
1878
|
* @memberof VisitorSchedule
|
|
1879
1879
|
*/
|
|
1880
|
-
'to':
|
|
1880
|
+
'to': FindMemberResultCreatedAt;
|
|
1881
1881
|
/**
|
|
1882
1882
|
*
|
|
1883
1883
|
* @type {object}
|
|
@@ -2236,22 +2236,22 @@ export interface WrappedResponseFetchParkingResultData {
|
|
|
2236
2236
|
/**
|
|
2237
2237
|
*
|
|
2238
2238
|
* @export
|
|
2239
|
-
* @interface
|
|
2239
|
+
* @interface WrappedResponseFindMemberResultArrayOrNull
|
|
2240
2240
|
*/
|
|
2241
|
-
export interface
|
|
2241
|
+
export interface WrappedResponseFindMemberResultArrayOrNull {
|
|
2242
2242
|
/**
|
|
2243
2243
|
*
|
|
2244
|
-
* @type {
|
|
2245
|
-
* @memberof
|
|
2244
|
+
* @type {WrappedResponseFindMemberResultArrayOrNullData}
|
|
2245
|
+
* @memberof WrappedResponseFindMemberResultArrayOrNull
|
|
2246
2246
|
*/
|
|
2247
|
-
'data':
|
|
2247
|
+
'data': WrappedResponseFindMemberResultArrayOrNullData | null;
|
|
2248
2248
|
}
|
|
2249
2249
|
/**
|
|
2250
2250
|
*
|
|
2251
2251
|
* @export
|
|
2252
|
-
* @interface
|
|
2252
|
+
* @interface WrappedResponseFindMemberResultArrayOrNullData
|
|
2253
2253
|
*/
|
|
2254
|
-
export interface
|
|
2254
|
+
export interface WrappedResponseFindMemberResultArrayOrNullData {
|
|
2255
2255
|
}
|
|
2256
2256
|
/**
|
|
2257
2257
|
*
|
|
@@ -2451,34 +2451,28 @@ export interface WrappedResponseParkingTicketResultArrayData {
|
|
|
2451
2451
|
export interface WrappedResponseParkingTicketResultData {
|
|
2452
2452
|
/**
|
|
2453
2453
|
*
|
|
2454
|
-
* @type {
|
|
2455
|
-
* @memberof WrappedResponseParkingTicketResultData
|
|
2456
|
-
*/
|
|
2457
|
-
'vehicle_type_id': number;
|
|
2458
|
-
/**
|
|
2459
|
-
*
|
|
2460
|
-
* @type {number}
|
|
2454
|
+
* @type {string}
|
|
2461
2455
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2462
2456
|
*/
|
|
2463
|
-
'
|
|
2457
|
+
'id': string;
|
|
2464
2458
|
/**
|
|
2465
2459
|
*
|
|
2466
|
-
* @type {
|
|
2460
|
+
* @type {string}
|
|
2467
2461
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2468
2462
|
*/
|
|
2469
|
-
'
|
|
2463
|
+
'plate_number': string;
|
|
2470
2464
|
/**
|
|
2471
2465
|
*
|
|
2472
2466
|
* @type {string}
|
|
2473
2467
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2474
2468
|
*/
|
|
2475
|
-
'
|
|
2469
|
+
'ticket_number': string;
|
|
2476
2470
|
/**
|
|
2477
2471
|
*
|
|
2478
2472
|
* @type {string}
|
|
2479
2473
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2480
2474
|
*/
|
|
2481
|
-
'
|
|
2475
|
+
'vehicle_type': string;
|
|
2482
2476
|
/**
|
|
2483
2477
|
*
|
|
2484
2478
|
* @type {number}
|
|
@@ -2490,25 +2484,31 @@ export interface WrappedResponseParkingTicketResultData {
|
|
|
2490
2484
|
* @type {string}
|
|
2491
2485
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2492
2486
|
*/
|
|
2493
|
-
'
|
|
2487
|
+
'member_id': string;
|
|
2494
2488
|
/**
|
|
2495
2489
|
*
|
|
2496
2490
|
* @type {string}
|
|
2497
2491
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2498
2492
|
*/
|
|
2499
|
-
'
|
|
2493
|
+
'parked_at': string;
|
|
2500
2494
|
/**
|
|
2501
2495
|
*
|
|
2502
|
-
* @type {
|
|
2496
|
+
* @type {RateDetail}
|
|
2503
2497
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2504
2498
|
*/
|
|
2505
|
-
'
|
|
2499
|
+
'rate_detail': RateDetail;
|
|
2506
2500
|
/**
|
|
2507
2501
|
*
|
|
2508
|
-
* @type {
|
|
2502
|
+
* @type {number}
|
|
2509
2503
|
* @memberof WrappedResponseParkingTicketResultData
|
|
2510
2504
|
*/
|
|
2511
|
-
'
|
|
2505
|
+
'member_type_id': number;
|
|
2506
|
+
/**
|
|
2507
|
+
*
|
|
2508
|
+
* @type {number}
|
|
2509
|
+
* @memberof WrappedResponseParkingTicketResultData
|
|
2510
|
+
*/
|
|
2511
|
+
'vehicle_type_id': number;
|
|
2512
2512
|
}
|
|
2513
2513
|
/**
|
|
2514
2514
|
*
|
|
@@ -2939,7 +2939,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2939
2939
|
* @param {*} [options] Override http request option.
|
|
2940
2940
|
* @throws {RequiredError}
|
|
2941
2941
|
*/
|
|
2942
|
-
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<WrappedResponseFindMemberResultArrayOrNull>>;
|
|
2943
2943
|
/**
|
|
2944
2944
|
*
|
|
2945
2945
|
* @param {string} id
|
|
@@ -3098,7 +3098,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3098
3098
|
* @param {*} [options] Override http request option.
|
|
3099
3099
|
* @throws {RequiredError}
|
|
3100
3100
|
*/
|
|
3101
|
-
membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<
|
|
3101
|
+
membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>;
|
|
3102
3102
|
/**
|
|
3103
3103
|
*
|
|
3104
3104
|
* @param {string} id
|
|
@@ -3267,7 +3267,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3267
3267
|
* @throws {RequiredError}
|
|
3268
3268
|
* @memberof DefaultApi
|
|
3269
3269
|
*/
|
|
3270
|
-
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<WrappedResponseFindMemberResultArrayOrNull, any>>;
|
|
3271
3271
|
/**
|
|
3272
3272
|
*
|
|
3273
3273
|
* @param {string} id
|
package/package.json
CHANGED
package/test.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
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.eyJzdWIiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJpYXQiOjE2OTg5MzU2ODcsImV4cCI6MTcwMTUyNzY4NywicGVybWlzc2lvbiI6W3siaWQiOiJmY2Q1NDZmYy1lNThmLTQ2MjctOTU5Yy1jNWFlYTljMGQ0ODMiLCJwZXJtaXR0ZWVfdHlwZSI6ImFjY291bnQiLCJ2YWx1ZSI6eyJuYW1lIjoib2ItaWFtOmFjY291bnQiLCJzZXJ2aWNlIjoib2ItaWFtIiwiYWN0aW9ucyI6WyJyZWFkIiwidXBkYXRlIiwiZGVsZXRlIl0sInJlc291cmNlX3R5cGUiOiJhY2NvdW50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hdCI6IjIwMjMtMTEtMDJUMDg6NTE6NDIuNzcxWiIsImRlbGV0ZWRfYXQiOm51bGwsImFjY291bnRfaWQiOiI4MjQyNzA1Zi0zNWI1LTRkNzEtOGUxOS1jNWE0MWFjMmUwYTQiLCJhY2NvdW50X2dyb3VwX2lkIjpudWxsfV19.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
|
-
})();
|