ob-bms-sdk 0.0.48 → 0.0.50

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
@@ -936,6 +936,25 @@ export interface ParkingLotData {
936
936
  */
937
937
  'total_available_slots': number;
938
938
  }
939
+ /**
940
+ *
941
+ * @export
942
+ * @interface ParkingRedemptionRateResult
943
+ */
944
+ export interface ParkingRedemptionRateResult {
945
+ /**
946
+ *
947
+ * @type {number}
948
+ * @memberof ParkingRedemptionRateResult
949
+ */
950
+ 'code': number;
951
+ /**
952
+ *
953
+ * @type {RateDetail}
954
+ * @memberof ParkingRedemptionRateResult
955
+ */
956
+ 'detail': RateDetail;
957
+ }
939
958
  /**
940
959
  *
941
960
  * @export
@@ -990,6 +1009,31 @@ export interface ParkingTicketResult {
990
1009
  * @memberof ParkingTicketResult
991
1010
  */
992
1011
  'rate_detail': RateDetail;
1012
+ /**
1013
+ *
1014
+ * @type {number}
1015
+ * @memberof ParkingTicketResult
1016
+ */
1017
+ 'member_type_id': number;
1018
+ /**
1019
+ *
1020
+ * @type {number}
1021
+ * @memberof ParkingTicketResult
1022
+ */
1023
+ 'vehicle_type_id': number;
1024
+ }
1025
+ /**
1026
+ *
1027
+ * @export
1028
+ * @interface ParkingTicketsRedeemBody
1029
+ */
1030
+ export interface ParkingTicketsRedeemBody {
1031
+ /**
1032
+ *
1033
+ * @type {string}
1034
+ * @memberof ParkingTicketsRedeemBody
1035
+ */
1036
+ 'rate_code': string;
993
1037
  }
994
1038
  /**
995
1039
  *
@@ -2360,6 +2404,39 @@ export interface WrappedResponseParkingLotsIndexResponse {
2360
2404
  */
2361
2405
  export interface WrappedResponseParkingLotsIndexResponseData {
2362
2406
  }
2407
+ /**
2408
+ *
2409
+ * @export
2410
+ * @interface WrappedResponseParkingRedemptionRateResultArray
2411
+ */
2412
+ export interface WrappedResponseParkingRedemptionRateResultArray {
2413
+ /**
2414
+ *
2415
+ * @type {WrappedResponseParkingRedemptionRateResultArrayData}
2416
+ * @memberof WrappedResponseParkingRedemptionRateResultArray
2417
+ */
2418
+ 'data': WrappedResponseParkingRedemptionRateResultArrayData | null;
2419
+ }
2420
+ /**
2421
+ *
2422
+ * @export
2423
+ * @interface WrappedResponseParkingRedemptionRateResultArrayData
2424
+ */
2425
+ export interface WrappedResponseParkingRedemptionRateResultArrayData {
2426
+ }
2427
+ /**
2428
+ *
2429
+ * @export
2430
+ * @interface WrappedResponseParkingTicketResult
2431
+ */
2432
+ export interface WrappedResponseParkingTicketResult {
2433
+ /**
2434
+ *
2435
+ * @type {WrappedResponseParkingTicketResultData}
2436
+ * @memberof WrappedResponseParkingTicketResult
2437
+ */
2438
+ 'data': WrappedResponseParkingTicketResultData | null;
2439
+ }
2363
2440
  /**
2364
2441
  *
2365
2442
  * @export
@@ -2380,6 +2457,73 @@ export interface WrappedResponseParkingTicketResultArray {
2380
2457
  */
2381
2458
  export interface WrappedResponseParkingTicketResultArrayData {
2382
2459
  }
2460
+ /**
2461
+ *
2462
+ * @export
2463
+ * @interface WrappedResponseParkingTicketResultData
2464
+ */
2465
+ export interface WrappedResponseParkingTicketResultData {
2466
+ /**
2467
+ *
2468
+ * @type {string}
2469
+ * @memberof WrappedResponseParkingTicketResultData
2470
+ */
2471
+ 'id': string;
2472
+ /**
2473
+ *
2474
+ * @type {string}
2475
+ * @memberof WrappedResponseParkingTicketResultData
2476
+ */
2477
+ 'plate_number': string;
2478
+ /**
2479
+ *
2480
+ * @type {string}
2481
+ * @memberof WrappedResponseParkingTicketResultData
2482
+ */
2483
+ 'ticket_number': string;
2484
+ /**
2485
+ *
2486
+ * @type {string}
2487
+ * @memberof WrappedResponseParkingTicketResultData
2488
+ */
2489
+ 'vehicle_type': string;
2490
+ /**
2491
+ *
2492
+ * @type {number}
2493
+ * @memberof WrappedResponseParkingTicketResultData
2494
+ */
2495
+ 'total_fee': number;
2496
+ /**
2497
+ *
2498
+ * @type {string}
2499
+ * @memberof WrappedResponseParkingTicketResultData
2500
+ */
2501
+ 'member_id': string;
2502
+ /**
2503
+ *
2504
+ * @type {string}
2505
+ * @memberof WrappedResponseParkingTicketResultData
2506
+ */
2507
+ 'parked_at': string;
2508
+ /**
2509
+ *
2510
+ * @type {RateDetail}
2511
+ * @memberof WrappedResponseParkingTicketResultData
2512
+ */
2513
+ 'rate_detail': RateDetail;
2514
+ /**
2515
+ *
2516
+ * @type {number}
2517
+ * @memberof WrappedResponseParkingTicketResultData
2518
+ */
2519
+ 'member_type_id': number;
2520
+ /**
2521
+ *
2522
+ * @type {number}
2523
+ * @memberof WrappedResponseParkingTicketResultData
2524
+ */
2525
+ 'vehicle_type_id': number;
2526
+ }
2383
2527
  /**
2384
2528
  *
2385
2529
  * @export
@@ -2857,11 +3001,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2857
3001
  /**
2858
3002
  *
2859
3003
  * @param {string} [identifier]
3004
+ * @param {string} [accountId]
2860
3005
  * @param {string} [xAccountId]
2861
3006
  * @param {*} [options] Override http request option.
2862
3007
  * @throws {RequiredError}
2863
3008
  */
