ob-parking-sdk 0.0.73 → 0.0.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * obk-parking
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.27.2
7
+ * The version of the OpenAPI document: 1.27.5
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -190,6 +190,25 @@ export const AddParkingTicketType = {
190
190
  export type AddParkingTicketType = typeof AddParkingTicketType[keyof typeof AddParkingTicketType];
191
191
 
192
192
 
193
+ /**
194
+ *
195
+ * @export
196
+ * @interface ApproveReceiptBody
197
+ */
198
+ export interface ApproveReceiptBody {
199
+ /**
200
+ *
201
+ * @type {string}
202
+ * @memberof ApproveReceiptBody
203
+ */
204
+ 'counter': string;
205
+ /**
206
+ *
207
+ * @type {string}
208
+ * @memberof ApproveReceiptBody
209
+ */
210
+ 'email': string;
211
+ }
193
212
  /**
194
213
  *
195
214
  * @export
@@ -412,6 +431,12 @@ export interface CmsParkingDetailRedeemBody {
412
431
  * @memberof CmsParkingDetailRedeemBody
413
432
  */
414
433
  'source'?: CmsParkingDetailRedeemBodySourceEnum;
434
+ /**
435
+ *
436
+ * @type {string}
437
+ * @memberof CmsParkingDetailRedeemBody
438
+ */
439
+ 'counter'?: string;
415
440
  /**
416
441
  *
417
442
  * @type {string}
@@ -719,6 +744,69 @@ export const EngineType = {
719
744
  export type EngineType = typeof EngineType[keyof typeof EngineType];
720
745
 
721
746
 
747
+ /**
748
+ *
749
+ * @export
750
+ * @interface ExportParkingDetailIndexQuery
751
+ */
752
+ export interface ExportParkingDetailIndexQuery {
753
+ /**
754
+ *
755
+ * @type {string}
756
+ * @memberof ExportParkingDetailIndexQuery
757
+ */
758
+ 'order_by'?: string;
759
+ /**
760
+ *
761
+ * @type {string}
762
+ * @memberof ExportParkingDetailIndexQuery
763
+ */
764
+ 'order_direction'?: string;
765
+ /**
766
+ *
767
+ * @type {number}
768
+ * @memberof ExportParkingDetailIndexQuery
769
+ */
770
+ 'page_number'?: number;
771
+ /**
772
+ *
773
+ * @type {number}
774
+ * @memberof ExportParkingDetailIndexQuery
775
+ */
776
+ 'page_size'?: number;
777
+ /**
778
+ *
779
+ * @type {string}
780
+ * @memberof ExportParkingDetailIndexQuery
781
+ */
782
+ 'filter_by'?: string;
783
+ /**
784
+ *
785
+ * @type {string}
786
+ * @memberof ExportParkingDetailIndexQuery
787
+ */
788
+ 'filter_key'?: string;
789
+ /**
790
+ *
791
+ * @type {string}
792
+ * @memberof ExportParkingDetailIndexQuery
793
+ */
794
+ 'startDate'?: string;
795
+ /**
796
+ *
797
+ * @type {string}
798
+ * @memberof ExportParkingDetailIndexQuery
799
+ */
800
+ 'endDate'?: string;
801
+ /**
802
+ *
803
+ * @type {ParkingDetailStatus}
804
+ * @memberof ExportParkingDetailIndexQuery
805
+ */
806
+ 'status'?: ParkingDetailStatus;
807
+ }
808
+
809
+
722
810
  /**
723
811
  *
724
812
  * @export
@@ -969,6 +1057,12 @@ export interface GetAllReceiptResponse {
969
1057
  * @memberof GetAllReceiptResponse
970
1058
  */
971
1059
  'transaction_time': string | null;
1060
+ /**
1061
+ *
1062
+ * @type {boolean}
1063
+ * @memberof GetAllReceiptResponse
1064
+ */
1065
+ 'check_handwriting'?: boolean;
972
1066
  }
973
1067
 
974
1068
 
@@ -1417,6 +1511,163 @@ export interface GetParkingDetailResponseRateDetail {
1417
1511
  */
1418
1512
  'en': string;
1419
1513
  }
