ob-parking-sdk 0.0.28 → 0.0.30

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: 0.0.1
7
+ * The version of the OpenAPI document: 0.0.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -773,6 +773,259 @@ export interface GetParkingDetaiQuery {
773
773
  */
774
774
  'filter_key'?: string;
775
775
  }
776
+ /**
777
+ *
778
+ * @export
779
+ * @interface GetParkingDetailByPersonIDDataResponse
780
+ */
781
+ export interface GetParkingDetailByPersonIDDataResponse {
782
+ /**
783
+ *
784
+ * @type {string}
785
+ * @memberof GetParkingDetailByPersonIDDataResponse
786
+ */
787
+ 'status': string;
788
+ /**
789
+ *
790
+ * @type {string}
791
+ * @memberof GetParkingDetailByPersonIDDataResponse
792
+ */
793
+ 'message': string;
794
+ /**
795
+ *
796
+ * @type {string}
797
+ * @memberof GetParkingDetailByPersonIDDataResponse
798
+ */
799
+ 'exeption': string | null;
800
+ /**
801
+ *
802
+ * @type {string}
803
+ * @memberof GetParkingDetailByPersonIDDataResponse
804
+ */
805
+ 'logId': string;
806
+ /**
807
+ *
808
+ * @type {string}
809
+ * @memberof GetParkingDetailByPersonIDDataResponse
810
+ */
811
+ 'ticketNo': string;
812
+ /**
813
+ *
814
+ * @type {string}
815
+ * @memberof GetParkingDetailByPersonIDDataResponse
816
+ */
817
+ 'ticketUid': string;
818
+ /**
819
+ *
820
+ * @type {string}
821
+ * @memberof GetParkingDetailByPersonIDDataResponse
822
+ */
823
+ 'plateNo': string;
824
+ /**
825
+ *
826
+ * @type {string}
827
+ * @memberof GetParkingDetailByPersonIDDataResponse
828
+ */
829
+ 'entryDateTime': string;
830
+ /**
831
+ *
832
+ * @type {string}
833
+ * @memberof GetParkingDetailByPersonIDDataResponse
834
+ */
835
+ 'logDateTime': string;
836
+ /**
837
+ *
838
+ * @type {number}
839
+ * @memberof GetParkingDetailByPersonIDDataResponse
840
+ */
841
+ 'exitStatus': number;
842
+ /**
843
+ *
844
+ * @type {number}
845
+ * @memberof GetParkingDetailByPersonIDDataResponse
846
+ */
847
+ 'terminalInId': number;
848
+ /**
849
+ *
850
+ * @type {string}
851
+ * @memberof GetParkingDetailByPersonIDDataResponse
852
+ */
853
+ 'terminalInName': string;
854
+ /**
855
+ *
856
+ * @type {number}
857
+ * @memberof GetParkingDetailByPersonIDDataResponse
858
+ */
859
+ 'memberTypeId': number;
860
+ /**
861
+ *
862
+ * @type {string}
863
+ * @memberof GetParkingDetailByPersonIDDataResponse
864
+ */
865
+ 'memberTypeName': string;
866
+ /**
867
+ *
868
+ * @type {number}
869
+ * @memberof GetParkingDetailByPersonIDDataResponse
870
+ */
871
+ 'vehicleTypeId': number;
872
+ /**
873
+ *
874
+ * @type {string}
875
+ * @memberof GetParkingDetailByPersonIDDataResponse
876
+ */
877
+ 'vehicleTypeName': string;
878
+ /**
879
+ *
880
+ * @type {string}
881
+ * @memberof GetParkingDetailByPersonIDDataResponse
882
+ */
883
+ 'rateCode': string;
884
+ /**
885
+ *
886
+ * @type {string}
887
+ * @memberof GetParkingDetailByPersonIDDataResponse
888
+ */
889
+ 'rateDetailTH': string;
890
+ /**
891
+ *
892
+ * @type {string}
893
+ * @memberof GetParkingDetailByPersonIDDataResponse
894
+ */
895
+ 'rateDetailEN': string;
896
+ /**
897
+ *
898
+ * @type {string}
899
+ * @memberof GetParkingDetailByPersonIDDataResponse
900
+ */
901
+ 'tenantId': string;
902
+ /**
903
+ *
904
+ * @type {string}
905
+ * @memberof GetParkingDetailByPersonIDDataResponse
906
+ */
907
+ 'tenantName': string;
908
+ /**
909
+ *
910
+ * @type {boolean}
911
+ * @memberof GetParkingDetailByPersonIDDataResponse
912
+ */
913
+ 'isCardLost': boolean;
914
+ /**
915
+ *
916
+ * @type {number}
917
+ * @memberof GetParkingDetailByPersonIDDataResponse
918
+ */
919
+ 'parkHH': number;
920
+ /**
921
+ *
922
+ * @type {number}
923
+ * @memberof GetParkingDetailByPersonIDDataResponse
924
+ */
925
+ 'parkMM': number;
926
+ /**
927
+ *
928
+ * @type {number}
929
+ * @memberof GetParkingDetailByPersonIDDataResponse
930
+ */
931
+ 'rateHH': number;
932
+ /**
933
+ *
934
+ * @type {number}
935
+ * @memberof GetParkingDetailByPersonIDDataResponse
936
+ */
937
+ 'freeHH': number;
938
+ /**
939
+ *
940
+ * @type {number}
941
+ * @memberof GetParkingDetailByPersonIDDataResponse
942
+ */
943
+ 'subTotal': number;
944
+ /**
945
+ *
946
+ * @type {number}
947
+ * @memberof GetParkingDetailByPersonIDDataResponse
948
+ */
949
+ 'discount': number;
950
+ /**
951
+ *
952
+ * @type {number}
953
+ * @memberof GetParkingDetailByPersonIDDataResponse
954
+ */
955
+ 'parkFee': number;
956
+ /**
957
+ *
958
+ * @type {number}
959
+ * @memberof GetParkingDetailByPersonIDDataResponse
960
+ */
961
+ 'cardLostFine': number;
962
+ /**
963
+ *
964
+ * @type {number}
965
+ * @memberof GetParkingDetailByPersonIDDataResponse
966
+ */
967
+ 'overNightFine': number;
968
+ /**
969
+ *
970
+ * @type {number}
971
+ * @memberof GetParkingDetailByPersonIDDataResponse
972
+ */
973
+ 'total': number;
974
+ /**
975
+ *
976
+ * @type {boolean}
977
+ * @memberof GetParkingDetailByPersonIDDataResponse
978
+ */
979
+ 'isInv': boolean;
980
+ /**
981
+ *
982
+ * @type {number}
983
+ * @memberof GetParkingDetailByPersonIDDataResponse
984
+ */
985
+ 'invRateHH': number;
986
+ /**
987
+ *
988
+ * @type {number}
989
+ * @memberof GetParkingDetailByPersonIDDataResponse
990
+ */
991
+ 'invFee': number;
992
+ /**
993
+ *
994
+ * @type {boolean}
995
+ * @memberof GetParkingDetailByPersonIDDataResponse
996
+ */
997
+ 'isPayAtKiosk': boolean;
998
+ /**
999
+ *
1000
+ * @type {string}
1001
+ * @memberof GetParkingDetailByPersonIDDataResponse
1002
+ */
1003
+ 'lastDateTimePaymentAtKiosk': string | null;
1004
+ /**
1005
+ *
1006
+ * @type {number}
1007
+ * @memberof GetParkingDetailByPersonIDDataResponse
1008
+ */
1009
+ 'payAtKioskAll': number;
1010
+ /**
1011
+ *
1012
+ * @type {number}
1013
+ * @memberof GetParkingDetailByPersonIDDataResponse
1014
+ */
1015
+ 'durationInMinute': number;
1016
+ /**
1017
+ *
1018
+ * @type {number}
1019
+ * @memberof GetParkingDetailByPersonIDDataResponse
1020
+ */
1021
+ 'timeUsedInMinute': number;
1022
+ /**
1023
+ *
1024
+ * @type {number}
1025
+ * @memberof GetParkingDetailByPersonIDDataResponse
1026
+ */
1027
+ 'remainInMinute': number;
1028
+ }
776
1029
  /**
777
1030
  *
778
1031
  * @export
@@ -1695,6 +1948,25 @@ export const RedeemType = {
1695
1948
  export type RedeemType = typeof RedeemType[keyof typeof RedeemType];
1696
1949
 
1697
1950
 
1951
+ /**
1952
+ *
1953
+ * @export
1954
+ * @interface ResponseDataGetParkingDetailByPersonIDDataResponse
1955
+ */
1956
+ export interface ResponseDataGetParkingDetailByPersonIDDataResponse {
1957
+ /**
1958
+ *
1959
+ * @type {GetParkingDetailByPersonIDDataResponse}
1960
+ * @memberof ResponseDataGetParkingDetailByPersonIDDataResponse
1961
+ */
1962
+ 'data': GetParkingDetailByPersonIDDataResponse;
1963
+ /**
1964
+ *
1965
+ * @type {Pagination}
1966
+ * @memberof ResponseDataGetParkingDetailByPersonIDDataResponse
1967
+ */
1968
+ 'pagination'?: Pagination;
1969
+ }
1698
1970
  /**
1699
1971
  *
1700
1972
  * @export
@@ -2544,7 +2816,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2544
2816
  * @param {string} [updatedAt]
2545
2817
  * @param {string} [propertyName]
2546
2818
  * @param {string} [propertyId]
2547
- * @param {string} [propertyId2]
2548
2819
  * @param {string} [sortKey]
2549
2820
  * @param {string} [sortDirection]
2550
2821
  * @param {boolean} [isExport]
@@ -2554,7 +2825,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2554
2825
  * @param {*} [options] Override http request option.
2555
2826
  * @throws {RequiredError}
2556
2827
  */
