ob-parking-sdk 0.0.5 → 0.0.7
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 +456 -7
- package/dist/api/api.d.ts +353 -4
- package/dist/api/api.js +176 -7
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -71,6 +71,80 @@ export const AddParkingTicketType = {
|
|
|
71
71
|
export type AddParkingTicketType = typeof AddParkingTicketType[keyof typeof AddParkingTicketType];
|
|
72
72
|
|
|
73
73
|
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @export
|
|
77
|
+
* @interface CreateReceiptBody
|
|
78
|
+
*/
|
|
79
|
+
export interface CreateReceiptBody {
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof CreateReceiptBody
|
|
84
|
+
*/
|
|
85
|
+
'parkingDetailId': string;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof CreateReceiptBody
|
|
90
|
+
*/
|
|
91
|
+
'imageUrl': string;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof CreateReceiptBody
|
|
96
|
+
*/
|
|
97
|
+
'email'?: string;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof CreateReceiptBody
|
|
102
|
+
*/
|
|
103
|
+
'hashed_receipt': string;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @export
|
|
108
|
+
* @interface GetParkingDetaiQuery
|
|
109
|
+
*/
|
|
110
|
+
export interface GetParkingDetaiQuery {
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @type {string}
|
|
114
|
+
* @memberof GetParkingDetaiQuery
|
|
115
|
+
*/
|
|
116
|
+
'order_by'?: string;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof GetParkingDetaiQuery
|
|
121
|
+
*/
|
|
122
|
+
'order_direction'?: string;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {number}
|
|
126
|
+
* @memberof GetParkingDetaiQuery
|
|
127
|
+
*/
|
|
128
|
+
'page_number'?: number;
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
* @type {number}
|
|
132
|
+
* @memberof GetParkingDetaiQuery
|
|
133
|
+
*/
|
|
134
|
+
'page_size'?: number;
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* @type {string}
|
|
138
|
+
* @memberof GetParkingDetaiQuery
|
|
139
|
+
*/
|
|
140
|
+
'filter_by'?: string;
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
* @type {string}
|
|
144
|
+
* @memberof GetParkingDetaiQuery
|
|
145
|
+
*/
|
|
146
|
+
'filter_key'?: string;
|
|
147
|
+
}
|
|
74
148
|
/**
|
|
75
149
|
*
|
|
76
150
|
* @export
|
|
@@ -228,6 +302,31 @@ export interface GetParkingDetailsIndexResponse {
|
|
|
228
302
|
}
|
|
229
303
|
|
|
230
304
|
|
|
305
|
+
/**
|
|
306
|
+
*
|
|
307
|
+
* @export
|
|
308
|
+
* @interface Item
|
|
309
|
+
*/
|
|
310
|
+
export interface Item {
|
|
311
|
+
/**
|
|
312
|
+
*
|
|
313
|
+
* @type {string}
|
|
314
|
+
* @memberof Item
|
|
315
|
+
*/
|
|
316
|
+
'description': string;
|
|
317
|
+
/**
|
|
318
|
+
*
|
|
319
|
+
* @type {number}
|
|
320
|
+
* @memberof Item
|
|
321
|
+
*/
|
|
322
|
+
'quantity': number;
|
|
323
|
+
/**
|
|
324
|
+
*
|
|
325
|
+
* @type {string}
|
|
326
|
+
* @memberof Item
|
|
327
|
+
*/
|
|
328
|
+
'total_price': string;
|
|
329
|
+
}
|
|
231
330
|
/**
|
|
232
331
|
*
|
|
233
332
|
* @export
|
|
@@ -352,6 +451,66 @@ export interface Receipt {
|
|
|
352
451
|
* @memberof Receipt
|
|
353
452
|
*/
|
|
354
453
|
'imageUrl': string;
|
|
454
|
+
/**
|
|
455
|
+
*
|
|
456
|
+
* @type {string}
|
|
457
|
+
* @memberof Receipt
|
|
458
|
+
*/
|
|
459
|
+
'merchant_name': string;
|
|
460
|
+
/**
|
|
461
|
+
*
|
|
462
|
+
* @type {string}
|
|
463
|
+
* @memberof Receipt
|
|
464
|
+
*/
|
|
465
|
+
'transaction_date': string;
|
|
466
|
+
/**
|
|
467
|
+
*
|
|
468
|
+
* @type {string}
|
|
469
|
+
* @memberof Receipt
|
|
470
|
+
*/
|
|
471
|
+
'transaction_time': string;
|
|
472
|
+
/**
|
|
473
|
+
*
|
|
474
|
+
* @type {Array<Item>}
|
|
475
|
+
* @memberof Receipt
|
|
476
|
+
*/
|
|
477
|
+
'items': Array<Item>;
|
|
478
|
+
/**
|
|
479
|
+
*
|
|
480
|
+
* @type {string}
|
|
481
|
+
* @memberof Receipt
|
|
482
|
+
*/
|
|
483
|
+
'tax_id': string;
|
|
484
|
+
/**
|
|
485
|
+
*
|
|
486
|
+
* @type {string}
|
|
487
|
+
* @memberof Receipt
|
|
488
|
+
*/
|
|
489
|
+
'receipt_no': string;
|
|
490
|
+
/**
|
|
491
|
+
*
|
|
492
|
+
* @type {string}
|
|
493
|
+
* @memberof Receipt
|
|
494
|
+
*/
|
|
495
|
+
'address': string;
|
|
496
|
+
/**
|
|
497
|
+
*
|
|
498
|
+
* @type {string}
|
|
499
|
+
* @memberof Receipt
|
|
500
|
+
*/
|
|
501
|
+
'unit_no': string;
|
|
502
|
+
/**
|
|
503
|
+
*
|
|
504
|
+
* @type {string}
|
|
505
|
+
* @memberof Receipt
|
|
506
|
+
*/
|
|
507
|
+
'mall_name': string;
|
|
508
|
+
/**
|
|
509
|
+
*
|
|
510
|
+
* @type {string}
|
|
511
|
+
* @memberof Receipt
|
|
512
|
+
*/
|
|
513
|
+
'hashed_receipt': string;
|
|
355
514
|
}
|
|
356
515
|
|
|
357
516
|
|
|
@@ -372,6 +531,25 @@ export const ReceiptStatus = {
|
|
|
372
531
|
export type ReceiptStatus = typeof ReceiptStatus[keyof typeof ReceiptStatus];
|
|
373
532
|
|
|
374
533
|
|
|
534
|
+
/**
|
|
535
|
+
*
|
|
536
|
+
* @export
|
|
537
|
+
* @interface ResponseDataGetParkingDetailResponse
|
|
538
|
+
*/
|
|
539
|
+
export interface ResponseDataGetParkingDetailResponse {
|
|
540
|
+
/**
|
|
541
|
+
*
|
|
542
|
+
* @type {GetParkingDetailResponse}
|
|
543
|
+
* @memberof ResponseDataGetParkingDetailResponse
|
|
544
|
+
*/
|
|
545
|
+
'data': GetParkingDetailResponse;
|
|
546
|
+
/**
|
|
547
|
+
*
|
|
548
|
+
* @type {Pagination}
|
|
549
|
+
* @memberof ResponseDataGetParkingDetailResponse
|
|
550
|
+
*/
|
|
551
|
+
'pagination'?: Pagination;
|
|
552
|
+
}
|
|
375
553
|
/**
|
|
376
554
|
*
|
|
377
555
|
* @export
|
|
@@ -404,6 +582,91 @@ export interface TestTest200Response {
|
|
|
404
582
|
*/
|
|
405
583
|
'status': string;
|
|
406
584
|
}
|
|
585
|
+
/**
|
|
586
|
+
*
|
|
587
|
+
* @export
|
|
588
|
+
* @interface UpdateReceiptBody
|
|
589
|
+
*/
|
|
590
|
+
export interface UpdateReceiptBody {
|
|
591
|
+
/**
|
|
592
|
+
*
|
|
593
|
+
* @type {string}
|
|
594
|
+
* @memberof UpdateReceiptBody
|
|
595
|
+
*/
|
|
596
|
+
'merchant_name': string;
|
|
597
|
+
/**
|
|
598
|
+
*
|
|
599
|
+
* @type {string}
|
|
600
|
+
* @memberof UpdateReceiptBody
|
|
601
|
+
*/
|
|
602
|
+
'transaction_date': string;
|
|
603
|
+
/**
|
|
604
|
+
*
|
|
605
|
+
* @type {string}
|
|
606
|
+
* @memberof UpdateReceiptBody
|
|
607
|
+
*/
|
|
608
|
+
'transaction_time': string;
|
|
609
|
+
/**
|
|
610
|
+
*
|
|
611
|
+
* @type {Array<Item>}
|
|
612
|
+
* @memberof UpdateReceiptBody
|
|
613
|
+
*/
|
|
614
|
+
'items': Array<Item>;
|
|
615
|
+
/**
|
|
616
|
+
*
|
|
617
|
+
* @type {string}
|
|
618
|
+
* @memberof UpdateReceiptBody
|
|
619
|
+
*/
|
|
620
|
+
'total': string;
|
|
621
|
+
/**
|
|
622
|
+
*
|
|
623
|
+
* @type {string}
|
|
624
|
+
* @memberof UpdateReceiptBody
|
|
625
|
+
*/
|
|
626
|
+
'tax_id': string;
|
|
627
|
+
/**
|
|
628
|
+
*
|
|
629
|
+
* @type {string}
|
|
630
|
+
* @memberof UpdateReceiptBody
|
|
631
|
+
*/
|
|
632
|
+
'receipt_no': string;
|
|
633
|
+
/**
|
|
634
|
+
*
|
|
635
|
+
* @type {string}
|
|
636
|
+
* @memberof UpdateReceiptBody
|
|
637
|
+
*/
|
|
638
|
+
'address': string;
|
|
639
|
+
/**
|
|
640
|
+
*
|
|
641
|
+
* @type {string}
|
|
642
|
+
* @memberof UpdateReceiptBody
|
|
643
|
+
*/
|
|
644
|
+
'unit_no': string;
|
|
645
|
+
/**
|
|
646
|
+
*
|
|
647
|
+
* @type {string}
|
|
648
|
+
* @memberof UpdateReceiptBody
|
|
649
|
+
*/
|
|
650
|
+
'mall_name': string;
|
|
651
|
+
/**
|
|
652
|
+
*
|
|
653
|
+
* @type {string}
|
|
654
|
+
* @memberof UpdateReceiptBody
|
|
655
|
+
*/
|
|
656
|
+
'hashed_receipt': string;
|
|
657
|
+
/**
|
|
658
|
+
*
|
|
659
|
+
* @type {string}
|
|
660
|
+
* @memberof UpdateReceiptBody
|
|
661
|
+
*/
|
|
662
|
+
'status': string;
|
|
663
|
+
/**
|
|
664
|
+
*
|
|
665
|
+
* @type {string}
|
|
666
|
+
* @memberof UpdateReceiptBody
|
|
667
|
+
*/
|
|
668
|
+
'message': string;
|
|
669
|
+
}
|
|
407
670
|
|
|
408
671
|
/**
|
|
409
672
|
* DefaultApi - axios parameter creator
|
|
@@ -462,10 +725,16 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
462
725
|
/**
|
|
463
726
|
*
|
|
464
727
|
* @param {string} id
|
|
728
|
+
* @param {string} [orderBy]
|
|
729
|
+
* @param {string} [orderDirection]
|
|
730
|
+
* @param {number} [pageNumber]
|
|
731
|
+
* @param {number} [pageSize]
|
|
732
|
+
* @param {string} [filterBy]
|
|
733
|
+
* @param {string} [filterKey]
|
|
465
734
|
* @param {*} [options] Override http request option.
|
|
466
735
|
* @throws {RequiredError}
|
|
467
736
|
*/
|
|
468
|
-
parkingDetailsGetParkingDetail: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
737
|
+
parkingDetailsGetParkingDetail: async (id: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
469
738
|
// verify required parameter 'id' is not null or undefined
|
|
470
739
|
assertParamExists('parkingDetailsGetParkingDetail', 'id', id)
|
|
471
740
|
const localVarPath = `/parking-details/{id}`
|
|
@@ -481,6 +750,30 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
481
750
|
const localVarHeaderParameter = {} as any;
|
|
482
751
|
const localVarQueryParameter = {} as any;
|
|
483
752
|
|
|
753
|
+
if (orderBy !== undefined) {
|
|
754
|
+
localVarQueryParameter['order_by'] = orderBy;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
if (orderDirection !== undefined) {
|
|
758
|
+
localVarQueryParameter['order_direction'] = orderDirection;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
if (pageNumber !== undefined) {
|
|
762
|
+
localVarQueryParameter['page_number'] = pageNumber;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
if (pageSize !== undefined) {
|
|
766
|
+
localVarQueryParameter['page_size'] = pageSize;
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
if (filterBy !== undefined) {
|
|
770
|
+
localVarQueryParameter['filter_by'] = filterBy;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
if (filterKey !== undefined) {
|
|
774
|
+
localVarQueryParameter['filter_key'] = filterKey;
|
|
775
|
+
}
|
|
776
|
+
|
|
484
777
|
|
|
485
778
|
|
|
486
779
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -566,6 +859,81 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
566
859
|
options: localVarRequestOptions,
|
|
567
860
|
};
|
|
568
861
|
},
|
|
862
|
+
/**
|
|
863
|
+
*
|
|
864
|
+
* @param {UpdateReceiptBody} updateReceiptBody
|
|
865
|
+
* @param {*} [options] Override http request option.
|
|
866
|
+
* @throws {RequiredError}
|
|
867
|
+
*/
|
|
868
|
+
receiptUpdateReceipt: async (updateReceiptBody: UpdateReceiptBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
869
|
+
// verify required parameter 'updateReceiptBody' is not null or undefined
|
|
870
|
+
assertParamExists('receiptUpdateReceipt', 'updateReceiptBody', updateReceiptBody)
|
|
871
|
+
const localVarPath = `/receipts/update-receipt`;
|
|
872
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
873
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
874
|
+
let baseOptions;
|
|
875
|
+
if (configuration) {
|
|
876
|
+
baseOptions = configuration.baseOptions;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
880
|
+
const localVarHeaderParameter = {} as any;
|
|
881
|
+
const localVarQueryParameter = {} as any;
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
|
|
885
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
886
|
+
|
|
887
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
888
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
889
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
890
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateReceiptBody, localVarRequestOptions, configuration)
|
|
891
|
+
|
|
892
|
+
return {
|
|
893
|
+
url: toPathString(localVarUrlObj),
|
|
894
|
+
options: localVarRequestOptions,
|
|
895
|
+
};
|
|
896
|
+
},
|
|
897
|
+
/**
|
|
898
|
+
*
|
|
899
|
+
* @param {CreateReceiptBody} createReceiptBody
|
|
900
|
+
* @param {string} [xAccountId]
|
|
901
|
+
* @param {*} [options] Override http request option.
|
|
902
|
+
* @throws {RequiredError}
|
|
903
|
+
*/
|
|
904
|
+
receiptsCreateReceipt: async (createReceiptBody: CreateReceiptBody, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
905
|
+
// verify required parameter 'createReceiptBody' is not null or undefined
|
|
906
|
+
assertParamExists('receiptsCreateReceipt', 'createReceiptBody', createReceiptBody)
|
|
907
|
+
const localVarPath = `/receipts/create-receipt`;
|
|
908
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
909
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
910
|
+
let baseOptions;
|
|
911
|
+
if (configuration) {
|
|
912
|
+
baseOptions = configuration.baseOptions;
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
916
|
+
const localVarHeaderParameter = {} as any;
|
|
917
|
+
const localVarQueryParameter = {} as any;
|
|
918
|
+
|
|
919
|
+
if (xAccountId != null) {
|
|
920
|
+
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
926
|
+
|
|
927
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
928
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
929
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
930
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createReceiptBody, localVarRequestOptions, configuration)
|
|
931
|
+
|
|
932
|
+
return {
|
|
933
|
+
url: toPathString(localVarUrlObj),
|
|
934
|
+
options: localVarRequestOptions,
|
|
935
|
+
};
|
|
936
|
+
},
|
|
569
937
|
/**
|
|
570
938
|
*
|
|
571
939
|
* @param {*} [options] Override http request option.
|
|
@@ -620,11 +988,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
620
988
|
/**
|
|
621
989
|
*
|
|
622
990
|
* @param {string} id
|
|
991
|
+
* @param {string} [orderBy]
|
|
992
|
+
* @param {string} [orderDirection]
|
|
993
|
+
* @param {number} [pageNumber]
|
|
994
|
+
* @param {number} [pageSize]
|
|
995
|
+
* @param {string} [filterBy]
|
|
996
|
+
* @param {string} [filterKey]
|
|
623
997
|
* @param {*} [options] Override http request option.
|
|
624
998
|
* @throws {RequiredError}
|
|
625
999
|
*/
|
|
626
|
-
async parkingDetailsGetParkingDetail(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
627
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingDetailsGetParkingDetail(id, options);
|
|
1000
|
+
async parkingDetailsGetParkingDetail(id: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseDataGetParkingDetailResponse>> {
|
|
1001
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingDetailsGetParkingDetail(id, orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, options);
|
|
628
1002
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
629
1003
|
},
|
|
630
1004
|
/**
|
|
@@ -645,6 +1019,27 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
645
1019
|
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingDetailsIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options);
|
|
646
1020
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
647
1021
|
},
|
|
1022
|
+
/**
|
|
1023
|
+
*
|
|
1024
|
+
* @param {UpdateReceiptBody} updateReceiptBody
|
|
1025
|
+
* @param {*} [options] Override http request option.
|
|
1026
|
+
* @throws {RequiredError}
|
|
1027
|
+
*/
|
|
1028
|
+
async receiptUpdateReceipt(updateReceiptBody: UpdateReceiptBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
1029
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.receiptUpdateReceipt(updateReceiptBody, options);
|
|
1030
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1031
|
+
},
|
|
1032
|
+
/**
|
|
1033
|
+
*
|
|
1034
|
+
* @param {CreateReceiptBody} createReceiptBody
|
|
1035
|
+
* @param {string} [xAccountId]
|
|
1036
|
+
* @param {*} [options] Override http request option.
|
|
1037
|
+
* @throws {RequiredError}
|
|
1038
|
+
*/
|
|
1039
|
+
async receiptsCreateReceipt(createReceiptBody: CreateReceiptBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
1040
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.receiptsCreateReceipt(createReceiptBody, xAccountId, options);
|
|
1041
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1042
|
+
},
|
|
648
1043
|
/**
|
|
649
1044
|
*
|
|
650
1045
|
* @param {*} [options] Override http request option.
|
|
@@ -678,11 +1073,17 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
678
1073
|
/**
|
|
679
1074
|
*
|
|
680
1075
|
* @param {string} id
|
|
1076
|
+
* @param {string} [orderBy]
|
|
1077
|
+
* @param {string} [orderDirection]
|
|
1078
|
+
* @param {number} [pageNumber]
|
|
1079
|
+
* @param {number} [pageSize]
|
|
1080
|
+
* @param {string} [filterBy]
|
|
1081
|
+
* @param {string} [filterKey]
|
|
681
1082
|
* @param {*} [options] Override http request option.
|
|
682
1083
|
* @throws {RequiredError}
|
|
683
1084
|
*/
|
|
684
|
-
parkingDetailsGetParkingDetail(id: string, options?: any): AxiosPromise<
|
|
685
|
-
return localVarFp.parkingDetailsGetParkingDetail(id, options).then((request) => request(axios, basePath));
|
|
1085
|
+
parkingDetailsGetParkingDetail(id: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, options?: any): AxiosPromise<ResponseDataGetParkingDetailResponse> {
|
|
1086
|
+
return localVarFp.parkingDetailsGetParkingDetail(id, orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, options).then((request) => request(axios, basePath));
|
|
686
1087
|
},
|
|
687
1088
|
/**
|
|
688
1089
|
*
|
|
@@ -701,6 +1102,25 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
701
1102
|
parkingDetailsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: any): AxiosPromise<ResponseDataGetParkingDetailsIndexResponseArray> {
|
|
702
1103
|
return localVarFp.parkingDetailsIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options).then((request) => request(axios, basePath));
|
|
703
1104
|
},
|
|
1105
|
+
/**
|
|
1106
|
+
*
|
|
1107
|
+
* @param {UpdateReceiptBody} updateReceiptBody
|
|
1108
|
+
* @param {*} [options] Override http request option.
|
|
1109
|
+
* @throws {RequiredError}
|
|
1110
|
+
*/
|
|
1111
|
+
receiptUpdateReceipt(updateReceiptBody: UpdateReceiptBody, options?: any): AxiosPromise<boolean> {
|
|
1112
|
+
return localVarFp.receiptUpdateReceipt(updateReceiptBody, options).then((request) => request(axios, basePath));
|
|
1113
|
+
},
|
|
1114
|
+
/**
|
|
1115
|
+
*
|
|
1116
|
+
* @param {CreateReceiptBody} createReceiptBody
|
|
1117
|
+
* @param {string} [xAccountId]
|
|
1118
|
+
* @param {*} [options] Override http request option.
|
|
1119
|
+
* @throws {RequiredError}
|
|
1120
|
+
*/
|
|
1121
|
+
receiptsCreateReceipt(createReceiptBody: CreateReceiptBody, xAccountId?: string, options?: any): AxiosPromise<boolean> {
|
|
1122
|
+
return localVarFp.receiptsCreateReceipt(createReceiptBody, xAccountId, options).then((request) => request(axios, basePath));
|
|
1123
|
+
},
|
|
704
1124
|
/**
|
|
705
1125
|
*
|
|
706
1126
|
* @param {*} [options] Override http request option.
|
|
@@ -735,12 +1155,18 @@ export class DefaultApi extends BaseAPI {
|
|
|
735
1155
|
/**
|
|
736
1156
|
*
|
|
737
1157
|
* @param {string} id
|
|
1158
|
+
* @param {string} [orderBy]
|
|
1159
|
+
* @param {string} [orderDirection]
|
|
1160
|
+
* @param {number} [pageNumber]
|
|
1161
|
+
* @param {number} [pageSize]
|
|
1162
|
+
* @param {string} [filterBy]
|
|
1163
|
+
* @param {string} [filterKey]
|
|
738
1164
|
* @param {*} [options] Override http request option.
|
|
739
1165
|
* @throws {RequiredError}
|
|
740
1166
|
* @memberof DefaultApi
|
|
741
1167
|
*/
|
|
742
|
-
public parkingDetailsGetParkingDetail(id: string, options?: AxiosRequestConfig) {
|
|
743
|
-
return DefaultApiFp(this.configuration).parkingDetailsGetParkingDetail(id, options).then((request) => request(this.axios, this.basePath));
|
|
1168
|
+
public parkingDetailsGetParkingDetail(id: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, options?: AxiosRequestConfig) {
|
|
1169
|
+
return DefaultApiFp(this.configuration).parkingDetailsGetParkingDetail(id, orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, options).then((request) => request(this.axios, this.basePath));
|
|
744
1170
|
}
|
|
745
1171
|
|
|
746
1172
|
/**
|
|
@@ -762,6 +1188,29 @@ export class DefaultApi extends BaseAPI {
|
|
|
762
1188
|
return DefaultApiFp(this.configuration).parkingDetailsIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options).then((request) => request(this.axios, this.basePath));
|
|
763
1189
|
}
|
|
764
1190
|
|
|
1191
|
+
/**
|
|
1192
|
+
*
|
|
1193
|
+
* @param {UpdateReceiptBody} updateReceiptBody
|
|
1194
|
+
* @param {*} [options] Override http request option.
|
|
1195
|
+
* @throws {RequiredError}
|
|
1196
|
+
* @memberof DefaultApi
|
|
1197
|
+
*/
|
|
1198
|
+
public receiptUpdateReceipt(updateReceiptBody: UpdateReceiptBody, options?: AxiosRequestConfig) {
|
|
1199
|
+
return DefaultApiFp(this.configuration).receiptUpdateReceipt(updateReceiptBody, options).then((request) => request(this.axios, this.basePath));
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
/**
|
|
1203
|
+
*
|
|
1204
|
+
* @param {CreateReceiptBody} createReceiptBody
|
|
1205
|
+
* @param {string} [xAccountId]
|
|
1206
|
+
* @param {*} [options] Override http request option.
|
|
1207
|
+
* @throws {RequiredError}
|
|
1208
|
+
* @memberof DefaultApi
|
|
1209
|
+
*/
|
|
1210
|
+
public receiptsCreateReceipt(createReceiptBody: CreateReceiptBody, xAccountId?: string, options?: AxiosRequestConfig) {
|
|
1211
|
+
return DefaultApiFp(this.configuration).receiptsCreateReceipt(createReceiptBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
1212
|
+
}
|
|
1213
|
+
|
|
765
1214
|
/**
|
|
766
1215
|
*
|
|
767
1216
|
* @param {*} [options] Override http request option.
|
package/dist/api/api.d.ts
CHANGED
|
@@ -55,6 +55,80 @@ 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 CreateReceiptBody
|
|
62
|
+
*/
|
|
63
|
+
export interface CreateReceiptBody {
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof CreateReceiptBody
|
|
68
|
+
*/
|
|
69
|
+
'parkingDetailId': string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof CreateReceiptBody
|
|
74
|
+
*/
|
|
75
|
+
'imageUrl': string;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof CreateReceiptBody
|
|
80
|
+
*/
|
|
81
|
+
'email'?: string;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof CreateReceiptBody
|
|
86
|
+
*/
|
|
87
|
+
'hashed_receipt': string;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @export
|
|
92
|
+
* @interface GetParkingDetaiQuery
|
|
93
|
+
*/
|
|
94
|
+
export interface GetParkingDetaiQuery {
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof GetParkingDetaiQuery
|
|
99
|
+
*/
|
|
100
|
+
'order_by'?: string;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof GetParkingDetaiQuery
|
|
105
|
+
*/
|
|
106
|
+
'order_direction'?: string;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {number}
|
|
110
|
+
* @memberof GetParkingDetaiQuery
|
|
111
|
+
*/
|
|
112
|
+
'page_number'?: number;
|
|
113
|
+
/**
|
|
114
|
+
*
|
|
115
|
+
* @type {number}
|
|
116
|
+
* @memberof GetParkingDetaiQuery
|
|
117
|
+
*/
|
|
118
|
+
'page_size'?: number;
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof GetParkingDetaiQuery
|
|
123
|
+
*/
|
|
124
|
+
'filter_by'?: string;
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @type {string}
|
|
128
|
+
* @memberof GetParkingDetaiQuery
|
|
129
|
+
*/
|
|
130
|
+
'filter_key'?: string;
|
|
131
|
+
}
|
|
58
132
|
/**
|
|
59
133
|
*
|
|
60
134
|
* @export
|
|
@@ -208,6 +282,31 @@ export interface GetParkingDetailsIndexResponse {
|
|
|
208
282
|
*/
|
|
209
283
|
'status': ParkingDetailStatus;
|
|
210
284
|
}
|
|
285
|
+
/**
|
|
286
|
+
*
|
|
287
|
+
* @export
|
|
288
|
+
* @interface Item
|
|
289
|
+
*/
|
|
290
|
+
export interface Item {
|
|
291
|
+
/**
|
|
292
|
+
*
|
|
293
|
+
* @type {string}
|
|
294
|
+
* @memberof Item
|
|
295
|
+
*/
|
|
296
|
+
'description': string;
|
|
297
|
+
/**
|
|
298
|
+
*
|
|
299
|
+
* @type {number}
|
|
300
|
+
* @memberof Item
|
|
301
|
+
*/
|
|
302
|
+
'quantity': number;
|
|
303
|
+
/**
|
|
304
|
+
*
|
|
305
|
+
* @type {string}
|
|
306
|
+
* @memberof Item
|
|
307
|
+
*/
|
|
308
|
+
'total_price': string;
|
|
309
|
+
}
|
|
211
310
|
/**
|
|
212
311
|
*
|
|
213
312
|
* @export
|
|
@@ -328,6 +427,66 @@ export interface Receipt {
|
|
|
328
427
|
* @memberof Receipt
|
|
329
428
|
*/
|
|
330
429
|
'imageUrl': string;
|
|
430
|
+
/**
|
|
431
|
+
*
|
|
432
|
+
* @type {string}
|
|
433
|
+
* @memberof Receipt
|
|
434
|
+
*/
|
|
435
|
+
'merchant_name': string;
|
|
436
|
+
/**
|
|
437
|
+
*
|
|
438
|
+
* @type {string}
|
|
439
|
+
* @memberof Receipt
|
|
440
|
+
*/
|
|
441
|
+
'transaction_date': string;
|
|
442
|
+
/**
|
|
443
|
+
*
|
|
444
|
+
* @type {string}
|
|
445
|
+
* @memberof Receipt
|
|
446
|
+
*/
|
|
447
|
+
'transaction_time': string;
|
|
448
|
+
/**
|
|
449
|
+
*
|
|
450
|
+
* @type {Array<Item>}
|
|
451
|
+
* @memberof Receipt
|
|
452
|
+
*/
|
|
453
|
+
'items': Array<Item>;
|
|
454
|
+
/**
|
|
455
|
+
*
|
|
456
|
+
* @type {string}
|
|
457
|
+
* @memberof Receipt
|
|
458
|
+
*/
|
|
459
|
+
'tax_id': string;
|
|
460
|
+
/**
|
|
461
|
+
*
|
|
462
|
+
* @type {string}
|
|
463
|
+
* @memberof Receipt
|
|
464
|
+
*/
|
|
465
|
+
'receipt_no': string;
|
|
466
|
+
/**
|
|
467
|
+
*
|
|
468
|
+
* @type {string}
|
|
469
|
+
* @memberof Receipt
|
|
470
|
+
*/
|
|
471
|
+
'address': string;
|
|
472
|
+
/**
|
|
473
|
+
*
|
|
474
|
+
* @type {string}
|
|
475
|
+
* @memberof Receipt
|
|
476
|
+
*/
|
|
477
|
+
'unit_no': string;
|
|
478
|
+
/**
|
|
479
|
+
*
|
|
480
|
+
* @type {string}
|
|
481
|
+
* @memberof Receipt
|
|
482
|
+
*/
|
|
483
|
+
'mall_name': string;
|
|
484
|
+
/**
|
|
485
|
+
*
|
|
486
|
+
* @type {string}
|
|
487
|
+
* @memberof Receipt
|
|
488
|
+
*/
|
|
489
|
+
'hashed_receipt': string;
|
|
331
490
|
}
|
|
332
491
|
/**
|
|
333
492
|
*
|
|
@@ -342,6 +501,25 @@ export declare const ReceiptStatus: {
|
|
|
342
501
|
readonly Redeemed: "REDEEMED";
|
|
343
502
|
};
|
|
344
503
|
export type ReceiptStatus = typeof ReceiptStatus[keyof typeof ReceiptStatus];
|
|
504
|
+
/**
|
|
505
|
+
*
|
|
506
|
+
* @export
|
|
507
|
+
* @interface ResponseDataGetParkingDetailResponse
|
|
508
|
+
*/
|
|
509
|
+
export interface ResponseDataGetParkingDetailResponse {
|
|
510
|
+
/**
|
|
511
|
+
*
|
|
512
|
+
* @type {GetParkingDetailResponse}
|
|
513
|
+
* @memberof ResponseDataGetParkingDetailResponse
|
|
514
|
+
*/
|
|
515
|
+
'data': GetParkingDetailResponse;
|
|
516
|
+
/**
|
|
517
|
+
*
|
|
518
|
+
* @type {Pagination}
|
|
519
|
+
* @memberof ResponseDataGetParkingDetailResponse
|
|
520
|
+
*/
|
|
521
|
+
'pagination'?: Pagination;
|
|
522
|
+
}
|
|
345
523
|
/**
|
|
346
524
|
*
|
|
347
525
|
* @export
|
|
@@ -374,6 +552,91 @@ export interface TestTest200Response {
|
|
|
374
552
|
*/
|
|
375
553
|
'status': string;
|
|
376
554
|
}
|
|
555
|
+
/**
|
|
556
|
+
*
|
|
557
|
+
* @export
|
|
558
|
+
* @interface UpdateReceiptBody
|
|
559
|
+
*/
|
|
560
|
+
export interface UpdateReceiptBody {
|
|
561
|
+
/**
|
|
562
|
+
*
|
|
563
|
+
* @type {string}
|
|
564
|
+
* @memberof UpdateReceiptBody
|
|
565
|
+
*/
|
|
566
|
+
'merchant_name': string;
|
|
567
|
+
/**
|
|
568
|
+
*
|
|
569
|
+
* @type {string}
|
|
570
|
+
* @memberof UpdateReceiptBody
|
|
571
|
+
*/
|
|
572
|
+
'transaction_date': string;
|
|
573
|
+
/**
|
|
574
|
+
*
|
|
575
|
+
* @type {string}
|
|
576
|
+
* @memberof UpdateReceiptBody
|
|
577
|
+
*/
|
|
578
|
+
'transaction_time': string;
|
|
579
|
+
/**
|
|
580
|
+
*
|
|
581
|
+
* @type {Array<Item>}
|
|
582
|
+
* @memberof UpdateReceiptBody
|
|
583
|
+
*/
|
|
584
|
+
'items': Array<Item>;
|
|
585
|
+
/**
|
|
586
|
+
*
|
|
587
|
+
* @type {string}
|
|
588
|
+
* @memberof UpdateReceiptBody
|
|
589
|
+
*/
|
|
590
|
+
'total': string;
|
|
591
|
+
/**
|
|
592
|
+
*
|
|
593
|
+
* @type {string}
|
|
594
|
+
* @memberof UpdateReceiptBody
|
|
595
|
+
*/
|
|
596
|
+
'tax_id': string;
|
|
597
|
+
/**
|
|
598
|
+
*
|
|
599
|
+
* @type {string}
|
|
600
|
+
* @memberof UpdateReceiptBody
|
|
601
|
+
*/
|
|
602
|
+
'receipt_no': string;
|
|
603
|
+
/**
|
|
604
|
+
*
|
|
605
|
+
* @type {string}
|
|
606
|
+
* @memberof UpdateReceiptBody
|
|
607
|
+
*/
|
|
608
|
+
'address': string;
|
|
609
|
+
/**
|
|
610
|
+
*
|
|
611
|
+
* @type {string}
|
|
612
|
+
* @memberof UpdateReceiptBody
|
|
613
|
+
*/
|
|
614
|
+
'unit_no': string;
|
|
615
|
+
/**
|
|
616
|
+
*
|
|
617
|
+
* @type {string}
|
|
618
|
+
* @memberof UpdateReceiptBody
|
|
619
|
+
*/
|
|
620
|
+
'mall_name': string;
|
|
621
|
+
/**
|
|
622
|
+
*
|
|
623
|
+
* @type {string}
|
|
624
|
+
* @memberof UpdateReceiptBody
|
|
625
|
+
*/
|
|
626
|
+
'hashed_receipt': string;
|
|
627
|
+
/**
|
|
628
|
+
*
|
|
629
|
+
* @type {string}
|
|
630
|
+
* @memberof UpdateReceiptBody
|
|
631
|
+
*/
|
|
632
|
+
'status': string;
|
|
633
|
+
/**
|
|
634
|
+
*
|
|
635
|
+
* @type {string}
|
|
636
|
+
* @memberof UpdateReceiptBody
|
|
637
|
+
*/
|
|
638
|
+
'message': string;
|
|
639
|
+
}
|
|
377
640
|
/**
|
|
378
641
|
* DefaultApi - axios parameter creator
|
|
379
642
|
* @export
|
|
@@ -391,10 +654,16 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
391
654
|
/**
|
|
392
655
|
*
|
|
393
656
|
* @param {string} id
|
|
657
|
+
* @param {string} [orderBy]
|
|
658
|
+
* @param {string} [orderDirection]
|
|
659
|
+
* @param {number} [pageNumber]
|
|
660
|
+
* @param {number} [pageSize]
|
|
661
|
+
* @param {string} [filterBy]
|
|
662
|
+
* @param {string} [filterKey]
|
|
394
663
|
* @param {*} [options] Override http request option.
|
|
395
664
|
* @throws {RequiredError}
|
|
396
665
|
*/
|
|
397
|
-
parkingDetailsGetParkingDetail: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
666
|
+
parkingDetailsGetParkingDetail: (id: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
398
667
|
/**
|
|
399
668
|
*
|
|
400
669
|
* @param {string} [orderBy]
|
|
@@ -410,6 +679,21 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
410
679
|
* @throws {RequiredError}
|
|
411
680
|
*/
|
|
412
681
|
parkingDetailsIndex: (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
682
|
+
/**
|
|
683
|
+
*
|
|
684
|
+
* @param {UpdateReceiptBody} updateReceiptBody
|
|
685
|
+
* @param {*} [options] Override http request option.
|
|
686
|
+
* @throws {RequiredError}
|
|
687
|
+
*/
|
|
688
|
+
receiptUpdateReceipt: (updateReceiptBody: UpdateReceiptBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
689
|
+
/**
|
|
690
|
+
*
|
|
691
|
+
* @param {CreateReceiptBody} createReceiptBody
|
|
692
|
+
* @param {string} [xAccountId]
|
|
693
|
+
* @param {*} [options] Override http request option.
|
|
694
|
+
* @throws {RequiredError}
|
|
695
|
+
*/
|
|
696
|
+
receiptsCreateReceipt: (createReceiptBody: CreateReceiptBody, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
413
697
|
/**
|
|
414
698
|
*
|
|
415
699
|
* @param {*} [options] Override http request option.
|
|
@@ -434,10 +718,16 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
434
718
|
/**
|
|
435
719
|
*
|
|
436
720
|
* @param {string} id
|
|
721
|
+
* @param {string} [orderBy]
|
|
722
|
+
* @param {string} [orderDirection]
|
|
723
|
+
* @param {number} [pageNumber]
|
|
724
|
+
* @param {number} [pageSize]
|
|
725
|
+
* @param {string} [filterBy]
|
|
726
|
+
* @param {string} [filterKey]
|
|
437
727
|
* @param {*} [options] Override http request option.
|
|
438
728
|
* @throws {RequiredError}
|
|
439
729
|
*/
|
|
440
|
-
parkingDetailsGetParkingDetail(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
730
|
+
parkingDetailsGetParkingDetail(id: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseDataGetParkingDetailResponse>>;
|
|
441
731
|
/**
|
|
442
732
|
*
|
|
443
733
|
* @param {string} [orderBy]
|
|
@@ -453,6 +743,21 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
453
743
|
* @throws {RequiredError}
|
|
454
744
|
*/
|
|
455
745
|
parkingDetailsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseDataGetParkingDetailsIndexResponseArray>>;
|
|
746
|
+
/**
|
|
747
|
+
*
|
|
748
|
+
* @param {UpdateReceiptBody} updateReceiptBody
|
|
749
|
+
* @param {*} [options] Override http request option.
|
|
750
|
+
* @throws {RequiredError}
|
|
751
|
+
*/
|
|
752
|
+
receiptUpdateReceipt(updateReceiptBody: UpdateReceiptBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
753
|
+
/**
|
|
754
|
+
*
|
|
755
|
+
* @param {CreateReceiptBody} createReceiptBody
|
|
756
|
+
* @param {string} [xAccountId]
|
|
757
|
+
* @param {*} [options] Override http request option.
|
|
758
|
+
* @throws {RequiredError}
|
|
759
|
+
*/
|
|
760
|
+
receiptsCreateReceipt(createReceiptBody: CreateReceiptBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
456
761
|
/**
|
|
457
762
|
*
|
|
458
763
|
* @param {*} [options] Override http request option.
|
|
@@ -477,10 +782,16 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
477
782
|
/**
|
|
478
783
|
*
|
|
479
784
|
* @param {string} id
|
|
785
|
+
* @param {string} [orderBy]
|
|
786
|
+
* @param {string} [orderDirection]
|
|
787
|
+
* @param {number} [pageNumber]
|
|
788
|
+
* @param {number} [pageSize]
|
|
789
|
+
* @param {string} [filterBy]
|
|
790
|
+
* @param {string} [filterKey]
|
|
480
791
|
* @param {*} [options] Override http request option.
|
|
481
792
|
* @throws {RequiredError}
|
|
482
793
|
*/
|
|
483
|
-
parkingDetailsGetParkingDetail(id: string, options?: any): AxiosPromise<
|
|
794
|
+
parkingDetailsGetParkingDetail(id: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, options?: any): AxiosPromise<ResponseDataGetParkingDetailResponse>;
|
|
484
795
|
/**
|
|
485
796
|
*
|
|
486
797
|
* @param {string} [orderBy]
|
|
@@ -496,6 +807,21 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
496
807
|
* @throws {RequiredError}
|
|
497
808
|
*/
|
|
498
809
|
parkingDetailsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: any): AxiosPromise<ResponseDataGetParkingDetailsIndexResponseArray>;
|
|
810
|
+
/**
|
|
811
|
+
*
|
|
812
|
+
* @param {UpdateReceiptBody} updateReceiptBody
|
|
813
|
+
* @param {*} [options] Override http request option.
|
|
814
|
+
* @throws {RequiredError}
|
|
815
|
+
*/
|
|
816
|
+
receiptUpdateReceipt(updateReceiptBody: UpdateReceiptBody, options?: any): AxiosPromise<boolean>;
|
|
817
|
+
/**
|
|
818
|
+
*
|
|
819
|
+
* @param {CreateReceiptBody} createReceiptBody
|
|
820
|
+
* @param {string} [xAccountId]
|
|
821
|
+
* @param {*} [options] Override http request option.
|
|
822
|
+
* @throws {RequiredError}
|
|
823
|
+
*/
|
|
824
|
+
receiptsCreateReceipt(createReceiptBody: CreateReceiptBody, xAccountId?: string, options?: any): AxiosPromise<boolean>;
|
|
499
825
|
/**
|
|
500
826
|
*
|
|
501
827
|
* @param {*} [options] Override http request option.
|
|
@@ -523,11 +849,17 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
523
849
|
/**
|
|
524
850
|
*
|
|
525
851
|
* @param {string} id
|
|
852
|
+
* @param {string} [orderBy]
|
|
853
|
+
* @param {string} [orderDirection]
|
|
854
|
+
* @param {number} [pageNumber]
|
|
855
|
+
* @param {number} [pageSize]
|
|
856
|
+
* @param {string} [filterBy]
|
|
857
|
+
* @param {string} [filterKey]
|
|
526
858
|
* @param {*} [options] Override http request option.
|
|
527
859
|
* @throws {RequiredError}
|
|
528
860
|
* @memberof DefaultApi
|
|
529
861
|
*/
|
|
530
|
-
parkingDetailsGetParkingDetail(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
862
|
+
parkingDetailsGetParkingDetail(id: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseDataGetParkingDetailResponse, any>>;
|
|
531
863
|
/**
|
|
532
864
|
*
|
|
533
865
|
* @param {string} [orderBy]
|
|
@@ -544,6 +876,23 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
544
876
|
* @memberof DefaultApi
|
|
545
877
|
*/
|
|
546
878
|
parkingDetailsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseDataGetParkingDetailsIndexResponseArray, any>>;
|
|
879
|
+
/**
|
|
880
|
+
*
|
|
881
|
+
* @param {UpdateReceiptBody} updateReceiptBody
|
|
882
|
+
* @param {*} [options] Override http request option.
|
|
883
|
+
* @throws {RequiredError}
|
|
884
|
+
* @memberof DefaultApi
|
|
885
|
+
*/
|
|
886
|
+
receiptUpdateReceipt(updateReceiptBody: UpdateReceiptBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
887
|
+
/**
|
|
888
|
+
*
|
|
889
|
+
* @param {CreateReceiptBody} createReceiptBody
|
|
890
|
+
* @param {string} [xAccountId]
|
|
891
|
+
* @param {*} [options] Override http request option.
|
|
892
|
+
* @throws {RequiredError}
|
|
893
|
+
* @memberof DefaultApi
|
|
894
|
+
*/
|
|
895
|
+
receiptsCreateReceipt(createReceiptBody: CreateReceiptBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
547
896
|
/**
|
|
548
897
|
*
|
|
549
898
|
* @param {*} [options] Override http request option.
|
package/dist/api/api.js
CHANGED
|
@@ -111,10 +111,16 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
111
111
|
/**
|
|
112
112
|
*
|
|
113
113
|
* @param {string} id
|
|
114
|
+
* @param {string} [orderBy]
|
|
115
|
+
* @param {string} [orderDirection]
|
|
116
|
+
* @param {number} [pageNumber]
|
|
117
|
+
* @param {number} [pageSize]
|
|
118
|
+
* @param {string} [filterBy]
|
|
119
|
+
* @param {string} [filterKey]
|
|
114
120
|
* @param {*} [options] Override http request option.
|
|
115
121
|
* @throws {RequiredError}
|
|
116
122
|
*/
|
|
117
|
-
parkingDetailsGetParkingDetail: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
123
|
+
parkingDetailsGetParkingDetail: (id, orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
118
124
|
// verify required parameter 'id' is not null or undefined
|
|
119
125
|
(0, common_1.assertParamExists)('parkingDetailsGetParkingDetail', 'id', id);
|
|
120
126
|
const localVarPath = `/parking-details/{id}`
|
|
@@ -128,6 +134,24 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
128
134
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
129
135
|
const localVarHeaderParameter = {};
|
|
130
136
|
const localVarQueryParameter = {};
|
|
137
|
+
if (orderBy !== undefined) {
|
|
138
|
+
localVarQueryParameter['order_by'] = orderBy;
|
|
139
|
+
}
|
|
140
|
+
if (orderDirection !== undefined) {
|
|
141
|
+
localVarQueryParameter['order_direction'] = orderDirection;
|
|
142
|
+
}
|
|
143
|
+
if (pageNumber !== undefined) {
|
|
144
|
+
localVarQueryParameter['page_number'] = pageNumber;
|
|
145
|
+
}
|
|
146
|
+
if (pageSize !== undefined) {
|
|
147
|
+
localVarQueryParameter['page_size'] = pageSize;
|
|
148
|
+
}
|
|
149
|
+
if (filterBy !== undefined) {
|
|
150
|
+
localVarQueryParameter['filter_by'] = filterBy;
|
|
151
|
+
}
|
|
152
|
+
if (filterKey !== undefined) {
|
|
153
|
+
localVarQueryParameter['filter_key'] = filterKey;
|
|
154
|
+
}
|
|
131
155
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
132
156
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
133
157
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -196,6 +220,68 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
196
220
|
options: localVarRequestOptions,
|
|
197
221
|
};
|
|
198
222
|
}),
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* @param {UpdateReceiptBody} updateReceiptBody
|
|
226
|
+
* @param {*} [options] Override http request option.
|
|
227
|
+
* @throws {RequiredError}
|
|
228
|
+
*/
|
|
229
|
+
receiptUpdateReceipt: (updateReceiptBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
230
|
+
// verify required parameter 'updateReceiptBody' is not null or undefined
|
|
231
|
+
(0, common_1.assertParamExists)('receiptUpdateReceipt', 'updateReceiptBody', updateReceiptBody);
|
|
232
|
+
const localVarPath = `/receipts/update-receipt`;
|
|
233
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
234
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
235
|
+
let baseOptions;
|
|
236
|
+
if (configuration) {
|
|
237
|
+
baseOptions = configuration.baseOptions;
|
|
238
|
+
}
|
|
239
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
240
|
+
const localVarHeaderParameter = {};
|
|
241
|
+
const localVarQueryParameter = {};
|
|
242
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
243
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
244
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
245
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
246
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateReceiptBody, localVarRequestOptions, configuration);
|
|
247
|
+
return {
|
|
248
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
249
|
+
options: localVarRequestOptions,
|
|
250
|
+
};
|
|
251
|
+
}),
|
|
252
|
+
/**
|
|
253
|
+
*
|
|
254
|
+
* @param {CreateReceiptBody} createReceiptBody
|
|
255
|
+
* @param {string} [xAccountId]
|
|
256
|
+
* @param {*} [options] Override http request option.
|
|
257
|
+
* @throws {RequiredError}
|
|
258
|
+
*/
|
|
259
|
+
receiptsCreateReceipt: (createReceiptBody, xAccountId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
260
|
+
// verify required parameter 'createReceiptBody' is not null or undefined
|
|
261
|
+
(0, common_1.assertParamExists)('receiptsCreateReceipt', 'createReceiptBody', createReceiptBody);
|
|
262
|
+
const localVarPath = `/receipts/create-receipt`;
|
|
263
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
264
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
265
|
+
let baseOptions;
|
|
266
|
+
if (configuration) {
|
|
267
|
+
baseOptions = configuration.baseOptions;
|
|
268
|
+
}
|
|
269
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
270
|
+
const localVarHeaderParameter = {};
|
|
271
|
+
const localVarQueryParameter = {};
|
|
272
|
+
if (xAccountId != null) {
|
|
273
|
+
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
274
|
+
}
|
|
275
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
276
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
277
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
278
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
279
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createReceiptBody, localVarRequestOptions, configuration);
|
|
280
|
+
return {
|
|
281
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
282
|
+
options: localVarRequestOptions,
|
|
283
|
+
};
|
|
284
|
+
}),
|
|
199
285
|
/**
|
|
200
286
|
*
|
|
201
287
|
* @param {*} [options] Override http request option.
|
|
@@ -247,12 +333,18 @@ const DefaultApiFp = function (configuration) {
|
|
|
247
333
|
/**
|
|
248
334
|
*
|
|
249
335
|
* @param {string} id
|
|
336
|
+
* @param {string} [orderBy]
|
|
337
|
+
* @param {string} [orderDirection]
|
|
338
|
+
* @param {number} [pageNumber]
|
|
339
|
+
* @param {number} [pageSize]
|
|
340
|
+
* @param {string} [filterBy]
|
|
341
|
+
* @param {string} [filterKey]
|
|
250
342
|
* @param {*} [options] Override http request option.
|
|
251
343
|
* @throws {RequiredError}
|
|
252
344
|
*/
|
|
253
|
-
parkingDetailsGetParkingDetail(id, options) {
|
|
345
|
+
parkingDetailsGetParkingDetail(id, orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, options) {
|
|
254
346
|
return __awaiter(this, void 0, void 0, function* () {
|
|
255
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingDetailsGetParkingDetail(id, options);
|
|
347
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingDetailsGetParkingDetail(id, orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, options);
|
|
256
348
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
257
349
|
});
|
|
258
350
|
},
|
|
@@ -276,6 +368,31 @@ const DefaultApiFp = function (configuration) {
|
|
|
276
368
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
277
369
|
});
|
|
278
370
|
},
|
|
371
|
+
/**
|
|
372
|
+
*
|
|
373
|
+
* @param {UpdateReceiptBody} updateReceiptBody
|
|
374
|
+
* @param {*} [options] Override http request option.
|
|
375
|
+
* @throws {RequiredError}
|
|
376
|
+
*/
|
|
377
|
+
receiptUpdateReceipt(updateReceiptBody, options) {
|
|
378
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
379
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.receiptUpdateReceipt(updateReceiptBody, options);
|
|
380
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
381
|
+
});
|
|
382
|
+
},
|
|
383
|
+
/**
|
|
384
|
+
*
|
|
385
|
+
* @param {CreateReceiptBody} createReceiptBody
|
|
386
|
+
* @param {string} [xAccountId]
|
|
387
|
+
* @param {*} [options] Override http request option.
|
|
388
|
+
* @throws {RequiredError}
|
|
389
|
+
*/
|
|
390
|
+
receiptsCreateReceipt(createReceiptBody, xAccountId, options) {
|
|
391
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
392
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.receiptsCreateReceipt(createReceiptBody, xAccountId, options);
|
|
393
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
394
|
+
});
|
|
395
|
+
},
|
|
279
396
|
/**
|
|
280
397
|
*
|
|
281
398
|
* @param {*} [options] Override http request option.
|
|
@@ -311,11 +428,17 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
311
428
|
/**
|
|
312
429
|
*
|
|
313
430
|
* @param {string} id
|
|
431
|
+
* @param {string} [orderBy]
|
|
432
|
+
* @param {string} [orderDirection]
|
|
433
|
+
* @param {number} [pageNumber]
|
|
434
|
+
* @param {number} [pageSize]
|
|
435
|
+
* @param {string} [filterBy]
|
|
436
|
+
* @param {string} [filterKey]
|
|
314
437
|
* @param {*} [options] Override http request option.
|
|
315
438
|
* @throws {RequiredError}
|
|
316
439
|
*/
|
|
317
|
-
parkingDetailsGetParkingDetail(id, options) {
|
|
318
|
-
return localVarFp.parkingDetailsGetParkingDetail(id, options).then((request) => request(axios, basePath));
|
|
440
|
+
parkingDetailsGetParkingDetail(id, orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, options) {
|
|
441
|
+
return localVarFp.parkingDetailsGetParkingDetail(id, orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, options).then((request) => request(axios, basePath));
|
|
319
442
|
},
|
|
320
443
|
/**
|
|
321
444
|
*
|
|
@@ -334,6 +457,25 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
334
457
|
parkingDetailsIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options) {
|
|
335
458
|
return localVarFp.parkingDetailsIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options).then((request) => request(axios, basePath));
|
|
336
459
|
},
|
|
460
|
+
/**
|
|
461
|
+
*
|
|
462
|
+
* @param {UpdateReceiptBody} updateReceiptBody
|
|
463
|
+
* @param {*} [options] Override http request option.
|
|
464
|
+
* @throws {RequiredError}
|
|
465
|
+
*/
|
|
466
|
+
receiptUpdateReceipt(updateReceiptBody, options) {
|
|
467
|
+
return localVarFp.receiptUpdateReceipt(updateReceiptBody, options).then((request) => request(axios, basePath));
|
|
468
|
+
},
|
|
469
|
+
/**
|
|
470
|
+
*
|
|
471
|
+
* @param {CreateReceiptBody} createReceiptBody
|
|
472
|
+
* @param {string} [xAccountId]
|
|
473
|
+
* @param {*} [options] Override http request option.
|
|
474
|
+
* @throws {RequiredError}
|
|
475
|
+
*/
|
|
476
|
+
receiptsCreateReceipt(createReceiptBody, xAccountId, options) {
|
|
477
|
+
return localVarFp.receiptsCreateReceipt(createReceiptBody, xAccountId, options).then((request) => request(axios, basePath));
|
|
478
|
+
},
|
|
337
479
|
/**
|
|
338
480
|
*
|
|
339
481
|
* @param {*} [options] Override http request option.
|
|
@@ -367,12 +509,18 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
367
509
|
/**
|
|
368
510
|
*
|
|
369
511
|
* @param {string} id
|
|
512
|
+
* @param {string} [orderBy]
|
|
513
|
+
* @param {string} [orderDirection]
|
|
514
|
+
* @param {number} [pageNumber]
|
|
515
|
+
* @param {number} [pageSize]
|
|
516
|
+
* @param {string} [filterBy]
|
|
517
|
+
* @param {string} [filterKey]
|
|
370
518
|
* @param {*} [options] Override http request option.
|
|
371
519
|
* @throws {RequiredError}
|
|
372
520
|
* @memberof DefaultApi
|
|
373
521
|
*/
|
|
374
|
-
parkingDetailsGetParkingDetail(id, options) {
|
|
375
|
-
return (0, exports.DefaultApiFp)(this.configuration).parkingDetailsGetParkingDetail(id, options).then((request) => request(this.axios, this.basePath));
|
|
522
|
+
parkingDetailsGetParkingDetail(id, orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, options) {
|
|
523
|
+
return (0, exports.DefaultApiFp)(this.configuration).parkingDetailsGetParkingDetail(id, orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, options).then((request) => request(this.axios, this.basePath));
|
|
376
524
|
}
|
|
377
525
|
/**
|
|
378
526
|
*
|
|
@@ -392,6 +540,27 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
392
540
|
parkingDetailsIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options) {
|
|
393
541
|
return (0, exports.DefaultApiFp)(this.configuration).parkingDetailsIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options).then((request) => request(this.axios, this.basePath));
|
|
394
542
|
}
|
|
543
|
+
/**
|
|
544
|
+
*
|
|
545
|
+
* @param {UpdateReceiptBody} updateReceiptBody
|
|
546
|
+
* @param {*} [options] Override http request option.
|
|
547
|
+
* @throws {RequiredError}
|
|
548
|
+
* @memberof DefaultApi
|
|
549
|
+
*/
|
|
550
|
+
receiptUpdateReceipt(updateReceiptBody, options) {
|
|
551
|
+
return (0, exports.DefaultApiFp)(this.configuration).receiptUpdateReceipt(updateReceiptBody, options).then((request) => request(this.axios, this.basePath));
|
|
552
|
+
}
|
|
553
|
+
/**
|
|
554
|
+
*
|
|
555
|
+
* @param {CreateReceiptBody} createReceiptBody
|
|
556
|
+
* @param {string} [xAccountId]
|
|
557
|
+
* @param {*} [options] Override http request option.
|
|
558
|
+
* @throws {RequiredError}
|
|
559
|
+
* @memberof DefaultApi
|
|
560
|
+
*/
|
|
561
|
+
receiptsCreateReceipt(createReceiptBody, xAccountId, options) {
|
|
562
|
+
return (0, exports.DefaultApiFp)(this.configuration).receiptsCreateReceipt(createReceiptBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
563
|
+
}
|
|
395
564
|
/**
|
|
396
565
|
*
|
|
397
566
|
* @param {*} [options] Override http request option.
|