1514
+ /**
1515
+ *
1516
+ * @export
1517
+ * @interface GetParkingDetailsExportResponse
1518
+ */
1519
+ export interface GetParkingDetailsExportResponse {
1520
+ /**
1521
+ *
1522
+ * @type {string}
1523
+ * @memberof GetParkingDetailsExportResponse
1524
+ */
1525
+ 'record_id': string;
1526
+ /**
1527
+ *
1528
+ * @type {string}
1529
+ * @memberof GetParkingDetailsExportResponse
1530
+ */
1531
+ 'parking_ticket_id': string;
1532
+ /**
1533
+ *
1534
+ * @type {string}
1535
+ * @memberof GetParkingDetailsExportResponse
1536
+ */
1537
+ 'vehicle_entry': string;
1538
+ /**
1539
+ *
1540
+ * @type {string}
1541
+ * @memberof GetParkingDetailsExportResponse
1542
+ */
1543
+ 'vehicle_exit': string;
1544
+ /**
1545
+ *
1546
+ * @type {string}
1547
+ * @memberof GetParkingDetailsExportResponse
1548
+ */
1549
+ 'total_time': string;
1550
+ /**
1551
+ *
1552
+ * @type {string}
1553
+ * @memberof GetParkingDetailsExportResponse
1554
+ */
1555
+ 'license_plate': string;
1556
+ /**
1557
+ *
1558
+ * @type {string}
1559
+ * @memberof GetParkingDetailsExportResponse
1560
+ */
1561
+ 'user_id': string;
1562
+ /**
1563
+ *
1564
+ * @type {string}
1565
+ * @memberof GetParkingDetailsExportResponse
1566
+ */
1567
+ 'username': string;
1568
+ /**
1569
+ *
1570
+ * @type {string}
1571
+ * @memberof GetParkingDetailsExportResponse
1572
+ */
1573
+ 'channel': string;
1574
+ /**
1575
+ *
1576
+ * @type {string}
1577
+ * @memberof GetParkingDetailsExportResponse
1578
+ */
1579
+ 'shop_name': string;
1580
+ /**
1581
+ *
1582
+ * @type {string}
1583
+ * @memberof GetParkingDetailsExportResponse
1584
+ */
1585
+ 'total_spent': string;
1586
+ /**
1587
+ *
1588
+ * @type {string}
1589
+ * @memberof GetParkingDetailsExportResponse
1590
+ */
1591
+ 'import_at': string;
1592
+ /**
1593
+ *
1594
+ * @type {string}
1595
+ * @memberof GetParkingDetailsExportResponse
1596
+ */
1597
+ 'rate_detail': string;
1598
+ /**
1599
+ *
1600
+ * @type {string}
1601
+ * @memberof GetParkingDetailsExportResponse
1602
+ */
1603
+ 'receipt_no': string;
1604
+ /**
1605
+ *
1606
+ * @type {string}
1607
+ * @memberof GetParkingDetailsExportResponse
1608
+ */
1609
+ 'sub_total': string;
1610
+ /**
1611
+ *
1612
+ * @type {string}
1613
+ * @memberof GetParkingDetailsExportResponse
1614
+ */
1615
+ 'receipt_status': string;
1616
+ /**
1617
+ *
1618
+ * @type {string}
1619
+ * @memberof GetParkingDetailsExportResponse
1620
+ */
1621
+ 'reason': string;
1622
+ /**
1623
+ *
1624
+ * @type {string}
1625
+ * @memberof GetParkingDetailsExportResponse
1626
+ */
1627
+ 'redeem_at': string;
1628
+ /**
1629
+ *
1630
+ * @type {string}
1631
+ * @memberof GetParkingDetailsExportResponse
1632
+ */
1633
+ 'image_url': string;
1634
+ /**
1635
+ *
1636
+ * @type {string}
1637
+ * @memberof GetParkingDetailsExportResponse
1638
+ */
1639
+ 'redeem_by': string;
1640
+ /**
1641
+ *
1642
+ * @type {string}
1643
+ * @memberof GetParkingDetailsExportResponse
1644
+ */
1645
+ 'counter': string;
1646
+ /**
1647
+ *
1648
+ * @type {string}
1649
+ * @memberof GetParkingDetailsExportResponse
1650
+ */
1651
+ 'parking_sub_total': string;
1652
+ /**
1653
+ *
1654
+ * @type {string}
1655
+ * @memberof GetParkingDetailsExportResponse
1656
+ */
1657
+ 'parking_discount': string;
1658
+ /**
1659
+ *
1660
+ * @type {string}
1661
+ * @memberof GetParkingDetailsExportResponse
1662
+ */
1663
+ 'parking_fee': string;
1664
+ /**
1665
+ *
1666
+ * @type {string}
1667
+ * @memberof GetParkingDetailsExportResponse
1668
+ */
1669
+ 'ocr_extract': string;
1670
+ }
1420
1671
  /**
1421
1672
  *
1422
1673
  * @export
@@ -1492,6 +1743,73 @@ export interface GetParkingDetailsIndexResponse {
1492
1743
  }
1493
1744
 
1494
1745
 
1746
+ /**
1747
+ *
1748
+ * @export
1749
+ * @interface GetRegisteredVehiclesIndexQuery
1750
+ */
1751
+ export interface GetRegisteredVehiclesIndexQuery {
1752
+ /**
1753
+ *
1754
+ * @type {string}
1755
+ * @memberof GetRegisteredVehiclesIndexQuery
1756
+ */
1757
+ 'order_by'?: string;
1758
+ /**
1759
+ *
1760
+ * @type {string}
1761
+ * @memberof GetRegisteredVehiclesIndexQuery
1762
+ */
1763
+ 'order_direction'?: string;
1764
+ /**
1765
+ *
1766
+ * @type {number}
1767
+ * @memberof GetRegisteredVehiclesIndexQuery
1768
+ */
1769
+ 'page_number'?: number;
1770
+ /**
1771
+ *
1772
+ * @type {number}
1773
+ * @memberof GetRegisteredVehiclesIndexQuery
1774
+ */
1775
+ 'page_size'?: number;
1776
+ /**
1777
+ *
1778
+ * @type {string}
1779
+ * @memberof GetRegisteredVehiclesIndexQuery
1780
+ */
1781
+ 'filter_by'?: string;
1782
+ /**
1783
+ *
1784
+ * @type {string}
1785
+ * @memberof GetRegisteredVehiclesIndexQuery
1786
+ */
1787
+ 'filter_key'?: string;
1788
+ /**
1789
+ *
1790
+ * @type {string}
1791
+ * @memberof GetRegisteredVehiclesIndexQuery
1792
+ */
1793
+ 'startDate'?: string;
1794
+ /**
1795
+ *
1796
+ * @type {string}
1797
+ * @memberof GetRegisteredVehiclesIndexQuery
1798
+ */
1799
+ 'endDate'?: string;
1800
+ /**
1801
+ *
1802
+ * @type {boolean}
1803
+ * @memberof GetRegisteredVehiclesIndexQuery
1804
+ */
1805
+ 'is_vip'?: boolean;
1806
+ /**
1807
+ *
1808
+ * @type {boolean}
1809
+ * @memberof GetRegisteredVehiclesIndexQuery
1810
+ */
1811
+ 'is_export'?: boolean;
1812
+ }
1495
1813
  /**
1496
1814
  *
1497
1815
  * @export
@@ -1793,6 +2111,12 @@ export interface ParkingDetailRedeemBody {
1793
2111
  * @memberof ParkingDetailRedeemBody
1794
2112
  */
1795
2113
  'source'?: ParkingDetailRedeemBodySourceEnum;
2114
+ /**
2115
+ *
2116
+ * @type {string}
2117
+ * @memberof ParkingDetailRedeemBody
2118
+ */
2119
+ 'counter'?: string;
1796
2120
  }
1797
2121
 
1798
2122
  export const ParkingDetailRedeemBodySourceEnum = {
@@ -2146,6 +2470,12 @@ export interface Receipt {
2146
2470
  * @memberof Receipt
2147
2471
  */
2148
2472
  'counter'?: string;
2473
+ /**
2474
+ *
2475
+ * @type {boolean}
2476
+ * @memberof Receipt
2477
+ */
2478
+ 'check_handwriting'?: boolean;
2149
2479
  /**
2150
2480
  *
2151
2481
  * @type {string}
@@ -2453,7 +2783,13 @@ export type RedeemType = typeof RedeemType[keyof typeof RedeemType];
2453
2783
  export interface RegisteredVehicleIndexResponse {
2454
2784
  /**
2455
2785
  *
2456
- * @type {boolean}
2786
+ * @type {string}
2787
+ * @memberof RegisteredVehicleIndexResponse
2788
+ */
2789
+ 'created_at'?: string;
2790
+ /**
2791
+ *
2792
+ * @type {boolean}
2457
2793
  * @memberof RegisteredVehicleIndexResponse
2458
2794
  */
2459
2795
  'is_vip': boolean;
@@ -2469,6 +2805,18 @@ export interface RegisteredVehicleIndexResponse {
2469
2805
  * @memberof RegisteredVehicleIndexResponse
2470
2806
  */
2471
2807
  'vehicle_brand'?: RegisteredVehicleIndexResponseVehicleModel;
2808
+ /**
2809
+ *
2810
+ * @type {string}
2811
+ * @memberof RegisteredVehicleIndexResponse
2812
+ */
2813
+ 'phone_number'?: string | null;
2814
+ /**
2815
+ *
2816
+ * @type {string}
2817
+ * @memberof RegisteredVehicleIndexResponse
2818
+ */
2819
+ 'email'?: string | null;
2472
2820
  /**
2473
2821
  *
2474
2822
  * @type {EngineType}
@@ -2498,7 +2846,7 @@ export interface RegisteredVehicleIndexResponse {
2498
2846
  * @type {VehicleType}
2499
2847
  * @memberof RegisteredVehicleIndexResponse
2500
2848
  */
2501
- 'vehicle_type'?: VehicleType;
2849
+ 'vehicle_type'?: VehicleType | null;
2502
2850
  /**
2503
2851
  *
2504
2852
  * @type {string}
@@ -2590,6 +2938,19 @@ export interface RegisteredVehicleResponse {
2590
2938
  }
2591
2939
 
2592
2940
 
2941
+ /**
2942
+ *
2943
+ * @export
2944
+ * @interface RemoveVipVehicleBody
2945
+ */
2946
+ export interface RemoveVipVehicleBody {
2947
+ /**
2948
+ *
2949
+ * @type {string}
2950
+ * @memberof RemoveVipVehicleBody
2951
+ */
2952
+ 'deleted_by_email': string;
2953
+ }
2593
2954
  /**
2594
2955
  *
2595
2956
  * @export
@@ -2628,6 +2989,25 @@ export interface ResponseDataGetParkingDetailResponse {
2628
2989
  */
2629
2990
  'pagination'?: Pagination;
2630
2991
  }
2992
+ /**
2993
+ *
2994
+ * @export
2995
+ * @interface ResponseDataGetParkingDetailsExportResponseArray
2996
+ */
2997
+ export interface ResponseDataGetParkingDetailsExportResponseArray {
2998
+ /**
2999
+ *
3000
+ * @type {Array<GetParkingDetailsExportResponse>}
3001
+ * @memberof ResponseDataGetParkingDetailsExportResponseArray
3002
+ */
3003
+ 'data': Array<GetParkingDetailsExportResponse>;
3004
+ /**
3005
+ *
3006
+ * @type {Pagination}
3007
+ * @memberof ResponseDataGetParkingDetailsExportResponseArray
3008
+ */
3009
+ 'pagination'?: Pagination;
3010
+ }
2631
3011
  /**
2632
3012
  *
2633
3013
  * @export
@@ -2647,6 +3027,25 @@ export interface ResponseDataGetParkingDetailsIndexResponseArray {
2647
3027
  */
2648
3028
  'pagination'?: Pagination;
2649
3029
  }
3030
+ /**
3031
+ *
3032
+ * @export
3033
+ * @interface ResponseDataRegisteredVehicleIndexResponseArray
3034
+ */
3035
+ export interface ResponseDataRegisteredVehicleIndexResponseArray {
3036
+ /**
3037
+ *
3038
+ * @type {Array<RegisteredVehicleIndexResponse>}
3039
+ * @memberof ResponseDataRegisteredVehicleIndexResponseArray
3040
+ */
3041
+ 'data': Array<RegisteredVehicleIndexResponse>;
3042
+ /**
3043
+ *
3044
+ * @type {Pagination}
3045
+ * @memberof ResponseDataRegisteredVehicleIndexResponseArray
3046
+ */
3047
+ 'pagination'?: Pagination;
3048
+ }
2650
3049
  /**
2651
3050
  *
2652
3051
  * @export
@@ -2811,19 +3210,19 @@ export interface UpdateConfigStoreWhitelist {
2811
3210
  * @type {boolean}
2812
3211
  * @memberof UpdateConfigStoreWhitelist
2813
3212
  */
2814
- 'convert_date': boolean;
3213
+ 'convert_date'?: boolean;
2815
3214
  /**
2816
3215
  *
2817
3216
  * @type {boolean}
2818
3217
  * @memberof UpdateConfigStoreWhitelist
2819
3218
  */
2820
- 'ocr_verified': boolean;
3219
+ 'ocr_verified'?: boolean;
2821
3220
  /**
2822
3221
  *
2823
3222
  * @type {boolean}
2824
3223
  * @memberof UpdateConfigStoreWhitelist
2825
3224
  */
2826
- 'ignore_store': boolean;
3225
+ 'ignore_store'?: boolean;
2827
3226
  /**
2828
3227
  *
2829
3228
  * @type {string}
@@ -2999,6 +3398,12 @@ export interface UpdateReceiptBody {
2999
3398
  * @memberof UpdateReceiptBody
3000
3399
  */
3001
3400
  'counter'?: string;
3401
+ /**
3402
+ *
3403
+ * @type {string}
3404
+ * @memberof UpdateReceiptBody
3405
+ */
3406
+ 'email'?: string;
3002
3407
  }