2557
- configStoreWhitelistIndex: async (taxId?: string, storeName?: string, shopName?: 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> => {
2828
+ configStoreWhitelistIndex: async (taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, sortKey?: string, sortDirection?: string, isExport?: boolean, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
2558
2829
  const localVarPath = `/config/store/whitelist`;
2559
2830
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2560
2831
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2613,10 +2884,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2613
2884
  localVarQueryParameter['property_id'] = propertyId;
2614
2885
  }
2615
2886
 
2616
- if (propertyId2 !== undefined) {
2617
- localVarQueryParameter['property_id'] = propertyId2;
2618
- }
2619
-
2620
2887
  if (sortKey !== undefined) {
2621
2888
  localVarQueryParameter['sort_key'] = sortKey;
2622
2889
  }
@@ -2877,6 +3144,39 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
2877
3144
 
2878
3145
 
2879
3146
 
3147
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3148
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3149
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3150
+
3151
+ return {
3152
+ url: toPathString(localVarUrlObj),
3153
+ options: localVarRequestOptions,
3154
+ };
3155
+ },
3156
+ /**
3157
+ *
3158
+ * @param {string} id
3159
+ * @param {*} [options] Override http request option.
3160
+ * @throws {RequiredError}
3161
+ */
3162
+ parkingDetailsFetch: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3163
+ // verify required parameter 'id' is not null or undefined
3164
+ assertParamExists('parkingDetailsFetch', 'id', id)
3165
+ const localVarPath = `/parking-details/fetch/{id}`
3166
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
3167
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3168
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3169
+ let baseOptions;
3170
+ if (configuration) {
3171
+ baseOptions = configuration.baseOptions;
3172
+ }
3173
+
3174
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3175
+ const localVarHeaderParameter = {} as any;
3176
+ const localVarQueryParameter = {} as any;
3177
+
3178
+
3179
+
2880
3180
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2881
3181
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2882
3182
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -3470,7 +3770,6 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3470
3770
  * @param {string} [updatedAt]
3471
3771
  * @param {string} [propertyName]
3472
3772
  * @param {string} [propertyId]
3473
- * @param {string} [propertyId2]
3474
3773
  * @param {string} [sortKey]
3475
3774
  * @param {string} [sortDirection]
3476
3775
  * @param {boolean} [isExport]
@@ -3480,8 +3779,8 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3480
3779
  * @param {*} [options] Override http request option.
3481
3780
  * @throws {RequiredError}
3482
3781
  */
3483
- async configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: 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>>> {
3484
- const localVarAxiosArgs = await localVarAxiosParamCreator.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, propertyId2, sortKey, sortDirection, isExport, hasTaxId, receiptAddressInObk, isActive, options);
3782
+ async configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, sortKey?: string, sortDirection?: string, isExport?: boolean, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StoreWhitelistResponse>>> {
3783
+ const localVarAxiosArgs = await localVarAxiosParamCreator.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, isExport, hasTaxId, receiptAddressInObk, isActive, options);
3485
3784
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3486
3785
  },