2864
- membersIndex: async (identifier?: string, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3009
+ membersIndex: async (identifier?: string, accountId?: string, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2865
3010
  const localVarPath = `/members`;
2866
3011
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2867
3012
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2878,6 +3023,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2878
3023
  localVarQueryParameter['identifier'] = identifier;
2879
3024
  }
2880
3025
 
3026
+ if (accountId !== undefined) {
3027
+ localVarQueryParameter['account_id'] = accountId;
3028
+ }
3029
+
2881
3030
  if (xAccountId != null) {
2882
3031
  localVarHeaderParameter['x-account-id'] = String(xAccountId);
2883
3032
  }
@@ -2990,6 +3139,53 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2990
3139
 
2991
3140
 
2992
3141
 
3142
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3143
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3144
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3145
+
3146
+ return {
3147
+ url: toPathString(localVarUrlObj),
3148
+ options: localVarRequestOptions,
3149
+ };
3150
+ },
3151
+ /**
3152
+ *
3153
+ * @param {string} id
3154
+ * @param {number} memberTypeId
3155
+ * @param {number} vehicleTypeId
3156
+ * @param {*} [options] Override http request option.
3157
+ * @throws {RequiredError}
3158
+ */
3159
+ parkingRedemptionRatesIndex: async (id: string, memberTypeId: number, vehicleTypeId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3160
+ // verify required parameter 'id' is not null or undefined
3161
+ assertParamExists('parkingRedemptionRatesIndex', 'id', id)
3162
+ // verify required parameter 'memberTypeId' is not null or undefined
3163
+ assertParamExists('parkingRedemptionRatesIndex', 'memberTypeId', memberTypeId)
3164
+ // verify required parameter 'vehicleTypeId' is not null or undefined
3165
+ assertParamExists('parkingRedemptionRatesIndex', 'vehicleTypeId', vehicleTypeId)
3166
+ const localVarPath = `/members/{id}/parking_redemption_rates`
3167
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
3168
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3169
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3170
+ let baseOptions;
3171
+ if (configuration) {
3172
+ baseOptions = configuration.baseOptions;
3173
+ }
3174
+
3175
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3176
+ const localVarHeaderParameter = {} as any;
3177
+ const localVarQueryParameter = {} as any;
3178
+
3179
+ if (memberTypeId !== undefined) {
3180
+ localVarQueryParameter['member_type_id'] = memberTypeId;
3181
+ }
3182
+
3183
+ if (vehicleTypeId !== undefined) {
3184
+ localVarQueryParameter['vehicle_type_id'] = vehicleTypeId;
3185
+ }
3186
+
3187
+
3188
+
2993
3189
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2994
3190
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2995
3191
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -3032,6 +3228,54 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3032
3228
  options: localVarRequestOptions,
3033
3229
  };
3034
3230
  },
3231
+ /**
3232
+ *
3233
+ * @param {string} memberId
3234
+ * @param {string} logId
3235
+ * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
3236
+ * @param {string} [xAccountId]
3237
+ * @param {*} [options] Override http request option.
3238
+ * @throws {RequiredError}
3239
+ */
3240
+ parkingTicketsRedeem: async (memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3241
+ // verify required parameter 'memberId' is not null or undefined
3242
+ assertParamExists('parkingTicketsRedeem', 'memberId', memberId)
3243
+ // verify required parameter 'logId' is not null or undefined
3244
+ assertParamExists('parkingTicketsRedeem', 'logId', logId)
3245
+ // verify required parameter 'parkingTicketsRedeemBody' is not null or undefined
3246
+ assertParamExists('parkingTicketsRedeem', 'parkingTicketsRedeemBody', parkingTicketsRedeemBody)
3247
+ const localVarPath = `/members/{member_id}/parking_tickets/{log_id}/redeem`
3248
+ .replace(`{${"member_id"}}`, encodeURIComponent(String(memberId)))
3249
+ .replace(`{${"log_id"}}`, encodeURIComponent(String(logId)));
3250
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3251
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3252
+ let baseOptions;
3253
+ if (configuration) {
3254
+ baseOptions = configuration.baseOptions;
3255
+ }
3256
+
3257
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3258
+ const localVarHeaderParameter = {} as any;
3259
+ const localVarQueryParameter = {} as any;
3260
+
3261
+ if (xAccountId != null) {
3262
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
3263
+ }
3264
+
3265
+
3266
+
3267
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3268
+
3269
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3270
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3271
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3272
+ localVarRequestOptions.data = serializeDataIfNeeded(parkingTicketsRedeemBody, localVarRequestOptions, configuration)
3273
+
3274
+ return {
3275
+ url: toPathString(localVarUrlObj),
3276
+ options: localVarRequestOptions,
3277
+ };
3278
+ },
3035
3279
  /**
3036
3280
  *
3037
3281
  * @param {string} visitScheduleId
@@ -3327,12 +3571,13 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3327
3571
  /**
3328
3572
  *
3329
3573
  * @param {string} [identifier]
3574
+ * @param {string} [accountId]
3330
3575
  * @param {string} [xAccountId]
3331
3576
  * @param {*} [options] Override http request option.
3332
3577
  * @throws {RequiredError}
3333
3578
  */
