ob-parking-sdk 0.0.1 → 0.0.3
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 +356 -0
- package/dist/api/api.d.ts +265 -0
- package/dist/api/api.js +153 -1
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -71,6 +71,93 @@ export const AddParkingTicketType = {
|
|
|
71
71
|
export type AddParkingTicketType = typeof AddParkingTicketType[keyof typeof AddParkingTicketType];
|
|
72
72
|
|
|
73
73
|
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @export
|
|
77
|
+
* @interface GetParkingDetailIndexQuery
|
|
78
|
+
*/
|
|
79
|
+
export interface GetParkingDetailIndexQuery {
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof GetParkingDetailIndexQuery
|
|
84
|
+
*/
|
|
85
|
+
'order_by'?: string;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof GetParkingDetailIndexQuery
|
|
90
|
+
*/
|
|
91
|
+
'order_direction'?: string;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {number}
|
|
95
|
+
* @memberof GetParkingDetailIndexQuery
|
|
96
|
+
*/
|
|
97
|
+
'page_number'?: number;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {number}
|
|
101
|
+
* @memberof GetParkingDetailIndexQuery
|
|
102
|
+
*/
|
|
103
|
+
'page_size'?: number;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof GetParkingDetailIndexQuery
|
|
108
|
+
*/
|
|
109
|
+
'filter_by'?: string;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof GetParkingDetailIndexQuery
|
|
114
|
+
*/
|
|
115
|
+
'filter_key'?: string;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {string}
|
|
119
|
+
* @memberof GetParkingDetailIndexQuery
|
|
120
|
+
*/
|
|
121
|
+
'accountDetail.firstName'?: string;
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @type {string}
|
|
125
|
+
* @memberof GetParkingDetailIndexQuery
|
|
126
|
+
*/
|
|
127
|
+
'accountDetail.lastName'?: string;
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof GetParkingDetailIndexQuery
|
|
132
|
+
*/
|
|
133
|
+
'accountDetail.middleName'?: string;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @type {string}
|
|
137
|
+
* @memberof GetParkingDetailIndexQuery
|
|
138
|
+
*/
|
|
139
|
+
'accountDetail.id'?: string;
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @type {string}
|
|
143
|
+
* @memberof GetParkingDetailIndexQuery
|
|
144
|
+
*/
|
|
145
|
+
'startDate'?: string;
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @type {string}
|
|
149
|
+
* @memberof GetParkingDetailIndexQuery
|
|
150
|
+
*/
|
|
151
|
+
'endDate'?: string;
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
* @type {ParkingDetailStatus}
|
|
155
|
+
* @memberof GetParkingDetailIndexQuery
|
|
156
|
+
*/
|
|
157
|
+
'status'?: ParkingDetailStatus;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
|
|
74
161
|
/**
|
|
75
162
|
*
|
|
76
163
|
* @export
|
|
@@ -108,6 +195,82 @@ export interface GetParkingDetailResponse {
|
|
|
108
195
|
*/
|
|
109
196
|
'receipts': Array<Receipt>;
|
|
110
197
|
}
|
|
198
|
+
/**
|
|
199
|
+
*
|
|
200
|
+
* @export
|
|
201
|
+
* @interface GetParkingDetailsIndexResponse
|
|
202
|
+
*/
|
|
203
|
+
export interface GetParkingDetailsIndexResponse {
|
|
204
|
+
/**
|
|
205
|
+
*
|
|
206
|
+
* @type {string}
|
|
207
|
+
* @memberof GetParkingDetailsIndexResponse
|
|
208
|
+
*/
|
|
209
|
+
'id': string;
|
|
210
|
+
/**
|
|
211
|
+
*
|
|
212
|
+
* @type {string}
|
|
213
|
+
* @memberof GetParkingDetailsIndexResponse
|
|
214
|
+
*/
|
|
215
|
+
'parkingTicketId': string;
|
|
216
|
+
/**
|
|
217
|
+
*
|
|
218
|
+
* @type {ParkingAccountDetail}
|
|
219
|
+
* @memberof GetParkingDetailsIndexResponse
|
|
220
|
+
*/
|
|
221
|
+
'accountDetail': ParkingAccountDetail;
|
|
222
|
+
/**
|
|
223
|
+
*
|
|
224
|
+
* @type {string}
|
|
225
|
+
* @memberof GetParkingDetailsIndexResponse
|
|
226
|
+
*/
|
|
227
|
+
'totalAmount': string;
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
* @type {string}
|
|
231
|
+
* @memberof GetParkingDetailsIndexResponse
|
|
232
|
+
*/
|
|
233
|
+
'redeemable_at': string;
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* @type {ParkingDetailStatus}
|
|
237
|
+
* @memberof GetParkingDetailsIndexResponse
|
|
238
|
+
*/
|
|
239
|
+
'status': ParkingDetailStatus;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
*
|
|
245
|
+
* @export
|
|
246
|
+
* @interface Pagination
|
|
247
|
+
*/
|
|
248
|
+
export interface Pagination {
|
|
249
|
+
/**
|
|
250
|
+
*
|
|
251
|
+
* @type {number}
|
|
252
|
+
* @memberof Pagination
|
|
253
|
+
*/
|
|
254
|
+
'total': number;
|
|
255
|
+
/**
|
|
256
|
+
*
|
|
257
|
+
* @type {number}
|
|
258
|
+
* @memberof Pagination
|
|
259
|
+
*/
|
|
260
|
+
'total_page': number;
|
|
261
|
+
/**
|
|
262
|
+
*
|
|
263
|
+
* @type {number}
|
|
264
|
+
* @memberof Pagination
|
|
265
|
+
*/
|
|
266
|
+
'page_number': number;
|
|
267
|
+
/**
|
|
268
|
+
*
|
|
269
|
+
* @type {number}
|
|
270
|
+
* @memberof Pagination
|
|
271
|
+
*/
|
|
272
|
+
'page_size': number;
|
|
273
|
+
}
|
|
111
274
|
/**
|
|
112
275
|
*
|
|
113
276
|
* @export
|
|
@@ -139,6 +302,20 @@ export interface ParkingAccountDetail {
|
|
|
139
302
|
*/
|
|
140
303
|
'middleName': string;
|
|
141
304
|
}
|
|
305
|
+
/**
|
|
306
|
+
*
|
|
307
|
+
* @export
|
|
308
|
+
* @enum {string}
|
|
309
|
+
*/
|
|
310
|
+
|
|
311
|
+
export const ParkingDetailStatus = {
|
|
312
|
+
Active: 'active',
|
|
313
|
+
Dispute: 'dispute'
|
|
314
|
+
} as const;
|
|
315
|
+
|
|
316
|
+
export type ParkingDetailStatus = typeof ParkingDetailStatus[keyof typeof ParkingDetailStatus];
|
|
317
|
+
|
|
318
|
+
|
|
142
319
|
/**
|
|
143
320
|
*
|
|
144
321
|
* @export
|
|
@@ -207,6 +384,25 @@ export const ReceiptStatus = {
|
|
|
207
384
|
export type ReceiptStatus = typeof ReceiptStatus[keyof typeof ReceiptStatus];
|
|
208
385
|
|
|
209
386
|
|
|
387
|
+
/**
|
|
388
|
+
*
|
|
389
|
+
* @export
|
|
390
|
+
* @interface ResponseDataGetParkingDetailsIndexResponseArray
|
|
391
|
+
*/
|
|
392
|
+
export interface ResponseDataGetParkingDetailsIndexResponseArray {
|
|
393
|
+
/**
|
|
394
|
+
*
|
|
395
|
+
* @type {Array<GetParkingDetailsIndexResponse>}
|
|
396
|
+
* @memberof ResponseDataGetParkingDetailsIndexResponseArray
|
|
397
|
+
*/
|
|
398
|
+
'data': Array<GetParkingDetailsIndexResponse>;
|
|
399
|
+
/**
|
|
400
|
+
*
|
|
401
|
+
* @type {Pagination}
|
|
402
|
+
* @memberof ResponseDataGetParkingDetailsIndexResponseArray
|
|
403
|
+
*/
|
|
404
|
+
'pagination'?: Pagination;
|
|
405
|
+
}
|
|
210
406
|
/**
|
|
211
407
|
*
|
|
212
408
|
* @export
|
|
@@ -299,6 +495,100 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
299
495
|
|
|
300
496
|
|
|
301
497
|
|
|
498
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
499
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
500
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
501
|
+
|
|
502
|
+
return {
|
|
503
|
+
url: toPathString(localVarUrlObj),
|
|
504
|
+
options: localVarRequestOptions,
|
|
505
|
+
};
|
|
506
|
+
},
|
|
507
|
+
/**
|
|
508
|
+
*
|
|
509
|
+
* @param {string} [orderBy]
|
|
510
|
+
* @param {string} [orderDirection]
|
|
511
|
+
* @param {number} [pageNumber]
|
|
512
|
+
* @param {number} [pageSize]
|
|
513
|
+
* @param {string} [filterBy]
|
|
514
|
+
* @param {string} [filterKey]
|
|
515
|
+
* @param {string} [accountDetailFirstName]
|
|
516
|
+
* @param {string} [accountDetailLastName]
|
|
517
|
+
* @param {string} [accountDetailMiddleName]
|
|
518
|
+
* @param {string} [accountDetailId]
|
|
519
|
+
* @param {string} [startDate]
|
|
520
|
+
* @param {string} [endDate]
|
|
521
|
+
* @param {ParkingDetailStatus} [status]
|
|
522
|
+
* @param {*} [options] Override http request option.
|
|
523
|
+
* @throws {RequiredError}
|
|
524
|
+
*/
|
|
525
|
+
parkingDetailsIndex: async (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, accountDetailFirstName?: string, accountDetailLastName?: string, accountDetailMiddleName?: string, accountDetailId?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
526
|
+
const localVarPath = `/parking-details`;
|
|
527
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
528
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
529
|
+
let baseOptions;
|
|
530
|
+
if (configuration) {
|
|
531
|
+
baseOptions = configuration.baseOptions;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
535
|
+
const localVarHeaderParameter = {} as any;
|
|
536
|
+
const localVarQueryParameter = {} as any;
|
|
537
|
+
|
|
538
|
+
if (orderBy !== undefined) {
|
|
539
|
+
localVarQueryParameter['order_by'] = orderBy;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
if (orderDirection !== undefined) {
|
|
543
|
+
localVarQueryParameter['order_direction'] = orderDirection;
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
if (pageNumber !== undefined) {
|
|
547
|
+
localVarQueryParameter['page_number'] = pageNumber;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
if (pageSize !== undefined) {
|
|
551
|
+
localVarQueryParameter['page_size'] = pageSize;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
if (filterBy !== undefined) {
|
|
555
|
+
localVarQueryParameter['filter_by'] = filterBy;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
if (filterKey !== undefined) {
|
|
559
|
+
localVarQueryParameter['filter_key'] = filterKey;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
if (accountDetailFirstName !== undefined) {
|
|
563
|
+
localVarQueryParameter['accountDetail.firstName'] = accountDetailFirstName;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
if (accountDetailLastName !== undefined) {
|
|
567
|
+
localVarQueryParameter['accountDetail.lastName'] = accountDetailLastName;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
if (accountDetailMiddleName !== undefined) {
|
|
571
|
+
localVarQueryParameter['accountDetail.middleName'] = accountDetailMiddleName;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
if (accountDetailId !== undefined) {
|
|
575
|
+
localVarQueryParameter['accountDetail.id'] = accountDetailId;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
if (startDate !== undefined) {
|
|
579
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
if (endDate !== undefined) {
|
|
583
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
if (status !== undefined) {
|
|
587
|
+
localVarQueryParameter['status'] = status;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
|
|
302
592
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
303
593
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
304
594
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -369,6 +659,28 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
369
659
|
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingDetailsGetParkingDetail(id, options);
|
|
370
660
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
371
661
|
},
|
|
662
|
+
/**
|
|
663
|
+
*
|
|
664
|
+
* @param {string} [orderBy]
|
|
665
|
+
* @param {string} [orderDirection]
|
|
666
|
+
* @param {number} [pageNumber]
|
|
667
|
+
* @param {number} [pageSize]
|
|
668
|
+
* @param {string} [filterBy]
|
|
669
|
+
* @param {string} [filterKey]
|
|
670
|
+
* @param {string} [accountDetailFirstName]
|
|
671
|
+
* @param {string} [accountDetailLastName]
|
|
672
|
+
* @param {string} [accountDetailMiddleName]
|
|
673
|
+
* @param {string} [accountDetailId]
|
|
674
|
+
* @param {string} [startDate]
|
|
675
|
+
* @param {string} [endDate]
|
|
676
|
+
* @param {ParkingDetailStatus} [status]
|
|
677
|
+
* @param {*} [options] Override http request option.
|
|
678
|
+
* @throws {RequiredError}
|
|
679
|
+
*/
|
|
680
|
+
async parkingDetailsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, accountDetailFirstName?: string, accountDetailLastName?: string, accountDetailMiddleName?: string, accountDetailId?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseDataGetParkingDetailsIndexResponseArray>> {
|
|
681
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingDetailsIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, accountDetailFirstName, accountDetailLastName, accountDetailMiddleName, accountDetailId, startDate, endDate, status, options);
|
|
682
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
683
|
+
},
|
|
372
684
|
/**
|
|
373
685
|
*
|
|
374
686
|
* @param {*} [options] Override http request option.
|
|
@@ -408,6 +720,27 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
408
720
|
parkingDetailsGetParkingDetail(id: string, options?: any): AxiosPromise<GetParkingDetailResponse> {
|
|
409
721
|
return localVarFp.parkingDetailsGetParkingDetail(id, options).then((request) => request(axios, basePath));
|
|
410
722
|
},
|
|
723
|
+
/**
|
|
724
|
+
*
|
|
725
|
+
* @param {string} [orderBy]
|
|
726
|
+
* @param {string} [orderDirection]
|
|
727
|
+
* @param {number} [pageNumber]
|
|
728
|
+
* @param {number} [pageSize]
|
|
729
|
+
* @param {string} [filterBy]
|
|
730
|
+
* @param {string} [filterKey]
|
|
731
|
+
* @param {string} [accountDetailFirstName]
|
|
732
|
+
* @param {string} [accountDetailLastName]
|
|
733
|
+
* @param {string} [accountDetailMiddleName]
|
|
734
|
+
* @param {string} [accountDetailId]
|
|
735
|
+
* @param {string} [startDate]
|
|
736
|
+
* @param {string} [endDate]
|
|
737
|
+
* @param {ParkingDetailStatus} [status]
|
|
738
|
+
* @param {*} [options] Override http request option.
|
|
739
|
+
* @throws {RequiredError}
|
|
740
|
+
*/
|
|
741
|
+
parkingDetailsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, accountDetailFirstName?: string, accountDetailLastName?: string, accountDetailMiddleName?: string, accountDetailId?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: any): AxiosPromise<ResponseDataGetParkingDetailsIndexResponseArray> {
|
|
742
|
+
return localVarFp.parkingDetailsIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, accountDetailFirstName, accountDetailLastName, accountDetailMiddleName, accountDetailId, startDate, endDate, status, options).then((request) => request(axios, basePath));
|
|
743
|
+
},
|
|
411
744
|
/**
|
|
412
745
|
*
|
|
413
746
|
* @param {*} [options] Override http request option.
|
|
@@ -450,6 +783,29 @@ export class DefaultApi extends BaseAPI {
|
|
|
450
783
|
return DefaultApiFp(this.configuration).parkingDetailsGetParkingDetail(id, options).then((request) => request(this.axios, this.basePath));
|
|
451
784
|
}
|
|
452
785
|
|
|
786
|
+
/**
|
|
787
|
+
*
|
|
788
|
+
* @param {string} [orderBy]
|
|
789
|
+
* @param {string} [orderDirection]
|
|
790
|
+
* @param {number} [pageNumber]
|
|
791
|
+
* @param {number} [pageSize]
|
|
792
|
+
* @param {string} [filterBy]
|
|
793
|
+
* @param {string} [filterKey]
|
|
794
|
+
* @param {string} [accountDetailFirstName]
|
|
795
|
+
* @param {string} [accountDetailLastName]
|
|
796
|
+
* @param {string} [accountDetailMiddleName]
|
|
797
|
+
* @param {string} [accountDetailId]
|
|
798
|
+
* @param {string} [startDate]
|
|
799
|
+
* @param {string} [endDate]
|
|
800
|
+
* @param {ParkingDetailStatus} [status]
|
|
801
|
+
* @param {*} [options] Override http request option.
|
|
802
|
+
* @throws {RequiredError}
|
|
803
|
+
* @memberof DefaultApi
|
|
804
|
+
*/
|
|
805
|
+
public parkingDetailsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, accountDetailFirstName?: string, accountDetailLastName?: string, accountDetailMiddleName?: string, accountDetailId?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: AxiosRequestConfig) {
|
|
806
|
+
return DefaultApiFp(this.configuration).parkingDetailsIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, accountDetailFirstName, accountDetailLastName, accountDetailMiddleName, accountDetailId, startDate, endDate, status, options).then((request) => request(this.axios, this.basePath));
|
|
807
|
+
}
|
|
808
|
+
|
|
453
809
|
/**
|
|
454
810
|
*
|
|
455
811
|
* @param {*} [options] Override http request option.
|
package/dist/api/api.d.ts
CHANGED
|
@@ -55,6 +55,91 @@ export declare const AddParkingTicketType: {
|
|
|
55
55
|
readonly App: "APP";
|
|
56
56
|
};
|
|
57
57
|
export type AddParkingTicketType = typeof AddParkingTicketType[keyof typeof AddParkingTicketType];
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @export
|
|
61
|
+
* @interface GetParkingDetailIndexQuery
|
|
62
|
+
*/
|
|
63
|
+
export interface GetParkingDetailIndexQuery {
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof GetParkingDetailIndexQuery
|
|
68
|
+
*/
|
|
69
|
+
'order_by'?: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof GetParkingDetailIndexQuery
|
|
74
|
+
*/
|
|
75
|
+
'order_direction'?: string;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {number}
|
|
79
|
+
* @memberof GetParkingDetailIndexQuery
|
|
80
|
+
*/
|
|
81
|
+
'page_number'?: number;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {number}
|
|
85
|
+
* @memberof GetParkingDetailIndexQuery
|
|
86
|
+
*/
|
|
87
|
+
'page_size'?: number;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof GetParkingDetailIndexQuery
|
|
92
|
+
*/
|
|
93
|
+
'filter_by'?: string;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof GetParkingDetailIndexQuery
|
|
98
|
+
*/
|
|
99
|
+
'filter_key'?: string;
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @type {string}
|
|
103
|
+
* @memberof GetParkingDetailIndexQuery
|
|
104
|
+
*/
|
|
105
|
+
'accountDetail.firstName'?: string;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {string}
|
|
109
|
+
* @memberof GetParkingDetailIndexQuery
|
|
110
|
+
*/
|
|
111
|
+
'accountDetail.lastName'?: string;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {string}
|
|
115
|
+
* @memberof GetParkingDetailIndexQuery
|
|
116
|
+
*/
|
|
117
|
+
'accountDetail.middleName'?: string;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @type {string}
|
|
121
|
+
* @memberof GetParkingDetailIndexQuery
|
|
122
|
+
*/
|
|
123
|
+
'accountDetail.id'?: string;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {string}
|
|
127
|
+
* @memberof GetParkingDetailIndexQuery
|
|
128
|
+
*/
|
|
129
|
+
'startDate'?: string;
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @type {string}
|
|
133
|
+
* @memberof GetParkingDetailIndexQuery
|
|
134
|
+
*/
|
|
135
|
+
'endDate'?: string;
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @type {ParkingDetailStatus}
|
|
139
|
+
* @memberof GetParkingDetailIndexQuery
|
|
140
|
+
*/
|
|
141
|
+
'status'?: ParkingDetailStatus;
|
|
142
|
+
}
|
|
58
143
|
/**
|
|
59
144
|
*
|
|
60
145
|
* @export
|
|
@@ -92,6 +177,80 @@ export interface GetParkingDetailResponse {
|
|
|
92
177
|
*/
|
|
93
178
|
'receipts': Array<Receipt>;
|
|
94
179
|
}
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @export
|
|
183
|
+
* @interface GetParkingDetailsIndexResponse
|
|
184
|
+
*/
|
|
185
|
+
export interface GetParkingDetailsIndexResponse {
|
|
186
|
+
/**
|
|
187
|
+
*
|
|
188
|
+
* @type {string}
|
|
189
|
+
* @memberof GetParkingDetailsIndexResponse
|
|
190
|
+
*/
|
|
191
|
+
'id': string;
|
|
192
|
+
/**
|
|
193
|
+
*
|
|
194
|
+
* @type {string}
|
|
195
|
+
* @memberof GetParkingDetailsIndexResponse
|
|
196
|
+
*/
|
|
197
|
+
'parkingTicketId': string;
|
|
198
|
+
/**
|
|
199
|
+
*
|
|
200
|
+
* @type {ParkingAccountDetail}
|
|
201
|
+
* @memberof GetParkingDetailsIndexResponse
|
|
202
|
+
*/
|
|
203
|
+
'accountDetail': ParkingAccountDetail;
|
|
204
|
+
/**
|
|
205
|
+
*
|
|
206
|
+
* @type {string}
|
|
207
|
+
* @memberof GetParkingDetailsIndexResponse
|
|
208
|
+
*/
|
|
209
|
+
'totalAmount': string;
|
|
210
|
+
/**
|
|
211
|
+
*
|
|
212
|
+
* @type {string}
|
|
213
|
+
* @memberof GetParkingDetailsIndexResponse
|
|
214
|
+
*/
|
|
215
|
+
'redeemable_at': string;
|
|
216
|
+
/**
|
|
217
|
+
*
|
|
218
|
+
* @type {ParkingDetailStatus}
|
|
219
|
+
* @memberof GetParkingDetailsIndexResponse
|
|
220
|
+
*/
|
|
221
|
+
'status': ParkingDetailStatus;
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* @export
|
|
226
|
+
* @interface Pagination
|
|
227
|
+
*/
|
|
228
|
+
export interface Pagination {
|
|
229
|
+
/**
|
|
230
|
+
*
|
|
231
|
+
* @type {number}
|
|
232
|
+
* @memberof Pagination
|
|
233
|
+
*/
|
|
234
|
+
'total': number;
|
|
235
|
+
/**
|
|
236
|
+
*
|
|
237
|
+
* @type {number}
|
|
238
|
+
* @memberof Pagination
|
|
239
|
+
*/
|
|
240
|
+
'total_page': number;
|
|
241
|
+
/**
|
|
242
|
+
*
|
|
243
|
+
* @type {number}
|
|
244
|
+
* @memberof Pagination
|
|
245
|
+
*/
|
|
246
|
+
'page_number': number;
|
|
247
|
+
/**
|
|
248
|
+
*
|
|
249
|
+
* @type {number}
|
|
250
|
+
* @memberof Pagination
|
|
251
|
+
*/
|
|
252
|
+
'page_size': number;
|
|
253
|
+
}
|
|
95
254
|
/**
|
|
96
255
|
*
|
|
97
256
|
* @export
|
|
@@ -123,6 +282,16 @@ export interface ParkingAccountDetail {
|
|
|
123
282
|
*/
|
|
124
283
|
'middleName': string;
|
|
125
284
|
}
|
|
285
|
+
/**
|
|
286
|
+
*
|
|
287
|
+
* @export
|
|
288
|
+
* @enum {string}
|
|
289
|
+
*/
|
|
290
|
+
export declare const ParkingDetailStatus: {
|
|
291
|
+
readonly Active: "active";
|
|
292
|
+
readonly Dispute: "dispute";
|
|
293
|
+
};
|
|
294
|
+
export type ParkingDetailStatus = typeof ParkingDetailStatus[keyof typeof ParkingDetailStatus];
|
|
126
295
|
/**
|
|
127
296
|
*
|
|
128
297
|
* @export
|
|
@@ -185,6 +354,25 @@ export declare const ReceiptStatus: {
|
|
|
185
354
|
readonly Redeemed: "redeemed";
|
|
186
355
|
};
|
|
187
356
|
export type ReceiptStatus = typeof ReceiptStatus[keyof typeof ReceiptStatus];
|
|
357
|
+
/**
|
|
358
|
+
*
|
|
359
|
+
* @export
|
|
360
|
+
* @interface ResponseDataGetParkingDetailsIndexResponseArray
|
|
361
|
+
*/
|
|
362
|
+
export interface ResponseDataGetParkingDetailsIndexResponseArray {
|
|
363
|
+
/**
|
|
364
|
+
*
|
|
365
|
+
* @type {Array<GetParkingDetailsIndexResponse>}
|
|
366
|
+
* @memberof ResponseDataGetParkingDetailsIndexResponseArray
|
|
367
|
+
*/
|
|
368
|
+
'data': Array<GetParkingDetailsIndexResponse>;
|
|
369
|
+
/**
|
|
370
|
+
*
|
|
371
|
+
* @type {Pagination}
|
|
372
|
+
* @memberof ResponseDataGetParkingDetailsIndexResponseArray
|
|
373
|
+
*/
|
|
374
|
+
'pagination'?: Pagination;
|
|
375
|
+
}
|
|
188
376
|
/**
|
|
189
377
|
*
|
|
190
378
|
* @export
|
|
@@ -219,6 +407,25 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
219
407
|
* @throws {RequiredError}
|
|
220
408
|
*/
|
|
221
409
|
parkingDetailsGetParkingDetail: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
410
|
+
/**
|
|
411
|
+
*
|
|
412
|
+
* @param {string} [orderBy]
|
|
413
|
+
* @param {string} [orderDirection]
|
|
414
|
+
* @param {number} [pageNumber]
|
|
415
|
+
* @param {number} [pageSize]
|
|
416
|
+
* @param {string} [filterBy]
|
|
417
|
+
* @param {string} [filterKey]
|
|
418
|
+
* @param {string} [accountDetailFirstName]
|
|
419
|
+
* @param {string} [accountDetailLastName]
|
|
420
|
+
* @param {string} [accountDetailMiddleName]
|
|
421
|
+
* @param {string} [accountDetailId]
|
|
422
|
+
* @param {string} [startDate]
|
|
423
|
+
* @param {string} [endDate]
|
|
424
|
+
* @param {ParkingDetailStatus} [status]
|
|
425
|
+
* @param {*} [options] Override http request option.
|
|
426
|
+
* @throws {RequiredError}
|
|
427
|
+
*/
|
|
428
|
+
parkingDetailsIndex: (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, accountDetailFirstName?: string, accountDetailLastName?: string, accountDetailMiddleName?: string, accountDetailId?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
222
429
|
/**
|
|
223
430
|
*
|
|
224
431
|
* @param {*} [options] Override http request option.
|
|
@@ -247,6 +454,25 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
247
454
|
* @throws {RequiredError}
|
|
248
455
|
*/
|
|
249
456
|
parkingDetailsGetParkingDetail(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetParkingDetailResponse>>;
|
|
457
|
+
/**
|
|
458
|
+
*
|
|
459
|
+
* @param {string} [orderBy]
|
|
460
|
+
* @param {string} [orderDirection]
|
|
461
|
+
* @param {number} [pageNumber]
|
|
462
|
+
* @param {number} [pageSize]
|
|
463
|
+
* @param {string} [filterBy]
|
|
464
|
+
* @param {string} [filterKey]
|
|
465
|
+
* @param {string} [accountDetailFirstName]
|
|
466
|
+
* @param {string} [accountDetailLastName]
|
|
467
|
+
* @param {string} [accountDetailMiddleName]
|
|
468
|
+
* @param {string} [accountDetailId]
|
|
469
|
+
* @param {string} [startDate]
|
|
470
|
+
* @param {string} [endDate]
|
|
471
|
+
* @param {ParkingDetailStatus} [status]
|
|
472
|
+
* @param {*} [options] Override http request option.
|
|
473
|
+
* @throws {RequiredError}
|
|
474
|
+
*/
|
|
475
|
+
parkingDetailsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, accountDetailFirstName?: string, accountDetailLastName?: string, accountDetailMiddleName?: string, accountDetailId?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseDataGetParkingDetailsIndexResponseArray>>;
|
|
250
476
|
/**
|
|
251
477
|
*
|
|
252
478
|
* @param {*} [options] Override http request option.
|
|
@@ -275,6 +501,25 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
275
501
|
* @throws {RequiredError}
|
|
276
502
|
*/
|
|
277
503
|
parkingDetailsGetParkingDetail(id: string, options?: any): AxiosPromise<GetParkingDetailResponse>;
|
|
504
|
+
/**
|
|
505
|
+
*
|
|
506
|
+
* @param {string} [orderBy]
|
|
507
|
+
* @param {string} [orderDirection]
|
|
508
|
+
* @param {number} [pageNumber]
|
|
509
|
+
* @param {number} [pageSize]
|
|
510
|
+
* @param {string} [filterBy]
|
|
511
|
+
* @param {string} [filterKey]
|
|
512
|
+
* @param {string} [accountDetailFirstName]
|
|
513
|
+
* @param {string} [accountDetailLastName]
|
|
514
|
+
* @param {string} [accountDetailMiddleName]
|
|
515
|
+
* @param {string} [accountDetailId]
|
|
516
|
+
* @param {string} [startDate]
|
|
517
|
+
* @param {string} [endDate]
|
|
518
|
+
* @param {ParkingDetailStatus} [status]
|
|
519
|
+
* @param {*} [options] Override http request option.
|
|
520
|
+
* @throws {RequiredError}
|
|
521
|
+
*/
|
|
522
|
+
parkingDetailsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, accountDetailFirstName?: string, accountDetailLastName?: string, accountDetailMiddleName?: string, accountDetailId?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: any): AxiosPromise<ResponseDataGetParkingDetailsIndexResponseArray>;
|
|
278
523
|
/**
|
|
279
524
|
*
|
|
280
525
|
* @param {*} [options] Override http request option.
|
|
@@ -307,6 +552,26 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
307
552
|
* @memberof DefaultApi
|
|
308
553
|
*/
|
|
309
554
|
parkingDetailsGetParkingDetail(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetParkingDetailResponse, any>>;
|
|
555
|
+
/**
|
|
556
|
+
*
|
|
557
|
+
* @param {string} [orderBy]
|
|
558
|
+
* @param {string} [orderDirection]
|
|
559
|
+
* @param {number} [pageNumber]
|
|
560
|
+
* @param {number} [pageSize]
|
|
561
|
+
* @param {string} [filterBy]
|
|
562
|
+
* @param {string} [filterKey]
|
|
563
|
+
* @param {string} [accountDetailFirstName]
|
|
564
|
+
* @param {string} [accountDetailLastName]
|
|
565
|
+
* @param {string} [accountDetailMiddleName]
|
|
566
|
+
* @param {string} [accountDetailId]
|
|
567
|
+
* @param {string} [startDate]
|
|
568
|
+
* @param {string} [endDate]
|
|
569
|
+
* @param {ParkingDetailStatus} [status]
|
|
570
|
+
* @param {*} [options] Override http request option.
|
|
571
|
+
* @throws {RequiredError}
|
|
572
|
+
* @memberof DefaultApi
|
|
573
|
+
*/
|
|
574
|
+
parkingDetailsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, accountDetailFirstName?: string, accountDetailLastName?: string, accountDetailMiddleName?: string, accountDetailId?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseDataGetParkingDetailsIndexResponseArray, any>>;
|
|
310
575
|
/**
|
|
311
576
|
*
|
|
312
577
|
* @param {*} [options] Override http request option.
|
package/dist/api/api.js
CHANGED
|
@@ -25,7 +25,7 @@ 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.ReceiptStatus = exports.AddParkingTicketType = void 0;
|
|
28
|
+
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.ReceiptStatus = exports.ParkingDetailStatus = exports.AddParkingTicketType = void 0;
|
|
29
29
|
const axios_1 = __importDefault(require("axios"));
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
@@ -41,6 +41,15 @@ exports.AddParkingTicketType = {
|
|
|
41
41
|
Cms: 'CMS',
|
|
42
42
|
App: 'APP'
|
|
43
43
|
};
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @export
|
|
47
|
+
* @enum {string}
|
|
48
|
+
*/
|
|
49
|
+
exports.ParkingDetailStatus = {
|
|
50
|
+
Active: 'active',
|
|
51
|
+
Dispute: 'dispute'
|
|
52
|
+
};
|
|
44
53
|
/**
|
|
45
54
|
*
|
|
46
55
|
* @export
|
|
@@ -127,6 +136,82 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
127
136
|
options: localVarRequestOptions,
|
|
128
137
|
};
|
|
129
138
|
}),
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @param {string} [orderBy]
|
|
142
|
+
* @param {string} [orderDirection]
|
|
143
|
+
* @param {number} [pageNumber]
|
|
144
|
+
* @param {number} [pageSize]
|
|
145
|
+
* @param {string} [filterBy]
|
|
146
|
+
* @param {string} [filterKey]
|
|
147
|
+
* @param {string} [accountDetailFirstName]
|
|
148
|
+
* @param {string} [accountDetailLastName]
|
|
149
|
+
* @param {string} [accountDetailMiddleName]
|
|
150
|
+
* @param {string} [accountDetailId]
|
|
151
|
+
* @param {string} [startDate]
|
|
152
|
+
* @param {string} [endDate]
|
|
153
|
+
* @param {ParkingDetailStatus} [status]
|
|
154
|
+
* @param {*} [options] Override http request option.
|
|
155
|
+
* @throws {RequiredError}
|
|
156
|
+
*/
|
|
157
|
+
parkingDetailsIndex: (orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, accountDetailFirstName, accountDetailLastName, accountDetailMiddleName, accountDetailId, startDate, endDate, status, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
158
|
+
const localVarPath = `/parking-details`;
|
|
159
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
160
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
161
|
+
let baseOptions;
|
|
162
|
+
if (configuration) {
|
|
163
|
+
baseOptions = configuration.baseOptions;
|
|
164
|
+
}
|
|
165
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
166
|
+
const localVarHeaderParameter = {};
|
|
167
|
+
const localVarQueryParameter = {};
|
|
168
|
+
if (orderBy !== undefined) {
|
|
169
|
+
localVarQueryParameter['order_by'] = orderBy;
|
|
170
|
+
}
|
|
171
|
+
if (orderDirection !== undefined) {
|
|
172
|
+
localVarQueryParameter['order_direction'] = orderDirection;
|
|
173
|
+
}
|
|
174
|
+
if (pageNumber !== undefined) {
|
|
175
|
+
localVarQueryParameter['page_number'] = pageNumber;
|
|
176
|
+
}
|
|
177
|
+
if (pageSize !== undefined) {
|
|
178
|
+
localVarQueryParameter['page_size'] = pageSize;
|
|
179
|
+
}
|
|
180
|
+
if (filterBy !== undefined) {
|
|
181
|
+
localVarQueryParameter['filter_by'] = filterBy;
|
|
182
|
+
}
|
|
183
|
+
if (filterKey !== undefined) {
|
|
184
|
+
localVarQueryParameter['filter_key'] = filterKey;
|
|
185
|
+
}
|
|
186
|
+
if (accountDetailFirstName !== undefined) {
|
|
187
|
+
localVarQueryParameter['accountDetail.firstName'] = accountDetailFirstName;
|
|
188
|
+
}
|
|
189
|
+
if (accountDetailLastName !== undefined) {
|
|
190
|
+
localVarQueryParameter['accountDetail.lastName'] = accountDetailLastName;
|
|
191
|
+
}
|
|
192
|
+
if (accountDetailMiddleName !== undefined) {
|
|
193
|
+
localVarQueryParameter['accountDetail.middleName'] = accountDetailMiddleName;
|
|
194
|
+
}
|
|
195
|
+
if (accountDetailId !== undefined) {
|
|
196
|
+
localVarQueryParameter['accountDetail.id'] = accountDetailId;
|
|
197
|
+
}
|
|
198
|
+
if (startDate !== undefined) {
|
|
199
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
200
|
+
}
|
|
201
|
+
if (endDate !== undefined) {
|
|
202
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
203
|
+
}
|
|
204
|
+
if (status !== undefined) {
|
|
205
|
+
localVarQueryParameter['status'] = status;
|
|
206
|
+
}
|
|
207
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
208
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
209
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
210
|
+
return {
|
|
211
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
212
|
+
options: localVarRequestOptions,
|
|
213
|
+
};
|
|
214
|
+
}),
|
|
130
215
|
/**
|
|
131
216
|
*
|
|
132
217
|
* @param {*} [options] Override http request option.
|
|
@@ -187,6 +272,30 @@ const DefaultApiFp = function (configuration) {
|
|
|
187
272
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
188
273
|
});
|
|
189
274
|
},
|
|
275
|
+
/**
|
|
276
|
+
*
|
|
277
|
+
* @param {string} [orderBy]
|
|
278
|
+
* @param {string} [orderDirection]
|
|
279
|
+
* @param {number} [pageNumber]
|
|
280
|
+
* @param {number} [pageSize]
|
|
281
|
+
* @param {string} [filterBy]
|
|
282
|
+
* @param {string} [filterKey]
|
|
283
|
+
* @param {string} [accountDetailFirstName]
|
|
284
|
+
* @param {string} [accountDetailLastName]
|
|
285
|
+
* @param {string} [accountDetailMiddleName]
|
|
286
|
+
* @param {string} [accountDetailId]
|
|
287
|
+
* @param {string} [startDate]
|
|
288
|
+
* @param {string} [endDate]
|
|
289
|
+
* @param {ParkingDetailStatus} [status]
|
|
290
|
+
* @param {*} [options] Override http request option.
|
|
291
|
+
* @throws {RequiredError}
|
|
292
|
+
*/
|
|
293
|
+
parkingDetailsIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, accountDetailFirstName, accountDetailLastName, accountDetailMiddleName, accountDetailId, startDate, endDate, status, options) {
|
|
294
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
295
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingDetailsIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, accountDetailFirstName, accountDetailLastName, accountDetailMiddleName, accountDetailId, startDate, endDate, status, options);
|
|
296
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
297
|
+
});
|
|
298
|
+
},
|
|
190
299
|
/**
|
|
191
300
|
*
|
|
192
301
|
* @param {*} [options] Override http request option.
|
|
@@ -228,6 +337,27 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
228
337
|
parkingDetailsGetParkingDetail(id, options) {
|
|
229
338
|
return localVarFp.parkingDetailsGetParkingDetail(id, options).then((request) => request(axios, basePath));
|
|
230
339
|
},
|
|
340
|
+
/**
|
|
341
|
+
*
|
|
342
|
+
* @param {string} [orderBy]
|
|
343
|
+
* @param {string} [orderDirection]
|
|
344
|
+
* @param {number} [pageNumber]
|
|
345
|
+
* @param {number} [pageSize]
|
|
346
|
+
* @param {string} [filterBy]
|
|
347
|
+
* @param {string} [filterKey]
|
|
348
|
+
* @param {string} [accountDetailFirstName]
|
|
349
|
+
* @param {string} [accountDetailLastName]
|
|
350
|
+
* @param {string} [accountDetailMiddleName]
|
|
351
|
+
* @param {string} [accountDetailId]
|
|
352
|
+
* @param {string} [startDate]
|
|
353
|
+
* @param {string} [endDate]
|
|
354
|
+
* @param {ParkingDetailStatus} [status]
|
|
355
|
+
* @param {*} [options] Override http request option.
|
|
356
|
+
* @throws {RequiredError}
|
|
357
|
+
*/
|
|
358
|
+
parkingDetailsIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, accountDetailFirstName, accountDetailLastName, accountDetailMiddleName, accountDetailId, startDate, endDate, status, options) {
|
|
359
|
+
return localVarFp.parkingDetailsIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, accountDetailFirstName, accountDetailLastName, accountDetailMiddleName, accountDetailId, startDate, endDate, status, options).then((request) => request(axios, basePath));
|
|
360
|
+
},
|
|
231
361
|
/**
|
|
232
362
|
*
|
|
233
363
|
* @param {*} [options] Override http request option.
|
|
@@ -268,6 +398,28 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
268
398
|
parkingDetailsGetParkingDetail(id, options) {
|
|
269
399
|
return (0, exports.DefaultApiFp)(this.configuration).parkingDetailsGetParkingDetail(id, options).then((request) => request(this.axios, this.basePath));
|
|
270
400
|
}
|
|
401
|
+
/**
|
|
402
|
+
*
|
|
403
|
+
* @param {string} [orderBy]
|
|
404
|
+
* @param {string} [orderDirection]
|
|
405
|
+
* @param {number} [pageNumber]
|
|
406
|
+
* @param {number} [pageSize]
|
|
407
|
+
* @param {string} [filterBy]
|
|
408
|
+
* @param {string} [filterKey]
|
|
409
|
+
* @param {string} [accountDetailFirstName]
|
|
410
|
+
* @param {string} [accountDetailLastName]
|
|
411
|
+
* @param {string} [accountDetailMiddleName]
|
|
412
|
+
* @param {string} [accountDetailId]
|
|
413
|
+
* @param {string} [startDate]
|
|
414
|
+
* @param {string} [endDate]
|
|
415
|
+
* @param {ParkingDetailStatus} [status]
|
|
416
|
+
* @param {*} [options] Override http request option.
|
|
417
|
+
* @throws {RequiredError}
|
|
418
|
+
* @memberof DefaultApi
|
|
419
|
+
*/
|
|
420
|
+
parkingDetailsIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, accountDetailFirstName, accountDetailLastName, accountDetailMiddleName, accountDetailId, startDate, endDate, status, options) {
|
|
421
|
+
return (0, exports.DefaultApiFp)(this.configuration).parkingDetailsIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, accountDetailFirstName, accountDetailLastName, accountDetailMiddleName, accountDetailId, startDate, endDate, status, options).then((request) => request(this.axios, this.basePath));
|
|
422
|
+
}
|
|
271
423
|
/**
|
|
272
424
|
*
|
|
273
425
|
* @param {*} [options] Override http request option.
|