ob-parking-sdk 0.0.61 → 0.0.63
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 +279 -47
- package/dist/api/api.d.ts +174 -24
- package/dist/api/api.js +181 -46
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -101,6 +101,24 @@ export interface AddConfigStoreWhitelist {
|
|
|
101
101
|
* @memberof AddConfigStoreWhitelist
|
|
102
102
|
*/
|
|
103
103
|
'updated_by'?: string;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {boolean}
|
|
107
|
+
* @memberof AddConfigStoreWhitelist
|
|
108
|
+
*/
|
|
109
|
+
'ignore_store': boolean;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {boolean}
|
|
113
|
+
* @memberof AddConfigStoreWhitelist
|
|
114
|
+
*/
|
|
115
|
+
'ocr_verified': boolean;
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
* @type {boolean}
|
|
119
|
+
* @memberof AddConfigStoreWhitelist
|
|
120
|
+
*/
|
|
121
|
+
'convert_date': boolean;
|
|
104
122
|
}
|
|
105
123
|
/**
|
|
106
124
|
*
|
|
@@ -543,6 +561,24 @@ export interface ConfigStoreWhitelistQuery {
|
|
|
543
561
|
* @memberof ConfigStoreWhitelistQuery
|
|
544
562
|
*/
|
|
545
563
|
'property_id'?: string;
|
|
564
|
+
/**
|
|
565
|
+
*
|
|
566
|
+
* @type {boolean}
|
|
567
|
+
* @memberof ConfigStoreWhitelistQuery
|
|
568
|
+
*/
|
|
569
|
+
'ignore_store'?: boolean;
|
|
570
|
+
/**
|
|
571
|
+
*
|
|
572
|
+
* @type {boolean}
|
|
573
|
+
* @memberof ConfigStoreWhitelistQuery
|
|
574
|
+
*/
|
|
575
|
+
'ocr_verified'?: boolean;
|
|
576
|
+
/**
|
|
577
|
+
*
|
|
578
|
+
* @type {boolean}
|
|
579
|
+
* @memberof ConfigStoreWhitelistQuery
|
|
580
|
+
*/
|
|
581
|
+
'convert_date'?: boolean;
|
|
546
582
|
/**
|
|
547
583
|
*
|
|
548
584
|
* @type {string}
|
|
@@ -630,6 +666,12 @@ export interface CreateReceiptBody {
|
|
|
630
666
|
* @interface CreateRegisteredVehicleBody
|
|
631
667
|
*/
|
|
632
668
|
export interface CreateRegisteredVehicleBody {
|
|
669
|
+
/**
|
|
670
|
+
*
|
|
671
|
+
* @type {boolean}
|
|
672
|
+
* @memberof CreateRegisteredVehicleBody
|
|
673
|
+
*/
|
|
674
|
+
'is_vip'?: boolean;
|
|
633
675
|
/**
|
|
634
676
|
*
|
|
635
677
|
* @type {string}
|
|
@@ -2265,6 +2307,12 @@ export interface ReceiptData {
|
|
|
2265
2307
|
* @memberof ReceiptData
|
|
2266
2308
|
*/
|
|
2267
2309
|
'message': string;
|
|
2310
|
+
/**
|
|
2311
|
+
*
|
|
2312
|
+
* @type {boolean}
|
|
2313
|
+
* @memberof ReceiptData
|
|
2314
|
+
*/
|
|
2315
|
+
'docint_handwriting'?: boolean;
|
|
2268
2316
|
}
|
|
2269
2317
|
/**
|
|
2270
2318
|
*
|
|
@@ -2605,6 +2653,24 @@ export interface StoreWhitelistResponse {
|
|
|
2605
2653
|
* @memberof StoreWhitelistResponse
|
|
2606
2654
|
*/
|
|
2607
2655
|
'property': StoreWhitelistResponseProperty;
|
|
2656
|
+
/**
|
|
2657
|
+
*
|
|
2658
|
+
* @type {boolean}
|
|
2659
|
+
* @memberof StoreWhitelistResponse
|
|
2660
|
+
*/
|
|
2661
|
+
'convert_date': boolean;
|
|
2662
|
+
/**
|
|
2663
|
+
*
|
|
2664
|
+
* @type {boolean}
|
|
2665
|
+
* @memberof StoreWhitelistResponse
|
|
2666
|
+
*/
|
|
2667
|
+
'ocr_verified': boolean;
|
|
2668
|
+
/**
|
|
2669
|
+
*
|
|
2670
|
+
* @type {boolean}
|
|
2671
|
+
* @memberof StoreWhitelistResponse
|
|
2672
|
+
*/
|
|
2673
|
+
'ignore_store': boolean;
|
|
2608
2674
|
/**
|
|
2609
2675
|
*
|
|
2610
2676
|
* @type {boolean}
|
|
@@ -2734,6 +2800,24 @@ export interface TestTest200Response {
|
|
|
2734
2800
|
* @interface UpdateConfigStoreWhitelist
|
|
2735
2801
|
*/
|
|
2736
2802
|
export interface UpdateConfigStoreWhitelist {
|
|
2803
|
+
/**
|
|
2804
|
+
*
|
|
2805
|
+
* @type {boolean}
|
|
2806
|
+
* @memberof UpdateConfigStoreWhitelist
|
|
2807
|
+
*/
|
|
2808
|
+
'convert_date': boolean;
|
|
2809
|
+
/**
|
|
2810
|
+
*
|
|
2811
|
+
* @type {boolean}
|
|
2812
|
+
* @memberof UpdateConfigStoreWhitelist
|
|
2813
|
+
*/
|
|
2814
|
+
'ocr_verified': boolean;
|
|
2815
|
+
/**
|
|
2816
|
+
*
|
|
2817
|
+
* @type {boolean}
|
|
2818
|
+
* @memberof UpdateConfigStoreWhitelist
|
|
2819
|
+
*/
|
|
2820
|
+
'ignore_store': boolean;
|
|
2737
2821
|
/**
|
|
2738
2822
|
*
|
|
2739
2823
|
* @type {string}
|
|
@@ -3630,6 +3714,9 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3630
3714
|
* @param {string} [updatedAt]
|
|
3631
3715
|
* @param {string} [propertyName]
|
|
3632
3716
|
* @param {string} [propertyId]
|
|
3717
|
+
* @param {boolean} [ignoreStore]
|
|
3718
|
+
* @param {boolean} [ocrVerified]
|
|
3719
|
+
* @param {boolean} [convertDate]
|
|
3633
3720
|
* @param {string} [sortKey]
|
|
3634
3721
|
* @param {string} [sortDirection]
|
|
3635
3722
|
* @param {boolean} [hasTaxId]
|
|
@@ -3638,7 +3725,7 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3638
3725
|
* @param {*} [options] Override http request option.
|
|
3639
3726
|
* @throws {RequiredError}
|
|
3640
3727
|
*/
|
|
3641
|
-
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, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3728
|
+
configStoreWhitelistIndex: async (taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, ignoreStore?: boolean, ocrVerified?: boolean, convertDate?: boolean, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3642
3729
|
const localVarPath = `/config/store/whitelist`;
|
|
3643
3730
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3644
3731
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -3695,6 +3782,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3695
3782
|
localVarQueryParameter['property_id'] = propertyId;
|
|
3696
3783
|
}
|
|
3697
3784
|
|
|
3785
|
+
if (ignoreStore !== undefined) {
|
|
3786
|
+
localVarQueryParameter['ignore_store'] = ignoreStore;
|
|
3787
|
+
}
|
|
3788
|
+
|
|
3789
|
+
if (ocrVerified !== undefined) {
|
|
3790
|
+
localVarQueryParameter['ocr_verified'] = ocrVerified;
|
|
3791
|
+
}
|
|
3792
|
+
|
|
3793
|
+
if (convertDate !== undefined) {
|
|
3794
|
+
localVarQueryParameter['convert_date'] = convertDate;
|
|
3795
|
+
}
|
|
3796
|
+
|
|
3698
3797
|
if (sortKey !== undefined) {
|
|
3699
3798
|
localVarQueryParameter['sort_key'] = sortKey;
|
|
3700
3799
|
}
|
|
@@ -4577,15 +4676,12 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4577
4676
|
},
|
|
4578
4677
|
/**
|
|
4579
4678
|
*
|
|
4580
|
-
* @param {string}
|
|
4679
|
+
* @param {string} [xAccountId]
|
|
4581
4680
|
* @param {*} [options] Override http request option.
|
|
4582
4681
|
* @throws {RequiredError}
|
|
4583
4682
|
*/
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
assertParamExists('registeredVehiclesGetByLicensePlate', 'plateNo', plateNo)
|
|
4587
|
-
const localVarPath = `/registered-vehicles/license-plate/{plate_no}`
|
|
4588
|
-
.replace(`{${"plate_no"}}`, encodeURIComponent(String(plateNo)));
|
|
4683
|
+
registeredVehiclesGetVehiclesByAccount: async (xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4684
|
+
const localVarPath = `/registered-vehicles/account`;
|
|
4589
4685
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4590
4686
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4591
4687
|
let baseOptions;
|
|
@@ -4597,6 +4693,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4597
4693
|
const localVarHeaderParameter = {} as any;
|
|
4598
4694
|
const localVarQueryParameter = {} as any;
|
|
4599
4695
|
|
|
4696
|
+
if (xAccountId != null) {
|
|
4697
|
+
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
4698
|
+
}
|
|
4699
|
+
|
|
4600
4700
|
|
|
4601
4701
|
|
|
4602
4702
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -4610,12 +4710,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4610
4710
|
},
|
|
4611
4711
|
/**
|
|
4612
4712
|
*
|
|
4713
|
+
* @param {string} plateNo
|
|
4613
4714
|
* @param {string} [xAccountId]
|
|
4614
4715
|
* @param {*} [options] Override http request option.
|
|
4615
4716
|
* @throws {RequiredError}
|
|
4616
4717
|
*/
|
|
4617
|
-
|
|
4618
|
-
|
|
4718
|
+
registeredVehiclesIsLicensePlateRegistered: async (plateNo: string, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4719
|
+
// verify required parameter 'plateNo' is not null or undefined
|
|
4720
|
+
assertParamExists('registeredVehiclesIsLicensePlateRegistered', 'plateNo', plateNo)
|
|
4721
|
+
const localVarPath = `/registered-vehicles/is-license-plate-registered`;
|
|
4619
4722
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4620
4723
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4621
4724
|
let baseOptions;
|
|
@@ -4627,6 +4730,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4627
4730
|
const localVarHeaderParameter = {} as any;
|
|
4628
4731
|
const localVarQueryParameter = {} as any;
|
|
4629
4732
|
|
|
4733
|
+
if (plateNo !== undefined) {
|
|
4734
|
+
localVarQueryParameter['plate_no'] = plateNo;
|
|
4735
|
+
}
|
|
4736
|
+
|
|
4630
4737
|
if (xAccountId != null) {
|
|
4631
4738
|
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
4632
4739
|
}
|
|
@@ -4645,14 +4752,13 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4645
4752
|
/**
|
|
4646
4753
|
*
|
|
4647
4754
|
* @param {string} plateNo
|
|
4648
|
-
* @param {string} [xAccountId]
|
|
4649
4755
|
* @param {*} [options] Override http request option.
|
|
4650
4756
|
* @throws {RequiredError}
|
|
4651
4757
|
*/
|
|
4652
|
-
|
|
4758
|
+
registeredVehiclesIsLicensePlateVip: async (plateNo: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4653
4759
|
// verify required parameter 'plateNo' is not null or undefined
|
|
4654
|
-
assertParamExists('
|
|
4655
|
-
const localVarPath = `/registered-vehicles/is-license-plate-
|
|
4760
|
+
assertParamExists('registeredVehiclesIsLicensePlateVip', 'plateNo', plateNo)
|
|
4761
|
+
const localVarPath = `/registered-vehicles/is-license-plate-vip`;
|
|
4656
4762
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4657
4763
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4658
4764
|
let baseOptions;
|
|
@@ -4668,10 +4774,6 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4668
4774
|
localVarQueryParameter['plate_no'] = plateNo;
|
|
4669
4775
|
}
|
|
4670
4776
|
|
|
4671
|
-
if (xAccountId != null) {
|
|
4672
|
-
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
4673
|
-
}
|
|
4674
|
-
|
|
4675
4777
|
|
|
4676
4778
|
|
|
4677
4779
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -4816,6 +4918,70 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4816
4918
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4817
4919
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4818
4920
|
|
|
4921
|
+
return {
|
|
4922
|
+
url: toPathString(localVarUrlObj),
|
|
4923
|
+
options: localVarRequestOptions,
|
|
4924
|
+
};
|
|
4925
|
+
},
|
|
4926
|
+
/**
|
|
4927
|
+
*
|
|
4928
|
+
* @param {*} [options] Override http request option.
|
|
4929
|
+
* @throws {RequiredError}
|
|
4930
|
+
*/
|
|
4931
|
+
vipCampaignIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4932
|
+
const localVarPath = `/vip-campaign`;
|
|
4933
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4934
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4935
|
+
let baseOptions;
|
|
4936
|
+
if (configuration) {
|
|
4937
|
+
baseOptions = configuration.baseOptions;
|
|
4938
|
+
}
|
|
4939
|
+
|
|
4940
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4941
|
+
const localVarHeaderParameter = {} as any;
|
|
4942
|
+
const localVarQueryParameter = {} as any;
|
|
4943
|
+
|
|
4944
|
+
|
|
4945
|
+
|
|
4946
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4947
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4948
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4949
|
+
|
|
4950
|
+
return {
|
|
4951
|
+
url: toPathString(localVarUrlObj),
|
|
4952
|
+
options: localVarRequestOptions,
|
|
4953
|
+
};
|
|
4954
|
+
},
|
|
4955
|
+
/**
|
|
4956
|
+
*
|
|
4957
|
+
* @param {UpsertCampaign} upsertCampaign
|
|
4958
|
+
* @param {*} [options] Override http request option.
|
|
4959
|
+
* @throws {RequiredError}
|
|
4960
|
+
*/
|
|
4961
|
+
vipCampaignUpsert: async (upsertCampaign: UpsertCampaign, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4962
|
+
// verify required parameter 'upsertCampaign' is not null or undefined
|
|
4963
|
+
assertParamExists('vipCampaignUpsert', 'upsertCampaign', upsertCampaign)
|
|
4964
|
+
const localVarPath = `/vip-campaign`;
|
|
4965
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4966
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4967
|
+
let baseOptions;
|
|
4968
|
+
if (configuration) {
|
|
4969
|
+
baseOptions = configuration.baseOptions;
|
|
4970
|
+
}
|
|
4971
|
+
|
|
4972
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4973
|
+
const localVarHeaderParameter = {} as any;
|
|
4974
|
+
const localVarQueryParameter = {} as any;
|
|
4975
|
+
|
|
4976
|
+
|
|
4977
|
+
|
|
4978
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4979
|
+
|
|
4980
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4981
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4982
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4983
|
+
localVarRequestOptions.data = serializeDataIfNeeded(upsertCampaign, localVarRequestOptions, configuration)
|
|
4984
|
+
|
|
4819
4985
|
return {
|
|
4820
4986
|
url: toPathString(localVarUrlObj),
|
|
4821
4987
|
options: localVarRequestOptions,
|
|
@@ -4994,6 +5160,9 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
4994
5160
|
* @param {string} [updatedAt]
|
|
4995
5161
|
* @param {string} [propertyName]
|
|
4996
5162
|
* @param {string} [propertyId]
|
|
5163
|
+
* @param {boolean} [ignoreStore]
|
|
5164
|
+
* @param {boolean} [ocrVerified]
|
|
5165
|
+
* @param {boolean} [convertDate]
|
|
4997
5166
|
* @param {string} [sortKey]
|
|
4998
5167
|
* @param {string} [sortDirection]
|
|
4999
5168
|
* @param {boolean} [hasTaxId]
|
|
@@ -5002,8 +5171,8 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
5002
5171
|
* @param {*} [options] Override http request option.
|
|
5003
5172
|
* @throws {RequiredError}
|
|
5004
5173
|
*/
|
|
5005
|
-
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, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StoreWhitelistResponse>>> {
|
|
5006
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options);
|
|
5174
|
+
async configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, ignoreStore?: boolean, ocrVerified?: boolean, convertDate?: boolean, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<StoreWhitelistResponse>>> {
|
|
5175
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options);
|
|
5007
5176
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5008
5177
|
},
|
|
5009
5178
|
/**
|
|
@@ -5238,33 +5407,33 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
5238
5407
|
},
|
|
5239
5408
|
/**
|
|
5240
5409
|
*
|
|
5241
|
-
* @param {string}
|
|
5410
|
+
* @param {string} [xAccountId]
|
|
5242
5411
|
* @param {*} [options] Override http request option.
|
|
5243
5412
|
* @throws {RequiredError}
|
|
5244
5413
|
*/
|
|
5245
|
-
async
|
|
5246
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5414
|
+
async registeredVehiclesGetVehiclesByAccount(xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RegisteredVehicleIndexResponse>>> {
|
|
5415
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesGetVehiclesByAccount(xAccountId, options);
|
|
5247
5416
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5248
5417
|
},
|
|
5249
5418
|
/**
|
|
5250
5419
|
*
|
|
5420
|
+
* @param {string} plateNo
|
|
5251
5421
|
* @param {string} [xAccountId]
|
|
5252
5422
|
* @param {*} [options] Override http request option.
|
|
5253
5423
|
* @throws {RequiredError}
|
|
5254
5424
|
*/
|
|
5255
|
-
async
|
|
5256
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5425
|
+
async registeredVehiclesIsLicensePlateRegistered(plateNo: string, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
5426
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesIsLicensePlateRegistered(plateNo, xAccountId, options);
|
|
5257
5427
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5258
5428
|
},
|
|
5259
5429
|
/**
|
|
5260
5430
|
*
|
|
5261
5431
|
* @param {string} plateNo
|
|
5262
|
-
* @param {string} [xAccountId]
|
|
5263
5432
|
* @param {*} [options] Override http request option.
|
|
5264
5433
|
* @throws {RequiredError}
|
|
5265
5434
|
*/
|
|
5266
|
-
async
|
|
5267
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5435
|
+
async registeredVehiclesIsLicensePlateVip(plateNo: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
5436
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.registeredVehiclesIsLicensePlateVip(plateNo, options);
|
|
5268
5437
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5269
5438
|
},
|
|
5270
5439
|
/**
|
|
@@ -5307,6 +5476,25 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
5307
5476
|
const localVarAxiosArgs = await localVarAxiosParamCreator.vehicleBrandsIndex(options);
|
|
5308
5477
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5309
5478
|
},
|
|
5479
|
+
/**
|
|
5480
|
+
*
|
|
5481
|
+
* @param {*} [options] Override http request option.
|
|
5482
|
+
* @throws {RequiredError}
|
|
5483
|
+
*/
|
|
5484
|
+
async vipCampaignIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CampaignSequenceResponse>> {
|
|
5485
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.vipCampaignIndex(options);
|
|
5486
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5487
|
+
},
|
|
5488
|
+
/**
|
|
5489
|
+
*
|
|
5490
|
+
* @param {UpsertCampaign} upsertCampaign
|
|
5491
|
+
* @param {*} [options] Override http request option.
|
|
5492
|
+
* @throws {RequiredError}
|
|
5493
|
+
*/
|
|
5494
|
+
async vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CampaignResponse>>> {
|
|
5495
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.vipCampaignUpsert(upsertCampaign, options);
|
|
5496
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5497
|
+
},
|
|
5310
5498
|
}
|
|
5311
5499
|
};
|
|
5312
5500
|
|
|
@@ -5465,6 +5653,9 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5465
5653
|
* @param {string} [updatedAt]
|
|
5466
5654
|
* @param {string} [propertyName]
|
|
5467
5655
|
* @param {string} [propertyId]
|
|
5656
|
+
* @param {boolean} [ignoreStore]
|
|
5657
|
+
* @param {boolean} [ocrVerified]
|
|
5658
|
+
* @param {boolean} [convertDate]
|
|
5468
5659
|
* @param {string} [sortKey]
|
|
5469
5660
|
* @param {string} [sortDirection]
|
|
5470
5661
|
* @param {boolean} [hasTaxId]
|
|
@@ -5473,8 +5664,8 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5473
5664
|
* @param {*} [options] Override http request option.
|
|
5474
5665
|
* @throws {RequiredError}
|
|
5475
5666
|
*/
|
|
5476
|
-
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, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: any): AxiosPromise<Array<StoreWhitelistResponse>> {
|
|
5477
|
-
return localVarFp.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(axios, basePath));
|
|
5667
|
+
configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, ignoreStore?: boolean, ocrVerified?: boolean, convertDate?: boolean, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: any): AxiosPromise<Array<StoreWhitelistResponse>> {
|
|
5668
|
+
return localVarFp.configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(axios, basePath));
|
|
5478
5669
|
},
|
|
5479
5670
|
/**
|
|
5480
5671
|
*
|
|
@@ -5689,31 +5880,31 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5689
5880
|
},
|
|
5690
5881
|
/**
|
|
5691
5882
|
*
|
|
5692
|
-
* @param {string}
|
|
5883
|
+
* @param {string} [xAccountId]
|
|
5693
5884
|
* @param {*} [options] Override http request option.
|
|
5694
5885
|
* @throws {RequiredError}
|
|
5695
5886
|
*/
|
|
5696
|
-
|
|
5697
|
-
return localVarFp.
|
|
5887
|
+
registeredVehiclesGetVehiclesByAccount(xAccountId?: string, options?: any): AxiosPromise<Array<RegisteredVehicleIndexResponse>> {
|
|
5888
|
+
return localVarFp.registeredVehiclesGetVehiclesByAccount(xAccountId, options).then((request) => request(axios, basePath));
|
|
5698
5889
|
},
|
|
5699
5890
|
/**
|
|
5700
5891
|
*
|
|
5892
|
+
* @param {string} plateNo
|
|
5701
5893
|
* @param {string} [xAccountId]
|
|
5702
5894
|
* @param {*} [options] Override http request option.
|
|
5703
5895
|
* @throws {RequiredError}
|
|
5704
5896
|
*/
|
|
5705
|
-
|
|
5706
|
-
return localVarFp.
|
|
5897
|
+
registeredVehiclesIsLicensePlateRegistered(plateNo: string, xAccountId?: string, options?: any): AxiosPromise<boolean> {
|
|
5898
|
+
return localVarFp.registeredVehiclesIsLicensePlateRegistered(plateNo, xAccountId, options).then((request) => request(axios, basePath));
|
|
5707
5899
|
},
|
|
5708
5900
|
/**
|
|
5709
5901
|
*
|
|
5710
5902
|
* @param {string} plateNo
|
|
5711
|
-
* @param {string} [xAccountId]
|
|
5712
5903
|
* @param {*} [options] Override http request option.
|
|
5713
5904
|
* @throws {RequiredError}
|
|
5714
5905
|
*/
|
|
5715
|
-
|
|
5716
|
-
return localVarFp.
|
|
5906
|
+
registeredVehiclesIsLicensePlateVip(plateNo: string, options?: any): AxiosPromise<boolean> {
|
|
5907
|
+
return localVarFp.registeredVehiclesIsLicensePlateVip(plateNo, options).then((request) => request(axios, basePath));
|
|
5717
5908
|
},
|
|
5718
5909
|
/**
|
|
5719
5910
|
*
|
|
@@ -5751,6 +5942,23 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5751
5942
|
vehicleBrandsIndex(options?: any): AxiosPromise<Array<VehicleBrandIndexResponse>> {
|
|
5752
5943
|
return localVarFp.vehicleBrandsIndex(options).then((request) => request(axios, basePath));
|
|
5753
5944
|
},
|
|
5945
|
+
/**
|
|
5946
|
+
*
|
|
5947
|
+
* @param {*} [options] Override http request option.
|
|
5948
|
+
* @throws {RequiredError}
|
|
5949
|
+
*/
|
|
5950
|
+
vipCampaignIndex(options?: any): AxiosPromise<CampaignSequenceResponse> {
|
|
5951
|
+
return localVarFp.vipCampaignIndex(options).then((request) => request(axios, basePath));
|
|
5952
|
+
},
|
|
5953
|
+
/**
|
|
5954
|
+
*
|
|
5955
|
+
* @param {UpsertCampaign} upsertCampaign
|
|
5956
|
+
* @param {*} [options] Override http request option.
|
|
5957
|
+
* @throws {RequiredError}
|
|
5958
|
+
*/
|
|
5959
|
+
vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: any): AxiosPromise<Array<CampaignResponse>> {
|
|
5960
|
+
return localVarFp.vipCampaignUpsert(upsertCampaign, options).then((request) => request(axios, basePath));
|
|
5961
|
+
},
|
|
5754
5962
|
};
|
|
5755
5963
|
};
|
|
5756
5964
|
|
|
@@ -5939,6 +6147,9 @@ export class DefaultApi extends BaseAPI {
|
|
|
5939
6147
|
* @param {string} [updatedAt]
|
|
5940
6148
|
* @param {string} [propertyName]
|
|
5941
6149
|
* @param {string} [propertyId]
|
|
6150
|
+
* @param {boolean} [ignoreStore]
|
|
6151
|
+
* @param {boolean} [ocrVerified]
|
|
6152
|
+
* @param {boolean} [convertDate]
|
|
5942
6153
|
* @param {string} [sortKey]
|
|
5943
6154
|
* @param {string} [sortDirection]
|
|
5944
6155
|
* @param {boolean} [hasTaxId]
|
|
@@ -5948,8 +6159,8 @@ export class DefaultApi extends BaseAPI {
|
|
|
5948
6159
|
* @throws {RequiredError}
|
|
5949
6160
|
* @memberof DefaultApi
|
|
5950
6161
|
*/
|
|
5951
|
-
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, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: AxiosRequestConfig) {
|
|
5952
|
-
return DefaultApiFp(this.configuration).configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(this.axios, this.basePath));
|
|
6162
|
+
public configStoreWhitelistIndex(taxId?: string, storeName?: string, shopName?: string, companyName?: string, unitNo?: string, address?: string, building?: string, createdAt?: string, updatedAt?: string, propertyName?: string, propertyId?: string, ignoreStore?: boolean, ocrVerified?: boolean, convertDate?: boolean, sortKey?: string, sortDirection?: string, hasTaxId?: boolean, receiptAddressInObk?: boolean, isActive?: boolean, options?: AxiosRequestConfig) {
|
|
6163
|
+
return DefaultApiFp(this.configuration).configStoreWhitelistIndex(taxId, storeName, shopName, companyName, unitNo, address, building, createdAt, updatedAt, propertyName, propertyId, ignoreStore, ocrVerified, convertDate, sortKey, sortDirection, hasTaxId, receiptAddressInObk, isActive, options).then((request) => request(this.axios, this.basePath));
|
|
5953
6164
|
}
|
|
5954
6165
|
|
|
5955
6166
|
/**
|
|
@@ -6203,36 +6414,36 @@ export class DefaultApi extends BaseAPI {
|
|
|
6203
6414
|
|
|
6204
6415
|
/**
|
|
6205
6416
|
*
|
|
6206
|
-
* @param {string}
|
|
6417
|
+
* @param {string} [xAccountId]
|
|
6207
6418
|
* @param {*} [options] Override http request option.
|
|
6208
6419
|
* @throws {RequiredError}
|
|
6209
6420
|
* @memberof DefaultApi
|
|
6210
6421
|
*/
|
|
6211
|
-
public
|
|
6212
|
-
return DefaultApiFp(this.configuration).
|
|
6422
|
+
public registeredVehiclesGetVehiclesByAccount(xAccountId?: string, options?: AxiosRequestConfig) {
|
|
6423
|
+
return DefaultApiFp(this.configuration).registeredVehiclesGetVehiclesByAccount(xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
6213
6424
|
}
|
|
6214
6425
|
|
|
6215
6426
|
/**
|
|
6216
6427
|
*
|
|
6428
|
+
* @param {string} plateNo
|
|
6217
6429
|
* @param {string} [xAccountId]
|
|
6218
6430
|
* @param {*} [options] Override http request option.
|
|
6219
6431
|
* @throws {RequiredError}
|
|
6220
6432
|
* @memberof DefaultApi
|
|
6221
6433
|
*/
|
|
6222
|
-
public
|
|
6223
|
-
return DefaultApiFp(this.configuration).
|
|
6434
|
+
public registeredVehiclesIsLicensePlateRegistered(plateNo: string, xAccountId?: string, options?: AxiosRequestConfig) {
|
|
6435
|
+
return DefaultApiFp(this.configuration).registeredVehiclesIsLicensePlateRegistered(plateNo, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
6224
6436
|
}
|
|
6225
6437
|
|
|
6226
6438
|
/**
|
|
6227
6439
|
*
|
|
6228
6440
|
* @param {string} plateNo
|
|
6229
|
-
* @param {string} [xAccountId]
|
|
6230
6441
|
* @param {*} [options] Override http request option.
|
|
6231
6442
|
* @throws {RequiredError}
|
|
6232
6443
|
* @memberof DefaultApi
|
|
6233
6444
|
*/
|
|
6234
|
-
public
|
|
6235
|
-
return DefaultApiFp(this.configuration).
|
|
6445
|
+
public registeredVehiclesIsLicensePlateVip(plateNo: string, options?: AxiosRequestConfig) {
|
|
6446
|
+
return DefaultApiFp(this.configuration).registeredVehiclesIsLicensePlateVip(plateNo, options).then((request) => request(this.axios, this.basePath));
|
|
6236
6447
|
}
|
|
6237
6448
|
|
|
6238
6449
|
/**
|
|
@@ -6278,6 +6489,27 @@ export class DefaultApi extends BaseAPI {
|
|
|
6278
6489
|
public vehicleBrandsIndex(options?: AxiosRequestConfig) {
|
|
6279
6490
|
return DefaultApiFp(this.configuration).vehicleBrandsIndex(options).then((request) => request(this.axios, this.basePath));
|
|
6280
6491
|
}
|
|
6492
|
+
|
|
6493
|
+
/**
|
|
6494
|
+
*
|
|
6495
|
+
* @param {*} [options] Override http request option.
|
|
6496
|
+
* @throws {RequiredError}
|
|
6497
|
+
* @memberof DefaultApi
|
|
6498
|
+
*/
|
|
6499
|
+
public vipCampaignIndex(options?: AxiosRequestConfig) {
|
|
6500
|
+
return DefaultApiFp(this.configuration).vipCampaignIndex(options).then((request) => request(this.axios, this.basePath));
|
|
6501
|
+
}
|
|
6502
|
+
|
|
6503
|
+
/**
|
|
6504
|
+
*
|
|
6505
|
+
* @param {UpsertCampaign} upsertCampaign
|
|
6506
|
+
* @param {*} [options] Override http request option.
|
|
6507
|
+
* @throws {RequiredError}
|
|
6508
|
+
* @memberof DefaultApi
|
|
6509
|
+
*/
|
|
6510
|
+
public vipCampaignUpsert(upsertCampaign: UpsertCampaign, options?: AxiosRequestConfig) {
|
|
6511
|
+
return DefaultApiFp(this.configuration).vipCampaignUpsert(upsertCampaign, options).then((request) => request(this.axios, this.basePath));
|
|
6512
|
+
}
|
|
6281
6513
|
}
|
|
6282
6514
|
|
|
6283
6515
|
|