ob-bms-sdk 0.0.66 → 0.0.68

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
@@ -23,6 +23,92 @@ import type { RequestArgs } from './base';
23
23
  // @ts-ignore
24
24
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError } from './base';
25
25
 
26
+ /**
27
+ *
28
+ * @export
29
+ * @interface ACRequestBody
30
+ */
31
+ export interface ACRequestBody {
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof ACRequestBody
36
+ */
37
+ 'floor_id': string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof ACRequestBody
42
+ */
43
+ 'ac_zone_id': string;
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof ACRequestBody
48
+ */
49
+ 'tower_id': string;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof ACRequestBody
54
+ */
55
+ 'requester_id': string;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof ACRequestBody
60
+ */
61
+ 'date': string;
62
+ /**
63
+ *
64
+ * @type {number}
65
+ * @memberof ACRequestBody
66
+ */
67
+ 'duration': number;
68
+ }
69
+ /**
70
+ *
71
+ * @export
72
+ * @interface ACZoneData
73
+ */
74
+ export interface ACZoneData {
75
+ /**
76
+ *
77
+ * @type {string}
78
+ * @memberof ACZoneData
79
+ */
80
+ 'updated_at': string;
81
+ /**
82
+ *
83
+ * @type {string}
84
+ * @memberof ACZoneData
85
+ */
86
+ 'created_at': string;
87
+ /**
88
+ *
89
+ * @type {number}
90
+ * @memberof ACZoneData
91
+ */
92
+ 'area_size': number;
93
+ /**
94
+ *
95
+ * @type {string}
96
+ * @memberof ACZoneData
97
+ */
98
+ 'name': string;
99
+ /**
100
+ *
101
+ * @type {string}
102
+ * @memberof ACZoneData
103
+ */
104
+ 'floor_id': string;
105
+ /**
106
+ *
107
+ * @type {string}
108
+ * @memberof ACZoneData
109
+ */
110
+ 'id': string;
111
+ }
26
112
  /**
27
113
  *
28
114
  * @export
@@ -1667,6 +1753,52 @@ export const ServiceRequestStatus = {
1667
1753
  export type ServiceRequestStatus = typeof ServiceRequestStatus[keyof typeof ServiceRequestStatus];
1668
1754
 
1669
1755
 
1756
+ /**
1757
+ *
1758
+ * @export
1759
+ * @enum {string}
1760
+ */
1761
+
1762
+ export const ServiceRequestStatusDone = {
1763
+ Done: 'done'
1764
+ } as const;
1765
+
1766
+ export type ServiceRequestStatusDone = typeof ServiceRequestStatusDone[keyof typeof ServiceRequestStatusDone];
1767
+
1768
+
1769
+ /**
1770
+ *
1771
+ * @export
1772
+ * @enum {string}
1773
+ */
1774
+
1775
+ export const ServiceRequestStatusInProgress = {
1776
+ InProgress: 'in_progress'
1777
+ } as const;
1778
+
1779
+ export type ServiceRequestStatusInProgress = typeof ServiceRequestStatusInProgress[keyof typeof ServiceRequestStatusInProgress];
1780
+
1781
+
1782
+ /**
1783
+ *
1784
+ * @export
1785
+ * @interface ServiceRequestsUpdateRequestBody
1786
+ */
1787
+ export interface ServiceRequestsUpdateRequestBody {
1788
+ /**
1789
+ *
1790
+ * @type {ServiceRequestsUpdateRequestBodyStatus}
1791
+ * @memberof ServiceRequestsUpdateRequestBody
1792
+ */
1793
+ 'status': ServiceRequestsUpdateRequestBodyStatus;
1794
+ }
1795
+ /**
1796
+ *
1797
+ * @export
1798
+ * @interface ServiceRequestsUpdateRequestBodyStatus
1799
+ */
1800
+ export interface ServiceRequestsUpdateRequestBodyStatus {
1801
+ }
1670
1802
  /**
1671
1803
  *
1672
1804
  * @export
@@ -2582,6 +2714,121 @@ export interface WrappedArrayResponseSensorsIndexResponseData {
2582
2714
  */
2583
2715
  'data': Array<FloorSensorData>;
2584
2716
  }
