ob-parking-sdk 0.0.63 → 0.0.64
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 +476 -46
- package/dist/api/api.d.ts +358 -31
- package/dist/api/api.js +202 -28
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -106,7 +106,7 @@ export interface AddConfigStoreWhitelist {
|
|
|
106
106
|
* @type {boolean}
|
|
107
107
|
* @memberof AddConfigStoreWhitelist
|
|
108
108
|
*/
|
|
109
|
-
'
|
|
109
|
+
'check_handwriting': boolean;
|
|
110
110
|
/**
|
|
111
111
|
*
|
|
112
112
|
* @type {boolean}
|
|
@@ -563,52 +563,52 @@ export interface ConfigStoreWhitelistQuery {
|
|
|
563
563
|
'property_id'?: string;
|
|
564
564
|
/**
|
|
565
565
|
*
|
|
566
|
-
* @type {
|
|
566
|
+
* @type {string}
|
|
567
567
|
* @memberof ConfigStoreWhitelistQuery
|
|
568
568
|
*/
|
|
569
|
-
'
|
|
569
|
+
'sort_key'?: string;
|
|
570
570
|
/**
|
|
571
571
|
*
|
|
572
|
-
* @type {
|
|
572
|
+
* @type {string}
|
|
573
573
|
* @memberof ConfigStoreWhitelistQuery
|
|
574
574
|
*/
|
|
575
|
-
'
|
|
575
|
+
'sort_direction'?: string;
|
|
576
576
|
/**
|
|
577
577
|
*
|
|
578
578
|
* @type {boolean}
|
|
579
579
|
* @memberof ConfigStoreWhitelistQuery
|
|
580
580
|
*/
|
|
581
|
-
'
|
|
581
|
+
'has_tax_id'?: boolean;
|
|
582
582
|
/**
|
|
583
583
|
*
|
|
584
|
-
* @type {
|
|
584
|
+
* @type {boolean}
|
|
585
585
|
* @memberof ConfigStoreWhitelistQuery
|
|
586
586
|
*/
|
|
587
|
-
'
|
|
587
|
+
'receipt_address_in_obk'?: boolean;
|
|
588
588
|
/**
|
|
589
589
|
*
|
|
590
|
-
* @type {
|
|
590
|
+
* @type {boolean}
|
|
591
591
|
* @memberof ConfigStoreWhitelistQuery
|
|
592
592
|
*/
|
|
593
|
-
'
|
|
593
|
+
'is_active'?: boolean;
|
|
594
594
|
/**
|
|
595
595
|
*
|
|
596
596
|
* @type {boolean}
|
|
597
597
|
* @memberof ConfigStoreWhitelistQuery
|
|
598
598
|
*/
|
|
599
|
-
'
|
|
599
|
+
'check_handwriting'?: boolean;
|
|
600
600
|
/**
|
|
601
601
|
*
|
|
602
602
|
* @type {boolean}
|
|
603
603
|
* @memberof ConfigStoreWhitelistQuery
|
|
604
604
|
*/
|
|
605
|
-
'
|
|
605
|
+
'ocr_verified'?: boolean;
|
|
606
606
|
/**
|
|
607
607
|
*
|
|
608
608
|
* @type {boolean}
|
|
609
609
|
* @memberof ConfigStoreWhitelistQuery
|
|
610
610
|
*/
|
|
611
|
-
'
|
|
611
|
+
'convert_date'?: boolean;
|
|
612
612
|
}
|
|
613
613
|
/**
|
|
614
614
|
*
|
|
@@ -713,6 +713,69 @@ export const EngineType = {
|
|
|
713
713
|
export type EngineType = typeof EngineType[keyof typeof EngineType];
|
|
714
714
|
|
|
715
715
|
|
|
716
|
+
/**
|
|
717
|
+
*
|
|
718
|
+
* @export
|
|
719
|
+
* @interface ExportParkingDetailIndexQuery
|
|
720
|
+
*/
|
|
721
|
+
export interface ExportParkingDetailIndexQuery {
|
|
722
|
+
/**
|
|
723
|
+
*
|
|
724
|
+
* @type {string}
|
|
725
|
+
* @memberof ExportParkingDetailIndexQuery
|
|
726
|
+
*/
|
|
727
|
+
'order_by'?: string;
|
|
728
|
+
/**
|
|
729
|
+
*
|
|
730
|
+
* @type {string}
|
|
731
|
+
* @memberof ExportParkingDetailIndexQuery
|
|
732
|
+
*/
|
|
733
|
+
'order_direction'?: string;
|
|
734
|
+
/**
|
|
735
|
+
*
|
|
736
|
+
* @type {number}
|
|
737
|
+
* @memberof ExportParkingDetailIndexQuery
|
|
738
|
+
*/
|
|
739
|
+
'page_number'?: number;
|
|
740
|
+
/**
|
|
741
|
+
*
|
|
742
|
+
* @type {number}
|
|
743
|
+
* @memberof ExportParkingDetailIndexQuery
|
|
744
|
+
*/
|
|
745
|
+
'page_size'?: number;
|
|
746
|
+
/**
|
|
747
|
+
*
|
|
748
|
+
* @type {string}
|
|
749
|
+
* @memberof ExportParkingDetailIndexQuery
|
|
750
|
+
*/
|
|
751
|
+
'filter_by'?: string;
|
|
752
|
+
/**
|
|
753
|
+
*
|
|
754
|
+
* @type {string}
|
|
755
|
+
* @memberof ExportParkingDetailIndexQuery
|
|
756
|
+
*/
|
|
757
|
+
'filter_key'?: string;
|
|
758
|
+
/**
|
|
759
|
+
*
|
|
760
|
+
* @type {string}
|
|
761
|
+
* @memberof ExportParkingDetailIndexQuery
|
|
762
|
+
*/
|
|
763
|
+
'startDate'?: string;
|
|
764
|
+
/**
|
|
765
|
+
*
|
|
766
|
+
* @type {string}
|
|
767
|
+
* @memberof ExportParkingDetailIndexQuery
|
|
768
|
+
*/
|
|
769
|
+
'endDate'?: string;
|
|
770
|
+
/**
|
|
771
|
+
*
|
|
772
|
+
* @type {ParkingDetailStatus}
|
|
773
|
+
* @memberof ExportParkingDetailIndexQuery
|
|
774
|
+
*/
|
|
775
|
+
'status'?: ParkingDetailStatus;
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
|
|
716
779
|
/**
|
|
717
780
|
*
|
|
718
781
|
* @export
|
|
@@ -1411,6 +1474,163 @@ export interface GetParkingDetailResponseRateDetail {
|
|
|
1411
1474
|
*/
|
|
1412
1475
|
'en': string;
|
|
1413
1476
|
}
|
|
1477
|
+
/**
|
|
1478
|
+
*
|
|
1479
|
+
* @export
|
|
1480
|
+
* @interface GetParkingDetailsExportResponse
|
|
1481
|
+
*/
|
|
1482
|
+
export interface GetParkingDetailsExportResponse {
|
|
1483
|
+
/**
|
|
1484
|
+
*
|
|
1485
|
+
* @type {string}
|
|
1486
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1487
|
+
*/
|
|
1488
|
+
'record_id': string;
|
|
1489
|
+
/**
|
|
1490
|
+
*
|
|
1491
|
+
* @type {string}
|
|
1492
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1493
|
+
*/
|
|
1494
|
+
'parking_ticket_id': string;
|
|
1495
|
+
/**
|
|
1496
|
+
*
|
|
1497
|
+
* @type {string}
|
|
1498
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1499
|
+
*/
|
|
1500
|
+
'vehicle_entry': string;
|
|
1501
|
+
/**
|
|
1502
|
+
*
|
|
1503
|
+
* @type {string}
|
|
1504
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1505
|
+
*/
|
|
1506
|
+
'vehicle_exit': string;
|
|
1507
|
+
/**
|
|
1508
|
+
*
|
|
1509
|
+
* @type {string}
|
|
1510
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1511
|
+
*/
|
|
1512
|
+
'total_time': string;
|
|
1513
|
+
/**
|
|
1514
|
+
*
|
|
1515
|
+
* @type {string}
|
|
1516
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1517
|
+
*/
|
|
1518
|
+
'license_plate': string;
|
|
1519
|
+
/**
|
|
1520
|
+
*
|
|
1521
|
+
* @type {string}
|
|
1522
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1523
|
+
*/
|
|
1524
|
+
'user_id': string;
|
|
1525
|
+
/**
|
|
1526
|
+
*
|
|
1527
|
+
* @type {string}
|
|
1528
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1529
|
+
*/
|
|
1530
|
+
'username': string;
|
|
1531
|
+
/**
|
|
1532
|
+
*
|
|
1533
|
+
* @type {string}
|
|
1534
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1535
|
+
*/
|
|
1536
|
+
'channel': string;
|
|
1537
|
+
/**
|
|
1538
|
+
*
|
|
1539
|
+
* @type {string}
|
|
1540
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1541
|
+
*/
|
|
1542
|
+
'shop_name': string;
|
|
1543
|
+
/**
|
|
1544
|
+
*
|
|
1545
|
+
* @type {string}
|
|
1546
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1547
|
+
*/
|
|
1548
|
+
'total_spent': string;
|
|
1549
|
+
/**
|
|
1550
|
+
*
|
|
1551
|
+
* @type {string}
|
|
1552
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1553
|
+
*/
|
|
1554
|
+
'import_at': string;
|
|
1555
|
+
/**
|
|
1556
|
+
*
|
|
1557
|
+
* @type {string}
|
|
1558
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1559
|
+
*/
|
|
1560
|
+
'rate_detail': string;
|
|
1561
|
+
/**
|
|
1562
|
+
*
|
|
1563
|
+
* @type {string}
|
|
1564
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1565
|
+
*/
|
|
1566
|
+
'receipt_no': string;
|
|
1567
|
+
/**
|
|
1568
|
+
*
|
|
1569
|
+
* @type {string}
|
|
1570
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1571
|
+
*/
|
|
1572
|
+
'sub_total': string;
|
|
1573
|
+
/**
|
|
1574
|
+
*
|
|
1575
|
+
* @type {string}
|
|
1576
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1577
|
+
*/
|
|
1578
|
+
'receipt_status': string;
|
|
1579
|
+
/**
|
|
1580
|
+
*
|
|
1581
|
+
* @type {string}
|
|
1582
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1583
|
+
*/
|
|
1584
|
+
'reason': string;
|
|
1585
|
+
/**
|
|
1586
|
+
*
|
|
1587
|
+
* @type {string}
|
|
1588
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1589
|
+
*/
|
|
1590
|
+
'redeem_at': string;
|
|
1591
|
+
/**
|
|
1592
|
+
*
|
|
1593
|
+
* @type {string}
|
|
1594
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1595
|
+
*/
|
|
1596
|
+
'image_url': string;
|
|
1597
|
+
/**
|
|
1598
|
+
*
|
|
1599
|
+
* @type {string}
|
|
1600
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1601
|
+
*/
|
|
1602
|
+
'redeem_by': string;
|
|
1603
|
+
/**
|
|
1604
|
+
*
|
|
1605
|
+
* @type {string}
|
|
1606
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1607
|
+
*/
|
|
1608
|
+
'counter': string;
|
|
1609
|
+
/**
|
|
1610
|
+
*
|
|
1611
|
+
* @type {string}
|
|
1612
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1613
|
+
*/
|
|
1614
|
+
'parking_sub_total': string;
|
|
1615
|
+
/**
|
|
1616
|
+
*
|
|
1617
|
+
* @type {string}
|
|
1618
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1619
|
+
*/
|
|
1620
|
+
'parking_discount': string;
|
|
1621
|
+
/**
|
|
1622
|
+
*
|
|
1623
|
+
* @type {string}
|
|
1624
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1625
|
+
*/
|
|
1626
|
+
'parking_fee': string;
|
|
1627
|
+
/**
|
|
1628
|
+
*
|
|
1629
|
+
* @type {string}
|
|
1630
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1631
|
+
*/
|
|
1632
|
+
'ocr_extract': string;
|
|
1633
|
+
}
|
|
1414
1634
|
/**
|
|
1415
1635
|
*
|
|
1416
1636
|
* @export
|
|
@@ -2622,6 +2842,25 @@ export interface ResponseDataGetParkingDetailResponse {
|
|
|
2622
2842
|
*/
|
|
2623
2843
|
'pagination'?: Pagination;
|
|
2624
2844
|
}
|
|
2845
|
+
/**
|
|
2846
|
+
*
|
|
2847
|
+
* @export
|
|
2848
|
+
* @interface ResponseDataGetParkingDetailsExportResponseArray
|
|
2849
|
+
*/
|
|
2850
|
+
export interface ResponseDataGetParkingDetailsExportResponseArray {
|
|
2851
|
+
/**
|
|
2852
|
+
*
|
|
2853
|
+
* @type {Array<GetParkingDetailsExportResponse>}
|
|
2854
|
+
* @memberof ResponseDataGetParkingDetailsExportResponseArray
|
|
2855
|
+
*/
|
|
2856
|
+
'data': Array<GetParkingDetailsExportResponse>;
|
|
2857
|
+
/**
|
|
2858
|
+
*
|
|
2859
|
+
* @type {Pagination}
|
|
2860
|
+
* @memberof ResponseDataGetParkingDetailsExportResponseArray
|
|
2861
|
+
*/
|
|
2862
|
+
'pagination'?: Pagination;
|
|
2863
|
+
}
|
|
2625
2864
|
/**
|
|
2626
2865
|
*
|
|
2627
2866
|
* @export
|
|
@@ -2670,7 +2909,7 @@ export interface StoreWhitelistResponse {
|
|
|
2670
2909
|
* @type {boolean}
|
|
2671
2910
|
* @memberof StoreWhitelistResponse
|
|
2672
2911
|
*/
|
|
2673
|
-
'
|
|
2912
|
+
'check_handwriting': boolean;
|
|
2674
2913
|
/**
|
|
2675
2914
|
*
|
|
2676
2915
|
* @type {boolean}
|
|
@@ -2817,7 +3056,7 @@ export interface UpdateConfigStoreWhitelist {
|
|
|
2817
3056
|
* @type {boolean}
|
|
2818
3057
|
* @memberof UpdateConfigStoreWhitelist
|
|
2819
3058
|
*/
|
|
2820
|
-
'
|
|
3059
|
+
'check_handwriting': boolean;
|
|
2821
3060
|
/**
|
|
2822
3061
|
*
|
|
2823
3062
|
* @type {string}
|
|
@@ -3714,18 +3953,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3714
3953
|
* @param {string} [updatedAt]
|
|
3715
3954
|
* @param {string} [propertyName]
|
|
3716
3955
|
* @param {string} [propertyId]
|
|
3717
|
-
* @param {boolean} [ignoreStore]
|
|
3718
|
-
* @param {boolean} [ocrVerified]
|
|
3719
|
-
* @param {boolean} [convertDate]
|
|
3720
3956
|
* @param {string} [sortKey]
|
|
3721
3957
|
* @param {string} [sortDirection]
|
|
3722
3958
|
* @param {boolean} [hasTaxId]
|
|
3723
3959
|
* @param {boolean} [receiptAddressInObk]
|
|
3724
3960
|
* @param {boolean} [isActive]
|
|
3961
|
+
* @param {boolean} [checkHandwriting]
|
|
3962
|
+
* @param {boolean} [ocrVerified]
|
|
3963
|
+
* @param {boolean} [convertDate]
|
|
3725
3964
|
* @param {*} [options] Override http request option.
|
|
3726
3965
|
* @throws {RequiredError}
|
|
3727
3966
|
*/
|
|
3728
|
-
configStoreWhitelistIndex: async (taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string,
|
|
3967
|
+
configStoreWhitelistIndex: async (taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, checkHandwriting?: boolean, ocrVerified?: boolean, convertDate?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3729
3968
|
const localVarPath = `/config/store/whitelist`;
|
|
3730
3969
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3731
3970
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -3782,18 +4021,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3782
4021
|
localVarQueryParameter['property_id'] = propertyId;
|
|
3783
4022
|
}
|
|
3784
4023
|
|
|
3785
|
-
if (ignoreStore !== undefined) {
|
|
3786
|
-
localVarQueryParameter['ignore_store'] = ignoreStore;
|
|
3787
|
-
}
|
|
3788
|
-
|
|
3789
|
-
if (ocrVerified !== undefined) {
|
|
3790
|
-
localVarQueryParameter['ocr_verified'] = ocrVerified;
|
|
3791
|
-
}
|
|
3792
|
-
|
|
3793
|
-
if (convertDate !== undefined) {
|
|
3794
|
-
localVarQueryParameter['convert_date'] = convertDate;
|
|
3795
|
-
}
|
|
3796
|
-
|
|
3797
4024
|
if (sortKey !== undefined) {
|
|
3798
4025
|
localVarQueryParameter['sort_key'] = sortKey;
|
|
3799
4026
|
}
|
|
@@ -3814,6 +4041,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3814
4041
|
localVarQueryParameter['is_active'] = isActive;
|
|
3815
4042
|
}
|
|
3816
4043
|
|
|
4044
|
+
if (checkHandwriting !== undefined) {
|
|
4045
|
+
localVarQueryParameter['check_handwriting'] = checkHandwriting;
|
|
4046
|
+
}
|
|
4047
|
+
|
|
4048
|
+
if (ocrVerified !== undefined) {
|
|
4049
|
+
localVarQueryParameter['ocr_verified'] = ocrVerified;
|
|
4050
|
+
}
|
|
4051
|
+
|
|
4052
|
+
if (convertDate !== undefined) {
|
|
4053
|
+
localVarQueryParameter['convert_date'] = convertDate;
|
|
4054
|
+
}
|
|
4055
|
+
|
|
3817
4056
|
|
|
3818
4057
|
|
|
3819
4058
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -4050,6 +4289,80 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4050
4289
|
|
|
4051
4290
|
|
|
4052
4291
|
|
|
4292
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4293
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4294
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4295
|
+
|
|
4296
|
+
return {
|
|
4297
|
+
url: toPathString(localVarUrlObj),
|
|
4298
|
+
options: localVarRequestOptions,
|
|
4299
|
+
};
|
|
4300
|
+
},
|
|
4301
|
+
/**
|
|
4302
|
+
*
|
|
4303
|
+
* @param {string} [orderBy]
|
|
4304
|
+
* @param {string} [orderDirection]
|
|
4305
|
+
* @param {number} [pageNumber]
|
|
4306
|
+
* @param {number} [pageSize]
|
|
4307
|
+
* @param {string} [filterBy]
|
|
4308
|
+
* @param {string} [filterKey]
|
|
4309
|
+
* @param {string} [startDate]
|
|
4310
|
+
* @param {string} [endDate]
|
|
4311
|
+
* @param {ParkingDetailStatus} [status]
|
|
4312
|
+
* @param {*} [options] Override http request option.
|
|
4313
|
+
* @throws {RequiredError}
|
|
4314
|
+
*/
|
|
4315
|
+
parkingDetailsExport: async (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4316
|
+
const localVarPath = `/parking-details/export`;
|
|
4317
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4318
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4319
|
+
let baseOptions;
|
|
4320
|
+
if (configuration) {
|
|
4321
|
+
baseOptions = configuration.baseOptions;
|
|
4322
|
+
}
|
|
4323
|
+
|
|
4324
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4325
|
+
const localVarHeaderParameter = {} as any;
|
|
4326
|
+
const localVarQueryParameter = {} as any;
|
|
4327
|
+
|
|
4328
|
+
if (orderBy !== undefined) {
|
|
4329
|
+
localVarQueryParameter['order_by'] = orderBy;
|
|
4330
|
+
}
|
|
4331
|
+
|
|
4332
|
+
if (orderDirection !== undefined) {
|
|
4333
|
+
localVarQueryParameter['order_direction'] = orderDirection;
|
|
4334
|
+
}
|
|
4335
|
+
|
|
4336
|
+
if (pageNumber !== undefined) {
|
|
4337
|
+
localVarQueryParameter['page_number'] = pageNumber;
|
|
4338
|
+
}
|
|
4339
|
+
|
|
4340
|
+
if (pageSize !== undefined) {
|
|
4341
|
+
localVarQueryParameter['page_size'] = pageSize;
|
|
4342
|
+
}
|
|
4343
|
+
|
|
4344
|
+
if (filterBy !== undefined) {
|
|
4345
|
+
localVarQueryParameter['filter_by'] = filterBy;
|
|
4346
|
+
}
|
|
4347
|
+
|
|
4348
|
+
if (filterKey !== undefined) {
|
|
4349
|
+
localVarQueryParameter['filter_key'] = filterKey;
|
|
4350
|
+
}
|
|
4351
|
+
|
|
4352
|
+
if (startDate !== undefined) {
|
|
4353
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
4354
|
+
}
|
|
4355
|
+
|
|
4356
|
+
if (endDate !== undefined) {
|
|
4357
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
4358
|
+
}
|
|
4359
|
+
|
|
4360
|
+
if (status !== undefined) {
|
|
4361
|
+
localVarQueryParameter['status'] = status;
|
|
4362
|
+
}
|
|
4363
|
+
|
|
4364
|
+
|
|
4365
|
+
|
|
4053
4366
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4054
4367
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4055
4368
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4699,6 +5012,39 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4699
5012
|
|
|
4700
5013
|
|
|
4701
5014
|
|
|
5015
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5016
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5017
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5018
|
+
|
|
5019
|
+
return {
|
|
5020
|
+
url: toPathString(localVarUrlObj),
|
|
5021
|
+
options: localVarRequestOptions,
|
|
5022
|
+
};
|
|
5023
|
+
},
|
|
5024
|
+
/**
|
|
5025
|
+
*
|
|
5026
|
+
* @param {string} plateNo
|
|
5027
|
+
* @param {*} [options] Override http request option.
|
|
5028
|
+
* @throws {RequiredError}
|
|
5029
|
+
*/
|
|
5030
|
+
registeredVehiclesGetVehiclesByLicensePlate: async (plateNo: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5031
|
+
// verify required parameter 'plateNo' is not null or undefined
|
|
5032
|
+
assertParamExists('registeredVehiclesGetVehiclesByLicensePlate', 'plateNo', plateNo)
|
|
5033
|
+
const localVarPath = `/registered-vehicles/license-plate/{plate_no}`
|
|
5034
|
+
.replace(`{${"plate_no"}}`, encodeURIComponent(String(plateNo)));
|
|
5035
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5036
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5037
|
+
let baseOptions;
|
|
5038
|
+
if (configuration) {
|
|
5039
|
+
baseOptions = configuration.baseOptions;
|
|
5040
|
+
}
|
|
5041
|
+
|
|
5042
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5043
|
+
const localVarHeaderParameter = {} as any;
|
|
5044
|
+
const localVarQueryParameter = {} as any;
|
|
5045
|
+
|
|
5046
|
+
|
|
5047
|
+
|
|
4702
5048
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4703
5049
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4704
5050
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5160,19 +5506,19 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
5160
5506
|
* @param {string} [updatedAt]
|
|
5161
5507
|
* @param {string} [propertyName]
|
|
5162
5508
|
* @param {string} [propertyId]
|
|
5163
|
-
* @param {boolean} [ignoreStore]
|
|
5164
|
-
* @param {boolean} [ocrVerified]
|
|
5165
|
-
* @param {boolean} [convertDate]
|
|
5166
5509
|
* @param {string} [sortKey]
|
|
5167
5510
|
* @param {string} [sortDirection]
|
|
5168
5511
|
* @param {boolean} [hasTaxId]
|
|
5169
5512
|
* @param {boolean} [receiptAddressInObk]
|
|
5170
5513
|
* @param {boolean} [isActive]
|
|
5514
|
+
* @param {boolean} [checkHandwriting]
|
|
5515
|
+
* @param {boolean} [ocrVerified]
|
|
5516
|
+
* @param {boolean} [convertDate]
|
|
5171
5517
|
* @param {*} [options] Override http request option.
|
|
5172
5518
|
* @throws {RequiredError}
|
|
5173
5519
|
*/
|
|
5174
|
-
async configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string,
|
|
5175
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId,
|
|
5520
|
+
async configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, checkHandwriting?: boolean, ocrVerified?: boolean, convertDate?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StoreWhitelistResponse>>> {
|
|
5521
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, checkHandwriting, ocrVerified, convertDate, options);
|
|
5176
5522
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5177
5523
|
},
|
|
5178
5524
|
/**
|
|
@@ -5240,6 +5586,24 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
5240
5586
|
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingAddParkingTicket(id, platform, idType, xAccountId, options);
|
|
5241
5587
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5242
5588
|
},
|
|
5589
|
+
/**
|
|
5590
|
+
*
|
|
5591
|
+
* @param {string} [orderBy]
|
|
5592
|
+
* @param {string} [orderDirection]
|
|
5593
|
+
* @param {number} [pageNumber]
|
|
5594
|
+
* @param {number} [pageSize]
|
|
5595
|
+
* @param {string} [filterBy]
|
|
5596
|
+
* @param {string} [filterKey]
|
|
5597
|
+
* @param {string} [startDate]
|
|
5598
|
+
* @param {string} [endDate]
|
|
5599
|
+
* @param {ParkingDetailStatus} [status]
|
|
5600
|
+
* @param {*} [options] Override http request option.
|
|
5601
|
+
* @throws {RequiredError}
|
|
5602
|
+
*/
|
|
5603
|
+
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>> {
|
|
5604
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingDetailsExport(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options);
|
|
5605
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5606
|
+
},
|
|
5243
5607
|
/**
|
|
5244
5608
|
*
|
|
5245
5609
|
* @param {string} id
|
|
@@ -5415,6 +5779,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
5415
5779
|
const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesGetVehiclesByAccount(xAccountId, options);
|
|
5416
5780
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5417
5781
|
},
|
|
5782
|
+
/**
|
|
5783
|
+
*
|
|
5784
|
+
* @param {string} plateNo
|
|
5785
|
+
* @param {*} [options] Override http request option.
|
|
5786
|
+
* @throws {RequiredError}
|
|
5787
|
+
*/
|
|
5788
|
+
async registeredVehiclesGetVehiclesByLicensePlate(plateNo: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
|
|
5789
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesGetVehiclesByLicensePlate(plateNo, options);
|
|
5790
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5791
|
+
},
|
|
5418
5792
|
/**
|
|
5419
5793
|
*
|
|
5420
5794
|
* @param {string} plateNo
|
|
@@ -5653,19 +6027,19 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5653
6027
|
* @param {string} [updatedAt]
|
|
5654
6028
|
* @param {string} [propertyName]
|
|
5655
6029
|
* @param {string} [propertyId]
|
|
5656
|
-
* @param {boolean} [ignoreStore]
|
|
5657
|
-
* @param {boolean} [ocrVerified]
|
|
5658
|
-
* @param {boolean} [convertDate]
|
|
5659
6030
|
* @param {string} [sortKey]
|
|
5660
6031
|
* @param {string} [sortDirection]
|
|
5661
6032
|
* @param {boolean} [hasTaxId]
|
|
5662
6033
|
* @param {boolean} [receiptAddressInObk]
|
|
5663
6034
|
* @param {boolean} [isActive]
|
|
6035
|
+
* @param {boolean} [checkHandwriting]
|
|
6036
|
+
* @param {boolean} [ocrVerified]
|
|
6037
|
+
* @param {boolean} [convertDate]
|
|
5664
6038
|
* @param {*} [options] Override http request option.
|
|
5665
6039
|
* @throws {RequiredError}
|
|
5666
6040
|
*/
|
|
5667
|
-
configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string,
|
|
5668
|
-
return localVarFp.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId,
|
|
6041
|
+
configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, checkHandwriting?: boolean, ocrVerified?: boolean, convertDate?: boolean, options?: any): AxiosPromise<Array<StoreWhitelistResponse>> {
|
|
6042
|
+
return localVarFp.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, checkHandwriting, ocrVerified, convertDate, options).then((request) => request(axios, basePath));
|
|
5669
6043
|
},
|
|
5670
6044
|
/**
|
|
5671
6045
|
*
|
|
@@ -5726,6 +6100,23 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5726
6100
|
parkingAddParkingTicket(id: string, platform: AddParkingTicketType, idType: AddParkingTicketIdType, xAccountId?: string, options?: any): AxiosPromise<AddParkingTicketResponse> {
|
|
5727
6101
|
return localVarFp.parkingAddParkingTicket(id, platform, idType, xAccountId, options).then((request) => request(axios, basePath));
|
|
5728
6102
|
},
|
|
6103
|
+
/**
|
|
6104
|
+
*
|
|
6105
|
+
* @param {string} [orderBy]
|
|
6106
|
+
* @param {string} [orderDirection]
|
|
6107
|
+
* @param {number} [pageNumber]
|
|
6108
|
+
* @param {number} [pageSize]
|
|
6109
|
+
* @param {string} [filterBy]
|
|
6110
|
+
* @param {string} [filterKey]
|
|
6111
|
+
* @param {string} [startDate]
|
|
6112
|
+
* @param {string} [endDate]
|
|
6113
|
+
* @param {ParkingDetailStatus} [status]
|
|
6114
|
+
* @param {*} [options] Override http request option.
|
|
6115
|
+
* @throws {RequiredError}
|
|
6116
|
+
*/
|
|
6117
|
+
parkingDetailsExport(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: any): AxiosPromise<ResponseDataGetParkingDetailsExportResponseArray> {
|
|
6118
|
+
return localVarFp.parkingDetailsExport(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options).then((request) => request(axios, basePath));
|
|
6119
|
+
},
|
|
5729
6120
|
/**
|
|
5730
6121
|
*
|
|
5731
6122
|
* @param {string} id
|
|
@@ -5887,6 +6278,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5887
6278
|
registeredVehiclesGetVehiclesByAccount(xAccountId?: string, options?: any): AxiosPromise<Array<RegisteredVehicleIndexResponse>> {
|
|
5888
6279
|
return localVarFp.registeredVehiclesGetVehiclesByAccount(xAccountId, options).then((request) => request(axios, basePath));
|
|
5889
6280
|
},
|
|
6281
|
+
/**
|
|
6282
|
+
*
|
|
6283
|
+
* @param {string} plateNo
|
|
6284
|
+
* @param {*} [options] Override http request option.
|
|
6285
|
+
* @throws {RequiredError}
|
|
6286
|
+
*/
|
|
6287
|
+
registeredVehiclesGetVehiclesByLicensePlate(plateNo: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
|
|
6288
|
+
return localVarFp.registeredVehiclesGetVehiclesByLicensePlate(plateNo, options).then((request) => request(axios, basePath));
|
|
6289
|
+
},
|
|
5890
6290
|
/**
|
|
5891
6291
|
*
|
|
5892
6292
|
* @param {string} plateNo
|
|
@@ -6147,20 +6547,20 @@ export class DefaultApi extends BaseAPI {
|
|
|
6147
6547
|
* @param {string} [updatedAt]
|
|
6148
6548
|
* @param {string} [propertyName]
|
|
6149
6549
|
* @param {string} [propertyId]
|
|
6150
|
-
* @param {boolean} [ignoreStore]
|
|
6151
|
-
* @param {boolean} [ocrVerified]
|
|
6152
|
-
* @param {boolean} [convertDate]
|
|
6153
6550
|
* @param {string} [sortKey]
|
|
6154
6551
|
* @param {string} [sortDirection]
|
|
6155
6552
|
* @param {boolean} [hasTaxId]
|
|
6156
6553
|
* @param {boolean} [receiptAddressInObk]
|
|
6157
6554
|
* @param {boolean} [isActive]
|
|
6555
|
+
* @param {boolean} [checkHandwriting]
|
|
6556
|
+
* @param {boolean} [ocrVerified]
|
|
6557
|
+
* @param {boolean} [convertDate]
|
|
6158
6558
|
* @param {*} [options] Override http request option.
|
|
6159
6559
|
* @throws {RequiredError}
|
|
6160
6560
|
* @memberof DefaultApi
|
|
6161
6561
|
*/
|
|
6162
|
-
public configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string,
|
|
6163
|
-
return DefaultApiFp(this.configuration).configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId,
|
|
6562
|
+
public configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, checkHandwriting?: boolean, ocrVerified?: boolean, convertDate?: boolean, options?: AxiosRequestConfig) {
|
|
6563
|
+
return DefaultApiFp(this.configuration).configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, checkHandwriting, ocrVerified, convertDate, options).then((request) => request(this.axios, this.basePath));
|
|
6164
6564
|
}
|
|
6165
6565
|
|
|
6166
6566
|
/**
|
|
@@ -6234,6 +6634,25 @@ export class DefaultApi extends BaseAPI {
|
|
|
6234
6634
|
return DefaultApiFp(this.configuration).parkingAddParkingTicket(id, platform, idType, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
6235
6635
|
}
|
|
6236
6636
|
|
|
6637
|
+
/**
|
|
6638
|
+
*
|
|
6639
|
+
* @param {string} [orderBy]
|
|
6640
|
+
* @param {string} [orderDirection]
|
|
6641
|
+
* @param {number} [pageNumber]
|
|
6642
|
+
* @param {number} [pageSize]
|
|
6643
|
+
* @param {string} [filterBy]
|
|
6644
|
+
* @param {string} [filterKey]
|
|
6645
|
+
* @param {string} [startDate]
|
|
6646
|
+
* @param {string} [endDate]
|
|
6647
|
+
* @param {ParkingDetailStatus} [status]
|
|
6648
|
+
* @param {*} [options] Override http request option.
|
|
6649
|
+
* @throws {RequiredError}
|
|
6650
|
+
* @memberof DefaultApi
|
|
6651
|
+
*/
|
|
6652
|
+
public parkingDetailsExport(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: AxiosRequestConfig) {
|
|
6653
|
+
return DefaultApiFp(this.configuration).parkingDetailsExport(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options).then((request) => request(this.axios, this.basePath));
|
|
6654
|
+
}
|
|
6655
|
+
|
|
6237
6656
|
/**
|
|
6238
6657
|
*
|
|
6239
6658
|
* @param {string} id
|
|
@@ -6423,6 +6842,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
6423
6842
|
return DefaultApiFp(this.configuration).registeredVehiclesGetVehiclesByAccount(xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
6424
6843
|
}
|
|
6425
6844
|
|
|
6845
|
+
/**
|
|
6846
|
+
*
|
|
6847
|
+
* @param {string} plateNo
|
|
6848
|
+
* @param {*} [options] Override http request option.
|
|
6849
|
+
* @throws {RequiredError}
|
|
6850
|
+
* @memberof DefaultApi
|
|
6851
|
+
*/
|
|
6852
|
+
public registeredVehiclesGetVehiclesByLicensePlate(plateNo: string, options?: AxiosRequestConfig) {
|
|
6853
|
+
return DefaultApiFp(this.configuration).registeredVehiclesGetVehiclesByLicensePlate(plateNo, options).then((request) => request(this.axios, this.basePath));
|
|
6854
|
+
}
|
|
6855
|
+
|
|
6426
6856
|
/**
|
|
6427
6857
|
*
|
|
6428
6858
|
* @param {string} plateNo
|