ob-bms-sdk 0.0.96 → 0.0.97

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
@@ -2038,6 +2038,37 @@ export interface MembersShowResponse {
2038
2038
  */
2039
2039
  'passed_turnstile': boolean;
2040
2040
  }
2041
+ /**
2042
+ *
2043
+ * @export
2044
+ * @interface Pagination
2045
+ */
2046
+ export interface Pagination {
2047
+ /**
2048
+ *
2049
+ * @type {number}
2050
+ * @memberof Pagination
2051
+ */
2052
+ 'total': number;
2053
+ /**
2054
+ *
2055
+ * @type {number}
2056
+ * @memberof Pagination
2057
+ */
2058
+ 'total_page': number;
2059
+ /**
2060
+ *
2061
+ * @type {number}
2062
+ * @memberof Pagination
2063
+ */
2064
+ 'page_number': number;
2065
+ /**
2066
+ *
2067
+ * @type {number}
2068
+ * @memberof Pagination
2069
+ */
2070
+ 'page_size': number;
2071
+ }
2041
2072
  /**
2042
2073
  *
2043
2074
  * @export
@@ -2134,7 +2165,7 @@ export interface ParkingLogQuery {
2134
2165
  * @type {AccessorType}
2135
2166
  * @memberof ParkingLogQuery
2136
2167
  */
2137
- 'type'?: AccessorType;
2168
+ 'accessorType'?: AccessorType;
2138
2169
  /**
2139
2170
  *
2140
2171
  * @type {string}
@@ -4528,6 +4559,12 @@ export interface WrappedArrayResponseParkingLogResult {
4528
4559
  * @memberof WrappedArrayResponseParkingLogResult
4529
4560
  */
4530
4561
  'data': Array<ParkingLogResult>;
4562
+ /**
4563
+ *
4564
+ * @type {Pagination}
4565
+ * @memberof WrappedArrayResponseParkingLogResult
4566
+ */
4567
+ 'pagination'?: Pagination;
4531
4568
  }
4532
4569
  /**
4533
4570
  *
@@ -6425,7 +6462,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
6425
6462
  * @param {string} [orderDirection]
6426
6463
  * @param {number} [pageNumber]
6427
6464
  * @param {number} [pageSize]
6428
- * @param {AccessorType} [type]
6465
+ * @param {AccessorType} [accessorType]
6429
6466
  * @param {string} [gate]
6430
6467
  * @param {string} [id]
6431
6468
  * @param {string} [filter]
@@ -6434,7 +6471,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
6434
6471
  * @param {*} [options] Override http request option.
6435
6472
  * @throws {RequiredError}
6436
6473
  */