3487
3786
  /**
@@ -3549,6 +3848,16 @@ export const DefaultApiFp = function(configuration?: Configuration) {
3549
3848
  const localVarAxiosArgs = await localVarAxiosParamCreator.parkingAddParkingTicket(id, platform, idType, xAccountId, options);
3550
3849
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3551
3850
  },
3851
+ /**
3852
+ *
3853
+ * @param {string} id
3854
+ * @param {*} [options] Override http request option.
3855
+ * @throws {RequiredError}
3856
+ */
3857
+ async parkingDetailsFetch(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseDataGetParkingDetailByPersonIDDataResponse>> {
3858
+ const localVarAxiosArgs = await localVarAxiosParamCreator.parkingDetailsFetch(id, options);
3859
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3860
+ },
3552
3861
  /**
3553
3862
  *
3554
3863
  * @param {string} id
@@ -3803,7 +4112,6 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3803
4112
  * @param {string} [updatedAt]
3804
4113
  * @param {string} [propertyName]
3805
4114
  * @param {string} [propertyId]
3806
- * @param {string} [propertyId2]
3807
4115
  * @param {string} [sortKey]
3808
4116
  * @param {string} [sortDirection]
3809
4117
  * @param {boolean} [isExport]
@@ -3813,8 +4121,8 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3813
4121
  * @param {*} [options] Override http request option.
3814
4122
  * @throws {RequiredError}
3815
4123
  */
3816
- configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: 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>> {
3817
- return localVarFp.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, propertyId2, sortKey, sortDirection, isExport, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(axios, basePath));
4124
+ configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, sortKey?: string, sortDirection?: string, isExport?: boolean, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: any): AxiosPromise<Array<StoreWhitelistResponse>> {
4125
+ return localVarFp.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, isExport, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(axios, basePath));
3818
4126
  },
3819
4127
  /**
3820
4128
  *
@@ -3875,6 +4183,15 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
3875
4183
  parkingAddParkingTicket(id: string, platform: AddParkingTicketType, idType: AddParkingTicketIdType, xAccountId?: string, options?: any): AxiosPromise<AddParkingTicketResponse> {
3876
4184
  return localVarFp.parkingAddParkingTicket(id, platform, idType, xAccountId, options).then((request) => request(axios, basePath));
3877
4185
  },
4186
+ /**
4187
+ *
4188
+ * @param {string} id
4189
+ * @param {*} [options] Override http request option.
4190
+ * @throws {RequiredError}
4191
+ */
4192
+ parkingDetailsFetch(id: string, options?: any): AxiosPromise<ResponseDataGetParkingDetailByPersonIDDataResponse> {
4193
+ return localVarFp.parkingDetailsFetch(id, options).then((request) => request(axios, basePath));
4194
+ },
3878
4195
  /**
3879
4196
  *
3880
4197
  * @param {string} id
@@ -4146,7 +4463,6 @@ export class DefaultApi extends BaseAPI {
4146
4463
  * @param {string} [updatedAt]
4147
4464
  * @param {string} [propertyName]
4148
4465
  * @param {string} [propertyId]
4149
- * @param {string} [propertyId2]
4150
4466
  * @param {string} [sortKey]
4151
4467
  * @param {string} [sortDirection]
4152
4468
  * @param {boolean} [isExport]
@@ -4157,8 +4473,8 @@ export class DefaultApi extends BaseAPI {
4157
4473
  * @throws {RequiredError}
4158
4474
  * @memberof DefaultApi
4159
4475
  */
