ob-bms-sdk 0.0.59 → 0.0.61

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 CHANGED
@@ -1052,76 +1052,21 @@ export type ParkingTicketsIndexQueryTypeEnum = typeof ParkingTicketsIndexQueryTy
1052
1052
  /**
1053
1053
  *
1054
1054
  * @export
1055
- * @interface ParkingTicketsIndexResponseData
1055
+ * @interface ParkingTicketsRedeemBody
1056
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;
1076
- /**
1077
- *
1078
- * @type {string}
1079
- * @memberof ParkingTicketsIndexResponseData
1080
- */
1081
- 'parked_at': string;
1082
- /**
1083
- *
1084
- * @type {number}
1085
- * @memberof ParkingTicketsIndexResponseData
1086
- */
1087
- 'total_fee': number;
1088
- /**
1089
- *
1090
- * @type {string}
1091
- * @memberof ParkingTicketsIndexResponseData
1092
- */
1093
- 'vehicle_type': string;
1094
- /**
1095
- *
1096
- * @type {string}
1097
- * @memberof ParkingTicketsIndexResponseData
1098
- */
1099
- 'ticket_number': string;
1100
- /**
1101
- *
1102
- * @type {string}
1103
- * @memberof ParkingTicketsIndexResponseData
1104
- */
1105
- 'plate_number': string;
1057
+ export interface ParkingTicketsRedeemBody {
1106
1058
  /**
1107
1059
  *
1108
1060
  * @type {string}
1109
- * @memberof ParkingTicketsIndexResponseData
1061
+ * @memberof ParkingTicketsRedeemBody
1110
1062
  */
1111
- 'id': string;
1112
- }
1113
- /**
1114
- *
1115
- * @export
1116
- * @interface ParkingTicketsRedeemBody
1117
- */
1118
- export interface ParkingTicketsRedeemBody {
1063
+ 'rate_code': string;
1119
1064
  /**
1120
1065
  *
1121
1066
  * @type {string}
1122
1067
  * @memberof ParkingTicketsRedeemBody
1123
1068
  */
1124
- 'rate_code': string;
1069
+ 'redeemer_id': string;
1125
1070
  }
1126
1071
  /**
1127
1072
  *
@@ -2536,135 +2481,81 @@ export interface WrappedResponseParkingTicketData {
2536
2481
  /**
2537
2482
  *
2538
2483
  * @export
2539
- * @interface WrappedResponseParkingTicketDataData
2484
+ * @interface WrappedResponseParkingTicketDataArray
2540
2485
  */