2717
+ /**
2718
+ *
2719
+ * @export
2720
+ * @interface WrappedArrayResponseServiceRequestData
2721
+ */
2722
+ export interface WrappedArrayResponseServiceRequestData {
2723
+ /**
2724
+ *
2725
+ * @type {Array<ServiceRequestData>}
2726
+ * @memberof WrappedArrayResponseServiceRequestData
2727
+ */
2728
+ 'data': Array<ServiceRequestData>;
2729
+ }
2730
+ /**
2731
+ *
2732
+ * @export
2733
+ * @interface WrappedOneResponseCreateServiceRequestResponse
2734
+ */
2735
+ export interface WrappedOneResponseCreateServiceRequestResponse {
2736
+ /**
2737
+ *
2738
+ * @type {CreateServiceRequestResponse}
2739
+ * @memberof WrappedOneResponseCreateServiceRequestResponse
2740
+ */
2741
+ 'data': CreateServiceRequestResponse;
2742
+ }
2743
+ /**
2744
+ *
2745
+ * @export
2746
+ * @interface WrappedOneResponseServiceRequestData
2747
+ */
2748
+ export interface WrappedOneResponseServiceRequestData {
2749
+ /**
2750
+ *
2751
+ * @type {ServiceRequestData}
2752
+ * @memberof WrappedOneResponseServiceRequestData
2753
+ */
2754
+ 'data': ServiceRequestData;
2755
+ }
2756
+ /**
2757
+ *
2758
+ * @export
2759
+ * @interface WrappedResponseACZoneData
2760
+ */
2761
+ export interface WrappedResponseACZoneData {
2762
+ /**
2763
+ *
2764
+ * @type {WrappedResponseACZoneDataData}
2765
+ * @memberof WrappedResponseACZoneData
2766
+ */
2767
+ 'data': WrappedResponseACZoneDataData | null;
2768
+ }
2769
+ /**
2770
+ *
2771
+ * @export
2772
+ * @interface WrappedResponseACZoneDataData
2773
+ */
2774
+ export interface WrappedResponseACZoneDataData {
2775
+ /**
2776
+ *
2777
+ * @type {string}
2778
+ * @memberof WrappedResponseACZoneDataData
2779
+ */
2780
+ 'updated_at': string;
2781
+ /**
2782
+ *
2783
+ * @type {string}
2784
+ * @memberof WrappedResponseACZoneDataData
2785
+ */
2786
+ 'created_at': string;
2787
+ /**
2788
+ *
2789
+ * @type {number}
2790
+ * @memberof WrappedResponseACZoneDataData
2791
+ */
2792
+ 'area_size': number;
2793
+ /**
2794
+ *
2795
+ * @type {string}
2796
+ * @memberof WrappedResponseACZoneDataData
2797
+ */
2798
+ 'name': string;
2799
+ /**
2800
+ *
2801
+ * @type {string}
2802
+ * @memberof WrappedResponseACZoneDataData
2803
+ */
2804
+ 'floor_id': string;
2805
+ /**
2806
+ *
2807
+ * @type {string}
2808
+ * @memberof WrappedResponseACZoneDataData
2809
+ */
2810
+ 'id': string;
2811
+ }
2812
+ /**
2813
+ *
2814
+ * @export
2815
+ * @interface WrappedResponseBoolean
2816
+ */
2817
+ export interface WrappedResponseBoolean {
2818
+ /**
2819
+ *
2820
+ * @type {WrappedResponseBooleanData}
2821
+ * @memberof WrappedResponseBoolean
2822
+ */
2823
+ 'data': WrappedResponseBooleanData | null;
2824
+ }
2825
+ /**
2826
+ *
2827
+ * @export
2828
+ * @interface WrappedResponseBooleanData
2829
+ */
2830
+ export interface WrappedResponseBooleanData {
2831
+ }
2585
2832
  /**
2586
2833
  *
2587
2834
  * @export
@@ -2670,32 +2917,6 @@ export interface WrappedResponseCommandsIndexResponse {
2670
2917
  */
2671
2918
  export interface WrappedResponseCommandsIndexResponseData {
2672
2919
  }
