ob-bms-sdk 0.0.69 → 0.0.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api/api.ts CHANGED
@@ -102,7 +102,15 @@ export interface ACRequestQuery {
102
102
  * @memberof ACRequestQuery
103
103
  */
104
104
  'page_size'?: number;
105
+ /**
106
+ *
107
+ * @type {ACRequestStatus}
108
+ * @memberof ACRequestQuery
109
+ */
110
+ 'status'?: ACRequestStatus;
105
111
  }
112
+
113
+
106
114
  /**
107
115
  *
108
116
  * @export
@@ -147,16 +155,16 @@ export interface ACRequestResponse {
147
155
  'rate': string;
148
156
  /**
149
157
  *
150
- * @type {ACZoneDataCreatedAt}
158
+ * @type {string}
151
159
  * @memberof ACRequestResponse
152
160
  */
153
- 'from': ACZoneDataCreatedAt;
161
+ 'from': string;
154
162
  /**
155
163
  *
156
- * @type {ACZoneDataCreatedAt}
164
+ * @type {string}
157
165
  * @memberof ACRequestResponse
158
166
  */
159
- 'to': ACZoneDataCreatedAt;
167
+ 'to': string;
160
168
  /**
161
169
  *
162
170
  * @type {number}
@@ -177,16 +185,16 @@ export interface ACRequestResponse {
177
185
  'status': string;
178
186
  /**
179
187
  *
180
- * @type {ACZoneDataCreatedAt}
188
+ * @type {string}
181
189
  * @memberof ACRequestResponse
182
190
  */
183
- 'created_at': ACZoneDataCreatedAt;
191
+ 'created_at': string;
184
192
  /**
185
193
  *
186
- * @type {ACZoneDataCreatedAt}
194
+ * @type {string}
187
195
  * @memberof ACRequestResponse
188
196
  */
189
- 'updated_at': ACZoneDataCreatedAt;
197
+ 'updated_at': string;
190
198
  /**
191
199
  *
192
200
  * @type {string}
@@ -218,6 +226,67 @@ export interface ACRequestResponse {
218
226
  */
219
227
  'requester': RequesterData;
220
228
  }
229
+ /**
230
+ *
231
+ * @export
232
+ * @enum {string}
233
+ */
234
+
235
+ export const ACRequestStatus = {
236
+ Submitted: 'submitted',
237
+ Rejected: 'rejected',
238
+ Approved: 'approved'
239
+ } as const;
240
+
241
+ export type ACRequestStatus = typeof ACRequestStatus[keyof typeof ACRequestStatus];
242
+
243
+
244
+ /**
245
+ *
246
+ * @export
247
+ * @enum {string}
248
+ */
249
+
250
+ export const ACRequestStatusApproved = {
251
+ Approved: 'approved'
252
+ } as const;
253
+
254
+ export type ACRequestStatusApproved = typeof ACRequestStatusApproved[keyof typeof ACRequestStatusApproved];
255
+
256
+
257
+ /**
258
+ *
259
+ * @export
260
+ * @enum {string}
261
+ */
262
+
263
+ export const ACRequestStatusRejected = {
264
+ Rejected: 'rejected'
265
+ } as const;
266
+
267
+ export type ACRequestStatusRejected = typeof ACRequestStatusRejected[keyof typeof ACRequestStatusRejected];
268
+
269
+
270
+ /**
271
+ *
272
+ * @export
273
+ * @interface ACRequestUpdateBody
274
+ */
275
+ export interface ACRequestUpdateBody {
276
+ /**
277
+ *
278
+ * @type {ACRequestUpdateBodyStatus}
279
+ * @memberof ACRequestUpdateBody
280
+ */
281
+ 'status': ACRequestUpdateBodyStatus;
282
+ }
283
+ /**
284
+ *
285
+ * @export
286
+ * @interface ACRequestUpdateBodyStatus
287
+ */
288
+ export interface ACRequestUpdateBodyStatus {
289
+ }
221
290
  /**
222
291
  *
223
292
  * @export
@@ -250,23 +319,16 @@ export interface ACZoneData {
250
319
  'floor_id': string;
251
320
  /**
252
321
  *
253
- * @type {ACZoneDataCreatedAt}
322
+ * @type {string}
254
323
  * @memberof ACZoneData
255
324
  */
