ob-parking-sdk 0.0.26 → 0.0.27
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 +332 -86
- package/dist/api/api.d.ts +214 -59
- package/dist/api/api.js +206 -55
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -99,7 +99,8 @@ export interface AddConfigStoreWhitelist {
|
|
|
99
99
|
export const AddParkingTicketIdType = {
|
|
100
100
|
LogId: 'log_id',
|
|
101
101
|
InviteId: 'invite_id',
|
|
102
|
-
MemberId: 'member_id'
|
|
102
|
+
MemberId: 'member_id',
|
|
103
|
+
LicensePlate: 'license_plate'
|
|
103
104
|
} as const;
|
|
104
105
|
|
|
105
106
|
export type AddParkingTicketIdType = typeof AddParkingTicketIdType[keyof typeof AddParkingTicketIdType];
|
|
@@ -404,15 +405,28 @@ export interface ConfigDocsTypeResponse {
|
|
|
404
405
|
/**
|
|
405
406
|
*
|
|
406
407
|
* @export
|
|
407
|
-
* @interface
|
|
408
|
+
* @interface ConfigStoreWhitelistImport200Response
|
|
408
409
|
*/
|
|
409
|
-
export interface
|
|
410
|
+
export interface ConfigStoreWhitelistImport200Response {
|
|
410
411
|
/**
|
|
411
412
|
*
|
|
412
|
-
* @type {
|
|
413
|
-
* @memberof
|
|
413
|
+
* @type {number}
|
|
414
|
+
* @memberof ConfigStoreWhitelistImport200Response
|
|
414
415
|
*/
|
|
415
|
-
'
|
|
416
|
+
'count': number;
|
|
417
|
+
/**
|
|
418
|
+
*
|
|
419
|
+
* @type {boolean}
|
|
420
|
+
* @memberof ConfigStoreWhitelistImport200Response
|
|
421
|
+
*/
|
|
422
|
+
'success': boolean;
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
*
|
|
426
|
+
* @export
|
|
427
|
+
* @interface ConfigStoreWhitelistQuery
|
|
428
|
+
*/
|
|
429
|
+
export interface ConfigStoreWhitelistQuery {
|
|
416
430
|
/**
|
|
417
431
|
*
|
|
418
432
|
* @type {string}
|
|
@@ -436,67 +450,79 @@ export interface ConfigStoreWhitelistQuery {
|
|
|
436
450
|
* @type {string}
|
|
437
451
|
* @memberof ConfigStoreWhitelistQuery
|
|
438
452
|
*/
|
|
439
|
-
'
|
|
453
|
+
'unit_no'?: string;
|
|
440
454
|
/**
|
|
441
455
|
*
|
|
442
456
|
* @type {string}
|
|
443
457
|
* @memberof ConfigStoreWhitelistQuery
|
|
444
458
|
*/
|
|
445
|
-
'
|
|
459
|
+
'address'?: string;
|
|
446
460
|
/**
|
|
447
461
|
*
|
|
448
462
|
* @type {string}
|
|
449
463
|
* @memberof ConfigStoreWhitelistQuery
|
|
450
464
|
*/
|
|
451
|
-
'
|
|
465
|
+
'building'?: string;
|
|
452
466
|
/**
|
|
453
467
|
*
|
|
454
468
|
* @type {string}
|
|
455
469
|
* @memberof ConfigStoreWhitelistQuery
|
|
456
470
|
*/
|
|
457
|
-
'
|
|
471
|
+
'created_at'?: string;
|
|
458
472
|
/**
|
|
459
473
|
*
|
|
460
474
|
* @type {string}
|
|
461
475
|
* @memberof ConfigStoreWhitelistQuery
|
|
462
476
|
*/
|
|
463
|
-
'
|
|
477
|
+
'updated_at'?: string;
|
|
464
478
|
/**
|
|
465
479
|
*
|
|
466
|
-
* @type {
|
|
480
|
+
* @type {string}
|
|
467
481
|
* @memberof ConfigStoreWhitelistQuery
|
|
468
482
|
*/
|
|
469
|
-
'
|
|
483
|
+
'property_name'?: string;
|
|
470
484
|
/**
|
|
471
485
|
*
|
|
472
|
-
* @type {
|
|
486
|
+
* @type {string}
|
|
473
487
|
* @memberof ConfigStoreWhitelistQuery
|
|
474
488
|
*/
|
|
475
|
-
'
|
|
489
|
+
'property_id'?: string;
|
|
476
490
|
/**
|
|
477
491
|
*
|
|
478
492
|
* @type {string}
|
|
479
493
|
* @memberof ConfigStoreWhitelistQuery
|
|
480
494
|
*/
|
|
481
|
-
'
|
|
495
|
+
'sort_key'?: string;
|
|
482
496
|
/**
|
|
483
497
|
*
|
|
484
498
|
* @type {string}
|
|
485
499
|
* @memberof ConfigStoreWhitelistQuery
|
|
486
500
|
*/
|
|
487
|
-
'
|
|
501
|
+
'sort_direction'?: string;
|
|
488
502
|
/**
|
|
489
503
|
*
|
|
490
|
-
* @type {
|
|
504
|
+
* @type {boolean}
|
|
491
505
|
* @memberof ConfigStoreWhitelistQuery
|
|
492
506
|
*/
|
|
493
|
-
'
|
|
507
|
+
'is_export'?: boolean;
|
|
494
508
|
/**
|
|
495
509
|
*
|
|
496
|
-
* @type {
|
|
510
|
+
* @type {boolean}
|
|
497
511
|
* @memberof ConfigStoreWhitelistQuery
|
|
498
512
|
*/
|
|
499
|
-
'
|
|
513
|
+
'has_tax_id'?: boolean;
|
|
514
|
+
/**
|
|
515
|
+
*
|
|
516
|
+
* @type {boolean}
|
|
517
|
+
* @memberof ConfigStoreWhitelistQuery
|
|
518
|
+
*/
|
|
519
|
+
'receipt_address_in_obk'?: boolean;
|
|
520
|
+
/**
|
|
521
|
+
*
|
|
522
|
+
* @type {boolean}
|
|
523
|
+
* @memberof ConfigStoreWhitelistQuery
|
|
524
|
+
*/
|
|
525
|
+
'is_active'?: boolean;
|
|
500
526
|
}
|
|
501
527
|
/**
|
|
502
528
|
*
|
|
@@ -789,6 +815,12 @@ export interface GetParkingDetailIndexQuery {
|
|
|
789
815
|
* @memberof GetParkingDetailIndexQuery
|
|
790
816
|
*/
|
|
791
817
|
'status'?: ParkingDetailStatus;
|
|
818
|
+
/**
|
|
819
|
+
*
|
|
820
|
+
* @type {boolean}
|
|
821
|
+
* @memberof GetParkingDetailIndexQuery
|
|
822
|
+
*/
|
|
823
|
+
'is_export'?: boolean;
|
|
792
824
|
}
|
|
793
825
|
|
|
794
826
|
|
|
@@ -926,6 +958,18 @@ export interface GetParkingDetailsIndexResponse {
|
|
|
926
958
|
* @memberof GetParkingDetailsIndexResponse
|
|
927
959
|
*/
|
|
928
960
|
'status': ParkingDetailStatus;
|
|
961
|
+
/**
|
|
962
|
+
*
|
|
963
|
+
* @type {string}
|
|
964
|
+
* @memberof GetParkingDetailsIndexResponse
|
|
965
|
+
*/
|
|
966
|
+
'created_at'?: string;
|
|
967
|
+
/**
|
|
968
|
+
*
|
|
969
|
+
* @type {string}
|
|
970
|
+
* @memberof GetParkingDetailsIndexResponse
|
|
971
|
+
*/
|
|
972
|
+
'rate_detail'?: string;
|
|
929
973
|
}
|
|
930
974
|
|
|
931
975
|
|
|
@@ -1095,6 +1139,31 @@ export interface Item {
|
|
|
1095
1139
|
*/
|
|
1096
1140
|
export interface JsonValue {
|
|
1097
1141
|
}
|
|
1142
|
+
/**
|
|
1143
|
+
*
|
|
1144
|
+
* @export
|
|
1145
|
+
* @interface ManualCreateReceiptBody
|
|
1146
|
+
*/
|
|
1147
|
+
export interface ManualCreateReceiptBody {
|
|
1148
|
+
/**
|
|
1149
|
+
*
|
|
1150
|
+
* @type {string}
|
|
1151
|
+
* @memberof ManualCreateReceiptBody
|
|
1152
|
+
*/
|
|
1153
|
+
'parkingDetailId': string;
|
|
1154
|
+
/**
|
|
1155
|
+
*
|
|
1156
|
+
* @type {string}
|
|
1157
|
+
* @memberof ManualCreateReceiptBody
|
|
1158
|
+
*/
|
|
1159
|
+
'merchant_name': string;
|
|
1160
|
+
/**
|
|
1161
|
+
*
|
|
1162
|
+
* @type {string}
|
|
1163
|
+
* @memberof ManualCreateReceiptBody
|
|
1164
|
+
*/
|
|
1165
|
+
'total': string;
|
|
1166
|
+
}
|
|
1098
1167
|
/**
|
|
1099
1168
|
*
|
|
1100
1169
|
* @export
|
|
@@ -1451,12 +1520,6 @@ export interface Receipt {
|
|
|
1451
1520
|
* @memberof Receipt
|
|
1452
1521
|
*/
|
|
1453
1522
|
'transaction_time'?: string;
|
|
1454
|
-
/**
|
|
1455
|
-
*
|
|
1456
|
-
* @type {Array<Item>}
|
|
1457
|
-
* @memberof Receipt
|
|
1458
|
-
*/
|
|
1459
|
-
'items': Array<Item>;
|
|
1460
1523
|
/**
|
|
1461
1524
|
*
|
|
1462
1525
|
* @type {string}
|
|
@@ -1474,7 +1537,7 @@ export interface Receipt {
|
|
|
1474
1537
|
* @type {string}
|
|
1475
1538
|
* @memberof Receipt
|
|
1476
1539
|
*/
|
|
1477
|
-
'
|
|
1540
|
+
'address'?: string;
|
|
1478
1541
|
/**
|
|
1479
1542
|
*
|
|
1480
1543
|
* @type {string}
|
|
@@ -1493,12 +1556,24 @@ export interface Receipt {
|
|
|
1493
1556
|
* @memberof Receipt
|
|
1494
1557
|
*/
|
|
1495
1558
|
'hashed_receipt'?: string;
|
|
1559
|
+
/**
|
|
1560
|
+
*
|
|
1561
|
+
* @type {string}
|
|
1562
|
+
* @memberof Receipt
|
|
1563
|
+
*/
|
|
1564
|
+
'parking_detail_id'?: string;
|
|
1496
1565
|
/**
|
|
1497
1566
|
*
|
|
1498
1567
|
* @type {string}
|
|
1499
1568
|
* @memberof Receipt
|
|
1500
1569
|
*/
|
|
1501
1570
|
'redeemed_at'?: string;
|
|
1571
|
+
/**
|
|
1572
|
+
*
|
|
1573
|
+
* @type {Array<Item>}
|
|
1574
|
+
* @memberof Receipt
|
|
1575
|
+
*/
|
|
1576
|
+
'items': Array<Item>;
|
|
1502
1577
|
}
|
|
1503
1578
|
|
|
1504
1579
|
|
|
@@ -1652,6 +1727,12 @@ export interface StoreWhitelistResponse {
|
|
|
1652
1727
|
* @memberof StoreWhitelistResponse
|
|
1653
1728
|
*/
|
|
1654
1729
|
'property': StoreWhitelistResponseProperty;
|
|
1730
|
+
/**
|
|
1731
|
+
*
|
|
1732
|
+
* @type {boolean}
|
|
1733
|
+
* @memberof StoreWhitelistResponse
|
|
1734
|
+
*/
|
|
1735
|
+
'is_active': boolean;
|
|
1655
1736
|
/**
|
|
1656
1737
|
*
|
|
1657
1738
|
* @type {boolean}
|
|
@@ -2384,25 +2465,65 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2384
2465
|
},
|
|
2385
2466
|
/**
|
|
2386
2467
|
*
|
|
2387
|
-
* @param {
|
|
2468
|
+
* @param {File} [file]
|
|
2469
|
+
* @param {*} [options] Override http request option.
|
|
2470
|
+
* @throws {RequiredError}
|
|
2471
|
+
*/
|
|
2472
|
+
configStoreWhitelistImport: async (file?: File, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2473
|
+
const localVarPath = `/config/store/whitelist/import`;
|
|
2474
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2475
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2476
|
+
let baseOptions;
|
|
2477
|
+
if (configuration) {
|
|
2478
|
+
baseOptions = configuration.baseOptions;
|
|
2479
|
+
}
|
|
2480
|
+
|
|
2481
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2482
|
+
const localVarHeaderParameter = {} as any;
|
|
2483
|
+
const localVarQueryParameter = {} as any;
|
|
2484
|
+
const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();
|
|
2485
|
+
|
|
2486
|
+
|
|
2487
|
+
if (file !== undefined) {
|
|
2488
|
+
localVarFormParams.append('file', file as any);
|
|
2489
|
+
}
|
|
2490
|
+
|
|
2491
|
+
|
|
2492
|
+
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
2493
|
+
|
|
2494
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2495
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2496
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2497
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
2498
|
+
|
|
2499
|
+
return {
|
|
2500
|
+
url: toPathString(localVarUrlObj),
|
|
2501
|
+
options: localVarRequestOptions,
|
|
2502
|
+
};
|
|
2503
|
+
},
|
|
2504
|
+
/**
|
|
2505
|
+
*
|
|
2388
2506
|
* @param {string} [taxId]
|
|
2389
2507
|
* @param {string} [storeName]
|
|
2390
2508
|
* @param {string} [companyName]
|
|
2391
|
-
* @param {string} [propertyName]
|
|
2392
|
-
* @param {string} [propertyId]
|
|
2393
2509
|
* @param {string} [unitNo]
|
|
2394
2510
|
* @param {string} [address]
|
|
2395
2511
|
* @param {string} [building]
|
|
2396
|
-
* @param {boolean} [hasTaxId]
|
|
2397
|
-
* @param {boolean} [receiptAddressInObk]
|
|
2398
|
-
* @param {string} [updatedAt]
|
|
2399
2512
|
* @param {string} [createdAt]
|
|
2513
|
+
* @param {string} [updatedAt]
|
|
2514
|
+
* @param {string} [propertyName]
|
|
2515
|
+
* @param {string} [propertyId]
|
|
2516
|
+
* @param {string} [propertyId2]
|
|
2400
2517
|
* @param {string} [sortKey]
|
|
2401
2518
|
* @param {string} [sortDirection]
|
|
2519
|
+
* @param {boolean} [isExport]
|
|
2520
|
+
* @param {boolean} [hasTaxId]
|
|
2521
|
+
* @param {boolean} [receiptAddressInObk]
|
|
2522
|
+
* @param {boolean} [isActive]
|
|
2402
2523
|
* @param {*} [options] Override http request option.
|
|
2403
2524
|
* @throws {RequiredError}
|
|
2404
2525
|
*/
|
|
2405
|
-
configStoreWhitelistIndex: async (
|
|
2526
|
+
configStoreWhitelistIndex: async (taxId?: string, storeName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, propertyId2?: string, sortKey?: string, sortDirection?: string, isExport?: boolean, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2406
2527
|
const localVarPath = `/config/store/whitelist`;
|
|
2407
2528
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2408
2529
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2415,10 +2536,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2415
2536
|
const localVarHeaderParameter = {} as any;
|
|
2416
2537
|
const localVarQueryParameter = {} as any;
|
|
2417
2538
|
|
|
2418
|
-
if (id !== undefined) {
|
|
2419
|
-
localVarQueryParameter['id'] = id;
|
|
2420
|
-
}
|
|
2421
|
-
|
|
2422
2539
|
if (taxId !== undefined) {
|
|
2423
2540
|
localVarQueryParameter['tax_id'] = taxId;
|
|
2424
2541
|
}
|
|
@@ -2431,14 +2548,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2431
2548
|
localVarQueryParameter['company_name'] = companyName;
|
|
2432
2549
|
}
|
|
2433
2550
|
|
|
2434
|
-
if (propertyName !== undefined) {
|
|
2435
|
-
localVarQueryParameter['property_name'] = propertyName;
|
|
2436
|
-
}
|
|
2437
|
-
|
|
2438
|
-
if (propertyId !== undefined) {
|
|
2439
|
-
localVarQueryParameter['property_id'] = propertyId;
|
|
2440
|
-
}
|
|
2441
|
-
|
|
2442
2551
|
if (unitNo !== undefined) {
|
|
2443
2552
|
localVarQueryParameter['unit_no'] = unitNo;
|
|
2444
2553
|
}
|
|
@@ -2451,12 +2560,8 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2451
2560
|
localVarQueryParameter['building'] = building;
|
|
2452
2561
|
}
|
|
2453
2562
|
|
|
2454
|
-
if (
|
|
2455
|
-
localVarQueryParameter['
|
|
2456
|
-
}
|
|
2457
|
-
|
|
2458
|
-
if (receiptAddressInObk !== undefined) {
|
|
2459
|
-
localVarQueryParameter['receipt_address_in_obk'] = receiptAddressInObk;
|
|
2563
|
+
if (createdAt !== undefined) {
|
|
2564
|
+
localVarQueryParameter['created_at'] = createdAt;
|
|
2460
2565
|
}
|
|
2461
2566
|
|
|
2462
2567
|
if (updatedAt !== undefined) {
|
|
@@ -2465,8 +2570,16 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2465
2570
|
updatedAt;
|
|
2466
2571
|
}
|
|
2467
2572
|
|
|
2468
|
-
if (
|
|
2469
|
-
localVarQueryParameter['
|
|
2573
|
+
if (propertyName !== undefined) {
|
|
2574
|
+
localVarQueryParameter['property_name'] = propertyName;
|
|
2575
|
+
}
|
|
2576
|
+
|
|
2577
|
+
if (propertyId !== undefined) {
|
|
2578
|
+
localVarQueryParameter['property_id'] = propertyId;
|
|
2579
|
+
}
|
|
2580
|
+
|
|
2581
|
+
if (propertyId2 !== undefined) {
|
|
2582
|
+
localVarQueryParameter['property_id'] = propertyId2;
|
|
2470
2583
|
}
|
|
2471
2584
|
|
|
2472
2585
|
if (sortKey !== undefined) {
|
|
@@ -2477,6 +2590,22 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2477
2590
|
localVarQueryParameter['sort_direction'] = sortDirection;
|
|
2478
2591
|
}
|
|
2479
2592
|
|
|
2593
|
+
if (isExport !== undefined) {
|
|
2594
|
+
localVarQueryParameter['is_export'] = isExport;
|
|
2595
|
+
}
|
|
2596
|
+
|
|
2597
|
+
if (hasTaxId !== undefined) {
|
|
2598
|
+
localVarQueryParameter['has_tax_id'] = hasTaxId;
|
|
2599
|
+
}
|
|
2600
|
+
|
|
2601
|
+
if (receiptAddressInObk !== undefined) {
|
|
2602
|
+
localVarQueryParameter['receipt_address_in_obk'] = receiptAddressInObk;
|
|
2603
|
+
}
|
|
2604
|
+
|
|
2605
|
+
if (isActive !== undefined) {
|
|
2606
|
+
localVarQueryParameter['is_active'] = isActive;
|
|
2607
|
+
}
|
|
2608
|
+
|
|
2480
2609
|
|
|
2481
2610
|
|
|
2482
2611
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -2829,10 +2958,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2829
2958
|
* @param {string} [startDate]
|
|
2830
2959
|
* @param {string} [endDate]
|
|
2831
2960
|
* @param {ParkingDetailStatus} [status]
|
|
2961
|
+
* @param {boolean} [isExport]
|
|
2832
2962
|
* @param {*} [options] Override http request option.
|
|
2833
2963
|
* @throws {RequiredError}
|
|
2834
2964
|
*/
|
|
2835
|
-
parkingDetailsIndex: async (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2965
|
+
parkingDetailsIndex: async (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, isExport?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2836
2966
|
const localVarPath = `/parking-details`;
|
|
2837
2967
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2838
2968
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2881,6 +3011,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2881
3011
|
localVarQueryParameter['status'] = status;
|
|
2882
3012
|
}
|
|
2883
3013
|
|
|
3014
|
+
if (isExport !== undefined) {
|
|
3015
|
+
localVarQueryParameter['is_export'] = isExport;
|
|
3016
|
+
}
|
|
3017
|
+
|
|
2884
3018
|
|
|
2885
3019
|
|
|
2886
3020
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -3045,6 +3179,46 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3045
3179
|
options: localVarRequestOptions,
|
|
3046
3180
|
};
|
|
3047
3181
|
},
|
|
3182
|
+
/**
|
|
3183
|
+
*
|
|
3184
|
+
* @param {ManualCreateReceiptBody} manualCreateReceiptBody
|
|
3185
|
+
* @param {string} [xAccountId]
|
|
3186
|
+
* @param {*} [options] Override http request option.
|
|
3187
|
+
* @throws {RequiredError}
|
|
3188
|
+
*/
|
|
3189
|
+
receiptManualCreateReceipt: async (manualCreateReceiptBody: ManualCreateReceiptBody, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3190
|
+
// verify required parameter 'manualCreateReceiptBody' is not null or undefined
|
|
3191
|
+
assertParamExists('receiptManualCreateReceipt', 'manualCreateReceiptBody', manualCreateReceiptBody)
|
|
3192
|
+
const localVarPath = `/receipt/create-receipt/manual`;
|
|
3193
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3194
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3195
|
+
let baseOptions;
|
|
3196
|
+
if (configuration) {
|
|
3197
|
+
baseOptions = configuration.baseOptions;
|
|
3198
|
+
}
|
|
3199
|
+
|
|
3200
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3201
|
+
const localVarHeaderParameter = {} as any;
|
|
3202
|
+
const localVarQueryParameter = {} as any;
|
|
3203
|
+
|
|
3204
|
+
if (xAccountId != null) {
|
|
3205
|
+
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
3206
|
+
}
|
|
3207
|
+
|
|
3208
|
+
|
|
3209
|
+
|
|
3210
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3211
|
+
|
|
3212
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3213
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3214
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3215
|
+
localVarRequestOptions.data = serializeDataIfNeeded(manualCreateReceiptBody, localVarRequestOptions, configuration)
|
|
3216
|
+
|
|
3217
|
+
return {
|
|
3218
|
+
url: toPathString(localVarUrlObj),
|
|
3219
|
+
options: localVarRequestOptions,
|
|
3220
|
+
};
|
|
3221
|
+
},
|
|
3048
3222
|
/**
|
|
3049
3223
|
*
|
|
3050
3224
|
* @param {UpdateReceiptBody} updateReceiptBody
|
|
@@ -3240,26 +3414,38 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3240
3414
|
},
|
|
3241
3415
|
/**
|
|
3242
3416
|
*
|
|
3243
|
-
* @param {
|
|
3417
|
+
* @param {File} [file]
|
|
3418
|
+
* @param {*} [options] Override http request option.
|
|
3419
|
+
* @throws {RequiredError}
|
|
3420
|
+
*/
|
|
3421
|
+
async configStoreWhitelistImport(file?: File, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigStoreWhitelistImport200Response>> {
|
|
3422
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.configStoreWhitelistImport(file, options);
|
|
3423
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3424
|
+
},
|
|
3425
|
+
/**
|
|
3426
|
+
*
|
|
3244
3427
|
* @param {string} [taxId]
|
|
3245
3428
|
* @param {string} [storeName]
|
|
3246
3429
|
* @param {string} [companyName]
|
|
3247
|
-
* @param {string} [propertyName]
|
|
3248
|
-
* @param {string} [propertyId]
|
|
3249
3430
|
* @param {string} [unitNo]
|
|
3250
3431
|
* @param {string} [address]
|
|
3251
3432
|
* @param {string} [building]
|
|
3252
|
-
* @param {boolean} [hasTaxId]
|
|
3253
|
-
* @param {boolean} [receiptAddressInObk]
|
|
3254
|
-
* @param {string} [updatedAt]
|
|
3255
3433
|
* @param {string} [createdAt]
|
|
3434
|
+
* @param {string} [updatedAt]
|
|
3435
|
+
* @param {string} [propertyName]
|
|
3436
|
+
* @param {string} [propertyId]
|
|
3437
|
+
* @param {string} [propertyId2]
|
|
3256
3438
|
* @param {string} [sortKey]
|
|
3257
3439
|
* @param {string} [sortDirection]
|
|
3440
|
+
* @param {boolean} [isExport]
|
|
3441
|
+
* @param {boolean} [hasTaxId]
|
|
3442
|
+
* @param {boolean} [receiptAddressInObk]
|
|
3443
|
+
* @param {boolean} [isActive]
|
|
3258
3444
|
* @param {*} [options] Override http request option.
|
|
3259
3445
|
* @throws {RequiredError}
|
|
3260
3446
|
*/
|
|
3261
|
-
async configStoreWhitelistIndex(
|
|
3262
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.configStoreWhitelistIndex(
|
|
3447
|
+
async configStoreWhitelistIndex(taxId?: string, storeName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, propertyId2?: string, sortKey?: string, sortDirection?: string, isExport?: boolean, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StoreWhitelistResponse>>> {
|
|
3448
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.configStoreWhitelistIndex(taxId, storeName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, propertyId2, sortKey, sortDirection, isExport, hasTaxId, receiptAddressInObk, isActive, options);
|
|
3263
3449
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3264
3450
|
},
|
|
3265
3451
|
/**
|
|
@@ -3364,11 +3550,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3364
3550
|
* @param {string} [startDate]
|
|
3365
3551
|
* @param {string} [endDate]
|
|
3366
3552
|
* @param {ParkingDetailStatus} [status]
|
|
3553
|
+
* @param {boolean} [isExport]
|
|
3367
3554
|
* @param {*} [options] Override http request option.
|
|
3368
3555
|
* @throws {RequiredError}
|
|
3369
3556
|
*/
|
|
3370
|
-
async parkingDetailsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseDataGetParkingDetailsIndexResponseArray>> {
|
|
3371
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingDetailsIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options);
|
|
3557
|
+
async parkingDetailsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, isExport?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseDataGetParkingDetailsIndexResponseArray>> {
|
|
3558
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingDetailsIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, isExport, options);
|
|
3372
3559
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3373
3560
|
},
|
|
3374
3561
|
/**
|
|
@@ -3411,6 +3598,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
3411
3598
|
const localVarAxiosArgs = await localVarAxiosParamCreator.receiptCreateReceipt(createReceiptBody, xAccountId, options);
|
|
3412
3599
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3413
3600
|
},
|
|
3601
|
+
/**
|
|
3602
|
+
*
|
|
3603
|
+
* @param {ManualCreateReceiptBody} manualCreateReceiptBody
|
|
3604
|
+
* @param {string} [xAccountId]
|
|
3605
|
+
* @param {*} [options] Override http request option.
|
|
3606
|
+
* @throws {RequiredError}
|
|
3607
|
+
*/
|
|
3608
|
+
async receiptManualCreateReceipt(manualCreateReceiptBody: ManualCreateReceiptBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
3609
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.receiptManualCreateReceipt(manualCreateReceiptBody, xAccountId, options);
|
|
3610
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3611
|
+
},
|
|
3414
3612
|
/**
|
|
3415
3613
|
*
|
|
3416
3614
|
* @param {UpdateReceiptBody} updateReceiptBody
|
|
@@ -3549,26 +3747,37 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3549
3747
|
},
|
|
3550
3748
|
/**
|
|
3551
3749
|
*
|
|
3552
|
-
* @param {
|
|
3750
|
+
* @param {File} [file]
|
|
3751
|
+
* @param {*} [options] Override http request option.
|
|
3752
|
+
* @throws {RequiredError}
|
|
3753
|
+
*/
|
|
3754
|
+
configStoreWhitelistImport(file?: File, options?: any): AxiosPromise<ConfigStoreWhitelistImport200Response> {
|
|
3755
|
+
return localVarFp.configStoreWhitelistImport(file, options).then((request) => request(axios, basePath));
|
|
3756
|
+
},
|
|
3757
|
+
/**
|
|
3758
|
+
*
|
|
3553
3759
|
* @param {string} [taxId]
|
|
3554
3760
|
* @param {string} [storeName]
|
|
3555
3761
|
* @param {string} [companyName]
|
|
3556
|
-
* @param {string} [propertyName]
|
|
3557
|
-
* @param {string} [propertyId]
|
|
3558
3762
|
* @param {string} [unitNo]
|
|
3559
3763
|
* @param {string} [address]
|
|
3560
3764
|
* @param {string} [building]
|
|
3561
|
-
* @param {boolean} [hasTaxId]
|
|
3562
|
-
* @param {boolean} [receiptAddressInObk]
|
|
3563
|
-
* @param {string} [updatedAt]
|
|
3564
3765
|
* @param {string} [createdAt]
|
|
3766
|
+
* @param {string} [updatedAt]
|
|
3767
|
+
* @param {string} [propertyName]
|
|
3768
|
+
* @param {string} [propertyId]
|
|
3769
|
+
* @param {string} [propertyId2]
|
|
3565
3770
|
* @param {string} [sortKey]
|
|
3566
3771
|
* @param {string} [sortDirection]
|
|
3772
|
+
* @param {boolean} [isExport]
|
|
3773
|
+
* @param {boolean} [hasTaxId]
|
|
3774
|
+
* @param {boolean} [receiptAddressInObk]
|
|
3775
|
+
* @param {boolean} [isActive]
|
|
3567
3776
|
* @param {*} [options] Override http request option.
|
|
3568
3777
|
* @throws {RequiredError}
|
|
3569
3778
|
*/
|
|
3570
|
-
configStoreWhitelistIndex(
|
|
3571
|
-
return localVarFp.configStoreWhitelistIndex(
|
|
3779
|
+
configStoreWhitelistIndex(taxId?: string, storeName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, propertyId2?: string, sortKey?: string, sortDirection?: string, isExport?: boolean, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: any): AxiosPromise<Array<StoreWhitelistResponse>> {
|
|
3780
|
+
return localVarFp.configStoreWhitelistIndex(taxId, storeName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, propertyId2, sortKey, sortDirection, isExport, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(axios, basePath));
|
|
3572
3781
|
},
|
|
3573
3782
|
/**
|
|
3574
3783
|
*
|
|
@@ -3664,11 +3873,12 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3664
3873
|
* @param {string} [startDate]
|
|
3665
3874
|
* @param {string} [endDate]
|
|
3666
3875
|
* @param {ParkingDetailStatus} [status]
|
|
3876
|
+
* @param {boolean} [isExport]
|
|
3667
3877
|
* @param {*} [options] Override http request option.
|
|
3668
3878
|
* @throws {RequiredError}
|
|
3669
3879
|
*/
|
|
3670
|
-
parkingDetailsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: any): AxiosPromise<ResponseDataGetParkingDetailsIndexResponseArray> {
|
|
3671
|
-
return localVarFp.parkingDetailsIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options).then((request) => request(axios, basePath));
|
|
3880
|
+
parkingDetailsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, isExport?: boolean, options?: any): AxiosPromise<ResponseDataGetParkingDetailsIndexResponseArray> {
|
|
3881
|
+
return localVarFp.parkingDetailsIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, isExport, options).then((request) => request(axios, basePath));
|
|
3672
3882
|
},
|
|
3673
3883
|
/**
|
|
3674
3884
|
*
|
|
@@ -3707,6 +3917,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3707
3917
|
receiptCreateReceipt(createReceiptBody: CreateReceiptBody, xAccountId?: string, options?: any): AxiosPromise<boolean> {
|
|
3708
3918
|
return localVarFp.receiptCreateReceipt(createReceiptBody, xAccountId, options).then((request) => request(axios, basePath));
|
|
3709
3919
|
},
|
|
3920
|
+
/**
|
|
3921
|
+
*
|
|
3922
|
+
* @param {ManualCreateReceiptBody} manualCreateReceiptBody
|
|
3923
|
+
* @param {string} [xAccountId]
|
|
3924
|
+
* @param {*} [options] Override http request option.
|
|
3925
|
+
* @throws {RequiredError}
|
|
3926
|
+
*/
|
|
3927
|
+
receiptManualCreateReceipt(manualCreateReceiptBody: ManualCreateReceiptBody, xAccountId?: string, options?: any): AxiosPromise<boolean> {
|
|
3928
|
+
return localVarFp.receiptManualCreateReceipt(manualCreateReceiptBody, xAccountId, options).then((request) => request(axios, basePath));
|
|
3929
|
+
},
|
|
3710
3930
|
/**
|
|
3711
3931
|
*
|
|
3712
3932
|
* @param {UpdateReceiptBody} updateReceiptBody
|
|
@@ -3867,27 +4087,40 @@ export class DefaultApi extends BaseAPI {
|
|
|
3867
4087
|
|
|
3868
4088
|
/**
|
|
3869
4089
|
*
|
|
3870
|
-
* @param {
|
|
4090
|
+
* @param {File} [file]
|
|
4091
|
+
* @param {*} [options] Override http request option.
|
|
4092
|
+
* @throws {RequiredError}
|
|
4093
|
+
* @memberof DefaultApi
|
|
4094
|
+
*/
|
|
4095
|
+
public configStoreWhitelistImport(file?: File, options?: AxiosRequestConfig) {
|
|
4096
|
+
return DefaultApiFp(this.configuration).configStoreWhitelistImport(file, options).then((request) => request(this.axios, this.basePath));
|
|
4097
|
+
}
|
|
4098
|
+
|
|
4099
|
+
/**
|
|
4100
|
+
*
|
|
3871
4101
|
* @param {string} [taxId]
|
|
3872
4102
|
* @param {string} [storeName]
|
|
3873
4103
|
* @param {string} [companyName]
|
|
3874
|
-
* @param {string} [propertyName]
|
|
3875
|
-
* @param {string} [propertyId]
|
|
3876
4104
|
* @param {string} [unitNo]
|
|
3877
4105
|
* @param {string} [address]
|
|
3878
4106
|
* @param {string} [building]
|
|
3879
|
-
* @param {boolean} [hasTaxId]
|
|
3880
|
-
* @param {boolean} [receiptAddressInObk]
|
|
3881
|
-
* @param {string} [updatedAt]
|
|
3882
4107
|
* @param {string} [createdAt]
|
|
4108
|
+
* @param {string} [updatedAt]
|
|
4109
|
+
* @param {string} [propertyName]
|
|
4110
|
+
* @param {string} [propertyId]
|
|
4111
|
+
* @param {string} [propertyId2]
|
|
3883
4112
|
* @param {string} [sortKey]
|
|
3884
4113
|
* @param {string} [sortDirection]
|
|
4114
|
+
* @param {boolean} [isExport]
|
|
4115
|
+
* @param {boolean} [hasTaxId]
|
|
4116
|
+
* @param {boolean} [receiptAddressInObk]
|
|
4117
|
+
* @param {boolean} [isActive]
|
|
3885
4118
|
* @param {*} [options] Override http request option.
|
|
3886
4119
|
* @throws {RequiredError}
|
|
3887
4120
|
* @memberof DefaultApi
|
|
3888
4121
|
*/
|
|
3889
|
-
public configStoreWhitelistIndex(
|
|
3890
|
-
return DefaultApiFp(this.configuration).configStoreWhitelistIndex(
|
|
4122
|
+
public configStoreWhitelistIndex(taxId?: string, storeName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, propertyId2?: string, sortKey?: string, sortDirection?: string, isExport?: boolean, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: AxiosRequestConfig) {
|
|
4123
|
+
return DefaultApiFp(this.configuration).configStoreWhitelistIndex(taxId, storeName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, propertyId2, sortKey, sortDirection, isExport, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(this.axios, this.basePath));
|
|
3891
4124
|
}
|
|
3892
4125
|
|
|
3893
4126
|
/**
|
|
@@ -4000,12 +4233,13 @@ export class DefaultApi extends BaseAPI {
|
|
|
4000
4233
|
* @param {string} [startDate]
|
|
4001
4234
|
* @param {string} [endDate]
|
|
4002
4235
|
* @param {ParkingDetailStatus} [status]
|
|
4236
|
+
* @param {boolean} [isExport]
|
|
4003
4237
|
* @param {*} [options] Override http request option.
|
|
4004
4238
|
* @throws {RequiredError}
|
|
4005
4239
|
* @memberof DefaultApi
|
|
4006
4240
|
*/
|
|
4007
|
-
public parkingDetailsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: AxiosRequestConfig) {
|
|
4008
|
-
return DefaultApiFp(this.configuration).parkingDetailsIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options).then((request) => request(this.axios, this.basePath));
|
|
4241
|
+
public parkingDetailsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, isExport?: boolean, options?: AxiosRequestConfig) {
|
|
4242
|
+
return DefaultApiFp(this.configuration).parkingDetailsIndex(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, isExport, options).then((request) => request(this.axios, this.basePath));
|
|
4009
4243
|
}
|
|
4010
4244
|
|
|
4011
4245
|
/**
|
|
@@ -4051,6 +4285,18 @@ export class DefaultApi extends BaseAPI {
|
|
|
4051
4285
|
return DefaultApiFp(this.configuration).receiptCreateReceipt(createReceiptBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
4052
4286
|
}
|
|
4053
4287
|
|
|
4288
|
+
/**
|
|
4289
|
+
*
|
|
4290
|
+
* @param {ManualCreateReceiptBody} manualCreateReceiptBody
|
|
4291
|
+
* @param {string} [xAccountId]
|
|
4292
|
+
* @param {*} [options] Override http request option.
|
|
4293
|
+
* @throws {RequiredError}
|
|
4294
|
+
* @memberof DefaultApi
|
|
4295
|
+
*/
|
|
4296
|
+
public receiptManualCreateReceipt(manualCreateReceiptBody: ManualCreateReceiptBody, xAccountId?: string, options?: AxiosRequestConfig) {
|
|
4297
|
+
return DefaultApiFp(this.configuration).receiptManualCreateReceipt(manualCreateReceiptBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
4298
|
+
}
|
|
4299
|
+
|
|
4054
4300
|
/**
|
|
4055
4301
|
*
|
|
4056
4302
|
* @param {UpdateReceiptBody} updateReceiptBody
|