2673
- /**
2674
- *
2675
- * @export
2676
- * @interface WrappedResponseCreateServiceRequestResponse
2677
- */
2678
- export interface WrappedResponseCreateServiceRequestResponse {
2679
- /**
2680
- *
2681
- * @type {WrappedResponseCreateServiceRequestResponseData}
2682
- * @memberof WrappedResponseCreateServiceRequestResponse
2683
- */
2684
- 'data': WrappedResponseCreateServiceRequestResponseData | null;
2685
- }
2686
- /**
2687
- *
2688
- * @export
2689
- * @interface WrappedResponseCreateServiceRequestResponseData
2690
- */
2691
- export interface WrappedResponseCreateServiceRequestResponseData {
2692
- /**
2693
- *
2694
- * @type {string}
2695
- * @memberof WrappedResponseCreateServiceRequestResponseData
2696
- */
2697
- 'id': string;
2698
- }
2699
2920
  /**
2700
2921
  *
2701
2922
  * @export
@@ -3123,112 +3344,6 @@ export const WrappedResponsePassConsentResponseDataStatusEnum = {
3123
3344
 
3124
3345
  export type WrappedResponsePassConsentResponseDataStatusEnum = typeof WrappedResponsePassConsentResponseDataStatusEnum[keyof typeof WrappedResponsePassConsentResponseDataStatusEnum];
3125
3346
 
3126
- /**
3127
- *
3128
- * @export
3129
- * @interface WrappedResponseServiceRequestData
3130
- */
3131
- export interface WrappedResponseServiceRequestData {
3132
- /**
3133
- *
3134
- * @type {WrappedResponseServiceRequestDataData}
3135
- * @memberof WrappedResponseServiceRequestData
3136
- */
3137
- 'data': WrappedResponseServiceRequestDataData | null;
3138
- }
3139
- /**
3140
- *
3141
- * @export
3142
- * @interface WrappedResponseServiceRequestDataData
3143
- */
3144
- export interface WrappedResponseServiceRequestDataData {
3145
- /**
3146
- *
3147
- * @type {string}
3148
- * @memberof WrappedResponseServiceRequestDataData
3149
- */
3150
- 'updated_at': string;
3151
- /**
3152
- *
3153
- * @type {string}
3154
- * @memberof WrappedResponseServiceRequestDataData
3155
- */
3156
- 'created_at': string;
3157
- /**
3158
- *
3159
- * @type {string}
3160
- * @memberof WrappedResponseServiceRequestDataData
3161
- */
3162
- 'description': string;
3163
- /**
3164
- *
3165
- * @type {string}
3166
- * @memberof WrappedResponseServiceRequestDataData
3167
- */
3168
- 'status': string;
3169
- /**
3170
- *
3171
- * @type {string}
3172
- * @memberof WrappedResponseServiceRequestDataData
3173
- */
3174
- 'title': string;
3175
- /**
3176
- *
3177
- * @type {string}
3178
- * @memberof WrappedResponseServiceRequestDataData
3179
- */
3180
- 'requester_id': string;
3181
- /**
3182
- *
3183
- * @type {IssueTypeData}
3184
- * @memberof WrappedResponseServiceRequestDataData
3185
- */
3186
- 'issue_type': IssueTypeData;
3187
- /**
3188
- *
3189
- * @type {FloorData}
3190
- * @memberof WrappedResponseServiceRequestDataData
3191
- */
3192
- 'floor': FloorData;
3193
- /**
3194
- *
3195
- * @type {TowerData}
3196
- * @memberof WrappedResponseServiceRequestDataData
3197
- */
3198
- 'tower': TowerData;
3199
- /**
3200
- *
3201
- * @type {Array<string>}
3202
- * @memberof WrappedResponseServiceRequestDataData
3203
- */
3204
- 'image_url': Array<string>;
3205
- /**
3206
- *
3207
- * @type {string}
3208
- * @memberof WrappedResponseServiceRequestDataData
3209
- */
3210
- 'id': string;
3211
- }
3212
- /**
3213
- *
3214
- * @export
3215
- * @interface WrappedResponseServiceRequestResponse
3216
- */
3217
- export interface WrappedResponseServiceRequestResponse {
3218
- /**
3219
- *
3220
- * @type {WrappedResponseServiceRequestResponseData}
3221
- * @memberof WrappedResponseServiceRequestResponse
3222
- */
3223
- 'data': WrappedResponseServiceRequestResponseData | null;
3224
- }
3225
- /**
3226
- *
3227
- * @export
3228
- * @interface WrappedResponseServiceRequestResponseData
3229
- */
3230
- export interface WrappedResponseServiceRequestResponseData {
3231
- }
3232
3347
  /**
3233
3348
  *
3234
3349
  * @export
@@ -3369,6 +3484,74 @@ export interface WrappedResponseVisitorTokensIndexResponseDataData {
3369
3484
  */
3370
3485
  export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