256
- 'created_at': ACZoneDataCreatedAt;
325
+ 'created_at': string;
257
326
  /**
258
327
  *
259
- * @type {ACZoneDataCreatedAt}
328
+ * @type {string}
260
329
  * @memberof ACZoneData
261
330
  */
262
- 'updated_at': ACZoneDataCreatedAt;
263
- }
264
- /**
265
- *
266
- * @export
267
- * @interface ACZoneDataCreatedAt
268
- */
269
- export interface ACZoneDataCreatedAt {
331
+ 'updated_at': string;
270
332
  }
271
333
  /**
272
334
  *
@@ -1596,16 +1658,16 @@ export interface RateDetail {
1596
1658
  export interface RequesterData {
1597
1659
  /**
1598
1660
  *
1599
- * @type {ACZoneDataCreatedAt}
1661
+ * @type {string}
1600
1662
  * @memberof RequesterData
1601
1663
  */
1602
- 'updated_at': ACZoneDataCreatedAt;
1664
+ 'updated_at': string;
1603
1665
  /**
1604
1666
  *
1605
- * @type {ACZoneDataCreatedAt}
1667
+ * @type {string}
1606
1668
  * @memberof RequesterData
1607
1669
  */
1608
- 'created_at': ACZoneDataCreatedAt;
1670
+ 'created_at': string;
1609
1671
  /**
1610
1672
  *
1611
1673
  * @type {JsonValue}
@@ -2596,16 +2658,16 @@ export interface VisitorSchedule {
2596
2658
  'floor_id': string;
2597
2659
  /**
2598
2660
  *
2599
- * @type {ACZoneDataCreatedAt}
2661
+ * @type {VisitorScheduleFrom}
2600
2662
  * @memberof VisitorSchedule
2601
2663
  */
2602
- 'from': ACZoneDataCreatedAt;
2664
+ 'from': VisitorScheduleFrom;
2603
2665
  /**
2604
2666
  *
2605
- * @type {ACZoneDataCreatedAt}
2667
+ * @type {VisitorScheduleFrom}
2606
2668
  * @memberof VisitorSchedule
2607
2669
  */
2608
- 'to': ACZoneDataCreatedAt;
2670
+ 'to': VisitorScheduleFrom;
2609
2671
  /**
2610
2672
  *
2611
2673
  * @type {object}
@@ -2613,6 +2675,13 @@ export interface VisitorSchedule {
2613
2675
  */
2614
2676
  'repetition'?: object;
2615
2677
  }
2678
+ /**
2679
+ *
2680
+ * @export
2681
+ * @interface VisitorScheduleFrom
2682
+ */
2683
+ export interface VisitorScheduleFrom {
2684
+ }
2616
2685
  /**
2617
2686
  *
2618
2687
  * @export
@@ -2832,258 +2901,106 @@ export interface WebhookCreateBodyPayload {
2832
2901
  /**
2833
2902
  *
2834
2903
  * @export
2835
- * @interface WrappedArrayResponseSensorsIndexResponseData
2904
+ * @interface WrappedArrayResponseACRequestResponse
2836
2905
  */