3334
- async membersIndex(identifier?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>> {
3335
- const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(identifier, xAccountId, options);
3579
+ async membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>> {
3580
+ const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(identifier, accountId, xAccountId, options);
3336
3581
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3337
3582
  },
3338
3583
  /**
@@ -3366,6 +3611,18 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3366
3611
  const localVarAxiosArgs = await localVarAxiosParamCreator.parkingLotsIndex(options);
3367
3612
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3368
3613
  },
3614
+ /**
3615
+ *
3616
+ * @param {string} id
3617
+ * @param {number} memberTypeId
3618
+ * @param {number} vehicleTypeId
3619
+ * @param {*} [options] Override http request option.
3620
+ * @throws {RequiredError}
3621
+ */
3622
+ async parkingRedemptionRatesIndex(id: string, memberTypeId: number, vehicleTypeId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingRedemptionRateResultArray>> {
3623
+ const localVarAxiosArgs = await localVarAxiosParamCreator.parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options);
3624
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3625
+ },
3369
3626
  /**
3370
3627
  *
3371
3628
  * @param {string} memberId
@@ -3376,6 +3633,19 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3376
3633
  const localVarAxiosArgs = await localVarAxiosParamCreator.parkingTicketsIndex(memberId, options);
3377
3634
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3378
3635
  },
3636
+ /**
3637
+ *
3638
+ * @param {string} memberId
3639
+ * @param {string} logId
3640
+ * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
3641
+ * @param {string} [xAccountId]
3642
+ * @param {*} [options] Override http request option.
3643
+ * @throws {RequiredError}
3644
+ */
3645
+ async parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketResult>> {
3646
+ const localVarAxiosArgs = await localVarAxiosParamCreator.parkingTicketsRedeem(memberId, logId, parkingTicketsRedeemBody, xAccountId, options);
3647
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3648
+ },
3379
3649
  /**
3380
3650
  *
3381
3651
  * @param {string} visitScheduleId
@@ -3517,12 +3787,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3517
3787
  /**
3518
3788
  *
3519
3789
  * @param {string} [identifier]
3790
+ * @param {string} [accountId]
3520
3791
  * @param {string} [xAccountId]
3521
3792
  * @param {*} [options] Override http request option.
3522
3793
  * @throws {RequiredError}
3523
3794
  */
3524
- membersIndex(identifier?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull> {
3525
- return localVarFp.membersIndex(identifier, xAccountId, options).then((request) => request(axios, basePath));
3795
+ membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull> {
3796
+ return localVarFp.membersIndex(identifier, accountId, xAccountId, options).then((request) => request(axios, basePath));
3526
3797
  },
3527
3798
  /**
3528
3799
  *
@@ -3552,6 +3823,17 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3552
3823
  parkingLotsIndex(options?: any): AxiosPromise<WrappedResponseParkingLotsIndexResponse> {
3553
3824
  return localVarFp.parkingLotsIndex(options).then((request) => request(axios, basePath));
3554
3825
  },
3826
+ /**
3827
+ *
3828
+ * @param {string} id
3829
+ * @param {number} memberTypeId
3830
+ * @param {number} vehicleTypeId
3831
+ * @param {*} [options] Override http request option.
3832
+ * @throws {RequiredError}
3833
+ */
3834
+ parkingRedemptionRatesIndex(id: string, memberTypeId: number, vehicleTypeId: number, options?: any): AxiosPromise<WrappedResponseParkingRedemptionRateResultArray> {
3835
+ return localVarFp.parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options).then((request) => request(axios, basePath));
3836
+ },
3555
3837
  /**
3556
3838
  *
3557
3839
  * @param {string} memberId
@@ -3561,6 +3843,18 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3561
3843
  parkingTicketsIndex(memberId: string, options?: any): AxiosPromise<WrappedResponseParkingTicketResultArray> {
3562
3844
  return localVarFp.parkingTicketsIndex(memberId, options).then((request) => request(axios, basePath));
3563
3845
  },
3846
+ /**
3847
+ *
3848
+ * @param {string} memberId
3849
+ * @param {string} logId
3850
+ * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
3851
+ * @param {string} [xAccountId]
3852
+ * @param {*} [options] Override http request option.
3853
+ * @throws {RequiredError}
3854
+ */
3855
+ parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseParkingTicketResult> {
3856
+ return localVarFp.parkingTicketsRedeem(memberId, logId, parkingTicketsRedeemBody, xAccountId, options).then((request) => request(axios, basePath));
3857
+ },
3564
3858
  /**
3565
3859
  *
3566
3860
  * @param {string} visitScheduleId
@@ -3710,13 +4004,14 @@ export class DefaultApi extends BaseAPI {
3710
4004
  /**
3711
4005
  *
3712
4006
  * @param {string} [identifier]
4007
+ * @param {string} [accountId]
3713
4008
  * @param {string} [xAccountId]
3714
4009
  * @param {*} [options] Override http request option.
3715
4010
  * @throws {RequiredError}
3716
4011
  * @memberof DefaultApi
3717
4012
  */
3718
- public membersIndex(identifier?: string, xAccountId?: string, options?: AxiosRequestConfig) {
3719
- return DefaultApiFp(this.configuration).membersIndex(identifier, xAccountId, options).then((request) => request(this.axios, this.basePath));
4013
+ public membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig) {
4014
+ return DefaultApiFp(this.configuration).membersIndex(identifier, accountId, xAccountId, options).then((request) => request(this.axios, this.basePath));
3720
4015
  }
3721
4016
 
3722
4017
  /**
@@ -3753,6 +4048,19 @@ export class DefaultApi extends BaseAPI {
3753
4048
  return DefaultApiFp(this.configuration).parkingLotsIndex(options).then((request) => request(this.axios, this.basePath));
3754
4049
  }
3755
4050
 
4051
+ /**
4052
+ *
4053
+ * @param {string} id
4054
+ * @param {number} memberTypeId
4055
+ * @param {number} vehicleTypeId
4056
+ * @param {*} [options] Override http request option.
4057
+ * @throws {RequiredError}
4058
+ * @memberof DefaultApi
4059
+ */
4060
+ public parkingRedemptionRatesIndex(id: string, memberTypeId: number, vehicleTypeId: number, options?: AxiosRequestConfig) {
4061
+ return DefaultApiFp(this.configuration).parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options).then((request) => request(this.axios, this.basePath));
4062
+ }
4063
+
3756
4064
  /**
3757
4065
  *
3758
4066
  * @param {string} memberId
@@ -3764,6 +4072,20 @@ export class DefaultApi extends BaseAPI {
3764
4072
  return DefaultApiFp(this.configuration).parkingTicketsIndex(memberId, options).then((request) => request(this.axios, this.basePath));
3765
4073
  }
3766
4074
 
4075
+ /**
4076
+ *
4077
+ * @param {string} memberId
4078
+ * @param {string} logId
4079
+ * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
4080
+ * @param {string} [xAccountId]
4081
+ * @param {*} [options] Override http request option.
4082
+ * @throws {RequiredError}
4083
+ * @memberof DefaultApi
4084
+ */
4085
+ public parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: AxiosRequestConfig) {
4086
+ return DefaultApiFp(this.configuration).parkingTicketsRedeem(memberId, logId, parkingTicketsRedeemBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
4087
+ }
4088
+
3767
4089
  /**
3768
4090
  *
3769
4091
  * @param {string} visitScheduleId
package/dist/api/api.d.ts CHANGED
@@ -934,6 +934,25 @@ export interface ParkingLotData {
934
934
  */
935
935
  'total_available_slots': number;
936
936
  }
937
+ /**
938
+ *
939
+ * @export
940
+ * @interface ParkingRedemptionRateResult
941
+ */
942
+ export interface ParkingRedemptionRateResult {
943
+ /**
944
+ *
945
+ * @type {number}
946
+ * @memberof ParkingRedemptionRateResult
947
+ */
948
+ 'code': number;
949
+ /**
950
+ *
951
+ * @type {RateDetail}
952
+ * @memberof ParkingRedemptionRateResult
953
+ */
954
+ 'detail': RateDetail;
955
+ }
937
956
  /**
938
957
  *
939
958
  * @export
@@ -988,6 +1007,31 @@ export interface ParkingTicketResult {
988
1007
  * @memberof ParkingTicketResult
989
1008
  */
990
1009
  'rate_detail': RateDetail;
1010
+ /**
1011
+ *
1012
+ * @type {number}
1013
+ * @memberof ParkingTicketResult
1014
+ */
1015
+ 'member_type_id': number;
1016
+ /**
1017
+ *
1018
+ * @type {number}
1019
+ * @memberof ParkingTicketResult
1020
+ */
1021
+ 'vehicle_type_id': number;
1022
+ }
1023
+ /**
1024
+ *
1025
+ * @export
1026
+ * @interface ParkingTicketsRedeemBody
1027
+ */
1028
+ export interface ParkingTicketsRedeemBody {
1029
+ /**
1030
+ *
1031
+ * @type {string}
1032
+ * @memberof ParkingTicketsRedeemBody
1033
+ */
1034
+ 'rate_code': string;
991
1035
  }
