ob-bms-sdk 0.0.70 → 0.0.72
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 +179 -201
- package/dist/api/api.d.ts +136 -205
- package/dist/api/api.js +84 -1
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -225,6 +225,12 @@ export interface ACRequestResponse {
|
|
|
225
225
|
* @memberof ACRequestResponse
|
|
226
226
|
*/
|
|
227
227
|
'requester': RequesterData;
|
|
228
|
+
/**
|
|
229
|
+
*
|
|
230
|
+
* @type {string}
|
|
231
|
+
* @memberof ACRequestResponse
|
|
232
|
+
*/
|
|
233
|
+
'references': string;
|
|
228
234
|
}
|
|
229
235
|
/**
|
|
230
236
|
*
|
|
@@ -241,6 +247,52 @@ export const ACRequestStatus = {
|
|
|
241
247
|
export type ACRequestStatus = typeof ACRequestStatus[keyof typeof ACRequestStatus];
|
|
242
248
|
|
|
243
249
|
|
|
250
|
+
/**
|
|
251
|
+
*
|
|
252
|
+
* @export
|
|
253
|
+
* @enum {string}
|
|
254
|
+
*/
|
|
255
|
+
|
|
256
|
+
export const ACRequestStatusApproved = {
|
|
257
|
+
Approved: 'approved'
|
|
258
|
+
} as const;
|
|
259
|
+
|
|
260
|
+
export type ACRequestStatusApproved = typeof ACRequestStatusApproved[keyof typeof ACRequestStatusApproved];
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
*
|
|
265
|
+
* @export
|
|
266
|
+
* @enum {string}
|
|
267
|
+
*/
|
|
268
|
+
|
|
269
|
+
export const ACRequestStatusRejected = {
|
|
270
|
+
Rejected: 'rejected'
|
|
271
|
+
} as const;
|
|
272
|
+
|
|
273
|
+
export type ACRequestStatusRejected = typeof ACRequestStatusRejected[keyof typeof ACRequestStatusRejected];
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
*
|
|
278
|
+
* @export
|
|
279
|
+
* @interface ACRequestUpdateBody
|
|
280
|
+
*/
|
|
281
|
+
export interface ACRequestUpdateBody {
|
|
282
|
+
/**
|
|
283
|
+
*
|
|
284
|
+
* @type {ACRequestUpdateBodyStatus}
|
|
285
|
+
* @memberof ACRequestUpdateBody
|
|
286
|
+
*/
|
|
287
|
+
'status': ACRequestUpdateBodyStatus;
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
*
|
|
291
|
+
* @export
|
|
292
|
+
* @interface ACRequestUpdateBodyStatus
|
|
293
|
+
*/
|
|
294
|
+
export interface ACRequestUpdateBodyStatus {
|
|
295
|
+
}
|
|
244
296
|
/**
|
|
245
297
|
*
|
|
246
298
|
* @export
|
|
@@ -463,7 +515,7 @@ export interface CreateServiceRequestResponse {
|
|
|
463
515
|
* @type {string}
|
|
464
516
|
* @memberof CreateServiceRequestResponse
|
|
465
517
|
*/
|
|
466
|
-
'
|
|
518
|
+
'references': string;
|
|
467
519
|
}
|
|
468
520
|
/**
|
|
469
521
|
*
|
|
@@ -1801,6 +1853,12 @@ export interface ServiceRequestData {
|
|
|
1801
1853
|
* @memberof ServiceRequestData
|
|
1802
1854
|
*/
|
|
1803
1855
|
'created_at': string;
|
|
1856
|
+
/**
|
|
1857
|
+
*
|
|
1858
|
+
* @type {string}
|
|
1859
|
+
* @memberof ServiceRequestData
|
|
1860
|
+
*/
|
|
1861
|
+
'references': string;
|
|
1804
1862
|
/**
|
|
1805
1863
|
*
|
|
1806
1864
|
* @type {string}
|
|
@@ -2855,258 +2913,106 @@ export interface WebhookCreateBodyPayload {
|
|
|
2855
2913
|
/**
|
|
2856
2914
|
*
|
|
2857
2915
|
* @export
|
|
2858
|
-
* @interface
|
|
2859
|
-
*/
|
|
2860
|
-
export interface WrappedArrayResponseSensorsIndexResponseData {
|
|
2861
|
-
/**
|
|
2862
|
-
*
|
|
2863
|
-
* @type {Array<FloorSensorData>}
|
|
2864
|
-
* @memberof WrappedArrayResponseSensorsIndexResponseData
|
|
2865
|
-
*/
|
|
2866
|
-
'data': Array<FloorSensorData>;
|
|
2867
|
-
}
|
|
2868
|
-
/**
|
|
2869
|
-
*
|
|
2870
|
-
* @export
|
|
2871
|
-
* @interface WrappedArrayResponseServiceRequestData
|
|
2916
|
+
* @interface WrappedArrayResponseACRequestResponse
|
|
2872
2917
|
*/
|
|
2873
|
-
export interface
|
|
2918
|
+
export interface WrappedArrayResponseACRequestResponse {
|
|
2874
2919
|
/**
|
|
2875
2920
|
*
|
|
2876
|
-
* @type {Array<
|
|
2877
|
-
* @memberof
|
|
2921
|
+
* @type {Array<ACRequestResponse>}
|
|
2922
|
+
* @memberof WrappedArrayResponseACRequestResponse
|
|
2878
2923
|
*/
|
|
2879
|
-
'data': Array<
|
|
2924
|
+
'data': Array<ACRequestResponse>;
|
|
2880
2925
|
}
|
|
2881
2926
|
/**
|
|
2882
2927
|
*
|
|
2883
2928
|
* @export
|
|
2884
|
-
* @interface
|
|
2929
|
+
* @interface WrappedArrayResponseACZoneData
|
|
2885
2930
|
*/
|
|
2886
|
-
export interface
|
|
2931
|
+
export interface WrappedArrayResponseACZoneData {
|
|
2887
2932
|
/**
|
|
2888
2933
|
*
|
|
2889
|
-
* @type {
|
|
2890
|
-
* @memberof
|
|
2934
|
+
* @type {Array<ACZoneData>}
|
|
2935
|
+
* @memberof WrappedArrayResponseACZoneData
|
|
2891
2936
|
*/
|
|
2892
|
-
'data':
|
|
2937
|
+
'data': Array<ACZoneData>;
|
|
2893
2938
|
}
|
|
2894
2939
|
/**
|
|
2895
2940
|
*
|
|
2896
2941
|
* @export
|
|
2897
|
-
* @interface
|
|
2942
|
+
* @interface WrappedArrayResponseSensorsIndexResponseData
|
|
2898
2943
|
*/
|
|
2899
|
-
export interface
|
|
2944
|
+
export interface WrappedArrayResponseSensorsIndexResponseData {
|
|
2900
2945
|
/**
|
|
2901
2946
|
*
|
|
2902
|
-
* @type {
|
|
2903
|
-
* @memberof
|
|
2947
|
+
* @type {Array<FloorSensorData>}
|
|
2948
|
+
* @memberof WrappedArrayResponseSensorsIndexResponseData
|
|
2904
2949
|
*/
|
|
2905
|
-
'data':
|
|
2950
|
+
'data': Array<FloorSensorData>;
|
|
2906
2951
|
}
|
|
2907
2952
|
/**
|
|
2908
2953
|
*
|
|
2909
2954
|
* @export
|
|
2910
|
-
* @interface
|
|
2955
|
+
* @interface WrappedArrayResponseServiceRequestData
|
|
2911
2956
|
*/
|
|
2912
|
-
export interface
|
|
2957
|
+
export interface WrappedArrayResponseServiceRequestData {
|
|
2913
2958
|
/**
|
|
2914
2959
|
*
|
|
2915
|
-
* @type {
|
|
2916
|
-
* @memberof
|
|
2960
|
+
* @type {Array<ServiceRequestData>}
|
|
2961
|
+
* @memberof WrappedArrayResponseServiceRequestData
|
|
2917
2962
|
*/
|
|
2918
|
-
'data':
|
|
2963
|
+
'data': Array<ServiceRequestData>;
|
|
2919
2964
|
}
|
|
2920
2965
|
/**
|
|
2921
2966
|
*
|
|
2922
2967
|
* @export
|
|
2923
|
-
* @interface
|
|
2968
|
+
* @interface WrappedOneResponseACRequestResponse
|
|
2924
2969
|
*/
|
|
2925
|
-
export interface
|
|
2926
|
-
/**
|
|
2927
|
-
*
|
|
2928
|
-
* @type {string}
|
|
2929
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2930
|
-
*/
|
|
2931
|
-
'id': string;
|
|
2932
|
-
/**
|
|
2933
|
-
*
|
|
2934
|
-
* @type {string}
|
|
2935
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2936
|
-
*/
|
|
2937
|
-
'tower_id': string;
|
|
2938
|
-
/**
|
|
2939
|
-
*
|
|
2940
|
-
* @type {string}
|
|
2941
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2942
|
-
*/
|
|
2943
|
-
'floor_id': string;
|
|
2944
|
-
/**
|
|
2945
|
-
*
|
|
2946
|
-
* @type {string}
|
|
2947
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2948
|
-
*/
|
|
2949
|
-
'ac_zone_id': string;
|
|
2950
|
-
/**
|
|
2951
|
-
*
|
|
2952
|
-
* @type {string}
|
|
2953
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2954
|
-
*/
|
|
2955
|
-
'estimated_cost': string;
|
|
2956
|
-
/**
|
|
2957
|
-
*
|
|
2958
|
-
* @type {string}
|
|
2959
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2960
|
-
*/
|
|
2961
|
-
'rate': string;
|
|
2962
|
-
/**
|
|
2963
|
-
*
|
|
2964
|
-
* @type {string}
|
|
2965
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2966
|
-
*/
|
|
2967
|
-
'from': string;
|
|
2968
|
-
/**
|
|
2969
|
-
*
|
|
2970
|
-
* @type {string}
|
|
2971
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2972
|
-
*/
|
|
2973
|
-
'to': string;
|
|
2974
|
-
/**
|
|
2975
|
-
*
|
|
2976
|
-
* @type {number}
|
|
2977
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2978
|
-
*/
|
|
2979
|
-
'duration_hour': number;
|
|
2980
|
-
/**
|
|
2981
|
-
*
|
|
2982
|
-
* @type {number}
|
|
2983
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2984
|
-
*/
|
|
2985
|
-
'area_size': number;
|
|
2986
|
-
/**
|
|
2987
|
-
*
|
|
2988
|
-
* @type {string}
|
|
2989
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2990
|
-
*/
|
|
2991
|
-
'status': string;
|
|
2992
|
-
/**
|
|
2993
|
-
*
|
|
2994
|
-
* @type {string}
|
|
2995
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2996
|
-
*/
|
|
2997
|
-
'created_at': string;
|
|
2998
|
-
/**
|
|
2999
|
-
*
|
|
3000
|
-
* @type {string}
|
|
3001
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
3002
|
-
*/
|
|
3003
|
-
'updated_at': string;
|
|
3004
|
-
/**
|
|
3005
|
-
*
|
|
3006
|
-
* @type {string}
|
|
3007
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
3008
|
-
*/
|
|
3009
|
-
'requester_id': string;
|
|
2970
|
+
export interface WrappedOneResponseACRequestResponse {
|
|
3010
2971
|
/**
|
|
3011
2972
|
*
|
|
3012
|
-
* @type {
|
|
3013
|
-
* @memberof
|
|
3014
|
-
*/
|
|
3015
|
-
'ac_zone': ACZoneData;
|
|
3016
|
-
/**
|
|
3017
|
-
*
|
|
3018
|
-
* @type {FloorData}
|
|
3019
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
3020
|
-
*/
|
|
3021
|
-
'floor': FloorData;
|
|
3022
|
-
/**
|
|
3023
|
-
*
|
|
3024
|
-
* @type {TowerData}
|
|
3025
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
3026
|
-
*/
|
|
3027
|
-
'tower': TowerData;
|
|
3028
|
-
/**
|
|
3029
|
-
*
|
|
3030
|
-
* @type {RequesterData}
|
|
3031
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2973
|
+
* @type {ACRequestResponse}
|
|
2974
|
+
* @memberof WrappedOneResponseACRequestResponse
|
|
3032
2975
|
*/
|
|
3033
|
-
'
|
|
2976
|
+
'data': ACRequestResponse;
|
|
3034
2977
|
}
|
|
3035
2978
|
/**
|
|
3036
2979
|
*
|
|
3037
2980
|
* @export
|
|
3038
|
-
* @interface
|
|
2981
|
+
* @interface WrappedOneResponseBoolean
|
|
3039
2982
|
*/
|
|
3040
|
-
export interface
|
|
2983
|
+
export interface WrappedOneResponseBoolean {
|
|
3041
2984
|
/**
|
|
3042
2985
|
*
|
|
3043
|
-
* @type {
|
|
3044
|
-
* @memberof
|
|
2986
|
+
* @type {boolean}
|
|
2987
|
+
* @memberof WrappedOneResponseBoolean
|
|
3045
2988
|
*/
|
|
3046
|
-
'data':
|
|
2989
|
+
'data': boolean;
|
|
3047
2990
|
}
|
|
3048
2991
|
/**
|
|
3049
2992
|
*
|
|
3050
2993
|
* @export
|
|
3051
|
-
* @interface
|
|
2994
|
+
* @interface WrappedOneResponseCreateServiceRequestResponse
|
|
3052
2995
|
*/
|
|
3053
|
-
export interface
|
|
3054
|
-
/**
|
|
3055
|
-
*
|
|
3056
|
-
* @type {string}
|
|
3057
|
-
* @memberof WrappedResponseACZoneDataData
|
|
3058
|
-
*/
|
|
3059
|
-
'id': string;
|
|
3060
|
-
/**
|
|
3061
|
-
*
|
|
3062
|
-
* @type {string}
|
|
3063
|
-
* @memberof WrappedResponseACZoneDataData
|
|
3064
|
-
*/
|
|
3065
|
-
'name': string;
|
|
3066
|
-
/**
|
|
3067
|
-
*
|
|
3068
|
-
* @type {number}
|
|
3069
|
-
* @memberof WrappedResponseACZoneDataData
|
|
3070
|
-
*/
|
|
3071
|
-
'area_size': number;
|
|
3072
|
-
/**
|
|
3073
|
-
*
|
|
3074
|
-
* @type {string}
|
|
3075
|
-
* @memberof WrappedResponseACZoneDataData
|
|
3076
|
-
*/
|
|
3077
|
-
'floor_id': string;
|
|
3078
|
-
/**
|
|
3079
|
-
*
|
|
3080
|
-
* @type {string}
|
|
3081
|
-
* @memberof WrappedResponseACZoneDataData
|
|
3082
|
-
*/
|
|
3083
|
-
'created_at': string;
|
|
2996
|
+
export interface WrappedOneResponseCreateServiceRequestResponse {
|
|
3084
2997
|
/**
|
|
3085
2998
|
*
|
|
3086
|
-
* @type {
|
|
3087
|
-
* @memberof
|
|
2999
|
+
* @type {CreateServiceRequestResponse}
|
|
3000
|
+
* @memberof WrappedOneResponseCreateServiceRequestResponse
|
|
3088
3001
|
*/
|
|
3089
|
-
'
|
|
3002
|
+
'data': CreateServiceRequestResponse;
|
|
3090
3003
|
}
|
|
3091
3004
|
/**
|
|
3092
3005
|
*
|
|
3093
3006
|
* @export
|
|
3094
|
-
* @interface
|
|
3007
|
+
* @interface WrappedOneResponseServiceRequestData
|
|
3095
3008
|
*/
|
|
3096
|
-
export interface
|
|
3009
|
+
export interface WrappedOneResponseServiceRequestData {
|
|
3097
3010
|
/**
|
|
3098
3011
|
*
|
|
3099
|
-
* @type {
|
|
3100
|
-
* @memberof
|
|
3012
|
+
* @type {ServiceRequestData}
|
|
3013
|
+
* @memberof WrappedOneResponseServiceRequestData
|
|
3101
3014
|
*/
|
|
3102
|
-
'data':
|
|
3103
|
-
}
|
|
3104
|
-
/**
|
|
3105
|
-
*
|
|
3106
|
-
* @export
|
|
3107
|
-
* @interface WrappedResponseBooleanData
|
|
3108
|
-
*/
|
|
3109
|
-
export interface WrappedResponseBooleanData {
|
|
3015
|
+
'data': ServiceRequestData;
|
|
3110
3016
|
}
|
|
3111
3017
|
/**
|
|
3112
3018
|
*
|
|
@@ -3890,6 +3796,45 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3890
3796
|
options: localVarRequestOptions,
|
|
3891
3797
|
};
|
|
3892
3798
|
},
|
|
3799
|
+
/**
|
|
3800
|
+
*
|
|
3801
|
+
* @param {string} id
|
|
3802
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
3803
|
+
* @param {*} [options] Override http request option.
|
|
3804
|
+
* @throws {RequiredError}
|
|
3805
|
+
*/
|
|
3806
|
+
acRequestUpdate: async (id: string, aCRequestUpdateBody: ACRequestUpdateBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3807
|
+
// verify required parameter 'id' is not null or undefined
|
|
3808
|
+
assertParamExists('acRequestUpdate', 'id', id)
|
|
3809
|
+
// verify required parameter 'aCRequestUpdateBody' is not null or undefined
|
|
3810
|
+
assertParamExists('acRequestUpdate', 'aCRequestUpdateBody', aCRequestUpdateBody)
|
|
3811
|
+
const localVarPath = `/ac_request/{id}`
|
|
3812
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3813
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3814
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3815
|
+
let baseOptions;
|
|
3816
|
+
if (configuration) {
|
|
3817
|
+
baseOptions = configuration.baseOptions;
|
|
3818
|
+
}
|
|
3819
|
+
|
|
3820
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
3821
|
+
const localVarHeaderParameter = {} as any;
|
|
3822
|
+
const localVarQueryParameter = {} as any;
|
|
3823
|
+
|
|
3824
|
+
|
|
3825
|
+
|
|
3826
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3827
|
+
|
|
3828
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3829
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3830
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3831
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aCRequestUpdateBody, localVarRequestOptions, configuration)
|
|
3832
|
+
|
|
3833
|
+
return {
|
|
3834
|
+
url: toPathString(localVarUrlObj),
|
|
3835
|
+
options: localVarRequestOptions,
|
|
3836
|
+
};
|
|
3837
|
+
},
|
|
3893
3838
|
/**
|
|
3894
3839
|
*
|
|
3895
3840
|
* @param {string} floorId
|
|
@@ -4956,7 +4901,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
4956
4901
|
* @param {*} [options] Override http request option.
|
|
4957
4902
|
* @throws {RequiredError}
|
|
4958
4903
|
*/
|
|
4959
|
-
async acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4904
|
+
async acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseBoolean>> {
|
|
4960
4905
|
const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestCreate(aCRequestBody, options);
|
|
4961
4906
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4962
4907
|
},
|
|
@@ -4971,7 +4916,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
4971
4916
|
* @param {*} [options] Override http request option.
|
|
4972
4917
|
* @throws {RequiredError}
|
|
4973
4918
|
*/
|
|
4974
|
-
async acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4919
|
+
async acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseACRequestResponse>> {
|
|
4975
4920
|
const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options);
|
|
4976
4921
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4977
4922
|
},
|
|
@@ -4981,17 +4926,28 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
4981
4926
|
* @param {*} [options] Override http request option.
|
|
4982
4927
|
* @throws {RequiredError}
|
|
4983
4928
|
*/
|
|
4984
|
-
async acRequestShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4929
|
+
async acRequestShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseACRequestResponse>> {
|
|
4985
4930
|
const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestShow(id, options);
|
|
4986
4931
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4987
4932
|
},
|
|
4933
|
+
/**
|
|
4934
|
+
*
|
|
4935
|
+
* @param {string} id
|
|
4936
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
4937
|
+
* @param {*} [options] Override http request option.
|
|
4938
|
+
* @throws {RequiredError}
|
|
4939
|
+
*/
|
|
4940
|
+
async acRequestUpdate(id: string, aCRequestUpdateBody: ACRequestUpdateBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseACRequestResponse>> {
|
|
4941
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestUpdate(id, aCRequestUpdateBody, options);
|
|
4942
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4943
|
+
},
|
|
4988
4944
|
/**
|
|
4989
4945
|
*
|
|
4990
4946
|
* @param {string} floorId
|
|
4991
4947
|
* @param {*} [options] Override http request option.
|
|
4992
4948
|
* @throws {RequiredError}
|
|
4993
4949
|
*/
|
|
4994
|
-
async acZonesShow(floorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4950
|
+
async acZonesShow(floorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseACZoneData>> {
|
|
4995
4951
|
const localVarAxiosArgs = await localVarAxiosParamCreator.acZonesShow(floorId, options);
|
|
4996
4952
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4997
4953
|
},
|
|
@@ -5299,7 +5255,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5299
5255
|
* @param {*} [options] Override http request option.
|
|
5300
5256
|
* @throws {RequiredError}
|
|
5301
5257
|
*/
|
|
5302
|
-
acRequestCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<
|
|
5258
|
+
acRequestCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<WrappedOneResponseBoolean> {
|
|
5303
5259
|
return localVarFp.acRequestCreate(aCRequestBody, options).then((request) => request(axios, basePath));
|
|
5304
5260
|
},
|
|
5305
5261
|
/**
|
|
@@ -5313,7 +5269,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5313
5269
|
* @param {*} [options] Override http request option.
|
|
5314
5270
|
* @throws {RequiredError}
|
|
5315
5271
|
*/
|
|
5316
|
-
acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: any): AxiosPromise<
|
|
5272
|
+
acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: any): AxiosPromise<WrappedArrayResponseACRequestResponse> {
|
|
5317
5273
|
return localVarFp.acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options).then((request) => request(axios, basePath));
|
|
5318
5274
|
},
|
|
5319
5275
|
/**
|
|
@@ -5322,16 +5278,26 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5322
5278
|
* @param {*} [options] Override http request option.
|
|
5323
5279
|
* @throws {RequiredError}
|
|
5324
5280
|
*/
|
|
5325
|
-
acRequestShow(id: string, options?: any): AxiosPromise<
|
|
5281
|
+
acRequestShow(id: string, options?: any): AxiosPromise<WrappedOneResponseACRequestResponse> {
|
|
5326
5282
|
return localVarFp.acRequestShow(id, options).then((request) => request(axios, basePath));
|
|
5327
5283
|
},
|
|
5284
|
+
/**
|
|
5285
|
+
*
|
|
5286
|
+
* @param {string} id
|
|
5287
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
5288
|
+
* @param {*} [options] Override http request option.
|
|
5289
|
+
* @throws {RequiredError}
|
|
5290
|
+
*/
|
|
5291
|
+
acRequestUpdate(id: string, aCRequestUpdateBody: ACRequestUpdateBody, options?: any): AxiosPromise<WrappedOneResponseACRequestResponse> {
|
|
5292
|
+
return localVarFp.acRequestUpdate(id, aCRequestUpdateBody, options).then((request) => request(axios, basePath));
|
|
5293
|
+
},
|
|
5328
5294
|
/**
|
|
5329
5295
|
*
|
|
5330
5296
|
* @param {string} floorId
|
|
5331
5297
|
* @param {*} [options] Override http request option.
|
|
5332
5298
|
* @throws {RequiredError}
|
|
5333
5299
|
*/
|
|
5334
|
-
acZonesShow(floorId: string, options?: any): AxiosPromise<
|
|
5300
|
+
acZonesShow(floorId: string, options?: any): AxiosPromise<WrappedArrayResponseACZoneData> {
|
|
5335
5301
|
return localVarFp.acZonesShow(floorId, options).then((request) => request(axios, basePath));
|
|
5336
5302
|
},
|
|
5337
5303
|
/**
|
|
@@ -5643,6 +5609,18 @@ export class DefaultApi extends BaseAPI {
|
|
|
5643
5609
|
return DefaultApiFp(this.configuration).acRequestShow(id, options).then((request) => request(this.axios, this.basePath));
|
|
5644
5610
|
}
|
|
5645
5611
|
|
|
5612
|
+
/**
|
|
5613
|
+
*
|
|
5614
|
+
* @param {string} id
|
|
5615
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
5616
|
+
* @param {*} [options] Override http request option.
|
|
5617
|
+
* @throws {RequiredError}
|
|
5618
|
+
* @memberof DefaultApi
|
|
5619
|
+
*/
|
|
5620
|
+
public acRequestUpdate(id: string, aCRequestUpdateBody: ACRequestUpdateBody, options?: AxiosRequestConfig) {
|
|
5621
|
+
return DefaultApiFp(this.configuration).acRequestUpdate(id, aCRequestUpdateBody, options).then((request) => request(this.axios, this.basePath));
|
|
5622
|
+
}
|
|
5623
|
+
|
|
5646
5624
|
/**
|
|
5647
5625
|
*
|
|
5648
5626
|
* @param {string} floorId
|
package/dist/api/api.d.ts
CHANGED
|
@@ -213,6 +213,12 @@ export interface ACRequestResponse {
|
|
|
213
213
|
* @memberof ACRequestResponse
|
|
214
214
|
*/
|
|
215
215
|
'requester': RequesterData;
|
|
216
|
+
/**
|
|
217
|
+
*
|
|
218
|
+
* @type {string}
|
|
219
|
+
* @memberof ACRequestResponse
|
|
220
|
+
*/
|
|
221
|
+
'references': string;
|
|
216
222
|
}
|
|
217
223
|
/**
|
|
218
224
|
*
|
|
@@ -225,6 +231,44 @@ export declare const ACRequestStatus: {
|
|
|
225
231
|
readonly Approved: "approved";
|
|
226
232
|
};
|
|
227
233
|
export type ACRequestStatus = typeof ACRequestStatus[keyof typeof ACRequestStatus];
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* @export
|
|
237
|
+
* @enum {string}
|
|
238
|
+
*/
|
|
239
|
+
export declare const ACRequestStatusApproved: {
|
|
240
|
+
readonly Approved: "approved";
|
|
241
|
+
};
|
|
242
|
+
export type ACRequestStatusApproved = typeof ACRequestStatusApproved[keyof typeof ACRequestStatusApproved];
|
|
243
|
+
/**
|
|
244
|
+
*
|
|
245
|
+
* @export
|
|
246
|
+
* @enum {string}
|
|
247
|
+
*/
|
|
248
|
+
export declare const ACRequestStatusRejected: {
|
|
249
|
+
readonly Rejected: "rejected";
|
|
250
|
+
};
|
|
251
|
+
export type ACRequestStatusRejected = typeof ACRequestStatusRejected[keyof typeof ACRequestStatusRejected];
|
|
252
|
+
/**
|
|
253
|
+
*
|
|
254
|
+
* @export
|
|
255
|
+
* @interface ACRequestUpdateBody
|
|
256
|
+
*/
|
|
257
|
+
export interface ACRequestUpdateBody {
|
|
258
|
+
/**
|
|
259
|
+
*
|
|
260
|
+
* @type {ACRequestUpdateBodyStatus}
|
|
261
|
+
* @memberof ACRequestUpdateBody
|
|
262
|
+
*/
|
|
263
|
+
'status': ACRequestUpdateBodyStatus;
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
*
|
|
267
|
+
* @export
|
|
268
|
+
* @interface ACRequestUpdateBodyStatus
|
|
269
|
+
*/
|
|
270
|
+
export interface ACRequestUpdateBodyStatus {
|
|
271
|
+
}
|
|
228
272
|
/**
|
|
229
273
|
*
|
|
230
274
|
* @export
|
|
@@ -451,7 +495,7 @@ export interface CreateServiceRequestResponse {
|
|
|
451
495
|
* @type {string}
|
|
452
496
|
* @memberof CreateServiceRequestResponse
|
|
453
497
|
*/
|
|
454
|
-
'
|
|
498
|
+
'references': string;
|
|
455
499
|
}
|
|
456
500
|
/**
|
|
457
501
|
*
|
|
@@ -1778,6 +1822,12 @@ export interface ServiceRequestData {
|
|
|
1778
1822
|
* @memberof ServiceRequestData
|
|
1779
1823
|
*/
|
|
1780
1824
|
'created_at': string;
|
|
1825
|
+
/**
|
|
1826
|
+
*
|
|
1827
|
+
* @type {string}
|
|
1828
|
+
* @memberof ServiceRequestData
|
|
1829
|
+
*/
|
|
1830
|
+
'references': string;
|
|
1781
1831
|
/**
|
|
1782
1832
|
*
|
|
1783
1833
|
* @type {string}
|
|
@@ -2815,258 +2865,106 @@ export interface WebhookCreateBodyPayload {
|
|
|
2815
2865
|
/**
|
|
2816
2866
|
*
|
|
2817
2867
|
* @export
|
|
2818
|
-
* @interface
|
|
2868
|
+
* @interface WrappedArrayResponseACRequestResponse
|
|
2819
2869
|
*/
|
|
2820
|
-
export interface
|
|
2870
|
+
export interface WrappedArrayResponseACRequestResponse {
|
|
2821
2871
|
/**
|
|
2822
2872
|
*
|
|
2823
|
-
* @type {Array<
|
|
2824
|
-
* @memberof
|
|
2873
|
+
* @type {Array<ACRequestResponse>}
|
|
2874
|
+
* @memberof WrappedArrayResponseACRequestResponse
|
|
2825
2875
|
*/
|
|
2826
|
-
'data': Array<
|
|
2876
|
+
'data': Array<ACRequestResponse>;
|
|
2827
2877
|
}
|
|
2828
2878
|
/**
|
|
2829
2879
|
*
|
|
2830
2880
|
* @export
|
|
2831
|
-
* @interface
|
|
2881
|
+
* @interface WrappedArrayResponseACZoneData
|
|
2832
2882
|
*/
|
|
2833
|
-
export interface
|
|
2883
|
+
export interface WrappedArrayResponseACZoneData {
|
|
2834
2884
|
/**
|
|
2835
2885
|
*
|
|
2836
|
-
* @type {Array<
|
|
2837
|
-
* @memberof
|
|
2886
|
+
* @type {Array<ACZoneData>}
|
|
2887
|
+
* @memberof WrappedArrayResponseACZoneData
|
|
2838
2888
|
*/
|
|
2839
|
-
'data': Array<
|
|
2889
|
+
'data': Array<ACZoneData>;
|
|
2840
2890
|
}
|
|
2841
2891
|
/**
|
|
2842
2892
|
*
|
|
2843
2893
|
* @export
|
|
2844
|
-
* @interface
|
|
2894
|
+
* @interface WrappedArrayResponseSensorsIndexResponseData
|
|
2845
2895
|
*/
|
|
2846
|
-
export interface
|
|
2896
|
+
export interface WrappedArrayResponseSensorsIndexResponseData {
|
|
2847
2897
|
/**
|
|
2848
2898
|
*
|
|
2849
|
-
* @type {
|
|
2850
|
-
* @memberof
|
|
2899
|
+
* @type {Array<FloorSensorData>}
|
|
2900
|
+
* @memberof WrappedArrayResponseSensorsIndexResponseData
|
|
2851
2901
|
*/
|
|
2852
|
-
'data':
|
|
2902
|
+
'data': Array<FloorSensorData>;
|
|
2853
2903
|
}
|
|
2854
2904
|
/**
|
|
2855
2905
|
*
|
|
2856
2906
|
* @export
|
|
2857
|
-
* @interface
|
|
2907
|
+
* @interface WrappedArrayResponseServiceRequestData
|
|
2858
2908
|
*/
|
|
2859
|
-
export interface
|
|
2909
|
+
export interface WrappedArrayResponseServiceRequestData {
|
|
2860
2910
|
/**
|
|
2861
2911
|
*
|
|
2862
|
-
* @type {ServiceRequestData}
|
|
2863
|
-
* @memberof
|
|
2912
|
+
* @type {Array<ServiceRequestData>}
|
|
2913
|
+
* @memberof WrappedArrayResponseServiceRequestData
|
|
2864
2914
|
*/
|
|
2865
|
-
'data': ServiceRequestData
|
|
2915
|
+
'data': Array<ServiceRequestData>;
|
|
2866
2916
|
}
|
|
2867
2917
|
/**
|
|
2868
2918
|
*
|
|
2869
2919
|
* @export
|
|
2870
|
-
* @interface
|
|
2920
|
+
* @interface WrappedOneResponseACRequestResponse
|
|
2871
2921
|
*/
|
|
2872
|
-
export interface
|
|
2922
|
+
export interface WrappedOneResponseACRequestResponse {
|
|
2873
2923
|
/**
|
|
2874
2924
|
*
|
|
2875
|
-
* @type {
|
|
2876
|
-
* @memberof
|
|
2925
|
+
* @type {ACRequestResponse}
|
|
2926
|
+
* @memberof WrappedOneResponseACRequestResponse
|
|
2877
2927
|
*/
|
|
2878
|
-
'data':
|
|
2928
|
+
'data': ACRequestResponse;
|
|
2879
2929
|
}
|
|
2880
2930
|
/**
|
|
2881
2931
|
*
|
|
2882
2932
|
* @export
|
|
2883
|
-
* @interface
|
|
2933
|
+
* @interface WrappedOneResponseBoolean
|
|
2884
2934
|
*/
|
|
2885
|
-
export interface
|
|
2886
|
-
/**
|
|
2887
|
-
*
|
|
2888
|
-
* @type {string}
|
|
2889
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2890
|
-
*/
|
|
2891
|
-
'id': string;
|
|
2892
|
-
/**
|
|
2893
|
-
*
|
|
2894
|
-
* @type {string}
|
|
2895
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2896
|
-
*/
|
|
2897
|
-
'tower_id': string;
|
|
2898
|
-
/**
|
|
2899
|
-
*
|
|
2900
|
-
* @type {string}
|
|
2901
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2902
|
-
*/
|
|
2903
|
-
'floor_id': string;
|
|
2904
|
-
/**
|
|
2905
|
-
*
|
|
2906
|
-
* @type {string}
|
|
2907
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2908
|
-
*/
|
|
2909
|
-
'ac_zone_id': string;
|
|
2910
|
-
/**
|
|
2911
|
-
*
|
|
2912
|
-
* @type {string}
|
|
2913
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2914
|
-
*/
|
|
2915
|
-
'estimated_cost': string;
|
|
2935
|
+
export interface WrappedOneResponseBoolean {
|
|
2916
2936
|
/**
|
|
2917
2937
|
*
|
|
2918
|
-
* @type {
|
|
2919
|
-
* @memberof
|
|
2920
|
-
*/
|
|
2921
|
-
'rate': string;
|
|
2922
|
-
/**
|
|
2923
|
-
*
|
|
2924
|
-
* @type {string}
|
|
2925
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2926
|
-
*/
|
|
2927
|
-
'from': string;
|
|
2928
|
-
/**
|
|
2929
|
-
*
|
|
2930
|
-
* @type {string}
|
|
2931
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2932
|
-
*/
|
|
2933
|
-
'to': string;
|
|
2934
|
-
/**
|
|
2935
|
-
*
|
|
2936
|
-
* @type {number}
|
|
2937
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2938
|
-
*/
|
|
2939
|
-
'duration_hour': number;
|
|
2940
|
-
/**
|
|
2941
|
-
*
|
|
2942
|
-
* @type {number}
|
|
2943
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2944
|
-
*/
|
|
2945
|
-
'area_size': number;
|
|
2946
|
-
/**
|
|
2947
|
-
*
|
|
2948
|
-
* @type {string}
|
|
2949
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2950
|
-
*/
|
|
2951
|
-
'status': string;
|
|
2952
|
-
/**
|
|
2953
|
-
*
|
|
2954
|
-
* @type {string}
|
|
2955
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2956
|
-
*/
|
|
2957
|
-
'created_at': string;
|
|
2958
|
-
/**
|
|
2959
|
-
*
|
|
2960
|
-
* @type {string}
|
|
2961
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2962
|
-
*/
|
|
2963
|
-
'updated_at': string;
|
|
2964
|
-
/**
|
|
2965
|
-
*
|
|
2966
|
-
* @type {string}
|
|
2967
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2968
|
-
*/
|
|
2969
|
-
'requester_id': string;
|
|
2970
|
-
/**
|
|
2971
|
-
*
|
|
2972
|
-
* @type {ACZoneData}
|
|
2973
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2974
|
-
*/
|
|
2975
|
-
'ac_zone': ACZoneData;
|
|
2976
|
-
/**
|
|
2977
|
-
*
|
|
2978
|
-
* @type {FloorData}
|
|
2979
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2980
|
-
*/
|
|
2981
|
-
'floor': FloorData;
|
|
2982
|
-
/**
|
|
2983
|
-
*
|
|
2984
|
-
* @type {TowerData}
|
|
2985
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2986
|
-
*/
|
|
2987
|
-
'tower': TowerData;
|
|
2988
|
-
/**
|
|
2989
|
-
*
|
|
2990
|
-
* @type {RequesterData}
|
|
2991
|
-
* @memberof WrappedResponseACRequestResponseData
|
|
2992
|
-
*/
|
|
2993
|
-
'requester': RequesterData;
|
|
2994
|
-
}
|
|
2995
|
-
/**
|
|
2996
|
-
*
|
|
2997
|
-
* @export
|
|
2998
|
-
* @interface WrappedResponseACZoneData
|
|
2999
|
-
*/
|
|
3000
|
-
export interface WrappedResponseACZoneData {
|
|
3001
|
-
/**
|
|
3002
|
-
*
|
|
3003
|
-
* @type {WrappedResponseACZoneDataData}
|
|
3004
|
-
* @memberof WrappedResponseACZoneData
|
|
2938
|
+
* @type {boolean}
|
|
2939
|
+
* @memberof WrappedOneResponseBoolean
|
|
3005
2940
|
*/
|
|
3006
|
-
'data':
|
|
2941
|
+
'data': boolean;
|
|
3007
2942
|
}
|
|
3008
2943
|
/**
|
|
3009
2944
|
*
|
|
3010
2945
|
* @export
|
|
3011
|
-
* @interface
|
|
2946
|
+
* @interface WrappedOneResponseCreateServiceRequestResponse
|
|
3012
2947
|
*/
|
|
3013
|
-
export interface
|
|
3014
|
-
/**
|
|
3015
|
-
*
|
|
3016
|
-
* @type {string}
|
|
3017
|
-
* @memberof WrappedResponseACZoneDataData
|
|
3018
|
-
*/
|
|
3019
|
-
'id': string;
|
|
3020
|
-
/**
|
|
3021
|
-
*
|
|
3022
|
-
* @type {string}
|
|
3023
|
-
* @memberof WrappedResponseACZoneDataData
|
|
3024
|
-
*/
|
|
3025
|
-
'name': string;
|
|
3026
|
-
/**
|
|
3027
|
-
*
|
|
3028
|
-
* @type {number}
|
|
3029
|
-
* @memberof WrappedResponseACZoneDataData
|
|
3030
|
-
*/
|
|
3031
|
-
'area_size': number;
|
|
3032
|
-
/**
|
|
3033
|
-
*
|
|
3034
|
-
* @type {string}
|
|
3035
|
-
* @memberof WrappedResponseACZoneDataData
|
|
3036
|
-
*/
|
|
3037
|
-
'floor_id': string;
|
|
3038
|
-
/**
|
|
3039
|
-
*
|
|
3040
|
-
* @type {string}
|
|
3041
|
-
* @memberof WrappedResponseACZoneDataData
|
|
3042
|
-
*/
|
|
3043
|
-
'created_at': string;
|
|
2948
|
+
export interface WrappedOneResponseCreateServiceRequestResponse {
|
|
3044
2949
|
/**
|
|
3045
2950
|
*
|
|
3046
|
-
* @type {
|
|
3047
|
-
* @memberof
|
|
2951
|
+
* @type {CreateServiceRequestResponse}
|
|
2952
|
+
* @memberof WrappedOneResponseCreateServiceRequestResponse
|
|
3048
2953
|
*/
|
|
3049
|
-
'
|
|
2954
|
+
'data': CreateServiceRequestResponse;
|
|
3050
2955
|
}
|
|
3051
2956
|
/**
|
|
3052
2957
|
*
|
|
3053
2958
|
* @export
|
|
3054
|
-
* @interface
|
|
2959
|
+
* @interface WrappedOneResponseServiceRequestData
|
|
3055
2960
|
*/
|
|
3056
|
-
export interface
|
|
2961
|
+
export interface WrappedOneResponseServiceRequestData {
|
|
3057
2962
|
/**
|
|
3058
2963
|
*
|
|
3059
|
-
* @type {
|
|
3060
|
-
* @memberof
|
|
2964
|
+
* @type {ServiceRequestData}
|
|
2965
|
+
* @memberof WrappedOneResponseServiceRequestData
|
|
3061
2966
|
*/
|
|
3062
|
-
'data':
|
|
3063
|
-
}
|
|
3064
|
-
/**
|
|
3065
|
-
*
|
|
3066
|
-
* @export
|
|
3067
|
-
* @interface WrappedResponseBooleanData
|
|
3068
|
-
*/
|
|
3069
|
-
export interface WrappedResponseBooleanData {
|
|
2967
|
+
'data': ServiceRequestData;
|
|
3070
2968
|
}
|
|
3071
2969
|
/**
|
|
3072
2970
|
*
|
|
@@ -3741,6 +3639,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
3741
3639
|
* @throws {RequiredError}
|
|
3742
3640
|
*/
|
|
3743
3641
|
acRequestShow: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3642
|
+
/**
|
|
3643
|
+
*
|
|
3644
|
+
* @param {string} id
|
|
3645
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
3646
|
+
* @param {*} [options] Override http request option.
|
|
3647
|
+
* @throws {RequiredError}
|
|
3648
|
+
*/
|
|
3649
|
+
acRequestUpdate: (id: string, aCRequestUpdateBody: ACRequestUpdateBody, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3744
3650
|
/**
|
|
3745
3651
|
*
|
|
3746
3652
|
* @param {string} floorId
|
|
@@ -3967,7 +3873,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3967
3873
|
* @param {*} [options] Override http request option.
|
|
3968
3874
|
* @throws {RequiredError}
|
|
3969
3875
|
*/
|
|
3970
|
-
acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3876
|
+
acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseBoolean>>;
|
|
3971
3877
|
/**
|
|
3972
3878
|
*
|
|
3973
3879
|
* @param {string} [requesterId]
|
|
@@ -3979,21 +3885,29 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3979
3885
|
* @param {*} [options] Override http request option.
|
|
3980
3886
|
* @throws {RequiredError}
|
|
3981
3887
|
*/
|
|
3982
|
-
acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3888
|
+
acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseACRequestResponse>>;
|
|
3889
|
+
/**
|
|
3890
|
+
*
|
|
3891
|
+
* @param {string} id
|
|
3892
|
+
* @param {*} [options] Override http request option.
|
|
3893
|
+
* @throws {RequiredError}
|
|
3894
|
+
*/
|
|
3895
|
+
acRequestShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseACRequestResponse>>;
|
|
3983
3896
|
/**
|
|
3984
3897
|
*
|
|
3985
3898
|
* @param {string} id
|
|
3899
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
3986
3900
|
* @param {*} [options] Override http request option.
|
|
3987
3901
|
* @throws {RequiredError}
|
|
3988
3902
|
*/
|
|
3989
|
-
|
|
3903
|
+
acRequestUpdate(id: string, aCRequestUpdateBody: ACRequestUpdateBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseACRequestResponse>>;
|
|
3990
3904
|
/**
|
|
3991
3905
|
*
|
|
3992
3906
|
* @param {string} floorId
|
|
3993
3907
|
* @param {*} [options] Override http request option.
|
|
3994
3908
|
* @throws {RequiredError}
|
|
3995
3909
|
*/
|
|
3996
|
-
acZonesShow(floorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3910
|
+
acZonesShow(floorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseACZoneData>>;
|
|
3997
3911
|
/**
|
|
3998
3912
|
*
|
|
3999
3913
|
* @param {WebhookCreateBody} webhookCreateBody
|
|
@@ -4213,7 +4127,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
4213
4127
|
* @param {*} [options] Override http request option.
|
|
4214
4128
|
* @throws {RequiredError}
|
|
4215
4129
|
*/
|
|
4216
|
-
acRequestCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<
|
|
4130
|
+
acRequestCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<WrappedOneResponseBoolean>;
|
|
4217
4131
|
/**
|
|
4218
4132
|
*
|
|
4219
4133
|
* @param {string} [requesterId]
|
|
@@ -4225,21 +4139,29 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
4225
4139
|
* @param {*} [options] Override http request option.
|
|
4226
4140
|
* @throws {RequiredError}
|
|
4227
4141
|
*/
|
|
4228
|
-
acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: any): AxiosPromise<
|
|
4142
|
+
acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: any): AxiosPromise<WrappedArrayResponseACRequestResponse>;
|
|
4143
|
+
/**
|
|
4144
|
+
*
|
|
4145
|
+
* @param {string} id
|
|
4146
|
+
* @param {*} [options] Override http request option.
|
|
4147
|
+
* @throws {RequiredError}
|
|
4148
|
+
*/
|
|
4149
|
+
acRequestShow(id: string, options?: any): AxiosPromise<WrappedOneResponseACRequestResponse>;
|
|
4229
4150
|
/**
|
|
4230
4151
|
*
|
|
4231
4152
|
* @param {string} id
|
|
4153
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
4232
4154
|
* @param {*} [options] Override http request option.
|
|
4233
4155
|
* @throws {RequiredError}
|
|
4234
4156
|
*/
|
|
4235
|
-
|
|
4157
|
+
acRequestUpdate(id: string, aCRequestUpdateBody: ACRequestUpdateBody, options?: any): AxiosPromise<WrappedOneResponseACRequestResponse>;
|
|
4236
4158
|
/**
|
|
4237
4159
|
*
|
|
4238
4160
|
* @param {string} floorId
|
|
4239
4161
|
* @param {*} [options] Override http request option.
|
|
4240
4162
|
* @throws {RequiredError}
|
|
4241
4163
|
*/
|
|
4242
|
-
acZonesShow(floorId: string, options?: any): AxiosPromise<
|
|
4164
|
+
acZonesShow(floorId: string, options?: any): AxiosPromise<WrappedArrayResponseACZoneData>;
|
|
4243
4165
|
/**
|
|
4244
4166
|
*
|
|
4245
4167
|
* @param {WebhookCreateBody} webhookCreateBody
|
|
@@ -4462,7 +4384,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4462
4384
|
* @throws {RequiredError}
|
|
4463
4385
|
* @memberof DefaultApi
|
|
4464
4386
|
*/
|
|
4465
|
-
acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
4387
|
+
acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedOneResponseBoolean, any>>;
|
|
4466
4388
|
/**
|
|
4467
4389
|
*
|
|
4468
4390
|
* @param {string} [requesterId]
|
|
@@ -4475,15 +4397,24 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4475
4397
|
* @throws {RequiredError}
|
|
4476
4398
|
* @memberof DefaultApi
|
|
4477
4399
|
*/
|
|
4478
|
-
acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
4400
|
+
acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedArrayResponseACRequestResponse, any>>;
|
|
4401
|
+
/**
|
|
4402
|
+
*
|
|
4403
|
+
* @param {string} id
|
|
4404
|
+
* @param {*} [options] Override http request option.
|
|
4405
|
+
* @throws {RequiredError}
|
|
4406
|
+
* @memberof DefaultApi
|
|
4407
|
+
*/
|
|
4408
|
+
acRequestShow(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedOneResponseACRequestResponse, any>>;
|
|
4479
4409
|
/**
|
|
4480
4410
|
*
|
|
4481
4411
|
* @param {string} id
|
|
4412
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
4482
4413
|
* @param {*} [options] Override http request option.
|
|
4483
4414
|
* @throws {RequiredError}
|
|
4484
4415
|
* @memberof DefaultApi
|
|
4485
4416
|
*/
|
|
4486
|
-
|
|
4417
|
+
acRequestUpdate(id: string, aCRequestUpdateBody: ACRequestUpdateBody, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedOneResponseACRequestResponse, any>>;
|
|
4487
4418
|
/**
|
|
4488
4419
|
*
|
|
4489
4420
|
* @param {string} floorId
|
|
@@ -4491,7 +4422,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4491
4422
|
* @throws {RequiredError}
|
|
4492
4423
|
* @memberof DefaultApi
|
|
4493
4424
|
*/
|
|
4494
|
-
acZonesShow(floorId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
4425
|
+
acZonesShow(floorId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WrappedArrayResponseACZoneData, any>>;
|
|
4495
4426
|
/**
|
|
4496
4427
|
*
|
|
4497
4428
|
* @param {WebhookCreateBody} webhookCreateBody
|
package/dist/api/api.js
CHANGED
|
@@ -25,7 +25,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
25
25
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.ParkingTicketsIndexTypeEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WrappedResponsePassConsentResponseDataStatusEnum = exports.WrappedResponseNullDataEnum = exports.ShowPassResponseStatusEnum = exports.ServiceRequestStatusInProgress = exports.ServiceRequestStatusDone = exports.ServiceRequestStatus = exports.SensorType = exports.PassDataStatusEnum = exports.PassConsentResponseStatusEnum = exports.ParkingTicketsIndexQueryTypeEnum = exports.ACRequestStatus = void 0;
|
|
28
|
+
exports.ParkingTicketsIndexTypeEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WrappedResponsePassConsentResponseDataStatusEnum = exports.WrappedResponseNullDataEnum = exports.ShowPassResponseStatusEnum = exports.ServiceRequestStatusInProgress = exports.ServiceRequestStatusDone = exports.ServiceRequestStatus = exports.SensorType = exports.PassDataStatusEnum = exports.PassConsentResponseStatusEnum = exports.ParkingTicketsIndexQueryTypeEnum = exports.ACRequestStatusRejected = exports.ACRequestStatusApproved = exports.ACRequestStatus = void 0;
|
|
29
29
|
const axios_1 = __importDefault(require("axios"));
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
@@ -42,6 +42,22 @@ exports.ACRequestStatus = {
|
|
|
42
42
|
Rejected: 'rejected',
|
|
43
43
|
Approved: 'approved'
|
|
44
44
|
};
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @export
|
|
48
|
+
* @enum {string}
|
|
49
|
+
*/
|
|
50
|
+
exports.ACRequestStatusApproved = {
|
|
51
|
+
Approved: 'approved'
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @export
|
|
56
|
+
* @enum {string}
|
|
57
|
+
*/
|
|
58
|
+
exports.ACRequestStatusRejected = {
|
|
59
|
+
Rejected: 'rejected'
|
|
60
|
+
};
|
|
45
61
|
exports.ParkingTicketsIndexQueryTypeEnum = {
|
|
46
62
|
LogId: 'log_id',
|
|
47
63
|
InviteId: 'invite_id',
|
|
@@ -215,6 +231,39 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
215
231
|
options: localVarRequestOptions,
|
|
216
232
|
};
|
|
217
233
|
}),
|
|
234
|
+
/**
|
|
235
|
+
*
|
|
236
|
+
* @param {string} id
|
|
237
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
238
|
+
* @param {*} [options] Override http request option.
|
|
239
|
+
* @throws {RequiredError}
|
|
240
|
+
*/
|
|
241
|
+
acRequestUpdate: (id, aCRequestUpdateBody, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
242
|
+
// verify required parameter 'id' is not null or undefined
|
|
243
|
+
(0, common_1.assertParamExists)('acRequestUpdate', 'id', id);
|
|
244
|
+
// verify required parameter 'aCRequestUpdateBody' is not null or undefined
|
|
245
|
+
(0, common_1.assertParamExists)('acRequestUpdate', 'aCRequestUpdateBody', aCRequestUpdateBody);
|
|
246
|
+
const localVarPath = `/ac_request/{id}`
|
|
247
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
248
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
249
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
250
|
+
let baseOptions;
|
|
251
|
+
if (configuration) {
|
|
252
|
+
baseOptions = configuration.baseOptions;
|
|
253
|
+
}
|
|
254
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
255
|
+
const localVarHeaderParameter = {};
|
|
256
|
+
const localVarQueryParameter = {};
|
|
257
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
258
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
259
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
260
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
261
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(aCRequestUpdateBody, localVarRequestOptions, configuration);
|
|
262
|
+
return {
|
|
263
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
264
|
+
options: localVarRequestOptions,
|
|
265
|
+
};
|
|
266
|
+
}),
|
|
218
267
|
/**
|
|
219
268
|
*
|
|
220
269
|
* @param {string} floorId
|
|
@@ -1143,6 +1192,19 @@ const DefaultApiFp = function (configuration) {
|
|
|
1143
1192
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1144
1193
|
});
|
|
1145
1194
|
},
|
|
1195
|
+
/**
|
|
1196
|
+
*
|
|
1197
|
+
* @param {string} id
|
|
1198
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
1199
|
+
* @param {*} [options] Override http request option.
|
|
1200
|
+
* @throws {RequiredError}
|
|
1201
|
+
*/
|
|
1202
|
+
acRequestUpdate(id, aCRequestUpdateBody, options) {
|
|
1203
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1204
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.acRequestUpdate(id, aCRequestUpdateBody, options);
|
|
1205
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1206
|
+
});
|
|
1207
|
+
},
|
|
1146
1208
|
/**
|
|
1147
1209
|
*
|
|
1148
1210
|
* @param {string} floorId
|
|
@@ -1539,6 +1601,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1539
1601
|
acRequestShow(id, options) {
|
|
1540
1602
|
return localVarFp.acRequestShow(id, options).then((request) => request(axios, basePath));
|
|
1541
1603
|
},
|
|
1604
|
+
/**
|
|
1605
|
+
*
|
|
1606
|
+
* @param {string} id
|
|
1607
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
1608
|
+
* @param {*} [options] Override http request option.
|
|
1609
|
+
* @throws {RequiredError}
|
|
1610
|
+
*/
|
|
1611
|
+
acRequestUpdate(id, aCRequestUpdateBody, options) {
|
|
1612
|
+
return localVarFp.acRequestUpdate(id, aCRequestUpdateBody, options).then((request) => request(axios, basePath));
|
|
1613
|
+
},
|
|
1542
1614
|
/**
|
|
1543
1615
|
*
|
|
1544
1616
|
* @param {string} floorId
|
|
@@ -1854,6 +1926,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1854
1926
|
acRequestShow(id, options) {
|
|
1855
1927
|
return (0, exports.DefaultApiFp)(this.configuration).acRequestShow(id, options).then((request) => request(this.axios, this.basePath));
|
|
1856
1928
|
}
|
|
1929
|
+
/**
|
|
1930
|
+
*
|
|
1931
|
+
* @param {string} id
|
|
1932
|
+
* @param {ACRequestUpdateBody} aCRequestUpdateBody
|
|
1933
|
+
* @param {*} [options] Override http request option.
|
|
1934
|
+
* @throws {RequiredError}
|
|
1935
|
+
* @memberof DefaultApi
|
|
1936
|
+
*/
|
|
1937
|
+
acRequestUpdate(id, aCRequestUpdateBody, options) {
|
|
1938
|
+
return (0, exports.DefaultApiFp)(this.configuration).acRequestUpdate(id, aCRequestUpdateBody, options).then((request) => request(this.axios, this.basePath));
|
|
1939
|
+
}
|
|
1857
1940
|
/**
|
|
1858
1941
|
*
|
|
1859
1942
|
* @param {string} floorId
|