3003
3408
 
3004
3409
 
@@ -3728,10 +4133,13 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3728
4133
  * @param {boolean} [hasTaxId]
3729
4134
  * @param {boolean} [receiptAddressInObk]
3730
4135
  * @param {boolean} [isActive]
4136
+ * @param {boolean} [ignoreStore2]
4137
+ * @param {boolean} [ocrVerified2]
4138
+ * @param {boolean} [convertDate2]
3731
4139
  * @param {*} [options] Override http request option.
3732
4140
  * @throws {RequiredError}
3733
4141
  */
3734
- configStoreWhitelistIndex: async (taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, ignoreStore?: boolean, ocrVerified?: boolean, convertDate?: boolean, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4142
+ configStoreWhitelistIndex: async (taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, ignoreStore?: boolean, ocrVerified?: boolean, convertDate?: boolean, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, ignoreStore2?: boolean, ocrVerified2?: boolean, convertDate2?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3735
4143
  const localVarPath = `/config/store/whitelist`;
3736
4144
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3737
4145
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3820,6 +4228,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3820
4228
  localVarQueryParameter['is_active'] = isActive;
3821
4229
  }
3822
4230
 
4231
+ if (ignoreStore2 !== undefined) {
4232
+ localVarQueryParameter['ignore_store'] = ignoreStore2;
4233
+ }
4234
+
4235
+ if (ocrVerified2 !== undefined) {
4236
+ localVarQueryParameter['ocr_verified'] = ocrVerified2;
4237
+ }
4238
+
4239
+ if (convertDate2 !== undefined) {
4240
+ localVarQueryParameter['convert_date'] = convertDate2;
4241
+ }
4242
+
3823
4243
 
3824
4244
 
3825
4245
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4056,6 +4476,80 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4056
4476
 
4057
4477
 
4058
4478
 
4479
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4480
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4481
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4482
+
4483
+ return {
4484
+ url: toPathString(localVarUrlObj),
4485
+ options: localVarRequestOptions,
4486
+ };
4487
+ },
4488
+ /**
4489
+ *
4490
+ * @param {string} [orderBy]
4491
+ * @param {string} [orderDirection]
4492
+ * @param {number} [pageNumber]
4493
+ * @param {number} [pageSize]
4494
+ * @param {string} [filterBy]
4495
+ * @param {string} [filterKey]
4496
+ * @param {string} [startDate]
4497
+ * @param {string} [endDate]
4498
+ * @param {ParkingDetailStatus} [status]
4499
+ * @param {*} [options] Override http request option.
4500
+ * @throws {RequiredError}
4501
+ */
4502
+ parkingDetailsExport: async (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4503
+ const localVarPath = `/parking-details/export`;
4504
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4505
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4506
+ let baseOptions;
4507
+ if (configuration) {
4508
+ baseOptions = configuration.baseOptions;
4509
+ }
4510
+
4511
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4512
+ const localVarHeaderParameter = {} as any;
4513
+ const localVarQueryParameter = {} as any;
4514
+
4515
+ if (orderBy !== undefined) {
4516
+ localVarQueryParameter['order_by'] = orderBy;
4517
+ }
4518
+
4519
+ if (orderDirection !== undefined) {
4520
+ localVarQueryParameter['order_direction'] = orderDirection;
4521
+ }
4522
+
4523
+ if (pageNumber !== undefined) {
4524
+ localVarQueryParameter['page_number'] = pageNumber;
4525
+ }
4526
+
4527
+ if (pageSize !== undefined) {
4528
+ localVarQueryParameter['page_size'] = pageSize;
4529
+ }
4530
+
4531
+ if (filterBy !== undefined) {
4532
+ localVarQueryParameter['filter_by'] = filterBy;
4533
+ }
4534
+
4535
+ if (filterKey !== undefined) {
4536
+ localVarQueryParameter['filter_key'] = filterKey;
4537
+ }
4538
+
4539
+ if (startDate !== undefined) {
4540
+ localVarQueryParameter['startDate'] = startDate;
4541
+ }
4542
+
4543
+ if (endDate !== undefined) {
4544
+ localVarQueryParameter['endDate'] = endDate;
4545
+ }
4546
+
4547
+ if (status !== undefined) {
4548
+ localVarQueryParameter['status'] = status;
4549
+ }
4550
+
4551
+
4552
+
4059
4553
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4060
4554
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4061
4555
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -4424,12 +4918,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4424
4918
  /**
4425
4919
  *
4426
4920
  * @param {string} id
4921
+ * @param {ApproveReceiptBody} approveReceiptBody
4427
4922
  * @param {*} [options] Override http request option.
4428
4923
  * @throws {RequiredError}
4429
4924
  */
4430
- receiptApproveReceipt: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4925
+ receiptApproveReceipt: async (id: string, approveReceiptBody: ApproveReceiptBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4431
4926
  // verify required parameter 'id' is not null or undefined
4432
4927
  assertParamExists('receiptApproveReceipt', 'id', id)
4928
+ // verify required parameter 'approveReceiptBody' is not null or undefined
4929
+ assertParamExists('receiptApproveReceipt', 'approveReceiptBody', approveReceiptBody)
4433
4930
  const localVarPath = `/receipt/approve-receipt/{id}`
4434
4931
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4435
4932
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -4445,9 +4942,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4445
4942
 
4446
4943
 
4447
4944
 
4945
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4946
+
4448
4947
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4449
4948
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4450
4949
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4950
+ localVarRequestOptions.data = serializeDataIfNeeded(approveReceiptBody, localVarRequestOptions, configuration)
4451
4951
 
4452
4952
  return {
4453
4953
  url: toPathString(localVarUrlObj),
@@ -4717,14 +5217,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4717
5217
  /**
4718
5218
  *
4719
5219
  * @param {string} plateNo
4720
- * @param {string} [xAccountId]
4721
5220
  * @param {*} [options] Override http request option.
4722
5221
  * @throws {RequiredError}
4723
5222
  */
4724
- registeredVehiclesIsLicensePlateRegistered: async (plateNo: string, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5223
+ registeredVehiclesGetVehiclesByLicensePlate: async (plateNo: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4725
5224
  // verify required parameter 'plateNo' is not null or undefined
4726
- assertParamExists('registeredVehiclesIsLicensePlateRegistered', 'plateNo', plateNo)
4727
- const localVarPath = `/registered-vehicles/is-license-plate-registered`;
5225
+ assertParamExists('registeredVehiclesGetVehiclesByLicensePlate', 'plateNo', plateNo)
5226
+ const localVarPath = `/registered-vehicles/license-plate/{plate_no}`
5227
+ .replace(`{${"plate_no"}}`, encodeURIComponent(String(plateNo)));
4728
5228
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4729
5229
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4730
5230
  let baseOptions;
@@ -4736,14 +5236,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4736
5236
  const localVarHeaderParameter = {} as any;
4737
5237
  const localVarQueryParameter = {} as any;
4738
5238
 
4739
- if (plateNo !== undefined) {
4740
- localVarQueryParameter['plate_no'] = plateNo;
4741
- }
4742
-
4743
- if (xAccountId != null) {
4744
- localVarHeaderParameter['x-account-id'] = String(xAccountId);
4745
- }
4746
-
4747
5239
 
4748
5240
 
4749
5241
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4757,14 +5249,21 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4757
5249
  },
4758
5250
  /**
4759
5251
  *
4760
- * @param {string} plateNo
5252
+ * @param {string} [orderBy]
5253
+ * @param {string} [orderDirection]
5254
+ * @param {number} [pageNumber]
5255
+ * @param {number} [pageSize]
5256
+ * @param {string} [filterBy]
5257
+ * @param {string} [filterKey]
5258
+ * @param {string} [startDate]
5259
+ * @param {string} [endDate]
5260
+ * @param {boolean} [isVip]
5261
+ * @param {boolean} [isExport]
4761
5262
  * @param {*} [options] Override http request option.
4762
5263
  * @throws {RequiredError}
4763
5264
  */
4764
- registeredVehiclesIsLicensePlateVip: async (plateNo: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4765
- // verify required parameter 'plateNo' is not null or undefined
4766
- assertParamExists('registeredVehiclesIsLicensePlateVip', 'plateNo', plateNo)
4767
- const localVarPath = `/registered-vehicles/is-license-plate-vip`;
5265
+ registeredVehiclesHistoryIndex: async (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, isVip?: boolean, isExport?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5266
+ const localVarPath = `/registered-vehicles/history`;
4768
5267
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4769
5268
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4770
5269
  let baseOptions;
@@ -4776,55 +5275,51 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4776
5275
  const localVarHeaderParameter = {} as any;
4777
5276
  const localVarQueryParameter = {} as any;
4778
5277
 
4779
- if (plateNo !== undefined) {
4780
- localVarQueryParameter['plate_no'] = plateNo;
5278
+ if (orderBy !== undefined) {
5279
+ localVarQueryParameter['order_by'] = orderBy;
4781
5280
  }
4782
5281
 
5282
+ if (orderDirection !== undefined) {
5283
+ localVarQueryParameter['order_direction'] = orderDirection;
5284
+ }
4783
5285
 
4784
-
4785
- setSearchParams(localVarUrlObj, localVarQueryParameter);
4786
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4787
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5286
+ if (pageNumber !== undefined) {
5287
+ localVarQueryParameter['page_number'] = pageNumber;
5288
+ }
4788
5289
 
4789
- return {
4790
- url: toPathString(localVarUrlObj),
4791
- options: localVarRequestOptions,
4792
- };
4793
- },
4794
- /**
4795
- *
4796
- * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
4797
- * @param {string} [xAccountId]
4798
- * @param {*} [options] Override http request option.
4799
- * @throws {RequiredError}
4800
- */
4801
- registeredVehiclesRegister: async (createRegisteredVehicleBody: CreateRegisteredVehicleBody, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4802
- // verify required parameter 'createRegisteredVehicleBody' is not null or undefined
4803
- assertParamExists('registeredVehiclesRegister', 'createRegisteredVehicleBody', createRegisteredVehicleBody)
4804
- const localVarPath = `/registered-vehicles/register`;
4805
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4806
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4807
- let baseOptions;
4808
- if (configuration) {
4809
- baseOptions = configuration.baseOptions;
5290
+ if (pageSize !== undefined) {
5291
+ localVarQueryParameter['page_size'] = pageSize;
4810
5292
  }
4811
5293
 
4812
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4813
- const localVarHeaderParameter = {} as any;
4814
- const localVarQueryParameter = {} as any;
5294
+ if (filterBy !== undefined) {
5295
+ localVarQueryParameter['filter_by'] = filterBy;
5296
+ }
4815
5297
 
4816
- if (xAccountId != null) {
4817
- localVarHeaderParameter['x-account-id'] = String(xAccountId);
5298
+ if (filterKey !== undefined) {
5299
+ localVarQueryParameter['filter_key'] = filterKey;
4818
5300
  }
4819
5301
 
5302
+ if (startDate !== undefined) {
5303
+ localVarQueryParameter['startDate'] = startDate;
5304
+ }
5305
+
5306
+ if (endDate !== undefined) {
5307
+ localVarQueryParameter['endDate'] = endDate;
5308
+ }
5309
+
5310
+ if (isVip !== undefined) {
5311
+ localVarQueryParameter['is_vip'] = isVip;
5312
+ }
5313
+
5314
+ if (isExport !== undefined) {
5315
+ localVarQueryParameter['is_export'] = isExport;
5316
+ }
4820
5317
 
4821
-
4822
- localVarHeaderParameter['Content-Type'] = 'application/json';
4823
5318
 
5319
+
4824
5320
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4825
5321
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4826
5322
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4827
- localVarRequestOptions.data = serializeDataIfNeeded(createRegisteredVehicleBody, localVarRequestOptions, configuration)
4828
5323
 
4829
5324
  return {
4830
5325
  url: toPathString(localVarUrlObj),
@@ -4833,15 +5328,21 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4833
5328
  },
4834
5329
  /**
4835
5330
  *
4836
- * @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
4837
- * @param {string} [xAccountId]
5331
+ * @param {string} [orderBy]
5332
+ * @param {string} [orderDirection]
5333
+ * @param {number} [pageNumber]
5334
+ * @param {number} [pageSize]
5335
+ * @param {string} [filterBy]
5336
+ * @param {string} [filterKey]
5337
+ * @param {string} [startDate]
5338
+ * @param {string} [endDate]
5339
+ * @param {boolean} [isVip]
5340
+ * @param {boolean} [isExport]
4838
5341
  * @param {*} [options] Override http request option.
4839
5342
  * @throws {RequiredError}
4840
5343
  */
4841
- registeredVehiclesUpdate: async (updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4842
- // verify required parameter 'updateRegisteredVehicleBody' is not null or undefined
4843
- assertParamExists('registeredVehiclesUpdate', 'updateRegisteredVehicleBody', updateRegisteredVehicleBody)
4844
- const localVarPath = `/registered-vehicles/update/{id}`;
5344
+ registeredVehiclesIndex: async (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, isVip?: boolean, isExport?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5345
+ const localVarPath = `/registered-vehicles`;
4845
5346
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4846
5347
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4847
5348
  let baseOptions;
@@ -4849,13 +5350,242 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4849
5350
  baseOptions = configuration.baseOptions;
4850
5351
  }
4851
5352
 
4852
- const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
5353
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4853
5354
  const localVarHeaderParameter = {} as any;
4854
5355
  const localVarQueryParameter = {} as any;
4855
5356
 
4856
- if (xAccountId != null) {
4857
- localVarHeaderParameter['x-account-id'] = String(xAccountId);
4858
- }
5357
+ if (orderBy !== undefined) {
5358
+ localVarQueryParameter['order_by'] = orderBy;
5359
+ }
5360
+
5361
+ if (orderDirection !== undefined) {
5362
+ localVarQueryParameter['order_direction'] = orderDirection;
5363
+ }
5364
+
5365
+ if (pageNumber !== undefined) {
5366
+ localVarQueryParameter['page_number'] = pageNumber;
5367
+ }
5368
+
5369
+ if (pageSize !== undefined) {
5370
+ localVarQueryParameter['page_size'] = pageSize;
5371
+ }
5372
+
5373
+ if (filterBy !== undefined) {
5374
+ localVarQueryParameter['filter_by'] = filterBy;
5375
+ }
5376
+
5377
+ if (filterKey !== undefined) {
5378
+ localVarQueryParameter['filter_key'] = filterKey;
5379
+ }
5380
+
5381
+ if (startDate !== undefined) {
5382
+ localVarQueryParameter['startDate'] = startDate;
5383
+ }
5384
+
5385
+ if (endDate !== undefined) {
5386
+ localVarQueryParameter['endDate'] = endDate;
5387
+ }
5388
+
5389
+ if (isVip !== undefined) {
5390
+ localVarQueryParameter['is_vip'] = isVip;
5391
+ }
5392
+
5393
+ if (isExport !== undefined) {
5394
+ localVarQueryParameter['is_export'] = isExport;
5395
+ }
5396
+
5397
+
5398
+
5399
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5400
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5401
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5402
+
5403
+ return {
5404
+ url: toPathString(localVarUrlObj),
5405
+ options: localVarRequestOptions,
5406
+ };
5407
+ },
5408
+ /**
5409
+ *
5410
+ * @param {string} plateNo
5411
+ * @param {string} [xAccountId]
5412
+ * @param {*} [options] Override http request option.
5413
+ * @throws {RequiredError}
5414
+ */
5415
+ registeredVehiclesIsLicensePlateRegistered: async (plateNo: string, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5416
+ // verify required parameter 'plateNo' is not null or undefined
5417
+ assertParamExists('registeredVehiclesIsLicensePlateRegistered', 'plateNo', plateNo)
5418
+ const localVarPath = `/registered-vehicles/is-license-plate-registered`;
5419
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5420
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5421
+ let baseOptions;
5422
+ if (configuration) {
5423
+ baseOptions = configuration.baseOptions;
5424
+ }
5425
+
5426
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5427
+ const localVarHeaderParameter = {} as any;
5428
+ const localVarQueryParameter = {} as any;
5429
+
5430
+ if (plateNo !== undefined) {
5431
+ localVarQueryParameter['plate_no'] = plateNo;
5432
+ }
5433
+
5434
+ if (xAccountId != null) {
5435
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
5436
+ }
5437
+
5438
+
5439
+
5440
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5441
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5442
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5443
+
5444
+ return {
5445
+ url: toPathString(localVarUrlObj),
5446
+ options: localVarRequestOptions,
5447
+ };
5448
+ },
5449
+ /**
5450
+ *
5451
+ * @param {string} plateNo
5452
+ * @param {*} [options] Override http request option.
5453
+ * @throws {RequiredError}
5454
+ */
5455
+ registeredVehiclesIsLicensePlateVip: async (plateNo: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5456
+ // verify required parameter 'plateNo' is not null or undefined
5457
+ assertParamExists('registeredVehiclesIsLicensePlateVip', 'plateNo', plateNo)
5458
+ const localVarPath = `/registered-vehicles/is-license-plate-vip`;
5459
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5460
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5461
+ let baseOptions;
5462
+ if (configuration) {
5463
+ baseOptions = configuration.baseOptions;
5464
+ }
5465
+
5466
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5467
+ const localVarHeaderParameter = {} as any;
5468
+ const localVarQueryParameter = {} as any;
5469
+
5470
+ if (plateNo !== undefined) {
5471
+ localVarQueryParameter['plate_no'] = plateNo;
5472
+ }
5473
+
5474
+
5475
+
5476
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5477
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5478
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5479
+
5480
+ return {
5481
+ url: toPathString(localVarUrlObj),
5482
+ options: localVarRequestOptions,
5483
+ };
5484
+ },
5485
+ /**
5486
+ *
5487
+ * @param {CreateRegisteredVehicleBody} createRegisteredVehicleBody
5488
+ * @param {string} [xAccountId]
5489
+ * @param {*} [options] Override http request option.
5490
+ * @throws {RequiredError}
5491
+ */
5492
+ registeredVehiclesRegister: async (createRegisteredVehicleBody: CreateRegisteredVehicleBody, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5493
+ // verify required parameter 'createRegisteredVehicleBody' is not null or undefined
5494
+ assertParamExists('registeredVehiclesRegister', 'createRegisteredVehicleBody', createRegisteredVehicleBody)
5495
+ const localVarPath = `/registered-vehicles/register`;
5496
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5497
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5498
+ let baseOptions;
5499
+ if (configuration) {
5500
+ baseOptions = configuration.baseOptions;
5501
+ }
5502
+
5503
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5504
+ const localVarHeaderParameter = {} as any;
5505
+ const localVarQueryParameter = {} as any;
5506
+
5507
+ if (xAccountId != null) {
5508
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
5509
+ }
5510
+
5511
+
5512
+
5513
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5514
+
5515
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5516
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5517
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5518
+ localVarRequestOptions.data = serializeDataIfNeeded(createRegisteredVehicleBody, localVarRequestOptions, configuration)
5519
+
5520
+ return {
5521
+ url: toPathString(localVarUrlObj),
5522
+ options: localVarRequestOptions,
5523
+ };
5524
+ },
5525
+ /**
5526
+ *
5527
+ * @param {string} id
5528
+ * @param {RemoveVipVehicleBody} removeVipVehicleBody
5529
+ * @param {*} [options] Override http request option.
5530
+ * @throws {RequiredError}
5531
+ */
5532
+ registeredVehiclesRemoveVip: async (id: string, removeVipVehicleBody: RemoveVipVehicleBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5533
+ // verify required parameter 'id' is not null or undefined
5534
+ assertParamExists('registeredVehiclesRemoveVip', 'id', id)
5535
+ // verify required parameter 'removeVipVehicleBody' is not null or undefined
5536
+ assertParamExists('registeredVehiclesRemoveVip', 'removeVipVehicleBody', removeVipVehicleBody)
5537
+ const localVarPath = `/registered-vehicles/remove-vip/{id}`
5538
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5539
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5540
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5541
+ let baseOptions;
5542
+ if (configuration) {
5543
+ baseOptions = configuration.baseOptions;
5544
+ }
5545
+
5546
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5547
+ const localVarHeaderParameter = {} as any;
5548
+ const localVarQueryParameter = {} as any;
5549
+
5550
+
5551
+
5552
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5553
+
5554
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5555
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5556
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5557
+ localVarRequestOptions.data = serializeDataIfNeeded(removeVipVehicleBody, localVarRequestOptions, configuration)
5558
+
5559
+ return {
5560
+ url: toPathString(localVarUrlObj),
5561
+ options: localVarRequestOptions,
5562
+ };
5563
+ },
5564
+ /**
5565
+ *
5566
+ * @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
5567
+ * @param {string} [xAccountId]
5568
+ * @param {*} [options] Override http request option.
5569
+ * @throws {RequiredError}
5570
+ */
5571
+ registeredVehiclesUpdate: async (updateRegisteredVehicleBody: UpdateRegisteredVehicleBody, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5572
+ // verify required parameter 'updateRegisteredVehicleBody' is not null or undefined
5573
+ assertParamExists('registeredVehiclesUpdate', 'updateRegisteredVehicleBody', updateRegisteredVehicleBody)
5574
+ const localVarPath = `/registered-vehicles/update/{id}`;
5575
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5576
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5577
+ let baseOptions;
5578
+ if (configuration) {
5579
+ baseOptions = configuration.baseOptions;
5580
+ }
5581
+
5582
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
5583
+ const localVarHeaderParameter = {} as any;
5584
+ const localVarQueryParameter = {} as any;
5585
+
5586
+ if (xAccountId != null) {
5587
+ localVarHeaderParameter['x-account-id'] = String(xAccountId);
5588
+ }
4859
5589
 
4860
5590
 
4861
5591
 
@@ -5212,11 +5942,14 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5212
5942
  * @param {boolean} [hasTaxId]
5213
5943
  * @param {boolean} [receiptAddressInObk]
5214
5944
  * @param {boolean} [isActive]
5945
+ * @param {boolean} [ignoreStore2]
5946
+ * @param {boolean} [ocrVerified2]
5947
+ * @param {boolean} [convertDate2]
5215
5948
  * @param {*} [options] Override http request option.
5216
5949
  * @throws {RequiredError}
5217
5950
  */
5218
- async configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, ignoreStore?: boolean, ocrVerified?: boolean, convertDate?: boolean, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StoreWhitelistResponse>>> {
5219
- const localVarAxiosArgs = await localVarAxiosParamCreator.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options);
5951
+ async configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, ignoreStore?: boolean, ocrVerified?: boolean, convertDate?: boolean, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, ignoreStore2?: boolean, ocrVerified2?: boolean, convertDate2?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StoreWhitelistResponse>>> {
5952
+ const localVarAxiosArgs = await localVarAxiosParamCreator.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, ignoreStore2, ocrVerified2, convertDate2, options);
5220
5953
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5221
5954
  },
5222
5955
  /**
@@ -5284,6 +6017,24 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5284
6017
  const localVarAxiosArgs = await localVarAxiosParamCreator.parkingAddParkingTicket(id, platform, idType, xAccountId, options);
5285
6018
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5286
6019
  },
6020
+ /**
6021
+ *
6022
+ * @param {string} [orderBy]
6023
+ * @param {string} [orderDirection]
6024
+ * @param {number} [pageNumber]
6025
+ * @param {number} [pageSize]
6026
+ * @param {string} [filterBy]
6027
+ * @param {string} [filterKey]
6028
+ * @param {string} [startDate]
6029
+ * @param {string} [endDate]
6030
+ * @param {ParkingDetailStatus} [status]
6031
+ * @param {*} [options] Override http request option.
6032
+ * @throws {RequiredError}
6033
+ */
6034
+ async parkingDetailsExport(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<ResponseDataGetParkingDetailsExportResponseArray>> {
6035
+ const localVarAxiosArgs = await localVarAxiosParamCreator.parkingDetailsExport(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options);
6036
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6037
+ },
5287
6038
  /**
5288
6039
  *
5289
6040
  * @param {string} id
@@ -5378,11 +6129,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5378
6129
  /**
5379
6130
  *
5380
6131
  * @param {string} id
6132
+ * @param {ApproveReceiptBody} approveReceiptBody
5381
6133
  * @param {*} [options] Override http request option.
5382
6134
  * @throws {RequiredError}
5383
6135
  */
5384
- async receiptApproveReceipt(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
5385
- const localVarAxiosArgs = await localVarAxiosParamCreator.receiptApproveReceipt(id, options);
6136
+ async receiptApproveReceipt(id: string, approveReceiptBody: ApproveReceiptBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
6137
+ const localVarAxiosArgs = await localVarAxiosParamCreator.receiptApproveReceipt(id, approveReceiptBody, options);
5386
6138
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5387
6139
  },
5388
6140
  /**
@@ -5459,6 +6211,54 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5459
6211
  const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesGetVehiclesByAccount(xAccountId, options);
5460
6212
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5461
6213
  },
6214
+ /**
6215
+ *
6216
+ * @param {string} plateNo
6217
+ * @param {*} [options] Override http request option.
6218
+ * @throws {RequiredError}
6219
+ */
6220
+ async registeredVehiclesGetVehiclesByLicensePlate(plateNo: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
6221
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesGetVehiclesByLicensePlate(plateNo, options);
6222
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6223
+ },
6224
+ /**
6225
+ *
6226
+ * @param {string} [orderBy]
6227
+ * @param {string} [orderDirection]
6228
+ * @param {number} [pageNumber]
6229
+ * @param {number} [pageSize]
6230
+ * @param {string} [filterBy]
6231
+ * @param {string} [filterKey]
6232
+ * @param {string} [startDate]
6233
+ * @param {string} [endDate]
6234
+ * @param {boolean} [isVip]
6235
+ * @param {boolean} [isExport]
6236
+ * @param {*} [options] Override http request option.
6237
+ * @throws {RequiredError}
6238
+ */
6239
+ async registeredVehiclesHistoryIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, isVip?: boolean, isExport?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseDataRegisteredVehicleIndexResponseArray>> {
6240
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesHistoryIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, isVip, isExport, options);
6241
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6242
+ },
6243
+ /**
6244
+ *
6245
+ * @param {string} [orderBy]
6246
+ * @param {string} [orderDirection]
6247
+ * @param {number} [pageNumber]
6248
+ * @param {number} [pageSize]
6249
+ * @param {string} [filterBy]
6250
+ * @param {string} [filterKey]
6251
+ * @param {string} [startDate]
6252
+ * @param {string} [endDate]
6253
+ * @param {boolean} [isVip]
6254
+ * @param {boolean} [isExport]
6255
+ * @param {*} [options] Override http request option.
6256
+ * @throws {RequiredError}
6257
+ */
6258
+ async registeredVehiclesIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, isVip?: boolean, isExport?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseDataRegisteredVehicleIndexResponseArray>> {
6259
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, isVip, isExport, options);
6260
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6261
+ },
5462
6262
  /**
5463
6263
  *
5464
6264
  * @param {string} plateNo
@@ -5491,6 +6291,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5491
6291
  const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesRegister(createRegisteredVehicleBody, xAccountId, options);
5492
6292
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5493
6293
  },
6294
+ /**
6295
+ *
6296
+ * @param {string} id
6297
+ * @param {RemoveVipVehicleBody} removeVipVehicleBody
6298
+ * @param {*} [options] Override http request option.
6299
+ * @throws {RequiredError}
6300
+ */
6301
+ async registeredVehiclesRemoveVip(id: string, removeVipVehicleBody: RemoveVipVehicleBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
6302
+ const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesRemoveVip(id, removeVipVehicleBody, options);
6303
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6304
+ },
5494
6305
  /**
5495
6306
  *
5496
6307
  * @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
@@ -5716,11 +6527,14 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5716
6527
  * @param {boolean} [hasTaxId]
5717
6528
  * @param {boolean} [receiptAddressInObk]
5718
6529
  * @param {boolean} [isActive]
6530
+ * @param {boolean} [ignoreStore2]
6531
+ * @param {boolean} [ocrVerified2]
6532
+ * @param {boolean} [convertDate2]
5719
6533
  * @param {*} [options] Override http request option.
5720
6534
  * @throws {RequiredError}
5721
6535
  */
5722
- configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, ignoreStore?: boolean, ocrVerified?: boolean, convertDate?: boolean, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: any): AxiosPromise<Array<StoreWhitelistResponse>> {
5723
- return localVarFp.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(axios, basePath));
6536
+ configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, ignoreStore?: boolean, ocrVerified?: boolean, convertDate?: boolean, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, ignoreStore2?: boolean, ocrVerified2?: boolean, convertDate2?: boolean, options?: any): AxiosPromise<Array<StoreWhitelistResponse>> {
6537
+ return localVarFp.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, ignoreStore2, ocrVerified2, convertDate2, options).then((request) => request(axios, basePath));
5724
6538
  },
5725
6539
  /**
5726
6540
  *
@@ -5781,6 +6595,23 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5781
6595
  parkingAddParkingTicket(id: string, platform: AddParkingTicketType, idType: AddParkingTicketIdType, xAccountId?: string, options?: any): AxiosPromise<AddParkingTicketResponse> {
5782
6596
  return localVarFp.parkingAddParkingTicket(id, platform, idType, xAccountId, options).then((request) => request(axios, basePath));
5783
6597
  },
6598
+ /**
6599
+ *
6600
+ * @param {string} [orderBy]
6601
+ * @param {string} [orderDirection]
6602
+ * @param {number} [pageNumber]
6603
+ * @param {number} [pageSize]
6604
+ * @param {string} [filterBy]
6605
+ * @param {string} [filterKey]
6606
+ * @param {string} [startDate]
6607
+ * @param {string} [endDate]
6608
+ * @param {ParkingDetailStatus} [status]
6609
+ * @param {*} [options] Override http request option.
6610
+ * @throws {RequiredError}
6611
+ */
6612
+ parkingDetailsExport(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: any): AxiosPromise<ResponseDataGetParkingDetailsExportResponseArray> {
6613
+ return localVarFp.parkingDetailsExport(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options).then((request) => request(axios, basePath));
6614
+ },
5784
6615
  /**
5785
6616
  *
5786
6617
  * @param {string} id
@@ -5869,11 +6700,12 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5869
6700
  /**
5870
6701
  *
5871
6702
  * @param {string} id
6703
+ * @param {ApproveReceiptBody} approveReceiptBody
5872
6704
  * @param {*} [options] Override http request option.
5873
6705
  * @throws {RequiredError}
5874
6706
  */
5875
- receiptApproveReceipt(id: string, options?: any): AxiosPromise<boolean> {
5876
- return localVarFp.receiptApproveReceipt(id, options).then((request) => request(axios, basePath));
6707
+ receiptApproveReceipt(id: string, approveReceiptBody: ApproveReceiptBody, options?: any): AxiosPromise<boolean> {
6708
+ return localVarFp.receiptApproveReceipt(id, approveReceiptBody, options).then((request) => request(axios, basePath));
5877
6709
  },
5878
6710
  /**
5879
6711
  *
@@ -5942,6 +6774,51 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5942
6774
  registeredVehiclesGetVehiclesByAccount(xAccountId?: string, options?: any): AxiosPromise<Array<RegisteredVehicleIndexResponse>> {
5943
6775
  return localVarFp.registeredVehiclesGetVehiclesByAccount(xAccountId, options).then((request) => request(axios, basePath));
5944
6776
  },
6777
+ /**
6778
+ *
6779
+ * @param {string} plateNo
6780
+ * @param {*} [options] Override http request option.
6781
+ * @throws {RequiredError}
6782
+ */
6783
+ registeredVehiclesGetVehiclesByLicensePlate(plateNo: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
6784
+ return localVarFp.registeredVehiclesGetVehiclesByLicensePlate(plateNo, options).then((request) => request(axios, basePath));
6785
+ },
6786
+ /**
6787
+ *
6788
+ * @param {string} [orderBy]
6789
+ * @param {string} [orderDirection]
6790
+ * @param {number} [pageNumber]
6791
+ * @param {number} [pageSize]
6792
+ * @param {string} [filterBy]
6793
+ * @param {string} [filterKey]
6794
+ * @param {string} [startDate]
6795
+ * @param {string} [endDate]
6796
+ * @param {boolean} [isVip]
6797
+ * @param {boolean} [isExport]
6798
+ * @param {*} [options] Override http request option.
6799
+ * @throws {RequiredError}
6800
+ */
6801
+ registeredVehiclesHistoryIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, isVip?: boolean, isExport?: boolean, options?: any): AxiosPromise<ResponseDataRegisteredVehicleIndexResponseArray> {
6802
+ return localVarFp.registeredVehiclesHistoryIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, isVip, isExport, options).then((request) => request(axios, basePath));
6803
+ },
6804
+ /**
6805
+ *
6806
+ * @param {string} [orderBy]
6807
+ * @param {string} [orderDirection]
6808
+ * @param {number} [pageNumber]
6809
+ * @param {number} [pageSize]
6810
+ * @param {string} [filterBy]
6811
+ * @param {string} [filterKey]
6812
+ * @param {string} [startDate]
6813
+ * @param {string} [endDate]
6814
+ * @param {boolean} [isVip]
6815
+ * @param {boolean} [isExport]
6816
+ * @param {*} [options] Override http request option.
6817
+ * @throws {RequiredError}
6818
+ */
6819
+ registeredVehiclesIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, isVip?: boolean, isExport?: boolean, options?: any): AxiosPromise<ResponseDataRegisteredVehicleIndexResponseArray> {
6820
+ return localVarFp.registeredVehiclesIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, isVip, isExport, options).then((request) => request(axios, basePath));
6821
+ },
5945
6822
  /**
5946
6823
  *
5947
6824
  * @param {string} plateNo
@@ -5971,6 +6848,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5971
6848
  registeredVehiclesRegister(createRegisteredVehicleBody: CreateRegisteredVehicleBody, xAccountId?: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
5972
6849
  return localVarFp.registeredVehiclesRegister(createRegisteredVehicleBody, xAccountId, options).then((request) => request(axios, basePath));
5973
6850
  },
6851
+ /**
6852
+ *
6853
+ * @param {string} id
6854
+ * @param {RemoveVipVehicleBody} removeVipVehicleBody
6855
+ * @param {*} [options] Override http request option.
6856
+ * @throws {RequiredError}
6857
+ */
6858
+ registeredVehiclesRemoveVip(id: string, removeVipVehicleBody: RemoveVipVehicleBody, options?: any): AxiosPromise<RegisteredVehicleResponse> {
6859
+ return localVarFp.registeredVehiclesRemoveVip(id, removeVipVehicleBody, options).then((request) => request(axios, basePath));
6860
+ },
5974
6861
  /**
5975
6862
  *
5976
6863
  * @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody
@@ -6220,12 +7107,15 @@ export class DefaultApi extends BaseAPI {
6220
7107
  * @param {boolean} [hasTaxId]
6221
7108
  * @param {boolean} [receiptAddressInObk]
6222
7109
  * @param {boolean} [isActive]
7110
+ * @param {boolean} [ignoreStore2]
7111
+ * @param {boolean} [ocrVerified2]
7112
+ * @param {boolean} [convertDate2]
6223
7113
  * @param {*} [options] Override http request option.
6224
7114
  * @throws {RequiredError}
6225
7115
  * @memberof DefaultApi
6226
7116
  */
6227
- public configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, ignoreStore?: boolean, ocrVerified?: boolean, convertDate?: boolean, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: AxiosRequestConfig) {
6228
- return DefaultApiFp(this.configuration).configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(this.axios, this.basePath));
7117
+ public configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, ignoreStore?: boolean, ocrVerified?: boolean, convertDate?: boolean, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, ignoreStore2?: boolean, ocrVerified2?: boolean, convertDate2?: boolean, options?: AxiosRequestConfig) {
7118
+ return DefaultApiFp(this.configuration).configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, ignoreStore2, ocrVerified2, convertDate2, options).then((request) => request(this.axios, this.basePath));
6229
7119
  }
