ob-parking-sdk 0.0.55 → 0.0.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * obk-parking
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.26.2
7
+ * The version of the OpenAPI document: 1.27.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -703,6 +703,69 @@ export const EngineType = {
703
703
  export type EngineType = typeof EngineType[keyof typeof EngineType];
704
704
 
705
705
 
706
+ /**
707
+ *
708
+ * @export
709
+ * @interface ExportParkingDetailIndexQuery
710
+ */
711
+ export interface ExportParkingDetailIndexQuery {
712
+ /**
713
+ *
714
+ * @type {string}
715
+ * @memberof ExportParkingDetailIndexQuery
716
+ */
717
+ 'order_by'?: string;
718
+ /**
719
+ *
720
+ * @type {string}
721
+ * @memberof ExportParkingDetailIndexQuery
722
+ */
723
+ 'order_direction'?: string;
724
+ /**
725
+ *
726
+ * @type {number}
727
+ * @memberof ExportParkingDetailIndexQuery
728
+ */
729
+ 'page_number'?: number;
730
+ /**
731
+ *
732
+ * @type {number}
733
+ * @memberof ExportParkingDetailIndexQuery
734
+ */
735
+ 'page_size'?: number;
736
+ /**
737
+ *
738
+ * @type {string}
739
+ * @memberof ExportParkingDetailIndexQuery
740
+ */
741
+ 'filter_by'?: string;
742
+ /**
743
+ *
744
+ * @type {string}
745
+ * @memberof ExportParkingDetailIndexQuery
746
+ */
747
+ 'filter_key'?: string;
748
+ /**
749
+ *
750
+ * @type {string}
751
+ * @memberof ExportParkingDetailIndexQuery
752
+ */
753
+ 'startDate'?: string;
754
+ /**
755
+ *
756
+ * @type {string}
757
+ * @memberof ExportParkingDetailIndexQuery
758
+ */
759
+ 'endDate'?: string;
760
+ /**
761
+ *
762
+ * @type {ParkingDetailStatus}
763
+ * @memberof ExportParkingDetailIndexQuery
764
+ */
765
+ 'status'?: ParkingDetailStatus;
766
+ }
767
+
768
+
706
769
  /**
707
770
  *
708
771
  * @export
@@ -1401,6 +1464,163 @@ export interface GetParkingDetailResponseRateDetail {
1401
1464
  */
1402
1465
  'en': string;
1403
1466
  }
