ob-bms-sdk 0.0.67 → 0.0.69
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 +791 -223
- package/dist/api/api.d.ts +627 -227
- package/dist/api/api.js +290 -1
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -26,100 +26,247 @@ import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError } from './base';
|
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
28
|
* @export
|
|
29
|
-
* @interface
|
|
29
|
+
* @interface ACRequestBody
|
|
30
30
|
*/
|
|
31
|
-
export interface
|
|
31
|
+
export interface ACRequestBody {
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {string}
|
|
35
|
-
* @memberof
|
|
35
|
+
* @memberof ACRequestBody
|
|
36
36
|
*/
|
|
37
|
-
'
|
|
37
|
+
'floor_id': string;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {string}
|
|
41
|
-
* @memberof
|
|
41
|
+
* @memberof ACRequestBody
|
|
42
42
|
*/
|
|
43
|
-
'
|
|
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;
|
|
44
62
|
/**
|
|
45
63
|
*
|
|
46
64
|
* @type {number}
|
|
47
|
-
* @memberof
|
|
65
|
+
* @memberof ACRequestBody
|
|
48
66
|
*/
|
|
49
|
-
'
|
|
67
|
+
'duration': number;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @export
|
|
72
|
+
* @interface ACRequestQuery
|
|
73
|
+
*/
|
|
74
|
+
export interface ACRequestQuery {
|
|
50
75
|
/**
|
|
51
76
|
*
|
|
52
77
|
* @type {string}
|
|
53
|
-
* @memberof
|
|
78
|
+
* @memberof ACRequestQuery
|
|
54
79
|
*/
|
|
55
|
-
'
|
|
80
|
+
'requester_id'?: string;
|
|
56
81
|
/**
|
|
57
82
|
*
|
|
58
83
|
* @type {string}
|
|
59
|
-
* @memberof
|
|
84
|
+
* @memberof ACRequestQuery
|
|
60
85
|
*/
|
|
61
|
-
'
|
|
86
|
+
'order_by'?: string;
|
|
62
87
|
/**
|
|
63
88
|
*
|
|
64
89
|
* @type {string}
|
|
65
|
-
* @memberof
|
|
90
|
+
* @memberof ACRequestQuery
|
|
66
91
|
*/
|
|
67
|
-
'
|
|
92
|
+
'order_direction'?: string;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {number}
|
|
96
|
+
* @memberof ACRequestQuery
|
|
97
|
+
*/
|
|
98
|
+
'page_number'?: number;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {number}
|
|
102
|
+
* @memberof ACRequestQuery
|
|
103
|
+
*/
|
|
104
|
+
'page_size'?: number;
|
|
68
105
|
}
|
|
69
106
|
/**
|
|
70
107
|
*
|
|
71
108
|
* @export
|
|
72
|
-
* @interface
|
|
109
|
+
* @interface ACRequestResponse
|
|
73
110
|
*/
|
|
74
|
-
export interface
|
|
111
|
+
export interface ACRequestResponse {
|
|
75
112
|
/**
|
|
76
113
|
*
|
|
77
114
|
* @type {string}
|
|
78
|
-
* @memberof
|
|
115
|
+
* @memberof ACRequestResponse
|
|
79
116
|
*/
|
|
80
117
|
'id': string;
|
|
81
118
|
/**
|
|
82
119
|
*
|
|
83
120
|
* @type {string}
|
|
84
|
-
* @memberof
|
|
121
|
+
* @memberof ACRequestResponse
|
|
85
122
|
*/
|
|
86
|
-
'
|
|
123
|
+
'tower_id': string;
|
|
87
124
|
/**
|
|
88
125
|
*
|
|
89
126
|
* @type {string}
|
|
90
|
-
* @memberof
|
|
127
|
+
* @memberof ACRequestResponse
|
|
91
128
|
*/
|
|
92
|
-
'
|
|
129
|
+
'floor_id': string;
|
|
93
130
|
/**
|
|
94
131
|
*
|
|
95
|
-
* @type {
|
|
96
|
-
* @memberof
|
|
132
|
+
* @type {string}
|
|
133
|
+
* @memberof ACRequestResponse
|
|
97
134
|
*/
|
|
98
|
-
'
|
|
135
|
+
'ac_zone_id': string;
|
|
99
136
|
/**
|
|
100
137
|
*
|
|
101
138
|
* @type {string}
|
|
102
|
-
* @memberof
|
|
139
|
+
* @memberof ACRequestResponse
|
|
103
140
|
*/
|
|
104
|
-
'
|
|
141
|
+
'estimated_cost': string;
|
|
105
142
|
/**
|
|
106
143
|
*
|
|
107
144
|
* @type {string}
|
|
108
|
-
* @memberof
|
|
145
|
+
* @memberof ACRequestResponse
|
|
109
146
|
*/
|
|
110
|
-
'
|
|
147
|
+
'rate': string;
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @type {ACZoneDataCreatedAt}
|
|
151
|
+
* @memberof ACRequestResponse
|
|
152
|
+
*/
|
|
153
|
+
'from': ACZoneDataCreatedAt;
|
|
154
|
+
/**
|
|
155
|
+
*
|
|
156
|
+
* @type {ACZoneDataCreatedAt}
|
|
157
|
+
* @memberof ACRequestResponse
|
|
158
|
+
*/
|
|
159
|
+
'to': ACZoneDataCreatedAt;
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @type {number}
|
|
163
|
+
* @memberof ACRequestResponse
|
|
164
|
+
*/
|
|
165
|
+
'duration_hour': number;
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @type {number}
|
|
169
|
+
* @memberof ACRequestResponse
|
|
170
|
+
*/
|
|
171
|
+
'area_size': number;
|
|
111
172
|
/**
|
|
112
173
|
*
|
|
113
174
|
* @type {string}
|
|
114
|
-
* @memberof
|
|
175
|
+
* @memberof ACRequestResponse
|
|
115
176
|
*/
|
|
116
|
-
'
|
|
177
|
+
'status': string;
|
|
178
|
+
/**
|
|
179
|
+
*
|
|
180
|
+
* @type {ACZoneDataCreatedAt}
|
|
181
|
+
* @memberof ACRequestResponse
|
|
182
|
+
*/
|
|
183
|
+
'created_at': ACZoneDataCreatedAt;
|
|
184
|
+
/**
|
|
185
|
+
*
|
|
186
|
+
* @type {ACZoneDataCreatedAt}
|
|
187
|
+
* @memberof ACRequestResponse
|
|
188
|
+
*/
|
|
189
|
+
'updated_at': ACZoneDataCreatedAt;
|
|
117
190
|
/**
|
|
118
191
|
*
|
|
119
192
|
* @type {string}
|
|
120
|
-
* @memberof
|
|
193
|
+
* @memberof ACRequestResponse
|
|
121
194
|
*/
|
|
122
|
-
'
|
|
195
|
+
'requester_id': string;
|
|
196
|
+
/**
|
|
197
|
+
*
|
|
198
|
+
* @type {ACZoneData}
|
|
199
|
+
* @memberof ACRequestResponse
|
|
200
|
+
*/
|
|
201
|
+
'ac_zone': ACZoneData;
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @type {FloorData}
|
|
205
|
+
* @memberof ACRequestResponse
|
|
206
|
+
*/
|
|
207
|
+
'floor': FloorData;
|
|
208
|
+
/**
|
|
209
|
+
*
|
|
210
|
+
* @type {TowerData}
|
|
211
|
+
* @memberof ACRequestResponse
|
|
212
|
+
*/
|
|
213
|
+
'tower': TowerData;
|
|
214
|
+
/**
|
|
215
|
+
*
|
|
216
|
+
* @type {RequesterData}
|
|
217
|
+
* @memberof ACRequestResponse
|
|
218
|
+
*/
|
|
219
|
+
'requester': RequesterData;
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
*
|
|
223
|
+
* @export
|
|
224
|
+
* @interface ACZoneData
|
|
225
|
+
*/
|
|
226
|
+
export interface ACZoneData {
|
|
227
|
+
/**
|
|
228
|
+
*
|
|
229
|
+
* @type {string}
|
|
230
|
+
* @memberof ACZoneData
|
|
231
|
+
*/
|
|
232
|
+
'id': string;
|
|
233
|
+
/**
|
|
234
|
+
*
|
|
235
|
+
* @type {string}
|
|
236
|
+
* @memberof ACZoneData
|
|
237
|
+
*/
|
|
238
|
+
'name': string;
|
|
239
|
+
/**
|
|
240
|
+
*
|
|
241
|
+
* @type {number}
|
|
242
|
+
* @memberof ACZoneData
|
|
243
|
+
*/
|
|
244
|
+
'area_size': number;
|
|
245
|
+
/**
|
|
246
|
+
*
|
|
247
|
+
* @type {string}
|
|
248
|
+
* @memberof ACZoneData
|
|
249
|
+
*/
|
|
250
|
+
'floor_id': string;
|
|
251
|
+
/**
|
|
252
|
+
*
|
|
253
|
+
* @type {ACZoneDataCreatedAt}
|
|
254
|
+
* @memberof ACZoneData
|
|
255
|
+
*/
|
|
256
|
+
'created_at': ACZoneDataCreatedAt;
|
|
257
|
+
/**
|
|
258
|
+
*
|
|
259
|
+
* @type {ACZoneDataCreatedAt}
|
|
260
|
+
* @memberof ACZoneData
|
|
261
|
+
*/
|
|
262
|
+
'updated_at': ACZoneDataCreatedAt;
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
*
|
|
266
|
+
* @export
|
|
267
|
+
* @interface ACZoneDataCreatedAt
|
|
268
|
+
*/
|
|
269
|
+
export interface ACZoneDataCreatedAt {
|
|
123
270
|
}
|
|
124
271
|
/**
|
|
125
272
|
*
|
|
@@ -480,19 +627,19 @@ export interface FloorData {
|
|
|
480
627
|
* @type {string}
|
|
481
628
|
* @memberof FloorData
|
|
482
629
|
*/
|
|
483
|
-
'
|
|
630
|
+
'updated_at': string;
|
|
484
631
|
/**
|
|
485
632
|
*
|
|
486
633
|
* @type {string}
|
|
487
634
|
* @memberof FloorData
|
|
488
635
|
*/
|
|
489
|
-
'
|
|
636
|
+
'created_at': string;
|
|
490
637
|
/**
|
|
491
638
|
*
|
|
492
639
|
* @type {string}
|
|
493
640
|
* @memberof FloorData
|
|
494
641
|
*/
|
|
495
|
-
'
|
|
642
|
+
'tower_id': string;
|
|
496
643
|
/**
|
|
497
644
|
*
|
|
498
645
|
* @type {JsonValue}
|
|
@@ -504,19 +651,19 @@ export interface FloorData {
|
|
|
504
651
|
* @type {string}
|
|
505
652
|
* @memberof FloorData
|
|
506
653
|
*/
|
|
507
|
-
'
|
|
654
|
+
'name': string;
|
|
508
655
|
/**
|
|
509
656
|
*
|
|
510
657
|
* @type {string}
|
|
511
658
|
* @memberof FloorData
|
|
512
659
|
*/
|
|
513
|
-
'
|
|
660
|
+
'uid': string;
|
|
514
661
|
/**
|
|
515
662
|
*
|
|
516
663
|
* @type {string}
|
|
517
664
|
* @memberof FloorData
|
|
518
665
|
*/
|
|
519
|
-
'
|
|
666
|
+
'id': string;
|
|
520
667
|
}
|
|
521
668
|
/**
|
|
522
669
|
*
|
|
@@ -1441,6 +1588,49 @@ export interface RateDetail {
|
|
|
1441
1588
|
*/
|
|
1442
1589
|
'en': string;
|
|
1443
1590
|
}
|
|
1591
|
+
/**
|
|
1592
|
+
*
|
|
1593
|
+
* @export
|
|
1594
|
+
* @interface RequesterData
|
|
1595
|
+
*/
|
|
1596
|
+
export interface RequesterData {
|
|
1597
|
+
/**
|
|
1598
|
+
*
|
|
1599
|
+
* @type {ACZoneDataCreatedAt}
|
|
1600
|
+
* @memberof RequesterData
|
|
1601
|
+
*/
|
|
1602
|
+
'updated_at': ACZoneDataCreatedAt;
|
|
1603
|
+
/**
|
|
1604
|
+
*
|
|
1605
|
+
* @type {ACZoneDataCreatedAt}
|
|
1606
|
+
* @memberof RequesterData
|
|
1607
|
+
*/
|
|
1608
|
+
'created_at': ACZoneDataCreatedAt;
|
|
1609
|
+
/**
|
|
1610
|
+
*
|
|
1611
|
+
* @type {JsonValue}
|
|
1612
|
+
* @memberof RequesterData
|
|
1613
|
+
*/
|
|
1614
|
+
'metadata'?: JsonValue | null;
|
|
1615
|
+
/**
|
|
1616
|
+
*
|
|
1617
|
+
* @type {string}
|
|
1618
|
+
* @memberof RequesterData
|
|
1619
|
+
*/
|
|
1620
|
+
'account_id'?: string | null;
|
|
1621
|
+
/**
|
|
1622
|
+
*
|
|
1623
|
+
* @type {string}
|
|
1624
|
+
* @memberof RequesterData
|
|
1625
|
+
*/
|
|
1626
|
+
'uid': string;
|
|
1627
|
+
/**
|
|
1628
|
+
*
|
|
1629
|
+
* @type {string}
|
|
1630
|
+
* @memberof RequesterData
|
|
1631
|
+
*/
|
|
1632
|
+
'id': string;
|
|
1633
|
+
}
|
|
1444
1634
|
/**
|
|
1445
1635
|
*
|
|
1446
1636
|
* @export
|
|
@@ -1710,6 +1900,52 @@ export const ServiceRequestStatus = {
|
|
|
1710
1900
|
export type ServiceRequestStatus = typeof ServiceRequestStatus[keyof typeof ServiceRequestStatus];
|
|
1711
1901
|
|
|
1712
1902
|
|
|
1903
|
+
/**
|
|
1904
|
+
*
|
|
1905
|
+
* @export
|
|
1906
|
+
* @enum {string}
|
|
1907
|
+
*/
|
|
1908
|
+
|
|
1909
|
+
export const ServiceRequestStatusDone = {
|
|
1910
|
+
Done: 'done'
|
|
1911
|
+
} as const;
|
|
1912
|
+
|
|
1913
|
+
export type ServiceRequestStatusDone = typeof ServiceRequestStatusDone[keyof typeof ServiceRequestStatusDone];
|
|
1914
|
+
|
|
1915
|
+
|
|
1916
|
+
/**
|
|
1917
|
+
*
|
|
1918
|
+
* @export
|
|
1919
|
+
* @enum {string}
|
|
1920
|
+
*/
|
|
1921
|
+
|
|
1922
|
+
export const ServiceRequestStatusInProgress = {
|
|
1923
|
+
InProgress: 'in_progress'
|
|
1924
|
+
} as const;
|
|
1925
|
+
|
|
1926
|
+
export type ServiceRequestStatusInProgress = typeof ServiceRequestStatusInProgress[keyof typeof ServiceRequestStatusInProgress];
|
|
1927
|
+
|
|
1928
|
+
|
|
1929
|
+
/**
|
|
1930
|
+
*
|
|
1931
|
+
* @export
|
|
1932
|
+
* @interface ServiceRequestsUpdateRequestBody
|
|
1933
|
+
*/
|
|
1934
|
+
export interface ServiceRequestsUpdateRequestBody {
|
|
1935
|
+
/**
|
|
1936
|
+
*
|
|
1937
|
+
* @type {ServiceRequestsUpdateRequestBodyStatus}
|
|
1938
|
+
* @memberof ServiceRequestsUpdateRequestBody
|
|
1939
|
+
*/
|
|
1940
|
+
'status': ServiceRequestsUpdateRequestBodyStatus;
|
|
1941
|
+
}
|
|
1942
|
+
/**
|
|
1943
|
+
*
|
|
1944
|
+
* @export
|
|
1945
|
+
* @interface ServiceRequestsUpdateRequestBodyStatus
|
|
1946
|
+
*/
|
|
1947
|
+
export interface ServiceRequestsUpdateRequestBodyStatus {
|
|
1948
|
+
}
|
|
1713
1949
|
/**
|
|
1714
1950
|
*
|
|
1715
1951
|
* @export
|
|
@@ -2080,19 +2316,19 @@ export interface TowerData {
|
|
|
2080
2316
|
* @type {string}
|
|
2081
2317
|
* @memberof TowerData
|
|
2082
2318
|
*/
|
|
2083
|
-
'
|
|
2319
|
+
'updated_at': string;
|
|
2084
2320
|
/**
|
|
2085
2321
|
*
|
|
2086
2322
|
* @type {string}
|
|
2087
2323
|
* @memberof TowerData
|
|
2088
2324
|
*/
|
|
2089
|
-
'
|
|
2325
|
+
'created_at': string;
|
|
2090
2326
|
/**
|
|
2091
2327
|
*
|
|
2092
2328
|
* @type {string}
|
|
2093
2329
|
* @memberof TowerData
|
|
2094
2330
|
*/
|
|
2095
|
-
'
|
|
2331
|
+
'project_id': string;
|
|
2096
2332
|
/**
|
|
2097
2333
|
*
|
|
2098
2334
|
* @type {JsonValue}
|
|
@@ -2104,31 +2340,19 @@ export interface TowerData {
|
|
|
2104
2340
|
* @type {string}
|
|
2105
2341
|
* @memberof TowerData
|
|
2106
2342
|
*/
|
|
2107
|
-
'
|
|
2343
|
+
'name': string;
|
|
2108
2344
|
/**
|
|
2109
2345
|
*
|
|
2110
2346
|
* @type {string}
|
|
2111
2347
|
* @memberof TowerData
|
|
2112
2348
|
*/
|
|
2113
|
-
'
|
|
2349
|
+
'uid': string;
|
|
2114
2350
|
/**
|
|
2115
2351
|
*
|
|
2116
2352
|
* @type {string}
|
|
2117
2353
|
* @memberof TowerData
|
|
2118
2354
|
*/
|
|
2119
|
-
'
|
|
2120
|
-
/**
|
|
2121
|
-
*
|
|
2122
|
-
* @type {Array<FloorData>}
|
|
2123
|
-
* @memberof TowerData
|
|
2124
|
-
*/
|
|
2125
|
-
'floors': Array<FloorData>;
|
|
2126
|
-
/**
|
|
2127
|
-
*
|
|
2128
|
-
* @type {Array<AuthorizedLocationData>}
|
|
2129
|
-
* @memberof TowerData
|
|
2130
|
-
*/
|
|
2131
|
-
'locations': Array<AuthorizedLocationData>;
|
|
2355
|
+
'id': string;
|
|
2132
2356
|
}
|
|
2133
2357
|
/**
|
|
2134
2358
|
*
|
|
@@ -2372,16 +2596,16 @@ export interface VisitorSchedule {
|
|
|
2372
2596
|
'floor_id': string;
|
|
2373
2597
|
/**
|
|
2374
2598
|
*
|
|
2375
|
-
* @type {
|
|
2599
|
+
* @type {ACZoneDataCreatedAt}
|
|
2376
2600
|
* @memberof VisitorSchedule
|
|
2377
2601
|
*/
|
|
2378
|
-
'from':
|
|
2602
|
+
'from': ACZoneDataCreatedAt;
|
|
2379
2603
|
/**
|
|
2380
2604
|
*
|
|
2381
|
-
* @type {
|
|
2605
|
+
* @type {ACZoneDataCreatedAt}
|
|
2382
2606
|
* @memberof VisitorSchedule
|
|
2383
2607
|
*/
|
|
2384
|
-
'to':
|
|
2608
|
+
'to': ACZoneDataCreatedAt;
|
|
2385
2609
|
/**
|
|
2386
2610
|
*
|
|
2387
2611
|
* @type {object}
|
|
@@ -2389,13 +2613,6 @@ export interface VisitorSchedule {
|
|
|
2389
2613
|
*/
|
|
2390
2614
|
'repetition'?: object;
|
|
2391
2615
|
}
|
|
2392
|
-
/**
|
|
2393
|
-
*
|
|
2394
|
-
* @export
|
|
2395
|
-
* @interface VisitorScheduleFrom
|
|
2396
|
-
*/
|
|
2397
|
-
export interface VisitorScheduleFrom {
|
|
2398
|
-
}
|
|
2399
2616
|
/**
|
|
2400
2617
|
*
|
|
2401
2618
|
* @export
|
|
@@ -2628,46 +2845,207 @@ export interface WrappedArrayResponseSensorsIndexResponseData {
|
|
|
2628
2845
|
/**
|
|
2629
2846
|
*
|
|
2630
2847
|
* @export
|
|
2631
|
-
* @interface
|
|
2848
|
+
* @interface WrappedArrayResponseServiceRequestData
|
|
2632
2849
|
*/
|
|
2633
|
-
export interface
|
|
2850
|
+
export interface WrappedArrayResponseServiceRequestData {
|
|
2634
2851
|
/**
|
|
2635
2852
|
*
|
|
2636
|
-
* @type {
|
|
2637
|
-
* @memberof
|
|
2853
|
+
* @type {Array<ServiceRequestData>}
|
|
2854
|
+
* @memberof WrappedArrayResponseServiceRequestData
|
|
2638
2855
|
*/
|
|
2639
|
-
'data':
|
|
2856
|
+
'data': Array<ServiceRequestData>;
|
|
2640
2857
|
}
|
|
2641
2858
|
/**
|
|
2642
2859
|
*
|
|
2643
2860
|
* @export
|
|
2644
|
-
* @interface
|
|
2861
|
+
* @interface WrappedOneResponseCreateServiceRequestResponse
|
|
2645
2862
|
*/
|
|
2646
|
-
export interface
|
|
2863
|
+
export interface WrappedOneResponseCreateServiceRequestResponse {
|
|
2647
2864
|
/**
|
|
2648
2865
|
*
|
|
2649
|
-
* @type {
|
|
2650
|
-
* @memberof
|
|
2866
|
+
* @type {CreateServiceRequestResponse}
|
|
2867
|
+
* @memberof WrappedOneResponseCreateServiceRequestResponse
|
|
2651
2868
|
*/
|
|
2652
|
-
'
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2869
|
+
'data': CreateServiceRequestResponse;
|
|
2870
|
+
}
|
|
2871
|
+
/**
|
|
2872
|
+
*
|
|
2873
|
+
* @export
|
|
2874
|
+
* @interface WrappedOneResponseServiceRequestData
|
|
2875
|
+
*/
|
|
2876
|
+
export interface WrappedOneResponseServiceRequestData {
|
|
2877
|
+
/**
|
|
2878
|
+
*
|
|
2879
|
+
* @type {ServiceRequestData}
|
|
2880
|
+
* @memberof WrappedOneResponseServiceRequestData
|
|
2657
2881
|
*/
|
|
2658
|
-
'
|
|
2882
|
+
'data': ServiceRequestData;
|
|
2883
|
+
}
|
|
2884
|
+
/**
|
|
2885
|
+
*
|
|
2886
|
+
* @export
|
|
2887
|
+
* @interface WrappedResponseACRequestResponse
|
|
2888
|
+
*/
|
|
2889
|
+
export interface WrappedResponseACRequestResponse {
|
|
2890
|
+
/**
|
|
2891
|
+
*
|
|
2892
|
+
* @type {WrappedResponseACRequestResponseData}
|
|
2893
|
+
* @memberof WrappedResponseACRequestResponse
|
|
2894
|
+
*/
|
|
2895
|
+
'data': WrappedResponseACRequestResponseData | null;
|
|
2896
|
+
}
|
|
2897
|
+
/**
|
|
2898
|
+
*
|
|
2899
|
+
* @export
|
|
2900
|
+
* @interface WrappedResponseACRequestResponseData
|
|
2901
|
+
*/
|
|
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;
|
|
2659
2951
|
/**
|
|
2660
2952
|
*
|
|
2661
2953
|
* @type {number}
|
|
2662
|
-
* @memberof
|
|
2954
|
+
* @memberof WrappedResponseACRequestResponseData
|
|
2955
|
+
*/
|
|
2956
|
+
'duration_hour': number;
|
|
2957
|
+
/**
|
|
2958
|
+
*
|
|
2959
|
+
* @type {number}
|
|
2960
|
+
* @memberof WrappedResponseACRequestResponseData
|
|
2663
2961
|
*/
|
|
2664
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
|
|
3022
|
+
*/
|
|
3023
|
+
'data': WrappedResponseACZoneDataData | null;
|
|
3024
|
+
}
|
|
3025
|
+
/**
|
|
3026
|
+
*
|
|
3027
|
+
* @export
|
|
3028
|
+
* @interface WrappedResponseACZoneDataData
|
|
3029
|
+
*/
|
|
3030
|
+
export interface WrappedResponseACZoneDataData {
|
|
3031
|
+
/**
|
|
3032
|
+
*
|
|
3033
|
+
* @type {string}
|
|
3034
|
+
* @memberof WrappedResponseACZoneDataData
|
|
3035
|
+
*/
|
|
3036
|
+
'id': string;
|
|
2665
3037
|
/**
|
|
2666
3038
|
*
|
|
2667
3039
|
* @type {string}
|
|
2668
3040
|
* @memberof WrappedResponseACZoneDataData
|
|
2669
3041
|
*/
|
|
2670
3042
|
'name': string;
|
|
3043
|
+
/**
|
|
3044
|
+
*
|
|
3045
|
+
* @type {number}
|
|
3046
|
+
* @memberof WrappedResponseACZoneDataData
|
|
3047
|
+
*/
|
|
3048
|
+
'area_size': number;
|
|
2671
3049
|
/**
|
|
2672
3050
|
*
|
|
2673
3051
|
* @type {string}
|
|
@@ -2676,10 +3054,36 @@ export interface WrappedResponseACZoneDataData {
|
|
|
2676
3054
|
'floor_id': string;
|
|
2677
3055
|
/**
|
|
2678
3056
|
*
|
|
2679
|
-
* @type {
|
|
3057
|
+
* @type {ACZoneDataCreatedAt}
|
|
2680
3058
|
* @memberof WrappedResponseACZoneDataData
|
|
2681
3059
|
*/
|
|
2682
|
-
'
|
|
3060
|
+
'created_at': ACZoneDataCreatedAt;
|
|
3061
|
+
/**
|
|
3062
|
+
*
|
|
3063
|
+
* @type {ACZoneDataCreatedAt}
|
|
3064
|
+
* @memberof WrappedResponseACZoneDataData
|
|
3065
|
+
*/
|
|
3066
|
+
'updated_at': ACZoneDataCreatedAt;
|
|
3067
|
+
}
|
|
3068
|
+
/**
|
|
3069
|
+
*
|
|
3070
|
+
* @export
|
|
3071
|
+
* @interface WrappedResponseBoolean
|
|
3072
|
+
*/
|
|
3073
|
+
export interface WrappedResponseBoolean {
|
|
3074
|
+
/**
|
|
3075
|
+
*
|
|
3076
|
+
* @type {WrappedResponseBooleanData}
|
|
3077
|
+
* @memberof WrappedResponseBoolean
|
|
3078
|
+
*/
|
|
3079
|
+
'data': WrappedResponseBooleanData | null;
|
|
3080
|
+
}
|
|
3081
|
+
/**
|
|
3082
|
+
*
|
|
3083
|
+
* @export
|
|
3084
|
+
* @interface WrappedResponseBooleanData
|
|
3085
|
+
*/
|
|
3086
|
+
export interface WrappedResponseBooleanData {
|
|
2683
3087
|
}
|
|
2684
3088
|
/**
|
|
2685
3089
|
*
|
|
@@ -2769,32 +3173,6 @@ export interface WrappedResponseCommandsIndexResponse {
|
|
|
2769
3173
|
*/
|
|
2770
3174
|
export interface WrappedResponseCommandsIndexResponseData {
|
|
2771
3175
|
}
|
|
2772
|
-
/**
|
|
2773
|
-
*
|
|
2774
|
-
* @export
|
|
2775
|
-
* @interface WrappedResponseCreateServiceRequestResponse
|
|
2776
|
-
*/
|
|
2777
|
-
export interface WrappedResponseCreateServiceRequestResponse {
|
|
2778
|
-
/**
|
|
2779
|
-
*
|
|
2780
|
-
* @type {WrappedResponseCreateServiceRequestResponseData}
|
|
2781
|
-
* @memberof WrappedResponseCreateServiceRequestResponse
|
|
2782
|
-
*/
|
|
2783
|
-
'data': WrappedResponseCreateServiceRequestResponseData | null;
|
|
2784
|
-
}
|
|
2785
|
-
/**
|
|
2786
|
-
*
|
|
2787
|
-
* @export
|
|
2788
|
-
* @interface WrappedResponseCreateServiceRequestResponseData
|
|
2789
|
-
*/
|
|
2790
|
-
export interface WrappedResponseCreateServiceRequestResponseData {
|
|
2791
|
-
/**
|
|
2792
|
-
*
|
|
2793
|
-
* @type {string}
|
|
2794
|
-
* @memberof WrappedResponseCreateServiceRequestResponseData
|
|
2795
|
-
*/
|
|
2796
|
-
'id': string;
|
|
2797
|
-
}
|
|
2798
3176
|
/**
|
|
2799
3177
|
*
|
|
2800
3178
|
* @export
|
|
@@ -3222,112 +3600,6 @@ export const WrappedResponsePassConsentResponseDataStatusEnum = {
|
|
|
3222
3600
|
|
|
3223
3601
|
export type WrappedResponsePassConsentResponseDataStatusEnum = typeof WrappedResponsePassConsentResponseDataStatusEnum[keyof typeof WrappedResponsePassConsentResponseDataStatusEnum];
|
|
3224
3602
|
|
|
3225
|
-
/**
|
|
3226
|
-
*
|
|
3227
|
-
* @export
|
|
3228
|
-
* @interface WrappedResponseServiceRequestData
|
|
3229
|
-
*/
|
|
3230
|
-
export interface WrappedResponseServiceRequestData {
|
|
3231
|
-
/**
|
|
3232
|
-
*
|
|
3233
|
-
* @type {WrappedResponseServiceRequestDataData}
|
|
3234
|
-
* @memberof WrappedResponseServiceRequestData
|
|
3235
|
-
*/
|
|
3236
|
-
'data': WrappedResponseServiceRequestDataData | null;
|
|
3237
|
-
}
|
|
3238
|
-
/**
|
|
3239
|
-
*
|
|
3240
|
-
* @export
|
|
3241
|
-
* @interface WrappedResponseServiceRequestDataData
|
|
3242
|
-
*/
|
|
3243
|
-
export interface WrappedResponseServiceRequestDataData {
|
|
3244
|
-
/**
|
|
3245
|
-
*
|
|
3246
|
-
* @type {string}
|
|
3247
|
-
* @memberof WrappedResponseServiceRequestDataData
|
|
3248
|
-
*/
|
|
3249
|
-
'updated_at': string;
|
|
3250
|
-
/**
|
|
3251
|
-
*
|
|
3252
|
-
* @type {string}
|
|
3253
|
-
* @memberof WrappedResponseServiceRequestDataData
|
|
3254
|
-
*/
|
|
3255
|
-
'created_at': string;
|
|
3256
|
-
/**
|
|
3257
|
-
*
|
|
3258
|
-
* @type {string}
|
|
3259
|
-
* @memberof WrappedResponseServiceRequestDataData
|
|
3260
|
-
*/
|
|
3261
|
-
'description': string;
|
|
3262
|
-
/**
|
|
3263
|
-
*
|
|
3264
|
-
* @type {string}
|
|
3265
|
-
* @memberof WrappedResponseServiceRequestDataData
|
|
3266
|
-
*/
|
|
3267
|
-
'status': string;
|
|
3268
|
-
/**
|
|
3269
|
-
*
|
|
3270
|
-
* @type {string}
|
|
3271
|
-
* @memberof WrappedResponseServiceRequestDataData
|
|
3272
|
-
*/
|
|
3273
|
-
'title': string;
|
|
3274
|
-
/**
|
|
3275
|
-
*
|
|
3276
|
-
* @type {string}
|
|
3277
|
-
* @memberof WrappedResponseServiceRequestDataData
|
|
3278
|
-
*/
|
|
3279
|
-
'requester_id': string;
|
|
3280
|
-
/**
|
|
3281
|
-
*
|
|
3282
|
-
* @type {IssueTypeData}
|
|
3283
|
-
* @memberof WrappedResponseServiceRequestDataData
|
|
3284
|
-
*/
|
|
3285
|
-
'issue_type': IssueTypeData;
|
|
3286
|
-
/**
|
|
3287
|
-
*
|
|
3288
|
-
* @type {FloorData}
|
|
3289
|
-
* @memberof WrappedResponseServiceRequestDataData
|
|
3290
|
-
*/
|
|
3291
|
-
'floor': FloorData;
|
|
3292
|
-
/**
|
|
3293
|
-
*
|
|
3294
|
-
* @type {TowerData}
|
|
3295
|
-
* @memberof WrappedResponseServiceRequestDataData
|
|
3296
|
-
*/
|
|
3297
|
-
'tower': TowerData;
|
|
3298
|
-
/**
|
|
3299
|
-
*
|
|
3300
|
-
* @type {Array<string>}
|
|
3301
|
-
* @memberof WrappedResponseServiceRequestDataData
|
|
3302
|
-
*/
|
|
3303
|
-
'image_url': Array<string>;
|
|
3304
|
-
/**
|
|
3305
|
-
*
|
|
3306
|
-
* @type {string}
|
|
3307
|
-
* @memberof WrappedResponseServiceRequestDataData
|
|
3308
|
-
*/
|
|
3309
|
-
'id': string;
|
|
3310
|
-
}
|
|
3311
|
-
/**
|
|
3312
|
-
*
|
|
3313
|
-
* @export
|
|
3314
|
-
* @interface WrappedResponseServiceRequestResponse
|
|
3315
|
-
*/
|
|
3316
|
-
export interface WrappedResponseServiceRequestResponse {
|
|
3317
|
-
/**
|
|
3318
|
-
*
|
|
3319
|
-
* @type {WrappedResponseServiceRequestResponseData}
|
|
3320
|
-
* @memberof WrappedResponseServiceRequestResponse
|
|
3321
|
-
*/
|
|
3322
|
-
'data': WrappedResponseServiceRequestResponseData | null;
|
|
3323
|
-
}
|
|
3324
|
-
/**
|
|
3325
|
-
*
|
|
3326
|
-
* @export
|
|
3327
|
-
* @interface WrappedResponseServiceRequestResponseData
|
|
3328
|
-
*/
|
|
3329
|
-
export interface WrappedResponseServiceRequestResponseData {
|
|
3330
|
-
}
|
|
3331
3603
|
/**
|
|
3332
3604
|
*
|
|
3333
3605
|
* @export
|
|
@@ -3468,6 +3740,128 @@ export interface WrappedResponseVisitorTokensIndexResponseDataData {
|
|
|
3468
3740
|
*/
|
|
3469
3741
|
export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3470
3742
|
return {
|
|
3743
|
+
/**
|
|
3744
|
+
*
|
|
3745
|
+
* @param {ACRequestBody} aCRequestBody
|
|
3746
|
+
* @param {*} [options] Override http request option.
|
|
3747
|
+
* @throws {RequiredError}
|
|
3748
|
+
*/
|
|
3749
|
+
acRequestCreate: async (aCRequestBody: ACRequestBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3750
|
+
// verify required parameter 'aCRequestBody' is not null or undefined
|
|
3751
|
+
assertParamExists('acRequestCreate', 'aCRequestBody', aCRequestBody)
|
|
3752
|
+
const localVarPath = `/ac_request`;
|
|
3753
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3754
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3755
|
+
let baseOptions;
|
|
3756
|
+
if (configuration) {
|
|
3757
|
+
baseOptions = configuration.baseOptions;
|
|
3758
|
+
}
|
|
3759
|
+
|
|
3760
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3761
|
+
const localVarHeaderParameter = {} as any;
|
|
3762
|
+
const localVarQueryParameter = {} as any;
|
|
3763
|
+
|
|
3764
|
+
|
|
3765
|
+
|
|
3766
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3767
|
+
|
|
3768
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3769
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3770
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3771
|
+
localVarRequestOptions.data = serializeDataIfNeeded(aCRequestBody, localVarRequestOptions, configuration)
|
|
3772
|
+
|
|
3773
|
+
return {
|
|
3774
|
+
url: toPathString(localVarUrlObj),
|
|
3775
|
+
options: localVarRequestOptions,
|
|
3776
|
+
};
|
|
3777
|
+
},
|
|
3778
|
+
/**
|
|
3779
|
+
*
|
|
3780
|
+
* @param {string} [requesterId]
|
|
3781
|
+
* @param {string} [orderBy]
|
|
3782
|
+
* @param {string} [orderDirection]
|
|
3783
|
+
* @param {number} [pageNumber]
|
|
3784
|
+
* @param {number} [pageSize]
|
|
3785
|
+
* @param {*} [options] Override http request option.
|
|
3786
|
+
* @throws {RequiredError}
|
|
3787
|
+
*/
|
|
3788
|
+
acRequestIndex: async (requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3789
|
+
const localVarPath = `/ac_request`;
|
|
3790
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3791
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3792
|
+
let baseOptions;
|
|
3793
|
+
if (configuration) {
|
|
3794
|
+
baseOptions = configuration.baseOptions;
|
|
3795
|
+
}
|
|
3796
|
+
|
|
3797
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3798
|
+
const localVarHeaderParameter = {} as any;
|
|
3799
|
+
const localVarQueryParameter = {} as any;
|
|
3800
|
+
|
|
3801
|
+
if (requesterId !== undefined) {
|
|
3802
|
+
localVarQueryParameter['requester_id'] = requesterId;
|
|
3803
|
+
}
|
|
3804
|
+
|
|
3805
|
+
if (orderBy !== undefined) {
|
|
3806
|
+
localVarQueryParameter['order_by'] = orderBy;
|
|
3807
|
+
}
|
|
3808
|
+
|
|
3809
|
+
if (orderDirection !== undefined) {
|
|
3810
|
+
localVarQueryParameter['order_direction'] = orderDirection;
|
|
3811
|
+
}
|
|
3812
|
+
|
|
3813
|
+
if (pageNumber !== undefined) {
|
|
3814
|
+
localVarQueryParameter['page_number'] = pageNumber;
|
|
3815
|
+
}
|
|
3816
|
+
|
|
3817
|
+
if (pageSize !== undefined) {
|
|
3818
|
+
localVarQueryParameter['page_size'] = pageSize;
|
|
3819
|
+
}
|
|
3820
|
+
|
|
3821
|
+
|
|
3822
|
+
|
|
3823
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3824
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3825
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3826
|
+
|
|
3827
|
+
return {
|
|
3828
|
+
url: toPathString(localVarUrlObj),
|
|
3829
|
+
options: localVarRequestOptions,
|
|
3830
|
+
};
|
|
3831
|
+
},
|
|
3832
|
+
/**
|
|
3833
|
+
*
|
|
3834
|
+
* @param {string} id
|
|
3835
|
+
* @param {*} [options] Override http request option.
|
|
3836
|
+
* @throws {RequiredError}
|
|
3837
|
+
*/
|
|
3838
|
+
acRequestShow: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3839
|
+
// verify required parameter 'id' is not null or undefined
|
|
3840
|
+
assertParamExists('acRequestShow', 'id', id)
|
|
3841
|
+
const localVarPath = `/ac_request/{id}`
|
|
3842
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3843
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3844
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3845
|
+
let baseOptions;
|
|
3846
|
+
if (configuration) {
|
|
3847
|
+
baseOptions = configuration.baseOptions;
|
|
3848
|
+
}
|
|
3849
|
+
|
|
3850
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3851
|
+
const localVarHeaderParameter = {} as any;
|
|
3852
|
+
const localVarQueryParameter = {} as any;
|
|
3853
|
+
|
|
3854
|
+
|
|
3855
|
+
|
|
3856
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3857
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3858
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3859
|
+
|
|
3860
|
+
return {
|
|
3861
|
+
url: toPathString(localVarUrlObj),
|
|
3862
|
+
options: localVarRequestOptions,
|
|
3863
|
+
};
|
|
3864
|
+
},
|
|
3471
3865
|
/**
|
|
3472
3866
|
*
|
|
3473
3867
|
* @param {string} floorId
|
|
@@ -4309,6 +4703,45 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4309
4703
|
options: localVarRequestOptions,
|
|
4310
4704
|
};
|
|
4311
4705
|
},
|
|
4706
|
+
/**
|
|
4707
|
+
*
|
|
4708
|
+
* @param {string} id
|
|
4709
|
+
* @param {ServiceRequestsUpdateRequestBody} serviceRequestsUpdateRequestBody
|
|
4710
|
+
* @param {*} [options] Override http request option.
|
|
4711
|
+
* @throws {RequiredError}
|
|
4712
|
+
*/
|
|
4713
|
+
serviceRequestsUpdate: async (id: string, serviceRequestsUpdateRequestBody: ServiceRequestsUpdateRequestBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4714
|
+
// verify required parameter 'id' is not null or undefined
|
|
4715
|
+
assertParamExists('serviceRequestsUpdate', 'id', id)
|
|
4716
|
+
// verify required parameter 'serviceRequestsUpdateRequestBody' is not null or undefined
|
|
4717
|
+
assertParamExists('serviceRequestsUpdate', 'serviceRequestsUpdateRequestBody', serviceRequestsUpdateRequestBody)
|
|
4718
|
+
const localVarPath = `/service_requests/{id}`
|
|
4719
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
4720
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4721
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4722
|
+
let baseOptions;
|
|
4723
|
+
if (configuration) {
|
|
4724
|
+
baseOptions = configuration.baseOptions;
|
|
4725
|
+
}
|
|
4726
|
+
|
|
4727
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
4728
|
+
const localVarHeaderParameter = {} as any;
|
|
4729
|
+
const localVarQueryParameter = {} as any;
|
|
4730
|
+
|
|
4731
|
+
|
|
4732
|
+
|
|
4733
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4734
|
+
|
|
4735
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4736
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4737
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4738
|
+
localVarRequestOptions.data = serializeDataIfNeeded(serviceRequestsUpdateRequestBody, localVarRequestOptions, configuration)
|
|
4739
|
+
|
|
4740
|
+
return {
|
|
4741
|
+
url: toPathString(localVarUrlObj),
|
|
4742
|
+
options: localVarRequestOptions,
|
|
4743
|
+
};
|
|
4744
|
+
},
|
|
4312
4745
|
/**
|
|
4313
4746
|
*
|
|
4314
4747
|
* @param {SyncBody} syncBody
|
|
@@ -4489,6 +4922,40 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4489
4922
|
export const DefaultApiFp = function(configuration?: Configuration) {
|
|
4490
4923
|
const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
|
|
4491
4924
|
return {
|
|
4925
|
+
/**
|
|
4926
|
+
*
|
|
4927
|
+
* @param {ACRequestBody} aCRequestBody
|
|
4928
|
+
* @param {*} [options] Override http request option.
|
|
4929
|
+
* @throws {RequiredError}
|
|
4930
|
+
*/
|
|
4931
|
+
async acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseBoolean>> {
|
|
4932
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestCreate(aCRequestBody, options);
|
|
4933
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4934
|
+
},
|
|
4935
|
+
/**
|
|
4936
|
+
*
|
|
4937
|
+
* @param {string} [requesterId]
|
|
4938
|
+
* @param {string} [orderBy]
|
|
4939
|
+
* @param {string} [orderDirection]
|
|
4940
|
+
* @param {number} [pageNumber]
|
|
4941
|
+
* @param {number} [pageSize]
|
|
4942
|
+
* @param {*} [options] Override http request option.
|
|
4943
|
+
* @throws {RequiredError}
|
|
4944
|
+
*/
|
|
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);
|
|
4947
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4948
|
+
},
|
|
4949
|
+
/**
|
|
4950
|
+
*
|
|
4951
|
+
* @param {string} id
|
|
4952
|
+
* @param {*} [options] Override http request option.
|
|
4953
|
+
* @throws {RequiredError}
|
|
4954
|
+
*/
|
|
4955
|
+
async acRequestShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseACRequestResponse>> {
|
|
4956
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestShow(id, options);
|
|
4957
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4958
|
+
},
|
|
4492
4959
|
/**
|
|
4493
4960
|
*
|
|
4494
4961
|
* @param {string} floorId
|
|
@@ -4697,7 +5164,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
4697
5164
|
* @param {*} [options] Override http request option.
|
|
4698
5165
|
* @throws {RequiredError}
|
|
4699
5166
|
*/
|
|
4700
|
-
async serviceRequestsCreate(serviceRequestBody: ServiceRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
5167
|
+
async serviceRequestsCreate(serviceRequestBody: ServiceRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseCreateServiceRequestResponse>> {
|
|
4701
5168
|
const localVarAxiosArgs = await localVarAxiosParamCreator.serviceRequestsCreate(serviceRequestBody, options);
|
|
4702
5169
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4703
5170
|
},
|
|
@@ -4712,7 +5179,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
4712
5179
|
* @param {*} [options] Override http request option.
|
|
4713
5180
|
* @throws {RequiredError}
|
|
4714
5181
|
*/
|
|
4715
|
-
async serviceRequestsIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ServiceRequestStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
5182
|
+
async serviceRequestsIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ServiceRequestStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseServiceRequestData>> {
|
|
4716
5183
|
const localVarAxiosArgs = await localVarAxiosParamCreator.serviceRequestsIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options);
|
|
4717
5184
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4718
5185
|
},
|
|
@@ -4722,10 +5189,21 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
4722
5189
|
* @param {*} [options] Override http request option.
|
|
4723
5190
|
* @throws {RequiredError}
|
|
4724
5191
|
*/
|
|
4725
|
-
async serviceRequestsShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
5192
|
+
async serviceRequestsShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseServiceRequestData>> {
|
|
4726
5193
|
const localVarAxiosArgs = await localVarAxiosParamCreator.serviceRequestsShow(id, options);
|
|
4727
5194
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4728
5195
|
},
|
|
5196
|
+
/**
|
|
5197
|
+
*
|
|
5198
|
+
* @param {string} id
|
|
5199
|
+
* @param {ServiceRequestsUpdateRequestBody} serviceRequestsUpdateRequestBody
|
|
5200
|
+
* @param {*} [options] Override http request option.
|
|
5201
|
+
* @throws {RequiredError}
|
|
5202
|
+
*/
|
|
5203
|
+
async serviceRequestsUpdate(id: string, serviceRequestsUpdateRequestBody: ServiceRequestsUpdateRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseServiceRequestData>> {
|
|
5204
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.serviceRequestsUpdate(id, serviceRequestsUpdateRequestBody, options);
|
|
5205
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5206
|
+
},
|
|
4729
5207
|
/**
|
|
4730
5208
|
*
|
|
4731
5209
|
* @param {SyncBody} syncBody
|
|
@@ -4786,6 +5264,37 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
4786
5264
|
export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
4787
5265
|
const localVarFp = DefaultApiFp(configuration)
|
|
4788
5266
|
return {
|
|
5267
|
+
/**
|
|
5268
|
+
*
|
|
5269
|
+
* @param {ACRequestBody} aCRequestBody
|
|
5270
|
+
* @param {*} [options] Override http request option.
|
|
5271
|
+
* @throws {RequiredError}
|
|
5272
|
+
*/
|
|
5273
|
+
acRequestCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<WrappedResponseBoolean> {
|
|
5274
|
+
return localVarFp.acRequestCreate(aCRequestBody, options).then((request) => request(axios, basePath));
|
|
5275
|
+
},
|
|
5276
|
+
/**
|
|
5277
|
+
*
|
|
5278
|
+
* @param {string} [requesterId]
|
|
5279
|
+
* @param {string} [orderBy]
|
|
5280
|
+
* @param {string} [orderDirection]
|
|
5281
|
+
* @param {number} [pageNumber]
|
|
5282
|
+
* @param {number} [pageSize]
|
|
5283
|
+
* @param {*} [options] Override http request option.
|
|
5284
|
+
* @throws {RequiredError}
|
|
5285
|
+
*/
|
|
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));
|
|
5288
|
+
},
|
|
5289
|
+
/**
|
|
5290
|
+
*
|
|
5291
|
+
* @param {string} id
|
|
5292
|
+
* @param {*} [options] Override http request option.
|
|
5293
|
+
* @throws {RequiredError}
|
|
5294
|
+
*/
|
|
5295
|
+
acRequestShow(id: string, options?: any): AxiosPromise<WrappedResponseACRequestResponse> {
|
|
5296
|
+
return localVarFp.acRequestShow(id, options).then((request) => request(axios, basePath));
|
|
5297
|
+
},
|
|
4789
5298
|
/**
|
|
4790
5299
|
*
|
|
4791
5300
|
* @param {string} floorId
|
|
@@ -4975,7 +5484,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
4975
5484
|
* @param {*} [options] Override http request option.
|
|
4976
5485
|
* @throws {RequiredError}
|
|
4977
5486
|
*/
|
|
4978
|
-
serviceRequestsCreate(serviceRequestBody: ServiceRequestBody, options?: any): AxiosPromise<
|
|
5487
|
+
serviceRequestsCreate(serviceRequestBody: ServiceRequestBody, options?: any): AxiosPromise<WrappedOneResponseCreateServiceRequestResponse> {
|
|
4979
5488
|
return localVarFp.serviceRequestsCreate(serviceRequestBody, options).then((request) => request(axios, basePath));
|
|
4980
5489
|
},
|
|
4981
5490
|
/**
|
|
@@ -4989,7 +5498,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
4989
5498
|
* @param {*} [options] Override http request option.
|
|
4990
5499
|
* @throws {RequiredError}
|
|
4991
5500
|
*/
|
|
4992
|
-
serviceRequestsIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ServiceRequestStatus, options?: any): AxiosPromise<
|
|
5501
|
+
serviceRequestsIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ServiceRequestStatus, options?: any): AxiosPromise<WrappedArrayResponseServiceRequestData> {
|
|
4993
5502
|
return localVarFp.serviceRequestsIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options).then((request) => request(axios, basePath));
|
|
4994
5503
|
},
|
|
4995
5504
|
/**
|
|
@@ -4998,9 +5507,19 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
4998
5507
|
* @param {*} [options] Override http request option.
|
|
4999
5508
|
* @throws {RequiredError}
|
|
5000
5509
|
*/
|
|
5001
|
-
serviceRequestsShow(id: string, options?: any): AxiosPromise<
|
|
5510
|
+
serviceRequestsShow(id: string, options?: any): AxiosPromise<WrappedOneResponseServiceRequestData> {
|
|
5002
5511
|
return localVarFp.serviceRequestsShow(id, options).then((request) => request(axios, basePath));
|
|
5003
5512
|
},
|
|
5513
|
+
/**
|
|
5514
|
+
*
|
|
5515
|
+
* @param {string} id
|
|
5516
|
+
* @param {ServiceRequestsUpdateRequestBody} serviceRequestsUpdateRequestBody
|
|
5517
|
+
* @param {*} [options] Override http request option.
|
|
5518
|
+
* @throws {RequiredError}
|
|
5519
|
+
*/
|
|
5520
|
+
serviceRequestsUpdate(id: string, serviceRequestsUpdateRequestBody: ServiceRequestsUpdateRequestBody, options?: any): AxiosPromise<WrappedOneResponseServiceRequestData> {
|
|
5521
|
+
return localVarFp.serviceRequestsUpdate(id, serviceRequestsUpdateRequestBody, options).then((request) => request(axios, basePath));
|
|
5522
|
+
},
|
|
5004
5523
|
/**
|
|
5005
5524
|
*
|
|
5006
5525
|
* @param {SyncBody} syncBody
|
|
@@ -5056,6 +5575,43 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5056
5575
|
* @extends {BaseAPI}
|
|
5057
5576
|
*/
|
|
5058
5577
|
export class DefaultApi extends BaseAPI {
|
|
5578
|
+
/**
|
|
5579
|
+
*
|
|
5580
|
+
* @param {ACRequestBody} aCRequestBody
|
|
5581
|
+
* @param {*} [options] Override http request option.
|
|
5582
|
+
* @throws {RequiredError}
|
|
5583
|
+
* @memberof DefaultApi
|
|
5584
|
+
*/
|
|
5585
|
+
public acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig) {
|
|
5586
|
+
return DefaultApiFp(this.configuration).acRequestCreate(aCRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
5587
|
+
}
|
|
5588
|
+
|
|
5589
|
+
/**
|
|
5590
|
+
*
|
|
5591
|
+
* @param {string} [requesterId]
|
|
5592
|
+
* @param {string} [orderBy]
|
|
5593
|
+
* @param {string} [orderDirection]
|
|
5594
|
+
* @param {number} [pageNumber]
|
|
5595
|
+
* @param {number} [pageSize]
|
|
5596
|
+
* @param {*} [options] Override http request option.
|
|
5597
|
+
* @throws {RequiredError}
|
|
5598
|
+
* @memberof DefaultApi
|
|
5599
|
+
*/
|
|
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));
|
|
5602
|
+
}
|
|
5603
|
+
|
|
5604
|
+
/**
|
|
5605
|
+
*
|
|
5606
|
+
* @param {string} id
|
|
5607
|
+
* @param {*} [options] Override http request option.
|
|
5608
|
+
* @throws {RequiredError}
|
|
5609
|
+
* @memberof DefaultApi
|
|
5610
|
+
*/
|
|
5611
|
+
public acRequestShow(id: string, options?: AxiosRequestConfig) {
|
|
5612
|
+
return DefaultApiFp(this.configuration).acRequestShow(id, options).then((request) => request(this.axios, this.basePath));
|
|
5613
|
+
}
|
|
5614
|
+
|
|
5059
5615
|
/**
|
|
5060
5616
|
*
|
|
5061
5617
|
* @param {string} floorId
|
|
@@ -5315,6 +5871,18 @@ export class DefaultApi extends BaseAPI {
|
|
|
5315
5871
|
return DefaultApiFp(this.configuration).serviceRequestsShow(id, options).then((request) => request(this.axios, this.basePath));
|
|
5316
5872
|
}
|
|
5317
5873
|
|
|
5874
|
+
/**
|
|
5875
|
+
*
|
|
5876
|
+
* @param {string} id
|
|
5877
|
+
* @param {ServiceRequestsUpdateRequestBody} serviceRequestsUpdateRequestBody
|
|
5878
|
+
* @param {*} [options] Override http request option.
|
|
5879
|
+
* @throws {RequiredError}
|
|
5880
|
+
* @memberof DefaultApi
|
|
5881
|
+
*/
|
|
5882
|
+
public serviceRequestsUpdate(id: string, serviceRequestsUpdateRequestBody: ServiceRequestsUpdateRequestBody, options?: AxiosRequestConfig) {
|
|
5883
|
+
return DefaultApiFp(this.configuration).serviceRequestsUpdate(id, serviceRequestsUpdateRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
5884
|
+
}
|
|
5885
|
+
|
|
5318
5886
|
/**
|
|
5319
5887
|
*
|
|
5320
5888
|
* @param {SyncBody} syncBody
|