4160
- public configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: 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) {
4161
- return DefaultApiFp(this.configuration).configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, propertyId2, sortKey, sortDirection, isExport, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(this.axios, this.basePath));
4476
+ public configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, sortKey?: string, sortDirection?: string, isExport?: boolean, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: AxiosRequestConfig) {
4477
+ return DefaultApiFp(this.configuration).configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, isExport, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(this.axios, this.basePath));
4162
4478
  }
4163
4479
 
4164
4480
  /**
@@ -4232,6 +4548,17 @@ export class DefaultApi extends BaseAPI {
4232
4548
  return DefaultApiFp(this.configuration).parkingAddParkingTicket(id, platform, idType, xAccountId, options).then((request) => request(this.axios, this.basePath));
4233
4549
  }
4234
4550
 
4551
+ /**
4552
+ *
4553
+ * @param {string} id
4554
+ * @param {*} [options] Override http request option.
4555
+ * @throws {RequiredError}
4556
+ * @memberof DefaultApi
4557
+ */
4558
+ public parkingDetailsFetch(id: string, options?: AxiosRequestConfig) {
4559
+ return DefaultApiFp(this.configuration).parkingDetailsFetch(id, options).then((request) => request(this.axios, this.basePath));
4560
+ }
4561
+
4235
4562
  /**
4236
4563
  *
4237
4564
  * @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: 0.0.1
7
+ * The version of the OpenAPI document: 0.0.2
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: 0.0.1
7
+ * The version of the OpenAPI document: 0.0.2
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: 0.0.1
7
+ * The version of the OpenAPI document: 0.0.2
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: 0.0.1
7
+ * The version of the OpenAPI document: 0.0.2
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: 0.0.1
5
+ * The version of the OpenAPI document: 0.0.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -749,6 +749,259 @@ export interface GetParkingDetaiQuery {
749
749
  */
750
750
  'filter_key'?: string;
751
751
  }