1467
+ /**
1468
+ *
1469
+ * @export
1470
+ * @interface GetParkingDetailsExportResponse
1471
+ */
1472
+ export interface GetParkingDetailsExportResponse {
1473
+ /**
1474
+ *
1475
+ * @type {string}
1476
+ * @memberof GetParkingDetailsExportResponse
1477
+ */
1478
+ 'record_id': string;
1479
+ /**
1480
+ *
1481
+ * @type {string}
1482
+ * @memberof GetParkingDetailsExportResponse
1483
+ */
1484
+ 'parking_ticket_id': string;
1485
+ /**
1486
+ *
1487
+ * @type {string}
1488
+ * @memberof GetParkingDetailsExportResponse
1489
+ */
1490
+ 'vehicle_entry': string;
1491
+ /**
1492
+ *
1493
+ * @type {string}
1494
+ * @memberof GetParkingDetailsExportResponse
1495
+ */
1496
+ 'vehicle_exit': string;
1497
+ /**
1498
+ *
1499
+ * @type {string}
1500
+ * @memberof GetParkingDetailsExportResponse
1501
+ */
1502
+ 'total_time': string;
1503
+ /**
1504
+ *
1505
+ * @type {string}
1506
+ * @memberof GetParkingDetailsExportResponse
1507
+ */
1508
+ 'license_plate': string;
1509
+ /**
1510
+ *
1511
+ * @type {string}
1512
+ * @memberof GetParkingDetailsExportResponse
1513
+ */
1514
+ 'user_id': string;
1515
+ /**
1516
+ *
1517
+ * @type {string}
1518
+ * @memberof GetParkingDetailsExportResponse
1519
+ */
1520
+ 'username': string;
1521
+ /**
1522
+ *
1523
+ * @type {string}
1524
+ * @memberof GetParkingDetailsExportResponse
1525
+ */
1526
+ 'channel': string;
1527
+ /**
1528
+ *
1529
+ * @type {string}
1530
+ * @memberof GetParkingDetailsExportResponse
1531
+ */
1532
+ 'shop_name': string;
1533
+ /**
1534
+ *
1535
+ * @type {string}
1536
+ * @memberof GetParkingDetailsExportResponse
1537
+ */
1538
+ 'total_spent': string;
1539
+ /**
1540
+ *
1541
+ * @type {string}
1542
+ * @memberof GetParkingDetailsExportResponse
1543
+ */
1544
+ 'import_at': string;
1545
+ /**
1546
+ *
1547
+ * @type {string}
1548
+ * @memberof GetParkingDetailsExportResponse
1549
+ */
1550
+ 'rate_detail': string;
1551
+ /**
1552
+ *
1553
+ * @type {string}
1554
+ * @memberof GetParkingDetailsExportResponse
1555
+ */
1556
+ 'receipt_no': string;
1557
+ /**
1558
+ *
1559
+ * @type {string}
1560
+ * @memberof GetParkingDetailsExportResponse
1561
+ */
1562
+ 'sub_total': string;
1563
+ /**
1564
+ *
1565
+ * @type {string}
1566
+ * @memberof GetParkingDetailsExportResponse
1567
+ */
1568
+ 'receipt_status': string;
1569
+ /**
1570
+ *
1571
+ * @type {string}
1572
+ * @memberof GetParkingDetailsExportResponse
1573
+ */
1574
+ 'reason': string;
1575
+ /**
1576
+ *
1577
+ * @type {string}
1578
+ * @memberof GetParkingDetailsExportResponse
1579
+ */
1580
+ 'redeem_at': string;
1581
+ /**
1582
+ *
1583
+ * @type {string}
1584
+ * @memberof GetParkingDetailsExportResponse
1585
+ */
1586
+ 'image_url': string;
1587
+ /**
1588
+ *
1589
+ * @type {string}
1590
+ * @memberof GetParkingDetailsExportResponse
1591
+ */
1592
+ 'redeem_by': string;
1593
+ /**
1594
+ *
1595
+ * @type {string}
1596
+ * @memberof GetParkingDetailsExportResponse
1597
+ */
1598
+ 'counter': string;
1599
+ /**
1600
+ *
1601
+ * @type {string}
1602
+ * @memberof GetParkingDetailsExportResponse
1603
+ */
1604
+ 'parking_sub_total': string;
1605
+ /**
1606
+ *
1607
+ * @type {string}
1608
+ * @memberof GetParkingDetailsExportResponse
1609
+ */
1610
+ 'parking_discount': string;
1611
+ /**
1612
+ *
1613
+ * @type {string}
1614
+ * @memberof GetParkingDetailsExportResponse
1615
+ */
1616
+ 'parking_fee': string;
1617
+ /**
1618
+ *
1619
+ * @type {string}
1620
+ * @memberof GetParkingDetailsExportResponse
1621
+ */
1622
+ 'ocr_extract': string;
1623
+ }
1404
1624
  /**
1405
1625
  *
1406
1626
  * @export
@@ -2606,6 +2826,25 @@ export interface ResponseDataGetParkingDetailResponse {
2606
2826
  */
2607
2827
  'pagination'?: Pagination;
2608
2828
  }
2829
+ /**
2830
+ *
2831
+ * @export
2832
+ * @interface ResponseDataGetParkingDetailsExportResponseArray
2833
+ */
2834
+ export interface ResponseDataGetParkingDetailsExportResponseArray {
2835
+ /**
2836
+ *
2837
+ * @type {Array<GetParkingDetailsExportResponse>}
2838
+ * @memberof ResponseDataGetParkingDetailsExportResponseArray
2839
+ */
2840
+ 'data': Array<GetParkingDetailsExportResponse>;
2841
+ /**
2842
+ *
2843
+ * @type {Pagination}
2844
+ * @memberof ResponseDataGetParkingDetailsExportResponseArray
2845
+ */
2846
+ 'pagination'?: Pagination;
2847
+ }
2609
2848
  /**
2610
2849
  *
2611
2850
  * @export
@@ -2935,6 +3174,12 @@ export interface UpdateReceiptBody {
2935
3174
  * @memberof UpdateReceiptBody
2936
3175
  */
2937
3176
  'message'?: string;
3177
+ /**
3178
+ *
3179
+ * @type {string}
3180
+ * @memberof UpdateReceiptBody
3181
+ */
3182
+ 'counter'?: string;
2938
3183
  }
2939
3184
 
2940
3185
 
@@ -4022,6 +4267,80 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4022
4267
 
4023
4268
 
4024
4269
 
