ob-bms-sdk 0.0.48 → 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
  *
@@ -2360,6 +2391,26 @@ export interface WrappedResponseParkingLotsIndexResponse {
2360
2391
  */
2361
2392
  export interface WrappedResponseParkingLotsIndexResponseData {
2362
2393
  }
2394
+ /**
2395
+ *
2396
+ * @export
2397
+ * @interface WrappedResponseParkingRedemptionRateResultArray
2398
+ */
2399
+ export interface WrappedResponseParkingRedemptionRateResultArray {
2400
+ /**
2401
+ *
2402
+ * @type {WrappedResponseParkingRedemptionRateResultArrayData}
2403
+ * @memberof WrappedResponseParkingRedemptionRateResultArray
2404
+ */
2405
+ 'data': WrappedResponseParkingRedemptionRateResultArrayData | null;
2406
+ }
2407
+ /**
2408
+ *
2409
+ * @export
2410
+ * @interface WrappedResponseParkingRedemptionRateResultArrayData
2411
+ */
2412
+ export interface WrappedResponseParkingRedemptionRateResultArrayData {
2413
+ }
2363
2414
  /**
2364
2415
  *
2365
2416
  * @export
@@ -2857,11 +2908,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2857
2908
  /**
2858
2909
  *
2859
2910
  * @param {string} [identifier]
2911
+ * @param {string} [accountId]
2860
2912
  * @param {string} [xAccountId]
2861
2913
  * @param {*} [options] Override http request option.
2862
2914
  * @throws {RequiredError}
2863
2915
  */
2864
- membersIndex: async (identifier?: string, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2916
+ membersIndex: async (identifier?: string, accountId?: string, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2865
2917
  const localVarPath = `/members`;
2866
2918
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2867
2919
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2878,6 +2930,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2878
2930
  localVarQueryParameter['identifier'] = identifier;
2879
2931
  }
2880
2932
 
2933
+ if (accountId !== undefined) {
2934
+ localVarQueryParameter['account_id'] = accountId;
2935
+ }
2936
+
2881
2937
  if (xAccountId != null) {
2882
2938
  localVarHeaderParameter['x-account-id'] = String(xAccountId);
2883
2939
  }
@@ -2990,6 +3046,53 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2990
3046
 
2991
3047
 
2992
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
+
2993
3096
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2994
3097
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2995
3098
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -3327,12 +3430,13 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3327
3430
  /**
3328
3431
  *
3329
3432
  * @param {string} [identifier]
3433
+ * @param {string} [accountId]
3330
3434
  * @param {string} [xAccountId]
3331
3435
  * @param {*} [options] Override http request option.
3332
3436
  * @throws {RequiredError}
3333
3437
  */
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);
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);
3336
3440
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3337
3441
  },
3338
3442
  /**
@@ -3366,6 +3470,18 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3366
3470
  const localVarAxiosArgs = await localVarAxiosParamCreator.parkingLotsIndex(options);
3367
3471
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3368
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
+ },
3369
3485
  /**
3370
3486
  *
3371
3487
  * @param {string} memberId
@@ -3517,12 +3633,13 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3517
3633
  /**
3518
3634
  *
3519
3635
  * @param {string} [identifier]
3636
+ * @param {string} [accountId]
3520
3637
  * @param {string} [xAccountId]
3521
3638
  * @param {*} [options] Override http request option.
3522
3639
  * @throws {RequiredError}
3523
3640
  */
3524
- membersIndex(identifier?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull> {
3525
- 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));
3526
3643
  },
3527
3644
  /**
3528
3645
  *
@@ -3552,6 +3669,17 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3552
3669
  parkingLotsIndex(options?: any): AxiosPromise<WrappedResponseParkingLotsIndexResponse> {
3553
3670
  return localVarFp.parkingLotsIndex(options).then((request) => request(axios, basePath));
3554
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
+ },
3555
3683
  /**
3556
3684
  *
3557
3685
  * @param {string} memberId
@@ -3710,13 +3838,14 @@ export class DefaultApi extends BaseAPI {
3710
3838
  /**
3711
3839
  *
3712
3840
  * @param {string} [identifier]
3841
+ * @param {string} [accountId]
3713
3842
  * @param {string} [xAccountId]
3714
3843
  * @param {*} [options] Override http request option.
3715
3844
  * @throws {RequiredError}
3716
3845
  * @memberof DefaultApi
3717
3846
  */
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));
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));
3720
3849
  }
3721
3850
 