752
+ /**
753
+ *
754
+ * @export
755
+ * @interface GetParkingDetailByPersonIDDataResponse
756
+ */
757
+ export interface GetParkingDetailByPersonIDDataResponse {
758
+ /**
759
+ *
760
+ * @type {string}
761
+ * @memberof GetParkingDetailByPersonIDDataResponse
762
+ */
763
+ 'status': string;
764
+ /**
765
+ *
766
+ * @type {string}
767
+ * @memberof GetParkingDetailByPersonIDDataResponse
768
+ */
769
+ 'message': string;
770
+ /**
771
+ *
772
+ * @type {string}
773
+ * @memberof GetParkingDetailByPersonIDDataResponse
774
+ */
775
+ 'exeption': string | null;
776
+ /**
777
+ *
778
+ * @type {string}
779
+ * @memberof GetParkingDetailByPersonIDDataResponse
780
+ */
781
+ 'logId': string;
782
+ /**
783
+ *
784
+ * @type {string}
785
+ * @memberof GetParkingDetailByPersonIDDataResponse
786
+ */
787
+ 'ticketNo': string;
788
+ /**
789
+ *
790
+ * @type {string}
791
+ * @memberof GetParkingDetailByPersonIDDataResponse
792
+ */
793
+ 'ticketUid': string;
794
+ /**
795
+ *
796
+ * @type {string}
797
+ * @memberof GetParkingDetailByPersonIDDataResponse
798
+ */
799
+ 'plateNo': string;
800
+ /**
801
+ *
802
+ * @type {string}
803
+ * @memberof GetParkingDetailByPersonIDDataResponse
804
+ */
805
+ 'entryDateTime': string;
806
+ /**
807
+ *
808
+ * @type {string}
809
+ * @memberof GetParkingDetailByPersonIDDataResponse
810
+ */
811
+ 'logDateTime': string;
812
+ /**
813
+ *
814
+ * @type {number}
815
+ * @memberof GetParkingDetailByPersonIDDataResponse
816
+ */
817
+ 'exitStatus': number;
818
+ /**
819
+ *
820
+ * @type {number}
821
+ * @memberof GetParkingDetailByPersonIDDataResponse
822
+ */
823
+ 'terminalInId': number;
824
+ /**
825
+ *
826
+ * @type {string}
827
+ * @memberof GetParkingDetailByPersonIDDataResponse
828
+ */
829
+ 'terminalInName': string;
830
+ /**
831
+ *
832
+ * @type {number}
833
+ * @memberof GetParkingDetailByPersonIDDataResponse
834
+ */
835
+ 'memberTypeId': number;
836
+ /**
837
+ *
838
+ * @type {string}
839
+ * @memberof GetParkingDetailByPersonIDDataResponse
840
+ */
841
+ 'memberTypeName': string;
842
+ /**
843
+ *
844
+ * @type {number}
845
+ * @memberof GetParkingDetailByPersonIDDataResponse
846
+ */
847
+ 'vehicleTypeId': number;
848
+ /**
849
+ *
850
+ * @type {string}
851
+ * @memberof GetParkingDetailByPersonIDDataResponse
852
+ */
853
+ 'vehicleTypeName': string;
854
+ /**
855
+ *
856
+ * @type {string}
857
+ * @memberof GetParkingDetailByPersonIDDataResponse
858
+ */
859
+ 'rateCode': string;
860
+ /**
861
+ *
862
+ * @type {string}
863
+ * @memberof GetParkingDetailByPersonIDDataResponse
864
+ */
865
+ 'rateDetailTH': string;
866
+ /**
867
+ *
868
+ * @type {string}
869
+ * @memberof GetParkingDetailByPersonIDDataResponse
870
+ */
871
+ 'rateDetailEN': string;
872
+ /**
873
+ *
874
+ * @type {string}
875
+ * @memberof GetParkingDetailByPersonIDDataResponse
876
+ */
877
+ 'tenantId': string;
878
+ /**
879
+ *
880
+ * @type {string}
881
+ * @memberof GetParkingDetailByPersonIDDataResponse
882
+ */
883
+ 'tenantName': string;
884
+ /**
885
+ *
886
+ * @type {boolean}
887
+ * @memberof GetParkingDetailByPersonIDDataResponse
888
+ */
889
+ 'isCardLost': boolean;
890
+ /**
891
+ *
892
+ * @type {number}
893
+ * @memberof GetParkingDetailByPersonIDDataResponse
894
+ */
895
+ 'parkHH': number;
896
+ /**
897
+ *
898
+ * @type {number}
899
+ * @memberof GetParkingDetailByPersonIDDataResponse
900
+ */
901
+ 'parkMM': number;
902
+ /**
903
+ *
904
+ * @type {number}
905
+ * @memberof GetParkingDetailByPersonIDDataResponse
906
+ */
907
+ 'rateHH': number;
908
+ /**
909
+ *
910
+ * @type {number}
911
+ * @memberof GetParkingDetailByPersonIDDataResponse
912
+ */
913
+ 'freeHH': number;
914
+ /**
915
+ *
916
+ * @type {number}
917
+ * @memberof GetParkingDetailByPersonIDDataResponse
918
+ */
919
+ 'subTotal': number;
920
+ /**
921
+ *
922
+ * @type {number}
923
+ * @memberof GetParkingDetailByPersonIDDataResponse
924
+ */
925
+ 'discount': number;
926
+ /**
927
+ *
928
+ * @type {number}
929
+ * @memberof GetParkingDetailByPersonIDDataResponse
930
+ */
931
+ 'parkFee': number;
932
+ /**
933
+ *
934
+ * @type {number}
935
+ * @memberof GetParkingDetailByPersonIDDataResponse
936
+ */
937
+ 'cardLostFine': number;
938
+ /**
939
+ *
940
+ * @type {number}
941
+ * @memberof GetParkingDetailByPersonIDDataResponse
942
+ */
943
+ 'overNightFine': number;
944
+ /**
945
+ *
946
+ * @type {number}
947
+ * @memberof GetParkingDetailByPersonIDDataResponse
948
+ */
949
+ 'total': number;
950
+ /**
951
+ *
952
+ * @type {boolean}
953
+ * @memberof GetParkingDetailByPersonIDDataResponse
954
+ */
955
+ 'isInv': boolean;
956
+ /**
957
+ *
958
+ * @type {number}
959
+ * @memberof GetParkingDetailByPersonIDDataResponse
960
+ */
961
+ 'invRateHH': number;
962
+ /**
963
+ *
964
+ * @type {number}
965
+ * @memberof GetParkingDetailByPersonIDDataResponse
966
+ */
967
+ 'invFee': number;
968
+ /**
969
+ *
970
+ * @type {boolean}
971
+ * @memberof GetParkingDetailByPersonIDDataResponse
972
+ */
973
+ 'isPayAtKiosk': boolean;
974
+ /**
975
+ *
976
+ * @type {string}
977
+ * @memberof GetParkingDetailByPersonIDDataResponse
978
+ */
979
+ 'lastDateTimePaymentAtKiosk': string | null;
980
+ /**
981
+ *
982
+ * @type {number}
983
+ * @memberof GetParkingDetailByPersonIDDataResponse
984
+ */
985
+ 'payAtKioskAll': number;
986
+ /**
987
+ *
988
+ * @type {number}
989
+ * @memberof GetParkingDetailByPersonIDDataResponse
990
+ */
991
+ 'durationInMinute': number;
992
+ /**
993
+ *
994
+ * @type {number}
995
+ * @memberof GetParkingDetailByPersonIDDataResponse
996
+ */
997
+ 'timeUsedInMinute': number;
998
+ /**
999
+ *
1000
+ * @type {number}
1001
+ * @memberof GetParkingDetailByPersonIDDataResponse
1002
+ */
1003
+ 'remainInMinute': number;
1004
+ }
752
1005
  /**
753
1006
  *
754
1007
  * @export
@@ -1649,6 +1902,25 @@ export declare const RedeemType: {
1649
1902
  readonly Redeem: "REDEEM";
1650
1903
  };
1651
1904
  export type RedeemType = typeof RedeemType[keyof typeof RedeemType];
1905
+ /**
1906
+ *
1907
+ * @export
1908
+ * @interface ResponseDataGetParkingDetailByPersonIDDataResponse
1909
+ */
1910
+ export interface ResponseDataGetParkingDetailByPersonIDDataResponse {
1911
+ /**
1912
+ *
1913
+ * @type {GetParkingDetailByPersonIDDataResponse}
1914
+ * @memberof ResponseDataGetParkingDetailByPersonIDDataResponse
1915
+ */
1916
+ 'data': GetParkingDetailByPersonIDDataResponse;
1917
+ /**
1918
+ *
1919
+ * @type {Pagination}
1920
+ * @memberof ResponseDataGetParkingDetailByPersonIDDataResponse
1921
+ */
1922
+ 'pagination'?: Pagination;
1923
+ }
1652
1924
  /**
1653
1925
  *
1654
1926
  * @export
@@ -2144,7 +2416,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2144
2416
  * @param {string} [updatedAt]
2145
2417
  * @param {string} [propertyName]
2146
2418
  * @param {string} [propertyId]
2147
- * @param {string} [propertyId2]
2148
2419
  * @param {string} [sortKey]
2149
2420
  * @param {string} [sortDirection]
2150
2421
  * @param {boolean} [isExport]
@@ -2154,7 +2425,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2154
2425
  * @param {*} [options] Override http request option.
2155
2426
  * @throws {RequiredError}
2156
2427
  */
