ob-bms-sdk 0.0.68 → 0.0.70
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 +516 -70
- package/dist/api/api.d.ts +417 -66
- package/dist/api/api.js +172 -9
- package/package.json +1 -1
- package/test.ts +0 -19
package/api/api.ts
CHANGED
|
@@ -69,98 +69,218 @@ 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
87
|
/**
|
|
88
88
|
*
|
|
89
|
-
* @type {
|
|
90
|
-
* @memberof
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @memberof ACRequestQuery
|
|
91
91
|
*/
|
|
92
|
-
'
|
|
92
|
+
'order_direction'?: string;
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
|
-
* @type {
|
|
96
|
-
* @memberof
|
|
95
|
+
* @type {number}
|
|
96
|
+
* @memberof ACRequestQuery
|
|
97
97
|
*/
|
|
98
|
-
'
|
|
98
|
+
'page_number'?: number;
|
|
99
99
|
/**
|
|
100
100
|
*
|
|
101
|
-
* @type {
|
|
102
|
-
* @memberof
|
|
101
|
+
* @type {number}
|
|
102
|
+
* @memberof ACRequestQuery
|
|
103
103
|
*/
|
|
104
|
-
'
|
|
104
|
+
'page_size'?: number;
|
|
105
105
|
/**
|
|
106
106
|
*
|
|
107
|
-
* @type {
|
|
108
|
-
* @memberof
|
|
107
|
+
* @type {ACRequestStatus}
|
|
108
|
+
* @memberof ACRequestQuery
|
|
109
109
|
*/
|
|
110
|
-
'
|
|
110
|
+
'status'?: ACRequestStatus;
|
|
111
111
|
}
|
|
112
|
+
|
|
113
|
+
|
|
112
114
|
/**
|
|
113
115
|
*
|
|
114
116
|
* @export
|
|
115
|
-
* @interface
|
|
117
|
+
* @interface ACRequestResponse
|
|
116
118
|
*/
|
|
117
|
-
export interface
|
|
119
|
+
export interface ACRequestResponse {
|
|
118
120
|
/**
|
|
119
121
|
*
|
|
120
122
|
* @type {string}
|
|
121
|
-
* @memberof
|
|
123
|
+
* @memberof ACRequestResponse
|
|
122
124
|
*/
|
|
123
125
|
'id': string;
|
|
124
126
|
/**
|
|
125
127
|
*
|
|
126
128
|
* @type {string}
|
|
127
|
-
* @memberof
|
|
129
|
+
* @memberof ACRequestResponse
|
|
128
130
|
*/
|
|
129
|
-
'
|
|
131
|
+
'tower_id': string;
|
|
130
132
|
/**
|
|
131
133
|
*
|
|
132
134
|
* @type {string}
|
|
133
|
-
* @memberof
|
|
135
|
+
* @memberof ACRequestResponse
|
|
134
136
|
*/
|
|
135
|
-
'
|
|
137
|
+
'floor_id': string;
|
|
136
138
|
/**
|
|
137
139
|
*
|
|
138
|
-
* @type {
|
|
139
|
-
* @memberof
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof ACRequestResponse
|
|
140
142
|
*/
|
|
141
|
-
'
|
|
143
|
+
'ac_zone_id': string;
|
|
142
144
|
/**
|
|
143
145
|
*
|
|
144
146
|
* @type {string}
|
|
145
|
-
* @memberof
|
|
147
|
+
* @memberof ACRequestResponse
|
|
146
148
|
*/
|
|
147
|
-
'
|
|
149
|
+
'estimated_cost': string;
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @type {string}
|
|
153
|
+
* @memberof ACRequestResponse
|
|
154
|
+
*/
|
|
155
|
+
'rate': string;
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @type {string}
|
|
159
|
+
* @memberof ACRequestResponse
|
|
160
|
+
*/
|
|
161
|
+
'from': string;
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @type {string}
|
|
165
|
+
* @memberof ACRequestResponse
|
|
166
|
+
*/
|
|
167
|
+
'to': string;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @type {number}
|
|
171
|
+
* @memberof ACRequestResponse
|
|
172
|
+
*/
|
|
173
|
+
'duration_hour': number;
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @type {number}
|
|
177
|
+
* @memberof ACRequestResponse
|
|
178
|
+
*/
|
|
179
|
+
'area_size': number;
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @type {string}
|
|
183
|
+
* @memberof ACRequestResponse
|
|
184
|
+
*/
|
|
185
|
+
'status': string;
|
|
148
186
|
/**
|
|
149
187
|
*
|
|
150
188
|
* @type {string}
|
|
151
|
-
* @memberof
|
|
189
|
+
* @memberof ACRequestResponse
|
|
190
|
+
*/
|
|
191
|
+
'created_at': string;
|
|
192
|
+
/**
|
|
193
|
+
*
|
|
194
|
+
* @type {string}
|
|
195
|
+
* @memberof ACRequestResponse
|
|
196
|
+
*/
|
|
197
|
+
'updated_at': string;
|
|
198
|
+
/**
|
|
199
|
+
*
|
|
200
|
+
* @type {string}
|
|
201
|
+
* @memberof ACRequestResponse
|
|
202
|
+
*/
|
|
203
|
+
'requester_id': string;
|
|
204
|
+
/**
|
|
205
|
+
*
|
|
206
|
+
* @type {ACZoneData}
|
|
207
|
+
* @memberof ACRequestResponse
|
|
208
|
+
*/
|
|
209
|
+
'ac_zone': ACZoneData;
|
|
210
|
+
/**
|
|
211
|
+
*
|
|
212
|
+
* @type {FloorData}
|
|
213
|
+
* @memberof ACRequestResponse
|
|
214
|
+
*/
|
|
215
|
+
'floor': FloorData;
|
|
216
|
+
/**
|
|
217
|
+
*
|
|
218
|
+
* @type {TowerData}
|
|
219
|
+
* @memberof ACRequestResponse
|
|
220
|
+
*/
|
|
221
|
+
'tower': TowerData;
|
|
222
|
+
/**
|
|
223
|
+
*
|
|
224
|
+
* @type {RequesterData}
|
|
225
|
+
* @memberof ACRequestResponse
|
|
226
|
+
*/
|
|
227
|
+
'requester': RequesterData;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
*
|
|
231
|
+
* @export
|
|
232
|
+
* @enum {string}
|
|
233
|
+
*/
|
|
234
|
+
|
|
235
|
+
export const ACRequestStatus = {
|
|
236
|
+
Submitted: 'submitted',
|
|
237
|
+
Rejected: 'rejected',
|
|
238
|
+
Approved: 'approved'
|
|
239
|
+
} as const;
|
|
240
|
+
|
|
241
|
+
export type ACRequestStatus = typeof ACRequestStatus[keyof typeof ACRequestStatus];
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
*
|
|
246
|
+
* @export
|
|
247
|
+
* @interface ACZoneData
|
|
248
|
+
*/
|
|
249
|
+
export interface ACZoneData {
|
|
250
|
+
/**
|
|
251
|
+
*
|
|
252
|
+
* @type {string}
|
|
253
|
+
* @memberof ACZoneData
|
|
254
|
+
*/
|
|
255
|
+
'id': string;
|
|
256
|
+
/**
|
|
257
|
+
*
|
|
258
|
+
* @type {string}
|
|
259
|
+
* @memberof ACZoneData
|
|
260
|
+
*/
|
|
261
|
+
'name': string;
|
|
262
|
+
/**
|
|
263
|
+
*
|
|
264
|
+
* @type {number}
|
|
265
|
+
* @memberof ACZoneData
|
|
266
|
+
*/
|
|
267
|
+
'area_size': number;
|
|
268
|
+
/**
|
|
269
|
+
*
|
|
270
|
+
* @type {string}
|
|
271
|
+
* @memberof ACZoneData
|
|
152
272
|
*/
|
|
153
273
|
'floor_id': string;
|
|
154
274
|
/**
|
|
155
275
|
*
|
|
156
276
|
* @type {string}
|
|
157
|
-
* @memberof
|
|
277
|
+
* @memberof ACZoneData
|
|
158
278
|
*/
|
|
159
279
|
'created_at': string;
|
|
160
280
|
/**
|
|
161
281
|
*
|
|
162
282
|
* @type {string}
|
|
163
|
-
* @memberof
|
|
283
|
+
* @memberof ACZoneData
|
|
164
284
|
*/
|
|
165
285
|
'updated_at': string;
|
|
166
286
|
}
|
|
@@ -523,19 +643,19 @@ export interface FloorData {
|
|
|
523
643
|
* @type {string}
|
|
524
644
|
* @memberof FloorData
|
|
525
645
|
*/
|
|
526
|
-
'
|
|
646
|
+
'updated_at': string;
|
|
527
647
|
/**
|
|
528
648
|
*
|
|
529
649
|
* @type {string}
|
|
530
650
|
* @memberof FloorData
|
|
531
651
|
*/
|
|
532
|
-
'
|
|
652
|
+
'created_at': string;
|
|
533
653
|
/**
|
|
534
654
|
*
|
|
535
655
|
* @type {string}
|
|
536
656
|
* @memberof FloorData
|
|
537
657
|
*/
|
|
538
|
-
'
|
|
658
|
+
'tower_id': string;
|
|
539
659
|
/**
|
|
540
660
|
*
|
|
541
661
|
* @type {JsonValue}
|
|
@@ -547,19 +667,19 @@ export interface FloorData {
|
|
|
547
667
|
* @type {string}
|
|
548
668
|
* @memberof FloorData
|
|
549
669
|
*/
|
|
550
|
-
'
|
|
670
|
+
'name': string;
|
|
551
671
|
/**
|
|
552
672
|
*
|
|
553
673
|
* @type {string}
|
|
554
674
|
* @memberof FloorData
|
|
555
675
|
*/
|
|
556
|
-
'
|
|
676
|
+
'uid': string;
|
|
557
677
|
/**
|
|
558
678
|
*
|
|
559
679
|
* @type {string}
|
|
560
680
|
* @memberof FloorData
|
|
561
681
|
*/
|
|
562
|
-
'
|
|
682
|
+
'id': string;
|
|
563
683
|
}
|
|
564
684
|
/**
|
|
565
685
|
*
|
|
@@ -1484,6 +1604,49 @@ export interface RateDetail {
|
|
|
1484
1604
|
*/
|
|
1485
1605
|
'en': string;
|
|
1486
1606
|
}
|
|
1607
|
+
/**
|
|
1608
|
+
*
|
|
1609
|
+
* @export
|
|
1610
|
+
* @interface RequesterData
|
|
1611
|
+
*/
|
|
1612
|
+
export interface RequesterData {
|
|
1613
|
+
/**
|
|
1614
|
+
*
|
|
1615
|
+
* @type {string}
|
|
1616
|
+
* @memberof RequesterData
|
|
1617
|
+
*/
|
|
1618
|
+
'updated_at': string;
|
|
1619
|
+
/**
|
|
1620
|
+
*
|
|
1621
|
+
* @type {string}
|
|
1622
|
+
* @memberof RequesterData
|
|
1623
|
+
*/
|
|
1624
|
+
'created_at': string;
|
|
1625
|
+
/**
|
|
1626
|
+
*
|
|
1627
|
+
* @type {JsonValue}
|
|
1628
|
+
* @memberof RequesterData
|
|
1629
|
+
*/
|
|
1630
|
+
'metadata'?: JsonValue | null;
|
|
1631
|
+
/**
|
|
1632
|
+
*
|
|
1633
|
+
* @type {string}
|
|
1634
|
+
* @memberof RequesterData
|
|
1635
|
+
*/
|
|
1636
|
+
'account_id'?: string | null;
|
|
1637
|
+
/**
|
|
1638
|
+
*
|
|
1639
|
+
* @type {string}
|
|
1640
|
+
* @memberof RequesterData
|
|
1641
|
+
*/
|
|
1642
|
+
'uid': string;
|
|
1643
|
+
/**
|
|
1644
|
+
*
|
|
1645
|
+
* @type {string}
|
|
1646
|
+
* @memberof RequesterData
|
|
1647
|
+
*/
|
|
1648
|
+
'id': string;
|
|
1649
|
+
}
|
|
1487
1650
|
/**
|
|
1488
1651
|
*
|
|
1489
1652
|
* @export
|
|
@@ -2169,19 +2332,19 @@ export interface TowerData {
|
|
|
2169
2332
|
* @type {string}
|
|
2170
2333
|
* @memberof TowerData
|
|
2171
2334
|
*/
|
|
2172
|
-
'
|
|
2335
|
+
'updated_at': string;
|
|
2173
2336
|
/**
|
|
2174
2337
|
*
|
|
2175
2338
|
* @type {string}
|
|
2176
2339
|
* @memberof TowerData
|
|
2177
2340
|
*/
|
|
2178
|
-
'
|
|
2341
|
+
'created_at': string;
|
|
2179
2342
|
/**
|
|
2180
2343
|
*
|
|
2181
2344
|
* @type {string}
|
|
2182
2345
|
* @memberof TowerData
|
|
2183
2346
|
*/
|
|
2184
|
-
'
|
|
2347
|
+
'project_id': string;
|
|
2185
2348
|
/**
|
|
2186
2349
|
*
|
|
2187
2350
|
* @type {JsonValue}
|
|
@@ -2193,31 +2356,19 @@ export interface TowerData {
|
|
|
2193
2356
|
* @type {string}
|
|
2194
2357
|
* @memberof TowerData
|
|
2195
2358
|
*/
|
|
2196
|
-
'
|
|
2359
|
+
'name': string;
|
|
2197
2360
|
/**
|
|
2198
2361
|
*
|
|
2199
2362
|
* @type {string}
|
|
2200
2363
|
* @memberof TowerData
|
|
2201
2364
|
*/
|
|
2202
|
-
'
|
|
2365
|
+
'uid': string;
|
|
2203
2366
|
/**
|
|
2204
2367
|
*
|
|
2205
2368
|
* @type {string}
|
|
2206
2369
|
* @memberof TowerData
|
|
2207
2370
|
*/
|
|
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>;
|
|
2371
|
+
'id': string;
|
|
2221
2372
|
}
|
|
2222
2373
|
/**
|
|
2223
2374
|
*
|
|
@@ -2753,6 +2904,134 @@ export interface WrappedOneResponseServiceRequestData {
|
|
|
2753
2904
|
*/
|
|
2754
2905
|
'data': ServiceRequestData;
|
|
2755
2906
|
}
|
|
2907
|
+
/**
|
|
2908
|
+
*
|
|
2909
|
+
* @export
|
|
2910
|
+
* @interface WrappedResponseACRequestResponse
|
|
2911
|
+
*/
|
|
2912
|
+
export interface WrappedResponseACRequestResponse {
|
|
2913
|
+
/**
|
|
2914
|
+
*
|
|
2915
|
+
* @type {WrappedResponseACRequestResponseData}
|
|
2916
|
+
* @memberof WrappedResponseACRequestResponse
|
|
2917
|
+
*/
|
|
2918
|
+
'data': WrappedResponseACRequestResponseData | null;
|
|
2919
|
+
}
|
|
2920
|
+
/**
|
|
2921
|
+
*
|
|
2922
|
+
* @export
|
|
2923
|
+
* @interface WrappedResponseACRequestResponseData
|
|
2924
|
+
*/
|
|
2925
|
+
export interface WrappedResponseACRequestResponseData {
|
|
2926
|
+
/**
|
|
2927
|
+
*
|
|
2928
|
+
* @type {string}
|
|
2929
|
+
* @memberof WrappedResponseACRequestResponseData
|
|
2930
|
+
*/
|
|
2931
|
+
'id': string;
|
|
2932
|
+
/**
|
|
2933
|
+
*
|
|
2934
|
+
* @type {string}
|
|
2935
|
+
* @memberof WrappedResponseACRequestResponseData
|
|
2936
|
+
*/
|
|
2937
|
+
'tower_id': string;
|
|
2938
|
+
/**
|
|
2939
|
+
*
|
|
2940
|
+
* @type {string}
|
|
2941
|
+
* @memberof WrappedResponseACRequestResponseData
|
|
2942
|
+
*/
|
|
2943
|
+
'floor_id': string;
|
|
2944
|
+
/**
|
|
2945
|
+
*
|
|
2946
|
+
* @type {string}
|
|
2947
|
+
* @memberof WrappedResponseACRequestResponseData
|
|
2948
|
+
*/
|
|
2949
|
+
'ac_zone_id': string;
|
|
2950
|
+
/**
|
|
2951
|
+
*
|
|
2952
|
+
* @type {string}
|
|
2953
|
+
* @memberof WrappedResponseACRequestResponseData
|
|
2954
|
+
*/
|
|
2955
|
+
'estimated_cost': string;
|
|
2956
|
+
/**
|
|
2957
|
+
*
|
|
2958
|
+
* @type {string}
|
|
2959
|
+
* @memberof WrappedResponseACRequestResponseData
|
|
2960
|
+
*/
|
|
2961
|
+
'rate': string;
|
|
2962
|
+
/**
|
|
2963
|
+
*
|
|
2964
|
+
* @type {string}
|
|
2965
|
+
* @memberof WrappedResponseACRequestResponseData
|
|
2966
|
+
*/
|
|
2967
|
+
'from': string;
|
|
2968
|
+
/**
|
|
2969
|
+
*
|
|
2970
|
+
* @type {string}
|
|
2971
|
+
* @memberof WrappedResponseACRequestResponseData
|
|
2972
|
+
*/
|
|
2973
|
+
'to': string;
|
|
2974
|
+
/**
|
|
2975
|
+
*
|
|
2976
|
+
* @type {number}
|
|
2977
|
+
* @memberof WrappedResponseACRequestResponseData
|
|
2978
|
+
*/
|
|
2979
|
+
'duration_hour': number;
|
|
2980
|
+
/**
|
|
2981
|
+
*
|
|
2982
|
+
* @type {number}
|
|
2983
|
+
* @memberof WrappedResponseACRequestResponseData
|
|
2984
|
+
*/
|
|
2985
|
+
'area_size': number;
|
|
2986
|
+
/**
|
|
2987
|
+
*
|
|
2988
|
+
* @type {string}
|
|
2989
|
+
* @memberof WrappedResponseACRequestResponseData
|
|
2990
|
+
*/
|
|
2991
|
+
'status': string;
|
|
2992
|
+
/**
|
|
2993
|
+
*
|
|
2994
|
+
* @type {string}
|
|
2995
|
+
* @memberof WrappedResponseACRequestResponseData
|
|
2996
|
+
*/
|
|
2997
|
+
'created_at': string;
|
|
2998
|
+
/**
|
|
2999
|
+
*
|
|
3000
|
+
* @type {string}
|
|
3001
|
+
* @memberof WrappedResponseACRequestResponseData
|
|
3002
|
+
*/
|
|
3003
|
+
'updated_at': string;
|
|
3004
|
+
/**
|
|
3005
|
+
*
|
|
3006
|
+
* @type {string}
|
|
3007
|
+
* @memberof WrappedResponseACRequestResponseData
|
|
3008
|
+
*/
|
|
3009
|
+
'requester_id': string;
|
|
3010
|
+
/**
|
|
3011
|
+
*
|
|
3012
|
+
* @type {ACZoneData}
|
|
3013
|
+
* @memberof WrappedResponseACRequestResponseData
|
|
3014
|
+
*/
|
|
3015
|
+
'ac_zone': ACZoneData;
|
|
3016
|
+
/**
|
|
3017
|
+
*
|
|
3018
|
+
* @type {FloorData}
|
|
3019
|
+
* @memberof WrappedResponseACRequestResponseData
|
|
3020
|
+
*/
|
|
3021
|
+
'floor': FloorData;
|
|
3022
|
+
/**
|
|
3023
|
+
*
|
|
3024
|
+
* @type {TowerData}
|
|
3025
|
+
* @memberof WrappedResponseACRequestResponseData
|
|
3026
|
+
*/
|
|
3027
|
+
'tower': TowerData;
|
|
3028
|
+
/**
|
|
3029
|
+
*
|
|
3030
|
+
* @type {RequesterData}
|
|
3031
|
+
* @memberof WrappedResponseACRequestResponseData
|
|
3032
|
+
*/
|
|
3033
|
+
'requester': RequesterData;
|
|
3034
|
+
}
|
|
2756
3035
|
/**
|
|
2757
3036
|
*
|
|
2758
3037
|
* @export
|
|
@@ -2777,13 +3056,13 @@ export interface WrappedResponseACZoneDataData {
|
|
|
2777
3056
|
* @type {string}
|
|
2778
3057
|
* @memberof WrappedResponseACZoneDataData
|
|
2779
3058
|
*/
|
|
2780
|
-
'
|
|
3059
|
+
'id': string;
|
|
2781
3060
|
/**
|
|
2782
3061
|
*
|
|
2783
3062
|
* @type {string}
|
|
2784
3063
|
* @memberof WrappedResponseACZoneDataData
|
|
2785
3064
|
*/
|
|
2786
|
-
'
|
|
3065
|
+
'name': string;
|
|
2787
3066
|
/**
|
|
2788
3067
|
*
|
|
2789
3068
|
* @type {number}
|
|
@@ -2795,19 +3074,19 @@ export interface WrappedResponseACZoneDataData {
|
|
|
2795
3074
|
* @type {string}
|
|
2796
3075
|
* @memberof WrappedResponseACZoneDataData
|
|
2797
3076
|
*/
|
|
2798
|
-
'
|
|
3077
|
+
'floor_id': string;
|
|
2799
3078
|
/**
|
|
2800
3079
|
*
|
|
2801
3080
|
* @type {string}
|
|
2802
3081
|
* @memberof WrappedResponseACZoneDataData
|
|
2803
3082
|
*/
|
|
2804
|
-
'
|
|
3083
|
+
'created_at': string;
|
|
2805
3084
|
/**
|
|
2806
3085
|
*
|
|
2807
3086
|
* @type {string}
|
|
2808
3087
|
* @memberof WrappedResponseACZoneDataData
|
|
2809
3088
|
*/
|
|
2810
|
-
'
|
|
3089
|
+
'updated_at': string;
|
|
2811
3090
|
}
|
|
2812
3091
|
/**
|
|
2813
3092
|
*
|
|
@@ -3490,9 +3769,9 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3490
3769
|
* @param {*} [options] Override http request option.
|
|
3491
3770
|
* @throws {RequiredError}
|
|
3492
3771
|
*/
|
|
3493
|
-
|
|
3772
|
+
acRequestCreate: async (aCRequestBody: ACRequestBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3494
3773
|
// verify required parameter 'aCRequestBody' is not null or undefined
|
|
3495
|
-
assertParamExists('
|
|
3774
|
+
assertParamExists('acRequestCreate', 'aCRequestBody', aCRequestBody)
|
|
3496
3775
|
const localVarPath = `/ac_request`;
|
|
3497
3776
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3498
3777
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -3519,6 +3798,98 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
3519
3798
|
options: localVarRequestOptions,
|
|
3520
3799
|
};
|
|
3521
3800
|
},
|
|
3801
|
+
/**
|
|
3802
|
+
*
|
|
3803
|
+
* @param {string} [requesterId]
|
|
3804
|
+
* @param {string} [orderBy]
|
|
3805
|
+
* @param {string} [orderDirection]
|
|
3806
|
+
* @param {number} [pageNumber]
|
|
3807
|
+
* @param {number} [pageSize]
|
|
3808
|
+
* @param {ACRequestStatus} [status]
|
|
3809
|
+
* @param {*} [options] Override http request option.
|
|
3810
|
+
* @throws {RequiredError}
|
|
3811
|
+
*/
|
|
3812
|
+
acRequestIndex: async (requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3813
|
+
const localVarPath = `/ac_request`;
|
|
3814
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3815
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3816
|
+
let baseOptions;
|
|
3817
|
+
if (configuration) {
|
|
3818
|
+
baseOptions = configuration.baseOptions;
|
|
3819
|
+
}
|
|
3820
|
+
|
|
3821
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3822
|
+
const localVarHeaderParameter = {} as any;
|
|
3823
|
+
const localVarQueryParameter = {} as any;
|
|
3824
|
+
|
|
3825
|
+
if (requesterId !== undefined) {
|
|
3826
|
+
localVarQueryParameter['requester_id'] = requesterId;
|
|
3827
|
+
}
|
|
3828
|
+
|
|
3829
|
+
if (orderBy !== undefined) {
|
|
3830
|
+
localVarQueryParameter['order_by'] = orderBy;
|
|
3831
|
+
}
|
|
3832
|
+
|
|
3833
|
+
if (orderDirection !== undefined) {
|
|
3834
|
+
localVarQueryParameter['order_direction'] = orderDirection;
|
|
3835
|
+
}
|
|
3836
|
+
|
|
3837
|
+
if (pageNumber !== undefined) {
|
|
3838
|
+
localVarQueryParameter['page_number'] = pageNumber;
|
|
3839
|
+
}
|
|
3840
|
+
|
|
3841
|
+
if (pageSize !== undefined) {
|
|
3842
|
+
localVarQueryParameter['page_size'] = pageSize;
|
|
3843
|
+
}
|
|
3844
|
+
|
|
3845
|
+
if (status !== undefined) {
|
|
3846
|
+
localVarQueryParameter['status'] = status;
|
|
3847
|
+
}
|
|
3848
|
+
|
|
3849
|
+
|
|
3850
|
+
|
|
3851
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3852
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3853
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3854
|
+
|
|
3855
|
+
return {
|
|
3856
|
+
url: toPathString(localVarUrlObj),
|
|
3857
|
+
options: localVarRequestOptions,
|
|
3858
|
+
};
|
|
3859
|
+
},
|
|
3860
|
+
/**
|
|
3861
|
+
*
|
|
3862
|
+
* @param {string} id
|
|
3863
|
+
* @param {*} [options] Override http request option.
|
|
3864
|
+
* @throws {RequiredError}
|
|
3865
|
+
*/
|
|
3866
|
+
acRequestShow: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3867
|
+
// verify required parameter 'id' is not null or undefined
|
|
3868
|
+
assertParamExists('acRequestShow', 'id', id)
|
|
3869
|
+
const localVarPath = `/ac_request/{id}`
|
|
3870
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
3871
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3872
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3873
|
+
let baseOptions;
|
|
3874
|
+
if (configuration) {
|
|
3875
|
+
baseOptions = configuration.baseOptions;
|
|
3876
|
+
}
|
|
3877
|
+
|
|
3878
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3879
|
+
const localVarHeaderParameter = {} as any;
|
|
3880
|
+
const localVarQueryParameter = {} as any;
|
|
3881
|
+
|
|
3882
|
+
|
|
3883
|
+
|
|
3884
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3885
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3886
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3887
|
+
|
|
3888
|
+
return {
|
|
3889
|
+
url: toPathString(localVarUrlObj),
|
|
3890
|
+
options: localVarRequestOptions,
|
|
3891
|
+
};
|
|
3892
|
+
},
|
|
3522
3893
|
/**
|
|
3523
3894
|
*
|
|
3524
3895
|
* @param {string} floorId
|
|
@@ -4585,8 +4956,33 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
4585
4956
|
* @param {*} [options] Override http request option.
|
|
4586
4957
|
* @throws {RequiredError}
|
|
4587
4958
|
*/
|
|
4588
|
-
async
|
|
4589
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4959
|
+
async acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseBoolean>> {
|
|
4960
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestCreate(aCRequestBody, options);
|
|
4961
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4962
|
+
},
|
|
4963
|
+
/**
|
|
4964
|
+
*
|
|
4965
|
+
* @param {string} [requesterId]
|
|
4966
|
+
* @param {string} [orderBy]
|
|
4967
|
+
* @param {string} [orderDirection]
|
|
4968
|
+
* @param {number} [pageNumber]
|
|
4969
|
+
* @param {number} [pageSize]
|
|
4970
|
+
* @param {ACRequestStatus} [status]
|
|
4971
|
+
* @param {*} [options] Override http request option.
|
|
4972
|
+
* @throws {RequiredError}
|
|
4973
|
+
*/
|
|
4974
|
+
async acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseACRequestResponse>> {
|
|
4975
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options);
|
|
4976
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4977
|
+
},
|
|
4978
|
+
/**
|
|
4979
|
+
*
|
|
4980
|
+
* @param {string} id
|
|
4981
|
+
* @param {*} [options] Override http request option.
|
|
4982
|
+
* @throws {RequiredError}
|
|
4983
|
+
*/
|
|
4984
|
+
async acRequestShow(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseACRequestResponse>> {
|
|
4985
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestShow(id, options);
|
|
4590
4986
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4591
4987
|
},
|
|
4592
4988
|
/**
|
|
@@ -4903,8 +5299,31 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
4903
5299
|
* @param {*} [options] Override http request option.
|
|
4904
5300
|
* @throws {RequiredError}
|
|
4905
5301
|
*/
|
|
4906
|
-
|
|
4907
|
-
return localVarFp.
|
|
5302
|
+
acRequestCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<WrappedResponseBoolean> {
|
|
5303
|
+
return localVarFp.acRequestCreate(aCRequestBody, options).then((request) => request(axios, basePath));
|
|
5304
|
+
},
|
|
5305
|
+
/**
|
|
5306
|
+
*
|
|
5307
|
+
* @param {string} [requesterId]
|
|
5308
|
+
* @param {string} [orderBy]
|
|
5309
|
+
* @param {string} [orderDirection]
|
|
5310
|
+
* @param {number} [pageNumber]
|
|
5311
|
+
* @param {number} [pageSize]
|
|
5312
|
+
* @param {ACRequestStatus} [status]
|
|
5313
|
+
* @param {*} [options] Override http request option.
|
|
5314
|
+
* @throws {RequiredError}
|
|
5315
|
+
*/
|
|
5316
|
+
acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: any): AxiosPromise<WrappedResponseACRequestResponse> {
|
|
5317
|
+
return localVarFp.acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options).then((request) => request(axios, basePath));
|
|
5318
|
+
},
|
|
5319
|
+
/**
|
|
5320
|
+
*
|
|
5321
|
+
* @param {string} id
|
|
5322
|
+
* @param {*} [options] Override http request option.
|
|
5323
|
+
* @throws {RequiredError}
|
|
5324
|
+
*/
|
|
5325
|
+
acRequestShow(id: string, options?: any): AxiosPromise<WrappedResponseACRequestResponse> {
|
|
5326
|
+
return localVarFp.acRequestShow(id, options).then((request) => request(axios, basePath));
|
|
4908
5327
|
},
|
|
4909
5328
|
/**
|
|
4910
5329
|
*
|
|
@@ -5193,8 +5612,35 @@ export class DefaultApi extends BaseAPI {
|
|
|
5193
5612
|
* @throws {RequiredError}
|
|
5194
5613
|
* @memberof DefaultApi
|
|
5195
5614
|
*/
|
|
5196
|
-
public
|
|
5197
|
-
return DefaultApiFp(this.configuration).
|
|
5615
|
+
public acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig) {
|
|
5616
|
+
return DefaultApiFp(this.configuration).acRequestCreate(aCRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
5617
|
+
}
|
|
5618
|
+
|
|
5619
|
+
/**
|
|
5620
|
+
*
|
|
5621
|
+
* @param {string} [requesterId]
|
|
5622
|
+
* @param {string} [orderBy]
|
|
5623
|
+
* @param {string} [orderDirection]
|
|
5624
|
+
* @param {number} [pageNumber]
|
|
5625
|
+
* @param {number} [pageSize]
|
|
5626
|
+
* @param {ACRequestStatus} [status]
|
|
5627
|
+
* @param {*} [options] Override http request option.
|
|
5628
|
+
* @throws {RequiredError}
|
|
5629
|
+
* @memberof DefaultApi
|
|
5630
|
+
*/
|
|
5631
|
+
public acRequestIndex(requesterId?: string, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, status?: ACRequestStatus, options?: AxiosRequestConfig) {
|
|
5632
|
+
return DefaultApiFp(this.configuration).acRequestIndex(requesterId, orderBy, orderDirection, pageNumber, pageSize, status, options).then((request) => request(this.axios, this.basePath));
|
|
5633
|
+
}
|
|
5634
|
+
|
|
5635
|
+
/**
|
|
5636
|
+
*
|
|
5637
|
+
* @param {string} id
|
|
5638
|
+
* @param {*} [options] Override http request option.
|
|
5639
|
+
* @throws {RequiredError}
|
|
5640
|
+
* @memberof DefaultApi
|
|
5641
|
+
*/
|
|
5642
|
+
public acRequestShow(id: string, options?: AxiosRequestConfig) {
|
|
5643
|
+
return DefaultApiFp(this.configuration).acRequestShow(id, options).then((request) => request(this.axios, this.basePath));
|
|
5198
5644
|
}
|
|
5199
5645
|
|
|
5200
5646
|
/**
|