ob-parking-sdk 0.0.63 → 0.0.65
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 +488 -46
- package/dist/api/api.d.ts +370 -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
|
|
@@ -963,6 +1026,12 @@ export interface GetAllReceiptResponse {
|
|
|
963
1026
|
* @memberof GetAllReceiptResponse
|
|
964
1027
|
*/
|
|
965
1028
|
'transaction_time': string | null;
|
|
1029
|
+
/**
|
|
1030
|
+
*
|
|
1031
|
+
* @type {boolean}
|
|
1032
|
+
* @memberof GetAllReceiptResponse
|
|
1033
|
+
*/
|
|
1034
|
+
'check_handwriting'?: boolean;
|
|
966
1035
|
}
|
|
967
1036
|
|
|
968
1037
|
|
|
@@ -1411,6 +1480,163 @@ export interface GetParkingDetailResponseRateDetail {
|
|
|
1411
1480
|
*/
|
|
1412
1481
|
'en': string;
|
|
1413
1482
|
}
|
|
1483
|
+
/**
|
|
1484
|
+
*
|
|
1485
|
+
* @export
|
|
1486
|
+
* @interface GetParkingDetailsExportResponse
|
|
1487
|
+
*/
|
|
1488
|
+
export interface GetParkingDetailsExportResponse {
|
|
1489
|
+
/**
|
|
1490
|
+
*
|
|
1491
|
+
* @type {string}
|
|
1492
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1493
|
+
*/
|
|
1494
|
+
'record_id': string;
|
|
1495
|
+
/**
|
|
1496
|
+
*
|
|
1497
|
+
* @type {string}
|
|
1498
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1499
|
+
*/
|
|
1500
|
+
'parking_ticket_id': string;
|
|
1501
|
+
/**
|
|
1502
|
+
*
|
|
1503
|
+
* @type {string}
|
|
1504
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1505
|
+
*/
|
|
1506
|
+
'vehicle_entry': string;
|
|
1507
|
+
/**
|
|
1508
|
+
*
|
|
1509
|
+
* @type {string}
|
|
1510
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1511
|
+
*/
|
|
1512
|
+
'vehicle_exit': string;
|
|
1513
|
+
/**
|
|
1514
|
+
*
|
|
1515
|
+
* @type {string}
|
|
1516
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1517
|
+
*/
|
|
1518
|
+
'total_time': string;
|
|
1519
|
+
/**
|
|
1520
|
+
*
|
|
1521
|
+
* @type {string}
|
|
1522
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1523
|
+
*/
|
|
1524
|
+
'license_plate': string;
|
|
1525
|
+
/**
|
|
1526
|
+
*
|
|
1527
|
+
* @type {string}
|
|
1528
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1529
|
+
*/
|
|
1530
|
+
'user_id': string;
|
|
1531
|
+
/**
|
|
1532
|
+
*
|
|
1533
|
+
* @type {string}
|
|
1534
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1535
|
+
*/
|
|
1536
|
+
'username': string;
|
|
1537
|
+
/**
|
|
1538
|
+
*
|
|
1539
|
+
* @type {string}
|
|
1540
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1541
|
+
*/
|
|
1542
|
+
'channel': string;
|
|
1543
|
+
/**
|
|
1544
|
+
*
|
|
1545
|
+
* @type {string}
|
|
1546
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1547
|
+
*/
|
|
1548
|
+
'shop_name': string;
|
|
1549
|
+
/**
|
|
1550
|
+
*
|
|
1551
|
+
* @type {string}
|
|
1552
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1553
|
+
*/
|
|
1554
|
+
'total_spent': string;
|
|
1555
|
+
/**
|
|
1556
|
+
*
|
|
1557
|
+
* @type {string}
|
|
1558
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1559
|
+
*/
|
|
1560
|
+
'import_at': string;
|
|
1561
|
+
/**
|
|
1562
|
+
*
|
|
1563
|
+
* @type {string}
|
|
1564
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1565
|
+
*/
|
|
1566
|
+
'rate_detail': string;
|
|
1567
|
+
/**
|
|
1568
|
+
*
|
|
1569
|
+
* @type {string}
|
|
1570
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1571
|
+
*/
|
|
1572
|
+
'receipt_no': string;
|
|
1573
|
+
/**
|
|
1574
|
+
*
|
|
1575
|
+
* @type {string}
|
|
1576
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1577
|
+
*/
|
|
1578
|
+
'sub_total': string;
|
|
1579
|
+
/**
|
|
1580
|
+
*
|
|
1581
|
+
* @type {string}
|
|
1582
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1583
|
+
*/
|
|
1584
|
+
'receipt_status': string;
|
|
1585
|
+
/**
|
|
1586
|
+
*
|
|
1587
|
+
* @type {string}
|
|
1588
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1589
|
+
*/
|
|
1590
|
+
'reason': string;
|
|
1591
|
+
/**
|
|
1592
|
+
*
|
|
1593
|
+
* @type {string}
|
|
1594
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1595
|
+
*/
|
|
1596
|
+
'redeem_at': string;
|
|
1597
|
+
/**
|
|
1598
|
+
*
|
|
1599
|
+
* @type {string}
|
|
1600
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1601
|
+
*/
|
|
1602
|
+
'image_url': string;
|
|
1603
|
+
/**
|
|
1604
|
+
*
|
|
1605
|
+
* @type {string}
|
|
1606
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1607
|
+
*/
|
|
1608
|
+
'redeem_by': string;
|
|
1609
|
+
/**
|
|
1610
|
+
*
|
|
1611
|
+
* @type {string}
|
|
1612
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1613
|
+
*/
|
|
1614
|
+
'counter': string;
|
|
1615
|
+
/**
|
|
1616
|
+
*
|
|
1617
|
+
* @type {string}
|
|
1618
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1619
|
+
*/
|
|
1620
|
+
'parking_sub_total': string;
|
|
1621
|
+
/**
|
|
1622
|
+
*
|
|
1623
|
+
* @type {string}
|
|
1624
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1625
|
+
*/
|
|
1626
|
+
'parking_discount': string;
|
|
1627
|
+
/**
|
|
1628
|
+
*
|
|
1629
|
+
* @type {string}
|
|
1630
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1631
|
+
*/
|
|
1632
|
+
'parking_fee': string;
|
|
1633
|
+
/**
|
|
1634
|
+
*
|
|
1635
|
+
* @type {string}
|
|
1636
|
+
* @memberof GetParkingDetailsExportResponse
|
|
1637
|
+
*/
|
|
1638
|
+
'ocr_extract': string;
|
|
1639
|
+
}
|
|
1414
1640
|
/**
|
|
1415
1641
|
*
|
|
1416
1642
|
* @export
|
|
@@ -2140,6 +2366,12 @@ export interface Receipt {
|
|
|
2140
2366
|
* @memberof Receipt
|
|
2141
2367
|
*/
|
|
2142
2368
|
'counter'?: string;
|
|
2369
|
+
/**
|
|
2370
|
+
*
|
|
2371
|
+
* @type {boolean}
|
|
2372
|
+
* @memberof Receipt
|
|
2373
|
+
*/
|
|
2374
|
+
'check_handwriting'?: boolean;
|
|
2143
2375
|
/**
|
|
2144
2376
|
*
|
|
2145
2377
|
* @type {string}
|
|
@@ -2622,6 +2854,25 @@ export interface ResponseDataGetParkingDetailResponse {
|
|
|
2622
2854
|
*/
|
|
2623
2855
|
'pagination'?: Pagination;
|
|
2624
2856
|
}
|
|
2857
|
+
/**
|
|
2858
|
+
*
|
|
2859
|
+
* @export
|
|
2860
|
+
* @interface ResponseDataGetParkingDetailsExportResponseArray
|
|
2861
|
+
*/
|
|
2862
|
+
export interface ResponseDataGetParkingDetailsExportResponseArray {
|
|
2863
|
+
/**
|
|
2864
|
+
*
|
|
2865
|
+
* @type {Array<GetParkingDetailsExportResponse>}
|
|
2866
|
+
* @memberof ResponseDataGetParkingDetailsExportResponseArray
|
|
2867
|
+
*/
|
|
2868
|
+
'data': Array<GetParkingDetailsExportResponse>;
|
|
2869
|
+
/**
|
|
2870
|
+
*
|
|
2871
|
+
* @type {Pagination}
|
|
2872
|
+
* @memberof ResponseDataGetParkingDetailsExportResponseArray
|
|
2873
|
+
*/
|
|
2874
|
+
'pagination'?: Pagination;
|
|
2875
|
+
}
|
|
2625
2876
|
/**
|
|
2626
2877
|
*
|
|
2627
2878
|
* @export
|
|
@@ -2670,7 +2921,7 @@ export interface StoreWhitelistResponse {
|
|
|
2670
2921
|
* @type {boolean}
|
|
2671
2922
|
* @memberof StoreWhitelistResponse
|
|
2672
2923
|
*/
|
|
2673
|
-
'
|
|
2924
|
+
'check_handwriting': boolean;
|
|
2674
2925
|
/**
|
|
2675
2926
|
*
|
|
2676
2927
|
* @type {boolean}
|
|
@@ -2817,7 +3068,7 @@ export interface UpdateConfigStoreWhitelist {
|
|
|
2817
3068
|
* @type {boolean}
|
|
2818
3069
|
* @memberof UpdateConfigStoreWhitelist
|
|
2819
3070
|
*/
|
|
2820
|
-
'
|
|
3071
|
+
'check_handwriting': boolean;
|
|
2821
3072
|
/**
|
|
2822
3073
|
*
|
|
2823
3074
|
* @type {string}
|
|
@@ -3714,18 +3965,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3714
3965
|
* @param {string} [updatedAt]
|
|
3715
3966
|
* @param {string} [propertyName]
|
|
3716
3967
|
* @param {string} [propertyId]
|
|
3717
|
-
* @param {boolean} [ignoreStore]
|
|
3718
|
-
* @param {boolean} [ocrVerified]
|
|
3719
|
-
* @param {boolean} [convertDate]
|
|
3720
3968
|
* @param {string} [sortKey]
|
|
3721
3969
|
* @param {string} [sortDirection]
|
|
3722
3970
|
* @param {boolean} [hasTaxId]
|
|
3723
3971
|
* @param {boolean} [receiptAddressInObk]
|
|
3724
3972
|
* @param {boolean} [isActive]
|
|
3973
|
+
* @param {boolean} [checkHandwriting]
|
|
3974
|
+
* @param {boolean} [ocrVerified]
|
|
3975
|
+
* @param {boolean} [convertDate]
|
|
3725
3976
|
* @param {*} [options] Override http request option.
|
|
3726
3977
|
* @throws {RequiredError}
|
|
3727
3978
|
*/
|
|
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,
|
|
3979
|
+
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
3980
|
const localVarPath = `/config/store/whitelist`;
|
|
3730
3981
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3731
3982
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -3782,18 +4033,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3782
4033
|
localVarQueryParameter['property_id'] = propertyId;
|
|
3783
4034
|
}
|
|
3784
4035
|
|
|
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
4036
|
if (sortKey !== undefined) {
|
|
3798
4037
|
localVarQueryParameter['sort_key'] = sortKey;
|
|
3799
4038
|
}
|
|
@@ -3814,6 +4053,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3814
4053
|
localVarQueryParameter['is_active'] = isActive;
|
|
3815
4054
|
}
|
|
3816
4055
|
|
|
4056
|
+
if (checkHandwriting !== undefined) {
|
|
4057
|
+
localVarQueryParameter['check_handwriting'] = checkHandwriting;
|
|
4058
|
+
}
|
|
4059
|
+
|
|
4060
|
+
if (ocrVerified !== undefined) {
|
|
4061
|
+
localVarQueryParameter['ocr_verified'] = ocrVerified;
|
|
4062
|
+
}
|
|
4063
|
+
|
|
4064
|
+
if (convertDate !== undefined) {
|
|
4065
|
+
localVarQueryParameter['convert_date'] = convertDate;
|
|
4066
|
+
}
|
|
4067
|
+
|
|
3817
4068
|
|
|
3818
4069
|
|
|
3819
4070
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -4050,6 +4301,80 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4050
4301
|
|
|
4051
4302
|
|
|
4052
4303
|
|
|
4304
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4305
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4306
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4307
|
+
|
|
4308
|
+
return {
|
|
4309
|
+
url: toPathString(localVarUrlObj),
|
|
4310
|
+
options: localVarRequestOptions,
|
|
4311
|
+
};
|
|
4312
|
+
},
|
|
4313
|
+
/**
|
|
4314
|
+
*
|
|
4315
|
+
* @param {string} [orderBy]
|
|
4316
|
+
* @param {string} [orderDirection]
|
|
4317
|
+
* @param {number} [pageNumber]
|
|
4318
|
+
* @param {number} [pageSize]
|
|
4319
|
+
* @param {string} [filterBy]
|
|
4320
|
+
* @param {string} [filterKey]
|
|
4321
|
+
* @param {string} [startDate]
|
|
4322
|
+
* @param {string} [endDate]
|
|
4323
|
+
* @param {ParkingDetailStatus} [status]
|
|
4324
|
+
* @param {*} [options] Override http request option.
|
|
4325
|
+
* @throws {RequiredError}
|
|
4326
|
+
*/
|
|
4327
|
+
parkingDetailsExport: async (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4328
|
+
const localVarPath = `/parking-details/export`;
|
|
4329
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4330
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4331
|
+
let baseOptions;
|
|
4332
|
+
if (configuration) {
|
|
4333
|
+
baseOptions = configuration.baseOptions;
|
|
4334
|
+
}
|
|
4335
|
+
|
|
4336
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4337
|
+
const localVarHeaderParameter = {} as any;
|
|
4338
|
+
const localVarQueryParameter = {} as any;
|
|
4339
|
+
|
|
4340
|
+
if (orderBy !== undefined) {
|
|
4341
|
+
localVarQueryParameter['order_by'] = orderBy;
|
|
4342
|
+
}
|
|
4343
|
+
|
|
4344
|
+
if (orderDirection !== undefined) {
|
|
4345
|
+
localVarQueryParameter['order_direction'] = orderDirection;
|
|
4346
|
+
}
|
|
4347
|
+
|
|
4348
|
+
if (pageNumber !== undefined) {
|
|
4349
|
+
localVarQueryParameter['page_number'] = pageNumber;
|
|
4350
|
+
}
|
|
4351
|
+
|
|
4352
|
+
if (pageSize !== undefined) {
|
|
4353
|
+
localVarQueryParameter['page_size'] = pageSize;
|
|
4354
|
+
}
|
|
4355
|
+
|
|
4356
|
+
if (filterBy !== undefined) {
|
|
4357
|
+
localVarQueryParameter['filter_by'] = filterBy;
|
|
4358
|
+
}
|
|
4359
|
+
|
|
4360
|
+
if (filterKey !== undefined) {
|
|
4361
|
+
localVarQueryParameter['filter_key'] = filterKey;
|
|
4362
|
+
}
|
|
4363
|
+
|
|
4364
|
+
if (startDate !== undefined) {
|
|
4365
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
4366
|
+
}
|
|
4367
|
+
|
|
4368
|
+
if (endDate !== undefined) {
|
|
4369
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
4370
|
+
}
|
|
4371
|
+
|
|
4372
|
+
if (status !== undefined) {
|
|
4373
|
+
localVarQueryParameter['status'] = status;
|
|
4374
|
+
}
|
|
4375
|
+
|
|
4376
|
+
|
|
4377
|
+
|
|
4053
4378
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4054
4379
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4055
4380
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4699,6 +5024,39 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4699
5024
|
|
|
4700
5025
|
|
|
4701
5026
|
|
|
5027
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5028
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5029
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5030
|
+
|
|
5031
|
+
return {
|
|
5032
|
+
url: toPathString(localVarUrlObj),
|
|
5033
|
+
options: localVarRequestOptions,
|
|
5034
|
+
};
|
|
5035
|
+
},
|
|
5036
|
+
/**
|
|
5037
|
+
*
|
|
5038
|
+
* @param {string} plateNo
|
|
5039
|
+
* @param {*} [options] Override http request option.
|
|
5040
|
+
* @throws {RequiredError}
|
|
5041
|
+
*/
|
|
5042
|
+
registeredVehiclesGetVehiclesByLicensePlate: async (plateNo: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5043
|
+
// verify required parameter 'plateNo' is not null or undefined
|
|
5044
|
+
assertParamExists('registeredVehiclesGetVehiclesByLicensePlate', 'plateNo', plateNo)
|
|
5045
|
+
const localVarPath = `/registered-vehicles/license-plate/{plate_no}`
|
|
5046
|
+
.replace(`{${"plate_no"}}`, encodeURIComponent(String(plateNo)));
|
|
5047
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5048
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5049
|
+
let baseOptions;
|
|
5050
|
+
if (configuration) {
|
|
5051
|
+
baseOptions = configuration.baseOptions;
|
|
5052
|
+
}
|
|
5053
|
+
|
|
5054
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5055
|
+
const localVarHeaderParameter = {} as any;
|
|
5056
|
+
const localVarQueryParameter = {} as any;
|
|
5057
|
+
|
|
5058
|
+
|
|
5059
|
+
|
|
4702
5060
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4703
5061
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4704
5062
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5160,19 +5518,19 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
5160
5518
|
* @param {string} [updatedAt]
|
|
5161
5519
|
* @param {string} [propertyName]
|
|
5162
5520
|
* @param {string} [propertyId]
|
|
5163
|
-
* @param {boolean} [ignoreStore]
|
|
5164
|
-
* @param {boolean} [ocrVerified]
|
|
5165
|
-
* @param {boolean} [convertDate]
|
|
5166
5521
|
* @param {string} [sortKey]
|
|
5167
5522
|
* @param {string} [sortDirection]
|
|
5168
5523
|
* @param {boolean} [hasTaxId]
|
|
5169
5524
|
* @param {boolean} [receiptAddressInObk]
|
|
5170
5525
|
* @param {boolean} [isActive]
|
|
5526
|
+
* @param {boolean} [checkHandwriting]
|
|
5527
|
+
* @param {boolean} [ocrVerified]
|
|
5528
|
+
* @param {boolean} [convertDate]
|
|
5171
5529
|
* @param {*} [options] Override http request option.
|
|
5172
5530
|
* @throws {RequiredError}
|
|
5173
5531
|
*/
|
|
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,
|
|
5532
|
+
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>>> {
|
|
5533
|
+
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
5534
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5177
5535
|
},
|
|
5178
5536
|
/**
|
|
@@ -5240,6 +5598,24 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
5240
5598
|
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingAddParkingTicket(id, platform, idType, xAccountId, options);
|
|
5241
5599
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5242
5600
|
},
|
|
5601
|
+
/**
|
|
5602
|
+
*
|
|
5603
|
+
* @param {string} [orderBy]
|
|
5604
|
+
* @param {string} [orderDirection]
|
|
5605
|
+
* @param {number} [pageNumber]
|
|
5606
|
+
* @param {number} [pageSize]
|
|
5607
|
+
* @param {string} [filterBy]
|
|
5608
|
+
* @param {string} [filterKey]
|
|
5609
|
+
* @param {string} [startDate]
|
|
5610
|
+
* @param {string} [endDate]
|
|
5611
|
+
* @param {ParkingDetailStatus} [status]
|
|
5612
|
+
* @param {*} [options] Override http request option.
|
|
5613
|
+
* @throws {RequiredError}
|
|
5614
|
+
*/
|
|
5615
|
+
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>> {
|
|
5616
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingDetailsExport(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options);
|
|
5617
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5618
|
+
},
|
|
5243
5619
|
/**
|
|
5244
5620
|
*
|
|
5245
5621
|
* @param {string} id
|
|
@@ -5415,6 +5791,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
5415
5791
|
const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesGetVehiclesByAccount(xAccountId, options);
|
|
5416
5792
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5417
5793
|
},
|
|
5794
|
+
/**
|
|
5795
|
+
*
|
|
5796
|
+
* @param {string} plateNo
|
|
5797
|
+
* @param {*} [options] Override http request option.
|
|
5798
|
+
* @throws {RequiredError}
|
|
5799
|
+
*/
|
|
5800
|
+
async registeredVehiclesGetVehiclesByLicensePlate(plateNo: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisteredVehicleResponse>> {
|
|
5801
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesGetVehiclesByLicensePlate(plateNo, options);
|
|
5802
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5803
|
+
},
|
|
5418
5804
|
/**
|
|
5419
5805
|
*
|
|
5420
5806
|
* @param {string} plateNo
|
|
@@ -5653,19 +6039,19 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5653
6039
|
* @param {string} [updatedAt]
|
|
5654
6040
|
* @param {string} [propertyName]
|
|
5655
6041
|
* @param {string} [propertyId]
|
|
5656
|
-
* @param {boolean} [ignoreStore]
|
|
5657
|
-
* @param {boolean} [ocrVerified]
|
|
5658
|
-
* @param {boolean} [convertDate]
|
|
5659
6042
|
* @param {string} [sortKey]
|
|
5660
6043
|
* @param {string} [sortDirection]
|
|
5661
6044
|
* @param {boolean} [hasTaxId]
|
|
5662
6045
|
* @param {boolean} [receiptAddressInObk]
|
|
5663
6046
|
* @param {boolean} [isActive]
|
|
6047
|
+
* @param {boolean} [checkHandwriting]
|
|
6048
|
+
* @param {boolean} [ocrVerified]
|
|
6049
|
+
* @param {boolean} [convertDate]
|
|
5664
6050
|
* @param {*} [options] Override http request option.
|
|
5665
6051
|
* @throws {RequiredError}
|
|
5666
6052
|
*/
|
|
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,
|
|
6053
|
+
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>> {
|
|
6054
|
+
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
6055
|
},
|
|
5670
6056
|
/**
|
|
5671
6057
|
*
|
|
@@ -5726,6 +6112,23 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5726
6112
|
parkingAddParkingTicket(id: string, platform: AddParkingTicketType, idType: AddParkingTicketIdType, xAccountId?: string, options?: any): AxiosPromise<AddParkingTicketResponse> {
|
|
5727
6113
|
return localVarFp.parkingAddParkingTicket(id, platform, idType, xAccountId, options).then((request) => request(axios, basePath));
|
|
5728
6114
|
},
|
|
6115
|
+
/**
|
|
6116
|
+
*
|
|
6117
|
+
* @param {string} [orderBy]
|
|
6118
|
+
* @param {string} [orderDirection]
|
|
6119
|
+
* @param {number} [pageNumber]
|
|
6120
|
+
* @param {number} [pageSize]
|
|
6121
|
+
* @param {string} [filterBy]
|
|
6122
|
+
* @param {string} [filterKey]
|
|
6123
|
+
* @param {string} [startDate]
|
|
6124
|
+
* @param {string} [endDate]
|
|
6125
|
+
* @param {ParkingDetailStatus} [status]
|
|
6126
|
+
* @param {*} [options] Override http request option.
|
|
6127
|
+
* @throws {RequiredError}
|
|
6128
|
+
*/
|
|
6129
|
+
parkingDetailsExport(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: any): AxiosPromise<ResponseDataGetParkingDetailsExportResponseArray> {
|
|
6130
|
+
return localVarFp.parkingDetailsExport(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options).then((request) => request(axios, basePath));
|
|
6131
|
+
},
|
|
5729
6132
|
/**
|
|
5730
6133
|
*
|
|
5731
6134
|
* @param {string} id
|
|
@@ -5887,6 +6290,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5887
6290
|
registeredVehiclesGetVehiclesByAccount(xAccountId?: string, options?: any): AxiosPromise<Array<RegisteredVehicleIndexResponse>> {
|
|
5888
6291
|
return localVarFp.registeredVehiclesGetVehiclesByAccount(xAccountId, options).then((request) => request(axios, basePath));
|
|
5889
6292
|
},
|
|
6293
|
+
/**
|
|
6294
|
+
*
|
|
6295
|
+
* @param {string} plateNo
|
|
6296
|
+
* @param {*} [options] Override http request option.
|
|
6297
|
+
* @throws {RequiredError}
|
|
6298
|
+
*/
|
|
6299
|
+
registeredVehiclesGetVehiclesByLicensePlate(plateNo: string, options?: any): AxiosPromise<RegisteredVehicleResponse> {
|
|
6300
|
+
return localVarFp.registeredVehiclesGetVehiclesByLicensePlate(plateNo, options).then((request) => request(axios, basePath));
|
|
6301
|
+
},
|
|
5890
6302
|
/**
|
|
5891
6303
|
*
|
|
5892
6304
|
* @param {string} plateNo
|
|
@@ -6147,20 +6559,20 @@ export class DefaultApi extends BaseAPI {
|
|
|
6147
6559
|
* @param {string} [updatedAt]
|
|
6148
6560
|
* @param {string} [propertyName]
|
|
6149
6561
|
* @param {string} [propertyId]
|
|
6150
|
-
* @param {boolean} [ignoreStore]
|
|
6151
|
-
* @param {boolean} [ocrVerified]
|
|
6152
|
-
* @param {boolean} [convertDate]
|
|
6153
6562
|
* @param {string} [sortKey]
|
|
6154
6563
|
* @param {string} [sortDirection]
|
|
6155
6564
|
* @param {boolean} [hasTaxId]
|
|
6156
6565
|
* @param {boolean} [receiptAddressInObk]
|
|
6157
6566
|
* @param {boolean} [isActive]
|
|
6567
|
+
* @param {boolean} [checkHandwriting]
|
|
6568
|
+
* @param {boolean} [ocrVerified]
|
|
6569
|
+
* @param {boolean} [convertDate]
|
|
6158
6570
|
* @param {*} [options] Override http request option.
|
|
6159
6571
|
* @throws {RequiredError}
|
|
6160
6572
|
* @memberof DefaultApi
|
|
6161
6573
|
*/
|
|
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,
|
|
6574
|
+
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) {
|
|
6575
|
+
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
6576
|
}
|
|
6165
6577
|
|
|
6166
6578
|
/**
|
|
@@ -6234,6 +6646,25 @@ export class DefaultApi extends BaseAPI {
|
|
|
6234
6646
|
return DefaultApiFp(this.configuration).parkingAddParkingTicket(id, platform, idType, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
6235
6647
|
}
|
|
6236
6648
|
|
|
6649
|
+
/**
|
|
6650
|
+
*
|
|
6651
|
+
* @param {string} [orderBy]
|
|
6652
|
+
* @param {string} [orderDirection]
|
|
6653
|
+
* @param {number} [pageNumber]
|
|
6654
|
+
* @param {number} [pageSize]
|
|
6655
|
+
* @param {string} [filterBy]
|
|
6656
|
+
* @param {string} [filterKey]
|
|
6657
|
+
* @param {string} [startDate]
|
|
6658
|
+
* @param {string} [endDate]
|
|
6659
|
+
* @param {ParkingDetailStatus} [status]
|
|
6660
|
+
* @param {*} [options] Override http request option.
|
|
6661
|
+
* @throws {RequiredError}
|
|
6662
|
+
* @memberof DefaultApi
|
|
6663
|
+
*/
|
|
6664
|
+
public parkingDetailsExport(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: AxiosRequestConfig) {
|
|
6665
|
+
return DefaultApiFp(this.configuration).parkingDetailsExport(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options).then((request) => request(this.axios, this.basePath));
|
|
6666
|
+
}
|
|
6667
|
+
|
|
6237
6668
|
/**
|
|
6238
6669
|
*
|
|
6239
6670
|
* @param {string} id
|
|
@@ -6423,6 +6854,17 @@ export class DefaultApi extends BaseAPI {
|
|
|
6423
6854
|
return DefaultApiFp(this.configuration).registeredVehiclesGetVehiclesByAccount(xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
6424
6855
|
}
|
|
6425
6856
|
|
|
6857
|
+
/**
|
|
6858
|
+
*
|
|
6859
|
+
* @param {string} plateNo
|
|
6860
|
+
* @param {*} [options] Override http request option.
|
|
6861
|
+
* @throws {RequiredError}
|
|
6862
|
+
* @memberof DefaultApi
|
|
6863
|
+
*/
|
|
6864
|
+
public registeredVehiclesGetVehiclesByLicensePlate(plateNo: string, options?: AxiosRequestConfig) {
|
|
6865
|
+
return DefaultApiFp(this.configuration).registeredVehiclesGetVehiclesByLicensePlate(plateNo, options).then((request) => request(this.axios, this.basePath));
|
|
6866
|
+
}
|
|
6867
|
+
|
|
6426
6868
|
/**
|
|
6427
6869
|
*
|
|
6428
6870
|
* @param {string} plateNo
|