ob-bms-sdk 0.0.68 → 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 +502 -87
- package/dist/api/api.d.ts +413 -83
- package/dist/api/api.js +154 -8
- package/package.json +1 -1
- package/test.ts +0 -19
package/api/api.ts
CHANGED
|
@@ -69,100 +69,204 @@ export interface ACRequestBody {
|
|
|
69
69
|
/**
|
|
70
70
|
*
|
|
71
71
|
* @export
|
|
72
|
-
* @interface
|
|
72
|
+
* @interface ACRequestQuery
|
|
73
73
|
*/
|
|
74
|
-
export interface
|
|
74
|
+
export interface ACRequestQuery {
|
|
75
75
|
/**
|
|
76
76
|
*
|
|
77
77
|
* @type {string}
|
|
78
|
-
* @memberof
|
|
78
|
+
* @memberof ACRequestQuery
|
|
79
79
|
*/
|
|
80
|
-
'
|
|
80
|
+
'requester_id'?: string;
|
|
81
81
|
/**
|
|
82
82
|
*
|
|
83
83
|
* @type {string}
|
|
84
|
-
* @memberof
|
|
84
|
+
* @memberof ACRequestQuery
|
|
85
85
|
*/
|
|
86
|
-
'
|
|
86
|
+
'order_by'?: string;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @memberof ACRequestQuery
|
|
91
|
+
*/
|
|
92
|
+
'order_direction'?: string;
|
|
87
93
|
/**
|
|
88
94
|
*
|
|
89
95
|
* @type {number}
|
|
90
|
-
* @memberof
|
|
96
|
+
* @memberof ACRequestQuery
|
|
91
97
|
*/
|
|
92
|
-
'
|
|
98
|
+
'page_number'?: number;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {number}
|
|
102
|
+
* @memberof ACRequestQuery
|
|
103
|
+
*/
|
|
104
|
+
'page_size'?: number;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @export
|
|
109
|
+
* @interface ACRequestResponse
|
|
110
|
+
*/
|
|
111
|
+
export interface ACRequestResponse {
|
|
93
112
|
/**
|
|
94
113
|
*
|
|
95
114
|
* @type {string}
|
|
96
|
-
* @memberof
|
|
115
|
+
* @memberof ACRequestResponse
|
|
97
116
|
*/
|
|
98
|
-
'
|
|
117
|
+
'id': string;
|
|
99
118
|
/**
|
|
100
119
|
*
|
|
101
120
|
* @type {string}
|
|
102
|
-
* @memberof
|
|
121
|
+
* @memberof ACRequestResponse
|
|
122
|
+
*/
|
|
123
|
+
'tower_id': string;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {string}
|
|
127
|
+
* @memberof ACRequestResponse
|
|
103
128
|
*/
|
|
104
129
|
'floor_id': string;
|
|
105
130
|
/**
|
|
106
131
|
*
|
|
107
132
|
* @type {string}
|
|
108
|
-
* @memberof
|
|
133
|
+
* @memberof ACRequestResponse
|
|
109
134
|
*/
|
|
110
|
-
'
|
|
111
|
-
}
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @export
|
|
115
|
-
* @interface AuthorizedLocationData
|
|
116
|
-
*/
|
|
117
|
-
export interface AuthorizedLocationData {
|
|
135
|
+
'ac_zone_id': string;
|
|
118
136
|
/**
|
|
119
137
|
*
|
|
120
138
|
* @type {string}
|
|
121
|
-
* @memberof
|
|
139
|
+
* @memberof ACRequestResponse
|
|
122
140
|
*/
|
|
123
|
-
'
|
|
141
|
+
'estimated_cost': string;
|
|
124
142
|
/**
|
|
125
143
|
*
|
|
126
144
|
* @type {string}
|
|
127
|
-
* @memberof
|
|
145
|
+
* @memberof ACRequestResponse
|
|
128
146
|
*/
|
|
129
|
-
'
|
|
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;
|
|
130
172
|
/**
|
|
131
173
|
*
|
|
132
174
|
* @type {string}
|
|
133
|
-
* @memberof
|
|
175
|
+
* @memberof ACRequestResponse
|
|
134
176
|
*/
|
|
135
|
-
'
|
|
177
|
+
'status': string;
|
|
136
178
|
/**
|
|
137
179
|
*
|
|
138
|
-
* @type {
|
|
139
|
-
* @memberof
|
|
180
|
+
* @type {ACZoneDataCreatedAt}
|
|
181
|
+
* @memberof ACRequestResponse
|
|
140
182
|
*/
|
|
141
|
-
'
|
|
183
|
+
'created_at': ACZoneDataCreatedAt;
|
|
184
|
+
/**
|
|
185
|
+
*
|
|
186
|
+
* @type {ACZoneDataCreatedAt}
|
|
187
|
+
* @memberof ACRequestResponse
|
|
188
|
+
*/
|
|
189
|
+
'updated_at': ACZoneDataCreatedAt;
|
|
142
190
|
/**
|
|
143
191
|
*
|
|
144
192
|
* @type {string}
|
|
145
|
-
* @memberof
|
|
193
|
+
* @memberof ACRequestResponse
|
|
146
194
|
*/
|
|
147
|
-
'
|
|
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 {
|
|
148
227
|
/**
|
|
149
228
|
*
|
|
150
229
|
* @type {string}
|
|
151
|
-
* @memberof
|
|
230
|
+
* @memberof ACZoneData
|
|
152
231
|
*/
|
|
153
|
-
'
|
|
232
|
+
'id': string;
|
|
154
233
|
/**
|
|
155
234
|
*
|
|
156
235
|
* @type {string}
|
|
157
|
-
* @memberof
|
|
236
|
+
* @memberof ACZoneData
|
|
158
237
|
*/
|
|
159
|
-
'
|
|
238
|
+
'name': string;
|
|
239
|
+
/**
|
|
240
|
+
*
|
|
241
|
+
* @type {number}
|
|
242
|
+
* @memberof ACZoneData
|
|
243
|
+
*/
|
|
244
|
+
'area_size': number;
|
|
160
245
|
/**
|
|
161
246
|
*
|
|
162
247
|
* @type {string}
|
|
163
|
-
* @memberof
|
|
248
|
+
* @memberof ACZoneData
|
|
164
249
|
*/
|
|
165
|
-
'
|
|
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 {
|
|
166
270
|
}
|
|
167
271
|
/**
|
|
168
272
|
*
|
|
@@ -523,19 +627,19 @@ export interface FloorData {
|
|
|
523
627
|
* @type {string}
|
|
524
628
|
* @memberof FloorData
|
|
525
629
|
*/
|
|
526
|
-
'
|
|
630
|
+
'updated_at': string;
|
|
527
631
|
/**
|
|
528
632
|
*
|
|
529
633
|
* @type {string}
|
|
530
634
|
* @memberof FloorData
|
|
531
635
|
*/
|
|
532
|
-
'
|
|
636
|
+
'created_at': string;
|
|
533
637
|
/**
|
|
534
638
|
*
|
|
535
639
|
* @type {string}
|
|
536
640
|
* @memberof FloorData
|
|
537
641
|
*/
|
|
538
|
-
'
|
|
642
|
+
'tower_id': string;
|
|
539
643
|
/**
|
|
540
644
|
*
|
|
541
645
|
* @type {JsonValue}
|
|
@@ -547,19 +651,19 @@ export interface FloorData {
|
|
|
547
651
|
* @type {string}
|
|
548
652
|
* @memberof FloorData
|
|
549
653
|
*/
|
|
550
|
-
'
|
|
654
|
+
'name': string;
|
|
551
655
|
/**
|
|
552
656
|
*
|
|
553
657
|
* @type {string}
|
|
554
658
|
* @memberof FloorData
|
|
555
659
|
*/
|
|
556
|
-
'
|
|
660
|
+
'uid': string;
|
|
557
661
|
/**
|
|
558
662
|
*
|
|
559
663
|
* @type {string}
|
|
560
664
|
* @memberof FloorData
|
|
561
665
|
*/
|
|
562
|
-
'
|
|
666
|
+
'id': string;
|
|
563
667
|
}
|
|
564
668
|
/**
|
|
565
669
|
*
|
|
@@ -1484,6 +1588,49 @@ export interface RateDetail {
|
|
|
1484
1588
|
*/
|
|
1485
1589
|
'en': string;
|
|
1486
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
|
+
}
|
|
1487
1634
|
/**
|
|
1488
1635
|
*
|
|
1489
1636
|
* @export
|
|
@@ -2169,19 +2316,19 @@ export interface TowerData {
|
|
|
2169
2316
|
* @type {string}
|
|
2170
2317
|
* @memberof TowerData
|
|
2171
2318
|
*/
|
|
2172
|
-
'
|
|
2319
|
+
'updated_at': string;
|
|
2173
2320
|
/**
|
|
2174
2321
|
*
|
|
2175
2322
|
* @type {string}
|
|
2176
2323
|
* @memberof TowerData
|
|
2177
2324
|
*/
|
|
2178
|
-
'
|
|
2325
|
+
'created_at': string;
|
|
2179
2326
|
/**
|
|
2180
2327
|
*
|
|
2181
2328
|
* @type {string}
|
|
2182
2329
|
* @memberof TowerData
|
|
2183
2330
|
*/
|
|
2184
|
-
'
|
|
2331
|
+
'project_id': string;
|
|
2185
2332
|
/**
|
|
2186
2333
|
*
|
|
2187
2334
|
* @type {JsonValue}
|
|
@@ -2193,31 +2340,19 @@ export interface TowerData {
|
|
|
2193
2340
|
* @type {string}
|
|
2194
2341
|
* @memberof TowerData
|
|
2195
2342
|
*/
|
|
2196
|
-
'
|
|
2343
|
+
'name': string;
|
|
2197
2344
|
/**
|
|
2198
2345
|
*
|
|
2199
2346
|
* @type {string}
|
|
2200
2347
|
* @memberof TowerData
|
|
2201
2348
|
*/
|
|
2202
|
-
'
|
|
2349
|
+
'uid': string;
|
|
2203
2350
|
/**
|
|
2204
2351
|
*
|
|
2205
2352
|
* @type {string}
|
|
2206
2353
|
* @memberof TowerData
|
|
2207
2354
|
*/
|
|
2208
|
-
'
|
|
2209
|
-
/**
|
|
2210
|
-
*
|
|
2211
|
-
* @type {Array<FloorData>}
|
|
2212
|
-
* @memberof TowerData
|
|
2213
|
-
*/
|
|
2214
|
-
'floors': Array<FloorData>;
|
|
2215
|
-
/**
|
|
2216
|
-
*
|
|
2217
|
-
* @type {Array<AuthorizedLocationData>}
|
|
2218
|
-
* @memberof TowerData
|
|
2219
|
-
*/
|
|
2220
|
-
'locations': Array<AuthorizedLocationData>;
|
|
2355
|
+
'id': string;
|
|
2221
2356
|
}
|
|
2222
2357
|
/**
|
|
2223
2358
|
*
|
|
@@ -2461,16 +2596,16 @@ export interface VisitorSchedule {
|
|
|
2461
2596
|
'floor_id': string;
|
|
2462
2597
|
/**
|
|
2463
2598
|
*
|
|
2464
|
-
* @type {
|
|
2599
|
+
* @type {ACZoneDataCreatedAt}
|
|
2465
2600
|
* @memberof VisitorSchedule
|
|
2466
2601
|
*/
|
|
2467
|
-
'from':
|
|
2602
|
+
'from': ACZoneDataCreatedAt;
|
|
2468
2603
|
/**
|
|
2469
2604
|
*
|
|
2470
|
-
* @type {
|
|
2605
|
+
* @type {ACZoneDataCreatedAt}
|
|
2471
2606
|
* @memberof VisitorSchedule
|
|
2472
2607
|
*/
|
|
2473
|
-
'to':
|
|
2608
|
+
'to': ACZoneDataCreatedAt;
|
|
2474
2609
|
/**
|
|
2475
2610
|
*
|
|
2476
2611
|
* @type {object}
|
|
@@ -2478,13 +2613,6 @@ export interface VisitorSchedule {
|
|
|
2478
2613
|
*/
|
|
2479
2614
|
'repetition'?: object;
|
|
2480
2615
|
}
|
|
2481
|
-
/**
|
|
2482
|
-
*
|
|
2483
|
-
* @export
|
|
2484
|
-
* @interface VisitorScheduleFrom
|
|
2485
|
-
*/
|
|
2486
|
-
export interface VisitorScheduleFrom {
|
|
2487
|
-
}
|
|
2488
2616
|
/**
|
|
2489
2617
|
*
|
|
2490
2618
|
* @export
|
|
@@ -2753,6 +2881,134 @@ export interface WrappedOneResponseServiceRequestData {
|
|
|
2753
2881
|
*/
|
|
2754
2882
|
'data': ServiceRequestData;
|
|
2755
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;
|
|
2951
|
+
/**
|
|
2952
|
+
*
|
|
2953
|
+
* @type {number}
|
|
2954
|
+
* @memberof WrappedResponseACRequestResponseData
|
|
2955
|
+
*/
|
|
2956
|
+
'duration_hour': number;
|
|
2957
|
+
/**
|
|
2958
|
+
*
|
|
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
|
+
}
|
|
2756
3012
|
/**
|
|
2757
3013
|
*
|
|
2758
3014
|
* @export
|
|
@@ -2777,13 +3033,13 @@ export interface WrappedResponseACZoneDataData {
|
|
|
2777
3033
|
* @type {string}
|
|
2778
3034
|
* @memberof WrappedResponseACZoneDataData
|
|
2779
3035
|
*/
|
|
2780
|
-
'
|
|
3036
|
+
'id': string;
|
|
2781
3037
|
/**
|
|
2782
3038
|
*
|
|
2783
3039
|
* @type {string}
|
|
2784
3040
|
* @memberof WrappedResponseACZoneDataData
|
|
2785
3041
|
*/
|
|
2786
|
-
'
|
|
3042
|
+
'name': string;
|
|
2787
3043
|
/**
|
|
2788
3044
|
*
|
|
2789
3045
|
* @type {number}
|
|
@@ -2795,19 +3051,19 @@ export interface WrappedResponseACZoneDataData {
|
|
|
2795
3051
|
* @type {string}
|
|
2796
3052
|
* @memberof WrappedResponseACZoneDataData
|
|
2797
3053
|
*/
|
|
2798
|
-
'
|
|
3054
|
+
'floor_id': string;
|
|
2799
3055
|
/**
|
|
2800
3056
|
*
|
|
2801
|
-
* @type {
|
|
3057
|
+
* @type {ACZoneDataCreatedAt}
|
|
2802
3058
|
* @memberof WrappedResponseACZoneDataData
|
|
2803
3059
|
*/
|
|
2804
|
-
'
|
|
3060
|
+
'created_at': ACZoneDataCreatedAt;
|
|
2805
3061
|
/**
|
|
2806
3062
|
*
|
|
2807
|
-
* @type {
|
|
3063
|
+
* @type {ACZoneDataCreatedAt}
|
|
2808
3064
|
* @memberof WrappedResponseACZoneDataData
|
|
2809
3065
|
*/
|
|
2810
|
-
'
|
|
3066
|
+
'updated_at': ACZoneDataCreatedAt;
|
|
2811
3067
|
}
|
|
2812
3068
|
/**
|
|
2813
3069
|
*
|
|
@@ -3490,9 +3746,9 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3490
3746
|
* @param {*} [options] Override http request option.
|
|
3491
3747
|
* @throws {RequiredError}
|
|
3492
3748
|
*/
|
|
3493
|
-
|
|
3749
|
+
acRequestCreate: async (aCRequestBody: ACRequestBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3494
3750
|
// verify required parameter 'aCRequestBody' is not null or undefined
|
|
3495
|
-
assertParamExists('
|
|
3751
|
+
assertParamExists('acRequestCreate', 'aCRequestBody', aCRequestBody)
|
|
3496
3752
|
const localVarPath = `/ac_request`;
|
|
3497
3753
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3498
3754
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -3519,6 +3775,93 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3519
3775
|
options: localVarRequestOptions,
|
|
3520
3776
|
};
|
|
3521
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
|
+
},
|
|
3522
3865
|
/**
|
|
3523
3866
|
*
|
|
3524
3867
|
* @param {string} floorId
|
|
@@ -4585,8 +4928,32 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
4585
4928
|
* @param {*} [options] Override http request option.
|
|
4586
4929
|
* @throws {RequiredError}
|
|
4587
4930
|
*/
|
|
4588
|
-
async
|
|
4589
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
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);
|
|
4590
4957
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4591
4958
|
},
|
|
4592
4959
|
/**
|
|
@@ -4903,8 +5270,30 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
4903
5270
|
* @param {*} [options] Override http request option.
|
|
4904
5271
|
* @throws {RequiredError}
|
|
4905
5272
|
*/
|
|
4906
|
-
|
|
4907
|
-
return localVarFp.
|
|
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));
|
|
4908
5297
|
},
|
|
4909
5298
|
/**
|
|
4910
5299
|
*
|
|
@@ -5193,8 +5582,34 @@ export class DefaultApi extends BaseAPI {
|
|
|
5193
5582
|
* @throws {RequiredError}
|
|
5194
5583
|
* @memberof DefaultApi
|
|
5195
5584
|
*/
|
|
5196
|
-
public
|
|
5197
|
-
return DefaultApiFp(this.configuration).
|
|
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));
|
|
5198
5613
|
}
|
|
5199
5614
|
|
|
5200
5615
|
/**
|