ob-bms-sdk 0.0.58 → 0.0.59
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 +219 -133
- package/dist/api/api.d.ts +202 -128
- package/dist/api/api.js +40 -16
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -963,67 +963,150 @@ export interface ParkingRedemptionRateResult {
|
|
|
963
963
|
/**
|
|
964
964
|
*
|
|
965
965
|
* @export
|
|
966
|
-
* @interface
|
|
966
|
+
* @interface ParkingTicketData
|
|
967
967
|
*/
|
|
968
|
-
export interface
|
|
968
|
+
export interface ParkingTicketData {
|
|
969
969
|
/**
|
|
970
970
|
*
|
|
971
971
|
* @type {number}
|
|
972
|
-
* @memberof
|
|
972
|
+
* @memberof ParkingTicketData
|
|
973
973
|
*/
|
|
974
974
|
'vehicle_type_id': number;
|
|
975
975
|
/**
|
|
976
976
|
*
|
|
977
977
|
* @type {number}
|
|
978
|
-
* @memberof
|
|
978
|
+
* @memberof ParkingTicketData
|
|
979
979
|
*/
|
|
980
980
|
'member_type_id': number;
|
|
981
981
|
/**
|
|
982
982
|
*
|
|
983
983
|
* @type {RateDetail}
|
|
984
|
-
* @memberof
|
|
984
|
+
* @memberof ParkingTicketData
|
|
985
985
|
*/
|
|
986
986
|
'rate_detail': RateDetail;
|
|
987
987
|
/**
|
|
988
988
|
*
|
|
989
989
|
* @type {string}
|
|
990
|
-
* @memberof
|
|
990
|
+
* @memberof ParkingTicketData
|
|
991
991
|
*/
|
|
992
992
|
'parked_at': string;
|
|
993
|
+
/**
|
|
994
|
+
*
|
|
995
|
+
* @type {number}
|
|
996
|
+
* @memberof ParkingTicketData
|
|
997
|
+
*/
|
|
998
|
+
'total_fee': number;
|
|
999
|
+
/**
|
|
1000
|
+
*
|
|
1001
|
+
* @type {string}
|
|
1002
|
+
* @memberof ParkingTicketData
|
|
1003
|
+
*/
|
|
1004
|
+
'vehicle_type': string;
|
|
1005
|
+
/**
|
|
1006
|
+
*
|
|
1007
|
+
* @type {string}
|
|
1008
|
+
* @memberof ParkingTicketData
|
|
1009
|
+
*/
|
|
1010
|
+
'ticket_number': string;
|
|
1011
|
+
/**
|
|
1012
|
+
*
|
|
1013
|
+
* @type {string}
|
|
1014
|
+
* @memberof ParkingTicketData
|
|
1015
|
+
*/
|
|
1016
|
+
'plate_number': string;
|
|
1017
|
+
/**
|
|
1018
|
+
*
|
|
1019
|
+
* @type {string}
|
|
1020
|
+
* @memberof ParkingTicketData
|
|
1021
|
+
*/
|
|
1022
|
+
'id': string;
|
|
1023
|
+
}
|
|
1024
|
+
/**
|
|
1025
|
+
*
|
|
1026
|
+
* @export
|
|
1027
|
+
* @interface ParkingTicketsIndexQuery
|
|
1028
|
+
*/
|
|
1029
|
+
export interface ParkingTicketsIndexQuery {
|
|
1030
|
+
/**
|
|
1031
|
+
*
|
|
1032
|
+
* @type {string}
|
|
1033
|
+
* @memberof ParkingTicketsIndexQuery
|
|
1034
|
+
*/
|
|
1035
|
+
'type': ParkingTicketsIndexQueryTypeEnum;
|
|
1036
|
+
/**
|
|
1037
|
+
*
|
|
1038
|
+
* @type {string}
|
|
1039
|
+
* @memberof ParkingTicketsIndexQuery
|
|
1040
|
+
*/
|
|
1041
|
+
'id': string;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
export const ParkingTicketsIndexQueryTypeEnum = {
|
|
1045
|
+
LogId: 'log_id',
|
|
1046
|
+
InviteId: 'invite_id',
|
|
1047
|
+
MemberId: 'member_id'
|
|
1048
|
+
} as const;
|
|
1049
|
+
|
|
1050
|
+
export type ParkingTicketsIndexQueryTypeEnum = typeof ParkingTicketsIndexQueryTypeEnum[keyof typeof ParkingTicketsIndexQueryTypeEnum];
|
|
1051
|
+
|
|
1052
|
+
/**
|
|
1053
|
+
*
|
|
1054
|
+
* @export
|
|
1055
|
+
* @interface ParkingTicketsIndexResponseData
|
|
1056
|
+
*/
|
|
1057
|
+
export interface ParkingTicketsIndexResponseData {
|
|
1058
|
+
/**
|
|
1059
|
+
*
|
|
1060
|
+
* @type {number}
|
|
1061
|
+
* @memberof ParkingTicketsIndexResponseData
|
|
1062
|
+
*/
|
|
1063
|
+
'vehicle_type_id': number;
|
|
1064
|
+
/**
|
|
1065
|
+
*
|
|
1066
|
+
* @type {number}
|
|
1067
|
+
* @memberof ParkingTicketsIndexResponseData
|
|
1068
|
+
*/
|
|
1069
|
+
'member_type_id': number;
|
|
1070
|
+
/**
|
|
1071
|
+
*
|
|
1072
|
+
* @type {RateDetail}
|
|
1073
|
+
* @memberof ParkingTicketsIndexResponseData
|
|
1074
|
+
*/
|
|
1075
|
+
'rate_detail': RateDetail;
|
|
993
1076
|
/**
|
|
994
1077
|
*
|
|
995
1078
|
* @type {string}
|
|
996
|
-
* @memberof
|
|
1079
|
+
* @memberof ParkingTicketsIndexResponseData
|
|
997
1080
|
*/
|
|
998
|
-
'
|
|
1081
|
+
'parked_at': string;
|
|
999
1082
|
/**
|
|
1000
1083
|
*
|
|
1001
1084
|
* @type {number}
|
|
1002
|
-
* @memberof
|
|
1085
|
+
* @memberof ParkingTicketsIndexResponseData
|
|
1003
1086
|
*/
|
|
1004
1087
|
'total_fee': number;
|
|
1005
1088
|
/**
|
|
1006
1089
|
*
|
|
1007
1090
|
* @type {string}
|
|
1008
|
-
* @memberof
|
|
1091
|
+
* @memberof ParkingTicketsIndexResponseData
|
|
1009
1092
|
*/
|
|
1010
1093
|
'vehicle_type': string;
|
|
1011
1094
|
/**
|
|
1012
1095
|
*
|
|
1013
1096
|
* @type {string}
|
|
1014
|
-
* @memberof
|
|
1097
|
+
* @memberof ParkingTicketsIndexResponseData
|
|
1015
1098
|
*/
|
|
1016
1099
|
'ticket_number': string;
|
|
1017
1100
|
/**
|
|
1018
1101
|
*
|
|
1019
1102
|
* @type {string}
|
|
1020
|
-
* @memberof
|
|
1103
|
+
* @memberof ParkingTicketsIndexResponseData
|
|
1021
1104
|
*/
|
|
1022
1105
|
'plate_number': string;
|
|
1023
1106
|
/**
|
|
1024
1107
|
*
|
|
1025
1108
|
* @type {string}
|
|
1026
|
-
* @memberof
|
|
1109
|
+
* @memberof ParkingTicketsIndexResponseData
|
|
1027
1110
|
*/
|
|
1028
1111
|
'id': string;
|
|
1029
1112
|
}
|
|
@@ -2367,82 +2450,15 @@ export interface WrappedResponseMemberIndexInterfaceArrayOrNullData {
|
|
|
2367
2450
|
/**
|
|
2368
2451
|
*
|
|
2369
2452
|
* @export
|
|
2370
|
-
* @interface
|
|
2453
|
+
* @interface WrappedResponseMembersShowResponseOrNull
|
|
2371
2454
|
*/
|
|
2372
|
-
export interface
|
|
2455
|
+
export interface WrappedResponseMembersShowResponseOrNull {
|
|
2373
2456
|
/**
|
|
2374
2457
|
*
|
|
2375
|
-
* @type {
|
|
2376
|
-
* @memberof
|
|
2458
|
+
* @type {Array<MembersShowResponse>}
|
|
2459
|
+
* @memberof WrappedResponseMembersShowResponseOrNull
|
|
2377
2460
|
*/
|
|
2378
|
-
'data':
|
|
2379
|
-
}
|
|
2380
|
-
/**
|
|
2381
|
-
*
|
|
2382
|
-
* @export
|
|
2383
|
-
* @interface WrappedResponseMembersShowResponseData
|
|
2384
|
-
*/
|
|
2385
|
-
export interface WrappedResponseMembersShowResponseData {
|
|
2386
|
-
/**
|
|
2387
|
-
*
|
|
2388
|
-
* @type {string}
|
|
2389
|
-
* @memberof WrappedResponseMembersShowResponseData
|
|
2390
|
-
*/
|
|
2391
|
-
'id': string;
|
|
2392
|
-
/**
|
|
2393
|
-
*
|
|
2394
|
-
* @type {string}
|
|
2395
|
-
* @memberof WrappedResponseMembersShowResponseData
|
|
2396
|
-
*/
|
|
2397
|
-
'uid': string;
|
|
2398
|
-
/**
|
|
2399
|
-
*
|
|
2400
|
-
* @type {JsonValue}
|
|
2401
|
-
* @memberof WrappedResponseMembersShowResponseData
|
|
2402
|
-
*/
|
|
2403
|
-
'metadata': JsonValue | null;
|
|
2404
|
-
/**
|
|
2405
|
-
*
|
|
2406
|
-
* @type {string}
|
|
2407
|
-
* @memberof WrappedResponseMembersShowResponseData
|
|
2408
|
-
*/
|
|
2409
|
-
'defaultFloor': string | null;
|
|
2410
|
-
/**
|
|
2411
|
-
*
|
|
2412
|
-
* @type {string}
|
|
2413
|
-
* @memberof WrappedResponseMembersShowResponseData
|
|
2414
|
-
*/
|
|
2415
|
-
'account_id': string | null;
|
|
2416
|
-
/**
|
|
2417
|
-
*
|
|
2418
|
-
* @type {string}
|
|
2419
|
-
* @memberof WrappedResponseMembersShowResponseData
|
|
2420
|
-
*/
|
|
2421
|
-
'created_at': string;
|
|
2422
|
-
/**
|
|
2423
|
-
*
|
|
2424
|
-
* @type {string}
|
|
2425
|
-
* @memberof WrappedResponseMembersShowResponseData
|
|
2426
|
-
*/
|
|
2427
|
-
'updated_at': string;
|
|
2428
|
-
/**
|
|
2429
|
-
*
|
|
2430
|
-
* @type {Array<PassData>}
|
|
2431
|
-
* @memberof WrappedResponseMembersShowResponseData
|
|
2432
|
-
*/
|
|
2433
|
-
'passes': Array<PassData>;
|
|
2434
|
-
/**
|
|
2435
|
-
*
|
|
2436
|
-
* @type {Array<TowerData>}
|
|
2437
|
-
* @memberof WrappedResponseMembersShowResponseData
|
|
2438
|
-
*/
|
|
2439
|
-
'towers': Array<TowerData>;
|
|
2440
|
-
/**
|
|
2441
|
-
*
|
|
2442
|
-
* @type {boolean}
|
|
2443
|
-
* @memberof WrappedResponseMembersShowResponseData
|
|
2444
|
-
*/
|
|
2445
|
-
'passed_turnstile': boolean;
|
|
2461
|
+
'data': Array<MembersShowResponse> | null;
|
|
2446
2462
|
}
|
|
2447
2463
|
/**
|
|
2448
2464
|
*
|
|
@@ -2507,100 +2523,148 @@ export interface WrappedResponseParkingRedemptionRateResultArrayData {
|
|
|
2507
2523
|
/**
|
|
2508
2524
|
*
|
|
2509
2525
|
* @export
|
|
2510
|
-
* @interface
|
|
2526
|
+
* @interface WrappedResponseParkingTicketData
|
|
2511
2527
|
*/
|
|
2512
|
-
export interface
|
|
2528
|
+
export interface WrappedResponseParkingTicketData {
|
|
2513
2529
|
/**
|
|
2514
2530
|
*
|
|
2515
|
-
* @type {
|
|
2516
|
-
* @memberof
|
|
2531
|
+
* @type {WrappedResponseParkingTicketDataData}
|
|
2532
|
+
* @memberof WrappedResponseParkingTicketData
|
|
2517
2533
|
*/
|
|
2518
|
-
'data':
|
|
2534
|
+
'data': WrappedResponseParkingTicketDataData | null;
|
|
2519
2535
|
}
|
|
2520
2536
|
/**
|
|
2521
2537
|
*
|
|
2522
2538
|
* @export
|
|
2523
|
-
* @interface
|
|
2539
|
+
* @interface WrappedResponseParkingTicketDataData
|
|
2524
2540
|
*/
|
|
2525
|
-
export interface
|
|
2541
|
+
export interface WrappedResponseParkingTicketDataData {
|
|
2542
|
+
/**
|
|
2543
|
+
*
|
|
2544
|
+
* @type {number}
|
|
2545
|
+
* @memberof WrappedResponseParkingTicketDataData
|
|
2546
|
+
*/
|
|
2547
|
+
'vehicle_type_id': number;
|
|
2526
2548
|
/**
|
|
2527
2549
|
*
|
|
2528
|
-
* @type {
|
|
2529
|
-
* @memberof
|
|
2550
|
+
* @type {number}
|
|
2551
|
+
* @memberof WrappedResponseParkingTicketDataData
|
|
2552
|
+
*/
|
|
2553
|
+
'member_type_id': number;
|
|
2554
|
+
/**
|
|
2555
|
+
*
|
|
2556
|
+
* @type {RateDetail}
|
|
2557
|
+
* @memberof WrappedResponseParkingTicketDataData
|
|
2530
2558
|
*/
|
|
2531
|
-
'
|
|
2559
|
+
'rate_detail': RateDetail;
|
|
2560
|
+
/**
|
|
2561
|
+
*
|
|
2562
|
+
* @type {string}
|
|
2563
|
+
* @memberof WrappedResponseParkingTicketDataData
|
|
2564
|
+
*/
|
|
2565
|
+
'parked_at': string;
|
|
2566
|
+
/**
|
|
2567
|
+
*
|
|
2568
|
+
* @type {number}
|
|
2569
|
+
* @memberof WrappedResponseParkingTicketDataData
|
|
2570
|
+
*/
|
|
2571
|
+
'total_fee': number;
|
|
2572
|
+
/**
|
|
2573
|
+
*
|
|
2574
|
+
* @type {string}
|
|
2575
|
+
* @memberof WrappedResponseParkingTicketDataData
|
|
2576
|
+
*/
|
|
2577
|
+
'vehicle_type': string;
|
|
2578
|
+
/**
|
|
2579
|
+
*
|
|
2580
|
+
* @type {string}
|
|
2581
|
+
* @memberof WrappedResponseParkingTicketDataData
|
|
2582
|
+
*/
|
|
2583
|
+
'ticket_number': string;
|
|
2584
|
+
/**
|
|
2585
|
+
*
|
|
2586
|
+
* @type {string}
|
|
2587
|
+
* @memberof WrappedResponseParkingTicketDataData
|
|
2588
|
+
*/
|
|
2589
|
+
'plate_number': string;
|
|
2590
|
+
/**
|
|
2591
|
+
*
|
|
2592
|
+
* @type {string}
|
|
2593
|
+
* @memberof WrappedResponseParkingTicketDataData
|
|
2594
|
+
*/
|
|
2595
|
+
'id': string;
|
|
2532
2596
|
}
|
|
2533
2597
|
/**
|
|
2534
2598
|
*
|
|
2535
2599
|
* @export
|
|
2536
|
-
* @interface
|
|
2600
|
+
* @interface WrappedResponseParkingTicketsIndexResponseData
|
|
2537
2601
|
*/
|
|
2538
|
-
export interface
|
|
2602
|
+
export interface WrappedResponseParkingTicketsIndexResponseData {
|
|
2603
|
+
/**
|
|
2604
|
+
*
|
|
2605
|
+
* @type {WrappedResponseParkingTicketsIndexResponseDataData}
|
|
2606
|
+
* @memberof WrappedResponseParkingTicketsIndexResponseData
|
|
2607
|
+
*/
|
|
2608
|
+
'data': WrappedResponseParkingTicketsIndexResponseDataData | null;
|
|
2539
2609
|
}
|
|
2540
2610
|
/**
|
|
2541
2611
|
*
|
|
2542
2612
|
* @export
|
|
2543
|
-
* @interface
|
|
2613
|
+
* @interface WrappedResponseParkingTicketsIndexResponseDataData
|
|
2544
2614
|
*/
|
|
2545
|
-
export interface
|
|
2615
|
+
export interface WrappedResponseParkingTicketsIndexResponseDataData {
|
|
2546
2616
|
/**
|
|
2547
2617
|
*
|
|
2548
2618
|
* @type {number}
|
|
2549
|
-
* @memberof
|
|
2619
|
+
* @memberof WrappedResponseParkingTicketsIndexResponseDataData
|
|
2550
2620
|
*/
|
|
2551
2621
|
'vehicle_type_id': number;
|
|
2552
2622
|
/**
|
|
2553
2623
|
*
|
|
2554
2624
|
* @type {number}
|
|
2555
|
-
* @memberof
|
|
2625
|
+
* @memberof WrappedResponseParkingTicketsIndexResponseDataData
|
|
2556
2626
|
*/
|
|
2557
2627
|
'member_type_id': number;
|
|
2558
2628
|
/**
|
|
2559
2629
|
*
|
|
2560
2630
|
* @type {RateDetail}
|
|
2561
|
-
* @memberof
|
|
2631
|
+
* @memberof WrappedResponseParkingTicketsIndexResponseDataData
|
|
2562
2632
|
*/
|
|
2563
2633
|
'rate_detail': RateDetail;
|
|
2564
2634
|
/**
|
|
2565
2635
|
*
|
|
2566
2636
|
* @type {string}
|
|
2567
|
-
* @memberof
|
|
2637
|
+
* @memberof WrappedResponseParkingTicketsIndexResponseDataData
|
|
2568
2638
|
*/
|
|
2569
2639
|
'parked_at': string;
|
|
2570
|
-
/**
|
|
2571
|
-
*
|
|
2572
|
-
* @type {string}
|
|
2573
|
-
* @memberof WrappedResponseParkingTicketResultData
|
|
2574
|
-
*/
|
|
2575
|
-
'member_id': string;
|
|
2576
2640
|
/**
|
|
2577
2641
|
*
|
|
2578
2642
|
* @type {number}
|
|
2579
|
-
* @memberof
|
|
2643
|
+
* @memberof WrappedResponseParkingTicketsIndexResponseDataData
|
|
2580
2644
|
*/
|
|
2581
2645
|
'total_fee': number;
|
|
2582
2646
|
/**
|
|
2583
2647
|
*
|
|
2584
2648
|
* @type {string}
|
|
2585
|
-
* @memberof
|
|
2649
|
+
* @memberof WrappedResponseParkingTicketsIndexResponseDataData
|
|
2586
2650
|
*/
|
|
2587
2651
|
'vehicle_type': string;
|
|
2588
2652
|
/**
|
|
2589
2653
|
*
|
|
2590
2654
|
* @type {string}
|
|
2591
|
-
* @memberof
|
|
2655
|
+
* @memberof WrappedResponseParkingTicketsIndexResponseDataData
|
|
2592
2656
|
*/
|
|
2593
2657
|
'ticket_number': string;
|
|
2594
2658
|
/**
|
|
2595
2659
|
*
|
|
2596
2660
|
* @type {string}
|
|
2597
|
-
* @memberof
|
|
2661
|
+
* @memberof WrappedResponseParkingTicketsIndexResponseDataData
|
|
2598
2662
|
*/
|
|
2599
2663
|
'plate_number': string;
|
|
2600
2664
|
/**
|
|
2601
2665
|
*
|
|
2602
2666
|
* @type {string}
|
|
2603
|
-
* @memberof
|
|
2667
|
+
* @memberof WrappedResponseParkingTicketsIndexResponseDataData
|
|
2604
2668
|
*/
|
|
2605
2669
|
'id': string;
|
|
2606
2670
|
}
|
|
@@ -3297,15 +3361,17 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3297
3361
|
},
|
|
3298
3362
|
/**
|
|
3299
3363
|
*
|
|
3300
|
-
* @param {
|
|
3364
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
3365
|
+
* @param {string} id
|
|
3301
3366
|
* @param {*} [options] Override http request option.
|
|
3302
3367
|
* @throws {RequiredError}
|
|
3303
3368
|
*/
|
|
3304
|
-
parkingTicketsIndex: async (
|
|
3305
|
-
// verify required parameter '
|
|
3306
|
-
assertParamExists('parkingTicketsIndex', '
|
|
3307
|
-
|
|
3308
|
-
|
|
3369
|
+
parkingTicketsIndex: async (type: ParkingTicketsIndexTypeEnum, id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3370
|
+
// verify required parameter 'type' is not null or undefined
|
|
3371
|
+
assertParamExists('parkingTicketsIndex', 'type', type)
|
|
3372
|
+
// verify required parameter 'id' is not null or undefined
|
|
3373
|
+
assertParamExists('parkingTicketsIndex', 'id', id)
|
|
3374
|
+
const localVarPath = `/parking_tickets`;
|
|
3309
3375
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3310
3376
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3311
3377
|
let baseOptions;
|
|
@@ -3317,6 +3383,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3317
3383
|
const localVarHeaderParameter = {} as any;
|
|
3318
3384
|
const localVarQueryParameter = {} as any;
|
|
3319
3385
|
|
|
3386
|
+
if (type !== undefined) {
|
|
3387
|
+
localVarQueryParameter['type'] = type;
|
|
3388
|
+
}
|
|
3389
|
+
|
|
3390
|
+
if (id !== undefined) {
|
|
3391
|
+
localVarQueryParameter['id'] = id;
|
|
3392
|
+
}
|
|
3393
|
+
|
|
3320
3394
|
|
|
3321
3395
|
|
|
3322
3396
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -3721,7 +3795,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3721
3795
|
* @param {*} [options] Override http request option.
|
|
3722
3796
|
* @throws {RequiredError}
|
|
3723
3797
|
*/
|
|
3724
|
-
async membersShow(id: string, locationId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3798
|
+
async membersShow(id: string, locationId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseMembersShowResponseOrNull>> {
|
|
3725
3799
|
const localVarAxiosArgs = await localVarAxiosParamCreator.membersShow(id, locationId, options);
|
|
3726
3800
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3727
3801
|
},
|
|
@@ -3759,12 +3833,13 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3759
3833
|
},
|
|
3760
3834
|
/**
|
|
3761
3835
|
*
|
|
3762
|
-
* @param {
|
|
3836
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
3837
|
+
* @param {string} id
|
|
3763
3838
|
* @param {*} [options] Override http request option.
|
|
3764
3839
|
* @throws {RequiredError}
|
|
3765
3840
|
*/
|
|
3766
|
-
async parkingTicketsIndex(
|
|
3767
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingTicketsIndex(
|
|
3841
|
+
async parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketsIndexResponseData>> {
|
|
3842
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingTicketsIndex(type, id, options);
|
|
3768
3843
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3769
3844
|
},
|
|
3770
3845
|
/**
|
|
@@ -3776,7 +3851,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3776
3851
|
* @param {*} [options] Override http request option.
|
|
3777
3852
|
* @throws {RequiredError}
|
|
3778
3853
|
*/
|
|
3779
|
-
async parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3854
|
+
async parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketData>> {
|
|
3780
3855
|
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingTicketsRedeem(memberId, logId, parkingTicketsRedeemBody, xAccountId, options);
|
|
3781
3856
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3782
3857
|
},
|
|
@@ -3946,7 +4021,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3946
4021
|
* @param {*} [options] Override http request option.
|
|
3947
4022
|
* @throws {RequiredError}
|
|
3948
4023
|
*/
|
|
3949
|
-
membersShow(id: string, locationId?: string, options?: any): AxiosPromise<
|
|
4024
|
+
membersShow(id: string, locationId?: string, options?: any): AxiosPromise<WrappedResponseMembersShowResponseOrNull> {
|
|
3950
4025
|
return localVarFp.membersShow(id, locationId, options).then((request) => request(axios, basePath));
|
|
3951
4026
|
},
|
|
3952
4027
|
/**
|
|
@@ -3980,12 +4055,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3980
4055
|
},
|
|
3981
4056
|
/**
|
|
3982
4057
|
*
|
|
3983
|
-
* @param {
|
|
4058
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
4059
|
+
* @param {string} id
|
|
3984
4060
|
* @param {*} [options] Override http request option.
|
|
3985
4061
|
* @throws {RequiredError}
|
|
3986
4062
|
*/
|
|
3987
|
-
parkingTicketsIndex(
|
|
3988
|
-
return localVarFp.parkingTicketsIndex(
|
|
4063
|
+
parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: any): AxiosPromise<WrappedResponseParkingTicketsIndexResponseData> {
|
|
4064
|
+
return localVarFp.parkingTicketsIndex(type, id, options).then((request) => request(axios, basePath));
|
|
3989
4065
|
},
|
|
3990
4066
|
/**
|
|
3991
4067
|
*
|
|
@@ -3996,7 +4072,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3996
4072
|
* @param {*} [options] Override http request option.
|
|
3997
4073
|
* @throws {RequiredError}
|
|
3998
4074
|
*/
|
|
3999
|
-
parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: any): AxiosPromise<
|
|
4075
|
+
parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseParkingTicketData> {
|
|
4000
4076
|
return localVarFp.parkingTicketsRedeem(memberId, logId, parkingTicketsRedeemBody, xAccountId, options).then((request) => request(axios, basePath));
|
|
4001
4077
|
},
|
|
4002
4078
|
/**
|
|
@@ -4216,13 +4292,14 @@ export class DefaultApi extends BaseAPI {
|
|
|
4216
4292
|
|
|
4217
4293
|
/**
|
|
4218
4294
|
*
|
|
4219
|
-
* @param {
|
|
4295
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
4296
|
+
* @param {string} id
|
|
4220
4297
|
* @param {*} [options] Override http request option.
|
|
4221
4298
|
* @throws {RequiredError}
|
|
4222
4299
|
* @memberof DefaultApi
|
|
4223
4300
|
*/
|
|
4224
|
-
public parkingTicketsIndex(
|
|
4225
|
-
return DefaultApiFp(this.configuration).parkingTicketsIndex(
|
|
4301
|
+
public parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig) {
|
|
4302
|
+
return DefaultApiFp(this.configuration).parkingTicketsIndex(type, id, options).then((request) => request(this.axios, this.basePath));
|
|
4226
4303
|
}
|
|
4227
4304
|
|
|
4228
4305
|
/**
|
|
@@ -4318,5 +4395,14 @@ export class DefaultApi extends BaseAPI {
|
|
|
4318
4395
|
}
|
|
4319
4396
|
}
|
|
4320
4397
|
|
|
4398
|
+
/**
|
|
4399
|
+
* @export
|
|
4400
|
+
*/
|
|
4401
|
+
export const ParkingTicketsIndexTypeEnum = {
|
|
4402
|
+
LogId: 'log_id',
|
|
4403
|
+
InviteId: 'invite_id',
|
|
4404
|
+
MemberId: 'member_id'
|
|
4405
|
+
} as const;
|
|
4406
|
+
export type ParkingTicketsIndexTypeEnum = typeof ParkingTicketsIndexTypeEnum[keyof typeof ParkingTicketsIndexTypeEnum];
|
|
4321
4407
|
|
|
4322
4408
|
|
package/dist/api/api.d.ts
CHANGED
|
@@ -961,67 +961,147 @@ export interface ParkingRedemptionRateResult {
|
|
|
961
961
|
/**
|
|
962
962
|
*
|
|
963
963
|
* @export
|
|
964
|
-
* @interface
|
|
964
|
+
* @interface ParkingTicketData
|
|
965
965
|
*/
|
|
966
|
-
export interface
|
|
966
|
+
export interface ParkingTicketData {
|
|
967
967
|
/**
|
|
968
968
|
*
|
|
969
969
|
* @type {number}
|
|
970
|
-
* @memberof
|
|
970
|
+
* @memberof ParkingTicketData
|
|
971
971
|
*/
|
|
972
972
|
'vehicle_type_id': number;
|
|
973
973
|
/**
|
|
974
974
|
*
|
|
975
975
|
* @type {number}
|
|
976
|
-
* @memberof
|
|
976
|
+
* @memberof ParkingTicketData
|
|
977
977
|
*/
|
|
978
978
|
'member_type_id': number;
|
|
979
979
|
/**
|
|
980
980
|
*
|
|
981
981
|
* @type {RateDetail}
|
|
982
|
-
* @memberof
|
|
982
|
+
* @memberof ParkingTicketData
|
|
983
983
|
*/
|
|
984
984
|
'rate_detail': RateDetail;
|
|
985
985
|
/**
|
|
986
986
|
*
|
|
987
987
|
* @type {string}
|
|
988
|
-
* @memberof
|
|
988
|
+
* @memberof ParkingTicketData
|
|
989
989
|
*/
|
|
990
990
|
'parked_at': string;
|
|
991
|
+
/**
|
|
992
|
+
*
|
|
993
|
+
* @type {number}
|
|
994
|
+
* @memberof ParkingTicketData
|
|
995
|
+
*/
|
|
996
|
+
'total_fee': number;
|
|
997
|
+
/**
|
|
998
|
+
*
|
|
999
|
+
* @type {string}
|
|
1000
|
+
* @memberof ParkingTicketData
|
|
1001
|
+
*/
|
|
1002
|
+
'vehicle_type': string;
|
|
991
1003
|
/**
|
|
992
1004
|
*
|
|
993
1005
|
* @type {string}
|
|
994
|
-
* @memberof
|
|
1006
|
+
* @memberof ParkingTicketData
|
|
995
1007
|
*/
|
|
996
|
-
'
|
|
1008
|
+
'ticket_number': string;
|
|
1009
|
+
/**
|
|
1010
|
+
*
|
|
1011
|
+
* @type {string}
|
|
1012
|
+
* @memberof ParkingTicketData
|
|
1013
|
+
*/
|
|
1014
|
+
'plate_number': string;
|
|
1015
|
+
/**
|
|
1016
|
+
*
|
|
1017
|
+
* @type {string}
|
|
1018
|
+
* @memberof ParkingTicketData
|
|
1019
|
+
*/
|
|
1020
|
+
'id': string;
|
|
1021
|
+
}
|
|
1022
|
+
/**
|
|
1023
|
+
*
|
|
1024
|
+
* @export
|
|
1025
|
+
* @interface ParkingTicketsIndexQuery
|
|
1026
|
+
*/
|
|
1027
|
+
export interface ParkingTicketsIndexQuery {
|
|
1028
|
+
/**
|
|
1029
|
+
*
|
|
1030
|
+
* @type {string}
|
|
1031
|
+
* @memberof ParkingTicketsIndexQuery
|
|
1032
|
+
*/
|
|
1033
|
+
'type': ParkingTicketsIndexQueryTypeEnum;
|
|
1034
|
+
/**
|
|
1035
|
+
*
|
|
1036
|
+
* @type {string}
|
|
1037
|
+
* @memberof ParkingTicketsIndexQuery
|
|
1038
|
+
*/
|
|
1039
|
+
'id': string;
|
|
1040
|
+
}
|
|
1041
|
+
export declare const ParkingTicketsIndexQueryTypeEnum: {
|
|
1042
|
+
readonly LogId: "log_id";
|
|
1043
|
+
readonly InviteId: "invite_id";
|
|
1044
|
+
readonly MemberId: "member_id";
|
|
1045
|
+
};
|
|
1046
|
+
export type ParkingTicketsIndexQueryTypeEnum = typeof ParkingTicketsIndexQueryTypeEnum[keyof typeof ParkingTicketsIndexQueryTypeEnum];
|
|
1047
|
+
/**
|
|
1048
|
+
*
|
|
1049
|
+
* @export
|
|
1050
|
+
* @interface ParkingTicketsIndexResponseData
|
|
1051
|
+
*/
|
|
1052
|
+
export interface ParkingTicketsIndexResponseData {
|
|
997
1053
|
/**
|
|
998
1054
|
*
|
|
999
1055
|
* @type {number}
|
|
1000
|
-
* @memberof
|
|
1056
|
+
* @memberof ParkingTicketsIndexResponseData
|
|
1057
|
+
*/
|
|
1058
|
+
'vehicle_type_id': number;
|
|
1059
|
+
/**
|
|
1060
|
+
*
|
|
1061
|
+
* @type {number}
|
|
1062
|
+
* @memberof ParkingTicketsIndexResponseData
|
|
1063
|
+
*/
|
|
1064
|
+
'member_type_id': number;
|
|
1065
|
+
/**
|
|
1066
|
+
*
|
|
1067
|
+
* @type {RateDetail}
|
|
1068
|
+
* @memberof ParkingTicketsIndexResponseData
|
|
1069
|
+
*/
|
|
1070
|
+
'rate_detail': RateDetail;
|
|
1071
|
+
/**
|
|
1072
|
+
*
|
|
1073
|
+
* @type {string}
|
|
1074
|
+
* @memberof ParkingTicketsIndexResponseData
|
|
1075
|
+
*/
|
|
1076
|
+
'parked_at': string;
|
|
1077
|
+
/**
|
|
1078
|
+
*
|
|
1079
|
+
* @type {number}
|
|
1080
|
+
* @memberof ParkingTicketsIndexResponseData
|
|
1001
1081
|
*/
|
|
1002
1082
|
'total_fee': number;
|
|
1003
1083
|
/**
|
|
1004
1084
|
*
|
|
1005
1085
|
* @type {string}
|
|
1006
|
-
* @memberof
|
|
1086
|
+
* @memberof ParkingTicketsIndexResponseData
|
|
1007
1087
|
*/
|
|
1008
1088
|
'vehicle_type': string;
|
|
1009
1089
|
/**
|
|
1010
1090
|
*
|
|
1011
1091
|
* @type {string}
|
|
1012
|
-
* @memberof
|
|
1092
|
+
* @memberof ParkingTicketsIndexResponseData
|
|
1013
1093
|
*/
|
|
1014
1094
|
'ticket_number': string;
|
|
1015
1095
|
/**
|
|
1016
1096
|
*
|
|
1017
1097
|
* @type {string}
|
|
1018
|
-
* @memberof
|
|
1098
|
+
* @memberof ParkingTicketsIndexResponseData
|
|
1019
1099
|
*/
|
|
1020
1100
|
'plate_number': string;
|
|
1021
1101
|
/**
|
|
1022
1102
|
*
|
|
1023
1103
|
* @type {string}
|
|
1024
|
-
* @memberof
|
|
1104
|
+
* @memberof ParkingTicketsIndexResponseData
|
|
1025
1105
|
*/
|
|
1026
1106
|
'id': string;
|
|
1027
1107
|
}
|
|
@@ -2356,82 +2436,15 @@ export interface WrappedResponseMemberIndexInterfaceArrayOrNullData {
|
|
|
2356
2436
|
/**
|
|
2357
2437
|
*
|
|
2358
2438
|
* @export
|
|
2359
|
-
* @interface
|
|
2439
|
+
* @interface WrappedResponseMembersShowResponseOrNull
|
|
2360
2440
|
*/
|
|
2361
|
-
export interface
|
|
2441
|
+
export interface WrappedResponseMembersShowResponseOrNull {
|
|
2362
2442
|
/**
|
|
2363
2443
|
*
|
|
2364
|
-
* @type {
|
|
2365
|
-
* @memberof
|
|
2444
|
+
* @type {Array<MembersShowResponse>}
|
|
2445
|
+
* @memberof WrappedResponseMembersShowResponseOrNull
|
|
2366
2446
|
*/
|
|
2367
|
-
'data':
|
|
2368
|
-
}
|
|
2369
|
-
/**
|
|
2370
|
-
*
|
|
2371
|
-
* @export
|
|
2372
|
-
* @interface WrappedResponseMembersShowResponseData
|
|
2373
|
-
*/
|
|
2374
|
-
export interface WrappedResponseMembersShowResponseData {
|
|
2375
|
-
/**
|
|
2376
|
-
*
|
|
2377
|
-
* @type {string}
|
|
2378
|
-
* @memberof WrappedResponseMembersShowResponseData
|
|
2379
|
-
*/
|
|
2380
|
-
'id': string;
|
|
2381
|
-
/**
|
|
2382
|
-
*
|
|
2383
|
-
* @type {string}
|
|
2384
|
-
* @memberof WrappedResponseMembersShowResponseData
|
|
2385
|
-
*/
|
|
2386
|
-
'uid': string;
|
|
2387
|
-
/**
|
|
2388
|
-
*
|
|
2389
|
-
* @type {JsonValue}
|
|
2390
|
-
* @memberof WrappedResponseMembersShowResponseData
|
|
2391
|
-
*/
|
|
2392
|
-
'metadata': JsonValue | null;
|
|
2393
|
-
/**
|
|
2394
|
-
*
|
|
2395
|
-
* @type {string}
|
|
2396
|
-
* @memberof WrappedResponseMembersShowResponseData
|
|
2397
|
-
*/
|
|
2398
|
-
'defaultFloor': string | null;
|
|
2399
|
-
/**
|
|
2400
|
-
*
|
|
2401
|
-
* @type {string}
|
|
2402
|
-
* @memberof WrappedResponseMembersShowResponseData
|
|
2403
|
-
*/
|
|
2404
|
-
'account_id': string | null;
|
|
2405
|
-
/**
|
|
2406
|
-
*
|
|
2407
|
-
* @type {string}
|
|
2408
|
-
* @memberof WrappedResponseMembersShowResponseData
|
|
2409
|
-
*/
|
|
2410
|
-
'created_at': string;
|
|
2411
|
-
/**
|
|
2412
|
-
*
|
|
2413
|
-
* @type {string}
|
|
2414
|
-
* @memberof WrappedResponseMembersShowResponseData
|
|
2415
|
-
*/
|
|
2416
|
-
'updated_at': string;
|
|
2417
|
-
/**
|
|
2418
|
-
*
|
|
2419
|
-
* @type {Array<PassData>}
|
|
2420
|
-
* @memberof WrappedResponseMembersShowResponseData
|
|
2421
|
-
*/
|
|
2422
|
-
'passes': Array<PassData>;
|
|
2423
|
-
/**
|
|
2424
|
-
*
|
|
2425
|
-
* @type {Array<TowerData>}
|
|
2426
|
-
* @memberof WrappedResponseMembersShowResponseData
|
|
2427
|
-
*/
|
|
2428
|
-
'towers': Array<TowerData>;
|
|
2429
|
-
/**
|
|
2430
|
-
*
|
|
2431
|
-
* @type {boolean}
|
|
2432
|
-
* @memberof WrappedResponseMembersShowResponseData
|
|
2433
|
-
*/
|
|
2434
|
-
'passed_turnstile': boolean;
|
|
2447
|
+
'data': Array<MembersShowResponse> | null;
|
|
2435
2448
|
}
|
|
2436
2449
|
/**
|
|
2437
2450
|
*
|
|
@@ -2493,100 +2506,148 @@ export interface WrappedResponseParkingRedemptionRateResultArrayData {
|
|
|
2493
2506
|
/**
|
|
2494
2507
|
*
|
|
2495
2508
|
* @export
|
|
2496
|
-
* @interface
|
|
2509
|
+
* @interface WrappedResponseParkingTicketData
|
|
2497
2510
|
*/
|
|
2498
|
-
export interface
|
|
2511
|
+
export interface WrappedResponseParkingTicketData {
|
|
2499
2512
|
/**
|
|
2500
2513
|
*
|
|
2501
|
-
* @type {
|
|
2502
|
-
* @memberof
|
|
2514
|
+
* @type {WrappedResponseParkingTicketDataData}
|
|
2515
|
+
* @memberof WrappedResponseParkingTicketData
|
|
2503
2516
|
*/
|
|
2504
|
-
'data':
|
|
2517
|
+
'data': WrappedResponseParkingTicketDataData | null;
|
|
2505
2518
|
}
|
|
2506
2519
|
/**
|
|
2507
2520
|
*
|
|
2508
2521
|
* @export
|
|
2509
|
-
* @interface
|
|
2522
|
+
* @interface WrappedResponseParkingTicketDataData
|
|
2510
2523
|
*/
|
|
2511
|
-
export interface
|
|
2524
|
+
export interface WrappedResponseParkingTicketDataData {
|
|
2525
|
+
/**
|
|
2526
|
+
*
|
|
2527
|
+
* @type {number}
|
|
2528
|
+
* @memberof WrappedResponseParkingTicketDataData
|
|
2529
|
+
*/
|
|
2530
|
+
'vehicle_type_id': number;
|
|
2531
|
+
/**
|
|
2532
|
+
*
|
|
2533
|
+
* @type {number}
|
|
2534
|
+
* @memberof WrappedResponseParkingTicketDataData
|
|
2535
|
+
*/
|
|
2536
|
+
'member_type_id': number;
|
|
2537
|
+
/**
|
|
2538
|
+
*
|
|
2539
|
+
* @type {RateDetail}
|
|
2540
|
+
* @memberof WrappedResponseParkingTicketDataData
|
|
2541
|
+
*/
|
|
2542
|
+
'rate_detail': RateDetail;
|
|
2543
|
+
/**
|
|
2544
|
+
*
|
|
2545
|
+
* @type {string}
|
|
2546
|
+
* @memberof WrappedResponseParkingTicketDataData
|
|
2547
|
+
*/
|
|
2548
|
+
'parked_at': string;
|
|
2549
|
+
/**
|
|
2550
|
+
*
|
|
2551
|
+
* @type {number}
|
|
2552
|
+
* @memberof WrappedResponseParkingTicketDataData
|
|
2553
|
+
*/
|
|
2554
|
+
'total_fee': number;
|
|
2555
|
+
/**
|
|
2556
|
+
*
|
|
2557
|
+
* @type {string}
|
|
2558
|
+
* @memberof WrappedResponseParkingTicketDataData
|
|
2559
|
+
*/
|
|
2560
|
+
'vehicle_type': string;
|
|
2561
|
+
/**
|
|
2562
|
+
*
|
|
2563
|
+
* @type {string}
|
|
2564
|
+
* @memberof WrappedResponseParkingTicketDataData
|
|
2565
|
+
*/
|
|
2566
|
+
'ticket_number': string;
|
|
2567
|
+
/**
|
|
2568
|
+
*
|
|
2569
|
+
* @type {string}
|
|
2570
|
+
* @memberof WrappedResponseParkingTicketDataData
|
|
2571
|
+
*/
|
|
2572
|
+
'plate_number': string;
|
|
2512
2573
|
/**
|
|
2513
2574
|
*
|
|
2514
|
-
* @type {
|
|
2515
|
-
* @memberof
|
|
2575
|
+
* @type {string}
|
|
2576
|
+
* @memberof WrappedResponseParkingTicketDataData
|
|
2516
2577
|
*/
|
|
2517
|
-
'
|
|
2578
|
+
'id': string;
|
|
2518
2579
|
}
|
|
2519
2580
|
/**
|
|
2520
2581
|
*
|
|
2521
2582
|
* @export
|
|
2522
|
-
* @interface
|
|
2583
|
+
* @interface WrappedResponseParkingTicketsIndexResponseData
|
|
2523
2584
|
*/
|
|
2524
|
-
export interface
|
|
2585
|
+
export interface WrappedResponseParkingTicketsIndexResponseData {
|
|
2586
|
+
/**
|
|
2587
|
+
*
|
|
2588
|
+
* @type {WrappedResponseParkingTicketsIndexResponseDataData}
|
|
2589
|
+
* @memberof WrappedResponseParkingTicketsIndexResponseData
|
|
2590
|
+
*/
|
|
2591
|
+
'data': WrappedResponseParkingTicketsIndexResponseDataData | null;
|
|
2525
2592
|
}
|
|
2526
2593
|
/**
|
|
2527
2594
|
*
|
|
2528
2595
|
* @export
|
|
2529
|
-
* @interface
|
|
2596
|
+
* @interface WrappedResponseParkingTicketsIndexResponseDataData
|
|
2530
2597
|
*/
|
|
2531
|
-
export interface
|
|
2598
|
+
export interface WrappedResponseParkingTicketsIndexResponseDataData {
|
|
2532
2599
|
/**
|
|
2533
2600
|
*
|
|
2534
2601
|
* @type {number}
|
|
2535
|
-
* @memberof
|
|
2602
|
+
* @memberof WrappedResponseParkingTicketsIndexResponseDataData
|
|
2536
2603
|
*/
|
|
2537
2604
|
'vehicle_type_id': number;
|
|
2538
2605
|
/**
|
|
2539
2606
|
*
|
|
2540
2607
|
* @type {number}
|
|
2541
|
-
* @memberof
|
|
2608
|
+
* @memberof WrappedResponseParkingTicketsIndexResponseDataData
|
|
2542
2609
|
*/
|
|
2543
2610
|
'member_type_id': number;
|
|
2544
2611
|
/**
|
|
2545
2612
|
*
|
|
2546
2613
|
* @type {RateDetail}
|
|
2547
|
-
* @memberof
|
|
2614
|
+
* @memberof WrappedResponseParkingTicketsIndexResponseDataData
|
|
2548
2615
|
*/
|
|
2549
2616
|
'rate_detail': RateDetail;
|
|
2550
2617
|
/**
|
|
2551
2618
|
*
|
|
2552
2619
|
* @type {string}
|
|
2553
|
-
* @memberof
|
|
2620
|
+
* @memberof WrappedResponseParkingTicketsIndexResponseDataData
|
|
2554
2621
|
*/
|
|
2555
2622
|
'parked_at': string;
|
|
2556
|
-
/**
|
|
2557
|
-
*
|
|
2558
|
-
* @type {string}
|
|
2559
|
-
* @memberof WrappedResponseParkingTicketResultData
|
|
2560
|
-
*/
|
|
2561
|
-
'member_id': string;
|
|
2562
2623
|
/**
|
|
2563
2624
|
*
|
|
2564
2625
|
* @type {number}
|
|
2565
|
-
* @memberof
|
|
2626
|
+
* @memberof WrappedResponseParkingTicketsIndexResponseDataData
|
|
2566
2627
|
*/
|
|
2567
2628
|
'total_fee': number;
|
|
2568
2629
|
/**
|
|
2569
2630
|
*
|
|
2570
2631
|
* @type {string}
|
|
2571
|
-
* @memberof
|
|
2632
|
+
* @memberof WrappedResponseParkingTicketsIndexResponseDataData
|
|
2572
2633
|
*/
|
|
2573
2634
|
'vehicle_type': string;
|
|
2574
2635
|
/**
|
|
2575
2636
|
*
|
|
2576
2637
|
* @type {string}
|
|
2577
|
-
* @memberof
|
|
2638
|
+
* @memberof WrappedResponseParkingTicketsIndexResponseDataData
|
|
2578
2639
|
*/
|
|
2579
2640
|
'ticket_number': string;
|
|
2580
2641
|
/**
|
|
2581
2642
|
*
|
|
2582
2643
|
* @type {string}
|
|
2583
|
-
* @memberof
|
|
2644
|
+
* @memberof WrappedResponseParkingTicketsIndexResponseDataData
|
|
2584
2645
|
*/
|
|
2585
2646
|
'plate_number': string;
|
|
2586
2647
|
/**
|
|
2587
2648
|
*
|
|
2588
2649
|
* @type {string}
|
|
2589
|
-
* @memberof
|
|
2650
|
+
* @memberof WrappedResponseParkingTicketsIndexResponseDataData
|
|
2590
2651
|
*/
|
|
2591
2652
|
'id': string;
|
|
2592
2653
|
}
|
|
@@ -2914,11 +2975,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2914
2975
|
parkingRedemptionRatesIndex: (id: string, memberTypeId: number, vehicleTypeId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2915
2976
|
/**
|
|
2916
2977
|
*
|
|
2917
|
-
* @param {
|
|
2978
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
2979
|
+
* @param {string} id
|
|
2918
2980
|
* @param {*} [options] Override http request option.
|
|
2919
2981
|
* @throws {RequiredError}
|
|
2920
2982
|
*/
|
|
2921
|
-
parkingTicketsIndex: (
|
|
2983
|
+
parkingTicketsIndex: (type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2922
2984
|
/**
|
|
2923
2985
|
*
|
|
2924
2986
|
* @param {string} memberId
|
|
@@ -3054,7 +3116,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3054
3116
|
* @param {*} [options] Override http request option.
|
|
3055
3117
|
* @throws {RequiredError}
|
|
3056
3118
|
*/
|
|
3057
|
-
membersShow(id: string, locationId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3119
|
+
membersShow(id: string, locationId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseMembersShowResponseOrNull>>;
|
|
3058
3120
|
/**
|
|
3059
3121
|
*
|
|
3060
3122
|
* @param {string} id
|
|
@@ -3080,11 +3142,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3080
3142
|
parkingRedemptionRatesIndex(id: string, memberTypeId: number, vehicleTypeId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingRedemptionRateResultArray>>;
|
|
3081
3143
|
/**
|
|
3082
3144
|
*
|
|
3083
|
-
* @param {
|
|
3145
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
3146
|
+
* @param {string} id
|
|
3084
3147
|
* @param {*} [options] Override http request option.
|
|
3085
3148
|
* @throws {RequiredError}
|
|
3086
3149
|
*/
|
|
3087
|
-
parkingTicketsIndex(
|
|
3150
|
+
parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketsIndexResponseData>>;
|
|
3088
3151
|
/**
|
|
3089
3152
|
*
|
|
3090
3153
|
* @param {string} memberId
|
|
@@ -3094,7 +3157,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3094
3157
|
* @param {*} [options] Override http request option.
|
|
3095
3158
|
* @throws {RequiredError}
|
|
3096
3159
|
*/
|
|
3097
|
-
parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3160
|
+
parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketData>>;
|
|
3098
3161
|
/**
|
|
3099
3162
|
*
|
|
3100
3163
|
* @param {string} visitScheduleId
|
|
@@ -3220,7 +3283,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3220
3283
|
* @param {*} [options] Override http request option.
|
|
3221
3284
|
* @throws {RequiredError}
|
|
3222
3285
|
*/
|
|
3223
|
-
membersShow(id: string, locationId?: string, options?: any): AxiosPromise<
|
|
3286
|
+
membersShow(id: string, locationId?: string, options?: any): AxiosPromise<WrappedResponseMembersShowResponseOrNull>;
|
|
3224
3287
|
/**
|
|
3225
3288
|
*
|
|
3226
3289
|
* @param {string} id
|
|
@@ -3246,11 +3309,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3246
3309
|
parkingRedemptionRatesIndex(id: string, memberTypeId: number, vehicleTypeId: number, options?: any): AxiosPromise<WrappedResponseParkingRedemptionRateResultArray>;
|
|
3247
3310
|
/**
|
|
3248
3311
|
*
|
|
3249
|
-
* @param {
|
|
3312
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
3313
|
+
* @param {string} id
|
|
3250
3314
|
* @param {*} [options] Override http request option.
|
|
3251
3315
|
* @throws {RequiredError}
|
|
3252
3316
|
*/
|
|
3253
|
-
parkingTicketsIndex(
|
|
3317
|
+
parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: any): AxiosPromise<WrappedResponseParkingTicketsIndexResponseData>;
|
|
3254
3318
|
/**
|
|
3255
3319
|
*
|
|
3256
3320
|
* @param {string} memberId
|
|
@@ -3260,7 +3324,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3260
3324
|
* @param {*} [options] Override http request option.
|
|
3261
3325
|
* @throws {RequiredError}
|
|
3262
3326
|
*/
|
|
3263
|
-
parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: any): AxiosPromise<
|
|
3327
|
+
parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseParkingTicketData>;
|
|
3264
3328
|
/**
|
|
3265
3329
|
*
|
|
3266
3330
|
* @param {string} visitScheduleId
|
|
@@ -3397,7 +3461,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3397
3461
|
* @throws {RequiredError}
|
|
3398
3462
|
* @memberof DefaultApi
|
|
3399
3463
|
*/
|
|
3400
|
-
membersShow(id: string, locationId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
3464
|
+
membersShow(id: string, locationId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseMembersShowResponseOrNull, any>>;
|
|
3401
3465
|
/**
|
|
3402
3466
|
*
|
|
3403
3467
|
* @param {string} id
|
|
@@ -3426,12 +3490,13 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3426
3490
|
parkingRedemptionRatesIndex(id: string, memberTypeId: number, vehicleTypeId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingRedemptionRateResultArray, any>>;
|
|
3427
3491
|
/**
|
|
3428
3492
|
*
|
|
3429
|
-
* @param {
|
|
3493
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
3494
|
+
* @param {string} id
|
|
3430
3495
|
* @param {*} [options] Override http request option.
|
|
3431
3496
|
* @throws {RequiredError}
|
|
3432
3497
|
* @memberof DefaultApi
|
|
3433
3498
|
*/
|
|
3434
|
-
parkingTicketsIndex(
|
|
3499
|
+
parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketsIndexResponseData, any>>;
|
|
3435
3500
|
/**
|
|
3436
3501
|
*
|
|
3437
3502
|
* @param {string} memberId
|
|
@@ -3442,7 +3507,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3442
3507
|
* @throws {RequiredError}
|
|
3443
3508
|
* @memberof DefaultApi
|
|
3444
3509
|
*/
|
|
3445
|
-
parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
3510
|
+
parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketData, any>>;
|
|
3446
3511
|
/**
|
|
3447
3512
|
*
|
|
3448
3513
|
* @param {string} visitScheduleId
|
|
@@ -3501,3 +3566,12 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3501
3566
|
*/
|
|
3502
3567
|
visitorsShow(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseShowVisitorResponse, any>>;
|
|
3503
3568
|
}
|
|
3569
|
+
/**
|
|
3570
|
+
* @export
|
|
3571
|
+
*/
|
|
3572
|
+
export declare const ParkingTicketsIndexTypeEnum: {
|
|
3573
|
+
readonly LogId: "log_id";
|
|
3574
|
+
readonly InviteId: "invite_id";
|
|
3575
|
+
readonly MemberId: "member_id";
|
|
3576
|
+
};
|
|
3577
|
+
export type ParkingTicketsIndexTypeEnum = typeof ParkingTicketsIndexTypeEnum[keyof typeof ParkingTicketsIndexTypeEnum];
|
package/dist/api/api.js
CHANGED
|
@@ -25,13 +25,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
25
25
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WrappedResponsePassConsentResponseDataStatusEnum = exports.WrappedResponseNullDataEnum = exports.ShowPassResponseStatusEnum = exports.PassDataStatusEnum = exports.PassConsentResponseStatusEnum = void 0;
|
|
28
|
+
exports.ParkingTicketsIndexTypeEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WrappedResponsePassConsentResponseDataStatusEnum = exports.WrappedResponseNullDataEnum = exports.ShowPassResponseStatusEnum = exports.PassDataStatusEnum = exports.PassConsentResponseStatusEnum = exports.ParkingTicketsIndexQueryTypeEnum = void 0;
|
|
29
29
|
const axios_1 = __importDefault(require("axios"));
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
32
32
|
const common_1 = require("./common");
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
const base_1 = require("./base");
|
|
35
|
+
exports.ParkingTicketsIndexQueryTypeEnum = {
|
|
36
|
+
LogId: 'log_id',
|
|
37
|
+
InviteId: 'invite_id',
|
|
38
|
+
MemberId: 'member_id'
|
|
39
|
+
};
|
|
35
40
|
exports.PassConsentResponseStatusEnum = {
|
|
36
41
|
Pending: 'pending',
|
|
37
42
|
Confirmed: 'confirmed'
|
|
@@ -440,15 +445,17 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
440
445
|
}),
|
|
441
446
|
/**
|
|
442
447
|
*
|
|
443
|
-
* @param {
|
|
448
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
449
|
+
* @param {string} id
|
|
444
450
|
* @param {*} [options] Override http request option.
|
|
445
451
|
* @throws {RequiredError}
|
|
446
452
|
*/
|
|
447
|
-
parkingTicketsIndex: (
|
|
448
|
-
// verify required parameter '
|
|
449
|
-
(0, common_1.assertParamExists)('parkingTicketsIndex', '
|
|
450
|
-
|
|
451
|
-
|
|
453
|
+
parkingTicketsIndex: (type, id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
454
|
+
// verify required parameter 'type' is not null or undefined
|
|
455
|
+
(0, common_1.assertParamExists)('parkingTicketsIndex', 'type', type);
|
|
456
|
+
// verify required parameter 'id' is not null or undefined
|
|
457
|
+
(0, common_1.assertParamExists)('parkingTicketsIndex', 'id', id);
|
|
458
|
+
const localVarPath = `/parking_tickets`;
|
|
452
459
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
453
460
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
454
461
|
let baseOptions;
|
|
@@ -458,6 +465,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
458
465
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
459
466
|
const localVarHeaderParameter = {};
|
|
460
467
|
const localVarQueryParameter = {};
|
|
468
|
+
if (type !== undefined) {
|
|
469
|
+
localVarQueryParameter['type'] = type;
|
|
470
|
+
}
|
|
471
|
+
if (id !== undefined) {
|
|
472
|
+
localVarQueryParameter['id'] = id;
|
|
473
|
+
}
|
|
461
474
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
462
475
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
463
476
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -875,13 +888,14 @@ const DefaultApiFp = function (configuration) {
|
|
|
875
888
|
},
|
|
876
889
|
/**
|
|
877
890
|
*
|
|
878
|
-
* @param {
|
|
891
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
892
|
+
* @param {string} id
|
|
879
893
|
* @param {*} [options] Override http request option.
|
|
880
894
|
* @throws {RequiredError}
|
|
881
895
|
*/
|
|
882
|
-
parkingTicketsIndex(
|
|
896
|
+
parkingTicketsIndex(type, id, options) {
|
|
883
897
|
return __awaiter(this, void 0, void 0, function* () {
|
|
884
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingTicketsIndex(
|
|
898
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingTicketsIndex(type, id, options);
|
|
885
899
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
886
900
|
});
|
|
887
901
|
},
|
|
@@ -1114,12 +1128,13 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1114
1128
|
},
|
|
1115
1129
|
/**
|
|
1116
1130
|
*
|
|
1117
|
-
* @param {
|
|
1131
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
1132
|
+
* @param {string} id
|
|
1118
1133
|
* @param {*} [options] Override http request option.
|
|
1119
1134
|
* @throws {RequiredError}
|
|
1120
1135
|
*/
|
|
1121
|
-
parkingTicketsIndex(
|
|
1122
|
-
return localVarFp.parkingTicketsIndex(
|
|
1136
|
+
parkingTicketsIndex(type, id, options) {
|
|
1137
|
+
return localVarFp.parkingTicketsIndex(type, id, options).then((request) => request(axios, basePath));
|
|
1123
1138
|
},
|
|
1124
1139
|
/**
|
|
1125
1140
|
*
|
|
@@ -1338,13 +1353,14 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1338
1353
|
}
|
|
1339
1354
|
/**
|
|
1340
1355
|
*
|
|
1341
|
-
* @param {
|
|
1356
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
1357
|
+
* @param {string} id
|
|
1342
1358
|
* @param {*} [options] Override http request option.
|
|
1343
1359
|
* @throws {RequiredError}
|
|
1344
1360
|
* @memberof DefaultApi
|
|
1345
1361
|
*/
|
|
1346
|
-
parkingTicketsIndex(
|
|
1347
|
-
return (0, exports.DefaultApiFp)(this.configuration).parkingTicketsIndex(
|
|
1362
|
+
parkingTicketsIndex(type, id, options) {
|
|
1363
|
+
return (0, exports.DefaultApiFp)(this.configuration).parkingTicketsIndex(type, id, options).then((request) => request(this.axios, this.basePath));
|
|
1348
1364
|
}
|
|
1349
1365
|
/**
|
|
1350
1366
|
*
|
|
@@ -1432,3 +1448,11 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1432
1448
|
}
|
|
1433
1449
|
}
|
|
1434
1450
|
exports.DefaultApi = DefaultApi;
|
|
1451
|
+
/**
|
|
1452
|
+
* @export
|
|
1453
|
+
*/
|
|
1454
|
+
exports.ParkingTicketsIndexTypeEnum = {
|
|
1455
|
+
LogId: 'log_id',
|
|
1456
|
+
InviteId: 'invite_id',
|
|
1457
|
+
MemberId: 'member_id'
|
|
1458
|
+
};
|