3371
3486
  return {
3487
+ /**
3488
+ *
3489
+ * @param {ACRequestBody} aCRequestBody
3490
+ * @param {*} [options] Override http request option.
3491
+ * @throws {RequiredError}
3492
+ */
3493
+ acCreate: async (aCRequestBody: ACRequestBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3494
+ // verify required parameter 'aCRequestBody' is not null or undefined
3495
+ assertParamExists('acCreate', 'aCRequestBody', aCRequestBody)
3496
+ const localVarPath = `/ac_request`;
3497
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3498
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3499
+ let baseOptions;
3500
+ if (configuration) {
3501
+ baseOptions = configuration.baseOptions;
3502
+ }
3503
+
3504
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3505
+ const localVarHeaderParameter = {} as any;
3506
+ const localVarQueryParameter = {} as any;
3507
+
3508
+
3509
+
3510
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3511
+
3512
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3513
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3514
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3515
+ localVarRequestOptions.data = serializeDataIfNeeded(aCRequestBody, localVarRequestOptions, configuration)
3516
+
3517
+ return {
3518
+ url: toPathString(localVarUrlObj),
3519
+ options: localVarRequestOptions,
3520
+ };
3521
+ },
3522
+ /**
3523
+ *
3524
+ * @param {string} floorId
3525
+ * @param {*} [options] Override http request option.
3526
+ * @throws {RequiredError}
3527
+ */
3528
+ acZonesShow: async (floorId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
3529
+ // verify required parameter 'floorId' is not null or undefined
3530
+ assertParamExists('acZonesShow', 'floorId', floorId)
3531
+ const localVarPath = `/ac_zones/{floor_id}`
3532
+ .replace(`{${"floor_id"}}`, encodeURIComponent(String(floorId)));
3533
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3534
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3535
+ let baseOptions;
3536
+ if (configuration) {
3537
+ baseOptions = configuration.baseOptions;
3538
+ }
3539
+
3540
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3541
+ const localVarHeaderParameter = {} as any;
3542
+ const localVarQueryParameter = {} as any;
3543
+
3544
+
3545
+
3546
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3547
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3548
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3549
+
3550
+ return {
3551
+ url: toPathString(localVarUrlObj),
3552
+ options: localVarRequestOptions,
3553
+ };
3554
+ },
3372
3555
  /**
3373
3556
  *
3374
3557
  * @param {WebhookCreateBody} webhookCreateBody
@@ -4177,6 +4360,45 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4177
4360
  options: localVarRequestOptions,
4178
4361
  };
4179
4362
  },
4363
+ /**
4364
+ *
4365
+ * @param {string} id
4366
+ * @param {ServiceRequestsUpdateRequestBody} serviceRequestsUpdateRequestBody
4367
+ * @param {*} [options] Override http request option.
4368
+ * @throws {RequiredError}
4369
+ */
4370
+ serviceRequestsUpdate: async (id: string, serviceRequestsUpdateRequestBody: ServiceRequestsUpdateRequestBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4371
+ // verify required parameter 'id' is not null or undefined
4372
+ assertParamExists('serviceRequestsUpdate', 'id', id)
4373
+ // verify required parameter 'serviceRequestsUpdateRequestBody' is not null or undefined
4374
+ assertParamExists('serviceRequestsUpdate', 'serviceRequestsUpdateRequestBody', serviceRequestsUpdateRequestBody)
4375
+ const localVarPath = `/service_requests/{id}`
4376
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4377
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4378
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4379
+ let baseOptions;
4380
+ if (configuration) {
4381
+ baseOptions = configuration.baseOptions;
4382
+ }
4383
+
4384
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
4385
+ const localVarHeaderParameter = {} as any;
4386
+ const localVarQueryParameter = {} as any;
4387
+
4388
+
4389
+
4390
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4391
+
4392
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4393
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4394
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4395
+ localVarRequestOptions.data = serializeDataIfNeeded(serviceRequestsUpdateRequestBody, localVarRequestOptions, configuration)
4396
+
4397
+ return {
4398
+ url: toPathString(localVarUrlObj),
4399
+ options: localVarRequestOptions,
4400
+ };
4401
+ },
4180
4402
  /**
4181
4403
  *
4182
4404
  * @param {SyncBody} syncBody
@@ -4357,6 +4579,26 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4357
4579
  export const DefaultApiFp = function(configuration?: Configuration) {
4358
4580
  const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
4359
4581
  return {
4582
+ /**
4583
+ *
4584
+ * @param {ACRequestBody} aCRequestBody
4585
+ * @param {*} [options] Override http request option.
4586
+ * @throws {RequiredError}
4587
+ */
4588
+ async acCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseBoolean>> {
4589
+ const localVarAxiosArgs = await localVarAxiosParamCreator.acCreate(aCRequestBody, options);
4590
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4591
+ },
4592
+ /**
4593
+ *
4594
+ * @param {string} floorId
4595
+ * @param {*} [options] Override http request option.
4596
+ * @throws {RequiredError}
4597
+ */
4598
+ async acZonesShow(floorId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseACZoneData>> {
4599
+ const localVarAxiosArgs = await localVarAxiosParamCreator.acZonesShow(floorId, options);
4600
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4601
+ },
4360
4602
  /**
4361
4603
  *
4362
4604
  * @param {WebhookCreateBody} webhookCreateBody
@@ -4555,7 +4797,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4555
4797
  * @param {*} [options] Override http request option.
4556
4798
  * @throws {RequiredError}
4557
4799
  */
4558
- async serviceRequestsCreate(serviceRequestBody: ServiceRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseCreateServiceRequestResponse>> {
4800
+ async serviceRequestsCreate(serviceRequestBody: ServiceRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseCreateServiceRequestResponse>> {
4559
4801
  const localVarAxiosArgs = await localVarAxiosParamCreator.serviceRequestsCreate(serviceRequestBody, options);
4560
4802
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4561
4803
  },
@@ -4570,7 +4812,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4570
4812
  * @param {*} [options] Override http request option.
4571
4813
  * @throws {RequiredError}
4572
4814
  */
4573
- async serviceRequestsIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ServiceRequestStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseServiceRequestResponse>> {
4815
+ async serviceRequestsIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ServiceRequestStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseServiceRequestData>> {
4574
4816
  const localVarAxiosArgs = await localVarAxiosParamCreator.serviceRequestsIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options);
4575
4817
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4576
4818
  },
@@ -4580,10 +4822,21 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4580
4822
  * @param {*} [options] Override http request option.
4581
4823
  * @throws {RequiredError}
4582
4824
  */
4583
- async serviceRequestsShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseServiceRequestData>> {
4825
+ async serviceRequestsShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseServiceRequestData>> {
4584
4826
  const localVarAxiosArgs = await localVarAxiosParamCreator.serviceRequestsShow(id, options);
4585
4827
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4586
4828
  },
4829
+ /**
4830
+ *
4831
+ * @param {string} id
4832
+ * @param {ServiceRequestsUpdateRequestBody} serviceRequestsUpdateRequestBody
4833
+ * @param {*} [options] Override http request option.
4834
+ * @throws {RequiredError}
4835
+ */
4836
+ async serviceRequestsUpdate(id: string, serviceRequestsUpdateRequestBody: ServiceRequestsUpdateRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseServiceRequestData>> {
4837
+ const localVarAxiosArgs = await localVarAxiosParamCreator.serviceRequestsUpdate(id, serviceRequestsUpdateRequestBody, options);
4838
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
4839
+ },
4587
4840
  /**
4588
4841
  *
4589
4842
  * @param {SyncBody} syncBody
@@ -4644,6 +4897,24 @@ export const DefaultApiFp = function(configuration?: Configuration) {
4644
4897
  export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
4645
4898
  const localVarFp = DefaultApiFp(configuration)
4646
4899
  return {
4900
+ /**
4901
+ *
4902
+ * @param {ACRequestBody} aCRequestBody
4903
+ * @param {*} [options] Override http request option.
4904
+ * @throws {RequiredError}
4905
+ */
4906
+ acCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<WrappedResponseBoolean> {
4907
+ return localVarFp.acCreate(aCRequestBody, options).then((request) => request(axios, basePath));
4908
+ },
4909
+ /**
4910
+ *
4911
+ * @param {string} floorId
4912
+ * @param {*} [options] Override http request option.
4913
+ * @throws {RequiredError}
4914
+ */
4915
+ acZonesShow(floorId: string, options?: any): AxiosPromise<WrappedResponseACZoneData> {
4916
+ return localVarFp.acZonesShow(floorId, options).then((request) => request(axios, basePath));
4917
+ },
4647
4918
  /**
4648
4919
  *
4649
4920
  * @param {WebhookCreateBody} webhookCreateBody
@@ -4824,7 +5095,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
4824
5095
  * @param {*} [options] Override http request option.
4825
5096
  * @throws {RequiredError}
4826
5097
  */
4827
- serviceRequestsCreate(serviceRequestBody: ServiceRequestBody, options?: any): AxiosPromise<WrappedResponseCreateServiceRequestResponse> {
5098
+ serviceRequestsCreate(serviceRequestBody: ServiceRequestBody, options?: any): AxiosPromise<WrappedOneResponseCreateServiceRequestResponse> {
4828
5099
  return localVarFp.serviceRequestsCreate(serviceRequestBody, options).then((request) => request(axios, basePath));
4829
5100
  },
4830
5101
  /**
@@ -4838,7 +5109,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
4838
5109
  * @param {*} [options] Override http request option.
4839
5110
  * @throws {RequiredError}
4840
5111
  */
4841
- serviceRequestsIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ServiceRequestStatus, options?: any): AxiosPromise<WrappedResponseServiceRequestResponse> {
5112
+ serviceRequestsIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ServiceRequestStatus, options?: any): AxiosPromise<WrappedArrayResponseServiceRequestData> {
4842
5113
  return localVarFp.serviceRequestsIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options).then((request) => request(axios, basePath));
4843
5114
  },
4844
5115
  /**
@@ -4847,9 +5118,19 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
4847
5118
  * @param {*} [options] Override http request option.
4848
5119
  * @throws {RequiredError}
4849
5120
  */
4850
- serviceRequestsShow(id: string, options?: any): AxiosPromise<WrappedResponseServiceRequestData> {
5121
+ serviceRequestsShow(id: string, options?: any): AxiosPromise<WrappedOneResponseServiceRequestData> {
4851
5122
  return localVarFp.serviceRequestsShow(id, options).then((request) => request(axios, basePath));
4852
5123
  },
5124
+ /**
5125
+ *
5126
+ * @param {string} id
5127
+ * @param {ServiceRequestsUpdateRequestBody} serviceRequestsUpdateRequestBody
5128
+ * @param {*} [options] Override http request option.
5129
+ * @throws {RequiredError}
5130
+ */
5131
+ serviceRequestsUpdate(id: string, serviceRequestsUpdateRequestBody: ServiceRequestsUpdateRequestBody, options?: any): AxiosPromise<WrappedOneResponseServiceRequestData> {
5132
+ return localVarFp.serviceRequestsUpdate(id, serviceRequestsUpdateRequestBody, options).then((request) => request(axios, basePath));
5133
+ },
4853
5134
  /**
4854
5135
  *
4855
5136
  * @param {SyncBody} syncBody
@@ -4905,6 +5186,28 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
4905
5186
  * @extends {BaseAPI}
4906
5187
  */
4907
5188
  export class DefaultApi extends BaseAPI {
5189
+ /**
5190
+ *
5191
+ * @param {ACRequestBody} aCRequestBody
5192
+ * @param {*} [options] Override http request option.
5193
+ * @throws {RequiredError}
5194
+ * @memberof DefaultApi
5195
+ */
5196
+ public acCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig) {
5197
+ return DefaultApiFp(this.configuration).acCreate(aCRequestBody, options).then((request) => request(this.axios, this.basePath));
5198
+ }
5199
+
5200
+ /**
5201
+ *
5202
+ * @param {string} floorId
5203
+ * @param {*} [options] Override http request option.
5204
+ * @throws {RequiredError}
5205
+ * @memberof DefaultApi
5206
+ */
5207
+ public acZonesShow(floorId: string, options?: AxiosRequestConfig) {
5208
+ return DefaultApiFp(this.configuration).acZonesShow(floorId, options).then((request) => request(this.axios, this.basePath));
5209
+ }
5210
+
4908
5211
  /**
4909
5212
  *
4910
5213
  * @param {WebhookCreateBody} webhookCreateBody
@@ -5153,6 +5456,18 @@ export class DefaultApi extends BaseAPI {
5153
5456
  return DefaultApiFp(this.configuration).serviceRequestsShow(id, options).then((request) => request(this.axios, this.basePath));
5154
5457
  }
5155
5458
 
5459
+ /**
5460
+ *
5461
+ * @param {string} id
5462
+ * @param {ServiceRequestsUpdateRequestBody} serviceRequestsUpdateRequestBody
5463
+ * @param {*} [options] Override http request option.
5464
+ * @throws {RequiredError}
5465
+ * @memberof DefaultApi
5466
+ */
5467
+ public serviceRequestsUpdate(id: string, serviceRequestsUpdateRequestBody: ServiceRequestsUpdateRequestBody, options?: AxiosRequestConfig) {
5468
+ return DefaultApiFp(this.configuration).serviceRequestsUpdate(id, serviceRequestsUpdateRequestBody, options).then((request) => request(this.axios, this.basePath));
5469
+ }
5470
+
5156
5471
  /**
5157
5472
  *
5158
5473
  * @param {SyncBody} syncBody