ob-bms-sdk 0.0.32 → 0.0.35
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 +151 -8
- package/dist/api/api.d.ts +117 -5
- package/dist/api/api.js +60 -4
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -77,7 +77,7 @@ export interface CommandsCreateBody {
|
|
|
77
77
|
* @type {string}
|
|
78
78
|
* @memberof CommandsCreateBody
|
|
79
79
|
*/
|
|
80
|
-
'name':
|
|
80
|
+
'name': string;
|
|
81
81
|
/**
|
|
82
82
|
*
|
|
83
83
|
* @type {LiftCallCommandData}
|
|
@@ -85,13 +85,6 @@ export interface CommandsCreateBody {
|
|
|
85
85
|
*/
|
|
86
86
|
'data': LiftCallCommandData;
|
|
87
87
|
}
|
|
88
|
-
|
|
89
|
-
export const CommandsCreateBodyNameEnum = {
|
|
90
|
-
LiftCall: 'lift.call'
|
|
91
|
-
} as const;
|
|
92
|
-
|
|
93
|
-
export type CommandsCreateBodyNameEnum = typeof CommandsCreateBodyNameEnum[keyof typeof CommandsCreateBodyNameEnum];
|
|
94
|
-
|
|
95
88
|
/**
|
|
96
89
|
*
|
|
97
90
|
* @export
|
|
@@ -759,6 +752,43 @@ export interface ParkingLotData {
|
|
|
759
752
|
*/
|
|
760
753
|
'zone': ZoneData;
|
|
761
754
|
}
|
|
755
|
+
/**
|
|
756
|
+
*
|
|
757
|
+
* @export
|
|
758
|
+
* @interface ParkingTicketResult
|
|
759
|
+
*/
|
|
760
|
+
export interface ParkingTicketResult {
|
|
761
|
+
/**
|
|
762
|
+
*
|
|
763
|
+
* @type {string}
|
|
764
|
+
* @memberof ParkingTicketResult
|
|
765
|
+
*/
|
|
766
|
+
'id': string;
|
|
767
|
+
/**
|
|
768
|
+
*
|
|
769
|
+
* @type {string}
|
|
770
|
+
* @memberof ParkingTicketResult
|
|
771
|
+
*/
|
|
772
|
+
'plate_number': string;
|
|
773
|
+
/**
|
|
774
|
+
*
|
|
775
|
+
* @type {string}
|
|
776
|
+
* @memberof ParkingTicketResult
|
|
777
|
+
*/
|
|
778
|
+
'member_id': string;
|
|
779
|
+
/**
|
|
780
|
+
*
|
|
781
|
+
* @type {FindMemberResultCreatedAt}
|
|
782
|
+
* @memberof ParkingTicketResult
|
|
783
|
+
*/
|
|
784
|
+
'created_at': FindMemberResultCreatedAt;
|
|
785
|
+
/**
|
|
786
|
+
*
|
|
787
|
+
* @type {FindMemberResultCreatedAt}
|
|
788
|
+
* @memberof ParkingTicketResult
|
|
789
|
+
*/
|
|
790
|
+
'updated_at': FindMemberResultCreatedAt;
|
|
791
|
+
}
|
|
762
792
|
/**
|
|
763
793
|
*
|
|
764
794
|
* @export
|
|
@@ -1922,6 +1952,56 @@ export interface WrappedResponseParkingLotsIndexResponse {
|
|
|
1922
1952
|
*/
|
|
1923
1953
|
export interface WrappedResponseParkingLotsIndexResponseData {
|
|
1924
1954
|
}
|
|
1955
|
+
/**
|
|
1956
|
+
*
|
|
1957
|
+
* @export
|
|
1958
|
+
* @interface WrappedResponseParkingTicketResult
|
|
1959
|
+
*/
|
|
1960
|
+
export interface WrappedResponseParkingTicketResult {
|
|
1961
|
+
/**
|
|
1962
|
+
*
|
|
1963
|
+
* @type {WrappedResponseParkingTicketResultData}
|
|
1964
|
+
* @memberof WrappedResponseParkingTicketResult
|
|
1965
|
+
*/
|
|
1966
|
+
'data': WrappedResponseParkingTicketResultData | null;
|
|
1967
|
+
}
|
|
1968
|
+
/**
|
|
1969
|
+
*
|
|
1970
|
+
* @export
|
|
1971
|
+
* @interface WrappedResponseParkingTicketResultData
|
|
1972
|
+
*/
|
|
1973
|
+
export interface WrappedResponseParkingTicketResultData {
|
|
1974
|
+
/**
|
|
1975
|
+
*
|
|
1976
|
+
* @type {string}
|
|
1977
|
+
* @memberof WrappedResponseParkingTicketResultData
|
|
1978
|
+
*/
|
|
1979
|
+
'id': string;
|
|
1980
|
+
/**
|
|
1981
|
+
*
|
|
1982
|
+
* @type {string}
|
|
1983
|
+
* @memberof WrappedResponseParkingTicketResultData
|
|
1984
|
+
*/
|
|
1985
|
+
'plate_number': string;
|
|
1986
|
+
/**
|
|
1987
|
+
*
|
|
1988
|
+
* @type {string}
|
|
1989
|
+
* @memberof WrappedResponseParkingTicketResultData
|
|
1990
|
+
*/
|
|
1991
|
+
'member_id': string;
|
|
1992
|
+
/**
|
|
1993
|
+
*
|
|
1994
|
+
* @type {FindMemberResultCreatedAt}
|
|
1995
|
+
* @memberof WrappedResponseParkingTicketResultData
|
|
1996
|
+
*/
|
|
1997
|
+
'created_at': FindMemberResultCreatedAt;
|
|
1998
|
+
/**
|
|
1999
|
+
*
|
|
2000
|
+
* @type {FindMemberResultCreatedAt}
|
|
2001
|
+
* @memberof WrappedResponseParkingTicketResultData
|
|
2002
|
+
*/
|
|
2003
|
+
'updated_at': FindMemberResultCreatedAt;
|
|
2004
|
+
}
|
|
1925
2005
|
/**
|
|
1926
2006
|
*
|
|
1927
2007
|
* @export
|
|
@@ -2485,6 +2565,39 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2485
2565
|
|
|
2486
2566
|
|
|
2487
2567
|
|
|
2568
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2569
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2570
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2571
|
+
|
|
2572
|
+
return {
|
|
2573
|
+
url: toPathString(localVarUrlObj),
|
|
2574
|
+
options: localVarRequestOptions,
|
|
2575
|
+
};
|
|
2576
|
+
},
|
|
2577
|
+
/**
|
|
2578
|
+
*
|
|
2579
|
+
* @param {string} memberId
|
|
2580
|
+
* @param {*} [options] Override http request option.
|
|
2581
|
+
* @throws {RequiredError}
|
|
2582
|
+
*/
|
|
2583
|
+
parkingTicketsIndex: async (memberId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2584
|
+
// verify required parameter 'memberId' is not null or undefined
|
|
2585
|
+
assertParamExists('parkingTicketsIndex', 'memberId', memberId)
|
|
2586
|
+
const localVarPath = `/members/{member_id}/parking_tickets`
|
|
2587
|
+
.replace(`{${"member_id"}}`, encodeURIComponent(String(memberId)));
|
|
2588
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2589
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2590
|
+
let baseOptions;
|
|
2591
|
+
if (configuration) {
|
|
2592
|
+
baseOptions = configuration.baseOptions;
|
|
2593
|
+
}
|
|
2594
|
+
|
|
2595
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2596
|
+
const localVarHeaderParameter = {} as any;
|
|
2597
|
+
const localVarQueryParameter = {} as any;
|
|
2598
|
+
|
|
2599
|
+
|
|
2600
|
+
|
|
2488
2601
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2489
2602
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2490
2603
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2806,6 +2919,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2806
2919
|
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingLotsIndex(options);
|
|
2807
2920
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2808
2921
|
},
|
|
2922
|
+
/**
|
|
2923
|
+
*
|
|
2924
|
+
* @param {string} memberId
|
|
2925
|
+
* @param {*} [options] Override http request option.
|
|
2926
|
+
* @throws {RequiredError}
|
|
2927
|
+
*/
|
|
2928
|
+
async parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketResult>> {
|
|
2929
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingTicketsIndex(memberId, options);
|
|
2930
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2931
|
+
},
|
|
2809
2932
|
/**
|
|
2810
2933
|
*
|
|
2811
2934
|
* @param {string} id
|
|
@@ -2962,6 +3085,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
2962
3085
|
parkingLotsIndex(options?: any): AxiosPromise<WrappedResponseParkingLotsIndexResponse> {
|
|
2963
3086
|
return localVarFp.parkingLotsIndex(options).then((request) => request(axios, basePath));
|
|
2964
3087
|
},
|
|
3088
|
+
/**
|
|
3089
|
+
*
|
|
3090
|
+
* @param {string} memberId
|
|
3091
|
+
* @param {*} [options] Override http request option.
|
|
3092
|
+
* @throws {RequiredError}
|
|
3093
|
+
*/
|
|
3094
|
+
parkingTicketsIndex(memberId: string, options?: any): AxiosPromise<WrappedResponseParkingTicketResult> {
|
|
3095
|
+
return localVarFp.parkingTicketsIndex(memberId, options).then((request) => request(axios, basePath));
|
|
3096
|
+
},
|
|
2965
3097
|
/**
|
|
2966
3098
|
*
|
|
2967
3099
|
* @param {string} id
|
|
@@ -3130,6 +3262,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
3130
3262
|
return DefaultApiFp(this.configuration).parkingLotsIndex(options).then((request) => request(this.axios, this.basePath));
|
|
3131
3263
|
}
|
|
3132
3264
|
|
|
3265
|
+
/**
|
|
3266
|
+
*
|
|
3267
|
+
* @param {string} memberId
|
|
3268
|
+
* @param {*} [options] Override http request option.
|
|
3269
|
+
* @throws {RequiredError}
|
|
3270
|
+
* @memberof DefaultApi
|
|
3271
|
+
*/
|
|
3272
|
+
public parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig) {
|
|
3273
|
+
return DefaultApiFp(this.configuration).parkingTicketsIndex(memberId, options).then((request) => request(this.axios, this.basePath));
|
|
3274
|
+
}
|
|
3275
|
+
|
|
3133
3276
|
/**
|
|
3134
3277
|
*
|
|
3135
3278
|
* @param {string} id
|
package/dist/api/api.d.ts
CHANGED
|
@@ -67,7 +67,7 @@ export interface CommandsCreateBody {
|
|
|
67
67
|
* @type {string}
|
|
68
68
|
* @memberof CommandsCreateBody
|
|
69
69
|
*/
|
|
70
|
-
'name':
|
|
70
|
+
'name': string;
|
|
71
71
|
/**
|
|
72
72
|
*
|
|
73
73
|
* @type {LiftCallCommandData}
|
|
@@ -75,10 +75,6 @@ export interface CommandsCreateBody {
|
|
|
75
75
|
*/
|
|
76
76
|
'data': LiftCallCommandData;
|
|
77
77
|
}
|
|
78
|
-
export declare const CommandsCreateBodyNameEnum: {
|
|
79
|
-
readonly LiftCall: "lift.call";
|
|
80
|
-
};
|
|
81
|
-
export type CommandsCreateBodyNameEnum = typeof CommandsCreateBodyNameEnum[keyof typeof CommandsCreateBodyNameEnum];
|
|
82
78
|
/**
|
|
83
79
|
*
|
|
84
80
|
* @export
|
|
@@ -754,6 +750,43 @@ export interface ParkingLotData {
|
|
|
754
750
|
*/
|
|
755
751
|
'zone': ZoneData;
|
|
756
752
|
}
|
|
753
|
+
/**
|
|
754
|
+
*
|
|
755
|
+
* @export
|
|
756
|
+
* @interface ParkingTicketResult
|
|
757
|
+
*/
|
|
758
|
+
export interface ParkingTicketResult {
|
|
759
|
+
/**
|
|
760
|
+
*
|
|
761
|
+
* @type {string}
|
|
762
|
+
* @memberof ParkingTicketResult
|
|
763
|
+
*/
|
|
764
|
+
'id': string;
|
|
765
|
+
/**
|
|
766
|
+
*
|
|
767
|
+
* @type {string}
|
|
768
|
+
* @memberof ParkingTicketResult
|
|
769
|
+
*/
|
|
770
|
+
'plate_number': string;
|
|
771
|
+
/**
|
|
772
|
+
*
|
|
773
|
+
* @type {string}
|
|
774
|
+
* @memberof ParkingTicketResult
|
|
775
|
+
*/
|
|
776
|
+
'member_id': string;
|
|
777
|
+
/**
|
|
778
|
+
*
|
|
779
|
+
* @type {FindMemberResultCreatedAt}
|
|
780
|
+
* @memberof ParkingTicketResult
|
|
781
|
+
*/
|
|
782
|
+
'created_at': FindMemberResultCreatedAt;
|
|
783
|
+
/**
|
|
784
|
+
*
|
|
785
|
+
* @type {FindMemberResultCreatedAt}
|
|
786
|
+
* @memberof ParkingTicketResult
|
|
787
|
+
*/
|
|
788
|
+
'updated_at': FindMemberResultCreatedAt;
|
|
789
|
+
}
|
|
757
790
|
/**
|
|
758
791
|
*
|
|
759
792
|
* @export
|
|
@@ -1905,6 +1938,56 @@ export interface WrappedResponseParkingLotsIndexResponse {
|
|
|
1905
1938
|
*/
|
|
1906
1939
|
export interface WrappedResponseParkingLotsIndexResponseData {
|
|
1907
1940
|
}
|
|
1941
|
+
/**
|
|
1942
|
+
*
|
|
1943
|
+
* @export
|
|
1944
|
+
* @interface WrappedResponseParkingTicketResult
|
|
1945
|
+
*/
|
|
1946
|
+
export interface WrappedResponseParkingTicketResult {
|
|
1947
|
+
/**
|
|
1948
|
+
*
|
|
1949
|
+
* @type {WrappedResponseParkingTicketResultData}
|
|
1950
|
+
* @memberof WrappedResponseParkingTicketResult
|
|
1951
|
+
*/
|
|
1952
|
+
'data': WrappedResponseParkingTicketResultData | null;
|
|
1953
|
+
}
|
|
1954
|
+
/**
|
|
1955
|
+
*
|
|
1956
|
+
* @export
|
|
1957
|
+
* @interface WrappedResponseParkingTicketResultData
|
|
1958
|
+
*/
|
|
1959
|
+
export interface WrappedResponseParkingTicketResultData {
|
|
1960
|
+
/**
|
|
1961
|
+
*
|
|
1962
|
+
* @type {string}
|
|
1963
|
+
* @memberof WrappedResponseParkingTicketResultData
|
|
1964
|
+
*/
|
|
1965
|
+
'id': string;
|
|
1966
|
+
/**
|
|
1967
|
+
*
|
|
1968
|
+
* @type {string}
|
|
1969
|
+
* @memberof WrappedResponseParkingTicketResultData
|
|
1970
|
+
*/
|
|
1971
|
+
'plate_number': string;
|
|
1972
|
+
/**
|
|
1973
|
+
*
|
|
1974
|
+
* @type {string}
|
|
1975
|
+
* @memberof WrappedResponseParkingTicketResultData
|
|
1976
|
+
*/
|
|
1977
|
+
'member_id': string;
|
|
1978
|
+
/**
|
|
1979
|
+
*
|
|
1980
|
+
* @type {FindMemberResultCreatedAt}
|
|
1981
|
+
* @memberof WrappedResponseParkingTicketResultData
|
|
1982
|
+
*/
|
|
1983
|
+
'created_at': FindMemberResultCreatedAt;
|
|
1984
|
+
/**
|
|
1985
|
+
*
|
|
1986
|
+
* @type {FindMemberResultCreatedAt}
|
|
1987
|
+
* @memberof WrappedResponseParkingTicketResultData
|
|
1988
|
+
*/
|
|
1989
|
+
'updated_at': FindMemberResultCreatedAt;
|
|
1990
|
+
}
|
|
1908
1991
|
/**
|
|
1909
1992
|
*
|
|
1910
1993
|
* @export
|
|
@@ -2210,6 +2293,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2210
2293
|
* @throws {RequiredError}
|
|
2211
2294
|
*/
|
|
2212
2295
|
parkingLotsIndex: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2296
|
+
/**
|
|
2297
|
+
*
|
|
2298
|
+
* @param {string} memberId
|
|
2299
|
+
* @param {*} [options] Override http request option.
|
|
2300
|
+
* @throws {RequiredError}
|
|
2301
|
+
*/
|
|
2302
|
+
parkingTicketsIndex: (memberId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2213
2303
|
/**
|
|
2214
2304
|
*
|
|
2215
2305
|
* @param {string} id
|
|
@@ -2326,6 +2416,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2326
2416
|
* @throws {RequiredError}
|
|
2327
2417
|
*/
|
|
2328
2418
|
parkingLotsIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingLotsIndexResponse>>;
|
|
2419
|
+
/**
|
|
2420
|
+
*
|
|
2421
|
+
* @param {string} memberId
|
|
2422
|
+
* @param {*} [options] Override http request option.
|
|
2423
|
+
* @throws {RequiredError}
|
|
2424
|
+
*/
|
|
2425
|
+
parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketResult>>;
|
|
2329
2426
|
/**
|
|
2330
2427
|
*
|
|
2331
2428
|
* @param {string} id
|
|
@@ -2442,6 +2539,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2442
2539
|
* @throws {RequiredError}
|
|
2443
2540
|
*/
|
|
2444
2541
|
parkingLotsIndex(options?: any): AxiosPromise<WrappedResponseParkingLotsIndexResponse>;
|
|
2542
|
+
/**
|
|
2543
|
+
*
|
|
2544
|
+
* @param {string} memberId
|
|
2545
|
+
* @param {*} [options] Override http request option.
|
|
2546
|
+
* @throws {RequiredError}
|
|
2547
|
+
*/
|
|
2548
|
+
parkingTicketsIndex(memberId: string, options?: any): AxiosPromise<WrappedResponseParkingTicketResult>;
|
|
2445
2549
|
/**
|
|
2446
2550
|
*
|
|
2447
2551
|
* @param {string} id
|
|
@@ -2569,6 +2673,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
2569
2673
|
* @memberof DefaultApi
|
|
2570
2674
|
*/
|
|
2571
2675
|
parkingLotsIndex(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingLotsIndexResponse, any>>;
|
|
2676
|
+
/**
|
|
2677
|
+
*
|
|
2678
|
+
* @param {string} memberId
|
|
2679
|
+
* @param {*} [options] Override http request option.
|
|
2680
|
+
* @throws {RequiredError}
|
|
2681
|
+
* @memberof DefaultApi
|
|
2682
|
+
*/
|
|
2683
|
+
parkingTicketsIndex(memberId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketResult, any>>;
|
|
2572
2684
|
/**
|
|
2573
2685
|
*
|
|
2574
2686
|
* @param {string} id
|
package/dist/api/api.js
CHANGED
|
@@ -25,16 +25,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
25
25
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WrappedResponsePassConsentResponseDataStatusEnum = exports.WrappedResponseNullDataEnum = exports.ShowPassResponseStatusEnum = exports.PassDataStatusEnum = exports.PassConsentResponseStatusEnum =
|
|
28
|
+
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WrappedResponsePassConsentResponseDataStatusEnum = exports.WrappedResponseNullDataEnum = exports.ShowPassResponseStatusEnum = exports.PassDataStatusEnum = exports.PassConsentResponseStatusEnum = void 0;
|
|
29
29
|
const axios_1 = __importDefault(require("axios"));
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
32
32
|
const common_1 = require("./common");
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
const base_1 = require("./base");
|
|
35
|
-
exports.CommandsCreateBodyNameEnum = {
|
|
36
|
-
LiftCall: 'lift.call'
|
|
37
|
-
};
|
|
38
35
|
exports.PassConsentResponseStatusEnum = {
|
|
39
36
|
Pending: 'pending',
|
|
40
37
|
Confirmed: 'confirmed'
|
|
@@ -334,6 +331,34 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
334
331
|
options: localVarRequestOptions,
|
|
335
332
|
};
|
|
336
333
|
}),
|
|
334
|
+
/**
|
|
335
|
+
*
|
|
336
|
+
* @param {string} memberId
|
|
337
|
+
* @param {*} [options] Override http request option.
|
|
338
|
+
* @throws {RequiredError}
|
|
339
|
+
*/
|
|
340
|
+
parkingTicketsIndex: (memberId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
341
|
+
// verify required parameter 'memberId' is not null or undefined
|
|
342
|
+
(0, common_1.assertParamExists)('parkingTicketsIndex', 'memberId', memberId);
|
|
343
|
+
const localVarPath = `/members/{member_id}/parking_tickets`
|
|
344
|
+
.replace(`{${"member_id"}}`, encodeURIComponent(String(memberId)));
|
|
345
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
346
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
347
|
+
let baseOptions;
|
|
348
|
+
if (configuration) {
|
|
349
|
+
baseOptions = configuration.baseOptions;
|
|
350
|
+
}
|
|
351
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
352
|
+
const localVarHeaderParameter = {};
|
|
353
|
+
const localVarQueryParameter = {};
|
|
354
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
355
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
356
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
357
|
+
return {
|
|
358
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
359
|
+
options: localVarRequestOptions,
|
|
360
|
+
};
|
|
361
|
+
}),
|
|
337
362
|
/**
|
|
338
363
|
*
|
|
339
364
|
* @param {string} id
|
|
@@ -631,6 +656,18 @@ const DefaultApiFp = function (configuration) {
|
|
|
631
656
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
632
657
|
});
|
|
633
658
|
},
|
|
659
|
+
/**
|
|
660
|
+
*
|
|
661
|
+
* @param {string} memberId
|
|
662
|
+
* @param {*} [options] Override http request option.
|
|
663
|
+
* @throws {RequiredError}
|
|
664
|
+
*/
|
|
665
|
+
parkingTicketsIndex(memberId, options) {
|
|
666
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
667
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingTicketsIndex(memberId, options);
|
|
668
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
669
|
+
});
|
|
670
|
+
},
|
|
634
671
|
/**
|
|
635
672
|
*
|
|
636
673
|
* @param {string} id
|
|
@@ -799,6 +836,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
799
836
|
parkingLotsIndex(options) {
|
|
800
837
|
return localVarFp.parkingLotsIndex(options).then((request) => request(axios, basePath));
|
|
801
838
|
},
|
|
839
|
+
/**
|
|
840
|
+
*
|
|
841
|
+
* @param {string} memberId
|
|
842
|
+
* @param {*} [options] Override http request option.
|
|
843
|
+
* @throws {RequiredError}
|
|
844
|
+
*/
|
|
845
|
+
parkingTicketsIndex(memberId, options) {
|
|
846
|
+
return localVarFp.parkingTicketsIndex(memberId, options).then((request) => request(axios, basePath));
|
|
847
|
+
},
|
|
802
848
|
/**
|
|
803
849
|
*
|
|
804
850
|
* @param {string} id
|
|
@@ -958,6 +1004,16 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
958
1004
|
parkingLotsIndex(options) {
|
|
959
1005
|
return (0, exports.DefaultApiFp)(this.configuration).parkingLotsIndex(options).then((request) => request(this.axios, this.basePath));
|
|
960
1006
|
}
|
|
1007
|
+
/**
|
|
1008
|
+
*
|
|
1009
|
+
* @param {string} memberId
|
|
1010
|
+
* @param {*} [options] Override http request option.
|
|
1011
|
+
* @throws {RequiredError}
|
|
1012
|
+
* @memberof DefaultApi
|
|
1013
|
+
*/
|
|
1014
|
+
parkingTicketsIndex(memberId, options) {
|
|
1015
|
+
return (0, exports.DefaultApiFp)(this.configuration).parkingTicketsIndex(memberId, options).then((request) => request(this.axios, this.basePath));
|
|
1016
|
+
}
|
|
961
1017
|
/**
|
|
962
1018
|
*
|
|
963
1019
|
* @param {string} id
|