2157
- configStoreWhitelistIndex: (taxId?: string, storeName?: string, shopName?: 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>;
2428
+ configStoreWhitelistIndex: (taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, sortKey?: string, sortDirection?: string, isExport?: boolean, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2158
2429
  /**
2159
2430
  *
2160
2431
  * @param {string} id
@@ -2202,6 +2473,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2202
2473
  * @throws {RequiredError}
2203
2474
  */
2204
2475
  parkingAddParkingTicket: (id: string, platform: AddParkingTicketType, idType: AddParkingTicketIdType, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2476
+ /**
2477
+ *
2478
+ * @param {string} id
2479
+ * @param {*} [options] Override http request option.
2480
+ * @throws {RequiredError}
2481
+ */
2482
+ parkingDetailsFetch: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2205
2483
  /**
2206
2484
  *
2207
2485
  * @param {string} id
@@ -2399,7 +2677,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2399
2677
  * @param {string} [updatedAt]
2400
2678
  * @param {string} [propertyName]
2401
2679
  * @param {string} [propertyId]
2402
- * @param {string} [propertyId2]
2403
2680
  * @param {string} [sortKey]
2404
2681
  * @param {string} [sortDirection]
2405
2682
  * @param {boolean} [isExport]
@@ -2409,7 +2686,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2409
2686
  * @param {*} [options] Override http request option.
2410
2687
  * @throws {RequiredError}
2411
2688
  */
2412
- configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: 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>>>;
2689
+ configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, sortKey?: string, sortDirection?: string, isExport?: boolean, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StoreWhitelistResponse>>>;
2413
2690
  /**
2414
2691
  *
2415
2692
  * @param {string} id
@@ -2457,6 +2734,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
2457
2734
  * @throws {RequiredError}
2458
2735
  */
2459
2736
  parkingAddParkingTicket(id: string, platform: AddParkingTicketType, idType: AddParkingTicketIdType, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AddParkingTicketResponse>>;
2737
+ /**
2738
+ *
2739
+ * @param {string} id
2740
+ * @param {*} [options] Override http request option.
2741
+ * @throws {RequiredError}
2742
+ */
2743
+ parkingDetailsFetch(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResponseDataGetParkingDetailByPersonIDDataResponse>>;
2460
2744
  /**
2461
2745
  *
2462
2746
  * @param {string} id
@@ -2654,7 +2938,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2654
2938
  * @param {string} [updatedAt]
2655
2939
  * @param {string} [propertyName]
2656
2940
  * @param {string} [propertyId]
2657
- * @param {string} [propertyId2]
2658
2941
  * @param {string} [sortKey]
2659
2942
  * @param {string} [sortDirection]
2660
2943
  * @param {boolean} [isExport]
@@ -2664,7 +2947,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2664
2947
  * @param {*} [options] Override http request option.
2665
2948
  * @throws {RequiredError}
2666
2949
  */
2667
- configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: 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>>;
2950
+ configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, sortKey?: string, sortDirection?: string, isExport?: boolean, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: any): AxiosPromise<Array<StoreWhitelistResponse>>;
2668
2951
  /**
2669
2952
  *
2670
2953
  * @param {string} id
@@ -2712,6 +2995,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
2712
2995
  * @throws {RequiredError}
2713
2996
  */
2714
2997
  parkingAddParkingTicket(id: string, platform: AddParkingTicketType, idType: AddParkingTicketIdType, xAccountId?: string, options?: any): AxiosPromise<AddParkingTicketResponse>;
2998
+ /**
2999
+ *
3000
+ * @param {string} id
3001
+ * @param {*} [options] Override http request option.
3002
+ * @throws {RequiredError}
3003
+ */
3004
+ parkingDetailsFetch(id: string, options?: any): AxiosPromise<ResponseDataGetParkingDetailByPersonIDDataResponse>;
2715
3005
  /**
2716
3006
  *
2717
3007
  * @param {string} id
@@ -2924,7 +3214,6 @@ export declare class DefaultApi extends BaseAPI {
2924
3214
  * @param {string} [updatedAt]
2925
3215
  * @param {string} [propertyName]
2926
3216
  * @param {string} [propertyId]
2927
- * @param {string} [propertyId2]
2928
3217
  * @param {string} [sortKey]
2929
3218
  * @param {string} [sortDirection]
2930
3219
  * @param {boolean} [isExport]
@@ -2935,7 +3224,7 @@ export declare class DefaultApi extends BaseAPI {
2935
3224
  * @throws {RequiredError}
2936
3225
  * @memberof DefaultApi
2937
3226
  */
2938
- configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: 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<import("axios").AxiosResponse<StoreWhitelistResponse[], any>>;
3227
+ configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, sortKey?: string, sortDirection?: string, isExport?: boolean, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StoreWhitelistResponse[], any>>;
2939
3228
  /**
2940
3229
  *
2941
3230
  * @param {string} id
@@ -2989,6 +3278,14 @@ export declare class DefaultApi extends BaseAPI {
2989
3278
  * @memberof DefaultApi
2990
3279
  */
2991
3280
  parkingAddParkingTicket(id: string, platform: AddParkingTicketType, idType: AddParkingTicketIdType, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AddParkingTicketResponse, any>>;
3281
+ /**
3282
+ *
3283
+ * @param {string} id
3284
+ * @param {*} [options] Override http request option.
3285
+ * @throws {RequiredError}
3286
+ * @memberof DefaultApi
3287
+ */
3288
+ parkingDetailsFetch(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ResponseDataGetParkingDetailByPersonIDDataResponse, any>>;
2992
3289
  /**
2993
3290
  *
2994
3291
  * @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: 0.0.1
8
+ * The version of the OpenAPI document: 0.0.2
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -470,7 +470,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
470
470
  * @param {string} [updatedAt]
471
471
  * @param {string} [propertyName]
472
472
  * @param {string} [propertyId]
473
- * @param {string} [propertyId2]
474
473
  * @param {string} [sortKey]
475
474
  * @param {string} [sortDirection]
476
475
  * @param {boolean} [isExport]
@@ -480,7 +479,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
480
479
  * @param {*} [options] Override http request option.
481
480
  * @throws {RequiredError}
482
481
  */
483
- configStoreWhitelistIndex: (taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, propertyId2, sortKey, sortDirection, isExport, hasTaxId, receiptAddressInObk, isActive, options = {}) => __awaiter(this, void 0, void 0, function* () {
482
+ configStoreWhitelistIndex: (taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, isExport, hasTaxId, receiptAddressInObk, isActive, options = {}) => __awaiter(this, void 0, void 0, function* () {
484
483
  const localVarPath = `/config/store/whitelist`;
485
484
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
486
485
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -526,9 +525,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
526
525
  if (propertyId !== undefined) {
527
526
  localVarQueryParameter['property_id'] = propertyId;
528
527
  }
529
- if (propertyId2 !== undefined) {
530
- localVarQueryParameter['property_id'] = propertyId2;
531
- }
532
528
  if (sortKey !== undefined) {
533
529
  localVarQueryParameter['sort_key'] = sortKey;
534
530
  }
@@ -752,6 +748,34 @@ const DefaultApiAxiosParamCreator = function (configuration) {
752
748
  options: localVarRequestOptions,
753
749
  };
754
750
  }),
751
+ /**
752
+ *
753
+ * @param {string} id
754
+ * @param {*} [options] Override http request option.
755
+ * @throws {RequiredError}
756
+ */
757
+ parkingDetailsFetch: (id, options = {}) => __awaiter(this, void 0, void 0, function* () {
758
+ // verify required parameter 'id' is not null or undefined
759
+ (0, common_1.assertParamExists)('parkingDetailsFetch', 'id', id);
760
+ const localVarPath = `/parking-details/fetch/{id}`
761
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
762
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
763
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
764
+ let baseOptions;
765
+ if (configuration) {
766
+ baseOptions = configuration.baseOptions;
767
+ }
768
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
769
+ const localVarHeaderParameter = {};
770
+ const localVarQueryParameter = {};
771
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
772
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
773
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
774
+ return {
775
+ url: (0, common_1.toPathString)(localVarUrlObj),
776
+ options: localVarRequestOptions,
777
+ };
778
+ }),
755
779
  /**
756
780
  *
757
781
  * @param {string} id
@@ -1286,7 +1310,6 @@ const DefaultApiFp = function (configuration) {
1286
1310
  * @param {string} [updatedAt]
1287
1311
  * @param {string} [propertyName]
1288
1312
  * @param {string} [propertyId]
1289
- * @param {string} [propertyId2]
1290
1313
  * @param {string} [sortKey]
1291
1314
  * @param {string} [sortDirection]
1292
1315
  * @param {boolean} [isExport]
@@ -1296,9 +1319,9 @@ const DefaultApiFp = function (configuration) {
1296
1319
  * @param {*} [options] Override http request option.
1297
1320
  * @throws {RequiredError}
1298
1321
  */
1299
- configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, propertyId2, sortKey, sortDirection, isExport, hasTaxId, receiptAddressInObk, isActive, options) {
1322
+ configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, isExport, hasTaxId, receiptAddressInObk, isActive, options) {
1300
1323
  return __awaiter(this, void 0, void 0, function* () {
1301
- const localVarAxiosArgs = yield localVarAxiosParamCreator.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, propertyId2, sortKey, sortDirection, isExport, hasTaxId, receiptAddressInObk, isActive, options);
1324
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, isExport, hasTaxId, receiptAddressInObk, isActive, options);
1302
1325
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1303
1326
  });
1304
1327
  },
@@ -1379,6 +1402,18 @@ const DefaultApiFp = function (configuration) {
1379
1402
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1380
1403
  });
1381
1404
  },
1405
+ /**
1406
+ *
1407
+ * @param {string} id
1408
+ * @param {*} [options] Override http request option.
1409
+ * @throws {RequiredError}
1410
+ */
1411
+ parkingDetailsFetch(id, options) {
1412
+ return __awaiter(this, void 0, void 0, function* () {
1413
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingDetailsFetch(id, options);
1414
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1415
+ });
1416
+ },
1382
1417
  /**
1383
1418
  *
1384
1419
  * @param {string} id
@@ -1651,7 +1686,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1651
1686
  * @param {string} [updatedAt]
1652
1687
  * @param {string} [propertyName]
1653
1688
  * @param {string} [propertyId]
1654
- * @param {string} [propertyId2]
1655
1689
  * @param {string} [sortKey]
1656
1690
  * @param {string} [sortDirection]
1657
1691
  * @param {boolean} [isExport]
@@ -1661,8 +1695,8 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1661
1695
  * @param {*} [options] Override http request option.
1662
1696
  * @throws {RequiredError}
1663
1697
  */
1664
- configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, propertyId2, sortKey, sortDirection, isExport, hasTaxId, receiptAddressInObk, isActive, options) {
1665
- return localVarFp.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, propertyId2, sortKey, sortDirection, isExport, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(axios, basePath));
1698
+ configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, isExport, hasTaxId, receiptAddressInObk, isActive, options) {
1699
+ return localVarFp.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, isExport, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(axios, basePath));
1666
1700
  },