992
1036
  /**
993
1037
  *
@@ -2346,6 +2390,39 @@ export interface WrappedResponseParkingLotsIndexResponse {
2346
2390
  */
2347
2391
  export interface WrappedResponseParkingLotsIndexResponseData {
2348
2392
  }
2393
+ /**
2394
+ *
2395
+ * @export
2396
+ * @interface WrappedResponseParkingRedemptionRateResultArray
2397
+ */
2398
+ export interface WrappedResponseParkingRedemptionRateResultArray {
2399
+ /**
2400
+ *
2401
+ * @type {WrappedResponseParkingRedemptionRateResultArrayData}
2402
+ * @memberof WrappedResponseParkingRedemptionRateResultArray
2403
+ */
2404
+ 'data': WrappedResponseParkingRedemptionRateResultArrayData | null;
2405
+ }
2406
+ /**
2407
+ *
2408
+ * @export
2409
+ * @interface WrappedResponseParkingRedemptionRateResultArrayData
2410
+ */
2411
+ export interface WrappedResponseParkingRedemptionRateResultArrayData {
2412
+ }
2413
+ /**
2414
+ *
2415
+ * @export
2416
+ * @interface WrappedResponseParkingTicketResult
2417
+ */
2418
+ export interface WrappedResponseParkingTicketResult {
2419
+ /**
2420
+ *
2421
+ * @type {WrappedResponseParkingTicketResultData}
2422
+ * @memberof WrappedResponseParkingTicketResult
2423
+ */
2424
+ 'data': WrappedResponseParkingTicketResultData | null;
2425
+ }
2349
2426
  /**
2350
2427
  *
2351
2428
  * @export
@@ -2366,6 +2443,73 @@ export interface WrappedResponseParkingTicketResultArray {
2366
2443
  */
2367
2444
  export interface WrappedResponseParkingTicketResultArrayData {
2368
2445
  }