6230
7120
 
6231
7121
  /**
@@ -6299,6 +7189,25 @@ export class DefaultApi extends BaseAPI {
6299
7189
  return DefaultApiFp(this.configuration).parkingAddParkingTicket(id, platform, idType, xAccountId, options).then((request) => request(this.axios, this.basePath));
6300
7190
  }
6301
7191
 
7192
+ /**
7193
+ *
7194
+ * @param {string} [orderBy]
7195
+ * @param {string} [orderDirection]
7196
+ * @param {number} [pageNumber]
7197
+ * @param {number} [pageSize]
7198
+ * @param {string} [filterBy]
7199
+ * @param {string} [filterKey]
7200
+ * @param {string} [startDate]
7201
+ * @param {string} [endDate]
7202
+ * @param {ParkingDetailStatus} [status]
7203
+ * @param {*} [options] Override http request option.
7204
+ * @throws {RequiredError}
7205
+ * @memberof DefaultApi
7206
+ */
7207
+ public parkingDetailsExport(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: AxiosRequestConfig) {
7208
+ return DefaultApiFp(this.configuration).parkingDetailsExport(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options).then((request) => request(this.axios, this.basePath));
7209
+ }
7210
+
6302
7211
  /**
6303
7212
  *
6304
7213
  * @param {string} id
@@ -6399,12 +7308,13 @@ export class DefaultApi extends BaseAPI {
6399
7308
  /**
6400
7309
  *
6401
7310
  * @param {string} id
7311
+ * @param {ApproveReceiptBody} approveReceiptBody
6402
7312
  * @param {*} [options] Override http request option.
6403
7313
  * @throws {RequiredError}
6404
7314
  * @memberof DefaultApi
6405
7315
  */
