ob-parking-sdk 0.0.20 → 0.0.22
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 +48 -8
- package/dist/api/api.d.ts +40 -4
- package/dist/api/api.js +16 -8
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -437,6 +437,12 @@ export interface ConfigStoreWhitelistQuery {
|
|
|
437
437
|
* @memberof ConfigStoreWhitelistQuery
|
|
438
438
|
*/
|
|
439
439
|
'property_name'?: string;
|
|
440
|
+
/**
|
|
441
|
+
*
|
|
442
|
+
* @type {string}
|
|
443
|
+
* @memberof ConfigStoreWhitelistQuery
|
|
444
|
+
*/
|
|
445
|
+
'property_id'?: string;
|
|
440
446
|
/**
|
|
441
447
|
*
|
|
442
448
|
* @type {string}
|
|
@@ -840,6 +846,31 @@ export interface GetParkingDetailResponse {
|
|
|
840
846
|
* @memberof GetParkingDetailResponse
|
|
841
847
|
*/
|
|
842
848
|
'redeemed_at': string;
|
|
849
|
+
/**
|
|
850
|
+
*
|
|
851
|
+
* @type {GetParkingDetailResponseRateDetail}
|
|
852
|
+
* @memberof GetParkingDetailResponse
|
|
853
|
+
*/
|
|
854
|
+
'rate_detail': GetParkingDetailResponseRateDetail;
|
|
855
|
+
}
|
|
856
|
+
/**
|
|
857
|
+
*
|
|
858
|
+
* @export
|
|
859
|
+
* @interface GetParkingDetailResponseRateDetail
|
|
860
|
+
*/
|
|
861
|
+
export interface GetParkingDetailResponseRateDetail {
|
|
862
|
+
/**
|
|
863
|
+
*
|
|
864
|
+
* @type {string}
|
|
865
|
+
* @memberof GetParkingDetailResponseRateDetail
|
|
866
|
+
*/
|
|
867
|
+
'th': string;
|
|
868
|
+
/**
|
|
869
|
+
*
|
|
870
|
+
* @type {string}
|
|
871
|
+
* @memberof GetParkingDetailResponseRateDetail
|
|
872
|
+
*/
|
|
873
|
+
'en': string;
|
|
843
874
|
}
|
|
844
875
|
/**
|
|
845
876
|
*
|
|
@@ -1243,7 +1274,8 @@ export const ReceiptStatus = {
|
|
|
1243
1274
|
Pending: 'PENDING',
|
|
1244
1275
|
Dispute: 'DISPUTE',
|
|
1245
1276
|
Redeemed: 'REDEEMED',
|
|
1246
|
-
Processing: 'PROCESSING'
|
|
1277
|
+
Processing: 'PROCESSING',
|
|
1278
|
+
Duplicated: 'DUPLICATED'
|
|
1247
1279
|
} as const;
|
|
1248
1280
|
|
|
1249
1281
|
export type ReceiptStatus = typeof ReceiptStatus[keyof typeof ReceiptStatus];
|
|
@@ -2117,6 +2149,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2117
2149
|
* @param {string} [storeName]
|
|
2118
2150
|
* @param {string} [companyName]
|
|
2119
2151
|
* @param {string} [propertyName]
|
|
2152
|
+
* @param {string} [propertyId]
|
|
2120
2153
|
* @param {string} [unitNo]
|
|
2121
2154
|
* @param {string} [address]
|
|
2122
2155
|
* @param {string} [building]
|
|
@@ -2129,7 +2162,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2129
2162
|
* @param {*} [options] Override http request option.
|
|
2130
2163
|
* @throws {RequiredError}
|
|
2131
2164
|
*/
|
|
2132
|
-
configStoreWhitelistIndex: async (id?: string, taxId?: string, storeName?: string, companyName?: string, propertyName?: string, unitNo?: string, address?: string, building?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, updatedAt?: string, createdAt?: string, sortKey?: string, sortDirection?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2165
|
+
configStoreWhitelistIndex: async (id?: string, taxId?: string, storeName?: string, companyName?: string, propertyName?: string, propertyId?: string, unitNo?: string, address?: string, building?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, updatedAt?: string, createdAt?: string, sortKey?: string, sortDirection?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2133
2166
|
const localVarPath = `/config/store/whitelist`;
|
|
2134
2167
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2135
2168
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2162,6 +2195,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
2162
2195
|
localVarQueryParameter['property_name'] = propertyName;
|
|
2163
2196
|
}
|
|
2164
2197
|
|
|
2198
|
+
if (propertyId !== undefined) {
|
|
2199
|
+
localVarQueryParameter['property_id'] = propertyId;
|
|
2200
|
+
}
|
|
2201
|
+
|
|
2165
2202
|
if (unitNo !== undefined) {
|
|
2166
2203
|
localVarQueryParameter['unit_no'] = unitNo;
|
|
2167
2204
|
}
|
|
@@ -2935,6 +2972,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2935
2972
|
* @param {string} [storeName]
|
|
2936
2973
|
* @param {string} [companyName]
|
|
2937
2974
|
* @param {string} [propertyName]
|
|
2975
|
+
* @param {string} [propertyId]
|
|
2938
2976
|
* @param {string} [unitNo]
|
|
2939
2977
|
* @param {string} [address]
|
|
2940
2978
|
* @param {string} [building]
|
|
@@ -2947,8 +2985,8 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
2947
2985
|
* @param {*} [options] Override http request option.
|
|
2948
2986
|
* @throws {RequiredError}
|
|
2949
2987
|
*/
|
|
2950
|
-
async configStoreWhitelistIndex(id?: string, taxId?: string, storeName?: string, companyName?: string, propertyName?: string, unitNo?: string, address?: string, building?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, updatedAt?: string, createdAt?: string, sortKey?: string, sortDirection?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StoreWhitelistResponse>>> {
|
|
2951
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.configStoreWhitelistIndex(id, taxId, storeName, companyName, propertyName, unitNo, address, building, hasTaxId, receiptAddressInObk, updatedAt, createdAt, sortKey, sortDirection, options);
|
|
2988
|
+
async configStoreWhitelistIndex(id?: string, taxId?: string, storeName?: string, companyName?: string, propertyName?: string, propertyId?: string, unitNo?: string, address?: string, building?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, updatedAt?: string, createdAt?: string, sortKey?: string, sortDirection?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StoreWhitelistResponse>>> {
|
|
2989
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.configStoreWhitelistIndex(id, taxId, storeName, companyName, propertyName, propertyId, unitNo, address, building, hasTaxId, receiptAddressInObk, updatedAt, createdAt, sortKey, sortDirection, options);
|
|
2952
2990
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2953
2991
|
},
|
|
2954
2992
|
/**
|
|
@@ -3233,6 +3271,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3233
3271
|
* @param {string} [storeName]
|
|
3234
3272
|
* @param {string} [companyName]
|
|
3235
3273
|
* @param {string} [propertyName]
|
|
3274
|
+
* @param {string} [propertyId]
|
|
3236
3275
|
* @param {string} [unitNo]
|
|
3237
3276
|
* @param {string} [address]
|
|
3238
3277
|
* @param {string} [building]
|
|
@@ -3245,8 +3284,8 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
3245
3284
|
* @param {*} [options] Override http request option.
|
|
3246
3285
|
* @throws {RequiredError}
|
|
3247
3286
|
*/
|
|
3248
|
-
configStoreWhitelistIndex(id?: string, taxId?: string, storeName?: string, companyName?: string, propertyName?: string, unitNo?: string, address?: string, building?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, updatedAt?: string, createdAt?: string, sortKey?: string, sortDirection?: string, options?: any): AxiosPromise<Array<StoreWhitelistResponse>> {
|
|
3249
|
-
return localVarFp.configStoreWhitelistIndex(id, taxId, storeName, companyName, propertyName, unitNo, address, building, hasTaxId, receiptAddressInObk, updatedAt, createdAt, sortKey, sortDirection, options).then((request) => request(axios, basePath));
|
|
3287
|
+
configStoreWhitelistIndex(id?: string, taxId?: string, storeName?: string, companyName?: string, propertyName?: string, propertyId?: string, unitNo?: string, address?: string, building?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, updatedAt?: string, createdAt?: string, sortKey?: string, sortDirection?: string, options?: any): AxiosPromise<Array<StoreWhitelistResponse>> {
|
|
3288
|
+
return localVarFp.configStoreWhitelistIndex(id, taxId, storeName, companyName, propertyName, propertyId, unitNo, address, building, hasTaxId, receiptAddressInObk, updatedAt, createdAt, sortKey, sortDirection, options).then((request) => request(axios, basePath));
|
|
3250
3289
|
},
|
|
3251
3290
|
/**
|
|
3252
3291
|
*
|
|
@@ -3541,6 +3580,7 @@ export class DefaultApi extends BaseAPI {
|
|
|
3541
3580
|
* @param {string} [storeName]
|
|
3542
3581
|
* @param {string} [companyName]
|
|
3543
3582
|
* @param {string} [propertyName]
|
|
3583
|
+
* @param {string} [propertyId]
|
|
3544
3584
|
* @param {string} [unitNo]
|
|
3545
3585
|
* @param {string} [address]
|
|
3546
3586
|
* @param {string} [building]
|
|
@@ -3554,8 +3594,8 @@ export class DefaultApi extends BaseAPI {
|
|
|
3554
3594
|
* @throws {RequiredError}
|
|
3555
3595
|
* @memberof DefaultApi
|
|
3556
3596
|
*/
|
|
3557
|
-
public configStoreWhitelistIndex(id?: string, taxId?: string, storeName?: string, companyName?: string, propertyName?: string, unitNo?: string, address?: string, building?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, updatedAt?: string, createdAt?: string, sortKey?: string, sortDirection?: string, options?: AxiosRequestConfig) {
|
|
3558
|
-
return DefaultApiFp(this.configuration).configStoreWhitelistIndex(id, taxId, storeName, companyName, propertyName, unitNo, address, building, hasTaxId, receiptAddressInObk, updatedAt, createdAt, sortKey, sortDirection, options).then((request) => request(this.axios, this.basePath));
|
|
3597
|
+
public configStoreWhitelistIndex(id?: string, taxId?: string, storeName?: string, companyName?: string, propertyName?: string, propertyId?: string, unitNo?: string, address?: string, building?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, updatedAt?: string, createdAt?: string, sortKey?: string, sortDirection?: string, options?: AxiosRequestConfig) {
|
|
3598
|
+
return DefaultApiFp(this.configuration).configStoreWhitelistIndex(id, taxId, storeName, companyName, propertyName, propertyId, unitNo, address, building, hasTaxId, receiptAddressInObk, updatedAt, createdAt, sortKey, sortDirection, options).then((request) => request(this.axios, this.basePath));
|
|
3559
3599
|
}
|
|
3560
3600
|
|
|
3561
3601
|
/**
|
package/dist/api/api.d.ts
CHANGED
|
@@ -417,6 +417,12 @@ export interface ConfigStoreWhitelistQuery {
|
|
|
417
417
|
* @memberof ConfigStoreWhitelistQuery
|
|
418
418
|
*/
|
|
419
419
|
'property_name'?: string;
|
|
420
|
+
/**
|
|
421
|
+
*
|
|
422
|
+
* @type {string}
|
|
423
|
+
* @memberof ConfigStoreWhitelistQuery
|
|
424
|
+
*/
|
|
425
|
+
'property_id'?: string;
|
|
420
426
|
/**
|
|
421
427
|
*
|
|
422
428
|
* @type {string}
|
|
@@ -814,6 +820,31 @@ export interface GetParkingDetailResponse {
|
|
|
814
820
|
* @memberof GetParkingDetailResponse
|
|
815
821
|
*/
|
|
816
822
|
'redeemed_at': string;
|
|
823
|
+
/**
|
|
824
|
+
*
|
|
825
|
+
* @type {GetParkingDetailResponseRateDetail}
|
|
826
|
+
* @memberof GetParkingDetailResponse
|
|
827
|
+
*/
|
|
828
|
+
'rate_detail': GetParkingDetailResponseRateDetail;
|
|
829
|
+
}
|
|
830
|
+
/**
|
|
831
|
+
*
|
|
832
|
+
* @export
|
|
833
|
+
* @interface GetParkingDetailResponseRateDetail
|
|
834
|
+
*/
|
|
835
|
+
export interface GetParkingDetailResponseRateDetail {
|
|
836
|
+
/**
|
|
837
|
+
*
|
|
838
|
+
* @type {string}
|
|
839
|
+
* @memberof GetParkingDetailResponseRateDetail
|
|
840
|
+
*/
|
|
841
|
+
'th': string;
|
|
842
|
+
/**
|
|
843
|
+
*
|
|
844
|
+
* @type {string}
|
|
845
|
+
* @memberof GetParkingDetailResponseRateDetail
|
|
846
|
+
*/
|
|
847
|
+
'en': string;
|
|
817
848
|
}
|
|
818
849
|
/**
|
|
819
850
|
*
|
|
@@ -1207,6 +1238,7 @@ export declare const ReceiptStatus: {
|
|
|
1207
1238
|
readonly Dispute: "DISPUTE";
|
|
1208
1239
|
readonly Redeemed: "REDEEMED";
|
|
1209
1240
|
readonly Processing: "PROCESSING";
|
|
1241
|
+
readonly Duplicated: "DUPLICATED";
|
|
1210
1242
|
};
|
|
1211
1243
|
export type ReceiptStatus = typeof ReceiptStatus[keyof typeof ReceiptStatus];
|
|
1212
1244
|
/**
|
|
@@ -1750,6 +1782,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1750
1782
|
* @param {string} [storeName]
|
|
1751
1783
|
* @param {string} [companyName]
|
|
1752
1784
|
* @param {string} [propertyName]
|
|
1785
|
+
* @param {string} [propertyId]
|
|
1753
1786
|
* @param {string} [unitNo]
|
|
1754
1787
|
* @param {string} [address]
|
|
1755
1788
|
* @param {string} [building]
|
|
@@ -1762,7 +1795,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1762
1795
|
* @param {*} [options] Override http request option.
|
|
1763
1796
|
* @throws {RequiredError}
|
|
1764
1797
|
*/
|
|
1765
|
-
configStoreWhitelistIndex: (id?: string, taxId?: string, storeName?: string, companyName?: string, propertyName?: string, unitNo?: string, address?: string, building?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, updatedAt?: string, createdAt?: string, sortKey?: string, sortDirection?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1798
|
+
configStoreWhitelistIndex: (id?: string, taxId?: string, storeName?: string, companyName?: string, propertyName?: string, propertyId?: string, unitNo?: string, address?: string, building?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, updatedAt?: string, createdAt?: string, sortKey?: string, sortDirection?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1766
1799
|
/**
|
|
1767
1800
|
*
|
|
1768
1801
|
* @param {string} id
|
|
@@ -1978,6 +2011,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
1978
2011
|
* @param {string} [storeName]
|
|
1979
2012
|
* @param {string} [companyName]
|
|
1980
2013
|
* @param {string} [propertyName]
|
|
2014
|
+
* @param {string} [propertyId]
|
|
1981
2015
|
* @param {string} [unitNo]
|
|
1982
2016
|
* @param {string} [address]
|
|
1983
2017
|
* @param {string} [building]
|
|
@@ -1990,7 +2024,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
1990
2024
|
* @param {*} [options] Override http request option.
|
|
1991
2025
|
* @throws {RequiredError}
|
|
1992
2026
|
*/
|
|
1993
|
-
configStoreWhitelistIndex(id?: string, taxId?: string, storeName?: string, companyName?: string, propertyName?: string, unitNo?: string, address?: string, building?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, updatedAt?: string, createdAt?: string, sortKey?: string, sortDirection?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StoreWhitelistResponse>>>;
|
|
2027
|
+
configStoreWhitelistIndex(id?: string, taxId?: string, storeName?: string, companyName?: string, propertyName?: string, propertyId?: string, unitNo?: string, address?: string, building?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, updatedAt?: string, createdAt?: string, sortKey?: string, sortDirection?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StoreWhitelistResponse>>>;
|
|
1994
2028
|
/**
|
|
1995
2029
|
*
|
|
1996
2030
|
* @param {string} id
|
|
@@ -2206,6 +2240,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2206
2240
|
* @param {string} [storeName]
|
|
2207
2241
|
* @param {string} [companyName]
|
|
2208
2242
|
* @param {string} [propertyName]
|
|
2243
|
+
* @param {string} [propertyId]
|
|
2209
2244
|
* @param {string} [unitNo]
|
|
2210
2245
|
* @param {string} [address]
|
|
2211
2246
|
* @param {string} [building]
|
|
@@ -2218,7 +2253,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2218
2253
|
* @param {*} [options] Override http request option.
|
|
2219
2254
|
* @throws {RequiredError}
|
|
2220
2255
|
*/
|
|
2221
|
-
configStoreWhitelistIndex(id?: string, taxId?: string, storeName?: string, companyName?: string, propertyName?: string, unitNo?: string, address?: string, building?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, updatedAt?: string, createdAt?: string, sortKey?: string, sortDirection?: string, options?: any): AxiosPromise<Array<StoreWhitelistResponse>>;
|
|
2256
|
+
configStoreWhitelistIndex(id?: string, taxId?: string, storeName?: string, companyName?: string, propertyName?: string, propertyId?: string, unitNo?: string, address?: string, building?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, updatedAt?: string, createdAt?: string, sortKey?: string, sortDirection?: string, options?: any): AxiosPromise<Array<StoreWhitelistResponse>>;
|
|
2222
2257
|
/**
|
|
2223
2258
|
*
|
|
2224
2259
|
* @param {string} id
|
|
@@ -2448,6 +2483,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
2448
2483
|
* @param {string} [storeName]
|
|
2449
2484
|
* @param {string} [companyName]
|
|
2450
2485
|
* @param {string} [propertyName]
|
|
2486
|
+
* @param {string} [propertyId]
|
|
2451
2487
|
* @param {string} [unitNo]
|
|
2452
2488
|
* @param {string} [address]
|
|
2453
2489
|
* @param {string} [building]
|
|
@@ -2461,7 +2497,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
2461
2497
|
* @throws {RequiredError}
|
|
2462
2498
|
* @memberof DefaultApi
|
|
2463
2499
|
*/
|
|
2464
|
-
configStoreWhitelistIndex(id?: string, taxId?: string, storeName?: string, companyName?: string, propertyName?: string, unitNo?: string, address?: string, building?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, updatedAt?: string, createdAt?: string, sortKey?: string, sortDirection?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StoreWhitelistResponse[], any>>;
|
|
2500
|
+
configStoreWhitelistIndex(id?: string, taxId?: string, storeName?: string, companyName?: string, propertyName?: string, propertyId?: string, unitNo?: string, address?: string, building?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, updatedAt?: string, createdAt?: string, sortKey?: string, sortDirection?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StoreWhitelistResponse[], any>>;
|
|
2465
2501
|
/**
|
|
2466
2502
|
*
|
|
2467
2503
|
* @param {string} id
|
package/dist/api/api.js
CHANGED
|
@@ -71,7 +71,8 @@ exports.ReceiptStatus = {
|
|
|
71
71
|
Pending: 'PENDING',
|
|
72
72
|
Dispute: 'DISPUTE',
|
|
73
73
|
Redeemed: 'REDEEMED',
|
|
74
|
-
Processing: 'PROCESSING'
|
|
74
|
+
Processing: 'PROCESSING',
|
|
75
|
+
Duplicated: 'DUPLICATED'
|
|
75
76
|
};
|
|
76
77
|
/**
|
|
77
78
|
*
|
|
@@ -431,6 +432,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
431
432
|
* @param {string} [storeName]
|
|
432
433
|
* @param {string} [companyName]
|
|
433
434
|
* @param {string} [propertyName]
|
|
435
|
+
* @param {string} [propertyId]
|
|
434
436
|
* @param {string} [unitNo]
|
|
435
437
|
* @param {string} [address]
|
|
436
438
|
* @param {string} [building]
|
|
@@ -443,7 +445,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
443
445
|
* @param {*} [options] Override http request option.
|
|
444
446
|
* @throws {RequiredError}
|
|
445
447
|
*/
|
|
446
|
-
configStoreWhitelistIndex: (id, taxId, storeName, companyName, propertyName, unitNo, address, building, hasTaxId, receiptAddressInObk, updatedAt, createdAt, sortKey, sortDirection, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
448
|
+
configStoreWhitelistIndex: (id, taxId, storeName, companyName, propertyName, propertyId, unitNo, address, building, hasTaxId, receiptAddressInObk, updatedAt, createdAt, sortKey, sortDirection, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
447
449
|
const localVarPath = `/config/store/whitelist`;
|
|
448
450
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
449
451
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -469,6 +471,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
469
471
|
if (propertyName !== undefined) {
|
|
470
472
|
localVarQueryParameter['property_name'] = propertyName;
|
|
471
473
|
}
|
|
474
|
+
if (propertyId !== undefined) {
|
|
475
|
+
localVarQueryParameter['property_id'] = propertyId;
|
|
476
|
+
}
|
|
472
477
|
if (unitNo !== undefined) {
|
|
473
478
|
localVarQueryParameter['unit_no'] = unitNo;
|
|
474
479
|
}
|
|
@@ -1154,6 +1159,7 @@ const DefaultApiFp = function (configuration) {
|
|
|
1154
1159
|
* @param {string} [storeName]
|
|
1155
1160
|
* @param {string} [companyName]
|
|
1156
1161
|
* @param {string} [propertyName]
|
|
1162
|
+
* @param {string} [propertyId]
|
|
1157
1163
|
* @param {string} [unitNo]
|
|
1158
1164
|
* @param {string} [address]
|
|
1159
1165
|
* @param {string} [building]
|
|
@@ -1166,9 +1172,9 @@ const DefaultApiFp = function (configuration) {
|
|
|
1166
1172
|
* @param {*} [options] Override http request option.
|
|
1167
1173
|
* @throws {RequiredError}
|
|
1168
1174
|
*/
|
|
1169
|
-
configStoreWhitelistIndex(id, taxId, storeName, companyName, propertyName, unitNo, address, building, hasTaxId, receiptAddressInObk, updatedAt, createdAt, sortKey, sortDirection, options) {
|
|
1175
|
+
configStoreWhitelistIndex(id, taxId, storeName, companyName, propertyName, propertyId, unitNo, address, building, hasTaxId, receiptAddressInObk, updatedAt, createdAt, sortKey, sortDirection, options) {
|
|
1170
1176
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1171
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.configStoreWhitelistIndex(id, taxId, storeName, companyName, propertyName, unitNo, address, building, hasTaxId, receiptAddressInObk, updatedAt, createdAt, sortKey, sortDirection, options);
|
|
1177
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.configStoreWhitelistIndex(id, taxId, storeName, companyName, propertyName, propertyId, unitNo, address, building, hasTaxId, receiptAddressInObk, updatedAt, createdAt, sortKey, sortDirection, options);
|
|
1172
1178
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1173
1179
|
});
|
|
1174
1180
|
},
|
|
@@ -1480,6 +1486,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1480
1486
|
* @param {string} [storeName]
|
|
1481
1487
|
* @param {string} [companyName]
|
|
1482
1488
|
* @param {string} [propertyName]
|
|
1489
|
+
* @param {string} [propertyId]
|
|
1483
1490
|
* @param {string} [unitNo]
|
|
1484
1491
|
* @param {string} [address]
|
|
1485
1492
|
* @param {string} [building]
|
|
@@ -1492,8 +1499,8 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1492
1499
|
* @param {*} [options] Override http request option.
|
|
1493
1500
|
* @throws {RequiredError}
|
|
1494
1501
|
*/
|
|
1495
|
-
configStoreWhitelistIndex(id, taxId, storeName, companyName, propertyName, unitNo, address, building, hasTaxId, receiptAddressInObk, updatedAt, createdAt, sortKey, sortDirection, options) {
|
|
1496
|
-
return localVarFp.configStoreWhitelistIndex(id, taxId, storeName, companyName, propertyName, unitNo, address, building, hasTaxId, receiptAddressInObk, updatedAt, createdAt, sortKey, sortDirection, options).then((request) => request(axios, basePath));
|
|
1502
|
+
configStoreWhitelistIndex(id, taxId, storeName, companyName, propertyName, propertyId, unitNo, address, building, hasTaxId, receiptAddressInObk, updatedAt, createdAt, sortKey, sortDirection, options) {
|
|
1503
|
+
return localVarFp.configStoreWhitelistIndex(id, taxId, storeName, companyName, propertyName, propertyId, unitNo, address, building, hasTaxId, receiptAddressInObk, updatedAt, createdAt, sortKey, sortDirection, options).then((request) => request(axios, basePath));
|
|
1497
1504
|
},
|
|
1498
1505
|
/**
|
|
1499
1506
|
*
|
|
@@ -1776,6 +1783,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1776
1783
|
* @param {string} [storeName]
|
|
1777
1784
|
* @param {string} [companyName]
|
|
1778
1785
|
* @param {string} [propertyName]
|
|
1786
|
+
* @param {string} [propertyId]
|
|
1779
1787
|
* @param {string} [unitNo]
|
|
1780
1788
|
* @param {string} [address]
|
|
1781
1789
|
* @param {string} [building]
|
|
@@ -1789,8 +1797,8 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1789
1797
|
* @throws {RequiredError}
|
|
1790
1798
|
* @memberof DefaultApi
|
|
1791
1799
|
*/
|
|
1792
|
-
configStoreWhitelistIndex(id, taxId, storeName, companyName, propertyName, unitNo, address, building, hasTaxId, receiptAddressInObk, updatedAt, createdAt, sortKey, sortDirection, options) {
|
|
1793
|
-
return (0, exports.DefaultApiFp)(this.configuration).configStoreWhitelistIndex(id, taxId, storeName, companyName, propertyName, unitNo, address, building, hasTaxId, receiptAddressInObk, updatedAt, createdAt, sortKey, sortDirection, options).then((request) => request(this.axios, this.basePath));
|
|
1800
|
+
configStoreWhitelistIndex(id, taxId, storeName, companyName, propertyName, propertyId, unitNo, address, building, hasTaxId, receiptAddressInObk, updatedAt, createdAt, sortKey, sortDirection, options) {
|
|
1801
|
+
return (0, exports.DefaultApiFp)(this.configuration).configStoreWhitelistIndex(id, taxId, storeName, companyName, propertyName, propertyId, unitNo, address, building, hasTaxId, receiptAddressInObk, updatedAt, createdAt, sortKey, sortDirection, options).then((request) => request(this.axios, this.basePath));
|
|
1794
1802
|
}
|
|
1795
1803
|
/**
|
|
1796
1804
|
*
|