4270
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4271
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4272
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4273
+
4274
+ return {
4275
+ url: toPathString(localVarUrlObj),
4276
+ options: localVarRequestOptions,
4277
+ };
4278
+ },
4279
+ /**
4280
+ *
4281
+ * @param {string} [orderBy]
4282
+ * @param {string} [orderDirection]
4283
+ * @param {number} [pageNumber]
4284
+ * @param {number} [pageSize]
4285
+ * @param {string} [filterBy]
4286
+ * @param {string} [filterKey]
4287
+ * @param {string} [startDate]
4288
+ * @param {string} [endDate]
4289
+ * @param {ParkingDetailStatus} [status]
4290
+ * @param {*} [options] Override http request option.
4291
+ * @throws {RequiredError}
4292
+ */
4293
+ parkingDetailsExport: async (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4294
+ const localVarPath = `/parking-details/export`;
4295
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4296
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4297
+ let baseOptions;
4298
+ if (configuration) {
4299
+ baseOptions = configuration.baseOptions;
4300
+ }
4301
+
4302
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4303
+ const localVarHeaderParameter = {} as any;
4304
+ const localVarQueryParameter = {} as any;
4305
+
4306
+ if (orderBy !== undefined) {
4307
+ localVarQueryParameter['order_by'] = orderBy;
4308
+ }
4309
+
4310
+ if (orderDirection !== undefined) {
4311
+ localVarQueryParameter['order_direction'] = orderDirection;
4312
+ }
4313
+
4314
+ if (pageNumber !== undefined) {
4315
+ localVarQueryParameter['page_number'] = pageNumber;
4316
+ }
4317
+
4318
+ if (pageSize !== undefined) {
4319
+ localVarQueryParameter['page_size'] = pageSize;
4320
+ }
4321
+
4322
+ if (filterBy !== undefined) {
4323
+ localVarQueryParameter['filter_by'] = filterBy;
4324
+ }
4325
+
4326
+ if (filterKey !== undefined) {
4327
+ localVarQueryParameter['filter_key'] = filterKey;
4328
+ }
4329
+
4330
+ if (startDate !== undefined) {
4331
+ localVarQueryParameter['startDate'] = startDate;
4332
+ }
4333
+
4334
+ if (endDate !== undefined) {
4335
+ localVarQueryParameter['endDate'] = endDate;
4336
+ }
4337
+
4338
+ if (status !== undefined) {
4339
+ localVarQueryParameter['status'] = status;
4340
+ }
4341
+
4342
+
4343
+
4025
4344
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4026
4345
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4027
4346
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -5254,6 +5573,24 @@ export const DefaultApiFp = function(configuration?: Configuration) {
5254
5573
  const localVarAxiosArgs = await localVarAxiosParamCreator.parkingAddParkingTicket(id, platform, idType, xAccountId, options);
5255
5574
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5256
5575
  },
5576
+ /**
5577
+ *
5578
+ * @param {string} [orderBy]
5579
+ * @param {string} [orderDirection]
5580
+ * @param {number} [pageNumber]
5581
+ * @param {number} [pageSize]
5582
+ * @param {string} [filterBy]
5583
+ * @param {string} [filterKey]
5584
+ * @param {string} [startDate]
5585
+ * @param {string} [endDate]
5586
+ * @param {ParkingDetailStatus} [status]
5587
+ * @param {*} [options] Override http request option.
5588
+ * @throws {RequiredError}
5589
+ */
5590
+ 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>> {
5591
+ const localVarAxiosArgs = await localVarAxiosParamCreator.parkingDetailsExport(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options);
5592
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
5593
+ },
5257
5594
  /**
5258
5595
  *
5259
5596
  * @param {string} id
@@ -5750,6 +6087,23 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5750
6087
  parkingAddParkingTicket(id: string, platform: AddParkingTicketType, idType: AddParkingTicketIdType, xAccountId?: string, options?: any): AxiosPromise<AddParkingTicketResponse> {
5751
6088
  return localVarFp.parkingAddParkingTicket(id, platform, idType, xAccountId, options).then((request) => request(axios, basePath));
5752
6089
  },
6090
+ /**
6091
+ *
6092
+ * @param {string} [orderBy]
6093
+ * @param {string} [orderDirection]
6094
+ * @param {number} [pageNumber]
6095
+ * @param {number} [pageSize]
6096
+ * @param {string} [filterBy]
6097
+ * @param {string} [filterKey]
6098
+ * @param {string} [startDate]
6099
+ * @param {string} [endDate]
6100
+ * @param {ParkingDetailStatus} [status]
6101
+ * @param {*} [options] Override http request option.
6102
+ * @throws {RequiredError}
6103
+ */
6104
+ parkingDetailsExport(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: any): AxiosPromise<ResponseDataGetParkingDetailsExportResponseArray> {
6105
+ return localVarFp.parkingDetailsExport(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options).then((request) => request(axios, basePath));
6106
+ },
5753
6107
  /**
5754
6108
  *
5755
6109
  * @param {string} id
@@ -6267,6 +6621,25 @@ export class DefaultApi extends BaseAPI {
6267
6621
  return DefaultApiFp(this.configuration).parkingAddParkingTicket(id, platform, idType, xAccountId, options).then((request) => request(this.axios, this.basePath));
6268
6622
  }
6269
6623
 
6624
+ /**
6625
+ *
6626
+ * @param {string} [orderBy]
6627
+ * @param {string} [orderDirection]
6628
+ * @param {number} [pageNumber]
6629
+ * @param {number} [pageSize]
6630
+ * @param {string} [filterBy]
6631
+ * @param {string} [filterKey]
6632
+ * @param {string} [startDate]
6633
+ * @param {string} [endDate]
6634
+ * @param {ParkingDetailStatus} [status]
6635
+ * @param {*} [options] Override http request option.
6636
+ * @throws {RequiredError}
6637
+ * @memberof DefaultApi
6638
+ */
6639
+ public parkingDetailsExport(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: AxiosRequestConfig) {
6640
+ return DefaultApiFp(this.configuration).parkingDetailsExport(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options).then((request) => request(this.axios, this.basePath));
6641
+ }
6642
+
6270
6643
  /**
6271
6644
  *
6272
6645
  * @param {string} id
package/api/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * obk-parking
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.26.2
7
+ * The version of the OpenAPI document: 1.27.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * obk-parking
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.26.2
7
+ * The version of the OpenAPI document: 1.27.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * obk-parking
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.26.2
7
+ * The version of the OpenAPI document: 1.27.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * obk-parking
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
- * The version of the OpenAPI document: 1.26.2
7
+ * The version of the OpenAPI document: 1.27.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * obk-parking
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.26.2
5
+ * The version of the OpenAPI document: 1.27.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -674,6 +674,67 @@ export declare const EngineType: {
674
674
  readonly Ice: "ICE";
675
675
  };
676
676
  export type EngineType = typeof EngineType[keyof typeof EngineType];
677
+ /**
678
+ *
679
+ * @export
680
+ * @interface ExportParkingDetailIndexQuery
681
+ */
682
+ export interface ExportParkingDetailIndexQuery {
683
+ /**
684
+ *
685
+ * @type {string}
686
+ * @memberof ExportParkingDetailIndexQuery
687
+ */
688
+ 'order_by'?: string;
689
+ /**
690
+ *
691
+ * @type {string}
692
+ * @memberof ExportParkingDetailIndexQuery
693
+ */
694
+ 'order_direction'?: string;
695
+ /**
696
+ *
697
+ * @type {number}
698
+ * @memberof ExportParkingDetailIndexQuery
699
+ */
700
+ 'page_number'?: number;
701
+ /**
702
+ *
703
+ * @type {number}
704
+ * @memberof ExportParkingDetailIndexQuery
705
+ */
706
+ 'page_size'?: number;
707
+ /**
708
+ *
709
+ * @type {string}
710
+ * @memberof ExportParkingDetailIndexQuery
711
+ */
712
+ 'filter_by'?: string;
713
+ /**
714
+ *
715
+ * @type {string}
716
+ * @memberof ExportParkingDetailIndexQuery
717
+ */
718
+ 'filter_key'?: string;
719
+ /**
720
+ *
721
+ * @type {string}
722
+ * @memberof ExportParkingDetailIndexQuery
723
+ */
724
+ 'startDate'?: string;
725
+ /**
726
+ *
727
+ * @type {string}
728
+ * @memberof ExportParkingDetailIndexQuery
729
+ */
730
+ 'endDate'?: string;
731
+ /**
732
+ *
733
+ * @type {ParkingDetailStatus}
734
+ * @memberof ExportParkingDetailIndexQuery
735
+ */
736
+ 'status'?: ParkingDetailStatus;
737
+ }
677
738
  /**
678
739
  *
679
740
  * @export
@@ -1366,6 +1427,163 @@ export interface GetParkingDetailResponseRateDetail {
1366
1427
  */
1367
1428
  'en': string;
1368
1429
  }