2446
+ /**
2447
+ *
2448
+ * @export
2449
+ * @interface WrappedResponseParkingTicketResultData
2450
+ */
2451
+ export interface WrappedResponseParkingTicketResultData {
2452
+ /**
2453
+ *
2454
+ * @type {string}
2455
+ * @memberof WrappedResponseParkingTicketResultData
2456
+ */
2457
+ 'id': string;
2458
+ /**
2459
+ *
2460
+ * @type {string}
2461
+ * @memberof WrappedResponseParkingTicketResultData
2462
+ */
2463
+ 'plate_number': string;
2464
+ /**
2465
+ *
2466
+ * @type {string}
2467
+ * @memberof WrappedResponseParkingTicketResultData
2468
+ */
2469
+ 'ticket_number': string;
2470
+ /**
2471
+ *
2472
+ * @type {string}
2473
+ * @memberof WrappedResponseParkingTicketResultData
2474
+ */
2475
+ 'vehicle_type': string;
2476
+ /**
2477
+ *
2478
+ * @type {number}
2479
+ * @memberof WrappedResponseParkingTicketResultData
2480
+ */
2481
+ 'total_fee': number;
2482
+ /**
2483
+ *
2484
+ * @type {string}
2485
+ * @memberof WrappedResponseParkingTicketResultData
2486
+ */
2487
+ 'member_id': string;
2488
+ /**
2489
+ *
2490
+ * @type {string}
2491
+ * @memberof WrappedResponseParkingTicketResultData
2492
+ */
2493
+ 'parked_at': string;
2494
+ /**
2495
+ *
2496
+ * @type {RateDetail}
2497
+ * @memberof WrappedResponseParkingTicketResultData
2498
+ */
2499
+ 'rate_detail': RateDetail;
2500
+ /**
2501
+ *
2502
+ * @type {number}
2503
+ * @memberof WrappedResponseParkingTicketResultData
2504
+ */
2505
+ 'member_type_id': number;
2506
+ /**
2507
+ *
2508
+ * @type {number}
2509
+ * @memberof WrappedResponseParkingTicketResultData
2510
+ */
2511
+ 'vehicle_type_id': number;
2512
+ }
2369
2513
  /**
2370
2514
  *
2371
2515
  * @export
@@ -2631,11 +2775,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2631
2775
  /**
2632
2776
  *
2633
2777
  * @param {string} [identifier]
2778
+ * @param {string} [accountId]
2634
2779
  * @param {string} [xAccountId]
2635
2780
  * @param {*} [options] Override http request option.
2636
2781
  * @throws {RequiredError}
2637
2782
  */