6406
- public receiptApproveReceipt(id: string, options?: AxiosRequestConfig) {
6407
- return DefaultApiFp(this.configuration).receiptApproveReceipt(id, options).then((request) => request(this.axios, this.basePath));
7316
+ public receiptApproveReceipt(id: string, approveReceiptBody: ApproveReceiptBody, options?: AxiosRequestConfig) {
7317
+ return DefaultApiFp(this.configuration).receiptApproveReceipt(id, approveReceiptBody, options).then((request) => request(this.axios, this.basePath));
6408
7318
  }
6409
7319
 
6410
7320
  /**
@@ -6488,6 +7398,57 @@ export class DefaultApi extends BaseAPI {
6488
7398
  return DefaultApiFp(this.configuration).registeredVehiclesGetVehiclesByAccount(xAccountId, options).then((request) => request(this.axios, this.basePath));
6489
7399
  }
6490
7400
 
7401
+ /**
7402
+ *
7403
+ * @param {string} plateNo
7404
+ * @param {*} [options] Override http request option.
7405
+ * @throws {RequiredError}
7406
+ * @memberof DefaultApi
7407
+ */
7408
+ public registeredVehiclesGetVehiclesByLicensePlate(plateNo: string, options?: AxiosRequestConfig) {
7409
+ return DefaultApiFp(this.configuration).registeredVehiclesGetVehiclesByLicensePlate(plateNo, options).then((request) => request(this.axios, this.basePath));
7410
+ }
7411
+
7412
+ /**
7413
+ *
7414
+ * @param {string} [orderBy]
7415
+ * @param {string} [orderDirection]
7416
+ * @param {number} [pageNumber]
7417
+ * @param {number} [pageSize]
7418
+ * @param {string} [filterBy]
7419
+ * @param {string} [filterKey]
7420
+ * @param {string} [startDate]
7421
+ * @param {string} [endDate]
7422
+ * @param {boolean} [isVip]
7423
+ * @param {boolean} [isExport]
7424
+ * @param {*} [options] Override http request option.
7425
+ * @throws {RequiredError}
7426
+ * @memberof DefaultApi
7427
+ */
7428
+ public registeredVehiclesHistoryIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, isVip?: boolean, isExport?: boolean, options?: AxiosRequestConfig) {
7429
+ return DefaultApiFp(this.configuration).registeredVehiclesHistoryIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, isVip, isExport, options).then((request) => request(this.axios, this.basePath));
7430
+ }
7431
+
7432
+ /**
7433
+ *
7434
+ * @param {string} [orderBy]
7435
+ * @param {string} [orderDirection]
7436
+ * @param {number} [pageNumber]
7437
+ * @param {number} [pageSize]
7438
+ * @param {string} [filterBy]
7439
+ * @param {string} [filterKey]
7440
+ * @param {string} [startDate]
7441
+ * @param {string} [endDate]
7442
+ * @param {boolean} [isVip]
7443
+ * @param {boolean} [isExport]
7444
+ * @param {*} [options] Override http request option.
7445
+ * @throws {RequiredError}
7446
+ * @memberof DefaultApi
7447
+ */
7448
+ public registeredVehiclesIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, isVip?: boolean, isExport?: boolean, options?: AxiosRequestConfig) {
7449
+ return DefaultApiFp(this.configuration).registeredVehiclesIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, isVip, isExport, options).then((request) => request(this.axios, this.basePath));
7450
+ }
7451
+
6491
7452
  /**
6492
7453
  *
6493
7454
  * @param {string} plateNo
@@ -6523,6 +7484,18 @@ export class DefaultApi extends BaseAPI {
6523
7484
  return DefaultApiFp(this.configuration).registeredVehiclesRegister(createRegisteredVehicleBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
6524
7485
  }
6525
7486
 
7487
+ /**
7488
+ *
7489
+ * @param {string} id
7490
+ * @param {RemoveVipVehicleBody} removeVipVehicleBody
7491
+ * @param {*} [options] Override http request option.
7492
+ * @throws {RequiredError}
7493
+ * @memberof DefaultApi
7494
+ */
7495
+ public registeredVehiclesRemoveVip(id: string, removeVipVehicleBody: RemoveVipVehicleBody, options?: AxiosRequestConfig) {
7496
+ return DefaultApiFp(this.configuration).registeredVehiclesRemoveVip(id, removeVipVehicleBody, options).then((request) => request(this.axios, this.basePath));
7497
+ }
7498
+
6526
7499
  /**
6527
7500
  *
6528
7501
  * @param {UpdateRegisteredVehicleBody} updateRegisteredVehicleBody