2541
- export interface WrappedResponseParkingTicketDataData {
2542
- /**
2543
- *
2544
- * @type {number}
2545
- * @memberof WrappedResponseParkingTicketDataData
2546
- */
2547
- 'vehicle_type_id': number;
2486
+ export interface WrappedResponseParkingTicketDataArray {
2548
2487
  /**
2549
2488
  *
2550
- * @type {number}
2551
- * @memberof WrappedResponseParkingTicketDataData
2489
+ * @type {WrappedResponseParkingTicketDataArrayData}
2490
+ * @memberof WrappedResponseParkingTicketDataArray
2552
2491
  */
2553
- 'member_type_id': number;
2554
- /**
2555
- *
2556
- * @type {RateDetail}
2557
- * @memberof WrappedResponseParkingTicketDataData
2558
- */
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;
2492
+ 'data': WrappedResponseParkingTicketDataArrayData | null;
2596
2493
  }
2597
2494
  /**
2598
2495
  *
2599
2496
  * @export
2600
- * @interface WrappedResponseParkingTicketsIndexResponseData
2497
+ * @interface WrappedResponseParkingTicketDataArrayData
2601
2498
  */
2602
- export interface WrappedResponseParkingTicketsIndexResponseData {
2603
- /**
2604
- *
2605
- * @type {WrappedResponseParkingTicketsIndexResponseDataData}
2606
- * @memberof WrappedResponseParkingTicketsIndexResponseData
2607
- */
2608
- 'data': WrappedResponseParkingTicketsIndexResponseDataData | null;
2499
+ export interface WrappedResponseParkingTicketDataArrayData {
2609
2500
  }
2610
2501
  /**
2611
2502
  *
2612
2503
  * @export
2613
- * @interface WrappedResponseParkingTicketsIndexResponseDataData
2504
+ * @interface WrappedResponseParkingTicketDataData
2614
2505
  */
2615
- export interface WrappedResponseParkingTicketsIndexResponseDataData {
2506
+ export interface WrappedResponseParkingTicketDataData {
2616
2507
  /**
2617
2508
  *
2618
2509
  * @type {number}
2619
- * @memberof WrappedResponseParkingTicketsIndexResponseDataData
2510
+ * @memberof WrappedResponseParkingTicketDataData
2620
2511
  */
2621
2512
  'vehicle_type_id': number;
2622
2513
  /**
2623
2514
  *
2624
2515
  * @type {number}
2625
- * @memberof WrappedResponseParkingTicketsIndexResponseDataData
2516
+ * @memberof WrappedResponseParkingTicketDataData
2626
2517
  */
2627
2518
  'member_type_id': number;
2628
2519
  /**
2629
2520
  *
2630
2521
  * @type {RateDetail}
2631
- * @memberof WrappedResponseParkingTicketsIndexResponseDataData
2522
+ * @memberof WrappedResponseParkingTicketDataData
2632
2523
  */
2633
2524
  'rate_detail': RateDetail;
2634
2525
  /**
2635
2526
  *
2636
2527
  * @type {string}
2637
- * @memberof WrappedResponseParkingTicketsIndexResponseDataData
2528
+ * @memberof WrappedResponseParkingTicketDataData
2638
2529
  */
2639
2530
  'parked_at': string;
2640
2531
  /**
2641
2532
  *
2642
2533
  * @type {number}
2643
- * @memberof WrappedResponseParkingTicketsIndexResponseDataData
2534
+ * @memberof WrappedResponseParkingTicketDataData
2644
2535
  */
2645
2536
  'total_fee': number;
2646
2537
  /**
2647
2538
  *
2648
2539
  * @type {string}
2649
- * @memberof WrappedResponseParkingTicketsIndexResponseDataData
2540
+ * @memberof WrappedResponseParkingTicketDataData
2650
2541
  */
2651
2542
  'vehicle_type': string;
2652
2543
  /**
2653
2544
  *
2654
2545
  * @type {string}
2655
- * @memberof WrappedResponseParkingTicketsIndexResponseDataData
2546
+ * @memberof WrappedResponseParkingTicketDataData
2656
2547
  */
2657
2548
  'ticket_number': string;
2658
2549
  /**
2659
2550
  *
2660
2551
  * @type {string}
2661
- * @memberof WrappedResponseParkingTicketsIndexResponseDataData
2552
+ * @memberof WrappedResponseParkingTicketDataData
2662
2553
  */
2663
2554
  'plate_number': string;
2664
2555
  /**
2665
2556
  *
2666
2557
  * @type {string}
2667
- * @memberof WrappedResponseParkingTicketsIndexResponseDataData
2558
+ * @memberof WrappedResponseParkingTicketDataData
2668
2559
  */
2669
2560
  'id': string;
2670
2561
  }
@@ -3404,22 +3295,17 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3404
3295
  },
3405
3296
  /**
3406
3297
  *
3407
- * @param {string} memberId
3408
3298
  * @param {string} logId
3409
3299
  * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
3410
- * @param {string} [xAccountId]
3411
3300
  * @param {*} [options] Override http request option.
3412
3301
  * @throws {RequiredError}
3413
3302
  */
3414
- parkingTicketsRedeem: async (memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3415
- // verify required parameter 'memberId' is not null or undefined
3416
- assertParamExists('parkingTicketsRedeem', 'memberId', memberId)
3303
+ parkingTicketsRedeem: async (logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3417
3304
  // verify required parameter 'logId' is not null or undefined
3418
3305
  assertParamExists('parkingTicketsRedeem', 'logId', logId)
3419
3306
  // verify required parameter 'parkingTicketsRedeemBody' is not null or undefined
3420
3307
  assertParamExists('parkingTicketsRedeem', 'parkingTicketsRedeemBody', parkingTicketsRedeemBody)
3421
- const localVarPath = `/members/{member_id}/parking_tickets/{log_id}/redeem`
3422
- .replace(`{${"member_id"}}`, encodeURIComponent(String(memberId)))
3308
+ const localVarPath = `/parking_tickets/{log_id}/redeem`
3423
3309
  .replace(`{${"log_id"}}`, encodeURIComponent(String(logId)));
3424
3310
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3425
3311
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3432,10 +3318,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3432
3318
  const localVarHeaderParameter = {} as any;
3433
3319
  const localVarQueryParameter = {} as any;
3434
3320
 
3435
- if (xAccountId != null) {
3436
- localVarHeaderParameter['x-account-id'] = String(xAccountId);
3437
- }
3438
-
3439
3321
 
3440
3322
 
3441
3323
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -3838,21 +3720,19 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3838
3720
  * @param {*} [options] Override http request option.
3839
3721
  * @throws {RequiredError}
3840
3722
  */
3841
- async parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketsIndexResponseData>> {
3723
+ async parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketDataArray>> {
3842
3724
  const localVarAxiosArgs = await localVarAxiosParamCreator.parkingTicketsIndex(type, id, options);
3843
3725
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3844
3726
  },
3845
3727
  /**
3846
3728
  *
3847
- * @param {string} memberId
3848
3729
  * @param {string} logId
3849
3730
  * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
3850
- * @param {string} [xAccountId]
3851
3731
  * @param {*} [options] Override http request option.
3852
3732
  * @throws {RequiredError}
3853
3733
  */
3854
- async parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketData>> {
3855
- const localVarAxiosArgs = await localVarAxiosParamCreator.parkingTicketsRedeem(memberId, logId, parkingTicketsRedeemBody, xAccountId, options);
3734
+ async parkingTicketsRedeem(logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketData>> {
3735
+ const localVarAxiosArgs = await localVarAxiosParamCreator.parkingTicketsRedeem(logId, parkingTicketsRedeemBody, options);
3856
3736
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3857
3737
  },
3858
3738
  /**
@@ -4060,20 +3940,18 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
4060
3940
  * @param {*} [options] Override http request option.
4061
3941
  * @throws {RequiredError}
4062
3942
  */
4063
- parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: any): AxiosPromise<WrappedResponseParkingTicketsIndexResponseData> {
3943
+ parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: any): AxiosPromise<WrappedResponseParkingTicketDataArray> {
4064
3944
  return localVarFp.parkingTicketsIndex(type, id, options).then((request) => request(axios, basePath));
4065
3945
  },
4066
3946
  /**
4067
3947
  *
4068
- * @param {string} memberId
4069
3948
  * @param {string} logId
4070
3949
  * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
4071
- * @param {string} [xAccountId]
4072
3950
  * @param {*} [options] Override http request option.
4073
3951
  * @throws {RequiredError}
4074
3952
  */
4075
- parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseParkingTicketData> {
4076
- return localVarFp.parkingTicketsRedeem(memberId, logId, parkingTicketsRedeemBody, xAccountId, options).then((request) => request(axios, basePath));
3953
+ parkingTicketsRedeem(logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, options?: any): AxiosPromise<WrappedResponseParkingTicketData> {
3954
+ return localVarFp.parkingTicketsRedeem(logId, parkingTicketsRedeemBody, options).then((request) => request(axios, basePath));
4077
3955
  },
4078
3956
  /**
4079
3957
  *
@@ -4304,16 +4182,14 @@ export class DefaultApi extends BaseAPI {
4304
4182
 
4305
4183
  /**
4306
4184
  *
4307
- * @param {string} memberId
4308
4185
  * @param {string} logId
4309
4186
  * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
4310
- * @param {string} [xAccountId]
4311
4187
  * @param {*} [options] Override http request option.
4312
4188
  * @throws {RequiredError}
4313
4189
  * @memberof DefaultApi
4314
4190
  */
4315
- public parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: AxiosRequestConfig) {
4316
- return DefaultApiFp(this.configuration).parkingTicketsRedeem(memberId, logId, parkingTicketsRedeemBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
4191
+ public parkingTicketsRedeem(logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, options?: AxiosRequestConfig) {
4192
+ return DefaultApiFp(this.configuration).parkingTicketsRedeem(logId, parkingTicketsRedeemBody, options).then((request) => request(this.axios, this.basePath));
4317
4193
  }
4318
4194
 
4319
4195
  /**
package/dist/api/api.d.ts CHANGED
@@ -1047,76 +1047,21 @@ export type ParkingTicketsIndexQueryTypeEnum = typeof ParkingTicketsIndexQueryTy
1047
1047
  /**
1048
1048
  *
1049
1049
  * @export
1050
- * @interface ParkingTicketsIndexResponseData
1050
+ * @interface ParkingTicketsRedeemBody
1051
1051
  */
1052
- export interface ParkingTicketsIndexResponseData {
1053
- /**
1054
- *
1055
- * @type {number}
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
1081
- */
1082
- 'total_fee': number;
1083
- /**
1084
- *
1085
- * @type {string}
1086
- * @memberof ParkingTicketsIndexResponseData
1087
- */
1088
- 'vehicle_type': string;
1089
- /**
1090
- *
1091
- * @type {string}
1092
- * @memberof ParkingTicketsIndexResponseData
1093
- */
1094
- 'ticket_number': string;
1095
- /**
1096
- *
1097
- * @type {string}
1098
- * @memberof ParkingTicketsIndexResponseData
1099
- */
1100
- 'plate_number': string;
1052
+ export interface ParkingTicketsRedeemBody {
1101
1053
  /**
1102
1054
  *
1103
1055
  * @type {string}
1104
- * @memberof ParkingTicketsIndexResponseData
1056
+ * @memberof ParkingTicketsRedeemBody
1105
1057
  */
1106
- 'id': string;
1107
- }
1108
- /**
1109
- *
1110
- * @export
1111
- * @interface ParkingTicketsRedeemBody
1112
- */
1113
- export interface ParkingTicketsRedeemBody {
1058
+ 'rate_code': string;
1114
1059
  /**
1115
1060
  *
1116
1061
  * @type {string}
1117
1062
  * @memberof ParkingTicketsRedeemBody
1118
1063
  */
1119
- 'rate_code': string;
1064
+ 'redeemer_id': string;
1120
1065
  }
1121
1066
  /**
1122
1067
  *
@@ -2519,135 +2464,81 @@ export interface WrappedResponseParkingTicketData {
2519
2464
  /**
2520
2465
  *
2521
2466
  * @export
2522
- * @interface WrappedResponseParkingTicketDataData
2467
+ * @interface WrappedResponseParkingTicketDataArray
2523
2468
  */
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;
2469
+ export interface WrappedResponseParkingTicketDataArray {
2573
2470
  /**
2574
2471
  *
2575
- * @type {string}
2576
- * @memberof WrappedResponseParkingTicketDataData
2472
+ * @type {WrappedResponseParkingTicketDataArrayData}
2473
+ * @memberof WrappedResponseParkingTicketDataArray
2577
2474
  */
2578
- 'id': string;
2475
+ 'data': WrappedResponseParkingTicketDataArrayData | null;
2579
2476
  }
2580
2477
  /**
2581
2478
  *
2582
2479
  * @export
2583
- * @interface WrappedResponseParkingTicketsIndexResponseData
2480
+ * @interface WrappedResponseParkingTicketDataArrayData
2584
2481
  */
2585
- export interface WrappedResponseParkingTicketsIndexResponseData {
2586
- /**
2587
- *
2588
- * @type {WrappedResponseParkingTicketsIndexResponseDataData}
2589
- * @memberof WrappedResponseParkingTicketsIndexResponseData
2590
- */
2591
- 'data': WrappedResponseParkingTicketsIndexResponseDataData | null;
2482
+ export interface WrappedResponseParkingTicketDataArrayData {
2592
2483
  }
2593
2484
  /**
2594
2485
  *
2595
2486
  * @export
2596
- * @interface WrappedResponseParkingTicketsIndexResponseDataData
2487
+ * @interface WrappedResponseParkingTicketDataData
2597
2488
  */
2598
- export interface WrappedResponseParkingTicketsIndexResponseDataData {
2489
+ export interface WrappedResponseParkingTicketDataData {
2599
2490
  /**
2600
2491
  *
2601
2492
  * @type {number}
2602
- * @memberof WrappedResponseParkingTicketsIndexResponseDataData
2493
+ * @memberof WrappedResponseParkingTicketDataData
2603
2494
  */
2604
2495
  'vehicle_type_id': number;
2605
2496
  /**
2606
2497
  *
2607
2498
  * @type {number}
2608
- * @memberof WrappedResponseParkingTicketsIndexResponseDataData
2499
+ * @memberof WrappedResponseParkingTicketDataData
2609
2500
  */
2610
2501
  'member_type_id': number;
2611
2502
  /**
2612
2503
  *
2613
2504
  * @type {RateDetail}
2614
- * @memberof WrappedResponseParkingTicketsIndexResponseDataData
2505
+ * @memberof WrappedResponseParkingTicketDataData
2615
2506
  */
2616
2507
  'rate_detail': RateDetail;
2617
2508
  /**
2618
2509
  *
2619
2510
  * @type {string}
2620
- * @memberof WrappedResponseParkingTicketsIndexResponseDataData
2511
+ * @memberof WrappedResponseParkingTicketDataData
2621
2512
  */
2622
2513
  'parked_at': string;
2623
2514
  /**
2624
2515
  *
2625
2516
  * @type {number}
2626
- * @memberof WrappedResponseParkingTicketsIndexResponseDataData
2517
+ * @memberof WrappedResponseParkingTicketDataData
2627
2518
  */
2628
2519
  'total_fee': number;
2629
2520
  /**
2630
2521
  *
2631
2522
  * @type {string}
2632
- * @memberof WrappedResponseParkingTicketsIndexResponseDataData
2523
+ * @memberof WrappedResponseParkingTicketDataData
2633
2524
  */
2634
2525
  'vehicle_type': string;
2635
2526
  /**
2636
2527
  *
2637
2528
  * @type {string}
2638
- * @memberof WrappedResponseParkingTicketsIndexResponseDataData
2529
+ * @memberof WrappedResponseParkingTicketDataData
2639
2530
  */
2640
2531
  'ticket_number': string;
2641
2532
  /**
2642
2533
  *
2643
2534
  * @type {string}
2644
- * @memberof WrappedResponseParkingTicketsIndexResponseDataData
2535
+ * @memberof WrappedResponseParkingTicketDataData
2645
2536
  */
2646
2537
  'plate_number': string;
2647
2538
  /**
2648
2539
  *
2649
2540
  * @type {string}
2650
- * @memberof WrappedResponseParkingTicketsIndexResponseDataData
2541
+ * @memberof WrappedResponseParkingTicketDataData
2651
2542
  */
2652
2543
  'id': string;
2653
2544
  }
@@ -2983,14 +2874,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2983
2874
  parkingTicketsIndex: (type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2984
2875
  /**
2985
2876
  *
2986
- * @param {string} memberId
2987
2877
  * @param {string} logId
2988
2878
  * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
2989
- * @param {string} [xAccountId]
2990
2879
  * @param {*} [options] Override http request option.
2991
2880
  * @throws {RequiredError}
2992
2881
  */
2993
- parkingTicketsRedeem: (memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2882
+ parkingTicketsRedeem: (logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2994
2883
  /**
2995
2884
  *
2996
2885
  * @param {string} visitScheduleId
@@ -3147,17 +3036,15 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
3147
3036
  * @param {*} [options] Override http request option.
3148
3037
  * @throws {RequiredError}
3149
3038
  */
3150
- parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketsIndexResponseData>>;
3039
+ parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketDataArray>>;
3151
3040
  /**
3152
3041
  *
3153
- * @param {string} memberId
3154
3042
  * @param {string} logId
3155
3043
  * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
3156
- * @param {string} [xAccountId]
3157
3044
  * @param {*} [options] Override http request option.
3158
3045
  * @throws {RequiredError}
3159
3046
  */
3160
- parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketData>>;
3047
+ parkingTicketsRedeem(logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketData>>;
3161
3048
  /**
3162
3049
  *
3163
3050
  * @param {string} visitScheduleId
@@ -3314,17 +3201,15 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
3314
3201
  * @param {*} [options] Override http request option.
3315
3202
  * @throws {RequiredError}
3316
3203
  */
3317
- parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: any): AxiosPromise<WrappedResponseParkingTicketsIndexResponseData>;
3204
+ parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: any): AxiosPromise<WrappedResponseParkingTicketDataArray>;
3318
3205
  /**
3319
3206
  *
3320
- * @param {string} memberId
3321
3207
  * @param {string} logId
3322
3208
  * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
3323
- * @param {string} [xAccountId]
3324
3209
  * @param {*} [options] Override http request option.
3325
3210
  * @throws {RequiredError}
3326
3211
  */
3327
- parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseParkingTicketData>;
3212
+ parkingTicketsRedeem(logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, options?: any): AxiosPromise<WrappedResponseParkingTicketData>;
3328
3213
  /**
3329
3214
  *
3330
3215
  * @param {string} visitScheduleId
@@ -3496,18 +3381,16 @@ export declare class DefaultApi extends BaseAPI {
3496
3381
  * @throws {RequiredError}
3497
3382
  * @memberof DefaultApi
3498
3383
  */
3499
- parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketsIndexResponseData, any>>;
3384
+ parkingTicketsIndex(type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketDataArray, any>>;
3500
3385
  /**
3501
3386
  *
3502
- * @param {string} memberId
3503
3387
  * @param {string} logId
3504
3388
  * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
3505
- * @param {string} [xAccountId]
3506
3389
  * @param {*} [options] Override http request option.
3507
3390
  * @throws {RequiredError}
3508
3391
  * @memberof DefaultApi
3509
3392
  */
3510
- parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketData, any>>;
3393
+ parkingTicketsRedeem(logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketData, any>>;
3511
3394
  /**
3512
3395
  *
3513
3396
  * @param {string} visitScheduleId
package/dist/api/api.js CHANGED
@@ -481,22 +481,17 @@ const DefaultApiAxiosParamCreator = function (configuration) {
481
481
  }),
482
482
  /**
483
483
  *
484
- * @param {string} memberId
485
484
  * @param {string} logId
486
485
  * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
487
- * @param {string} [xAccountId]
488
486
  * @param {*} [options] Override http request option.
489
487
  * @throws {RequiredError}
490
488
  */
491
- parkingTicketsRedeem: (memberId, logId, parkingTicketsRedeemBody, xAccountId, options = {}) => __awaiter(this, void 0, void 0, function* () {
492
- // verify required parameter 'memberId' is not null or undefined
493
- (0, common_1.assertParamExists)('parkingTicketsRedeem', 'memberId', memberId);
489
+ parkingTicketsRedeem: (logId, parkingTicketsRedeemBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
494
490
  // verify required parameter 'logId' is not null or undefined
495
491
  (0, common_1.assertParamExists)('parkingTicketsRedeem', 'logId', logId);
496
492
  // verify required parameter 'parkingTicketsRedeemBody' is not null or undefined
497
493
  (0, common_1.assertParamExists)('parkingTicketsRedeem', 'parkingTicketsRedeemBody', parkingTicketsRedeemBody);
498
- const localVarPath = `/members/{member_id}/parking_tickets/{log_id}/redeem`
499
- .replace(`{${"member_id"}}`, encodeURIComponent(String(memberId)))
494
+ const localVarPath = `/parking_tickets/{log_id}/redeem`
500
495
  .replace(`{${"log_id"}}`, encodeURIComponent(String(logId)));
501
496
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
502
497
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -507,9 +502,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
507
502
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
508
503
  const localVarHeaderParameter = {};
509
504
  const localVarQueryParameter = {};
510
- if (xAccountId != null) {
511
- localVarHeaderParameter['x-account-id'] = String(xAccountId);
512
- }
513
505
  localVarHeaderParameter['Content-Type'] = 'application/json';
514
506
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
515
507
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -901,16 +893,14 @@ const DefaultApiFp = function (configuration) {
901
893
  },
902
894
  /**
903
895
  *
904
- * @param {string} memberId
905
896
  * @param {string} logId
906
897
  * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
907
- * @param {string} [xAccountId]
908
898
  * @param {*} [options] Override http request option.
909
899
  * @throws {RequiredError}
910
900
  */
911
- parkingTicketsRedeem(memberId, logId, parkingTicketsRedeemBody, xAccountId, options) {
901
+ parkingTicketsRedeem(logId, parkingTicketsRedeemBody, options) {
912
902
  return __awaiter(this, void 0, void 0, function* () {
913
- const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingTicketsRedeem(memberId, logId, parkingTicketsRedeemBody, xAccountId, options);
903
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingTicketsRedeem(logId, parkingTicketsRedeemBody, options);
914
904
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
915
905
  });
916
906
  },
@@ -1138,15 +1128,13 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1138
1128
  },
1139
1129
  /**
1140
1130
  *
1141
- * @param {string} memberId
1142
1131
  * @param {string} logId
1143
1132
  * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
1144
- * @param {string} [xAccountId]
1145
1133
  * @param {*} [options] Override http request option.
1146
1134
  * @throws {RequiredError}
1147
1135
  */
1148
- parkingTicketsRedeem(memberId, logId, parkingTicketsRedeemBody, xAccountId, options) {
1149
- return localVarFp.parkingTicketsRedeem(memberId, logId, parkingTicketsRedeemBody, xAccountId, options).then((request) => request(axios, basePath));
1136
+ parkingTicketsRedeem(logId, parkingTicketsRedeemBody, options) {
1137
+ return localVarFp.parkingTicketsRedeem(logId, parkingTicketsRedeemBody, options).then((request) => request(axios, basePath));
1150
1138
  },
1151
1139
  /**
1152
1140
  *
@@ -1364,16 +1352,14 @@ class DefaultApi extends base_1.BaseAPI {
1364
1352
  }
1365
1353
  /**
1366
1354
  *
1367
- * @param {string} memberId
1368
1355
  * @param {string} logId
1369
1356
  * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
1370
- * @param {string} [xAccountId]
1371
1357
  * @param {*} [options] Override http request option.
1372
1358
  * @throws {RequiredError}
1373
1359
  * @memberof DefaultApi
1374
1360
  */
1375
- parkingTicketsRedeem(memberId, logId, parkingTicketsRedeemBody, xAccountId, options) {
1376
- return (0, exports.DefaultApiFp)(this.configuration).parkingTicketsRedeem(memberId, logId, parkingTicketsRedeemBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
1361
+ parkingTicketsRedeem(logId, parkingTicketsRedeemBody, options) {
1362
+ return (0, exports.DefaultApiFp)(this.configuration).parkingTicketsRedeem(logId, parkingTicketsRedeemBody, options).then((request) => request(this.axios, this.basePath));
1377
1363
  }
1378
1364
  /**
1379
1365
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.59",
3
+ "version": "0.0.61",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"