2638
- membersIndex: (identifier?: string, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2783
+ membersIndex: (identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2639
2784
  /**
2640
2785
  *
2641
2786
  * @param {string} id
@@ -2658,6 +2803,15 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2658
2803
  * @throws {RequiredError}
2659
2804
  */
2660
2805
  parkingLotsIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
2806
+ /**
2807
+ *
2808
+ * @param {string} id
2809
+ * @param {number} memberTypeId
2810
+ * @param {number} vehicleTypeId
2811
+ * @param {*} [options] Override http request option.
2812
+ * @throws {RequiredError}
2813
+ */
2814
+ parkingRedemptionRatesIndex: (id: string, memberTypeId: number, vehicleTypeId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2661
2815
  /**
2662
2816
  *
2663
2817
  * @param {string} memberId
@@ -2665,6 +2819,16 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2665
2819
  * @throws {RequiredError}
2666
2820
  */
2667
2821
  parkingTicketsIndex: (memberId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2822
+ /**
2823
+ *
2824
+ * @param {string} memberId
2825
+ * @param {string} logId
2826
+ * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
2827
+ * @param {string} [xAccountId]
2828
+ * @param {*} [options] Override http request option.
2829
+ * @throws {RequiredError}
2830
+ */
2831
+ parkingTicketsRedeem: (memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2668
2832
  /**
2669
2833
  *
2670
2834
  * @param {string} visitScheduleId
@@ -2770,11 +2934,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2770
2934
  /**
2771
2935
  *
2772
2936
  * @param {string} [identifier]
2937
+ * @param {string} [accountId]
2773
2938
  * @param {string} [xAccountId]
2774
2939
  * @param {*} [options] Override http request option.
2775
2940
  * @throws {RequiredError}
2776
2941
  */
2777
- membersIndex(identifier?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>>;
2942
+ membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>>;
2778
2943
  /**
2779
2944
  *
2780
2945
  * @param {string} id
@@ -2797,6 +2962,15 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2797
2962
  * @throws {RequiredError}
2798
2963
  */
2799
2964
  parkingLotsIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingLotsIndexResponse>>;
2965
+ /**
2966
+ *
2967
+ * @param {string} id
2968
+ * @param {number} memberTypeId
2969
+ * @param {number} vehicleTypeId
2970
+ * @param {*} [options] Override http request option.
2971
+ * @throws {RequiredError}
2972
+ */
2973
+ parkingRedemptionRatesIndex(id: string, memberTypeId: number, vehicleTypeId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingRedemptionRateResultArray>>;
2800
2974
  /**
2801
2975
  *
2802
2976
  * @param {string} memberId
@@ -2804,6 +2978,16 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2804
2978
  * @throws {RequiredError}
2805
2979
  */
2806
2980
  parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketResultArray>>;
2981
+ /**
2982
+ *
2983
+ * @param {string} memberId
2984
+ * @param {string} logId
2985
+ * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
2986
+ * @param {string} [xAccountId]
2987
+ * @param {*} [options] Override http request option.
2988
+ * @throws {RequiredError}
2989
+ */
2990
+ parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketResult>>;
2807
2991
  /**
2808
2992
  *
2809
2993
  * @param {string} visitScheduleId
@@ -2909,11 +3093,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2909
3093
  /**
2910
3094
  *
2911
3095
  * @param {string} [identifier]
3096
+ * @param {string} [accountId]
2912
3097
  * @param {string} [xAccountId]
2913
3098
  * @param {*} [options] Override http request option.
2914
3099
  * @throws {RequiredError}
2915
3100
  */
2916
- membersIndex(identifier?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>;
3101
+ membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>;
2917
3102
  /**
2918
3103
  *
2919
3104
  * @param {string} id
@@ -2936,6 +3121,15 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2936
3121
  * @throws {RequiredError}
2937
3122
  */
2938
3123
  parkingLotsIndex(options?: any): AxiosPromise<WrappedResponseParkingLotsIndexResponse>;
3124
+ /**
3125
+ *
3126
+ * @param {string} id
3127
+ * @param {number} memberTypeId
3128
+ * @param {number} vehicleTypeId
3129
+ * @param {*} [options] Override http request option.
3130
+ * @throws {RequiredError}
3131
+ */
3132
+ parkingRedemptionRatesIndex(id: string, memberTypeId: number, vehicleTypeId: number, options?: any): AxiosPromise<WrappedResponseParkingRedemptionRateResultArray>;
2939
3133
  /**
2940
3134
  *
2941
3135
  * @param {string} memberId
@@ -2943,6 +3137,16 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2943
3137
  * @throws {RequiredError}
2944
3138
  */
2945
3139
  parkingTicketsIndex(memberId: string, options?: any): AxiosPromise<WrappedResponseParkingTicketResultArray>;
3140
+ /**
3141
+ *
3142
+ * @param {string} memberId
3143
+ * @param {string} logId
3144
+ * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
3145
+ * @param {string} [xAccountId]
3146
+ * @param {*} [options] Override http request option.
3147
+ * @throws {RequiredError}
3148
+ */
3149
+ parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseParkingTicketResult>;
2946
3150
  /**
2947
3151
  *
2948
3152
  * @param {string} visitScheduleId
@@ -3057,12 +3261,13 @@ export declare class DefaultApi extends BaseAPI {
3057
3261
  /**
3058
3262
  *
3059
3263
  * @param {string} [identifier]
3264
+ * @param {string} [accountId]
3060
3265
  * @param {string} [xAccountId]
3061
3266
  * @param {*} [options] Override http request option.
3062
3267
  * @throws {RequiredError}
3063
3268
  * @memberof DefaultApi
3064
3269
  */
3065
- membersIndex(identifier?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseFindMemberResultArrayOrNull, any>>;
3270
+ membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseFindMemberResultArrayOrNull, any>>;
3066
3271
  /**
3067
3272
  *
3068
3273
  * @param {string} id
@@ -3088,6 +3293,16 @@ export declare class DefaultApi extends BaseAPI {
3088
3293
  * @memberof DefaultApi
3089
3294
  */
3090
3295
  parkingLotsIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingLotsIndexResponse, any>>;
3296
+ /**
3297
+ *
3298
+ * @param {string} id
3299
+ * @param {number} memberTypeId
3300
+ * @param {number} vehicleTypeId
3301
+ * @param {*} [options] Override http request option.
3302
+ * @throws {RequiredError}
3303
+ * @memberof DefaultApi
3304
+ */
3305
+ parkingRedemptionRatesIndex(id: string, memberTypeId: number, vehicleTypeId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingRedemptionRateResultArray, any>>;
3091
3306
  /**
3092
3307
  *
3093
3308
  * @param {string} memberId
@@ -3096,6 +3311,17 @@ export declare class DefaultApi extends BaseAPI {
3096
3311
  * @memberof DefaultApi
3097
3312
  */
3098
3313
  parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketResultArray, any>>;
3314
+ /**
3315
+ *
3316
+ * @param {string} memberId
3317
+ * @param {string} logId
3318
+ * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
3319
+ * @param {string} [xAccountId]
3320
+ * @param {*} [options] Override http request option.
3321
+ * @throws {RequiredError}
3322
+ * @memberof DefaultApi
3323
+ */
3324
+ parkingTicketsRedeem(memberId: string, logId: string, parkingTicketsRedeemBody: ParkingTicketsRedeemBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketResult, any>>;
3099
3325
  /**
3100
3326
  *
3101
3327
  * @param {string} visitScheduleId
package/dist/api/api.js CHANGED
@@ -276,11 +276,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
276
276
  /**
277
277
  *
278
278
  * @param {string} [identifier]
279
+ * @param {string} [accountId]
279
280
  * @param {string} [xAccountId]
280
281
  * @param {*} [options] Override http request option.
281
282
  * @throws {RequiredError}
282
283
  */
283
- membersIndex: (identifier, xAccountId, options = {}) => __awaiter(this, void 0, void 0, function* () {
284
+ membersIndex: (identifier, accountId, xAccountId, options = {}) => __awaiter(this, void 0, void 0, function* () {
284
285
  const localVarPath = `/members`;
285
286
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
286
287
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -294,6 +295,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
294
295
  if (identifier !== undefined) {
295
296
  localVarQueryParameter['identifier'] = identifier;
296
297
  }
298
+ if (accountId !== undefined) {
299
+ localVarQueryParameter['account_id'] = accountId;
300
+ }
297
301
  if (xAccountId != null) {
298
302
  localVarHeaderParameter['x-account-id'] = String(xAccountId);
299
303
  }
@@ -394,6 +398,46 @@ const DefaultApiAxiosParamCreator = function (configuration) {
394
398
  options: localVarRequestOptions,
395
399
  };
396
400
  }),
401
+ /**
402
+ *
403
+ * @param {string} id
404
+ * @param {number} memberTypeId
405
+ * @param {number} vehicleTypeId
406
+ * @param {*} [options] Override http request option.
407
+ * @throws {RequiredError}
408
+ */
409
+ parkingRedemptionRatesIndex: (id, memberTypeId, vehicleTypeId, options = {}) => __awaiter(this, void 0, void 0, function* () {
410
+ // verify required parameter 'id' is not null or undefined
411
+ (0, common_1.assertParamExists)('parkingRedemptionRatesIndex', 'id', id);
412
+ // verify required parameter 'memberTypeId' is not null or undefined
413
+ (0, common_1.assertParamExists)('parkingRedemptionRatesIndex', 'memberTypeId', memberTypeId);
414
+ // verify required parameter 'vehicleTypeId' is not null or undefined
415
+ (0, common_1.assertParamExists)('parkingRedemptionRatesIndex', 'vehicleTypeId', vehicleTypeId);
416
+ const localVarPath = `/members/{id}/parking_redemption_rates`
417
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
418
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
419
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
420
+ let baseOptions;
421
+ if (configuration) {
422
+ baseOptions = configuration.baseOptions;
423
+ }
424
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
425
+ const localVarHeaderParameter = {};
426
+ const localVarQueryParameter = {};
427
+ if (memberTypeId !== undefined) {
428
+ localVarQueryParameter['member_type_id'] = memberTypeId;
429
+ }
430
+ if (vehicleTypeId !== undefined) {
431
+ localVarQueryParameter['vehicle_type_id'] = vehicleTypeId;
432
+ }
433
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
434
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
435
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
436
+ return {
437
+ url: (0, common_1.toPathString)(localVarUrlObj),
438
+ options: localVarRequestOptions,
439
+ };
440
+ }),
397
441
  /**
398
442
  *
399
443
  * @param {string} memberId
@@ -422,6 +466,47 @@ const DefaultApiAxiosParamCreator = function (configuration) {
422
466
  options: localVarRequestOptions,
423
467
  };
424
468
  }),
469
+ /**
470
+ *
471
+ * @param {string} memberId
472
+ * @param {string} logId
473
+ * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
474
+ * @param {string} [xAccountId]
475
+ * @param {*} [options] Override http request option.
476
+ * @throws {RequiredError}
477
+ */
478
+ parkingTicketsRedeem: (memberId, logId, parkingTicketsRedeemBody, xAccountId, options = {}) => __awaiter(this, void 0, void 0, function* () {
479
+ // verify required parameter 'memberId' is not null or undefined
480
+ (0, common_1.assertParamExists)('parkingTicketsRedeem', 'memberId', memberId);
481
+ // verify required parameter 'logId' is not null or undefined
482
+ (0, common_1.assertParamExists)('parkingTicketsRedeem', 'logId', logId);
483
+ // verify required parameter 'parkingTicketsRedeemBody' is not null or undefined
484
+ (0, common_1.assertParamExists)('parkingTicketsRedeem', 'parkingTicketsRedeemBody', parkingTicketsRedeemBody);
485
+ const localVarPath = `/members/{member_id}/parking_tickets/{log_id}/redeem`
486
+ .replace(`{${"member_id"}}`, encodeURIComponent(String(memberId)))
487
+ .replace(`{${"log_id"}}`, encodeURIComponent(String(logId)));
488
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
489
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
490
+ let baseOptions;
491
+ if (configuration) {
492
+ baseOptions = configuration.baseOptions;
493
+ }
494
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
495
+ const localVarHeaderParameter = {};
496
+ const localVarQueryParameter = {};
497
+ if (xAccountId != null) {
498
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
499
+ }
500
+ localVarHeaderParameter['Content-Type'] = 'application/json';
501
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
502
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
503
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
504
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(parkingTicketsRedeemBody, localVarRequestOptions, configuration);
505
+ return {
506
+ url: (0, common_1.toPathString)(localVarUrlObj),
507
+ options: localVarRequestOptions,
508
+ };
509
+ }),
425
510
  /**
426
511
  *
427
512
  * @param {string} visitScheduleId
@@ -698,13 +783,14 @@ const DefaultApiFp = function (configuration) {
698
783
  /**
699
784
  *
700
785
  * @param {string} [identifier]
786
+ * @param {string} [accountId]
701
787
  * @param {string} [xAccountId]
702
788
  * @param {*} [options] Override http request option.
703
789
  * @throws {RequiredError}
704
790
  */
705
- membersIndex(identifier, xAccountId, options) {
791
+ membersIndex(identifier, accountId, xAccountId, options) {
706
792
  return __awaiter(this, void 0, void 0, function* () {
707
- const localVarAxiosArgs = yield localVarAxiosParamCreator.membersIndex(identifier, xAccountId, options);
793
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.membersIndex(identifier, accountId, xAccountId, options);
708
794
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
709
795
  });
710
796
  },
@@ -745,6 +831,20 @@ const DefaultApiFp = function (configuration) {
745
831
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
746
832
  });
747
833
  },
834
+ /**
835
+ *
836
+ * @param {string} id
837
+ * @param {number} memberTypeId
838
+ * @param {number} vehicleTypeId
839
+ * @param {*} [options] Override http request option.
840
+ * @throws {RequiredError}
841
+ */
842
+ parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options) {
843
+ return __awaiter(this, void 0, void 0, function* () {
844
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options);
845
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
846
+ });
847
+ },
748
848
  /**
749
849
  *
750
850
  * @param {string} memberId
@@ -757,6 +857,21 @@ const DefaultApiFp = function (configuration) {
757
857
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
758
858
  });
759
859
  },
860
+ /**
861
+ *
862
+ * @param {string} memberId
863
+ * @param {string} logId
864
+ * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
865
+ * @param {string} [xAccountId]
866
+ * @param {*} [options] Override http request option.
867
+ * @throws {RequiredError}
868
+ */
869
+ parkingTicketsRedeem(memberId, logId, parkingTicketsRedeemBody, xAccountId, options) {
870
+ return __awaiter(this, void 0, void 0, function* () {
871
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingTicketsRedeem(memberId, logId, parkingTicketsRedeemBody, xAccountId, options);
872
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
873
+ });
874
+ },
760
875
  /**
761
876
  *
762
877
  * @param {string} visitScheduleId
@@ -910,12 +1025,13 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
910
1025
  /**
911
1026
  *
912
1027
  * @param {string} [identifier]
1028
+ * @param {string} [accountId]
913
1029
  * @param {string} [xAccountId]
914
1030
  * @param {*} [options] Override http request option.
915
1031
  * @throws {RequiredError}
916
1032
  */
917
- membersIndex(identifier, xAccountId, options) {
918
- return localVarFp.membersIndex(identifier, xAccountId, options).then((request) => request(axios, basePath));
1033
+ membersIndex(identifier, accountId, xAccountId, options) {
1034
+ return localVarFp.membersIndex(identifier, accountId, xAccountId, options).then((request) => request(axios, basePath));
919
1035
  },
920
1036
  /**
921
1037
  *
@@ -945,6 +1061,17 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
945
1061
  parkingLotsIndex(options) {
946
1062
  return localVarFp.parkingLotsIndex(options).then((request) => request(axios, basePath));
947
1063
  },
1064
+ /**
1065
+ *
1066
+ * @param {string} id
1067
+ * @param {number} memberTypeId
1068
+ * @param {number} vehicleTypeId
1069
+ * @param {*} [options] Override http request option.
1070
+ * @throws {RequiredError}
1071
+ */
1072
+ parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options) {
1073
+ return localVarFp.parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options).then((request) => request(axios, basePath));
1074
+ },
948
1075
  /**
949
1076
  *
950
1077
  * @param {string} memberId
@@ -954,6 +1081,18 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
954
1081
  parkingTicketsIndex(memberId, options) {
955
1082
  return localVarFp.parkingTicketsIndex(memberId, options).then((request) => request(axios, basePath));
956
1083
  },
1084
+ /**
1085
+ *
1086
+ * @param {string} memberId
1087
+ * @param {string} logId
1088
+ * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
1089
+ * @param {string} [xAccountId]
1090
+ * @param {*} [options] Override http request option.
1091
+ * @throws {RequiredError}
1092
+ */
1093
+ parkingTicketsRedeem(memberId, logId, parkingTicketsRedeemBody, xAccountId, options) {
1094
+ return localVarFp.parkingTicketsRedeem(memberId, logId, parkingTicketsRedeemBody, xAccountId, options).then((request) => request(axios, basePath));
1095
+ },
957
1096
  /**
958
1097
  *
959
1098
  * @param {string} visitScheduleId
@@ -1096,13 +1235,14 @@ class DefaultApi extends base_1.BaseAPI {
1096
1235
  /**
1097
1236
  *
1098
1237
  * @param {string} [identifier]
1238
+ * @param {string} [accountId]
1099
1239
  * @param {string} [xAccountId]
1100
1240
  * @param {*} [options] Override http request option.
1101
1241
  * @throws {RequiredError}
1102
1242
  * @memberof DefaultApi
1103
1243
  */
1104
- membersIndex(identifier, xAccountId, options) {
1105
- return (0, exports.DefaultApiFp)(this.configuration).membersIndex(identifier, xAccountId, options).then((request) => request(this.axios, this.basePath));
1244
+ membersIndex(identifier, accountId, xAccountId, options) {
1245
+ return (0, exports.DefaultApiFp)(this.configuration).membersIndex(identifier, accountId, xAccountId, options).then((request) => request(this.axios, this.basePath));
1106
1246
  }
1107
1247
  /**
1108
1248
  *
@@ -1135,6 +1275,18 @@ class DefaultApi extends base_1.BaseAPI {
1135
1275
  parkingLotsIndex(options) {
1136
1276
  return (0, exports.DefaultApiFp)(this.configuration).parkingLotsIndex(options).then((request) => request(this.axios, this.basePath));
1137
1277
  }
1278
+ /**
1279
+ *
1280
+ * @param {string} id
1281
+ * @param {number} memberTypeId
1282
+ * @param {number} vehicleTypeId
1283
+ * @param {*} [options] Override http request option.
1284
+ * @throws {RequiredError}
1285
+ * @memberof DefaultApi
1286
+ */
1287
+ parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options) {
1288
+ return (0, exports.DefaultApiFp)(this.configuration).parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options).then((request) => request(this.axios, this.basePath));
1289
+ }
1138
1290
  /**
1139
1291
  *
1140
1292
  * @param {string} memberId
@@ -1145,6 +1297,19 @@ class DefaultApi extends base_1.BaseAPI {
1145
1297
  parkingTicketsIndex(memberId, options) {
1146
1298
  return (0, exports.DefaultApiFp)(this.configuration).parkingTicketsIndex(memberId, options).then((request) => request(this.axios, this.basePath));
1147
1299
  }
1300
+ /**
1301
+ *
1302
+ * @param {string} memberId
1303
+ * @param {string} logId
1304
+ * @param {ParkingTicketsRedeemBody} parkingTicketsRedeemBody
1305
+ * @param {string} [xAccountId]
1306
+ * @param {*} [options] Override http request option.
1307
+ * @throws {RequiredError}
1308
+ * @memberof DefaultApi
1309
+ */
1310
+ parkingTicketsRedeem(memberId, logId, parkingTicketsRedeemBody, xAccountId, options) {
1311
+ return (0, exports.DefaultApiFp)(this.configuration).parkingTicketsRedeem(memberId, logId, parkingTicketsRedeemBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
1312
+ }
1148
1313
  /**
1149
1314
  *
1150
1315
  * @param {string} visitScheduleId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.48",
3
+ "version": "0.0.50",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"