ob-bms-sdk 0.0.47 → 0.0.49

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,18 @@ 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;
993
1024
  }
994
1025
  /**
995
1026
  *
@@ -2363,70 +2394,42 @@ export interface WrappedResponseParkingLotsIndexResponseData {
2363
2394
  /**
2364
2395
  *
2365
2396
  * @export
2366
- * @interface WrappedResponseParkingTicketResult
2397
+ * @interface WrappedResponseParkingRedemptionRateResultArray
2367
2398
  */
2368
- export interface WrappedResponseParkingTicketResult {
2399
+ export interface WrappedResponseParkingRedemptionRateResultArray {
2369
2400
  /**
2370
2401
  *
2371
- * @type {WrappedResponseParkingTicketResultData}
2372
- * @memberof WrappedResponseParkingTicketResult
2402
+ * @type {WrappedResponseParkingRedemptionRateResultArrayData}
2403
+ * @memberof WrappedResponseParkingRedemptionRateResultArray
2373
2404
  */
2374
- 'data': WrappedResponseParkingTicketResultData | null;
2405
+ 'data': WrappedResponseParkingRedemptionRateResultArrayData | null;
2375
2406
  }
2376
2407
  /**
2377
2408
  *
2378
2409
  * @export
2379
- * @interface WrappedResponseParkingTicketResultData
2410
+ * @interface WrappedResponseParkingRedemptionRateResultArrayData
2380
2411
  */
2381
- export interface WrappedResponseParkingTicketResultData {
2382
- /**
2383
- *
2384
- * @type {string}
2385
- * @memberof WrappedResponseParkingTicketResultData
2386
- */
2387
- 'id': string;
2388
- /**
2389
- *
2390
- * @type {string}
2391
- * @memberof WrappedResponseParkingTicketResultData
2392
- */
2393
- 'plate_number': string;
2394
- /**
2395
- *
2396
- * @type {string}
2397
- * @memberof WrappedResponseParkingTicketResultData
2398
- */
2399
- 'ticket_number': string;
2400
- /**
2401
- *
2402
- * @type {string}
2403
- * @memberof WrappedResponseParkingTicketResultData
2404
- */
2405
- 'vehicle_type': string;
2406
- /**
2407
- *
2408
- * @type {number}
2409
- * @memberof WrappedResponseParkingTicketResultData
2410
- */
2411
- 'total_fee': number;
2412
- /**
2413
- *
2414
- * @type {string}
2415
- * @memberof WrappedResponseParkingTicketResultData
2416
- */
2417
- 'member_id': string;
2418
- /**
2419
- *
2420
- * @type {string}
2421
- * @memberof WrappedResponseParkingTicketResultData
2422
- */
2423
- 'parked_at': string;
2412
+ export interface WrappedResponseParkingRedemptionRateResultArrayData {
2413
+ }
2414
+ /**
2415
+ *
2416
+ * @export
2417
+ * @interface WrappedResponseParkingTicketResultArray
2418
+ */
2419
+ export interface WrappedResponseParkingTicketResultArray {
2424
2420
  /**
2425
2421
  *
2426
- * @type {RateDetail}
2427
- * @memberof WrappedResponseParkingTicketResultData
2422
+ * @type {WrappedResponseParkingTicketResultArrayData}
2423
+ * @memberof WrappedResponseParkingTicketResultArray
2428
2424
  */
2429
- 'rate_detail': RateDetail;
2425
+ 'data': WrappedResponseParkingTicketResultArrayData | null;
2426
+ }
2427
+ /**
2428
+ *
2429
+ * @export
2430
+ * @interface WrappedResponseParkingTicketResultArrayData
2431
+ */
2432
+ export interface WrappedResponseParkingTicketResultArrayData {
2430
2433
  }
2431
2434
  /**
2432
2435
  *
@@ -2905,11 +2908,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2905
2908
  /**
2906
2909
  *
2907
2910
  * @param {string} [identifier]
2911
+ * @param {string} [accountId]
2908
2912
  * @param {string} [xAccountId]
2909
2913
  * @param {*} [options] Override http request option.
2910
2914
  * @throws {RequiredError}
2911
2915
  */
2912
- membersIndex: async (identifier?: string, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2916
+ membersIndex: async (identifier?: string, accountId?: string, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2913
2917
  const localVarPath = `/members`;
2914
2918
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2915
2919
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2926,6 +2930,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2926
2930
  localVarQueryParameter['identifier'] = identifier;
2927
2931
  }
2928
2932
 
2933
+ if (accountId !== undefined) {
2934
+ localVarQueryParameter['account_id'] = accountId;
2935
+ }
2936
+
2929
2937
  if (xAccountId != null) {
2930
2938
  localVarHeaderParameter['x-account-id'] = String(xAccountId);
2931
2939
  }
@@ -3038,6 +3046,53 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3038
3046
 
3039
3047
 
3040
3048
 
3049
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3050
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3051
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3052
+
3053
+ return {
3054
+ url: toPathString(localVarUrlObj),
3055
+ options: localVarRequestOptions,
3056
+ };
3057
+ },
3058
+ /**
3059
+ *
3060
+ * @param {string} id
3061
+ * @param {number} memberTypeId
3062
+ * @param {number} vehicleTypeId
3063
+ * @param {*} [options] Override http request option.
3064
+ * @throws {RequiredError}
3065
+ */
3066
+ parkingRedemptionRatesIndex: async (id: string, memberTypeId: number, vehicleTypeId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3067
+ // verify required parameter 'id' is not null or undefined
3068
+ assertParamExists('parkingRedemptionRatesIndex', 'id', id)
3069
+ // verify required parameter 'memberTypeId' is not null or undefined
3070
+ assertParamExists('parkingRedemptionRatesIndex', 'memberTypeId', memberTypeId)
3071
+ // verify required parameter 'vehicleTypeId' is not null or undefined
3072
+ assertParamExists('parkingRedemptionRatesIndex', 'vehicleTypeId', vehicleTypeId)
3073
+ const localVarPath = `/members/{id}/parking_redemption_rates`
3074
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
3075
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3076
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3077
+ let baseOptions;
3078
+ if (configuration) {
3079
+ baseOptions = configuration.baseOptions;
3080
+ }
3081
+
3082
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3083
+ const localVarHeaderParameter = {} as any;
3084
+ const localVarQueryParameter = {} as any;
3085
+
3086
+ if (memberTypeId !== undefined) {
3087
+ localVarQueryParameter['member_type_id'] = memberTypeId;
3088
+ }
3089
+
3090
+ if (vehicleTypeId !== undefined) {
3091
+ localVarQueryParameter['vehicle_type_id'] = vehicleTypeId;
3092
+ }
3093
+
3094
+
3095
+
3041
3096
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3042
3097
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3043
3098
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -3375,12 +3430,13 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3375
3430
  /**
3376
3431
  *
3377
3432
  * @param {string} [identifier]
3433
+ * @param {string} [accountId]
3378
3434
  * @param {string} [xAccountId]
3379
3435
  * @param {*} [options] Override http request option.
3380
3436
  * @throws {RequiredError}
3381
3437
  */
3382
- async membersIndex(identifier?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>> {
3383
- const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(identifier, xAccountId, options);
3438
+ async membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>> {
3439
+ const localVarAxiosArgs = await localVarAxiosParamCreator.membersIndex(identifier, accountId, xAccountId, options);
3384
3440
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3385
3441
  },
3386
3442
  /**
@@ -3414,13 +3470,25 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3414
3470
  const localVarAxiosArgs = await localVarAxiosParamCreator.parkingLotsIndex(options);
3415
3471
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3416
3472
  },
3473
+ /**
3474
+ *
3475
+ * @param {string} id
3476
+ * @param {number} memberTypeId
3477
+ * @param {number} vehicleTypeId
3478
+ * @param {*} [options] Override http request option.
3479
+ * @throws {RequiredError}
3480
+ */
3481
+ async parkingRedemptionRatesIndex(id: string, memberTypeId: number, vehicleTypeId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingRedemptionRateResultArray>> {
3482
+ const localVarAxiosArgs = await localVarAxiosParamCreator.parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options);
3483
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3484
+ },
3417
3485
  /**
3418
3486
  *
3419
3487
  * @param {string} memberId
3420
3488
  * @param {*} [options] Override http request option.
3421
3489
  * @throws {RequiredError}
3422
3490
  */
3423
- async parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketResult>> {
3491
+ async parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketResultArray>> {
3424
3492
  const localVarAxiosArgs = await localVarAxiosParamCreator.parkingTicketsIndex(memberId, options);
3425
3493
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3426
3494
  },
@@ -3565,12 +3633,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3565
3633
  /**
3566
3634
  *
3567
3635
  * @param {string} [identifier]
3636
+ * @param {string} [accountId]
3568
3637
  * @param {string} [xAccountId]
3569
3638
  * @param {*} [options] Override http request option.
3570
3639
  * @throws {RequiredError}
3571
3640
  */
3572
- membersIndex(identifier?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull> {
3573
- return localVarFp.membersIndex(identifier, xAccountId, options).then((request) => request(axios, basePath));
3641
+ membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull> {
3642
+ return localVarFp.membersIndex(identifier, accountId, xAccountId, options).then((request) => request(axios, basePath));
3574
3643
  },
3575
3644
  /**
3576
3645
  *
@@ -3600,13 +3669,24 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3600
3669
  parkingLotsIndex(options?: any): AxiosPromise<WrappedResponseParkingLotsIndexResponse> {
3601
3670
  return localVarFp.parkingLotsIndex(options).then((request) => request(axios, basePath));
3602
3671
  },
3672
+ /**
3673
+ *
3674
+ * @param {string} id
3675
+ * @param {number} memberTypeId
3676
+ * @param {number} vehicleTypeId
3677
+ * @param {*} [options] Override http request option.
3678
+ * @throws {RequiredError}
3679
+ */
3680
+ parkingRedemptionRatesIndex(id: string, memberTypeId: number, vehicleTypeId: number, options?: any): AxiosPromise<WrappedResponseParkingRedemptionRateResultArray> {
3681
+ return localVarFp.parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options).then((request) => request(axios, basePath));
3682
+ },
3603
3683
  /**
3604
3684
  *
3605
3685
  * @param {string} memberId
3606
3686
  * @param {*} [options] Override http request option.
3607
3687
  * @throws {RequiredError}
3608
3688
  */
3609
- parkingTicketsIndex(memberId: string, options?: any): AxiosPromise<WrappedResponseParkingTicketResult> {
3689
+ parkingTicketsIndex(memberId: string, options?: any): AxiosPromise<WrappedResponseParkingTicketResultArray> {
3610
3690
  return localVarFp.parkingTicketsIndex(memberId, options).then((request) => request(axios, basePath));
3611
3691
  },
3612
3692
  /**
@@ -3758,13 +3838,14 @@ export class DefaultApi extends BaseAPI {
3758
3838
  /**
3759
3839
  *
3760
3840
  * @param {string} [identifier]
3841
+ * @param {string} [accountId]
3761
3842
  * @param {string} [xAccountId]
3762
3843
  * @param {*} [options] Override http request option.
3763
3844
  * @throws {RequiredError}
3764
3845
  * @memberof DefaultApi
3765
3846
  */
3766
- public membersIndex(identifier?: string, xAccountId?: string, options?: AxiosRequestConfig) {
3767
- return DefaultApiFp(this.configuration).membersIndex(identifier, xAccountId, options).then((request) => request(this.axios, this.basePath));
3847
+ public membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig) {
3848
+ return DefaultApiFp(this.configuration).membersIndex(identifier, accountId, xAccountId, options).then((request) => request(this.axios, this.basePath));
3768
3849
  }
3769
3850
 
3770
3851
  /**
@@ -3801,6 +3882,19 @@ export class DefaultApi extends BaseAPI {
3801
3882
  return DefaultApiFp(this.configuration).parkingLotsIndex(options).then((request) => request(this.axios, this.basePath));
3802
3883
  }
3803
3884
 
3885
+ /**
3886
+ *
3887
+ * @param {string} id
3888
+ * @param {number} memberTypeId
3889
+ * @param {number} vehicleTypeId
3890
+ * @param {*} [options] Override http request option.
3891
+ * @throws {RequiredError}
3892
+ * @memberof DefaultApi
3893
+ */
3894
+ public parkingRedemptionRatesIndex(id: string, memberTypeId: number, vehicleTypeId: number, options?: AxiosRequestConfig) {
3895
+ return DefaultApiFp(this.configuration).parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options).then((request) => request(this.axios, this.basePath));
3896
+ }
3897
+
3804
3898
  /**
3805
3899
  *
3806
3900
  * @param {string} memberId
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,18 @@ 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;
991
1022
  }
992
1023
  /**
993
1024
  *
@@ -2349,70 +2380,42 @@ export interface WrappedResponseParkingLotsIndexResponseData {
2349
2380
  /**
2350
2381
  *
2351
2382
  * @export
2352
- * @interface WrappedResponseParkingTicketResult
2383
+ * @interface WrappedResponseParkingRedemptionRateResultArray
2353
2384
  */
2354
- export interface WrappedResponseParkingTicketResult {
2385
+ export interface WrappedResponseParkingRedemptionRateResultArray {
2355
2386
  /**
2356
2387
  *
2357
- * @type {WrappedResponseParkingTicketResultData}
2358
- * @memberof WrappedResponseParkingTicketResult
2388
+ * @type {WrappedResponseParkingRedemptionRateResultArrayData}
2389
+ * @memberof WrappedResponseParkingRedemptionRateResultArray
2359
2390
  */
2360
- 'data': WrappedResponseParkingTicketResultData | null;
2391
+ 'data': WrappedResponseParkingRedemptionRateResultArrayData | null;
2361
2392
  }
2362
2393
  /**
2363
2394
  *
2364
2395
  * @export
2365
- * @interface WrappedResponseParkingTicketResultData
2396
+ * @interface WrappedResponseParkingRedemptionRateResultArrayData
2366
2397
  */
2367
- export interface WrappedResponseParkingTicketResultData {
2368
- /**
2369
- *
2370
- * @type {string}
2371
- * @memberof WrappedResponseParkingTicketResultData
2372
- */
2373
- 'id': string;
2374
- /**
2375
- *
2376
- * @type {string}
2377
- * @memberof WrappedResponseParkingTicketResultData
2378
- */
2379
- 'plate_number': string;
2380
- /**
2381
- *
2382
- * @type {string}
2383
- * @memberof WrappedResponseParkingTicketResultData
2384
- */
2385
- 'ticket_number': string;
2386
- /**
2387
- *
2388
- * @type {string}
2389
- * @memberof WrappedResponseParkingTicketResultData
2390
- */
2391
- 'vehicle_type': string;
2392
- /**
2393
- *
2394
- * @type {number}
2395
- * @memberof WrappedResponseParkingTicketResultData
2396
- */
2397
- 'total_fee': number;
2398
- /**
2399
- *
2400
- * @type {string}
2401
- * @memberof WrappedResponseParkingTicketResultData
2402
- */
2403
- 'member_id': string;
2404
- /**
2405
- *
2406
- * @type {string}
2407
- * @memberof WrappedResponseParkingTicketResultData
2408
- */
2409
- 'parked_at': string;
2398
+ export interface WrappedResponseParkingRedemptionRateResultArrayData {
2399
+ }
2400
+ /**
2401
+ *
2402
+ * @export
2403
+ * @interface WrappedResponseParkingTicketResultArray
2404
+ */
2405
+ export interface WrappedResponseParkingTicketResultArray {
2410
2406
  /**
2411
2407
  *
2412
- * @type {RateDetail}
2413
- * @memberof WrappedResponseParkingTicketResultData
2408
+ * @type {WrappedResponseParkingTicketResultArrayData}
2409
+ * @memberof WrappedResponseParkingTicketResultArray
2414
2410
  */
2415
- 'rate_detail': RateDetail;
2411
+ 'data': WrappedResponseParkingTicketResultArrayData | null;
2412
+ }
2413
+ /**
2414
+ *
2415
+ * @export
2416
+ * @interface WrappedResponseParkingTicketResultArrayData
2417
+ */
2418
+ export interface WrappedResponseParkingTicketResultArrayData {
2416
2419
  }
2417
2420
  /**
2418
2421
  *
@@ -2679,11 +2682,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2679
2682
  /**
2680
2683
  *
2681
2684
  * @param {string} [identifier]
2685
+ * @param {string} [accountId]
2682
2686
  * @param {string} [xAccountId]
2683
2687
  * @param {*} [options] Override http request option.
2684
2688
  * @throws {RequiredError}
2685
2689
  */
2686
- membersIndex: (identifier?: string, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2690
+ membersIndex: (identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2687
2691
  /**
2688
2692
  *
2689
2693
  * @param {string} id
@@ -2706,6 +2710,15 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2706
2710
  * @throws {RequiredError}
2707
2711
  */
2708
2712
  parkingLotsIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
2713
+ /**
2714
+ *
2715
+ * @param {string} id
2716
+ * @param {number} memberTypeId
2717
+ * @param {number} vehicleTypeId
2718
+ * @param {*} [options] Override http request option.
2719
+ * @throws {RequiredError}
2720
+ */
2721
+ parkingRedemptionRatesIndex: (id: string, memberTypeId: number, vehicleTypeId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2709
2722
  /**
2710
2723
  *
2711
2724
  * @param {string} memberId
@@ -2818,11 +2831,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2818
2831
  /**
2819
2832
  *
2820
2833
  * @param {string} [identifier]
2834
+ * @param {string} [accountId]
2821
2835
  * @param {string} [xAccountId]
2822
2836
  * @param {*} [options] Override http request option.
2823
2837
  * @throws {RequiredError}
2824
2838
  */
2825
- membersIndex(identifier?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>>;
2839
+ membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>>;
2826
2840
  /**
2827
2841
  *
2828
2842
  * @param {string} id
@@ -2845,13 +2859,22 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2845
2859
  * @throws {RequiredError}
2846
2860
  */
2847
2861
  parkingLotsIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingLotsIndexResponse>>;
2862
+ /**
2863
+ *
2864
+ * @param {string} id
2865
+ * @param {number} memberTypeId
2866
+ * @param {number} vehicleTypeId
2867
+ * @param {*} [options] Override http request option.
2868
+ * @throws {RequiredError}
2869
+ */
2870
+ parkingRedemptionRatesIndex(id: string, memberTypeId: number, vehicleTypeId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingRedemptionRateResultArray>>;
2848
2871
  /**
2849
2872
  *
2850
2873
  * @param {string} memberId
2851
2874
  * @param {*} [options] Override http request option.
2852
2875
  * @throws {RequiredError}
2853
2876
  */
2854
- parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketResult>>;
2877
+ parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketResultArray>>;
2855
2878
  /**
2856
2879
  *
2857
2880
  * @param {string} visitScheduleId
@@ -2957,11 +2980,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2957
2980
  /**
2958
2981
  *
2959
2982
  * @param {string} [identifier]
2983
+ * @param {string} [accountId]
2960
2984
  * @param {string} [xAccountId]
2961
2985
  * @param {*} [options] Override http request option.
2962
2986
  * @throws {RequiredError}
2963
2987
  */
2964
- membersIndex(identifier?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>;
2988
+ membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>;
2965
2989
  /**
2966
2990
  *
2967
2991
  * @param {string} id
@@ -2984,13 +3008,22 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2984
3008
  * @throws {RequiredError}
2985
3009
  */
2986
3010
  parkingLotsIndex(options?: any): AxiosPromise<WrappedResponseParkingLotsIndexResponse>;
3011
+ /**
3012
+ *
3013
+ * @param {string} id
3014
+ * @param {number} memberTypeId
3015
+ * @param {number} vehicleTypeId
3016
+ * @param {*} [options] Override http request option.
3017
+ * @throws {RequiredError}
3018
+ */
3019
+ parkingRedemptionRatesIndex(id: string, memberTypeId: number, vehicleTypeId: number, options?: any): AxiosPromise<WrappedResponseParkingRedemptionRateResultArray>;
2987
3020
  /**
2988
3021
  *
2989
3022
  * @param {string} memberId
2990
3023
  * @param {*} [options] Override http request option.
2991
3024
  * @throws {RequiredError}
2992
3025
  */
2993
- parkingTicketsIndex(memberId: string, options?: any): AxiosPromise<WrappedResponseParkingTicketResult>;
3026
+ parkingTicketsIndex(memberId: string, options?: any): AxiosPromise<WrappedResponseParkingTicketResultArray>;
2994
3027
  /**
2995
3028
  *
2996
3029
  * @param {string} visitScheduleId
@@ -3105,12 +3138,13 @@ export declare class DefaultApi extends BaseAPI {
3105
3138
  /**
3106
3139
  *
3107
3140
  * @param {string} [identifier]
3141
+ * @param {string} [accountId]
3108
3142
  * @param {string} [xAccountId]
3109
3143
  * @param {*} [options] Override http request option.
3110
3144
  * @throws {RequiredError}
3111
3145
  * @memberof DefaultApi
3112
3146
  */
3113
- membersIndex(identifier?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseFindMemberResultArrayOrNull, any>>;
3147
+ membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseFindMemberResultArrayOrNull, any>>;
3114
3148
  /**
3115
3149
  *
3116
3150
  * @param {string} id
@@ -3136,6 +3170,16 @@ export declare class DefaultApi extends BaseAPI {
3136
3170
  * @memberof DefaultApi
3137
3171
  */
3138
3172
  parkingLotsIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingLotsIndexResponse, any>>;
3173
+ /**
3174
+ *
3175
+ * @param {string} id
3176
+ * @param {number} memberTypeId
3177
+ * @param {number} vehicleTypeId
3178
+ * @param {*} [options] Override http request option.
3179
+ * @throws {RequiredError}
3180
+ * @memberof DefaultApi
3181
+ */
3182
+ parkingRedemptionRatesIndex(id: string, memberTypeId: number, vehicleTypeId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingRedemptionRateResultArray, any>>;
3139
3183
  /**
3140
3184
  *
3141
3185
  * @param {string} memberId
@@ -3143,7 +3187,7 @@ export declare class DefaultApi extends BaseAPI {
3143
3187
  * @throws {RequiredError}
3144
3188
  * @memberof DefaultApi
3145
3189
  */
3146
- parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketResult, any>>;
3190
+ parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketResultArray, any>>;
3147
3191
  /**
3148
3192
  *
3149
3193
  * @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
@@ -698,13 +742,14 @@ const DefaultApiFp = function (configuration) {
698
742
  /**
699
743
  *
700
744
  * @param {string} [identifier]
745
+ * @param {string} [accountId]
701
746
  * @param {string} [xAccountId]
702
747
  * @param {*} [options] Override http request option.
703
748
  * @throws {RequiredError}
704
749
  */
705
- membersIndex(identifier, xAccountId, options) {
750
+ membersIndex(identifier, accountId, xAccountId, options) {
706
751
  return __awaiter(this, void 0, void 0, function* () {
707
- const localVarAxiosArgs = yield localVarAxiosParamCreator.membersIndex(identifier, xAccountId, options);
752
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.membersIndex(identifier, accountId, xAccountId, options);
708
753
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
709
754
  });
710
755
  },
@@ -745,6 +790,20 @@ const DefaultApiFp = function (configuration) {
745
790
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
746
791
  });
747
792
  },
793
+ /**
794
+ *
795
+ * @param {string} id
796
+ * @param {number} memberTypeId
797
+ * @param {number} vehicleTypeId
798
+ * @param {*} [options] Override http request option.
799
+ * @throws {RequiredError}
800
+ */
801
+ parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options) {
802
+ return __awaiter(this, void 0, void 0, function* () {
803
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options);
804
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
805
+ });
806
+ },
748
807
  /**
749
808
  *
750
809
  * @param {string} memberId
@@ -910,12 +969,13 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
910
969
  /**
911
970
  *
912
971
  * @param {string} [identifier]
972
+ * @param {string} [accountId]
913
973
  * @param {string} [xAccountId]
914
974
  * @param {*} [options] Override http request option.
915
975
  * @throws {RequiredError}
916
976
  */
917
- membersIndex(identifier, xAccountId, options) {
918
- return localVarFp.membersIndex(identifier, xAccountId, options).then((request) => request(axios, basePath));
977
+ membersIndex(identifier, accountId, xAccountId, options) {
978
+ return localVarFp.membersIndex(identifier, accountId, xAccountId, options).then((request) => request(axios, basePath));
919
979
  },
920
980
  /**
921
981
  *
@@ -945,6 +1005,17 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
945
1005
  parkingLotsIndex(options) {
946
1006
  return localVarFp.parkingLotsIndex(options).then((request) => request(axios, basePath));
947
1007
  },
1008
+ /**
1009
+ *
1010
+ * @param {string} id
1011
+ * @param {number} memberTypeId
1012
+ * @param {number} vehicleTypeId
1013
+ * @param {*} [options] Override http request option.
1014
+ * @throws {RequiredError}
1015
+ */
1016
+ parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options) {
1017
+ return localVarFp.parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options).then((request) => request(axios, basePath));
1018
+ },
948
1019
  /**
949
1020
  *
950
1021
  * @param {string} memberId
@@ -1096,13 +1167,14 @@ class DefaultApi extends base_1.BaseAPI {
1096
1167
  /**
1097
1168
  *
1098
1169
  * @param {string} [identifier]
1170
+ * @param {string} [accountId]
1099
1171
  * @param {string} [xAccountId]
1100
1172
  * @param {*} [options] Override http request option.
1101
1173
  * @throws {RequiredError}
1102
1174
  * @memberof DefaultApi
1103
1175
  */
1104
- membersIndex(identifier, xAccountId, options) {
1105
- return (0, exports.DefaultApiFp)(this.configuration).membersIndex(identifier, xAccountId, options).then((request) => request(this.axios, this.basePath));
1176
+ membersIndex(identifier, accountId, xAccountId, options) {
1177
+ return (0, exports.DefaultApiFp)(this.configuration).membersIndex(identifier, accountId, xAccountId, options).then((request) => request(this.axios, this.basePath));
1106
1178
  }
1107
1179
  /**
1108
1180
  *
@@ -1135,6 +1207,18 @@ class DefaultApi extends base_1.BaseAPI {
1135
1207
  parkingLotsIndex(options) {
1136
1208
  return (0, exports.DefaultApiFp)(this.configuration).parkingLotsIndex(options).then((request) => request(this.axios, this.basePath));
1137
1209
  }
1210
+ /**
1211
+ *
1212
+ * @param {string} id
1213
+ * @param {number} memberTypeId
1214
+ * @param {number} vehicleTypeId
1215
+ * @param {*} [options] Override http request option.
1216
+ * @throws {RequiredError}
1217
+ * @memberof DefaultApi
1218
+ */
1219
+ parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options) {
1220
+ return (0, exports.DefaultApiFp)(this.configuration).parkingRedemptionRatesIndex(id, memberTypeId, vehicleTypeId, options).then((request) => request(this.axios, this.basePath));
1221
+ }
1138
1222
  /**
1139
1223
  *
1140
1224
  * @param {string} memberId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.47",
3
+ "version": "0.0.49",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"