ob-bms-sdk 0.0.78 → 0.0.80
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 +499 -35
- package/dist/api/api.d.ts +430 -36
- package/dist/api/api.js +119 -0
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -37,10 +37,10 @@ export interface ACRequestBody {
|
|
|
37
37
|
'floor_id': string;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
|
-
* @type {string}
|
|
40
|
+
* @type {Array<string>}
|
|
41
41
|
* @memberof ACRequestBody
|
|
42
42
|
*/
|
|
43
|
-
'ac_zone_id': string
|
|
43
|
+
'ac_zone_id': Array<string>;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
46
|
* @type {string}
|
|
@@ -147,24 +147,12 @@ export interface ACRequestResponse {
|
|
|
147
147
|
* @memberof ACRequestResponse
|
|
148
148
|
*/
|
|
149
149
|
'floor_id': string;
|
|
150
|
-
/**
|
|
151
|
-
*
|
|
152
|
-
* @type {string}
|
|
153
|
-
* @memberof ACRequestResponse
|
|
154
|
-
*/
|
|
155
|
-
'ac_zone_id': string;
|
|
156
150
|
/**
|
|
157
151
|
*
|
|
158
152
|
* @type {string}
|
|
159
153
|
* @memberof ACRequestResponse
|
|
160
154
|
*/
|
|
161
155
|
'estimated_cost': string;
|
|
162
|
-
/**
|
|
163
|
-
*
|
|
164
|
-
* @type {string}
|
|
165
|
-
* @memberof ACRequestResponse
|
|
166
|
-
*/
|
|
167
|
-
'rate': string;
|
|
168
156
|
/**
|
|
169
157
|
*
|
|
170
158
|
* @type {string}
|
|
@@ -188,7 +176,7 @@ export interface ACRequestResponse {
|
|
|
188
176
|
* @type {number}
|
|
189
177
|
* @memberof ACRequestResponse
|
|
190
178
|
*/
|
|
191
|
-
'
|
|
179
|
+
'total_area_size': number;
|
|
192
180
|
/**
|
|
193
181
|
*
|
|
194
182
|
* @type {string}
|
|
@@ -215,10 +203,10 @@ export interface ACRequestResponse {
|
|
|
215
203
|
'requester_id': string;
|
|
216
204
|
/**
|
|
217
205
|
*
|
|
218
|
-
* @type {
|
|
206
|
+
* @type {Array<ACRequestZone>}
|
|
219
207
|
* @memberof ACRequestResponse
|
|
220
208
|
*/
|
|
221
|
-
'ac_zone':
|
|
209
|
+
'ac_zone': Array<ACRequestZone>;
|
|
222
210
|
/**
|
|
223
211
|
*
|
|
224
212
|
* @type {FloorData}
|
|
@@ -329,6 +317,55 @@ export interface ACRequestUpdateBody {
|
|
|
329
317
|
*/
|
|
330
318
|
export interface ACRequestUpdateBodyStatus {
|
|
331
319
|
}
|
|
320
|
+
/**
|
|
321
|
+
*
|
|
322
|
+
* @export
|
|
323
|
+
* @interface ACRequestZone
|
|
324
|
+
*/
|
|
325
|
+
export interface ACRequestZone {
|
|
326
|
+
/**
|
|
327
|
+
*
|
|
328
|
+
* @type {string}
|
|
329
|
+
* @memberof ACRequestZone
|
|
330
|
+
*/
|
|
331
|
+
'id': string;
|
|
332
|
+
/**
|
|
333
|
+
*
|
|
334
|
+
* @type {ACZoneData}
|
|
335
|
+
* @memberof ACRequestZone
|
|
336
|
+
*/
|
|
337
|
+
'ac_zone': ACZoneData;
|
|
338
|
+
/**
|
|
339
|
+
*
|
|
340
|
+
* @type {string}
|
|
341
|
+
* @memberof ACRequestZone
|
|
342
|
+
*/
|
|
343
|
+
'ac_request_id': string;
|
|
344
|
+
/**
|
|
345
|
+
*
|
|
346
|
+
* @type {string}
|
|
347
|
+
* @memberof ACRequestZone
|
|
348
|
+
*/
|
|
349
|
+
'rate': string;
|
|
350
|
+
/**
|
|
351
|
+
*
|
|
352
|
+
* @type {number}
|
|
353
|
+
* @memberof ACRequestZone
|
|
354
|
+
*/
|
|
355
|
+
'area_size': number;
|
|
356
|
+
/**
|
|
357
|
+
*
|
|
358
|
+
* @type {string}
|
|
359
|
+
* @memberof ACRequestZone
|
|
360
|
+
*/
|
|
361
|
+
'created_at': string;
|
|
362
|
+
/**
|
|
363
|
+
*
|
|
364
|
+
* @type {string}
|
|
365
|
+
* @memberof ACRequestZone
|
|
366
|
+
*/
|
|
367
|
+
'updated_at': string;
|
|
368
|
+
}
|
|
332
369
|
/**
|
|
333
370
|
*
|
|
334
371
|
* @export
|
|
@@ -496,6 +533,19 @@ export interface ConsentRequestBody {
|
|
|
496
533
|
*/
|
|
497
534
|
'consent': boolean;
|
|
498
535
|
}
|
|
536
|
+
/**
|
|
537
|
+
*
|
|
538
|
+
* @export
|
|
539
|
+
* @interface CreateACRequestResponse
|
|
540
|
+
*/
|
|
541
|
+
export interface CreateACRequestResponse {
|
|
542
|
+
/**
|
|
543
|
+
*
|
|
544
|
+
* @type {string}
|
|
545
|
+
* @memberof CreateACRequestResponse
|
|
546
|
+
*/
|
|
547
|
+
'references': string;
|
|
548
|
+
}
|
|
499
549
|
/**
|
|
500
550
|
*
|
|
501
551
|
* @export
|
|
@@ -837,6 +887,49 @@ export interface FloorSensorData {
|
|
|
837
887
|
*/
|
|
838
888
|
'floor_id': string;
|
|
839
889
|
}
|
|
890
|
+
/**
|
|
891
|
+
*
|
|
892
|
+
* @export
|
|
893
|
+
* @interface HolidayResponse
|
|
894
|
+
*/
|
|
895
|
+
export interface HolidayResponse {
|
|
896
|
+
/**
|
|
897
|
+
*
|
|
898
|
+
* @type {string}
|
|
899
|
+
* @memberof HolidayResponse
|
|
900
|
+
*/
|
|
901
|
+
'holiday_week_day': string;
|
|
902
|
+
/**
|
|
903
|
+
*
|
|
904
|
+
* @type {string}
|
|
905
|
+
* @memberof HolidayResponse
|
|
906
|
+
*/
|
|
907
|
+
'holiday_week_day_thai': string;
|
|
908
|
+
/**
|
|
909
|
+
*
|
|
910
|
+
* @type {string}
|
|
911
|
+
* @memberof HolidayResponse
|
|
912
|
+
*/
|
|
913
|
+
'date': string;
|
|
914
|
+
/**
|
|
915
|
+
*
|
|
916
|
+
* @type {string}
|
|
917
|
+
* @memberof HolidayResponse
|
|
918
|
+
*/
|
|
919
|
+
'date_thai': string;
|
|
920
|
+
/**
|
|
921
|
+
*
|
|
922
|
+
* @type {string}
|
|
923
|
+
* @memberof HolidayResponse
|
|
924
|
+
*/
|
|
925
|
+
'holiday_description': string;
|
|
926
|
+
/**
|
|
927
|
+
*
|
|
928
|
+
* @type {string}
|
|
929
|
+
* @memberof HolidayResponse
|
|
930
|
+
*/
|
|
931
|
+
'holiday_description_thai': string;
|
|
932
|
+
}
|
|
840
933
|
/**
|
|
841
934
|
*
|
|
842
935
|
* @export
|
|
@@ -855,6 +948,12 @@ export interface IssueTypeData {
|
|
|
855
948
|
* @memberof IssueTypeData
|
|
856
949
|
*/
|
|
857
950
|
'created_at': string;
|
|
951
|
+
/**
|
|
952
|
+
*
|
|
953
|
+
* @type {string}
|
|
954
|
+
* @memberof IssueTypeData
|
|
955
|
+
*/
|
|
956
|
+
'internal_remark': string | null;
|
|
858
957
|
/**
|
|
859
958
|
*
|
|
860
959
|
* @type {JsonValue}
|
|
@@ -1073,6 +1172,55 @@ export interface LocationPasses {
|
|
|
1073
1172
|
*/
|
|
1074
1173
|
'updated_at': string;
|
|
1075
1174
|
}
|
|
1175
|
+
/**
|
|
1176
|
+
*
|
|
1177
|
+
* @export
|
|
1178
|
+
* @interface MemberAccessLog
|
|
1179
|
+
*/
|
|
1180
|
+
export interface MemberAccessLog {
|
|
1181
|
+
/**
|
|
1182
|
+
*
|
|
1183
|
+
* @type {number}
|
|
1184
|
+
* @memberof MemberAccessLog
|
|
1185
|
+
*/
|
|
1186
|
+
'transacId': number;
|
|
1187
|
+
/**
|
|
1188
|
+
*
|
|
1189
|
+
* @type {string}
|
|
1190
|
+
* @memberof MemberAccessLog
|
|
1191
|
+
*/
|
|
1192
|
+
'transcDatetime': string;
|
|
1193
|
+
/**
|
|
1194
|
+
*
|
|
1195
|
+
* @type {number}
|
|
1196
|
+
* @memberof MemberAccessLog
|
|
1197
|
+
*/
|
|
1198
|
+
'projectID': number;
|
|
1199
|
+
/**
|
|
1200
|
+
*
|
|
1201
|
+
* @type {number}
|
|
1202
|
+
* @memberof MemberAccessLog
|
|
1203
|
+
*/
|
|
1204
|
+
'towerID': number;
|
|
1205
|
+
/**
|
|
1206
|
+
*
|
|
1207
|
+
* @type {string}
|
|
1208
|
+
* @memberof MemberAccessLog
|
|
1209
|
+
*/
|
|
1210
|
+
'personID': string;
|
|
1211
|
+
/**
|
|
1212
|
+
*
|
|
1213
|
+
* @type {string}
|
|
1214
|
+
* @memberof MemberAccessLog
|
|
1215
|
+
*/
|
|
1216
|
+
'turnstileID': string;
|
|
1217
|
+
/**
|
|
1218
|
+
*
|
|
1219
|
+
* @type {number}
|
|
1220
|
+
* @memberof MemberAccessLog
|
|
1221
|
+
*/
|
|
1222
|
+
'terminalPosition': number;
|
|
1223
|
+
}
|
|
1076
1224
|
/**
|
|
1077
1225
|
*
|
|
1078
1226
|
* @export
|
|
@@ -1360,6 +1508,43 @@ export interface ParkingLotData {
|
|
|
1360
1508
|
*/
|
|
1361
1509
|
'total_available_slots': number;
|
|
1362
1510
|
}
|
|
1511
|
+
/**
|
|
1512
|
+
*
|
|
1513
|
+
* @export
|
|
1514
|
+
* @interface ParkingMemberAccessLog
|
|
1515
|
+
*/
|
|
1516
|
+
export interface ParkingMemberAccessLog {
|
|
1517
|
+
/**
|
|
1518
|
+
*
|
|
1519
|
+
* @type {number}
|
|
1520
|
+
* @memberof ParkingMemberAccessLog
|
|
1521
|
+
*/
|
|
1522
|
+
'transacId': number;
|
|
1523
|
+
/**
|
|
1524
|
+
*
|
|
1525
|
+
* @type {string}
|
|
1526
|
+
* @memberof ParkingMemberAccessLog
|
|
1527
|
+
*/
|
|
1528
|
+
'transcDatetime': string;
|
|
1529
|
+
/**
|
|
1530
|
+
*
|
|
1531
|
+
* @type {string}
|
|
1532
|
+
* @memberof ParkingMemberAccessLog
|
|
1533
|
+
*/
|
|
1534
|
+
'personID': string;
|
|
1535
|
+
/**
|
|
1536
|
+
*
|
|
1537
|
+
* @type {string}
|
|
1538
|
+
* @memberof ParkingMemberAccessLog
|
|
1539
|
+
*/
|
|
1540
|
+
'terminalID': string;
|
|
1541
|
+
/**
|
|
1542
|
+
*
|
|
1543
|
+
* @type {number}
|
|
1544
|
+
* @memberof ParkingMemberAccessLog
|
|
1545
|
+
*/
|
|
1546
|
+
'terminalPosition': number;
|
|
1547
|
+
}
|
|
1363
1548
|
/**
|
|
1364
1549
|
*
|
|
1365
1550
|
* @export
|
|
@@ -1487,6 +1672,43 @@ export interface ParkingTicketsRedeemBody {
|
|
|
1487
1672
|
*/
|
|
1488
1673
|
'redeemer_id': string;
|
|
1489
1674
|
}
|
|
1675
|
+
/**
|
|
1676
|
+
*
|
|
1677
|
+
* @export
|
|
1678
|
+
* @interface ParkingVisitorAccessLog
|
|
1679
|
+
*/
|
|
1680
|
+
export interface ParkingVisitorAccessLog {
|
|
1681
|
+
/**
|
|
1682
|
+
*
|
|
1683
|
+
* @type {number}
|
|
1684
|
+
* @memberof ParkingVisitorAccessLog
|
|
1685
|
+
*/
|
|
1686
|
+
'transacId': number;
|
|
1687
|
+
/**
|
|
1688
|
+
*
|
|
1689
|
+
* @type {string}
|
|
1690
|
+
* @memberof ParkingVisitorAccessLog
|
|
1691
|
+
*/
|
|
1692
|
+
'transcDatetime': string;
|
|
1693
|
+
/**
|
|
1694
|
+
*
|
|
1695
|
+
* @type {string}
|
|
1696
|
+
* @memberof ParkingVisitorAccessLog
|
|
1697
|
+
*/
|
|
1698
|
+
'inviteID': string;
|
|
1699
|
+
/**
|
|
1700
|
+
*
|
|
1701
|
+
* @type {string}
|
|
1702
|
+
* @memberof ParkingVisitorAccessLog
|
|
1703
|
+
*/
|
|
1704
|
+
'terminalID': string;
|
|
1705
|
+
/**
|
|
1706
|
+
*
|
|
1707
|
+
* @type {number}
|
|
1708
|
+
* @memberof ParkingVisitorAccessLog
|
|
1709
|
+
*/
|
|
1710
|
+
'terminalPosition': number;
|
|
1711
|
+
}
|
|
1490
1712
|
/**
|
|
1491
1713
|
*
|
|
1492
1714
|
* @export
|
|
@@ -1785,6 +2007,19 @@ export interface RequesterData {
|
|
|
1785
2007
|
*/
|
|
1786
2008
|
'id': string;
|
|
1787
2009
|
}
|
|
2010
|
+
/**
|
|
2011
|
+
*
|
|
2012
|
+
* @export
|
|
2013
|
+
* @interface ResultResponseData
|
|
2014
|
+
*/
|
|
2015
|
+
export interface ResultResponseData {
|
|
2016
|
+
/**
|
|
2017
|
+
*
|
|
2018
|
+
* @type {boolean}
|
|
2019
|
+
* @memberof ResultResponseData
|
|
2020
|
+
*/
|
|
2021
|
+
'result': boolean;
|
|
2022
|
+
}
|
|
1788
2023
|
/**
|
|
1789
2024
|
*
|
|
1790
2025
|
* @export
|
|
@@ -2662,6 +2897,75 @@ export interface UpdateMemberResponse {
|
|
|
2662
2897
|
*/
|
|
2663
2898
|
'result': boolean | null;
|
|
2664
2899
|
}
|
|
2900
|
+
/**
|
|
2901
|
+
*
|
|
2902
|
+
* @export
|
|
2903
|
+
* @interface UpdateVisitorScheduleBody
|
|
2904
|
+
*/
|
|
2905
|
+
export interface UpdateVisitorScheduleBody {
|
|
2906
|
+
/**
|
|
2907
|
+
*
|
|
2908
|
+
* @type {UpdateVisitorScheduleBodyDeletedAt}
|
|
2909
|
+
* @memberof UpdateVisitorScheduleBody
|
|
2910
|
+
*/
|
|
2911
|
+
'deleted_at': UpdateVisitorScheduleBodyDeletedAt;
|
|
2912
|
+
}
|
|
2913
|
+
/**
|
|
2914
|
+
*
|
|
2915
|
+
* @export
|
|
2916
|
+
* @interface UpdateVisitorScheduleBodyDeletedAt
|
|
2917
|
+
*/
|
|
2918
|
+
export interface UpdateVisitorScheduleBodyDeletedAt {
|
|
2919
|
+
}
|
|
2920
|
+
/**
|
|
2921
|
+
*
|
|
2922
|
+
* @export
|
|
2923
|
+
* @interface VisitorAccessLog
|
|
2924
|
+
*/
|
|
2925
|
+
export interface VisitorAccessLog {
|
|
2926
|
+
/**
|
|
2927
|
+
*
|
|
2928
|
+
* @type {number}
|
|
2929
|
+
* @memberof VisitorAccessLog
|
|
2930
|
+
*/
|
|
2931
|
+
'transacId': number;
|
|
2932
|
+
/**
|
|
2933
|
+
*
|
|
2934
|
+
* @type {string}
|
|
2935
|
+
* @memberof VisitorAccessLog
|
|
2936
|
+
*/
|
|
2937
|
+
'transcDatetime': string;
|
|
2938
|
+
/**
|
|
2939
|
+
*
|
|
2940
|
+
* @type {number}
|
|
2941
|
+
* @memberof VisitorAccessLog
|
|
2942
|
+
*/
|
|
2943
|
+
'projectID': number;
|
|
2944
|
+
/**
|
|
2945
|
+
*
|
|
2946
|
+
* @type {number}
|
|
2947
|
+
* @memberof VisitorAccessLog
|
|
2948
|
+
*/
|
|
2949
|
+
'towerID': number;
|
|
2950
|
+
/**
|
|
2951
|
+
*
|
|
2952
|
+
* @type {string}
|
|
2953
|
+
* @memberof VisitorAccessLog
|
|
2954
|
+
*/
|
|
2955
|
+
'inviteID': string;
|
|
2956
|
+
/**
|
|
2957
|
+
*
|
|
2958
|
+
* @type {string}
|
|
2959
|
+
* @memberof VisitorAccessLog
|
|
2960
|
+
*/
|
|
2961
|
+
'turnstileID': string;
|
|
2962
|
+
/**
|
|
2963
|
+
*
|
|
2964
|
+
* @type {number}
|
|
2965
|
+
* @memberof VisitorAccessLog
|
|
2966
|
+
*/
|
|
2967
|
+
'terminalPosition': number;
|
|
2968
|
+
}
|
|
2665
2969
|
/**
|
|
2666
2970
|
*
|
|
2667
2971
|
* @export
|
|
@@ -2829,16 +3133,16 @@ export interface VisitorSchedule {
|
|
|
2829
3133
|
'floor_id': string;
|
|
2830
3134
|
/**
|
|
2831
3135
|
*
|
|
2832
|
-
* @type {
|
|
3136
|
+
* @type {UpdateVisitorScheduleBodyDeletedAt}
|
|
2833
3137
|
* @memberof VisitorSchedule
|
|
2834
3138
|
*/
|
|
2835
|
-
'from':
|
|
3139
|
+
'from': UpdateVisitorScheduleBodyDeletedAt;
|
|
2836
3140
|
/**
|
|
2837
3141
|
*
|
|
2838
|
-
* @type {
|
|
3142
|
+
* @type {UpdateVisitorScheduleBodyDeletedAt}
|
|
2839
3143
|
* @memberof VisitorSchedule
|
|
2840
3144
|
*/
|
|
2841
|
-
'to':
|
|
3145
|
+
'to': UpdateVisitorScheduleBodyDeletedAt;
|
|
2842
3146
|
/**
|
|
2843
3147
|
*
|
|
2844
3148
|
* @type {object}
|
|
@@ -2846,13 +3150,6 @@ export interface VisitorSchedule {
|
|
|
2846
3150
|
*/
|
|
2847
3151
|
'repetition'?: object;
|
|
2848
3152
|
}
|
|
2849
|
-
/**
|
|
2850
|
-
*
|
|
2851
|
-
* @export
|
|
2852
|
-
* @interface VisitorScheduleFrom
|
|
2853
|
-
*/
|
|
2854
|
-
export interface VisitorScheduleFrom {
|
|
2855
|
-
}
|
|
2856
3153
|
/**
|
|
2857
3154
|
*
|
|
2858
3155
|
* @export
|
|
@@ -3095,6 +3392,19 @@ export interface WrappedArrayResponseACZoneData {
|
|
|
3095
3392
|
*/
|
|
3096
3393
|
'data': Array<ACZoneData>;
|
|
3097
3394
|
}
|
|
3395
|
+
/**
|
|
3396
|
+
*
|
|
3397
|
+
* @export
|
|
3398
|
+
* @interface WrappedArrayResponseHolidayResponse
|
|
3399
|
+
*/
|
|
3400
|
+
export interface WrappedArrayResponseHolidayResponse {
|
|
3401
|
+
/**
|
|
3402
|
+
*
|
|
3403
|
+
* @type {Array<HolidayResponse>}
|
|
3404
|
+
* @memberof WrappedArrayResponseHolidayResponse
|
|
3405
|
+
*/
|
|
3406
|
+
'data': Array<HolidayResponse>;
|
|
3407
|
+
}
|
|
3098
3408
|
/**
|
|
3099
3409
|
*
|
|
3100
3410
|
* @export
|
|
@@ -3150,15 +3460,15 @@ export interface WrappedOneResponseACRequestResponse {
|
|
|
3150
3460
|
/**
|
|
3151
3461
|
*
|
|
3152
3462
|
* @export
|
|
3153
|
-
* @interface
|
|
3463
|
+
* @interface WrappedOneResponseCreateACRequestResponse
|
|
3154
3464
|
*/
|
|
3155
|
-
export interface
|
|
3465
|
+
export interface WrappedOneResponseCreateACRequestResponse {
|
|
3156
3466
|
/**
|
|
3157
3467
|
*
|
|
3158
|
-
* @type {
|
|
3159
|
-
* @memberof
|
|
3468
|
+
* @type {CreateACRequestResponse}
|
|
3469
|
+
* @memberof WrappedOneResponseCreateACRequestResponse
|
|
3160
3470
|
*/
|
|
3161
|
-
'data':
|
|
3471
|
+
'data': CreateACRequestResponse;
|
|
3162
3472
|
}
|
|
3163
3473
|
/**
|
|
3164
3474
|
*
|
|
@@ -3694,6 +4004,32 @@ export const WrappedResponsePassConsentResponseDataStatusEnum = {
|
|
|
3694
4004
|
|
|
3695
4005
|
export type WrappedResponsePassConsentResponseDataStatusEnum = typeof WrappedResponsePassConsentResponseDataStatusEnum[keyof typeof WrappedResponsePassConsentResponseDataStatusEnum];
|
|
3696
4006
|
|
|
4007
|
+
/**
|
|
4008
|
+
*
|
|
4009
|
+
* @export
|
|
4010
|
+
* @interface WrappedResponseResultResponseData
|
|
4011
|
+
*/
|
|
4012
|
+
export interface WrappedResponseResultResponseData {
|
|
4013
|
+
/**
|
|
4014
|
+
*
|
|
4015
|
+
* @type {WrappedResponseResultResponseDataData}
|
|
4016
|
+
* @memberof WrappedResponseResultResponseData
|
|
4017
|
+
*/
|
|
4018
|
+
'data': WrappedResponseResultResponseDataData | null;
|
|
4019
|
+
}
|
|
4020
|
+
/**
|
|
4021
|
+
*
|
|
4022
|
+
* @export
|
|
4023
|
+
* @interface WrappedResponseResultResponseDataData
|
|
4024
|
+
*/
|
|
4025
|
+
export interface WrappedResponseResultResponseDataData {
|
|
4026
|
+
/**
|
|
4027
|
+
*
|
|
4028
|
+
* @type {boolean}
|
|
4029
|
+
* @memberof WrappedResponseResultResponseDataData
|
|
4030
|
+
*/
|
|
4031
|
+
'result': boolean;
|
|
4032
|
+
}
|
|
3697
4033
|
/**
|
|
3698
4034
|
*
|
|
3699
4035
|
* @export
|
|
@@ -4138,6 +4474,35 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4138
4474
|
|
|
4139
4475
|
|
|
4140
4476
|
|
|
4477
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4478
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4479
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4480
|
+
|
|
4481
|
+
return {
|
|
4482
|
+
url: toPathString(localVarUrlObj),
|
|
4483
|
+
options: localVarRequestOptions,
|
|
4484
|
+
};
|
|
4485
|
+
},
|
|
4486
|
+
/**
|
|
4487
|
+
*
|
|
4488
|
+
* @param {*} [options] Override http request option.
|
|
4489
|
+
* @throws {RequiredError}
|
|
4490
|
+
*/
|
|
4491
|
+
holidaysIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4492
|
+
const localVarPath = `/holidays`;
|
|
4493
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4494
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4495
|
+
let baseOptions;
|
|
4496
|
+
if (configuration) {
|
|
4497
|
+
baseOptions = configuration.baseOptions;
|
|
4498
|
+
}
|
|
4499
|
+
|
|
4500
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4501
|
+
const localVarHeaderParameter = {} as any;
|
|
4502
|
+
const localVarQueryParameter = {} as any;
|
|
4503
|
+
|
|
4504
|
+
|
|
4505
|
+
|
|
4141
4506
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4142
4507
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4143
4508
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5130,6 +5495,45 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5130
5495
|
options: localVarRequestOptions,
|
|
5131
5496
|
};
|
|
5132
5497
|
},
|
|
5498
|
+
/**
|
|
5499
|
+
*
|
|
5500
|
+
* @param {string} id
|
|
5501
|
+
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
5502
|
+
* @param {*} [options] Override http request option.
|
|
5503
|
+
* @throws {RequiredError}
|
|
5504
|
+
*/
|
|
5505
|
+
visitorSchedulesUpdate: async (id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5506
|
+
// verify required parameter 'id' is not null or undefined
|
|
5507
|
+
assertParamExists('visitorSchedulesUpdate', 'id', id)
|
|
5508
|
+
// verify required parameter 'updateVisitorScheduleBody' is not null or undefined
|
|
5509
|
+
assertParamExists('visitorSchedulesUpdate', 'updateVisitorScheduleBody', updateVisitorScheduleBody)
|
|
5510
|
+
const localVarPath = `/visitor_schedules/{id}`
|
|
5511
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5512
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5513
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5514
|
+
let baseOptions;
|
|
5515
|
+
if (configuration) {
|
|
5516
|
+
baseOptions = configuration.baseOptions;
|
|
5517
|
+
}
|
|
5518
|
+
|
|
5519
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
5520
|
+
const localVarHeaderParameter = {} as any;
|
|
5521
|
+
const localVarQueryParameter = {} as any;
|
|
5522
|
+
|
|
5523
|
+
|
|
5524
|
+
|
|
5525
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5526
|
+
|
|
5527
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5528
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5529
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5530
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateVisitorScheduleBody, localVarRequestOptions, configuration)
|
|
5531
|
+
|
|
5532
|
+
return {
|
|
5533
|
+
url: toPathString(localVarUrlObj),
|
|
5534
|
+
options: localVarRequestOptions,
|
|
5535
|
+
};
|
|
5536
|
+
},
|
|
5133
5537
|
/**
|
|
5134
5538
|
*
|
|
5135
5539
|
* @param {string} [tokenId]
|
|
@@ -5281,7 +5685,7 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
5281
5685
|
* @param {*} [options] Override http request option.
|
|
5282
5686
|
* @throws {RequiredError}
|
|
5283
5687
|
*/
|
|
5284
|
-
async acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
5688
|
+
async acRequestCreate(aCRequestBody: ACRequestBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedOneResponseCreateACRequestResponse>> {
|
|
5285
5689
|
const localVarAxiosArgs = await localVarAxiosParamCreator.acRequestCreate(aCRequestBody, options);
|
|
5286
5690
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5287
5691
|
},
|
|
@@ -5352,6 +5756,15 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
5352
5756
|
const localVarAxiosArgs = await localVarAxiosParamCreator.fetch(options);
|
|
5353
5757
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5354
5758
|
},
|
|
5759
|
+
/**
|
|
5760
|
+
*
|
|
5761
|
+
* @param {*} [options] Override http request option.
|
|
5762
|
+
* @throws {RequiredError}
|
|
5763
|
+
*/
|
|
5764
|
+
async holidaysIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseHolidayResponse>> {
|
|
5765
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.holidaysIndex(options);
|
|
5766
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5767
|
+
},
|
|
5355
5768
|
/**
|
|
5356
5769
|
*
|
|
5357
5770
|
* @param {CreateFSMembersBody} createFSMembersBody
|
|
@@ -5630,6 +6043,17 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
5630
6043
|
const localVarAxiosArgs = await localVarAxiosParamCreator.towersIndex(options);
|
|
5631
6044
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
5632
6045
|
},
|
|
6046
|
+
/**
|
|
6047
|
+
*
|
|
6048
|
+
* @param {string} id
|
|
6049
|
+
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
6050
|
+
* @param {*} [options] Override http request option.
|
|
6051
|
+
* @throws {RequiredError}
|
|
6052
|
+
*/
|
|
6053
|
+
async visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseResultResponseData>> {
|
|
6054
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.visitorSchedulesUpdate(id, updateVisitorScheduleBody, options);
|
|
6055
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6056
|
+
},
|
|
5633
6057
|
/**
|
|
5634
6058
|
*
|
|
5635
6059
|
* @param {string} [tokenId]
|
|
@@ -5686,7 +6110,7 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5686
6110
|
* @param {*} [options] Override http request option.
|
|
5687
6111
|
* @throws {RequiredError}
|
|
5688
6112
|
*/
|
|
5689
|
-
acRequestCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<
|
|
6113
|
+
acRequestCreate(aCRequestBody: ACRequestBody, options?: any): AxiosPromise<WrappedOneResponseCreateACRequestResponse> {
|
|
5690
6114
|
return localVarFp.acRequestCreate(aCRequestBody, options).then((request) => request(axios, basePath));
|
|
5691
6115
|
},
|
|
5692
6116
|
/**
|
|
@@ -5750,6 +6174,14 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
5750
6174
|
fetch(options?: any): AxiosPromise<WrappedResponseFetchParkingResult> {
|
|
5751
6175
|
return localVarFp.fetch(options).then((request) => request(axios, basePath));
|
|
5752
6176
|
},
|
|
6177
|
+
/**
|
|
6178
|
+
*
|
|
6179
|
+
* @param {*} [options] Override http request option.
|
|
6180
|
+
* @throws {RequiredError}
|
|
6181
|
+
*/
|
|
6182
|
+
holidaysIndex(options?: any): AxiosPromise<WrappedArrayResponseHolidayResponse> {
|
|
6183
|
+
return localVarFp.holidaysIndex(options).then((request) => request(axios, basePath));
|
|
6184
|
+
},
|
|
5753
6185
|
/**
|
|
5754
6186
|
*
|
|
5755
6187
|
* @param {CreateFSMembersBody} createFSMembersBody
|
|
@@ -6002,6 +6434,16 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
6002
6434
|
towersIndex(options?: any): AxiosPromise<WrappedResponseTowerIndexResponse> {
|
|
6003
6435
|
return localVarFp.towersIndex(options).then((request) => request(axios, basePath));
|
|
6004
6436
|
},
|
|
6437
|
+
/**
|
|
6438
|
+
*
|
|
6439
|
+
* @param {string} id
|
|
6440
|
+
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
6441
|
+
* @param {*} [options] Override http request option.
|
|
6442
|
+
* @throws {RequiredError}
|
|
6443
|
+
*/
|
|
6444
|
+
visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: any): AxiosPromise<WrappedResponseResultResponseData> {
|
|
6445
|
+
return localVarFp.visitorSchedulesUpdate(id, updateVisitorScheduleBody, options).then((request) => request(axios, basePath));
|
|
6446
|
+
},
|
|
6005
6447
|
/**
|
|
6006
6448
|
*
|
|
6007
6449
|
* @param {string} [tokenId]
|
|
@@ -6132,6 +6574,16 @@ export class DefaultApi extends BaseAPI {
|
|
|
6132
6574
|
return DefaultApiFp(this.configuration).fetch(options).then((request) => request(this.axios, this.basePath));
|
|
6133
6575
|
}
|
|
6134
6576
|
|
|
6577
|
+
/**
|
|
6578
|
+
*
|
|
6579
|
+
* @param {*} [options] Override http request option.
|
|
6580
|
+
* @throws {RequiredError}
|
|
6581
|
+
* @memberof DefaultApi
|
|
6582
|
+
*/
|
|
6583
|
+
public holidaysIndex(options?: AxiosRequestConfig) {
|
|
6584
|
+
return DefaultApiFp(this.configuration).holidaysIndex(options).then((request) => request(this.axios, this.basePath));
|
|
6585
|
+
}
|
|
6586
|
+
|
|
6135
6587
|
/**
|
|
6136
6588
|
*
|
|
6137
6589
|
* @param {CreateFSMembersBody} createFSMembersBody
|
|
@@ -6436,6 +6888,18 @@ export class DefaultApi extends BaseAPI {
|
|
|
6436
6888
|
return DefaultApiFp(this.configuration).towersIndex(options).then((request) => request(this.axios, this.basePath));
|
|
6437
6889
|
}
|
|
6438
6890
|
|
|
6891
|
+
/**
|
|
6892
|
+
*
|
|
6893
|
+
* @param {string} id
|
|
6894
|
+
* @param {UpdateVisitorScheduleBody} updateVisitorScheduleBody
|
|
6895
|
+
* @param {*} [options] Override http request option.
|
|
6896
|
+
* @throws {RequiredError}
|
|
6897
|
+
* @memberof DefaultApi
|
|
6898
|
+
*/
|
|
6899
|
+
public visitorSchedulesUpdate(id: string, updateVisitorScheduleBody: UpdateVisitorScheduleBody, options?: AxiosRequestConfig) {
|
|
6900
|
+
return DefaultApiFp(this.configuration).visitorSchedulesUpdate(id, updateVisitorScheduleBody, options).then((request) => request(this.axios, this.basePath));
|
|
6901
|
+
}
|
|
6902
|
+
|
|
6439
6903
|
/**
|
|
6440
6904
|
*
|
|
6441
6905
|
* @param {string} [tokenId]
|