2837
- export interface WrappedArrayResponseSensorsIndexResponseData {
2906
+ export interface WrappedArrayResponseACRequestResponse {
2838
2907
  /**
2839
2908
  *
2840
- * @type {Array<FloorSensorData>}
2841
- * @memberof WrappedArrayResponseSensorsIndexResponseData
2909
+ * @type {Array<ACRequestResponse>}
2910
+ * @memberof WrappedArrayResponseACRequestResponse
2842
2911
  */
2843
- 'data': Array<FloorSensorData>;
2912
+ 'data': Array<ACRequestResponse>;
2844
2913
  }
2845
2914
  /**
2846
2915
  *
2847
2916
  * @export
2848
- * @interface WrappedArrayResponseServiceRequestData
2917
+ * @interface WrappedArrayResponseACZoneData
2849
2918
  */
2850
- export interface WrappedArrayResponseServiceRequestData {
2919
+ export interface WrappedArrayResponseACZoneData {
2851
2920
  /**
2852
2921
  *
2853
- * @type {Array<ServiceRequestData>}
2854
- * @memberof WrappedArrayResponseServiceRequestData
2922
+ * @type {Array<ACZoneData>}
2923
+ * @memberof WrappedArrayResponseACZoneData
2855
2924
  */
2856
- 'data': Array<ServiceRequestData>;
2925
+ 'data': Array<ACZoneData>;
2857
2926
  }
2858
2927
  /**
2859
2928
  *
2860
2929
  * @export
2861
- * @interface WrappedOneResponseCreateServiceRequestResponse
2930
+ * @interface WrappedArrayResponseSensorsIndexResponseData
2862
2931
  */
2863
- export interface WrappedOneResponseCreateServiceRequestResponse {
2932
+ export interface WrappedArrayResponseSensorsIndexResponseData {
2864
2933
  /**
2865
2934
  *
2866
- * @type {CreateServiceRequestResponse}
2867
- * @memberof WrappedOneResponseCreateServiceRequestResponse
2935
+ * @type {Array<FloorSensorData>}
2936
+ * @memberof WrappedArrayResponseSensorsIndexResponseData
2868
2937
  */
2869
- 'data': CreateServiceRequestResponse;
2938
+ 'data': Array<FloorSensorData>;
2870
2939
  }
2871
2940
  /**
2872
2941
  *
2873
2942
  * @export
2874
- * @interface WrappedOneResponseServiceRequestData
2943
+ * @interface WrappedArrayResponseServiceRequestData
2875
2944
  */
2876
- export interface WrappedOneResponseServiceRequestData {
2945
+ export interface WrappedArrayResponseServiceRequestData {
2877
2946
  /**
2878
2947
  *
2879
- * @type {ServiceRequestData}
2880
- * @memberof WrappedOneResponseServiceRequestData
2948
+ * @type {Array<ServiceRequestData>}
2949
+ * @memberof WrappedArrayResponseServiceRequestData
2881
2950
  */
2882
- 'data': ServiceRequestData;
2951
+ 'data': Array<ServiceRequestData>;
2883
2952
  }
2884
2953
  /**
2885
2954
  *
2886
2955
  * @export
2887
- * @interface WrappedResponseACRequestResponse
2956
+ * @interface WrappedOneResponseACRequestResponse
2888
2957
  */
2889
- export interface WrappedResponseACRequestResponse {
2958
+ export interface WrappedOneResponseACRequestResponse {
2890
2959
  /**
2891
2960
  *
2892
- * @type {WrappedResponseACRequestResponseData}
2893
- * @memberof WrappedResponseACRequestResponse
2961
+ * @type {ACRequestResponse}
2962
+ * @memberof WrappedOneResponseACRequestResponse
2894
2963
  */
2895
- 'data': WrappedResponseACRequestResponseData | null;
2964
+ 'data': ACRequestResponse;
2896
2965
  }
2897
2966
  /**
2898
2967
  *
2899
2968
  * @export
2900
- * @interface WrappedResponseACRequestResponseData
2969
+ * @interface WrappedOneResponseBoolean
2901
2970
  */
2902
- export interface WrappedResponseACRequestResponseData {
2903
- /**
2904
- *
2905
- * @type {string}
2906
- * @memberof WrappedResponseACRequestResponseData
2907
- */
2908
- 'id': string;
2909
- /**
2910
- *
2911
- * @type {string}
2912
- * @memberof WrappedResponseACRequestResponseData
2913
- */
2914
- 'tower_id': string;
2915
- /**
2916
- *
2917
- * @type {string}
2918
- * @memberof WrappedResponseACRequestResponseData
2919
- */
2920
- 'floor_id': string;
2921
- /**
2922
- *
2923
- * @type {string}
2924
- * @memberof WrappedResponseACRequestResponseData
2925
- */
2926
- 'ac_zone_id': string;
2927
- /**
2928
- *
2929
- * @type {string}
2930
- * @memberof WrappedResponseACRequestResponseData
2931
- */
2932
- 'estimated_cost': string;
2933
- /**
2934
- *
2935
- * @type {string}
2936
- * @memberof WrappedResponseACRequestResponseData
2937
- */
2938
- 'rate': string;
2939
- /**
2940
- *
2941
- * @type {ACZoneDataCreatedAt}
2942
- * @memberof WrappedResponseACRequestResponseData
2943
- */
2944
- 'from': ACZoneDataCreatedAt;
2945
- /**
2946
- *
2947
- * @type {ACZoneDataCreatedAt}
2948
- * @memberof WrappedResponseACRequestResponseData
2949
- */
2950
- 'to': ACZoneDataCreatedAt;
2951
- /**
2952
- *
2953
- * @type {number}
2954
- * @memberof WrappedResponseACRequestResponseData
2955
- */
2956
- 'duration_hour': number;
2971
+ export interface WrappedOneResponseBoolean {
2957
2972
  /**
2958
2973
  *
2959
- * @type {number}
2960
- * @memberof WrappedResponseACRequestResponseData
2961
- */
2962
- 'area_size': number;
2963
- /**
2964
- *
2965
- * @type {string}
2966
- * @memberof WrappedResponseACRequestResponseData
2967
- */
2968
- 'status': string;
2969
- /**
2970
- *
2971
- * @type {ACZoneDataCreatedAt}
2972
- * @memberof WrappedResponseACRequestResponseData
2973
- */
2974
- 'created_at': ACZoneDataCreatedAt;
2975
- /**
2976
- *
2977
- * @type {ACZoneDataCreatedAt}
2978
- * @memberof WrappedResponseACRequestResponseData
2979
- */
2980
- 'updated_at': ACZoneDataCreatedAt;
2981
- /**
2982
- *
2983
- * @type {string}
2984
- * @memberof WrappedResponseACRequestResponseData
2985
- */
2986
- 'requester_id': string;
2987
- /**
2988
- *
2989
- * @type {ACZoneData}
2990
- * @memberof WrappedResponseACRequestResponseData
2991
- */
2992
- 'ac_zone': ACZoneData;
2993
- /**
2994
- *
2995
- * @type {FloorData}
2996
- * @memberof WrappedResponseACRequestResponseData
2997
- */
2998
- 'floor': FloorData;
2999
- /**
3000
- *
3001
- * @type {TowerData}
3002
- * @memberof WrappedResponseACRequestResponseData
3003
- */
3004
- 'tower': TowerData;
3005
- /**
3006
- *
3007
- * @type {RequesterData}
3008
- * @memberof WrappedResponseACRequestResponseData
3009
- */
3010
- 'requester': RequesterData;
3011
- }
3012
- /**
3013
- *
3014
- * @export
3015
- * @interface WrappedResponseACZoneData
3016
- */
3017
- export interface WrappedResponseACZoneData {
3018
- /**
3019
- *
3020
- * @type {WrappedResponseACZoneDataData}
3021
- * @memberof WrappedResponseACZoneData
2974
+ * @type {boolean}
2975
+ * @memberof WrappedOneResponseBoolean
3022
2976
  */
3023
- 'data': WrappedResponseACZoneDataData | null;
2977
+ 'data': boolean;
3024
2978
  }
3025
2979
  /**
3026
2980
  *
3027
2981
  * @export
3028
- * @interface WrappedResponseACZoneDataData
2982
+ * @interface WrappedOneResponseCreateServiceRequestResponse
3029
2983
  */
3030
- export interface WrappedResponseACZoneDataData {
3031
- /**
3032
- *
3033
- * @type {string}
3034
- * @memberof WrappedResponseACZoneDataData
3035
- */
3036
- 'id': string;
3037
- /**
3038
- *
3039
- * @type {string}
3040
- * @memberof WrappedResponseACZoneDataData
3041
- */
3042
- 'name': string;
3043
- /**
3044
- *
3045
- * @type {number}
3046
- * @memberof WrappedResponseACZoneDataData
3047
- */
3048
- 'area_size': number;
3049
- /**
3050
- *
3051
- * @type {string}
3052
- * @memberof WrappedResponseACZoneDataData
3053
- */
3054
- 'floor_id': string;
3055
- /**
3056
- *
3057
- * @type {ACZoneDataCreatedAt}
3058
- * @memberof WrappedResponseACZoneDataData
3059
- */
3060
- 'created_at': ACZoneDataCreatedAt;
2984
+ export interface WrappedOneResponseCreateServiceRequestResponse {
3061
2985
  /**
3062
2986
  *
3063
- * @type {ACZoneDataCreatedAt}
3064
- * @memberof WrappedResponseACZoneDataData
2987
+ * @type {CreateServiceRequestResponse}
2988
+ * @memberof WrappedOneResponseCreateServiceRequestResponse
3065
2989
  */
3066
- 'updated_at': ACZoneDataCreatedAt;
2990
+ 'data': CreateServiceRequestResponse;
3067
2991
  }
3068
2992
  /**
3069
2993
  *
3070
2994
  * @export
3071
- * @interface WrappedResponseBoolean
2995
+ * @interface WrappedOneResponseServiceRequestData
3072
2996
  */
3073
- export interface WrappedResponseBoolean {
2997
+ export interface WrappedOneResponseServiceRequestData {
3074
2998
  /**
3075
2999
  *
3076
- * @type {WrappedResponseBooleanData}
3077
- * @memberof WrappedResponseBoolean
3000
+ * @type {ServiceRequestData}
3001
+ * @memberof WrappedOneResponseServiceRequestData
3078
3002
  */
3079
- 'data': WrappedResponseBooleanData | null;
3080
- }
3081
- /**
3082
- *
3083
- * @export
3084
- * @interface WrappedResponseBooleanData
3085
- */
3086
- export interface WrappedResponseBooleanData {
3003
+ 'data': ServiceRequestData;
3087
3004
  }
3088
3005
  /**
3089
3006
  *
@@ -3782,10 +3699,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3782
3699
  * @param {string} [orderDirection]
3783
3700
  * @param {number} [pageNumber]
3784
3701
  * @param {number} [pageSize]
3702
+ * @param {ACRequestStatus} [status]
3785
3703
  * @param {*} [options] Override http request option.
3786
3704
  * @throws {RequiredError}
3787
3705
  */
3788
- acRequestIndex: async (requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3706
+ acRequestIndex: async (requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3789
3707
  const localVarPath = `/ac_request`;
3790
3708
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3791
3709
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3818,6 +3736,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3818
3736
  localVarQueryParameter['page_size'] = pageSize;
3819
3737
  }
3820
3738
 
3739
+ if (status !== undefined) {
3740
+ localVarQueryParameter['status'] = status;
3741
+ }
3742
+
3821
3743
 
3822
3744
 
3823
3745
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -3862,6 +3784,45 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
3862
3784
  options: localVarRequestOptions,
3863
3785
  };
3864
3786
  },
3787
+ /**
3788
+ *
3789
+ * @param {string} id
3790
+ * @param {ACRequestUpdateBody} aCRequestUpdateBody
3791
+ * @param {*} [options] Override http request option.
3792
+ * @throws {RequiredError}
3793
+ */
3794
+ acRequestUpdate: async (id: string, aCRequestUpdateBody: ACRequestUpdateBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3795
+ // verify required parameter 'id' is not null or undefined
3796
+ assertParamExists('acRequestUpdate', 'id', id)
3797
+ // verify required parameter 'aCRequestUpdateBody' is not null or undefined
3798
+ assertParamExists('acRequestUpdate', 'aCRequestUpdateBody', aCRequestUpdateBody)
3799
+ const localVarPath = `/ac_request/{id}`
3800
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
3801
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3802
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3803
+ let baseOptions;
3804
+ if (configuration) {
3805
+ baseOptions = configuration.baseOptions;
3806
+ }
3807
+
3808
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
3809
+ const localVarHeaderParameter = {} as any;
3810
+ const localVarQueryParameter = {} as any;
3811
+
3812
+
3813
+
3814
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3815
+
3816
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3817
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3818
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3819
+ localVarRequestOptions.data = serializeDataIfNeeded(aCRequestUpdateBody, localVarRequestOptions, configuration)
3820
+
3821
+ return {
3822
+ url: toPathString(localVarUrlObj),
3823
+ options: localVarRequestOptions,
3824
+ };
3825
+ },
3865
3826
  /**
3866
3827
  *
3867
3828
  * @param {string} floorId
@@ -4928,7 +4889,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4928
4889
  * @param {*} [options] Override http request option.
4929
4890
  * @throws {RequiredError}
4930
4891
  */
4931
- async acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseBoolean>> {
4892
+ async acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseBoolean>> {
4932
4893
  const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestCreate(aCRequestBody, options);
4933
4894
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4934
4895
  },
@@ -4939,11 +4900,12 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4939
4900
  * @param {string} [orderDirection]
4940
4901
  * @param {number} [pageNumber]
4941
4902
  * @param {number} [pageSize]
4903
+ * @param {ACRequestStatus} [status]
4942
4904
  * @param {*} [options] Override http request option.
4943
4905
  * @throws {RequiredError}
4944
4906
  */
4945
- async acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseACRequestResponse>> {
4946
- const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, options);
4907
+ async acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseACRequestResponse>> {
4908
+ const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options);
4947
4909
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4948
4910
  },
4949
4911
  /**
@@ -4952,17 +4914,28 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4952
4914
  * @param {*} [options] Override http request option.
4953
4915
  * @throws {RequiredError}
4954
4916
  */
4955
- async acRequestShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseACRequestResponse>> {
4917
+ async acRequestShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseACRequestResponse>> {
4956
4918
  const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestShow(id, options);
4957
4919
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4958
4920
  },
4921
+ /**
4922
+ *
4923
+ * @param {string} id
4924
+ * @param {ACRequestUpdateBody} aCRequestUpdateBody
4925
+ * @param {*} [options] Override http request option.
4926
+ * @throws {RequiredError}
4927
+ */
4928
+ async acRequestUpdate(id: string, aCRequestUpdateBody: ACRequestUpdateBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseACRequestResponse>> {
4929
+ const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestUpdate(id, aCRequestUpdateBody, options);
4930
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4931
+ },
4959
4932
  /**
4960
4933
  *
4961
4934
  * @param {string} floorId
4962
4935
  * @param {*} [options] Override http request option.
4963
4936
  * @throws {RequiredError}
4964
4937
  */
4965
- async acZonesShow(floorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseACZoneData>> {
4938
+ async acZonesShow(floorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseACZoneData>> {
4966
4939
  const localVarAxiosArgs = await localVarAxiosParamCreator.acZonesShow(floorId, options);
4967
4940
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4968
4941
  },
@@ -5270,7 +5243,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5270
5243
  * @param {*} [options] Override http request option.
5271
5244
  * @throws {RequiredError}
5272
5245
  */
5273
- acRequestCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<WrappedResponseBoolean> {
5246
+ acRequestCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<WrappedOneResponseBoolean> {
5274
5247
  return localVarFp.acRequestCreate(aCRequestBody, options).then((request) => request(axios, basePath));
5275
5248
  },
5276
5249
  /**
@@ -5280,11 +5253,12 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5280
5253
  * @param {string} [orderDirection]
5281
5254
  * @param {number} [pageNumber]
5282
5255
  * @param {number} [pageSize]
5256
+ * @param {ACRequestStatus} [status]
5283
5257
  * @param {*} [options] Override http request option.
5284
5258
  * @throws {RequiredError}
5285
5259
  */
5286
- acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: any): AxiosPromise<WrappedResponseACRequestResponse> {
5287
- return localVarFp.acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, options).then((request) => request(axios, basePath));
5260
+ acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: any): AxiosPromise<WrappedArrayResponseACRequestResponse> {
5261
+ return localVarFp.acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options).then((request) => request(axios, basePath));
5288
5262
  },
5289
5263
  /**
5290
5264
  *
@@ -5292,16 +5266,26 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
5292
5266
  * @param {*} [options] Override http request option.
5293
5267
  * @throws {RequiredError}
5294
5268
  */
5295
- acRequestShow(id: string, options?: any): AxiosPromise<WrappedResponseACRequestResponse> {
5269
+ acRequestShow(id: string, options?: any): AxiosPromise<WrappedOneResponseACRequestResponse> {
5296
5270
  return localVarFp.acRequestShow(id, options).then((request) => request(axios, basePath));
5297
5271
  },
5272
+ /**
5273
+ *
5274
+ * @param {string} id
5275
+ * @param {ACRequestUpdateBody} aCRequestUpdateBody
5276
+ * @param {*} [options] Override http request option.
5277
+ * @throws {RequiredError}
5278
+ */
5279
+ acRequestUpdate(id: string, aCRequestUpdateBody: ACRequestUpdateBody, options?: any): AxiosPromise<WrappedOneResponseACRequestResponse> {
5280
+ return localVarFp.acRequestUpdate(id, aCRequestUpdateBody, options).then((request) => request(axios, basePath));
5281
+ },
5298
5282
  /**
5299
5283
  *
5300
5284
  * @param {string} floorId
5301
5285
  * @param {*} [options] Override http request option.
5302
5286
  * @throws {RequiredError}
5303
5287
  */
5304
- acZonesShow(floorId: string, options?: any): AxiosPromise<WrappedResponseACZoneData> {
5288
+ acZonesShow(floorId: string, options?: any): AxiosPromise<WrappedArrayResponseACZoneData> {
5305
5289
  return localVarFp.acZonesShow(floorId, options).then((request) => request(axios, basePath));
5306
5290
  },
5307
5291
  /**
@@ -5593,12 +5577,13 @@ export class DefaultApi extends BaseAPI {
5593
5577
  * @param {string} [orderDirection]
5594
5578
  * @param {number} [pageNumber]
5595
5579
  * @param {number} [pageSize]
5580
+ * @param {ACRequestStatus} [status]
5596
5581
  * @param {*} [options] Override http request option.
5597
5582
  * @throws {RequiredError}
5598
5583
  * @memberof DefaultApi
5599
5584
  */
5600
- public acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options?: AxiosRequestConfig) {
5601
- return DefaultApiFp(this.configuration).acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, options).then((request) => request(this.axios, this.basePath));
5585
+ public acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig) {
5586
+ return DefaultApiFp(this.configuration).acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options).then((request) => request(this.axios, this.basePath));
5602
5587
  }
5603
5588
 
5604
5589
  /**
@@ -5612,6 +5597,18 @@ export class DefaultApi extends BaseAPI {
5612
5597
  return DefaultApiFp(this.configuration).acRequestShow(id, options).then((request) => request(this.axios, this.basePath));
5613
5598
  }
5614
5599
 
5600
+ /**
5601
+ *
5602
+ * @param {string} id
5603
+ * @param {ACRequestUpdateBody} aCRequestUpdateBody
5604
+ * @param {*} [options] Override http request option.
5605
+ * @throws {RequiredError}
5606
+ * @memberof DefaultApi
5607
+ */
5608
+ public acRequestUpdate(id: string, aCRequestUpdateBody: ACRequestUpdateBody, options?: AxiosRequestConfig) {
5609
+ return DefaultApiFp(this.configuration).acRequestUpdate(id, aCRequestUpdateBody, options).then((request) => request(this.axios, this.basePath));
5610
+ }
5611
+
5615
5612
  /**
5616
5613
  *
5617
5614
  * @param {string} floorId