1430
+ /**
1431
+ *
1432
+ * @export
1433
+ * @interface GetParkingDetailsExportResponse
1434
+ */
1435
+ export interface GetParkingDetailsExportResponse {
1436
+ /**
1437
+ *
1438
+ * @type {string}
1439
+ * @memberof GetParkingDetailsExportResponse
1440
+ */
1441
+ 'record_id': string;
1442
+ /**
1443
+ *
1444
+ * @type {string}
1445
+ * @memberof GetParkingDetailsExportResponse
1446
+ */
1447
+ 'parking_ticket_id': string;
1448
+ /**
1449
+ *
1450
+ * @type {string}
1451
+ * @memberof GetParkingDetailsExportResponse
1452
+ */
1453
+ 'vehicle_entry': string;
1454
+ /**
1455
+ *
1456
+ * @type {string}
1457
+ * @memberof GetParkingDetailsExportResponse
1458
+ */
1459
+ 'vehicle_exit': string;
1460
+ /**
1461
+ *
1462
+ * @type {string}
1463
+ * @memberof GetParkingDetailsExportResponse
1464
+ */
1465
+ 'total_time': string;
1466
+ /**
1467
+ *
1468
+ * @type {string}
1469
+ * @memberof GetParkingDetailsExportResponse
1470
+ */
1471
+ 'license_plate': string;
1472
+ /**
1473
+ *
1474
+ * @type {string}
1475
+ * @memberof GetParkingDetailsExportResponse
1476
+ */
1477
+ 'user_id': string;
1478
+ /**
1479
+ *
1480
+ * @type {string}
1481
+ * @memberof GetParkingDetailsExportResponse
1482
+ */
1483
+ 'username': string;
1484
+ /**
1485
+ *
1486
+ * @type {string}
1487
+ * @memberof GetParkingDetailsExportResponse
1488
+ */
1489
+ 'channel': string;
1490
+ /**
1491
+ *
1492
+ * @type {string}
1493
+ * @memberof GetParkingDetailsExportResponse
1494
+ */
1495
+ 'shop_name': string;
1496
+ /**
1497
+ *
1498
+ * @type {string}
1499
+ * @memberof GetParkingDetailsExportResponse
1500
+ */
1501
+ 'total_spent': string;
1502
+ /**
1503
+ *
1504
+ * @type {string}
1505
+ * @memberof GetParkingDetailsExportResponse
1506
+ */
1507
+ 'import_at': string;
1508
+ /**
1509
+ *
1510
+ * @type {string}
1511
+ * @memberof GetParkingDetailsExportResponse
1512
+ */
1513
+ 'rate_detail': string;
1514
+ /**
1515
+ *
1516
+ * @type {string}
1517
+ * @memberof GetParkingDetailsExportResponse
1518
+ */
1519
+ 'receipt_no': string;
1520
+ /**
1521
+ *
1522
+ * @type {string}
1523
+ * @memberof GetParkingDetailsExportResponse
1524
+ */
1525
+ 'sub_total': string;
1526
+ /**
1527
+ *
1528
+ * @type {string}
1529
+ * @memberof GetParkingDetailsExportResponse
1530
+ */
1531
+ 'receipt_status': string;
1532
+ /**
1533
+ *
1534
+ * @type {string}
1535
+ * @memberof GetParkingDetailsExportResponse
1536
+ */
1537
+ 'reason': string;
1538
+ /**
1539
+ *
1540
+ * @type {string}
1541
+ * @memberof GetParkingDetailsExportResponse
1542
+ */
1543
+ 'redeem_at': string;
1544
+ /**
1545
+ *
1546
+ * @type {string}
1547
+ * @memberof GetParkingDetailsExportResponse
1548
+ */
1549
+ 'image_url': string;
1550
+ /**
1551
+ *
1552
+ * @type {string}
1553
+ * @memberof GetParkingDetailsExportResponse
1554
+ */
1555
+ 'redeem_by': string;
1556
+ /**
1557
+ *
1558
+ * @type {string}
1559
+ * @memberof GetParkingDetailsExportResponse
1560
+ */
1561
+ 'counter': string;
1562
+ /**
1563
+ *
1564
+ * @type {string}
1565
+ * @memberof GetParkingDetailsExportResponse
1566
+ */
1567
+ 'parking_sub_total': string;
1568
+ /**
1569
+ *
1570
+ * @type {string}
1571
+ * @memberof GetParkingDetailsExportResponse
1572
+ */
1573
+ 'parking_discount': string;
1574
+ /**
1575
+ *
1576
+ * @type {string}
1577
+ * @memberof GetParkingDetailsExportResponse
1578
+ */
1579
+ 'parking_fee': string;
1580
+ /**
1581
+ *
1582
+ * @type {string}
1583
+ * @memberof GetParkingDetailsExportResponse
1584
+ */
1585
+ 'ocr_extract': string;
1586
+ }
1369
1587
  /**
1370
1588
  *
1371
1589
  * @export
@@ -2546,6 +2764,25 @@ export interface ResponseDataGetParkingDetailResponse {
2546
2764
  */