3722
3851
  /**
@@ -3753,6 +3882,19 @@ export class DefaultApi extends BaseAPI {
3753
3882
  return DefaultApiFp(this.configuration).parkingLotsIndex(options).then((request) => request(this.axios, this.basePath));
3754
3883
  }
3755
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
+
3756
3898
  /**
3757
3899
  *
3758
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
  *
@@ -2346,6 +2377,26 @@ export interface WrappedResponseParkingLotsIndexResponse {
2346
2377
  */
2347
2378
  export interface WrappedResponseParkingLotsIndexResponseData {
2348
2379
  }
2380
+ /**
2381
+ *
2382
+ * @export
2383
+ * @interface WrappedResponseParkingRedemptionRateResultArray
2384
+ */
2385
+ export interface WrappedResponseParkingRedemptionRateResultArray {
2386
+ /**
2387
+ *
2388
+ * @type {WrappedResponseParkingRedemptionRateResultArrayData}
2389
+ * @memberof WrappedResponseParkingRedemptionRateResultArray
2390
+ */
2391
+ 'data': WrappedResponseParkingRedemptionRateResultArrayData | null;
2392
+ }
2393
+ /**
2394
+ *
2395
+ * @export
2396
+ * @interface WrappedResponseParkingRedemptionRateResultArrayData
2397
+ */
2398
+ export interface WrappedResponseParkingRedemptionRateResultArrayData {
2399
+ }
2349
2400
  /**
2350
2401
  *
2351
2402
  * @export
@@ -2631,11 +2682,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2631
2682
  /**
2632
2683
  *
2633
2684
  * @param {string} [identifier]
2685
+ * @param {string} [accountId]
2634
2686
  * @param {string} [xAccountId]
2635
2687
  * @param {*} [options] Override http request option.
2636
2688
  * @throws {RequiredError}
2637
2689
  */
2638
- membersIndex: (identifier?: string, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2690
+ membersIndex: (identifier?: string, accountId?: string, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2639
2691
  /**
2640
2692
  *
2641
2693
  * @param {string} id
@@ -2658,6 +2710,15 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2658
2710
  * @throws {RequiredError}
2659
2711
  */
2660
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>;
2661
2722
  /**
2662
2723
  *
2663
2724
  * @param {string} memberId
@@ -2770,11 +2831,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2770
2831
  /**
2771
2832
  *
2772
2833
  * @param {string} [identifier]
2834
+ * @param {string} [accountId]
2773
2835
  * @param {string} [xAccountId]
2774
2836
  * @param {*} [options] Override http request option.
2775
2837
  * @throws {RequiredError}
2776
2838
  */
2777
- 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>>;
2778
2840
  /**
2779
2841
  *
2780
2842
  * @param {string} id
@@ -2797,6 +2859,15 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2797
2859
  * @throws {RequiredError}
2798
2860
  */
2799
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>>;
2800
2871
  /**
2801
2872
  *
2802
2873
  * @param {string} memberId
@@ -2909,11 +2980,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2909
2980
  /**
2910
2981
  *
2911
2982
  * @param {string} [identifier]
2983
+ * @param {string} [accountId]
2912
2984
  * @param {string} [xAccountId]
2913
2985
  * @param {*} [options] Override http request option.
2914
2986
  * @throws {RequiredError}
2915
2987
  */
2916
- membersIndex(identifier?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>;
2988
+ membersIndex(identifier?: string, accountId?: string, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseFindMemberResultArrayOrNull>;
2917
2989
  /**
2918
2990
  *
2919
2991
  * @param {string} id
@@ -2936,6 +3008,15 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2936
3008
  * @throws {RequiredError}
2937
3009
  */
2938
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>;
2939
3020
  /**
2940
3021
  *
2941
3022
  * @param {string} memberId
@@ -3057,12 +3138,13 @@ export declare class DefaultApi extends BaseAPI {
3057
3138
  /**
3058
3139
  *
3059
3140
  * @param {string} [identifier]
3141
+ * @param {string} [accountId]
3060
3142
  * @param {string} [xAccountId]
3061
3143
  * @param {*} [options] Override http request option.
3062
3144
  * @throws {RequiredError}
3063
3145
  * @memberof DefaultApi
3064
3146
  */
3065
- 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>>;
3066
3148
  /**
3067
3149
  *
3068
3150
  * @param {string} id
@@ -3088,6 +3170,16 @@ export declare class DefaultApi extends BaseAPI {
3088
3170
  * @memberof DefaultApi
3089
3171
  */
3090
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>>;
3091
3183
  /**
3092
3184
  *
3093
3185
  * @param {string} memberId
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.48",
3
+ "version": "0.0.49",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"