1667
1701
  /**
1668
1702
  *
@@ -1723,6 +1757,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
1723
1757
  parkingAddParkingTicket(id, platform, idType, xAccountId, options) {
1724
1758
  return localVarFp.parkingAddParkingTicket(id, platform, idType, xAccountId, options).then((request) => request(axios, basePath));
1725
1759
  },
1760
+ /**
1761
+ *
1762
+ * @param {string} id
1763
+ * @param {*} [options] Override http request option.
1764
+ * @throws {RequiredError}
1765
+ */
1766
+ parkingDetailsFetch(id, options) {
1767
+ return localVarFp.parkingDetailsFetch(id, options).then((request) => request(axios, basePath));
1768
+ },
1726
1769
  /**
1727
1770
  *
1728
1771
  * @param {string} id
@@ -1981,7 +2024,6 @@ class DefaultApi extends base_1.BaseAPI {
1981
2024
  * @param {string} [updatedAt]
1982
2025
  * @param {string} [propertyName]
1983
2026
  * @param {string} [propertyId]
1984
- * @param {string} [propertyId2]
1985
2027
  * @param {string} [sortKey]
1986
2028
  * @param {string} [sortDirection]
1987
2029
  * @param {boolean} [isExport]
@@ -1992,8 +2034,8 @@ class DefaultApi extends base_1.BaseAPI {
1992
2034
  * @throws {RequiredError}
1993
2035
  * @memberof DefaultApi
1994
2036
  */