2547
2765
  'pagination'?: Pagination;
2548
2766
  }
2767
+ /**
2768
+ *
2769
+ * @export
2770
+ * @interface ResponseDataGetParkingDetailsExportResponseArray
2771
+ */
2772
+ export interface ResponseDataGetParkingDetailsExportResponseArray {
2773
+ /**
2774
+ *
2775
+ * @type {Array<GetParkingDetailsExportResponse>}
2776
+ * @memberof ResponseDataGetParkingDetailsExportResponseArray
2777
+ */
2778
+ 'data': Array<GetParkingDetailsExportResponse>;
2779
+ /**
2780
+ *
2781
+ * @type {Pagination}
2782
+ * @memberof ResponseDataGetParkingDetailsExportResponseArray
2783
+ */
2784
+ 'pagination'?: Pagination;
2785
+ }
2549
2786
  /**
2550
2787
  *
2551
2788
  * @export
@@ -2875,6 +3112,12 @@ export interface UpdateReceiptBody {
2875
3112
  * @memberof UpdateReceiptBody
2876
3113
  */
2877
3114
  'message'?: string;
3115
+ /**
3116
+ *
3117
+ * @type {string}
3118
+ * @memberof UpdateReceiptBody
3119
+ */
3120
+ 'counter'?: string;
2878
3121
  }
