ob-bms-sdk 0.0.117 → 0.0.119
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 +210 -57
- package/dist/api/api.d.ts +132 -28
- package/dist/api/api.js +140 -55
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -3816,6 +3816,12 @@ export interface ParkingSpacesData {
|
|
|
3816
3816
|
* @interface ParkingTicketData
|
|
3817
3817
|
*/
|
|
3818
3818
|
export interface ParkingTicketData {
|
|
3819
|
+
/**
|
|
3820
|
+
*
|
|
3821
|
+
* @type {string}
|
|
3822
|
+
* @memberof ParkingTicketData
|
|
3823
|
+
*/
|
|
3824
|
+
'sub_code'?: string;
|
|
3819
3825
|
/**
|
|
3820
3826
|
*
|
|
3821
3827
|
* @type {number}
|
|
@@ -3943,6 +3949,37 @@ export interface ParkingTicketsRedeemBodyResident {
|
|
|
3943
3949
|
*/
|
|
3944
3950
|
'rate_code': string;
|
|
3945
3951
|
}
|
|
3952
|
+
/**
|
|
3953
|
+
*
|
|
3954
|
+
* @export
|
|
3955
|
+
* @interface ParkingTicketsRedeemBodyResidentV2
|
|
3956
|
+
*/
|
|
3957
|
+
export interface ParkingTicketsRedeemBodyResidentV2 {
|
|
3958
|
+
/**
|
|
3959
|
+
*
|
|
3960
|
+
* @type {number}
|
|
3961
|
+
* @memberof ParkingTicketsRedeemBodyResidentV2
|
|
3962
|
+
*/
|
|
3963
|
+
'user_id': number;
|
|
3964
|
+
/**
|
|
3965
|
+
*
|
|
3966
|
+
* @type {number}
|
|
3967
|
+
* @memberof ParkingTicketsRedeemBodyResidentV2
|
|
3968
|
+
*/
|
|
3969
|
+
'residence_id': number;
|
|
3970
|
+
/**
|
|
3971
|
+
*
|
|
3972
|
+
* @type {string}
|
|
3973
|
+
* @memberof ParkingTicketsRedeemBodyResidentV2
|
|
3974
|
+
*/
|
|
3975
|
+
'remark'?: string;
|
|
3976
|
+
/**
|
|
3977
|
+
*
|
|
3978
|
+
* @type {string}
|
|
3979
|
+
* @memberof ParkingTicketsRedeemBodyResidentV2
|
|
3980
|
+
*/
|
|
3981
|
+
'rate_code': string;
|
|
3982
|
+
}
|
|
3946
3983
|
/**
|
|
3947
3984
|
*
|
|
3948
3985
|
* @export
|
|
@@ -4058,6 +4095,12 @@ export interface PassConsentResponse {
|
|
|
4058
4095
|
* @memberof PassConsentResponse
|
|
4059
4096
|
*/
|
|
4060
4097
|
'consent'?: boolean | null;
|
|
4098
|
+
/**
|
|
4099
|
+
*
|
|
4100
|
+
* @type {string}
|
|
4101
|
+
* @memberof PassConsentResponse
|
|
4102
|
+
*/
|
|
4103
|
+
'repeatInvite'?: string;
|
|
4061
4104
|
}
|
|
4062
4105
|
|
|
4063
4106
|
export const PassConsentResponseStatusEnum = {
|
|
@@ -4722,7 +4765,9 @@ export const SensorType = {
|
|
|
4722
4765
|
Pm10: 'pm10',
|
|
4723
4766
|
Co2: 'co2',
|
|
4724
4767
|
Temperature: 'temperature',
|
|
4725
|
-
Humidity: 'humidity'
|
|
4768
|
+
Humidity: 'humidity',
|
|
4769
|
+
Aqi: 'aqi',
|
|
4770
|
+
Tvoc: 'tvoc'
|
|
4726
4771
|
} as const;
|
|
4727
4772
|
|
|
4728
4773
|
export type SensorType = typeof SensorType[keyof typeof SensorType];
|
|
@@ -5024,6 +5069,12 @@ export interface ServiceRequestsUpdateRequestBodyStatus {
|
|
|
5024
5069
|
* @interface ShowPassResponse
|
|
5025
5070
|
*/
|
|
5026
5071
|
export interface ShowPassResponse {
|
|
5072
|
+
/**
|
|
5073
|
+
*
|
|
5074
|
+
* @type {string}
|
|
5075
|
+
* @memberof ShowPassResponse
|
|
5076
|
+
*/
|
|
5077
|
+
'repeatInvite'?: string;
|
|
5027
5078
|
/**
|
|
5028
5079
|
*
|
|
5029
5080
|
* @type {MetaDataPasses}
|
|
@@ -8275,6 +8326,12 @@ export interface WrappedResponseParkingTicketDataArrayData {
|
|
|
8275
8326
|
* @interface WrappedResponseParkingTicketDataData
|
|
8276
8327
|
*/
|
|
8277
8328
|
export interface WrappedResponseParkingTicketDataData {
|
|
8329
|
+
/**
|
|
8330
|
+
*
|
|
8331
|
+
* @type {string}
|
|
8332
|
+
* @memberof WrappedResponseParkingTicketDataData
|
|
8333
|
+
*/
|
|
8334
|
+
'sub_code'?: string;
|
|
8278
8335
|
/**
|
|
8279
8336
|
*
|
|
8280
8337
|
* @type {number}
|
|
@@ -8421,6 +8478,12 @@ export interface WrappedResponsePassConsentResponseData {
|
|
|
8421
8478
|
* @memberof WrappedResponsePassConsentResponseData
|
|
8422
8479
|
*/
|
|
8423
8480
|
'consent'?: boolean | null;
|
|
8481
|
+
/**
|
|
8482
|
+
*
|
|
8483
|
+
* @type {string}
|
|
8484
|
+
* @memberof WrappedResponsePassConsentResponseData
|
|
8485
|
+
*/
|
|
8486
|
+
'repeatInvite'?: string;
|
|
8424
8487
|
}
|
|
8425
8488
|
|
|
8426
8489
|
export const WrappedResponsePassConsentResponseDataStatusEnum = {
|
|
@@ -10656,6 +10719,45 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
10656
10719
|
options: localVarRequestOptions,
|
|
10657
10720
|
};
|
|
10658
10721
|
},
|
|
10722
|
+
/**
|
|
10723
|
+
*
|
|
10724
|
+
* @param {string} logId
|
|
10725
|
+
* @param {ParkingTicketsRedeemBodyResidentV2} parkingTicketsRedeemBodyResidentV2
|
|
10726
|
+
* @param {*} [options] Override http request option.
|
|
10727
|
+
* @throws {RequiredError}
|
|
10728
|
+
*/
|
|
10729
|
+
parkingResidentialTicketsRedeemv2: async (logId: string, parkingTicketsRedeemBodyResidentV2: ParkingTicketsRedeemBodyResidentV2, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10730
|
+
// verify required parameter 'logId' is not null or undefined
|
|
10731
|
+
assertParamExists('parkingResidentialTicketsRedeemv2', 'logId', logId)
|
|
10732
|
+
// verify required parameter 'parkingTicketsRedeemBodyResidentV2' is not null or undefined
|
|
10733
|
+
assertParamExists('parkingResidentialTicketsRedeemv2', 'parkingTicketsRedeemBodyResidentV2', parkingTicketsRedeemBodyResidentV2)
|
|
10734
|
+
const localVarPath = `/parking_tickets/{log_id}/redeem-residential/v2`
|
|
10735
|
+
.replace(`{${"log_id"}}`, encodeURIComponent(String(logId)));
|
|
10736
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10737
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10738
|
+
let baseOptions;
|
|
10739
|
+
if (configuration) {
|
|
10740
|
+
baseOptions = configuration.baseOptions;
|
|
10741
|
+
}
|
|
10742
|
+
|
|
10743
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
10744
|
+
const localVarHeaderParameter = {} as any;
|
|
10745
|
+
const localVarQueryParameter = {} as any;
|
|
10746
|
+
|
|
10747
|
+
|
|
10748
|
+
|
|
10749
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10750
|
+
|
|
10751
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10752
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10753
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10754
|
+
localVarRequestOptions.data = serializeDataIfNeeded(parkingTicketsRedeemBodyResidentV2, localVarRequestOptions, configuration)
|
|
10755
|
+
|
|
10756
|
+
return {
|
|
10757
|
+
url: toPathString(localVarUrlObj),
|
|
10758
|
+
options: localVarRequestOptions,
|
|
10759
|
+
};
|
|
10760
|
+
},
|
|
10659
10761
|
/**
|
|
10660
10762
|
*
|
|
10661
10763
|
* @param {string} tenantId
|
|
@@ -10768,17 +10870,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
10768
10870
|
},
|
|
10769
10871
|
/**
|
|
10770
10872
|
*
|
|
10771
|
-
* @param {
|
|
10772
|
-
* @param {string}
|
|
10873
|
+
* @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
|
|
10874
|
+
* @param {string} [xAccountId]
|
|
10773
10875
|
* @param {*} [options] Override http request option.
|
|
10774
10876
|
* @throws {RequiredError}
|
|
10775
10877
|
*/
|
|
10776
|
-
|
|
10777
|
-
// verify required parameter '
|
|
10778
|
-
assertParamExists('
|
|
10779
|
-
|
|
10780
|
-
assertParamExists('parkingTicketsIndex', 'id', id)
|
|
10781
|
-
const localVarPath = `/parking_tickets`;
|
|
10878
|
+
parkingTicketsImport: async (importPhysicalParkingTicketBody: ImportPhysicalParkingTicketBody, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10879
|
+
// verify required parameter 'importPhysicalParkingTicketBody' is not null or undefined
|
|
10880
|
+
assertParamExists('parkingTicketsImport', 'importPhysicalParkingTicketBody', importPhysicalParkingTicketBody)
|
|
10881
|
+
const localVarPath = `/parking_tickets/import`;
|
|
10782
10882
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10783
10883
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10784
10884
|
let baseOptions;
|
|
@@ -10786,23 +10886,22 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
10786
10886
|
baseOptions = configuration.baseOptions;
|
|
10787
10887
|
}
|
|
10788
10888
|
|
|
10789
|
-
const localVarRequestOptions = { method: '
|
|
10889
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
10790
10890
|
const localVarHeaderParameter = {} as any;
|
|
10791
10891
|
const localVarQueryParameter = {} as any;
|
|
10792
10892
|
|
|
10793
|
-
if (
|
|
10794
|
-
|
|
10795
|
-
}
|
|
10796
|
-
|
|
10797
|
-
if (id !== undefined) {
|
|
10798
|
-
localVarQueryParameter['id'] = id;
|
|
10893
|
+
if (xAccountId != null) {
|
|
10894
|
+
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
10799
10895
|
}
|
|
10800
10896
|
|
|
10801
10897
|
|
|
10802
10898
|
|
|
10899
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10900
|
+
|
|
10803
10901
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10804
10902
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10805
10903
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10904
|
+
localVarRequestOptions.data = serializeDataIfNeeded(importPhysicalParkingTicketBody, localVarRequestOptions, configuration)
|
|
10806
10905
|
|
|
10807
10906
|
return {
|
|
10808
10907
|
url: toPathString(localVarUrlObj),
|
|
@@ -10811,15 +10910,20 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
10811
10910
|
},
|
|
10812
10911
|
/**
|
|
10813
10912
|
*
|
|
10814
|
-
* @param {
|
|
10815
|
-
* @param {
|
|
10913
|
+
* @param {string} xAccountId
|
|
10914
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
10915
|
+
* @param {string} id
|
|
10816
10916
|
* @param {*} [options] Override http request option.
|
|
10817
10917
|
* @throws {RequiredError}
|
|
10818
10918
|
*/
|
|
10819
|
-
|
|
10820
|
-
// verify required parameter '
|
|
10821
|
-
assertParamExists('
|
|
10822
|
-
|
|
10919
|
+
parkingTicketsIndex: async (xAccountId: string, type: ParkingTicketsIndexTypeEnum, id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10920
|
+
// verify required parameter 'xAccountId' is not null or undefined
|
|
10921
|
+
assertParamExists('parkingTicketsIndex', 'xAccountId', xAccountId)
|
|
10922
|
+
// verify required parameter 'type' is not null or undefined
|
|
10923
|
+
assertParamExists('parkingTicketsIndex', 'type', type)
|
|
10924
|
+
// verify required parameter 'id' is not null or undefined
|
|
10925
|
+
assertParamExists('parkingTicketsIndex', 'id', id)
|
|
10926
|
+
const localVarPath = `/parking_tickets`;
|
|
10823
10927
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10824
10928
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10825
10929
|
let baseOptions;
|
|
@@ -10827,22 +10931,27 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
10827
10931
|
baseOptions = configuration.baseOptions;
|
|
10828
10932
|
}
|
|
10829
10933
|
|
|
10830
|
-
const localVarRequestOptions = { method: '
|
|
10934
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10831
10935
|
const localVarHeaderParameter = {} as any;
|
|
10832
10936
|
const localVarQueryParameter = {} as any;
|
|
10833
10937
|
|
|
10938
|
+
if (type !== undefined) {
|
|
10939
|
+
localVarQueryParameter['type'] = type;
|
|
10940
|
+
}
|
|
10941
|
+
|
|
10942
|
+
if (id !== undefined) {
|
|
10943
|
+
localVarQueryParameter['id'] = id;
|
|
10944
|
+
}
|
|
10945
|
+
|
|
10834
10946
|
if (xAccountId != null) {
|
|
10835
10947
|
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
10836
10948
|
}
|
|
10837
10949
|
|
|
10838
10950
|
|
|
10839
10951
|
|
|
10840
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10841
|
-
|
|
10842
10952
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10843
10953
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10844
10954
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10845
|
-
localVarRequestOptions.data = serializeDataIfNeeded(importPhysicalParkingTicketBody, localVarRequestOptions, configuration)
|
|
10846
10955
|
|
|
10847
10956
|
return {
|
|
10848
10957
|
url: toPathString(localVarUrlObj),
|
|
@@ -11469,10 +11578,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
11469
11578
|
*
|
|
11470
11579
|
* @param {string} id
|
|
11471
11580
|
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
11581
|
+
* @param {string} [xAccountId]
|
|
11472
11582
|
* @param {*} [options] Override http request option.
|
|
11473
11583
|
* @throws {RequiredError}
|
|
11474
11584
|
*/
|
|
11475
|
-
visitorSchedulesUpdate: async (id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11585
|
+
visitorSchedulesUpdate: async (id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, xAccountId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11476
11586
|
// verify required parameter 'id' is not null or undefined
|
|
11477
11587
|
assertParamExists('visitorSchedulesUpdate', 'id', id)
|
|
11478
11588
|
// verify required parameter 'updateVisitorScheduleBody' is not null or undefined
|
|
@@ -11490,6 +11600,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
11490
11600
|
const localVarHeaderParameter = {} as any;
|
|
11491
11601
|
const localVarQueryParameter = {} as any;
|
|
11492
11602
|
|
|
11603
|
+
if (xAccountId != null) {
|
|
11604
|
+
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
11605
|
+
}
|
|
11606
|
+
|
|
11493
11607
|
|
|
11494
11608
|
|
|
11495
11609
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -12184,6 +12298,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
12184
12298
|
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingResidentialTicketsRedeem(logId, parkingTicketsRedeemBodyResident, options);
|
|
12185
12299
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12186
12300
|
},
|
|
12301
|
+
/**
|
|
12302
|
+
*
|
|
12303
|
+
* @param {string} logId
|
|
12304
|
+
* @param {ParkingTicketsRedeemBodyResidentV2} parkingTicketsRedeemBodyResidentV2
|
|
12305
|
+
* @param {*} [options] Override http request option.
|
|
12306
|
+
* @throws {RequiredError}
|
|
12307
|
+
*/
|
|
12308
|
+
async parkingResidentialTicketsRedeemv2(logId: string, parkingTicketsRedeemBodyResidentV2: ParkingTicketsRedeemBodyResidentV2, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketData>> {
|
|
12309
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingResidentialTicketsRedeemv2(logId, parkingTicketsRedeemBodyResidentV2, options);
|
|
12310
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12311
|
+
},
|
|
12187
12312
|
/**
|
|
12188
12313
|
*
|
|
12189
12314
|
* @param {string} tenantId
|
|
@@ -12217,24 +12342,25 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
12217
12342
|
},
|
|
12218
12343
|
/**
|
|
12219
12344
|
*
|
|
12220
|
-
* @param {
|
|
12221
|
-
* @param {string}
|
|
12345
|
+
* @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
|
|
12346
|
+
* @param {string} [xAccountId]
|
|
12222
12347
|
* @param {*} [options] Override http request option.
|
|
12223
12348
|
* @throws {RequiredError}
|
|
12224
12349
|
*/
|
|
12225
|
-
async
|
|
12226
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
12350
|
+
async parkingTicketsImport(importPhysicalParkingTicketBody: ImportPhysicalParkingTicketBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseImportPhysicalParkingTicketResponse>> {
|
|
12351
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingTicketsImport(importPhysicalParkingTicketBody, xAccountId, options);
|
|
12227
12352
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12228
12353
|
},
|
|
12229
12354
|
/**
|
|
12230
12355
|
*
|
|
12231
|
-
* @param {
|
|
12232
|
-
* @param {
|
|
12356
|
+
* @param {string} xAccountId
|
|
12357
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
12358
|
+
* @param {string} id
|
|
12233
12359
|
* @param {*} [options] Override http request option.
|
|
12234
12360
|
* @throws {RequiredError}
|
|
12235
12361
|
*/
|
|
12236
|
-
async
|
|
12237
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
12362
|
+
async parkingTicketsIndex(xAccountId: string, type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketDataArray>> {
|
|
12363
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.parkingTicketsIndex(xAccountId, type, id, options);
|
|
12238
12364
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12239
12365
|
},
|
|
12240
12366
|
/**
|
|
@@ -12418,11 +12544,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
12418
12544
|
*
|
|
12419
12545
|
* @param {string} id
|
|
12420
12546
|
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
12547
|
+
* @param {string} [xAccountId]
|
|
12421
12548
|
* @param {*} [options] Override http request option.
|
|
12422
12549
|
* @throws {RequiredError}
|
|
12423
12550
|
*/
|
|
12424
|
-
async visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseResultResponseData>> {
|
|
12425
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.visitorSchedulesUpdate(id, updateVisitorScheduleBody, options);
|
|
12551
|
+
async visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseResultResponseData>> {
|
|
12552
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.visitorSchedulesUpdate(id, updateVisitorScheduleBody, xAccountId, options);
|
|
12426
12553
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
12427
12554
|
},
|
|
12428
12555
|
/**
|
|
@@ -12919,6 +13046,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
12919
13046
|
parkingResidentialTicketsRedeem(logId: string, parkingTicketsRedeemBodyResident: ParkingTicketsRedeemBodyResident, options?: any): AxiosPromise<WrappedResponseParkingTicketData> {
|
|
12920
13047
|
return localVarFp.parkingResidentialTicketsRedeem(logId, parkingTicketsRedeemBodyResident, options).then((request) => request(axios, basePath));
|
|
12921
13048
|
},
|
|
13049
|
+
/**
|
|
13050
|
+
*
|
|
13051
|
+
* @param {string} logId
|
|
13052
|
+
* @param {ParkingTicketsRedeemBodyResidentV2} parkingTicketsRedeemBodyResidentV2
|
|
13053
|
+
* @param {*} [options] Override http request option.
|
|
13054
|
+
* @throws {RequiredError}
|
|
13055
|
+
*/
|
|
13056
|
+
parkingResidentialTicketsRedeemv2(logId: string, parkingTicketsRedeemBodyResidentV2: ParkingTicketsRedeemBodyResidentV2, options?: any): AxiosPromise<WrappedResponseParkingTicketData> {
|
|
13057
|
+
return localVarFp.parkingResidentialTicketsRedeemv2(logId, parkingTicketsRedeemBodyResidentV2, options).then((request) => request(axios, basePath));
|
|
13058
|
+
},
|
|
12922
13059
|
/**
|
|
12923
13060
|
*
|
|
12924
13061
|
* @param {string} tenantId
|
|
@@ -12949,23 +13086,24 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
12949
13086
|
},
|
|
12950
13087
|
/**
|
|
12951
13088
|
*
|
|
12952
|
-
* @param {
|
|
12953
|
-
* @param {string}
|
|
13089
|
+
* @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
|
|
13090
|
+
* @param {string} [xAccountId]
|
|
12954
13091
|
* @param {*} [options] Override http request option.
|
|
12955
13092
|
* @throws {RequiredError}
|
|
12956
13093
|
*/
|
|
12957
|
-
|
|
12958
|
-
return localVarFp.
|
|
13094
|
+
parkingTicketsImport(importPhysicalParkingTicketBody: ImportPhysicalParkingTicketBody, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseImportPhysicalParkingTicketResponse> {
|
|
13095
|
+
return localVarFp.parkingTicketsImport(importPhysicalParkingTicketBody, xAccountId, options).then((request) => request(axios, basePath));
|
|
12959
13096
|
},
|
|
12960
13097
|
/**
|
|
12961
13098
|
*
|
|
12962
|
-
* @param {
|
|
12963
|
-
* @param {
|
|
13099
|
+
* @param {string} xAccountId
|
|
13100
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
13101
|
+
* @param {string} id
|
|
12964
13102
|
* @param {*} [options] Override http request option.
|
|
12965
13103
|
* @throws {RequiredError}
|
|
12966
13104
|
*/
|
|
12967
|
-
|
|
12968
|
-
return localVarFp.
|
|
13105
|
+
parkingTicketsIndex(xAccountId: string, type: ParkingTicketsIndexTypeEnum, id: string, options?: any): AxiosPromise<WrappedResponseParkingTicketDataArray> {
|
|
13106
|
+
return localVarFp.parkingTicketsIndex(xAccountId, type, id, options).then((request) => request(axios, basePath));
|
|
12969
13107
|
},
|
|
12970
13108
|
/**
|
|
12971
13109
|
*
|
|
@@ -13131,11 +13269,12 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
13131
13269
|
*
|
|
13132
13270
|
* @param {string} id
|
|
13133
13271
|
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
13272
|
+
* @param {string} [xAccountId]
|
|
13134
13273
|
* @param {*} [options] Override http request option.
|
|
13135
13274
|
* @throws {RequiredError}
|
|
13136
13275
|
*/
|
|
13137
|
-
visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: any): AxiosPromise<WrappedResponseResultResponseData> {
|
|
13138
|
-
return localVarFp.visitorSchedulesUpdate(id, updateVisitorScheduleBody, options).then((request) => request(axios, basePath));
|
|
13276
|
+
visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseResultResponseData> {
|
|
13277
|
+
return localVarFp.visitorSchedulesUpdate(id, updateVisitorScheduleBody, xAccountId, options).then((request) => request(axios, basePath));
|
|
13139
13278
|
},
|
|
13140
13279
|
/**
|
|
13141
13280
|
*
|
|
@@ -13707,6 +13846,18 @@ export class DefaultApi extends BaseAPI {
|
|
|
13707
13846
|
return DefaultApiFp(this.configuration).parkingResidentialTicketsRedeem(logId, parkingTicketsRedeemBodyResident, options).then((request) => request(this.axios, this.basePath));
|
|
13708
13847
|
}
|
|
13709
13848
|
|
|
13849
|
+
/**
|
|
13850
|
+
*
|
|
13851
|
+
* @param {string} logId
|
|
13852
|
+
* @param {ParkingTicketsRedeemBodyResidentV2} parkingTicketsRedeemBodyResidentV2
|
|
13853
|
+
* @param {*} [options] Override http request option.
|
|
13854
|
+
* @throws {RequiredError}
|
|
13855
|
+
* @memberof DefaultApi
|
|
13856
|
+
*/
|
|
13857
|
+
public parkingResidentialTicketsRedeemv2(logId: string, parkingTicketsRedeemBodyResidentV2: ParkingTicketsRedeemBodyResidentV2, options?: AxiosRequestConfig) {
|
|
13858
|
+
return DefaultApiFp(this.configuration).parkingResidentialTicketsRedeemv2(logId, parkingTicketsRedeemBodyResidentV2, options).then((request) => request(this.axios, this.basePath));
|
|
13859
|
+
}
|
|
13860
|
+
|
|
13710
13861
|
/**
|
|
13711
13862
|
*
|
|
13712
13863
|
* @param {string} tenantId
|
|
@@ -13743,26 +13894,27 @@ export class DefaultApi extends BaseAPI {
|
|
|
13743
13894
|
|
|
13744
13895
|
/**
|
|
13745
13896
|
*
|
|
13746
|
-
* @param {
|
|
13747
|
-
* @param {string}
|
|
13897
|
+
* @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
|
|
13898
|
+
* @param {string} [xAccountId]
|
|
13748
13899
|
* @param {*} [options] Override http request option.
|
|
13749
13900
|
* @throws {RequiredError}
|
|
13750
13901
|
* @memberof DefaultApi
|
|
13751
13902
|
*/
|
|
13752
|
-
public
|
|
13753
|
-
return DefaultApiFp(this.configuration).
|
|
13903
|
+
public parkingTicketsImport(importPhysicalParkingTicketBody: ImportPhysicalParkingTicketBody, xAccountId?: string, options?: AxiosRequestConfig) {
|
|
13904
|
+
return DefaultApiFp(this.configuration).parkingTicketsImport(importPhysicalParkingTicketBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
13754
13905
|
}
|
|
13755
13906
|
|
|
13756
13907
|
/**
|
|
13757
13908
|
*
|
|
13758
|
-
* @param {
|
|
13759
|
-
* @param {
|
|
13909
|
+
* @param {string} xAccountId
|
|
13910
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
13911
|
+
* @param {string} id
|
|
13760
13912
|
* @param {*} [options] Override http request option.
|
|
13761
13913
|
* @throws {RequiredError}
|
|
13762
13914
|
* @memberof DefaultApi
|
|
13763
13915
|
*/
|
|
13764
|
-
public
|
|
13765
|
-
return DefaultApiFp(this.configuration).
|
|
13916
|
+
public parkingTicketsIndex(xAccountId: string, type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig) {
|
|
13917
|
+
return DefaultApiFp(this.configuration).parkingTicketsIndex(xAccountId, type, id, options).then((request) => request(this.axios, this.basePath));
|
|
13766
13918
|
}
|
|
13767
13919
|
|
|
13768
13920
|
/**
|
|
@@ -13963,12 +14115,13 @@ export class DefaultApi extends BaseAPI {
|
|
|
13963
14115
|
*
|
|
13964
14116
|
* @param {string} id
|
|
13965
14117
|
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
14118
|
+
* @param {string} [xAccountId]
|
|
13966
14119
|
* @param {*} [options] Override http request option.
|
|
13967
14120
|
* @throws {RequiredError}
|
|
13968
14121
|
* @memberof DefaultApi
|
|
13969
14122
|
*/
|
|
13970
|
-
public visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig) {
|
|
13971
|
-
return DefaultApiFp(this.configuration).visitorSchedulesUpdate(id, updateVisitorScheduleBody, options).then((request) => request(this.axios, this.basePath));
|
|
14123
|
+
public visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, xAccountId?: string, options?: AxiosRequestConfig) {
|
|
14124
|
+
return DefaultApiFp(this.configuration).visitorSchedulesUpdate(id, updateVisitorScheduleBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
13972
14125
|
}
|
|
13973
14126
|
|
|
13974
14127
|
/**
|
package/dist/api/api.d.ts
CHANGED
|
@@ -3779,6 +3779,12 @@ export interface ParkingSpacesData {
|
|
|
3779
3779
|
* @interface ParkingTicketData
|
|
3780
3780
|
*/
|
|
3781
3781
|
export interface ParkingTicketData {
|
|
3782
|
+
/**
|
|
3783
|
+
*
|
|
3784
|
+
* @type {string}
|
|
3785
|
+
* @memberof ParkingTicketData
|
|
3786
|
+
*/
|
|
3787
|
+
'sub_code'?: string;
|
|
3782
3788
|
/**
|
|
3783
3789
|
*
|
|
3784
3790
|
* @type {number}
|
|
@@ -3903,6 +3909,37 @@ export interface ParkingTicketsRedeemBodyResident {
|
|
|
3903
3909
|
*/
|
|
3904
3910
|
'rate_code': string;
|
|
3905
3911
|
}
|
|
3912
|
+
/**
|
|
3913
|
+
*
|
|
3914
|
+
* @export
|
|
3915
|
+
* @interface ParkingTicketsRedeemBodyResidentV2
|
|
3916
|
+
*/
|
|
3917
|
+
export interface ParkingTicketsRedeemBodyResidentV2 {
|
|
3918
|
+
/**
|
|
3919
|
+
*
|
|
3920
|
+
* @type {number}
|
|
3921
|
+
* @memberof ParkingTicketsRedeemBodyResidentV2
|
|
3922
|
+
*/
|
|
3923
|
+
'user_id': number;
|
|
3924
|
+
/**
|
|
3925
|
+
*
|
|
3926
|
+
* @type {number}
|
|
3927
|
+
* @memberof ParkingTicketsRedeemBodyResidentV2
|
|
3928
|
+
*/
|
|
3929
|
+
'residence_id': number;
|
|
3930
|
+
/**
|
|
3931
|
+
*
|
|
3932
|
+
* @type {string}
|
|
3933
|
+
* @memberof ParkingTicketsRedeemBodyResidentV2
|
|
3934
|
+
*/
|
|
3935
|
+
'remark'?: string;
|
|
3936
|
+
/**
|
|
3937
|
+
*
|
|
3938
|
+
* @type {string}
|
|
3939
|
+
* @memberof ParkingTicketsRedeemBodyResidentV2
|
|
3940
|
+
*/
|
|
3941
|
+
'rate_code': string;
|
|
3942
|
+
}
|
|
3906
3943
|
/**
|
|
3907
3944
|
*
|
|
3908
3945
|
* @export
|
|
@@ -4018,6 +4055,12 @@ export interface PassConsentResponse {
|
|
|
4018
4055
|
* @memberof PassConsentResponse
|
|
4019
4056
|
*/
|
|
4020
4057
|
'consent'?: boolean | null;
|
|
4058
|
+
/**
|
|
4059
|
+
*
|
|
4060
|
+
* @type {string}
|
|
4061
|
+
* @memberof PassConsentResponse
|
|
4062
|
+
*/
|
|
4063
|
+
'repeatInvite'?: string;
|
|
4021
4064
|
}
|
|
4022
4065
|
export declare const PassConsentResponseStatusEnum: {
|
|
4023
4066
|
readonly Pending: "pending";
|
|
@@ -4662,6 +4705,8 @@ export declare const SensorType: {
|
|
|
4662
4705
|
readonly Co2: "co2";
|
|
4663
4706
|
readonly Temperature: "temperature";
|
|
4664
4707
|
readonly Humidity: "humidity";
|
|
4708
|
+
readonly Aqi: "aqi";
|
|
4709
|
+
readonly Tvoc: "tvoc";
|
|
4665
4710
|
};
|
|
4666
4711
|
export type SensorType = typeof SensorType[keyof typeof SensorType];
|
|
4667
4712
|
/**
|
|
@@ -4946,6 +4991,12 @@ export interface ServiceRequestsUpdateRequestBodyStatus {
|
|
|
4946
4991
|
* @interface ShowPassResponse
|
|
4947
4992
|
*/
|
|
4948
4993
|
export interface ShowPassResponse {
|
|
4994
|
+
/**
|
|
4995
|
+
*
|
|
4996
|
+
* @type {string}
|
|
4997
|
+
* @memberof ShowPassResponse
|
|
4998
|
+
*/
|
|
4999
|
+
'repeatInvite'?: string;
|
|
4949
5000
|
/**
|
|
4950
5001
|
*
|
|
4951
5002
|
* @type {MetaDataPasses}
|
|
@@ -8185,6 +8236,12 @@ export interface WrappedResponseParkingTicketDataArrayData {
|
|
|
8185
8236
|
* @interface WrappedResponseParkingTicketDataData
|
|
8186
8237
|
*/
|
|
8187
8238
|
export interface WrappedResponseParkingTicketDataData {
|
|
8239
|
+
/**
|
|
8240
|
+
*
|
|
8241
|
+
* @type {string}
|
|
8242
|
+
* @memberof WrappedResponseParkingTicketDataData
|
|
8243
|
+
*/
|
|
8244
|
+
'sub_code'?: string;
|
|
8188
8245
|
/**
|
|
8189
8246
|
*
|
|
8190
8247
|
* @type {number}
|
|
@@ -8331,6 +8388,12 @@ export interface WrappedResponsePassConsentResponseData {
|
|
|
8331
8388
|
* @memberof WrappedResponsePassConsentResponseData
|
|
8332
8389
|
*/
|
|
8333
8390
|
'consent'?: boolean | null;
|
|
8391
|
+
/**
|
|
8392
|
+
*
|
|
8393
|
+
* @type {string}
|
|
8394
|
+
* @memberof WrappedResponsePassConsentResponseData
|
|
8395
|
+
*/
|
|
8396
|
+
'repeatInvite'?: string;
|
|
8334
8397
|
}
|
|
8335
8398
|
export declare const WrappedResponsePassConsentResponseDataStatusEnum: {
|
|
8336
8399
|
readonly Pending: "pending";
|
|
@@ -9216,6 +9279,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
9216
9279
|
* @throws {RequiredError}
|
|
9217
9280
|
*/
|
|
9218
9281
|
parkingResidentialTicketsRedeem: (logId: string, parkingTicketsRedeemBodyResident: ParkingTicketsRedeemBodyResident, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9282
|
+
/**
|
|
9283
|
+
*
|
|
9284
|
+
* @param {string} logId
|
|
9285
|
+
* @param {ParkingTicketsRedeemBodyResidentV2} parkingTicketsRedeemBodyResidentV2
|
|
9286
|
+
* @param {*} [options] Override http request option.
|
|
9287
|
+
* @throws {RequiredError}
|
|
9288
|
+
*/
|
|
9289
|
+
parkingResidentialTicketsRedeemv2: (logId: string, parkingTicketsRedeemBodyResidentV2: ParkingTicketsRedeemBodyResidentV2, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9219
9290
|
/**
|
|
9220
9291
|
*
|
|
9221
9292
|
* @param {string} tenantId
|
|
@@ -9240,20 +9311,21 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
9240
9311
|
parkingTicketsAllDetails: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9241
9312
|
/**
|
|
9242
9313
|
*
|
|
9243
|
-
* @param {
|
|
9244
|
-
* @param {string}
|
|
9314
|
+
* @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
|
|
9315
|
+
* @param {string} [xAccountId]
|
|
9245
9316
|
* @param {*} [options] Override http request option.
|
|
9246
9317
|
* @throws {RequiredError}
|
|
9247
9318
|
*/
|
|
9248
|
-
|
|
9319
|
+
parkingTicketsImport: (importPhysicalParkingTicketBody: ImportPhysicalParkingTicketBody, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9249
9320
|
/**
|
|
9250
9321
|
*
|
|
9251
|
-
* @param {
|
|
9252
|
-
* @param {
|
|
9322
|
+
* @param {string} xAccountId
|
|
9323
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
9324
|
+
* @param {string} id
|
|
9253
9325
|
* @param {*} [options] Override http request option.
|
|
9254
9326
|
* @throws {RequiredError}
|
|
9255
9327
|
*/
|
|
9256
|
-
|
|
9328
|
+
parkingTicketsIndex: (xAccountId: string, type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9257
9329
|
/**
|
|
9258
9330
|
*
|
|
9259
9331
|
* @param {string} logId
|
|
@@ -9384,10 +9456,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
9384
9456
|
*
|
|
9385
9457
|
* @param {string} id
|
|
9386
9458
|
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
9459
|
+
* @param {string} [xAccountId]
|
|
9387
9460
|
* @param {*} [options] Override http request option.
|
|
9388
9461
|
* @throws {RequiredError}
|
|
9389
9462
|
*/
|
|
9390
|
-
visitorSchedulesUpdate: (id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9463
|
+
visitorSchedulesUpdate: (id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, xAccountId?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9391
9464
|
/**
|
|
9392
9465
|
*
|
|
9393
9466
|
* @param {string} [tokenId]
|
|
@@ -9778,6 +9851,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
9778
9851
|
* @throws {RequiredError}
|
|
9779
9852
|
*/
|
|
9780
9853
|
parkingResidentialTicketsRedeem(logId: string, parkingTicketsRedeemBodyResident: ParkingTicketsRedeemBodyResident, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketData>>;
|
|
9854
|
+
/**
|
|
9855
|
+
*
|
|
9856
|
+
* @param {string} logId
|
|
9857
|
+
* @param {ParkingTicketsRedeemBodyResidentV2} parkingTicketsRedeemBodyResidentV2
|
|
9858
|
+
* @param {*} [options] Override http request option.
|
|
9859
|
+
* @throws {RequiredError}
|
|
9860
|
+
*/
|
|
9861
|
+
parkingResidentialTicketsRedeemv2(logId: string, parkingTicketsRedeemBodyResidentV2: ParkingTicketsRedeemBodyResidentV2, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketData>>;
|
|
9781
9862
|
/**
|
|
9782
9863
|
*
|
|
9783
9864
|
* @param {string} tenantId
|
|
@@ -9802,20 +9883,21 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
9802
9883
|
parkingTicketsAllDetails(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingSpaceDetailAndSpaceDetailData>>;
|
|
9803
9884
|
/**
|
|
9804
9885
|
*
|
|
9805
|
-
* @param {
|
|
9806
|
-
* @param {string}
|
|
9886
|
+
* @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
|
|
9887
|
+
* @param {string} [xAccountId]
|
|
9807
9888
|
* @param {*} [options] Override http request option.
|
|
9808
9889
|
* @throws {RequiredError}
|
|
9809
9890
|
*/
|
|
9810
|
-
|
|
9891
|
+
parkingTicketsImport(importPhysicalParkingTicketBody: ImportPhysicalParkingTicketBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseImportPhysicalParkingTicketResponse>>;
|
|
9811
9892
|
/**
|
|
9812
9893
|
*
|
|
9813
|
-
* @param {
|
|
9814
|
-
* @param {
|
|
9894
|
+
* @param {string} xAccountId
|
|
9895
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
9896
|
+
* @param {string} id
|
|
9815
9897
|
* @param {*} [options] Override http request option.
|
|
9816
9898
|
* @throws {RequiredError}
|
|
9817
9899
|
*/
|
|
9818
|
-
|
|
9900
|
+
parkingTicketsIndex(xAccountId: string, type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseParkingTicketDataArray>>;
|
|
9819
9901
|
/**
|
|
9820
9902
|
*
|
|
9821
9903
|
* @param {string} logId
|
|
@@ -9946,10 +10028,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
9946
10028
|
*
|
|
9947
10029
|
* @param {string} id
|
|
9948
10030
|
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
10031
|
+
* @param {string} [xAccountId]
|
|
9949
10032
|
* @param {*} [options] Override http request option.
|
|
9950
10033
|
* @throws {RequiredError}
|
|
9951
10034
|
*/
|
|
9952
|
-
visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseResultResponseData>>;
|
|
10035
|
+
visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseResultResponseData>>;
|
|
9953
10036
|
/**
|
|
9954
10037
|
*
|
|
9955
10038
|
* @param {string} [tokenId]
|
|
@@ -10340,6 +10423,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
10340
10423
|
* @throws {RequiredError}
|
|
10341
10424
|
*/
|
|
10342
10425
|
parkingResidentialTicketsRedeem(logId: string, parkingTicketsRedeemBodyResident: ParkingTicketsRedeemBodyResident, options?: any): AxiosPromise<WrappedResponseParkingTicketData>;
|
|
10426
|
+
/**
|
|
10427
|
+
*
|
|
10428
|
+
* @param {string} logId
|
|
10429
|
+
* @param {ParkingTicketsRedeemBodyResidentV2} parkingTicketsRedeemBodyResidentV2
|
|
10430
|
+
* @param {*} [options] Override http request option.
|
|
10431
|
+
* @throws {RequiredError}
|
|
10432
|
+
*/
|
|
10433
|
+
parkingResidentialTicketsRedeemv2(logId: string, parkingTicketsRedeemBodyResidentV2: ParkingTicketsRedeemBodyResidentV2, options?: any): AxiosPromise<WrappedResponseParkingTicketData>;
|
|
10343
10434
|
/**
|
|
10344
10435
|
*
|
|
10345
10436
|
* @param {string} tenantId
|
|
@@ -10364,20 +10455,21 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
10364
10455
|
parkingTicketsAllDetails(id: string, options?: any): AxiosPromise<WrappedResponseParkingSpaceDetailAndSpaceDetailData>;
|
|
10365
10456
|
/**
|
|
10366
10457
|
*
|
|
10367
|
-
* @param {
|
|
10368
|
-
* @param {string}
|
|
10458
|
+
* @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
|
|
10459
|
+
* @param {string} [xAccountId]
|
|
10369
10460
|
* @param {*} [options] Override http request option.
|
|
10370
10461
|
* @throws {RequiredError}
|
|
10371
10462
|
*/
|
|
10372
|
-
|
|
10463
|
+
parkingTicketsImport(importPhysicalParkingTicketBody: ImportPhysicalParkingTicketBody, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseImportPhysicalParkingTicketResponse>;
|
|
10373
10464
|
/**
|
|
10374
10465
|
*
|
|
10375
|
-
* @param {
|
|
10376
|
-
* @param {
|
|
10466
|
+
* @param {string} xAccountId
|
|
10467
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
10468
|
+
* @param {string} id
|
|
10377
10469
|
* @param {*} [options] Override http request option.
|
|
10378
10470
|
* @throws {RequiredError}
|
|
10379
10471
|
*/
|
|
10380
|
-
|
|
10472
|
+
parkingTicketsIndex(xAccountId: string, type: ParkingTicketsIndexTypeEnum, id: string, options?: any): AxiosPromise<WrappedResponseParkingTicketDataArray>;
|
|
10381
10473
|
/**
|
|
10382
10474
|
*
|
|
10383
10475
|
* @param {string} logId
|
|
@@ -10508,10 +10600,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
10508
10600
|
*
|
|
10509
10601
|
* @param {string} id
|
|
10510
10602
|
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
10603
|
+
* @param {string} [xAccountId]
|
|
10511
10604
|
* @param {*} [options] Override http request option.
|
|
10512
10605
|
* @throws {RequiredError}
|
|
10513
10606
|
*/
|
|
10514
|
-
visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: any): AxiosPromise<WrappedResponseResultResponseData>;
|
|
10607
|
+
visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, xAccountId?: string, options?: any): AxiosPromise<WrappedResponseResultResponseData>;
|
|
10515
10608
|
/**
|
|
10516
10609
|
*
|
|
10517
10610
|
* @param {string} [tokenId]
|
|
@@ -10945,6 +11038,15 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
10945
11038
|
* @memberof DefaultApi
|
|
10946
11039
|
*/
|
|
10947
11040
|
parkingResidentialTicketsRedeem(logId: string, parkingTicketsRedeemBodyResident: ParkingTicketsRedeemBodyResident, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketData, any>>;
|
|
11041
|
+
/**
|
|
11042
|
+
*
|
|
11043
|
+
* @param {string} logId
|
|
11044
|
+
* @param {ParkingTicketsRedeemBodyResidentV2} parkingTicketsRedeemBodyResidentV2
|
|
11045
|
+
* @param {*} [options] Override http request option.
|
|
11046
|
+
* @throws {RequiredError}
|
|
11047
|
+
* @memberof DefaultApi
|
|
11048
|
+
*/
|
|
11049
|
+
parkingResidentialTicketsRedeemv2(logId: string, parkingTicketsRedeemBodyResidentV2: ParkingTicketsRedeemBodyResidentV2, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketData, any>>;
|
|
10948
11050
|
/**
|
|
10949
11051
|
*
|
|
10950
11052
|
* @param {string} tenantId
|
|
@@ -10972,22 +11074,23 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
10972
11074
|
parkingTicketsAllDetails(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingSpaceDetailAndSpaceDetailData, any>>;
|
|
10973
11075
|
/**
|
|
10974
11076
|
*
|
|
10975
|
-
* @param {
|
|
10976
|
-
* @param {string}
|
|
11077
|
+
* @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
|
|
11078
|
+
* @param {string} [xAccountId]
|
|
10977
11079
|
* @param {*} [options] Override http request option.
|
|
10978
11080
|
* @throws {RequiredError}
|
|
10979
11081
|
* @memberof DefaultApi
|
|
10980
11082
|
*/
|
|
10981
|
-
|
|
11083
|
+
parkingTicketsImport(importPhysicalParkingTicketBody: ImportPhysicalParkingTicketBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseImportPhysicalParkingTicketResponse, any>>;
|
|
10982
11084
|
/**
|
|
10983
11085
|
*
|
|
10984
|
-
* @param {
|
|
10985
|
-
* @param {
|
|
11086
|
+
* @param {string} xAccountId
|
|
11087
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
11088
|
+
* @param {string} id
|
|
10986
11089
|
* @param {*} [options] Override http request option.
|
|
10987
11090
|
* @throws {RequiredError}
|
|
10988
11091
|
* @memberof DefaultApi
|
|
10989
11092
|
*/
|
|
10990
|
-
|
|
11093
|
+
parkingTicketsIndex(xAccountId: string, type: ParkingTicketsIndexTypeEnum, id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseParkingTicketDataArray, any>>;
|
|
10991
11094
|
/**
|
|
10992
11095
|
*
|
|
10993
11096
|
* @param {string} logId
|
|
@@ -11135,11 +11238,12 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
11135
11238
|
*
|
|
11136
11239
|
* @param {string} id
|
|
11137
11240
|
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
11241
|
+
* @param {string} [xAccountId]
|
|
11138
11242
|
* @param {*} [options] Override http request option.
|
|
11139
11243
|
* @throws {RequiredError}
|
|
11140
11244
|
* @memberof DefaultApi
|
|
11141
11245
|
*/
|
|
11142
|
-
visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseResultResponseData, any>>;
|
|
11246
|
+
visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, xAccountId?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedResponseResultResponseData, any>>;
|
|
11143
11247
|
/**
|
|
11144
11248
|
*
|
|
11145
11249
|
* @param {string} [tokenId]
|
package/dist/api/api.js
CHANGED
|
@@ -127,7 +127,9 @@ exports.SensorType = {
|
|
|
127
127
|
Pm10: 'pm10',
|
|
128
128
|
Co2: 'co2',
|
|
129
129
|
Temperature: 'temperature',
|
|
130
|
-
Humidity: 'humidity'
|
|
130
|
+
Humidity: 'humidity',
|
|
131
|
+
Aqi: 'aqi',
|
|
132
|
+
Tvoc: 'tvoc'
|
|
131
133
|
};
|
|
132
134
|
/**
|
|
133
135
|
*
|
|
@@ -1583,6 +1585,39 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1583
1585
|
options: localVarRequestOptions,
|
|
1584
1586
|
};
|
|
1585
1587
|
}),
|
|
1588
|
+
/**
|
|
1589
|
+
*
|
|
1590
|
+
* @param {string} logId
|
|
1591
|
+
* @param {ParkingTicketsRedeemBodyResidentV2} parkingTicketsRedeemBodyResidentV2
|
|
1592
|
+
* @param {*} [options] Override http request option.
|
|
1593
|
+
* @throws {RequiredError}
|
|
1594
|
+
*/
|
|
1595
|
+
parkingResidentialTicketsRedeemv2: (logId, parkingTicketsRedeemBodyResidentV2, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1596
|
+
// verify required parameter 'logId' is not null or undefined
|
|
1597
|
+
(0, common_1.assertParamExists)('parkingResidentialTicketsRedeemv2', 'logId', logId);
|
|
1598
|
+
// verify required parameter 'parkingTicketsRedeemBodyResidentV2' is not null or undefined
|
|
1599
|
+
(0, common_1.assertParamExists)('parkingResidentialTicketsRedeemv2', 'parkingTicketsRedeemBodyResidentV2', parkingTicketsRedeemBodyResidentV2);
|
|
1600
|
+
const localVarPath = `/parking_tickets/{log_id}/redeem-residential/v2`
|
|
1601
|
+
.replace(`{${"log_id"}}`, encodeURIComponent(String(logId)));
|
|
1602
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1603
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1604
|
+
let baseOptions;
|
|
1605
|
+
if (configuration) {
|
|
1606
|
+
baseOptions = configuration.baseOptions;
|
|
1607
|
+
}
|
|
1608
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1609
|
+
const localVarHeaderParameter = {};
|
|
1610
|
+
const localVarQueryParameter = {};
|
|
1611
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1612
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1613
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1614
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1615
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(parkingTicketsRedeemBodyResidentV2, localVarRequestOptions, configuration);
|
|
1616
|
+
return {
|
|
1617
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1618
|
+
options: localVarRequestOptions,
|
|
1619
|
+
};
|
|
1620
|
+
}),
|
|
1586
1621
|
/**
|
|
1587
1622
|
*
|
|
1588
1623
|
* @param {string} tenantId
|
|
@@ -1677,35 +1712,32 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1677
1712
|
}),
|
|
1678
1713
|
/**
|
|
1679
1714
|
*
|
|
1680
|
-
* @param {
|
|
1681
|
-
* @param {string}
|
|
1715
|
+
* @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
|
|
1716
|
+
* @param {string} [xAccountId]
|
|
1682
1717
|
* @param {*} [options] Override http request option.
|
|
1683
1718
|
* @throws {RequiredError}
|
|
1684
1719
|
*/
|
|
1685
|
-
|
|
1686
|
-
// verify required parameter '
|
|
1687
|
-
(0, common_1.assertParamExists)('
|
|
1688
|
-
|
|
1689
|
-
(0, common_1.assertParamExists)('parkingTicketsIndex', 'id', id);
|
|
1690
|
-
const localVarPath = `/parking_tickets`;
|
|
1720
|
+
parkingTicketsImport: (importPhysicalParkingTicketBody, xAccountId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1721
|
+
// verify required parameter 'importPhysicalParkingTicketBody' is not null or undefined
|
|
1722
|
+
(0, common_1.assertParamExists)('parkingTicketsImport', 'importPhysicalParkingTicketBody', importPhysicalParkingTicketBody);
|
|
1723
|
+
const localVarPath = `/parking_tickets/import`;
|
|
1691
1724
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1692
1725
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1693
1726
|
let baseOptions;
|
|
1694
1727
|
if (configuration) {
|
|
1695
1728
|
baseOptions = configuration.baseOptions;
|
|
1696
1729
|
}
|
|
1697
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
1730
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1698
1731
|
const localVarHeaderParameter = {};
|
|
1699
1732
|
const localVarQueryParameter = {};
|
|
1700
|
-
if (
|
|
1701
|
-
|
|
1702
|
-
}
|
|
1703
|
-
if (id !== undefined) {
|
|
1704
|
-
localVarQueryParameter['id'] = id;
|
|
1733
|
+
if (xAccountId != null) {
|
|
1734
|
+
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
1705
1735
|
}
|
|
1736
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1706
1737
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1707
1738
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1708
1739
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1740
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(importPhysicalParkingTicketBody, localVarRequestOptions, configuration);
|
|
1709
1741
|
return {
|
|
1710
1742
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1711
1743
|
options: localVarRequestOptions,
|
|
@@ -1713,32 +1745,41 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1713
1745
|
}),
|
|
1714
1746
|
/**
|
|
1715
1747
|
*
|
|
1716
|
-
* @param {
|
|
1717
|
-
* @param {
|
|
1748
|
+
* @param {string} xAccountId
|
|
1749
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
1750
|
+
* @param {string} id
|
|
1718
1751
|
* @param {*} [options] Override http request option.
|
|
1719
1752
|
* @throws {RequiredError}
|
|
1720
1753
|
*/
|
|
1721
|
-
|
|
1722
|
-
// verify required parameter '
|
|
1723
|
-
(0, common_1.assertParamExists)('
|
|
1724
|
-
|
|
1754
|
+
parkingTicketsIndex: (xAccountId, type, id, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1755
|
+
// verify required parameter 'xAccountId' is not null or undefined
|
|
1756
|
+
(0, common_1.assertParamExists)('parkingTicketsIndex', 'xAccountId', xAccountId);
|
|
1757
|
+
// verify required parameter 'type' is not null or undefined
|
|
1758
|
+
(0, common_1.assertParamExists)('parkingTicketsIndex', 'type', type);
|
|
1759
|
+
// verify required parameter 'id' is not null or undefined
|
|
1760
|
+
(0, common_1.assertParamExists)('parkingTicketsIndex', 'id', id);
|
|
1761
|
+
const localVarPath = `/parking_tickets`;
|
|
1725
1762
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1726
1763
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1727
1764
|
let baseOptions;
|
|
1728
1765
|
if (configuration) {
|
|
1729
1766
|
baseOptions = configuration.baseOptions;
|
|
1730
1767
|
}
|
|
1731
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
1768
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1732
1769
|
const localVarHeaderParameter = {};
|
|
1733
1770
|
const localVarQueryParameter = {};
|
|
1771
|
+
if (type !== undefined) {
|
|
1772
|
+
localVarQueryParameter['type'] = type;
|
|
1773
|
+
}
|
|
1774
|
+
if (id !== undefined) {
|
|
1775
|
+
localVarQueryParameter['id'] = id;
|
|
1776
|
+
}
|
|
1734
1777
|
if (xAccountId != null) {
|
|
1735
1778
|
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
1736
1779
|
}
|
|
1737
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1738
1780
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1739
1781
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1740
1782
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1741
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(importPhysicalParkingTicketBody, localVarRequestOptions, configuration);
|
|
1742
1783
|
return {
|
|
1743
1784
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1744
1785
|
options: localVarRequestOptions,
|
|
@@ -2261,10 +2302,11 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2261
2302
|
*
|
|
2262
2303
|
* @param {string} id
|
|
2263
2304
|
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
2305
|
+
* @param {string} [xAccountId]
|
|
2264
2306
|
* @param {*} [options] Override http request option.
|
|
2265
2307
|
* @throws {RequiredError}
|
|
2266
2308
|
*/
|
|
2267
|
-
visitorSchedulesUpdate: (id, updateVisitorScheduleBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2309
|
+
visitorSchedulesUpdate: (id, updateVisitorScheduleBody, xAccountId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2268
2310
|
// verify required parameter 'id' is not null or undefined
|
|
2269
2311
|
(0, common_1.assertParamExists)('visitorSchedulesUpdate', 'id', id);
|
|
2270
2312
|
// verify required parameter 'updateVisitorScheduleBody' is not null or undefined
|
|
@@ -2280,6 +2322,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2280
2322
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
2281
2323
|
const localVarHeaderParameter = {};
|
|
2282
2324
|
const localVarQueryParameter = {};
|
|
2325
|
+
if (xAccountId != null) {
|
|
2326
|
+
localVarHeaderParameter['x-account-id'] = String(xAccountId);
|
|
2327
|
+
}
|
|
2283
2328
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2284
2329
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2285
2330
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -3018,6 +3063,19 @@ const DefaultApiFp = function (configuration) {
|
|
|
3018
3063
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
3019
3064
|
});
|
|
3020
3065
|
},
|
|
3066
|
+
/**
|
|
3067
|
+
*
|
|
3068
|
+
* @param {string} logId
|
|
3069
|
+
* @param {ParkingTicketsRedeemBodyResidentV2} parkingTicketsRedeemBodyResidentV2
|
|
3070
|
+
* @param {*} [options] Override http request option.
|
|
3071
|
+
* @throws {RequiredError}
|
|
3072
|
+
*/
|
|
3073
|
+
parkingResidentialTicketsRedeemv2(logId, parkingTicketsRedeemBodyResidentV2, options) {
|
|
3074
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3075
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingResidentialTicketsRedeemv2(logId, parkingTicketsRedeemBodyResidentV2, options);
|
|
3076
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
3077
|
+
});
|
|
3078
|
+
},
|
|
3021
3079
|
/**
|
|
3022
3080
|
*
|
|
3023
3081
|
* @param {string} tenantId
|
|
@@ -3057,27 +3115,28 @@ const DefaultApiFp = function (configuration) {
|
|
|
3057
3115
|
},
|
|
3058
3116
|
/**
|
|
3059
3117
|
*
|
|
3060
|
-
* @param {
|
|
3061
|
-
* @param {string}
|
|
3118
|
+
* @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
|
|
3119
|
+
* @param {string} [xAccountId]
|
|
3062
3120
|
* @param {*} [options] Override http request option.
|
|
3063
3121
|
* @throws {RequiredError}
|
|
3064
3122
|
*/
|
|
3065
|
-
|
|
3123
|
+
parkingTicketsImport(importPhysicalParkingTicketBody, xAccountId, options) {
|
|
3066
3124
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3067
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
3125
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingTicketsImport(importPhysicalParkingTicketBody, xAccountId, options);
|
|
3068
3126
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
3069
3127
|
});
|
|
3070
3128
|
},
|
|
3071
3129
|
/**
|
|
3072
3130
|
*
|
|
3073
|
-
* @param {
|
|
3074
|
-
* @param {
|
|
3131
|
+
* @param {string} xAccountId
|
|
3132
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
3133
|
+
* @param {string} id
|
|
3075
3134
|
* @param {*} [options] Override http request option.
|
|
3076
3135
|
* @throws {RequiredError}
|
|
3077
3136
|
*/
|
|
3078
|
-
|
|
3137
|
+
parkingTicketsIndex(xAccountId, type, id, options) {
|
|
3079
3138
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3080
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
3139
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.parkingTicketsIndex(xAccountId, type, id, options);
|
|
3081
3140
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
3082
3141
|
});
|
|
3083
3142
|
},
|
|
@@ -3296,12 +3355,13 @@ const DefaultApiFp = function (configuration) {
|
|
|
3296
3355
|
*
|
|
3297
3356
|
* @param {string} id
|
|
3298
3357
|
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
3358
|
+
* @param {string} [xAccountId]
|
|
3299
3359
|
* @param {*} [options] Override http request option.
|
|
3300
3360
|
* @throws {RequiredError}
|
|
3301
3361
|
*/
|
|
3302
|
-
visitorSchedulesUpdate(id, updateVisitorScheduleBody, options) {
|
|
3362
|
+
visitorSchedulesUpdate(id, updateVisitorScheduleBody, xAccountId, options) {
|
|
3303
3363
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3304
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.visitorSchedulesUpdate(id, updateVisitorScheduleBody, options);
|
|
3364
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.visitorSchedulesUpdate(id, updateVisitorScheduleBody, xAccountId, options);
|
|
3305
3365
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
3306
3366
|
});
|
|
3307
3367
|
},
|
|
@@ -3811,6 +3871,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
3811
3871
|
parkingResidentialTicketsRedeem(logId, parkingTicketsRedeemBodyResident, options) {
|
|
3812
3872
|
return localVarFp.parkingResidentialTicketsRedeem(logId, parkingTicketsRedeemBodyResident, options).then((request) => request(axios, basePath));
|
|
3813
3873
|
},
|
|
3874
|
+
/**
|
|
3875
|
+
*
|
|
3876
|
+
* @param {string} logId
|
|
3877
|
+
* @param {ParkingTicketsRedeemBodyResidentV2} parkingTicketsRedeemBodyResidentV2
|
|
3878
|
+
* @param {*} [options] Override http request option.
|
|
3879
|
+
* @throws {RequiredError}
|
|
3880
|
+
*/
|
|
3881
|
+
parkingResidentialTicketsRedeemv2(logId, parkingTicketsRedeemBodyResidentV2, options) {
|
|
3882
|
+
return localVarFp.parkingResidentialTicketsRedeemv2(logId, parkingTicketsRedeemBodyResidentV2, options).then((request) => request(axios, basePath));
|
|
3883
|
+
},
|
|
3814
3884
|
/**
|
|
3815
3885
|
*
|
|
3816
3886
|
* @param {string} tenantId
|
|
@@ -3841,23 +3911,24 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
3841
3911
|
},
|
|
3842
3912
|
/**
|
|
3843
3913
|
*
|
|
3844
|
-
* @param {
|
|
3845
|
-
* @param {string}
|
|
3914
|
+
* @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
|
|
3915
|
+
* @param {string} [xAccountId]
|
|
3846
3916
|
* @param {*} [options] Override http request option.
|
|
3847
3917
|
* @throws {RequiredError}
|
|
3848
3918
|
*/
|
|
3849
|
-
|
|
3850
|
-
return localVarFp.
|
|
3919
|
+
parkingTicketsImport(importPhysicalParkingTicketBody, xAccountId, options) {
|
|
3920
|
+
return localVarFp.parkingTicketsImport(importPhysicalParkingTicketBody, xAccountId, options).then((request) => request(axios, basePath));
|
|
3851
3921
|
},
|
|
3852
3922
|
/**
|
|
3853
3923
|
*
|
|
3854
|
-
* @param {
|
|
3855
|
-
* @param {
|
|
3924
|
+
* @param {string} xAccountId
|
|
3925
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
3926
|
+
* @param {string} id
|
|
3856
3927
|
* @param {*} [options] Override http request option.
|
|
3857
3928
|
* @throws {RequiredError}
|
|
3858
3929
|
*/
|
|
3859
|
-
|
|
3860
|
-
return localVarFp.
|
|
3930
|
+
parkingTicketsIndex(xAccountId, type, id, options) {
|
|
3931
|
+
return localVarFp.parkingTicketsIndex(xAccountId, type, id, options).then((request) => request(axios, basePath));
|
|
3861
3932
|
},
|
|
3862
3933
|
/**
|
|
3863
3934
|
*
|
|
@@ -4023,11 +4094,12 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
4023
4094
|
*
|
|
4024
4095
|
* @param {string} id
|
|
4025
4096
|
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
4097
|
+
* @param {string} [xAccountId]
|
|
4026
4098
|
* @param {*} [options] Override http request option.
|
|
4027
4099
|
* @throws {RequiredError}
|
|
4028
4100
|
*/
|
|
4029
|
-
visitorSchedulesUpdate(id, updateVisitorScheduleBody, options) {
|
|
4030
|
-
return localVarFp.visitorSchedulesUpdate(id, updateVisitorScheduleBody, options).then((request) => request(axios, basePath));
|
|
4101
|
+
visitorSchedulesUpdate(id, updateVisitorScheduleBody, xAccountId, options) {
|
|
4102
|
+
return localVarFp.visitorSchedulesUpdate(id, updateVisitorScheduleBody, xAccountId, options).then((request) => request(axios, basePath));
|
|
4031
4103
|
},
|
|
4032
4104
|
/**
|
|
4033
4105
|
*
|
|
@@ -4558,6 +4630,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
4558
4630
|
parkingResidentialTicketsRedeem(logId, parkingTicketsRedeemBodyResident, options) {
|
|
4559
4631
|
return (0, exports.DefaultApiFp)(this.configuration).parkingResidentialTicketsRedeem(logId, parkingTicketsRedeemBodyResident, options).then((request) => request(this.axios, this.basePath));
|
|
4560
4632
|
}
|
|
4633
|
+
/**
|
|
4634
|
+
*
|
|
4635
|
+
* @param {string} logId
|
|
4636
|
+
* @param {ParkingTicketsRedeemBodyResidentV2} parkingTicketsRedeemBodyResidentV2
|
|
4637
|
+
* @param {*} [options] Override http request option.
|
|
4638
|
+
* @throws {RequiredError}
|
|
4639
|
+
* @memberof DefaultApi
|
|
4640
|
+
*/
|
|
4641
|
+
parkingResidentialTicketsRedeemv2(logId, parkingTicketsRedeemBodyResidentV2, options) {
|
|
4642
|
+
return (0, exports.DefaultApiFp)(this.configuration).parkingResidentialTicketsRedeemv2(logId, parkingTicketsRedeemBodyResidentV2, options).then((request) => request(this.axios, this.basePath));
|
|
4643
|
+
}
|
|
4561
4644
|
/**
|
|
4562
4645
|
*
|
|
4563
4646
|
* @param {string} tenantId
|
|
@@ -4591,25 +4674,26 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
4591
4674
|
}
|
|
4592
4675
|
/**
|
|
4593
4676
|
*
|
|
4594
|
-
* @param {
|
|
4595
|
-
* @param {string}
|
|
4677
|
+
* @param {ImportPhysicalParkingTicketBody} importPhysicalParkingTicketBody
|
|
4678
|
+
* @param {string} [xAccountId]
|
|
4596
4679
|
* @param {*} [options] Override http request option.
|
|
4597
4680
|
* @throws {RequiredError}
|
|
4598
4681
|
* @memberof DefaultApi
|
|
4599
4682
|
*/
|
|
4600
|
-
|
|
4601
|
-
return (0, exports.DefaultApiFp)(this.configuration).
|
|
4683
|
+
parkingTicketsImport(importPhysicalParkingTicketBody, xAccountId, options) {
|
|
4684
|
+
return (0, exports.DefaultApiFp)(this.configuration).parkingTicketsImport(importPhysicalParkingTicketBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
4602
4685
|
}
|
|
4603
4686
|
/**
|
|
4604
4687
|
*
|
|
4605
|
-
* @param {
|
|
4606
|
-
* @param {
|
|
4688
|
+
* @param {string} xAccountId
|
|
4689
|
+
* @param {ParkingTicketsIndexTypeEnum} type
|
|
4690
|
+
* @param {string} id
|
|
4607
4691
|
* @param {*} [options] Override http request option.
|
|
4608
4692
|
* @throws {RequiredError}
|
|
4609
4693
|
* @memberof DefaultApi
|
|
4610
4694
|
*/
|
|
4611
|
-
|
|
4612
|
-
return (0, exports.DefaultApiFp)(this.configuration).
|
|
4695
|
+
parkingTicketsIndex(xAccountId, type, id, options) {
|
|
4696
|
+
return (0, exports.DefaultApiFp)(this.configuration).parkingTicketsIndex(xAccountId, type, id, options).then((request) => request(this.axios, this.basePath));
|
|
4613
4697
|
}
|
|
4614
4698
|
/**
|
|
4615
4699
|
*
|
|
@@ -4792,12 +4876,13 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
4792
4876
|
*
|
|
4793
4877
|
* @param {string} id
|
|
4794
4878
|
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
4879
|
+
* @param {string} [xAccountId]
|
|
4795
4880
|
* @param {*} [options] Override http request option.
|
|
4796
4881
|
* @throws {RequiredError}
|
|
4797
4882
|
* @memberof DefaultApi
|
|
4798
4883
|
*/
|
|
4799
|
-
visitorSchedulesUpdate(id, updateVisitorScheduleBody, options) {
|
|
4800
|
-
return (0, exports.DefaultApiFp)(this.configuration).visitorSchedulesUpdate(id, updateVisitorScheduleBody, options).then((request) => request(this.axios, this.basePath));
|
|
4884
|
+
visitorSchedulesUpdate(id, updateVisitorScheduleBody, xAccountId, options) {
|
|
4885
|
+
return (0, exports.DefaultApiFp)(this.configuration).visitorSchedulesUpdate(id, updateVisitorScheduleBody, xAccountId, options).then((request) => request(this.axios, this.basePath));
|
|
4801
4886
|
}
|
|
4802
4887
|
/**
|
|
4803
4888
|
*
|