6437
- parkingAccessLogsIndex: async (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id?: string, filter?: string, startDate?: string, endDate?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6474
+ parkingAccessLogsIndex: async (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, accessorType?: AccessorType, gate?: string, id?: string, filter?: string, startDate?: string, endDate?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6438
6475
  const localVarPath = `/parking_access`;
6439
6476
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6440
6477
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6463,8 +6500,8 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
6463
6500
  localVarQueryParameter['page_size'] = pageSize;
6464
6501
  }
6465
6502
 
6466
- if (type !== undefined) {
6467
- localVarQueryParameter['type'] = type;
6503
+ if (accessorType !== undefined) {
6504
+ localVarQueryParameter['accessorType'] = accessorType;
6468
6505
  }
6469
6506
 
6470
6507
  if (gate !== undefined) {
@@ -6500,25 +6537,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
6500
6537
  },
6501
6538
  /**
6502
6539
  *
6503
- * @param {string} id
6504
- * @param {string} [orderBy]
6505
- * @param {string} [orderDirection]
6506
- * @param {number} [pageNumber]
6507
- * @param {number} [pageSize]
6508
- * @param {AccessorType} [type]
6509
- * @param {string} [gate]
6510
- * @param {string} [id2]
6511
- * @param {string} [filter]
6512
- * @param {string} [startDate]
6513
- * @param {string} [endDate]
6540
+ * @param {string} plateNumber
6514
6541
  * @param {*} [options] Override http request option.
6515
6542
  * @throws {RequiredError}
6516
6543
  */
6517
- parkingAccessLogsShow: async (id: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id2?: string, filter?: string, startDate?: string, endDate?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6518
- // verify required parameter 'id' is not null or undefined
6519
- assertParamExists('parkingAccessLogsShow', 'id', id)
6520
- const localVarPath = `/parking_access/{id}`
6521
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
6544
+ parkingAccessLogsShow: async (plateNumber: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
6545
+ // verify required parameter 'plateNumber' is not null or undefined
6546
+ assertParamExists('parkingAccessLogsShow', 'plateNumber', plateNumber)
6547
+ const localVarPath = `/parking_access/{plate_number}`
6548
+ .replace(`{${"plate_number"}}`, encodeURIComponent(String(plateNumber)));
6522
6549
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6523
6550
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6524
6551
  let baseOptions;
@@ -6530,46 +6557,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
6530
6557
  const localVarHeaderParameter = {} as any;
6531
6558
  const localVarQueryParameter = {} as any;
6532
6559
 
6533
- if (orderBy !== undefined) {
6534
- localVarQueryParameter['order_by'] = orderBy;
6535
- }
6536
-
6537
- if (orderDirection !== undefined) {
6538
- localVarQueryParameter['order_direction'] = orderDirection;
6539
- }
6540
-
6541
- if (pageNumber !== undefined) {
6542
- localVarQueryParameter['page_number'] = pageNumber;
6543
- }
6544
-
6545
- if (pageSize !== undefined) {
6546
- localVarQueryParameter['page_size'] = pageSize;
6547
- }
6548
-
6549
- if (type !== undefined) {
6550
- localVarQueryParameter['type'] = type;
6551
- }
6552
-
6553
- if (gate !== undefined) {
6554
- localVarQueryParameter['gate'] = gate;
6555
- }
6556
-
6557
- if (id2 !== undefined) {
6558
- localVarQueryParameter['id'] = id2;
6559
- }
6560
-
6561
- if (filter !== undefined) {
6562
- localVarQueryParameter['filter'] = filter;
6563
- }
6564
-
6565
- if (startDate !== undefined) {
6566
- localVarQueryParameter['startDate'] = startDate;
6567
- }
6568
-
6569
- if (endDate !== undefined) {
6570
- localVarQueryParameter['endDate'] = endDate;
6571
- }
6572
-
6573
6560
 
6574
6561
 
6575
6562
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -7597,7 +7584,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
7597
7584
  * @param {string} [orderDirection]
7598
7585
  * @param {number} [pageNumber]
7599
7586
  * @param {number} [pageSize]
7600
- * @param {AccessorType} [type]
7587
+ * @param {AccessorType} [accessorType]
7601
7588
  * @param {string} [gate]
7602
7589
  * @param {string} [id]
7603
7590
  * @param {string} [filter]
@@ -7606,28 +7593,18 @@ export const DefaultApiFp = function(configuration?: Configuration) {
7606
7593
  * @param {*} [options] Override http request option.
7607
7594
  * @throws {RequiredError}
7608
7595
  */
7609
- async parkingAccessLogsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id?: string, filter?: string, startDate?: string, endDate?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseParkingLogResult>> {
7610
- const localVarAxiosArgs = await localVarAxiosParamCreator.parkingAccessLogsIndex(orderBy, orderDirection, pageNumber, pageSize, type, gate, id, filter, startDate, endDate, options);
7596
+ async parkingAccessLogsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, accessorType?: AccessorType, gate?: string, id?: string, filter?: string, startDate?: string, endDate?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseParkingLogResult>> {
7597
+ const localVarAxiosArgs = await localVarAxiosParamCreator.parkingAccessLogsIndex(orderBy, orderDirection, pageNumber, pageSize, accessorType, gate, id, filter, startDate, endDate, options);
7611
7598
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7612
7599
  },
7613
7600
  /**
7614
7601
  *
7615
- * @param {string} id
7616
- * @param {string} [orderBy]
7617
- * @param {string} [orderDirection]
7618
- * @param {number} [pageNumber]
7619
- * @param {number} [pageSize]
7620
- * @param {AccessorType} [type]
7621
- * @param {string} [gate]
7622
- * @param {string} [id2]
7623
- * @param {string} [filter]
7624
- * @param {string} [startDate]
7625
- * @param {string} [endDate]
7602
+ * @param {string} plateNumber
7626
7603
  * @param {*} [options] Override http request option.
7627
7604
  * @throws {RequiredError}
7628
7605
  */
7629
- async parkingAccessLogsShow(id: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id2?: string, filter?: string, startDate?: string, endDate?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseParkingLogResult>> {
7630
- const localVarAxiosArgs = await localVarAxiosParamCreator.parkingAccessLogsShow(id, orderBy, orderDirection, pageNumber, pageSize, type, gate, id2, filter, startDate, endDate, options);
7606
+ async parkingAccessLogsShow(plateNumber: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseParkingLogResult>> {
7607
+ const localVarAxiosArgs = await localVarAxiosParamCreator.parkingAccessLogsShow(plateNumber, options);
7631
7608
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7632
7609
  },
7633
7610
  /**
@@ -8113,7 +8090,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
8113
8090
  * @param {string} [orderDirection]
8114
8091
  * @param {number} [pageNumber]
8115
8092
  * @param {number} [pageSize]
8116
- * @param {AccessorType} [type]
8093
+ * @param {AccessorType} [accessorType]
8117
8094
  * @param {string} [gate]
8118
8095
  * @param {string} [id]
8119
8096
  * @param {string} [filter]
@@ -8122,27 +8099,17 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
8122
8099
  * @param {*} [options] Override http request option.
8123
8100
  * @throws {RequiredError}
8124
8101
  */
8125
- parkingAccessLogsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id?: string, filter?: string, startDate?: string, endDate?: string, options?: any): AxiosPromise<WrappedArrayResponseParkingLogResult> {
8126
- return localVarFp.parkingAccessLogsIndex(orderBy, orderDirection, pageNumber, pageSize, type, gate, id, filter, startDate, endDate, options).then((request) => request(axios, basePath));
8102
+ parkingAccessLogsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, accessorType?: AccessorType, gate?: string, id?: string, filter?: string, startDate?: string, endDate?: string, options?: any): AxiosPromise<WrappedArrayResponseParkingLogResult> {
8103
+ return localVarFp.parkingAccessLogsIndex(orderBy, orderDirection, pageNumber, pageSize, accessorType, gate, id, filter, startDate, endDate, options).then((request) => request(axios, basePath));
8127
8104
  },
8128
8105
  /**
8129
8106
  *
8130
- * @param {string} id
8131
- * @param {string} [orderBy]
8132
- * @param {string} [orderDirection]
8133
- * @param {number} [pageNumber]
8134
- * @param {number} [pageSize]
8135
- * @param {AccessorType} [type]
8136
- * @param {string} [gate]
8137
- * @param {string} [id2]
8138
- * @param {string} [filter]
8139
- * @param {string} [startDate]
8140
- * @param {string} [endDate]
8107
+ * @param {string} plateNumber
8141
8108
  * @param {*} [options] Override http request option.
8142
8109
  * @throws {RequiredError}
8143
8110
  */
8144
- parkingAccessLogsShow(id: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id2?: string, filter?: string, startDate?: string, endDate?: string, options?: any): AxiosPromise<WrappedOneResponseParkingLogResult> {
8145
- return localVarFp.parkingAccessLogsShow(id, orderBy, orderDirection, pageNumber, pageSize, type, gate, id2, filter, startDate, endDate, options).then((request) => request(axios, basePath));
8111
+ parkingAccessLogsShow(plateNumber: string, options?: any): AxiosPromise<WrappedOneResponseParkingLogResult> {
8112
+ return localVarFp.parkingAccessLogsShow(plateNumber, options).then((request) => request(axios, basePath));
8146
8113
  },
8147
8114
  /**
8148
8115
  *
@@ -8658,7 +8625,7 @@ export class DefaultApi extends BaseAPI {
8658
8625
  * @param {string} [orderDirection]
8659
8626
  * @param {number} [pageNumber]
8660
8627
  * @param {number} [pageSize]
8661
- * @param {AccessorType} [type]
8628
+ * @param {AccessorType} [accessorType]
8662
8629
  * @param {string} [gate]
8663
8630
  * @param {string} [id]
8664
8631
  * @param {string} [filter]
@@ -8668,29 +8635,19 @@ export class DefaultApi extends BaseAPI {
8668
8635
  * @throws {RequiredError}
8669
8636
  * @memberof DefaultApi
8670
8637
  */
8671
- public parkingAccessLogsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id?: string, filter?: string, startDate?: string, endDate?: string, options?: AxiosRequestConfig) {
8672
- return DefaultApiFp(this.configuration).parkingAccessLogsIndex(orderBy, orderDirection, pageNumber, pageSize, type, gate, id, filter, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
8638
+ public parkingAccessLogsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, accessorType?: AccessorType, gate?: string, id?: string, filter?: string, startDate?: string, endDate?: string, options?: AxiosRequestConfig) {
8639
+ return DefaultApiFp(this.configuration).parkingAccessLogsIndex(orderBy, orderDirection, pageNumber, pageSize, accessorType, gate, id, filter, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
8673
8640
  }
8674
8641
 
8675
8642
  /**
8676
8643
  *
8677
- * @param {string} id
8678
- * @param {string} [orderBy]
8679
- * @param {string} [orderDirection]
8680
- * @param {number} [pageNumber]
8681
- * @param {number} [pageSize]
8682
- * @param {AccessorType} [type]
8683
- * @param {string} [gate]
8684
- * @param {string} [id2]
8685
- * @param {string} [filter]
8686
- * @param {string} [startDate]
8687
- * @param {string} [endDate]
8644
+ * @param {string} plateNumber
8688
8645
  * @param {*} [options] Override http request option.
8689
8646
  * @throws {RequiredError}
8690
8647
  * @memberof DefaultApi
8691
8648
  */
8692
- public parkingAccessLogsShow(id: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id2?: string, filter?: string, startDate?: string, endDate?: string, options?: AxiosRequestConfig) {
8693
- return DefaultApiFp(this.configuration).parkingAccessLogsShow(id, orderBy, orderDirection, pageNumber, pageSize, type, gate, id2, filter, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
8649
+ public parkingAccessLogsShow(plateNumber: string, options?: AxiosRequestConfig) {
8650
+ return DefaultApiFp(this.configuration).parkingAccessLogsShow(plateNumber, options).then((request) => request(this.axios, this.basePath));
8694
8651
  }
8695
8652
 
8696
8653
  /**
package/dist/api/api.d.ts CHANGED
@@ -2016,6 +2016,37 @@ export interface MembersShowResponse {
2016
2016
  */
2017
2017
  'passed_turnstile': boolean;
2018
2018
  }
2019
+ /**
2020
+ *
2021
+ * @export
2022
+ * @interface Pagination
2023
+ */
2024
+ export interface Pagination {
2025
+ /**
2026
+ *
2027
+ * @type {number}
2028
+ * @memberof Pagination
2029
+ */
2030
+ 'total': number;
2031
+ /**
2032
+ *
2033
+ * @type {number}
2034
+ * @memberof Pagination
2035
+ */
2036
+ 'total_page': number;
2037
+ /**
2038
+ *
2039
+ * @type {number}
2040
+ * @memberof Pagination
2041
+ */
2042
+ 'page_number': number;
2043
+ /**
2044
+ *
2045
+ * @type {number}
2046
+ * @memberof Pagination
2047
+ */
2048
+ 'page_size': number;
2049
+ }
2019
2050
  /**
2020
2051
  *
2021
2052
  * @export
@@ -2112,7 +2143,7 @@ export interface ParkingLogQuery {
2112
2143
  * @type {AccessorType}
2113
2144
  * @memberof ParkingLogQuery
2114
2145
  */
2115
- 'type'?: AccessorType;
2146
+ 'accessorType'?: AccessorType;
2116
2147
  /**
2117
2148
  *
2118
2149
  * @type {string}
@@ -4460,6 +4491,12 @@ export interface WrappedArrayResponseParkingLogResult {
4460
4491
  * @memberof WrappedArrayResponseParkingLogResult
4461
4492
  */
4462
4493
  'data': Array<ParkingLogResult>;
4494
+ /**
4495
+ *
4496
+ * @type {Pagination}
4497
+ * @memberof WrappedArrayResponseParkingLogResult
4498
+ */
4499
+ 'pagination'?: Pagination;
4463
4500
  }
4464
4501
  /**
4465
4502
  *
@@ -5506,7 +5543,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
5506
5543
  * @param {string} [orderDirection]
5507
5544
  * @param {number} [pageNumber]
5508
5545
  * @param {number} [pageSize]
5509
- * @param {AccessorType} [type]
5546
+ * @param {AccessorType} [accessorType]
5510
5547
  * @param {string} [gate]
5511
5548
  * @param {string} [id]
5512
5549
  * @param {string} [filter]
@@ -5515,24 +5552,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
5515
5552
  * @param {*} [options] Override http request option.
5516
5553
  * @throws {RequiredError}
5517
5554
  */
5518
- parkingAccessLogsIndex: (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id?: string, filter?: string, startDate?: string, endDate?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5555
+ parkingAccessLogsIndex: (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, accessorType?: AccessorType, gate?: string, id?: string, filter?: string, startDate?: string, endDate?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5519
5556
  /**
5520
5557
  *
5521
- * @param {string} id
5522
- * @param {string} [orderBy]
5523
- * @param {string} [orderDirection]
5524
- * @param {number} [pageNumber]
5525
- * @param {number} [pageSize]
5526
- * @param {AccessorType} [type]
5527
- * @param {string} [gate]
5528
- * @param {string} [id2]
5529
- * @param {string} [filter]
5530
- * @param {string} [startDate]
5531
- * @param {string} [endDate]
5558
+ * @param {string} plateNumber
5532
5559
  * @param {*} [options] Override http request option.
5533
5560
  * @throws {RequiredError}
5534
5561
  */
5535
- parkingAccessLogsShow: (id: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id2?: string, filter?: string, startDate?: string, endDate?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5562
+ parkingAccessLogsShow: (plateNumber: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
5536
5563
  /**
5537
5564
  *
5538
5565
  * @param {*} [options] Override http request option.
@@ -5905,7 +5932,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
5905
5932
  * @param {string} [orderDirection]
5906
5933
  * @param {number} [pageNumber]
5907
5934
  * @param {number} [pageSize]
5908
- * @param {AccessorType} [type]
5935
+ * @param {AccessorType} [accessorType]
5909
5936
  * @param {string} [gate]
5910
5937
  * @param {string} [id]
5911
5938
  * @param {string} [filter]
@@ -5914,24 +5941,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
5914
5941
  * @param {*} [options] Override http request option.
5915
5942
  * @throws {RequiredError}
5916
5943
  */
5917
- parkingAccessLogsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id?: string, filter?: string, startDate?: string, endDate?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseParkingLogResult>>;
5944
+ parkingAccessLogsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, accessorType?: AccessorType, gate?: string, id?: string, filter?: string, startDate?: string, endDate?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseParkingLogResult>>;
5918
5945
  /**
5919
5946
  *
5920
- * @param {string} id
5921
- * @param {string} [orderBy]
5922
- * @param {string} [orderDirection]
5923
- * @param {number} [pageNumber]
5924
- * @param {number} [pageSize]
5925
- * @param {AccessorType} [type]
5926
- * @param {string} [gate]
5927
- * @param {string} [id2]
5928
- * @param {string} [filter]
5929
- * @param {string} [startDate]
5930
- * @param {string} [endDate]
5947
+ * @param {string} plateNumber
5931
5948
  * @param {*} [options] Override http request option.
5932
5949
  * @throws {RequiredError}
5933
5950
  */
5934
- parkingAccessLogsShow(id: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id2?: string, filter?: string, startDate?: string, endDate?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseParkingLogResult>>;
5951
+ parkingAccessLogsShow(plateNumber: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseParkingLogResult>>;
5935
5952
  /**
5936
5953
  *
5937
5954
  * @param {*} [options] Override http request option.
@@ -6304,7 +6321,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
6304
6321
  * @param {string} [orderDirection]
6305
6322
  * @param {number} [pageNumber]
6306
6323
  * @param {number} [pageSize]
6307
- * @param {AccessorType} [type]
6324
+ * @param {AccessorType} [accessorType]
6308
6325
  * @param {string} [gate]
6309
6326
  * @param {string} [id]
6310
6327
  * @param {string} [filter]
@@ -6313,24 +6330,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
6313
6330
  * @param {*} [options] Override http request option.
6314
6331
  * @throws {RequiredError}
6315
6332
  */
6316
- parkingAccessLogsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id?: string, filter?: string, startDate?: string, endDate?: string, options?: any): AxiosPromise<WrappedArrayResponseParkingLogResult>;
6333
+ parkingAccessLogsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, accessorType?: AccessorType, gate?: string, id?: string, filter?: string, startDate?: string, endDate?: string, options?: any): AxiosPromise<WrappedArrayResponseParkingLogResult>;
6317
6334
  /**
6318
6335
  *
6319
- * @param {string} id
6320
- * @param {string} [orderBy]
6321
- * @param {string} [orderDirection]
6322
- * @param {number} [pageNumber]
6323
- * @param {number} [pageSize]
6324
- * @param {AccessorType} [type]
6325
- * @param {string} [gate]
6326
- * @param {string} [id2]
6327
- * @param {string} [filter]
6328
- * @param {string} [startDate]
6329
- * @param {string} [endDate]
6336
+ * @param {string} plateNumber
6330
6337
  * @param {*} [options] Override http request option.
6331
6338
  * @throws {RequiredError}
6332
6339
  */
6333
- parkingAccessLogsShow(id: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id2?: string, filter?: string, startDate?: string, endDate?: string, options?: any): AxiosPromise<WrappedOneResponseParkingLogResult>;
6340
+ parkingAccessLogsShow(plateNumber: string, options?: any): AxiosPromise<WrappedOneResponseParkingLogResult>;
6334
6341
  /**
6335
6342
  *
6336
6343
  * @param {*} [options] Override http request option.
@@ -6730,7 +6737,7 @@ export declare class DefaultApi extends BaseAPI {
6730
6737
  * @param {string} [orderDirection]
6731
6738
  * @param {number} [pageNumber]
6732
6739
  * @param {number} [pageSize]
6733
- * @param {AccessorType} [type]
6740
+ * @param {AccessorType} [accessorType]
6734
6741
  * @param {string} [gate]
6735
6742
  * @param {string} [id]
6736
6743
  * @param {string} [filter]
@@ -6740,25 +6747,15 @@ export declare class DefaultApi extends BaseAPI {
6740
6747
  * @throws {RequiredError}
6741
6748
  * @memberof DefaultApi
6742
6749
  */
6743
- parkingAccessLogsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id?: string, filter?: string, startDate?: string, endDate?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedArrayResponseParkingLogResult, any>>;
6750
+ parkingAccessLogsIndex(orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, accessorType?: AccessorType, gate?: string, id?: string, filter?: string, startDate?: string, endDate?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedArrayResponseParkingLogResult, any>>;
6744
6751
  /**
6745
6752
  *
6746
- * @param {string} id
6747
- * @param {string} [orderBy]
6748
- * @param {string} [orderDirection]
6749
- * @param {number} [pageNumber]
6750
- * @param {number} [pageSize]
6751
- * @param {AccessorType} [type]
6752
- * @param {string} [gate]
6753
- * @param {string} [id2]
6754
- * @param {string} [filter]
6755
- * @param {string} [startDate]
6756
- * @param {string} [endDate]
6753
+ * @param {string} plateNumber
6757
6754
  * @param {*} [options] Override http request option.
6758
6755
  * @throws {RequiredError}
6759
6756
  * @memberof DefaultApi
6760
6757
  */
6761
- parkingAccessLogsShow(id: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, type?: AccessorType, gate?: string, id2?: string, filter?: string, startDate?: string, endDate?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedOneResponseParkingLogResult, any>>;
6758
+ parkingAccessLogsShow(plateNumber: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedOneResponseParkingLogResult, any>>;
6762
6759
  /**
6763
6760
  *
6764
6761
  * @param {*} [options] Override http request option.
package/dist/api/api.js CHANGED
@@ -1038,7 +1038,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1038
1038
  * @param {string} [orderDirection]
1039
1039
  * @param {number} [pageNumber]
1040
1040
  * @param {number} [pageSize]
1041
- * @param {AccessorType} [type]
1041
+ * @param {AccessorType} [accessorType]
1042
1042
  * @param {string} [gate]
1043
1043
  * @param {string} [id]
1044
1044
  * @param {string} [filter]
@@ -1047,7 +1047,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1047
1047
  * @param {*} [options] Override http request option.
1048
1048
  * @throws {RequiredError}
1049
1049
  */
1050
- parkingAccessLogsIndex: (orderBy, orderDirection, pageNumber, pageSize, type, gate, id, filter, startDate, endDate, options = {}) => __awaiter(this, void 0, void 0, function* () {
1050
+ parkingAccessLogsIndex: (orderBy, orderDirection, pageNumber, pageSize, accessorType, gate, id, filter, startDate, endDate, options = {}) => __awaiter(this, void 0, void 0, function* () {
1051
1051
  const localVarPath = `/parking_access`;
1052
1052
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1053
1053
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -1070,8 +1070,8 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1070
1070
  if (pageSize !== undefined) {
1071
1071
  localVarQueryParameter['page_size'] = pageSize;
1072
1072
  }
1073
- if (type !== undefined) {
1074
- localVarQueryParameter['type'] = type;
1073
+ if (accessorType !== undefined) {
1074
+ localVarQueryParameter['accessorType'] = accessorType;
1075
1075
  }
1076
1076
  if (gate !== undefined) {
1077
1077
  localVarQueryParameter['gate'] = gate;
@@ -1098,25 +1098,15 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1098
1098
  }),
1099
1099
  /**
1100
1100
  *
1101
- * @param {string} id
1102
- * @param {string} [orderBy]
1103
- * @param {string} [orderDirection]
1104
- * @param {number} [pageNumber]
1105
- * @param {number} [pageSize]
1106
- * @param {AccessorType} [type]
1107
- * @param {string} [gate]
1108
- * @param {string} [id2]
1109
- * @param {string} [filter]
1110
- * @param {string} [startDate]
1111
- * @param {string} [endDate]
1101
+ * @param {string} plateNumber
1112
1102
  * @param {*} [options] Override http request option.
1113
1103
  * @throws {RequiredError}
1114
1104
  */
1115
- parkingAccessLogsShow: (id, orderBy, orderDirection, pageNumber, pageSize, type, gate, id2, filter, startDate, endDate, options = {}) => __awaiter(this, void 0, void 0, function* () {
1116
- // verify required parameter 'id' is not null or undefined
1117
- (0, common_1.assertParamExists)('parkingAccessLogsShow', 'id', id);
1118
- const localVarPath = `/parking_access/{id}`
1119
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
1105
+ parkingAccessLogsShow: (plateNumber, options = {}) => __awaiter(this, void 0, void 0, function* () {
1106
+ // verify required parameter 'plateNumber' is not null or undefined
1107
+ (0, common_1.assertParamExists)('parkingAccessLogsShow', 'plateNumber', plateNumber);
1108
+ const localVarPath = `/parking_access/{plate_number}`
1109
+ .replace(`{${"plate_number"}}`, encodeURIComponent(String(plateNumber)));
1120
1110
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1121
1111
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1122
1112
  let baseOptions;
@@ -1126,36 +1116,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
1126
1116
  const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1127
1117
  const localVarHeaderParameter = {};
1128
1118
  const localVarQueryParameter = {};
1129
- if (orderBy !== undefined) {
1130
- localVarQueryParameter['order_by'] = orderBy;
1131
- }
1132
- if (orderDirection !== undefined) {
1133
- localVarQueryParameter['order_direction'] = orderDirection;
1134
- }
1135
- if (pageNumber !== undefined) {
1136
- localVarQueryParameter['page_number'] = pageNumber;
1137
- }
1138
- if (pageSize !== undefined) {
1139
- localVarQueryParameter['page_size'] = pageSize;
1140
- }
1141
- if (type !== undefined) {
1142
- localVarQueryParameter['type'] = type;
1143
- }
1144
- if (gate !== undefined) {
1145
- localVarQueryParameter['gate'] = gate;
1146
- }
1147
- if (id2 !== undefined) {
1148
- localVarQueryParameter['id'] = id2;
1149
- }
1150
- if (filter !== undefined) {
1151
- localVarQueryParameter['filter'] = filter;
1152
- }
1153
- if (startDate !== undefined) {
1154
- localVarQueryParameter['startDate'] = startDate;
1155
- }
1156
- if (endDate !== undefined) {
1157
- localVarQueryParameter['endDate'] = endDate;
1158
- }
1159
1119
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1160
1120
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1161
1121
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -2114,7 +2074,7 @@ const DefaultApiFp = function (configuration) {
2114
2074
  * @param {string} [orderDirection]
2115
2075
  * @param {number} [pageNumber]
2116
2076
  * @param {number} [pageSize]
2117
- * @param {AccessorType} [type]
2077
+ * @param {AccessorType} [accessorType]
2118
2078
  * @param {string} [gate]
2119
2079
  * @param {string} [id]
2120
2080
  * @param {string} [filter]
@@ -2123,31 +2083,21 @@ const DefaultApiFp = function (configuration) {
2123
2083
  * @param {*} [options] Override http request option.
2124
2084
  * @throws {RequiredError}
2125
2085
  */
2126
- parkingAccessLogsIndex(orderBy, orderDirection, pageNumber, pageSize, type, gate, id, filter, startDate, endDate, options) {
2086
+ parkingAccessLogsIndex(orderBy, orderDirection, pageNumber, pageSize, accessorType, gate, id, filter, startDate, endDate, options) {
2127
2087
  return __awaiter(this, void 0, void 0, function* () {
2128
- const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingAccessLogsIndex(orderBy, orderDirection, pageNumber, pageSize, type, gate, id, filter, startDate, endDate, options);
2088
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingAccessLogsIndex(orderBy, orderDirection, pageNumber, pageSize, accessorType, gate, id, filter, startDate, endDate, options);
2129
2089
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2130
2090
  });
2131
2091
  },
2132
2092
  /**
2133
2093
  *
2134
- * @param {string} id
2135
- * @param {string} [orderBy]
2136
- * @param {string} [orderDirection]
2137
- * @param {number} [pageNumber]
2138
- * @param {number} [pageSize]
2139
- * @param {AccessorType} [type]
2140
- * @param {string} [gate]
2141
- * @param {string} [id2]
2142
- * @param {string} [filter]
2143
- * @param {string} [startDate]
2144
- * @param {string} [endDate]
2094
+ * @param {string} plateNumber
2145
2095
  * @param {*} [options] Override http request option.
2146
2096
  * @throws {RequiredError}
2147
2097
  */
2148
- parkingAccessLogsShow(id, orderBy, orderDirection, pageNumber, pageSize, type, gate, id2, filter, startDate, endDate, options) {
2098
+ parkingAccessLogsShow(plateNumber, options) {
2149
2099
  return __awaiter(this, void 0, void 0, function* () {
2150
- const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingAccessLogsShow(id, orderBy, orderDirection, pageNumber, pageSize, type, gate, id2, filter, startDate, endDate, options);
2100
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingAccessLogsShow(plateNumber, options);
2151
2101
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2152
2102
  });
2153
2103
  },
@@ -2672,7 +2622,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2672
2622
  * @param {string} [orderDirection]
2673
2623
  * @param {number} [pageNumber]
2674
2624
  * @param {number} [pageSize]
2675
- * @param {AccessorType} [type]
2625
+ * @param {AccessorType} [accessorType]
2676
2626
  * @param {string} [gate]
2677
2627
  * @param {string} [id]
2678
2628
  * @param {string} [filter]
@@ -2681,27 +2631,17 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
2681
2631
  * @param {*} [options] Override http request option.
2682
2632
  * @throws {RequiredError}
2683
2633
  */
2684
- parkingAccessLogsIndex(orderBy, orderDirection, pageNumber, pageSize, type, gate, id, filter, startDate, endDate, options) {
2685
- return localVarFp.parkingAccessLogsIndex(orderBy, orderDirection, pageNumber, pageSize, type, gate, id, filter, startDate, endDate, options).then((request) => request(axios, basePath));
2634
+ parkingAccessLogsIndex(orderBy, orderDirection, pageNumber, pageSize, accessorType, gate, id, filter, startDate, endDate, options) {
2635
+ return localVarFp.parkingAccessLogsIndex(orderBy, orderDirection, pageNumber, pageSize, accessorType, gate, id, filter, startDate, endDate, options).then((request) => request(axios, basePath));
2686
2636
  },
2687
2637
  /**
2688
2638
  *
2689
- * @param {string} id
2690
- * @param {string} [orderBy]
2691
- * @param {string} [orderDirection]
2692
- * @param {number} [pageNumber]
2693
- * @param {number} [pageSize]
2694
- * @param {AccessorType} [type]
2695
- * @param {string} [gate]
2696
- * @param {string} [id2]
2697
- * @param {string} [filter]
2698
- * @param {string} [startDate]
2699
- * @param {string} [endDate]
2639
+ * @param {string} plateNumber
2700
2640
  * @param {*} [options] Override http request option.
2701
2641
  * @throws {RequiredError}
2702
2642
  */
2703
- parkingAccessLogsShow(id, orderBy, orderDirection, pageNumber, pageSize, type, gate, id2, filter, startDate, endDate, options) {
2704
- return localVarFp.parkingAccessLogsShow(id, orderBy, orderDirection, pageNumber, pageSize, type, gate, id2, filter, startDate, endDate, options).then((request) => request(axios, basePath));
2643
+ parkingAccessLogsShow(plateNumber, options) {
2644
+ return localVarFp.parkingAccessLogsShow(plateNumber, options).then((request) => request(axios, basePath));
2705
2645
  },
2706
2646
  /**
2707
2647
  *
@@ -3192,7 +3132,7 @@ class DefaultApi extends base_1.BaseAPI {
3192
3132
  * @param {string} [orderDirection]
3193
3133
  * @param {number} [pageNumber]
3194
3134
  * @param {number} [pageSize]
3195
- * @param {AccessorType} [type]
3135
+ * @param {AccessorType} [accessorType]
3196
3136
  * @param {string} [gate]
3197
3137
  * @param {string} [id]
3198
3138
  * @param {string} [filter]
@@ -3202,28 +3142,18 @@ class DefaultApi extends base_1.BaseAPI {
3202
3142
  * @throws {RequiredError}
3203
3143
  * @memberof DefaultApi
3204
3144
  */
3205
- parkingAccessLogsIndex(orderBy, orderDirection, pageNumber, pageSize, type, gate, id, filter, startDate, endDate, options) {
3206
- return (0, exports.DefaultApiFp)(this.configuration).parkingAccessLogsIndex(orderBy, orderDirection, pageNumber, pageSize, type, gate, id, filter, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
3145
+ parkingAccessLogsIndex(orderBy, orderDirection, pageNumber, pageSize, accessorType, gate, id, filter, startDate, endDate, options) {
3146
+ return (0, exports.DefaultApiFp)(this.configuration).parkingAccessLogsIndex(orderBy, orderDirection, pageNumber, pageSize, accessorType, gate, id, filter, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
3207
3147
  }
3208
3148
  /**
3209
3149
  *
3210
- * @param {string} id
3211
- * @param {string} [orderBy]
3212
- * @param {string} [orderDirection]
3213
- * @param {number} [pageNumber]
3214
- * @param {number} [pageSize]
3215
- * @param {AccessorType} [type]
3216
- * @param {string} [gate]
3217
- * @param {string} [id2]
3218
- * @param {string} [filter]
3219
- * @param {string} [startDate]
3220
- * @param {string} [endDate]
3150
+ * @param {string} plateNumber
3221
3151
  * @param {*} [options] Override http request option.
3222
3152
  * @throws {RequiredError}
3223
3153
  * @memberof DefaultApi
3224
3154
  */
3225
- parkingAccessLogsShow(id, orderBy, orderDirection, pageNumber, pageSize, type, gate, id2, filter, startDate, endDate, options) {
3226
- return (0, exports.DefaultApiFp)(this.configuration).parkingAccessLogsShow(id, orderBy, orderDirection, pageNumber, pageSize, type, gate, id2, filter, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
3155
+ parkingAccessLogsShow(plateNumber, options) {
3156
+ return (0, exports.DefaultApiFp)(this.configuration).parkingAccessLogsShow(plateNumber, options).then((request) => request(this.axios, this.basePath));
3227
3157
  }
3228
3158
  /**
3229
3159
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ob-bms-sdk",
3
- "version": "0.0.96",
3
+ "version": "0.0.97",
4
4
  "description": "API interfaces for OB BMS",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"