2879
3122
  /**
2880
3123
  *
@@ -3278,6 +3521,21 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
3278
3521
  * @throws {RequiredError}
3279
3522
  */
3280
3523
  parkingAddParkingTicket: (id: string, platform: AddParkingTicketType, idType: AddParkingTicketIdType, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3524
+ /**
3525
+ *
3526
+ * @param {string} [orderBy]
3527
+ * @param {string} [orderDirection]
3528
+ * @param {number} [pageNumber]
3529
+ * @param {number} [pageSize]
3530
+ * @param {string} [filterBy]
3531
+ * @param {string} [filterKey]
3532
+ * @param {string} [startDate]
3533
+ * @param {string} [endDate]
3534
+ * @param {ParkingDetailStatus} [status]
3535
+ * @param {*} [options] Override http request option.
3536
+ * @throws {RequiredError}
3537
+ */
3538
+ parkingDetailsExport: (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: AxiosRequestConfig) => Promise<RequestArgs>;
3281
3539
  /**
3282
3540
  *
3283
3541
  * @param {string} id
@@ -3657,6 +3915,21 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
3657
3915
  * @throws {RequiredError}
3658
3916
  */
3659
3917
  parkingAddParkingTicket(id: string, platform: AddParkingTicketType, idType: AddParkingTicketIdType, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddParkingTicketResponse>>;
3918
+ /**
3919
+ *
3920
+ * @param {string} [orderBy]
3921
+ * @param {string} [orderDirection]
3922
+ * @param {number} [pageNumber]
3923
+ * @param {number} [pageSize]
3924
+ * @param {string} [filterBy]
3925
+ * @param {string} [filterKey]
3926
+ * @param {string} [startDate]
3927
+ * @param {string} [endDate]
3928
+ * @param {ParkingDetailStatus} [status]
3929
+ * @param {*} [options] Override http request option.
3930
+ * @throws {RequiredError}
3931
+ */
3932
+ 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>>;
3660
3933
  /**
3661
3934
  *
3662
3935
  * @param {string} id
@@ -4036,6 +4309,21 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
4036
4309
  * @throws {RequiredError}
4037
4310
  */
4038
4311
  parkingAddParkingTicket(id: string, platform: AddParkingTicketType, idType: AddParkingTicketIdType, xAccountId?: string, options?: any): AxiosPromise<AddParkingTicketResponse>;
4312
+ /**
4313
+ *
4314
+ * @param {string} [orderBy]
4315
+ * @param {string} [orderDirection]
4316
+ * @param {number} [pageNumber]
4317
+ * @param {number} [pageSize]
4318
+ * @param {string} [filterBy]
4319
+ * @param {string} [filterKey]
4320
+ * @param {string} [startDate]
4321
+ * @param {string} [endDate]
4322
+ * @param {ParkingDetailStatus} [status]
4323
+ * @param {*} [options] Override http request option.
4324
+ * @throws {RequiredError}
4325
+ */
4326
+ parkingDetailsExport(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: any): AxiosPromise<ResponseDataGetParkingDetailsExportResponseArray>;
4039
4327
  /**
4040
4328
  *
4041
4329
  * @param {string} id
@@ -4439,6 +4727,22 @@ export declare class DefaultApi extends BaseAPI {
4439
4727
  * @memberof DefaultApi
4440
4728
  */
4441
4729
  parkingAddParkingTicket(id: string, platform: AddParkingTicketType, idType: AddParkingTicketIdType, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AddParkingTicketResponse, any>>;
4730
+ /**
4731
+ *
4732
+ * @param {string} [orderBy]
4733
+ * @param {string} [orderDirection]
4734
+ * @param {number} [pageNumber]
4735
+ * @param {number} [pageSize]
4736
+ * @param {string} [filterBy]
4737
+ * @param {string} [filterKey]
4738
+ * @param {string} [startDate]
4739
+ * @param {string} [endDate]
4740
+ * @param {ParkingDetailStatus} [status]
4741
+ * @param {*} [options] Override http request option.
4742
+ * @throws {RequiredError}
4743
+ * @memberof DefaultApi
4744
+ */
4745
+ parkingDetailsExport(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, filterBy?: string, filterKey?: string, startDate?: string, endDate?: string, status?: ParkingDetailStatus, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseDataGetParkingDetailsExportResponseArray, any>>;
4442
4746
  /**
4443
4747
  *
4444
4748
  * @param {string} id
package/dist/api/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * obk-parking
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.26.2
8
+ * The version of the OpenAPI document: 1.27.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -828,6 +828,66 @@ const DefaultApiAxiosParamCreator = function (configuration) {
828
828
  options: localVarRequestOptions,
829
829
  };
830
830
  }),
831
+ /**
832
+ *
833
+ * @param {string} [orderBy]
834
+ * @param {string} [orderDirection]
835
+ * @param {number} [pageNumber]
836
+ * @param {number} [pageSize]
837
+ * @param {string} [filterBy]
838
+ * @param {string} [filterKey]
839
+ * @param {string} [startDate]
840
+ * @param {string} [endDate]
841
+ * @param {ParkingDetailStatus} [status]
842
+ * @param {*} [options] Override http request option.
843
+ * @throws {RequiredError}
844
+ */
845
+ parkingDetailsExport: (orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options = {}) => __awaiter(this, void 0, void 0, function* () {
846
+ const localVarPath = `/parking-details/export`;
847
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
848
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
849
+ let baseOptions;
850
+ if (configuration) {
851
+ baseOptions = configuration.baseOptions;
852
+ }
853
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
854
+ const localVarHeaderParameter = {};
855
+ const localVarQueryParameter = {};
856
+ if (orderBy !== undefined) {
857
+ localVarQueryParameter['order_by'] = orderBy;
858
+ }
859
+ if (orderDirection !== undefined) {
860
+ localVarQueryParameter['order_direction'] = orderDirection;
861
+ }
862
+ if (pageNumber !== undefined) {
863
+ localVarQueryParameter['page_number'] = pageNumber;
864
+ }
865
+ if (pageSize !== undefined) {
866
+ localVarQueryParameter['page_size'] = pageSize;
867
+ }
868
+ if (filterBy !== undefined) {
869
+ localVarQueryParameter['filter_by'] = filterBy;
870
+ }
871
+ if (filterKey !== undefined) {
872
+ localVarQueryParameter['filter_key'] = filterKey;
873
+ }
874
+ if (startDate !== undefined) {
875
+ localVarQueryParameter['startDate'] = startDate;
876
+ }
877
+ if (endDate !== undefined) {
878
+ localVarQueryParameter['endDate'] = endDate;
879
+ }
880
+ if (status !== undefined) {
881
+ localVarQueryParameter['status'] = status;
882
+ }
883
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
884
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
885
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
886
+ return {
887
+ url: (0, common_1.toPathString)(localVarUrlObj),
888
+ options: localVarRequestOptions,
889
+ };
890
+ }),
831
891
  /**
832
892
  *
833
893
  * @param {string} id
@@ -1929,6 +1989,26 @@ const DefaultApiFp = function (configuration) {
1929
1989
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1930
1990
  });
1931
1991
  },
1992
+ /**
1993
+ *
1994
+ * @param {string} [orderBy]
1995
+ * @param {string} [orderDirection]
1996
+ * @param {number} [pageNumber]
1997
+ * @param {number} [pageSize]
1998
+ * @param {string} [filterBy]
1999
+ * @param {string} [filterKey]
2000
+ * @param {string} [startDate]
2001
+ * @param {string} [endDate]
2002
+ * @param {ParkingDetailStatus} [status]
2003
+ * @param {*} [options] Override http request option.
2004
+ * @throws {RequiredError}
2005
+ */
2006
+ parkingDetailsExport(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options) {
2007
+ return __awaiter(this, void 0, void 0, function* () {
2008
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingDetailsExport(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options);
2009
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2010
+ });
2011
+ },
1932
2012
  /**
1933
2013
  *
1934
2014
  * @param {string} id
@@ -2471,6 +2551,23 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2471
2551
  parkingAddParkingTicket(id, platform, idType, xAccountId, options) {
2472
2552
  return localVarFp.parkingAddParkingTicket(id, platform, idType, xAccountId, options).then((request) => request(axios, basePath));
2473
2553
  },
2554
+ /**
2555
+ *
2556
+ * @param {string} [orderBy]
2557
+ * @param {string} [orderDirection]
2558
+ * @param {number} [pageNumber]
2559
+ * @param {number} [pageSize]
2560
+ * @param {string} [filterBy]
2561
+ * @param {string} [filterKey]
2562
+ * @param {string} [startDate]
2563
+ * @param {string} [endDate]
2564
+ * @param {ParkingDetailStatus} [status]
2565
+ * @param {*} [options] Override http request option.
2566
+ * @throws {RequiredError}
2567
+ */
2568
+ parkingDetailsExport(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options) {
2569
+ return localVarFp.parkingDetailsExport(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options).then((request) => request(axios, basePath));
2570
+ },
2474
2571
  /**
2475
2572
  *
2476
2573
  * @param {string} id
@@ -2966,6 +3063,24 @@ class DefaultApi extends base_1.BaseAPI {
2966
3063
  parkingAddParkingTicket(id, platform, idType, xAccountId, options) {
2967
3064
  return (0, exports.DefaultApiFp)(this.configuration).parkingAddParkingTicket(id, platform, idType, xAccountId, options).then((request) => request(this.axios, this.basePath));
2968
3065
  }
3066
+ /**
3067
+ *
3068
+ * @param {string} [orderBy]
3069
+ * @param {string} [orderDirection]
3070
+ * @param {number} [pageNumber]
3071
+ * @param {number} [pageSize]
3072
+ * @param {string} [filterBy]
3073
+ * @param {string} [filterKey]
3074
+ * @param {string} [startDate]
3075
+ * @param {string} [endDate]
3076
+ * @param {ParkingDetailStatus} [status]
3077
+ * @param {*} [options] Override http request option.
3078
+ * @throws {RequiredError}
3079
+ * @memberof DefaultApi
3080
+ */
3081
+ parkingDetailsExport(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options) {
3082
+ return (0, exports.DefaultApiFp)(this.configuration).parkingDetailsExport(orderBy, orderDirection, pageNumber, pageSize, filterBy, filterKey, startDate, endDate, status, options).then((request) => request(this.axios, this.basePath));
3083
+ }
2969
3084
  /**
2970
3085
  *
2971
3086
  * @param {string} id
@@ -2,7 +2,7 @@
2
2
  * obk-parking
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.26.2
5
+ * The version of the OpenAPI document: 1.27.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * obk-parking
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.26.2
8
+ * The version of the OpenAPI document: 1.27.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * obk-parking
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.26.2
5
+ * The version of the OpenAPI document: 1.27.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * obk-parking
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.26.2
8
+ * The version of the OpenAPI document: 1.27.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * obk-parking
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.26.2
5
+ * The version of the OpenAPI document: 1.27.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * obk-parking
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.26.2
8
+ * The version of the OpenAPI document: 1.27.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * obk-parking
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.26.2
5
+ * The version of the OpenAPI document: 1.27.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * obk-parking
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.26.2
8
+ * The version of the OpenAPI document: 1.27.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-parking-sdk",
3
- "version": "0.0.55",
3
+ "version": "0.0.56",
4
4
  "description": "API interfaces for OB PARKING",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"