1995
- configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, propertyId2, sortKey, sortDirection, isExport, hasTaxId, receiptAddressInObk, isActive, options) {
1996
- return (0, exports.DefaultApiFp)(this.configuration).configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, propertyId2, sortKey, sortDirection, isExport, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(this.axios, this.basePath));
2037
+ configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, isExport, hasTaxId, receiptAddressInObk, isActive, options) {
2038
+ return (0, exports.DefaultApiFp)(this.configuration).configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, isExport, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(this.axios, this.basePath));
1997
2039
  }
1998
2040
  /**
1999
2041
  *
@@ -2060,6 +2102,16 @@ class DefaultApi extends base_1.BaseAPI {
2060
2102
  parkingAddParkingTicket(id, platform, idType, xAccountId, options) {
2061
2103
  return (0, exports.DefaultApiFp)(this.configuration).parkingAddParkingTicket(id, platform, idType, xAccountId, options).then((request) => request(this.axios, this.basePath));
2062
2104
  }
2105
+ /**
2106
+ *
2107
+ * @param {string} id
2108
+ * @param {*} [options] Override http request option.
2109
+ * @throws {RequiredError}
2110
+ * @memberof DefaultApi
2111
+ */
2112
+ parkingDetailsFetch(id, options) {
2113
+ return (0, exports.DefaultApiFp)(this.configuration).parkingDetailsFetch(id, options).then((request) => request(this.axios, this.basePath));
2114
+ }
2063
2115
  /**
2064
2116
  *
2065
2117
  * @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: 0.0.1
5
+ * The version of the OpenAPI document: 0.0.2
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: 0.0.1
8
+ * The version of the OpenAPI document: 0.0.2
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: 0.0.1
5
+ * The version of the OpenAPI document: 0.0.2
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: 0.0.1
8
+ * The version of the OpenAPI document: 0.0.2
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: 0.0.1
5
+ * The version of the OpenAPI document: 0.0.2
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: 0.0.1
8
+ * The version of the OpenAPI document: 0.0.2
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: 0.0.1
5
+ * The version of the OpenAPI document: 0.0.2
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: 0.0.1
8
+ * The version of the OpenAPI document: 0.0.2
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.28",
3
+ "version": "0.0.30",
4
4
  "description": "API interfaces for OB PARKING",
5
5
  "main": "./dist/index.js",
6
6
  "license": "MIT"