ob-bms-sdk 0.0.90 → 0.0.93
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 +954 -23
- package/api/base.ts +1 -1
- package/api/common.ts +1 -1
- package/api/configuration.ts +1 -1
- package/api/index.ts +1 -1
- package/dist/api/api.d.ts +686 -13
- package/dist/api/api.js +449 -9
- package/dist/api/base.d.ts +1 -1
- package/dist/api/base.js +1 -1
- package/dist/api/common.d.ts +1 -1
- package/dist/api/common.js +1 -1
- package/dist/api/configuration.d.ts +1 -1
- package/dist/api/configuration.js +1 -1
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.js +1 -1
- package/package.json +1 -1
package/api/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* ob-bms
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.6.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -415,6 +415,21 @@ export interface ACZoneData {
|
|
|
415
415
|
*/
|
|
416
416
|
'updated_at': string;
|
|
417
417
|
}
|
|
418
|
+
/**
|
|
419
|
+
*
|
|
420
|
+
* @export
|
|
421
|
+
* @enum {string}
|
|
422
|
+
*/
|
|
423
|
+
|
|
424
|
+
export const AccessorType = {
|
|
425
|
+
Pass: 'pass',
|
|
426
|
+
Member: 'member',
|
|
427
|
+
Tenant: 'tenant'
|
|
428
|
+
} as const;
|
|
429
|
+
|
|
430
|
+
export type AccessorType = typeof AccessorType[keyof typeof AccessorType];
|
|
431
|
+
|
|
432
|
+
|
|
418
433
|
/**
|
|
419
434
|
*
|
|
420
435
|
* @export
|
|
@@ -616,6 +631,209 @@ export interface AirQualityIndexIndicatorRange {
|
|
|
616
631
|
*/
|
|
617
632
|
'id': string;
|
|
618
633
|
}
|
|
634
|
+
/**
|
|
635
|
+
*
|
|
636
|
+
* @export
|
|
637
|
+
* @interface BuildingAccessLogResult
|
|
638
|
+
*/
|
|
639
|
+
export interface BuildingAccessLogResult {
|
|
640
|
+
/**
|
|
641
|
+
*
|
|
642
|
+
* @type {string}
|
|
643
|
+
* @memberof BuildingAccessLogResult
|
|
644
|
+
*/
|
|
645
|
+
'id': string;
|
|
646
|
+
/**
|
|
647
|
+
*
|
|
648
|
+
* @type {string}
|
|
649
|
+
* @memberof BuildingAccessLogResult
|
|
650
|
+
*/
|
|
651
|
+
'uid': string;
|
|
652
|
+
/**
|
|
653
|
+
*
|
|
654
|
+
* @type {string}
|
|
655
|
+
* @memberof BuildingAccessLogResult
|
|
656
|
+
*/
|
|
657
|
+
'fs_account_id': string;
|
|
658
|
+
/**
|
|
659
|
+
*
|
|
660
|
+
* @type {string}
|
|
661
|
+
* @memberof BuildingAccessLogResult
|
|
662
|
+
*/
|
|
663
|
+
'type': string;
|
|
664
|
+
/**
|
|
665
|
+
*
|
|
666
|
+
* @type {number}
|
|
667
|
+
* @memberof BuildingAccessLogResult
|
|
668
|
+
*/
|
|
669
|
+
'status': number;
|
|
670
|
+
/**
|
|
671
|
+
*
|
|
672
|
+
* @type {string}
|
|
673
|
+
* @memberof BuildingAccessLogResult
|
|
674
|
+
*/
|
|
675
|
+
'transaction_date': string;
|
|
676
|
+
/**
|
|
677
|
+
*
|
|
678
|
+
* @type {string}
|
|
679
|
+
* @memberof BuildingAccessLogResult
|
|
680
|
+
*/
|
|
681
|
+
'turnstile_id': string;
|
|
682
|
+
/**
|
|
683
|
+
*
|
|
684
|
+
* @type {JsonValue}
|
|
685
|
+
* @memberof BuildingAccessLogResult
|
|
686
|
+
*/
|
|
687
|
+
'data': JsonValue | null;
|
|
688
|
+
/**
|
|
689
|
+
*
|
|
690
|
+
* @type {string}
|
|
691
|
+
* @memberof BuildingAccessLogResult
|
|
692
|
+
*/
|
|
693
|
+
'name'?: string | null;
|
|
694
|
+
/**
|
|
695
|
+
*
|
|
696
|
+
* @type {string}
|
|
697
|
+
* @memberof BuildingAccessLogResult
|
|
698
|
+
*/
|
|
699
|
+
'display_status'?: string | null;
|
|
700
|
+
/**
|
|
701
|
+
*
|
|
702
|
+
* @type {string}
|
|
703
|
+
* @memberof BuildingAccessLogResult
|
|
704
|
+
*/
|
|
705
|
+
'display_tower'?: string | null;
|
|
706
|
+
/**
|
|
707
|
+
*
|
|
708
|
+
* @type {string}
|
|
709
|
+
* @memberof BuildingAccessLogResult
|
|
710
|
+
*/
|
|
711
|
+
'display_turnstile'?: string | null;
|
|
712
|
+
/**
|
|
713
|
+
*
|
|
714
|
+
* @type {BuildingAccessLogResultCreatedAt}
|
|
715
|
+
* @memberof BuildingAccessLogResult
|
|
716
|
+
*/
|
|
717
|
+
'created_at': BuildingAccessLogResultCreatedAt;
|
|
718
|
+
/**
|
|
719
|
+
*
|
|
720
|
+
* @type {BuildingAccessLogResultCreatedAt}
|
|
721
|
+
* @memberof BuildingAccessLogResult
|
|
722
|
+
*/
|
|
723
|
+
'updated_at': BuildingAccessLogResultCreatedAt;
|
|
724
|
+
/**
|
|
725
|
+
*
|
|
726
|
+
* @type {RequesterData}
|
|
727
|
+
* @memberof BuildingAccessLogResult
|
|
728
|
+
*/
|
|
729
|
+
'member'?: RequesterData | null;
|
|
730
|
+
/**
|
|
731
|
+
*
|
|
732
|
+
* @type {VisitorResult}
|
|
733
|
+
* @memberof BuildingAccessLogResult
|
|
734
|
+
*/
|
|
735
|
+
'visitor'?: VisitorResult | null;
|
|
736
|
+
}
|
|
737
|
+
/**
|
|
738
|
+
*
|
|
739
|
+
* @export
|
|
740
|
+
* @interface BuildingAccessLogResultCreatedAt
|
|
741
|
+
*/
|
|
742
|
+
export interface BuildingAccessLogResultCreatedAt {
|
|
743
|
+
}
|
|
744
|
+
/**
|
|
745
|
+
*
|
|
746
|
+
* @export
|
|
747
|
+
* @interface BuildingAccessgLogQuery
|
|
748
|
+
*/
|
|
749
|
+
export interface BuildingAccessgLogQuery {
|
|
750
|
+
/**
|
|
751
|
+
*
|
|
752
|
+
* @type {string}
|
|
753
|
+
* @memberof BuildingAccessgLogQuery
|
|
754
|
+
*/
|
|
755
|
+
'order_by'?: string;
|
|
756
|
+
/**
|
|
757
|
+
*
|
|
758
|
+
* @type {string}
|
|
759
|
+
* @memberof BuildingAccessgLogQuery
|
|
760
|
+
*/
|
|
761
|
+
'order_direction'?: string;
|
|
762
|
+
/**
|
|
763
|
+
*
|
|
764
|
+
* @type {number}
|
|
765
|
+
* @memberof BuildingAccessgLogQuery
|
|
766
|
+
*/
|
|
767
|
+
'page_number'?: number;
|
|
768
|
+
/**
|
|
769
|
+
*
|
|
770
|
+
* @type {number}
|
|
771
|
+
* @memberof BuildingAccessgLogQuery
|
|
772
|
+
*/
|
|
773
|
+
'page_size'?: number;
|
|
774
|
+
/**
|
|
775
|
+
*
|
|
776
|
+
* @type {AccessorType}
|
|
777
|
+
* @memberof BuildingAccessgLogQuery
|
|
778
|
+
*/
|
|
779
|
+
'type': AccessorType;
|
|
780
|
+
/**
|
|
781
|
+
*
|
|
782
|
+
* @type {string}
|
|
783
|
+
* @memberof BuildingAccessgLogQuery
|
|
784
|
+
*/
|
|
785
|
+
'name'?: string;
|
|
786
|
+
/**
|
|
787
|
+
*
|
|
788
|
+
* @type {string}
|
|
789
|
+
* @memberof BuildingAccessgLogQuery
|
|
790
|
+
*/
|
|
791
|
+
'display_tower'?: string;
|
|
792
|
+
/**
|
|
793
|
+
*
|
|
794
|
+
* @type {string}
|
|
795
|
+
* @memberof BuildingAccessgLogQuery
|
|
796
|
+
*/
|
|
797
|
+
'company_name'?: string;
|
|
798
|
+
/**
|
|
799
|
+
*
|
|
800
|
+
* @type {string}
|
|
801
|
+
* @memberof BuildingAccessgLogQuery
|
|
802
|
+
*/
|
|
803
|
+
'id'?: string;
|
|
804
|
+
/**
|
|
805
|
+
*
|
|
806
|
+
* @type {string}
|
|
807
|
+
* @memberof BuildingAccessgLogQuery
|
|
808
|
+
*/
|
|
809
|
+
'filter'?: string;
|
|
810
|
+
/**
|
|
811
|
+
*
|
|
812
|
+
* @type {string}
|
|
813
|
+
* @memberof BuildingAccessgLogQuery
|
|
814
|
+
*/
|
|
815
|
+
'building'?: string;
|
|
816
|
+
/**
|
|
817
|
+
*
|
|
818
|
+
* @type {number}
|
|
819
|
+
* @memberof BuildingAccessgLogQuery
|
|
820
|
+
*/
|
|
821
|
+
'status'?: number;
|
|
822
|
+
/**
|
|
823
|
+
*
|
|
824
|
+
* @type {string}
|
|
825
|
+
* @memberof BuildingAccessgLogQuery
|
|
826
|
+
*/
|
|
827
|
+
'startDate'?: string;
|
|
828
|
+
/**
|
|
829
|
+
*
|
|
830
|
+
* @type {string}
|
|
831
|
+
* @memberof BuildingAccessgLogQuery
|
|
832
|
+
*/
|
|
833
|
+
'endDate'?: string;
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
|
|
619
837
|
/**
|
|
620
838
|
*
|
|
621
839
|
* @export
|
|
@@ -958,6 +1176,25 @@ export interface DestroyMembersResponse {
|
|
|
958
1176
|
*/
|
|
959
1177
|
'error': { [key: string]: any; } | null;
|
|
960
1178
|
}
|
|
1179
|
+
/**
|
|
1180
|
+
*
|
|
1181
|
+
* @export
|
|
1182
|
+
* @interface ErrorUpsertHoliday
|
|
1183
|
+
*/
|
|
1184
|
+
export interface ErrorUpsertHoliday {
|
|
1185
|
+
/**
|
|
1186
|
+
*
|
|
1187
|
+
* @type {string}
|
|
1188
|
+
* @memberof ErrorUpsertHoliday
|
|
1189
|
+
*/
|
|
1190
|
+
'date': string;
|
|
1191
|
+
/**
|
|
1192
|
+
*
|
|
1193
|
+
* @type {string}
|
|
1194
|
+
* @memberof ErrorUpsertHoliday
|
|
1195
|
+
*/
|
|
1196
|
+
'error': string;
|
|
1197
|
+
}
|
|
961
1198
|
/**
|
|
962
1199
|
*
|
|
963
1200
|
* @export
|
|
@@ -977,6 +1214,56 @@ export interface FetchParkingResult {
|
|
|
977
1214
|
*/
|
|
978
1215
|
'error': Array<SyncResultSyncJobErrorInner>;
|
|
979
1216
|
}
|
|
1217
|
+
/**
|
|
1218
|
+
*
|
|
1219
|
+
* @export
|
|
1220
|
+
* @interface FindMemberResult
|
|
1221
|
+
*/
|
|
1222
|
+
export interface FindMemberResult {
|
|
1223
|
+
/**
|
|
1224
|
+
*
|
|
1225
|
+
* @type {FindMemberResultUpdatedAt}
|
|
1226
|
+
* @memberof FindMemberResult
|
|
1227
|
+
*/
|
|
1228
|
+
'updated_at': FindMemberResultUpdatedAt;
|
|
1229
|
+
/**
|
|
1230
|
+
*
|
|
1231
|
+
* @type {FindMemberResultUpdatedAt}
|
|
1232
|
+
* @memberof FindMemberResult
|
|
1233
|
+
*/
|
|
1234
|
+
'created_at': FindMemberResultUpdatedAt;
|
|
1235
|
+
/**
|
|
1236
|
+
*
|
|
1237
|
+
* @type {JsonValue}
|
|
1238
|
+
* @memberof FindMemberResult
|
|
1239
|
+
*/
|
|
1240
|
+
'metadata'?: JsonValue | null;
|
|
1241
|
+
/**
|
|
1242
|
+
*
|
|
1243
|
+
* @type {string}
|
|
1244
|
+
* @memberof FindMemberResult
|
|
1245
|
+
*/
|
|
1246
|
+
'account_id'?: string | null;
|
|
1247
|
+
/**
|
|
1248
|
+
*
|
|
1249
|
+
* @type {string}
|
|
1250
|
+
* @memberof FindMemberResult
|
|
1251
|
+
*/
|
|
1252
|
+
'uid': string;
|
|
1253
|
+
/**
|
|
1254
|
+
*
|
|
1255
|
+
* @type {string}
|
|
1256
|
+
* @memberof FindMemberResult
|
|
1257
|
+
*/
|
|
1258
|
+
'id': string;
|
|
1259
|
+
}
|
|
1260
|
+
/**
|
|
1261
|
+
*
|
|
1262
|
+
* @export
|
|
1263
|
+
* @interface FindMemberResultUpdatedAt
|
|
1264
|
+
*/
|
|
1265
|
+
export interface FindMemberResultUpdatedAt {
|
|
1266
|
+
}
|
|
980
1267
|
/**
|
|
981
1268
|
*
|
|
982
1269
|
* @export
|
|
@@ -1094,12 +1381,61 @@ export interface FloorSensorData {
|
|
|
1094
1381
|
*/
|
|
1095
1382
|
'floor_id': string;
|
|
1096
1383
|
}
|
|
1384
|
+
/**
|
|
1385
|
+
*
|
|
1386
|
+
* @export
|
|
1387
|
+
* @interface HolidayRequestBody
|
|
1388
|
+
*/
|
|
1389
|
+
export interface HolidayRequestBody {
|
|
1390
|
+
/**
|
|
1391
|
+
*
|
|
1392
|
+
* @type {string}
|
|
1393
|
+
* @memberof HolidayRequestBody
|
|
1394
|
+
*/
|
|
1395
|
+
'HolidayWeekDay': string;
|
|
1396
|
+
/**
|
|
1397
|
+
*
|
|
1398
|
+
* @type {string}
|
|
1399
|
+
* @memberof HolidayRequestBody
|
|
1400
|
+
*/
|
|
1401
|
+
'HolidayWeekDayThai': string;
|
|
1402
|
+
/**
|
|
1403
|
+
*
|
|
1404
|
+
* @type {string}
|
|
1405
|
+
* @memberof HolidayRequestBody
|
|
1406
|
+
*/
|
|
1407
|
+
'Date': string;
|
|
1408
|
+
/**
|
|
1409
|
+
*
|
|
1410
|
+
* @type {string}
|
|
1411
|
+
* @memberof HolidayRequestBody
|
|
1412
|
+
*/
|
|
1413
|
+
'DateThai': string;
|
|
1414
|
+
/**
|
|
1415
|
+
*
|
|
1416
|
+
* @type {string}
|
|
1417
|
+
* @memberof HolidayRequestBody
|
|
1418
|
+
*/
|
|
1419
|
+
'HolidayDescription': string;
|
|
1420
|
+
/**
|
|
1421
|
+
*
|
|
1422
|
+
* @type {string}
|
|
1423
|
+
* @memberof HolidayRequestBody
|
|
1424
|
+
*/
|
|
1425
|
+
'HolidayDescriptionThai': string;
|
|
1426
|
+
}
|
|
1097
1427
|
/**
|
|
1098
1428
|
*
|
|
1099
1429
|
* @export
|
|
1100
1430
|
* @interface HolidayResponse
|
|
1101
1431
|
*/
|
|
1102
1432
|
export interface HolidayResponse {
|
|
1433
|
+
/**
|
|
1434
|
+
*
|
|
1435
|
+
* @type {string}
|
|
1436
|
+
* @memberof HolidayResponse
|
|
1437
|
+
*/
|
|
1438
|
+
'id': string;
|
|
1103
1439
|
/**
|
|
1104
1440
|
*
|
|
1105
1441
|
* @type {string}
|
|
@@ -3192,17 +3528,30 @@ export interface UpdateMemberResponse {
|
|
|
3192
3528
|
export interface UpdateVisitorScheduleBody {
|
|
3193
3529
|
/**
|
|
3194
3530
|
*
|
|
3195
|
-
* @type {
|
|
3531
|
+
* @type {FindMemberResultUpdatedAt}
|
|
3196
3532
|
* @memberof UpdateVisitorScheduleBody
|
|
3197
3533
|
*/
|
|
3198
|
-
'deleted_at':
|
|
3534
|
+
'deleted_at': FindMemberResultUpdatedAt;
|
|
3535
|
+
}
|
|
3536
|
+
/**
|
|
3537
|
+
*
|
|
3538
|
+
* @export
|
|
3539
|
+
* @interface UpsertHolidayResponse
|
|
3540
|
+
*/
|
|
3541
|
+
export interface UpsertHolidayResponse {
|
|
3542
|
+
/**
|
|
3543
|
+
*
|
|
3544
|
+
* @type {UpsertHolidayResponseResult}
|
|
3545
|
+
* @memberof UpsertHolidayResponse
|
|
3546
|
+
*/
|
|
3547
|
+
'result': UpsertHolidayResponseResult;
|
|
3199
3548
|
}
|
|
3200
3549
|
/**
|
|
3201
3550
|
*
|
|
3202
3551
|
* @export
|
|
3203
|
-
* @interface
|
|
3552
|
+
* @interface UpsertHolidayResponseResult
|
|
3204
3553
|
*/
|
|
3205
|
-
export interface
|
|
3554
|
+
export interface UpsertHolidayResponseResult {
|
|
3206
3555
|
}
|
|
3207
3556
|
/**
|
|
3208
3557
|
*
|
|
@@ -3403,33 +3752,100 @@ export interface VisitorPasses {
|
|
|
3403
3752
|
/**
|
|
3404
3753
|
*
|
|
3405
3754
|
* @export
|
|
3406
|
-
* @interface
|
|
3755
|
+
* @interface VisitorResult
|
|
3407
3756
|
*/
|
|
3408
|
-
export interface
|
|
3757
|
+
export interface VisitorResult {
|
|
3409
3758
|
/**
|
|
3410
3759
|
*
|
|
3411
3760
|
* @type {string}
|
|
3412
|
-
* @memberof
|
|
3761
|
+
* @memberof VisitorResult
|
|
3413
3762
|
*/
|
|
3414
|
-
'
|
|
3763
|
+
'updated_at': string;
|
|
3415
3764
|
/**
|
|
3416
3765
|
*
|
|
3417
3766
|
* @type {string}
|
|
3418
|
-
* @memberof
|
|
3767
|
+
* @memberof VisitorResult
|
|
3419
3768
|
*/
|
|
3420
|
-
'
|
|
3769
|
+
'created_at': string;
|
|
3421
3770
|
/**
|
|
3422
3771
|
*
|
|
3423
|
-
* @type {
|
|
3424
|
-
* @memberof
|
|
3772
|
+
* @type {string}
|
|
3773
|
+
* @memberof VisitorResult
|
|
3425
3774
|
*/
|
|
3426
|
-
'
|
|
3775
|
+
'inviter_id': string;
|
|
3427
3776
|
/**
|
|
3428
3777
|
*
|
|
3429
|
-
* @type {
|
|
3778
|
+
* @type {string}
|
|
3779
|
+
* @memberof VisitorResult
|
|
3780
|
+
*/
|
|
3781
|
+
'reference': string;
|
|
3782
|
+
/**
|
|
3783
|
+
*
|
|
3784
|
+
* @type {string}
|
|
3785
|
+
* @memberof VisitorResult
|
|
3786
|
+
*/
|
|
3787
|
+
'company_name': string;
|
|
3788
|
+
/**
|
|
3789
|
+
*
|
|
3790
|
+
* @type {string}
|
|
3791
|
+
* @memberof VisitorResult
|
|
3792
|
+
*/
|
|
3793
|
+
'email': string;
|
|
3794
|
+
/**
|
|
3795
|
+
*
|
|
3796
|
+
* @type {string}
|
|
3797
|
+
* @memberof VisitorResult
|
|
3798
|
+
*/
|
|
3799
|
+
'profile_image_url': string | null;
|
|
3800
|
+
/**
|
|
3801
|
+
*
|
|
3802
|
+
* @type {string}
|
|
3803
|
+
* @memberof VisitorResult
|
|
3804
|
+
*/
|
|
3805
|
+
'name': string;
|
|
3806
|
+
/**
|
|
3807
|
+
*
|
|
3808
|
+
* @type {string}
|
|
3809
|
+
* @memberof VisitorResult
|
|
3810
|
+
*/
|
|
3811
|
+
'id': string;
|
|
3812
|
+
/**
|
|
3813
|
+
*
|
|
3814
|
+
* @type {FindMemberResult}
|
|
3815
|
+
* @memberof VisitorResult
|
|
3816
|
+
*/
|
|
3817
|
+
'inviter': FindMemberResult;
|
|
3818
|
+
}
|
|
3819
|
+
/**
|
|
3820
|
+
*
|
|
3821
|
+
* @export
|
|
3822
|
+
* @interface VisitorSchedule
|
|
3823
|
+
*/
|
|
3824
|
+
export interface VisitorSchedule {
|
|
3825
|
+
/**
|
|
3826
|
+
*
|
|
3827
|
+
* @type {string}
|
|
3828
|
+
* @memberof VisitorSchedule
|
|
3829
|
+
*/
|
|
3830
|
+
'tower_id': string;
|
|
3831
|
+
/**
|
|
3832
|
+
*
|
|
3833
|
+
* @type {string}
|
|
3834
|
+
* @memberof VisitorSchedule
|
|
3835
|
+
*/
|
|
3836
|
+
'floor_id': string;
|
|
3837
|
+
/**
|
|
3838
|
+
*
|
|
3839
|
+
* @type {FindMemberResultUpdatedAt}
|
|
3430
3840
|
* @memberof VisitorSchedule
|
|
3431
3841
|
*/
|
|
3432
|
-
'
|
|
3842
|
+
'from': FindMemberResultUpdatedAt;
|
|
3843
|
+
/**
|
|
3844
|
+
*
|
|
3845
|
+
* @type {FindMemberResultUpdatedAt}
|
|
3846
|
+
* @memberof VisitorSchedule
|
|
3847
|
+
*/
|
|
3848
|
+
'to': FindMemberResultUpdatedAt;
|
|
3433
3849
|
/**
|
|
3434
3850
|
*
|
|
3435
3851
|
* @type {object}
|
|
@@ -3679,6 +4095,19 @@ export interface WrappedArrayResponseACZoneData {
|
|
|
3679
4095
|
*/
|
|
3680
4096
|
'data': Array<ACZoneData>;
|
|
3681
4097
|
}
|
|
4098
|
+
/**
|
|
4099
|
+
*
|
|
4100
|
+
* @export
|
|
4101
|
+
* @interface WrappedArrayResponseBuildingAccessLogResult
|
|
4102
|
+
*/
|
|
4103
|
+
export interface WrappedArrayResponseBuildingAccessLogResult {
|
|
4104
|
+
/**
|
|
4105
|
+
*
|
|
4106
|
+
* @type {Array<BuildingAccessLogResult>}
|
|
4107
|
+
* @memberof WrappedArrayResponseBuildingAccessLogResult
|
|
4108
|
+
*/
|
|
4109
|
+
'data': Array<BuildingAccessLogResult>;
|
|
4110
|
+
}
|
|
3682
4111
|
/**
|
|
3683
4112
|
*
|
|
3684
4113
|
* @export
|
|
@@ -4483,6 +4912,32 @@ export interface WrappedResponseUpdateMemberResponseData {
|
|
|
4483
4912
|
*/
|
|
4484
4913
|
'result': boolean | null;
|
|
4485
4914
|
}
|
|
4915
|
+
/**
|
|
4916
|
+
*
|
|
4917
|
+
* @export
|
|
4918
|
+
* @interface WrappedResponseUpsertHolidayResponse
|
|
4919
|
+
*/
|
|
4920
|
+
export interface WrappedResponseUpsertHolidayResponse {
|
|
4921
|
+
/**
|
|
4922
|
+
*
|
|
4923
|
+
* @type {WrappedResponseUpsertHolidayResponseData}
|
|
4924
|
+
* @memberof WrappedResponseUpsertHolidayResponse
|
|
4925
|
+
*/
|
|
4926
|
+
'data': WrappedResponseUpsertHolidayResponseData | null;
|
|
4927
|
+
}
|
|
4928
|
+
/**
|
|
4929
|
+
*
|
|
4930
|
+
* @export
|
|
4931
|
+
* @interface WrappedResponseUpsertHolidayResponseData
|
|
4932
|
+
*/
|
|
4933
|
+
export interface WrappedResponseUpsertHolidayResponseData {
|
|
4934
|
+
/**
|
|
4935
|
+
*
|
|
4936
|
+
* @type {UpsertHolidayResponseResult}
|
|
4937
|
+
* @memberof WrappedResponseUpsertHolidayResponseData
|
|
4938
|
+
*/
|
|
4939
|
+
'result': UpsertHolidayResponseResult;
|
|
4940
|
+
}
|
|
4486
4941
|
/**
|
|
4487
4942
|
*
|
|
4488
4943
|
* @export
|
|
@@ -4710,6 +5165,241 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4710
5165
|
|
|
4711
5166
|
|
|
4712
5167
|
|
|
5168
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5169
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5170
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5171
|
+
|
|
5172
|
+
return {
|
|
5173
|
+
url: toPathString(localVarUrlObj),
|
|
5174
|
+
options: localVarRequestOptions,
|
|
5175
|
+
};
|
|
5176
|
+
},
|
|
5177
|
+
/**
|
|
5178
|
+
*
|
|
5179
|
+
* @param {*} [options] Override http request option.
|
|
5180
|
+
* @throws {RequiredError}
|
|
5181
|
+
*/
|
|
5182
|
+
autoSync: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5183
|
+
const localVarPath = `/integrations/fs/job/auto_sync`;
|
|
5184
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5185
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5186
|
+
let baseOptions;
|
|
5187
|
+
if (configuration) {
|
|
5188
|
+
baseOptions = configuration.baseOptions;
|
|
5189
|
+
}
|
|
5190
|
+
|
|
5191
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
5192
|
+
const localVarHeaderParameter = {} as any;
|
|
5193
|
+
const localVarQueryParameter = {} as any;
|
|
5194
|
+
|
|
5195
|
+
|
|
5196
|
+
|
|
5197
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5198
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5199
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5200
|
+
|
|
5201
|
+
return {
|
|
5202
|
+
url: toPathString(localVarUrlObj),
|
|
5203
|
+
options: localVarRequestOptions,
|
|
5204
|
+
};
|
|
5205
|
+
},
|
|
5206
|
+
/**
|
|
5207
|
+
*
|
|
5208
|
+
* @param {AccessorType} type
|
|
5209
|
+
* @param {string} [orderBy]
|
|
5210
|
+
* @param {string} [orderDirection]
|
|
5211
|
+
* @param {number} [pageNumber]
|
|
5212
|
+
* @param {number} [pageSize]
|
|
5213
|
+
* @param {string} [name]
|
|
5214
|
+
* @param {string} [displayTower]
|
|
5215
|
+
* @param {string} [companyName]
|
|
5216
|
+
* @param {string} [id]
|
|
5217
|
+
* @param {string} [filter]
|
|
5218
|
+
* @param {string} [building]
|
|
5219
|
+
* @param {number} [status]
|
|
5220
|
+
* @param {string} [startDate]
|
|
5221
|
+
* @param {string} [endDate]
|
|
5222
|
+
* @param {*} [options] Override http request option.
|
|
5223
|
+
* @throws {RequiredError}
|
|
5224
|
+
*/
|
|
5225
|
+
buildingAccessLogsIndex: async (type: AccessorType, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, name?: string, displayTower?: string, companyName?: string, id?: string, filter?: string, building?: string, status?: number, startDate?: string, endDate?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5226
|
+
// verify required parameter 'type' is not null or undefined
|
|
5227
|
+
assertParamExists('buildingAccessLogsIndex', 'type', type)
|
|
5228
|
+
const localVarPath = `/building_access`;
|
|
5229
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5230
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5231
|
+
let baseOptions;
|
|
5232
|
+
if (configuration) {
|
|
5233
|
+
baseOptions = configuration.baseOptions;
|
|
5234
|
+
}
|
|
5235
|
+
|
|
5236
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5237
|
+
const localVarHeaderParameter = {} as any;
|
|
5238
|
+
const localVarQueryParameter = {} as any;
|
|
5239
|
+
|
|
5240
|
+
if (orderBy !== undefined) {
|
|
5241
|
+
localVarQueryParameter['order_by'] = orderBy;
|
|
5242
|
+
}
|
|
5243
|
+
|
|
5244
|
+
if (orderDirection !== undefined) {
|
|
5245
|
+
localVarQueryParameter['order_direction'] = orderDirection;
|
|
5246
|
+
}
|
|
5247
|
+
|
|
5248
|
+
if (pageNumber !== undefined) {
|
|
5249
|
+
localVarQueryParameter['page_number'] = pageNumber;
|
|
5250
|
+
}
|
|
5251
|
+
|
|
5252
|
+
if (pageSize !== undefined) {
|
|
5253
|
+
localVarQueryParameter['page_size'] = pageSize;
|
|
5254
|
+
}
|
|
5255
|
+
|
|
5256
|
+
if (type !== undefined) {
|
|
5257
|
+
localVarQueryParameter['type'] = type;
|
|
5258
|
+
}
|
|
5259
|
+
|
|
5260
|
+
if (name !== undefined) {
|
|
5261
|
+
localVarQueryParameter['name'] = name;
|
|
5262
|
+
}
|
|
5263
|
+
|
|
5264
|
+
if (displayTower !== undefined) {
|
|
5265
|
+
localVarQueryParameter['display_tower'] = displayTower;
|
|
5266
|
+
}
|
|
5267
|
+
|
|
5268
|
+
if (companyName !== undefined) {
|
|
5269
|
+
localVarQueryParameter['company_name'] = companyName;
|
|
5270
|
+
}
|
|
5271
|
+
|
|
5272
|
+
if (id !== undefined) {
|
|
5273
|
+
localVarQueryParameter['id'] = id;
|
|
5274
|
+
}
|
|
5275
|
+
|
|
5276
|
+
if (filter !== undefined) {
|
|
5277
|
+
localVarQueryParameter['filter'] = filter;
|
|
5278
|
+
}
|
|
5279
|
+
|
|
5280
|
+
if (building !== undefined) {
|
|
5281
|
+
localVarQueryParameter['building'] = building;
|
|
5282
|
+
}
|
|
5283
|
+
|
|
5284
|
+
if (status !== undefined) {
|
|
5285
|
+
localVarQueryParameter['status'] = status;
|
|
5286
|
+
}
|
|
5287
|
+
|
|
5288
|
+
if (startDate !== undefined) {
|
|
5289
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
5290
|
+
}
|
|
5291
|
+
|
|
5292
|
+
if (endDate !== undefined) {
|
|
5293
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
5294
|
+
}
|
|
5295
|
+
|
|
5296
|
+
|
|
5297
|
+
|
|
5298
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5299
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5300
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5301
|
+
|
|
5302
|
+
return {
|
|
5303
|
+
url: toPathString(localVarUrlObj),
|
|
5304
|
+
options: localVarRequestOptions,
|
|
5305
|
+
};
|
|
5306
|
+
},
|
|
5307
|
+
/**
|
|
5308
|
+
*
|
|
5309
|
+
* @param {string} id
|
|
5310
|
+
* @param {AccessorType} type
|
|
5311
|
+
* @param {string} [orderBy]
|
|
5312
|
+
* @param {string} [orderDirection]
|
|
5313
|
+
* @param {number} [pageNumber]
|
|
5314
|
+
* @param {number} [pageSize]
|
|
5315
|
+
* @param {string} [name]
|
|
5316
|
+
* @param {string} [displayTower]
|
|
5317
|
+
* @param {string} [companyName]
|
|
5318
|
+
* @param {string} [id2]
|
|
5319
|
+
* @param {string} [filter]
|
|
5320
|
+
* @param {string} [building]
|
|
5321
|
+
* @param {number} [status]
|
|
5322
|
+
* @param {string} [startDate]
|
|
5323
|
+
* @param {string} [endDate]
|
|
5324
|
+
* @param {*} [options] Override http request option.
|
|
5325
|
+
* @throws {RequiredError}
|
|
5326
|
+
*/
|
|
5327
|
+
buildingAccessLogsShow: async (id: string, type: AccessorType, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, name?: string, displayTower?: string, companyName?: string, id2?: string, filter?: string, building?: string, status?: number, startDate?: string, endDate?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5328
|
+
// verify required parameter 'id' is not null or undefined
|
|
5329
|
+
assertParamExists('buildingAccessLogsShow', 'id', id)
|
|
5330
|
+
// verify required parameter 'type' is not null or undefined
|
|
5331
|
+
assertParamExists('buildingAccessLogsShow', 'type', type)
|
|
5332
|
+
const localVarPath = `/building_access/{id}`
|
|
5333
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
5334
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5335
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5336
|
+
let baseOptions;
|
|
5337
|
+
if (configuration) {
|
|
5338
|
+
baseOptions = configuration.baseOptions;
|
|
5339
|
+
}
|
|
5340
|
+
|
|
5341
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5342
|
+
const localVarHeaderParameter = {} as any;
|
|
5343
|
+
const localVarQueryParameter = {} as any;
|
|
5344
|
+
|
|
5345
|
+
if (orderBy !== undefined) {
|
|
5346
|
+
localVarQueryParameter['order_by'] = orderBy;
|
|
5347
|
+
}
|
|
5348
|
+
|
|
5349
|
+
if (orderDirection !== undefined) {
|
|
5350
|
+
localVarQueryParameter['order_direction'] = orderDirection;
|
|
5351
|
+
}
|
|
5352
|
+
|
|
5353
|
+
if (pageNumber !== undefined) {
|
|
5354
|
+
localVarQueryParameter['page_number'] = pageNumber;
|
|
5355
|
+
}
|
|
5356
|
+
|
|
5357
|
+
if (pageSize !== undefined) {
|
|
5358
|
+
localVarQueryParameter['page_size'] = pageSize;
|
|
5359
|
+
}
|
|
5360
|
+
|
|
5361
|
+
if (type !== undefined) {
|
|
5362
|
+
localVarQueryParameter['type'] = type;
|
|
5363
|
+
}
|
|
5364
|
+
|
|
5365
|
+
if (name !== undefined) {
|
|
5366
|
+
localVarQueryParameter['name'] = name;
|
|
5367
|
+
}
|
|
5368
|
+
|
|
5369
|
+
if (displayTower !== undefined) {
|
|
5370
|
+
localVarQueryParameter['display_tower'] = displayTower;
|
|
5371
|
+
}
|
|
5372
|
+
|
|
5373
|
+
if (companyName !== undefined) {
|
|
5374
|
+
localVarQueryParameter['company_name'] = companyName;
|
|
5375
|
+
}
|
|
5376
|
+
|
|
5377
|
+
if (id2 !== undefined) {
|
|
5378
|
+
localVarQueryParameter['id'] = id2;
|
|
5379
|
+
}
|
|
5380
|
+
|
|
5381
|
+
if (filter !== undefined) {
|
|
5382
|
+
localVarQueryParameter['filter'] = filter;
|
|
5383
|
+
}
|
|
5384
|
+
|
|
5385
|
+
if (building !== undefined) {
|
|
5386
|
+
localVarQueryParameter['building'] = building;
|
|
5387
|
+
}
|
|
5388
|
+
|
|
5389
|
+
if (status !== undefined) {
|
|
5390
|
+
localVarQueryParameter['status'] = status;
|
|
5391
|
+
}
|
|
5392
|
+
|
|
5393
|
+
if (startDate !== undefined) {
|
|
5394
|
+
localVarQueryParameter['startDate'] = startDate;
|
|
5395
|
+
}
|
|
5396
|
+
|
|
5397
|
+
if (endDate !== undefined) {
|
|
5398
|
+
localVarQueryParameter['endDate'] = endDate;
|
|
5399
|
+
}
|
|
5400
|
+
|
|
5401
|
+
|
|
5402
|
+
|
|
4713
5403
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4714
5404
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4715
5405
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4814,10 +5504,46 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4814
5504
|
},
|
|
4815
5505
|
/**
|
|
4816
5506
|
*
|
|
5507
|
+
* @param {Array<HolidayRequestBody>} holidayRequestBody
|
|
4817
5508
|
* @param {*} [options] Override http request option.
|
|
4818
5509
|
* @throws {RequiredError}
|
|
4819
5510
|
*/
|
|
4820
|
-
|
|
5511
|
+
holidaysCreate: async (holidayRequestBody: Array<HolidayRequestBody>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5512
|
+
// verify required parameter 'holidayRequestBody' is not null or undefined
|
|
5513
|
+
assertParamExists('holidaysCreate', 'holidayRequestBody', holidayRequestBody)
|
|
5514
|
+
const localVarPath = `/holidays`;
|
|
5515
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5516
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5517
|
+
let baseOptions;
|
|
5518
|
+
if (configuration) {
|
|
5519
|
+
baseOptions = configuration.baseOptions;
|
|
5520
|
+
}
|
|
5521
|
+
|
|
5522
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
5523
|
+
const localVarHeaderParameter = {} as any;
|
|
5524
|
+
const localVarQueryParameter = {} as any;
|
|
5525
|
+
|
|
5526
|
+
|
|
5527
|
+
|
|
5528
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5529
|
+
|
|
5530
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5531
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5532
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5533
|
+
localVarRequestOptions.data = serializeDataIfNeeded(holidayRequestBody, localVarRequestOptions, configuration)
|
|
5534
|
+
|
|
5535
|
+
return {
|
|
5536
|
+
url: toPathString(localVarUrlObj),
|
|
5537
|
+
options: localVarRequestOptions,
|
|
5538
|
+
};
|
|
5539
|
+
},
|
|
5540
|
+
/**
|
|
5541
|
+
*
|
|
5542
|
+
* @param {string} [date]
|
|
5543
|
+
* @param {*} [options] Override http request option.
|
|
5544
|
+
* @throws {RequiredError}
|
|
5545
|
+
*/
|
|
5546
|
+
holidaysGetHolidayWithMinDate: async (date?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4821
5547
|
const localVarPath = `/holidays`;
|
|
4822
5548
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4823
5549
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4830,6 +5556,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4830
5556
|
const localVarHeaderParameter = {} as any;
|
|
4831
5557
|
const localVarQueryParameter = {} as any;
|
|
4832
5558
|
|
|
5559
|
+
if (date !== undefined) {
|
|
5560
|
+
localVarQueryParameter['date'] = date;
|
|
5561
|
+
}
|
|
5562
|
+
|
|
4833
5563
|
|
|
4834
5564
|
|
|
4835
5565
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -6071,6 +6801,62 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
6071
6801
|
const localVarAxiosArgs = await localVarAxiosParamCreator.acZonesShow(floorId, options);
|
|
6072
6802
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6073
6803
|
},
|
|
6804
|
+
/**
|
|
6805
|
+
*
|
|
6806
|
+
* @param {*} [options] Override http request option.
|
|
6807
|
+
* @throws {RequiredError}
|
|
6808
|
+
*/
|
|
6809
|
+
async autoSync(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncResponse>> {
|
|
6810
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.autoSync(options);
|
|
6811
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6812
|
+
},
|
|
6813
|
+
/**
|
|
6814
|
+
*
|
|
6815
|
+
* @param {AccessorType} type
|
|
6816
|
+
* @param {string} [orderBy]
|
|
6817
|
+
* @param {string} [orderDirection]
|
|
6818
|
+
* @param {number} [pageNumber]
|
|
6819
|
+
* @param {number} [pageSize]
|
|
6820
|
+
* @param {string} [name]
|
|
6821
|
+
* @param {string} [displayTower]
|
|
6822
|
+
* @param {string} [companyName]
|
|
6823
|
+
* @param {string} [id]
|
|
6824
|
+
* @param {string} [filter]
|
|
6825
|
+
* @param {string} [building]
|
|
6826
|
+
* @param {number} [status]
|
|
6827
|
+
* @param {string} [startDate]
|
|
6828
|
+
* @param {string} [endDate]
|
|
6829
|
+
* @param {*} [options] Override http request option.
|
|
6830
|
+
* @throws {RequiredError}
|
|
6831
|
+
*/
|
|
6832
|
+
async buildingAccessLogsIndex(type: AccessorType, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, name?: string, displayTower?: string, companyName?: string, id?: string, filter?: string, building?: string, status?: number, startDate?: string, endDate?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseBuildingAccessLogResult>> {
|
|
6833
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.buildingAccessLogsIndex(type, orderBy, orderDirection, pageNumber, pageSize, name, displayTower, companyName, id, filter, building, status, startDate, endDate, options);
|
|
6834
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6835
|
+
},
|
|
6836
|
+
/**
|
|
6837
|
+
*
|
|
6838
|
+
* @param {string} id
|
|
6839
|
+
* @param {AccessorType} type
|
|
6840
|
+
* @param {string} [orderBy]
|
|
6841
|
+
* @param {string} [orderDirection]
|
|
6842
|
+
* @param {number} [pageNumber]
|
|
6843
|
+
* @param {number} [pageSize]
|
|
6844
|
+
* @param {string} [name]
|
|
6845
|
+
* @param {string} [displayTower]
|
|
6846
|
+
* @param {string} [companyName]
|
|
6847
|
+
* @param {string} [id2]
|
|
6848
|
+
* @param {string} [filter]
|
|
6849
|
+
* @param {string} [building]
|
|
6850
|
+
* @param {number} [status]
|
|
6851
|
+
* @param {string} [startDate]
|
|
6852
|
+
* @param {string} [endDate]
|
|
6853
|
+
* @param {*} [options] Override http request option.
|
|
6854
|
+
* @throws {RequiredError}
|
|
6855
|
+
*/
|
|
6856
|
+
async buildingAccessLogsShow(id: string, type: AccessorType, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, name?: string, displayTower?: string, companyName?: string, id2?: string, filter?: string, building?: string, status?: number, startDate?: string, endDate?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseBuildingAccessLogResult>> {
|
|
6857
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.buildingAccessLogsShow(id, type, orderBy, orderDirection, pageNumber, pageSize, name, displayTower, companyName, id2, filter, building, status, startDate, endDate, options);
|
|
6858
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6859
|
+
},
|
|
6074
6860
|
/**
|
|
6075
6861
|
*
|
|
6076
6862
|
* @param {WebhookCreateBody} webhookCreateBody
|
|
@@ -6101,11 +6887,22 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
6101
6887
|
},
|
|
6102
6888
|
/**
|
|
6103
6889
|
*
|
|
6890
|
+
* @param {Array<HolidayRequestBody>} holidayRequestBody
|
|
6104
6891
|
* @param {*} [options] Override http request option.
|
|
6105
6892
|
* @throws {RequiredError}
|
|
6106
6893
|
*/
|
|
6107
|
-
async
|
|
6108
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
6894
|
+
async holidaysCreate(holidayRequestBody: Array<HolidayRequestBody>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseUpsertHolidayResponse>> {
|
|
6895
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.holidaysCreate(holidayRequestBody, options);
|
|
6896
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6897
|
+
},
|
|
6898
|
+
/**
|
|
6899
|
+
*
|
|
6900
|
+
* @param {string} [date]
|
|
6901
|
+
* @param {*} [options] Override http request option.
|
|
6902
|
+
* @throws {RequiredError}
|
|
6903
|
+
*/
|
|
6904
|
+
async holidaysGetHolidayWithMinDate(date?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseHolidayResponse>> {
|
|
6905
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.holidaysGetHolidayWithMinDate(date, options);
|
|
6109
6906
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
6110
6907
|
},
|
|
6111
6908
|
/**
|
|
@@ -6501,6 +7298,59 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
6501
7298
|
acZonesShow(floorId: string, options?: any): AxiosPromise<WrappedArrayResponseACZoneData> {
|
|
6502
7299
|
return localVarFp.acZonesShow(floorId, options).then((request) => request(axios, basePath));
|
|
6503
7300
|
},
|
|
7301
|
+
/**
|
|
7302
|
+
*
|
|
7303
|
+
* @param {*} [options] Override http request option.
|
|
7304
|
+
* @throws {RequiredError}
|
|
7305
|
+
*/
|
|
7306
|
+
autoSync(options?: any): AxiosPromise<SyncResponse> {
|
|
7307
|
+
return localVarFp.autoSync(options).then((request) => request(axios, basePath));
|
|
7308
|
+
},
|
|
7309
|
+
/**
|
|
7310
|
+
*
|
|
7311
|
+
* @param {AccessorType} type
|
|
7312
|
+
* @param {string} [orderBy]
|
|
7313
|
+
* @param {string} [orderDirection]
|
|
7314
|
+
* @param {number} [pageNumber]
|
|
7315
|
+
* @param {number} [pageSize]
|
|
7316
|
+
* @param {string} [name]
|
|
7317
|
+
* @param {string} [displayTower]
|
|
7318
|
+
* @param {string} [companyName]
|
|
7319
|
+
* @param {string} [id]
|
|
7320
|
+
* @param {string} [filter]
|
|
7321
|
+
* @param {string} [building]
|
|
7322
|
+
* @param {number} [status]
|
|
7323
|
+
* @param {string} [startDate]
|
|
7324
|
+
* @param {string} [endDate]
|
|
7325
|
+
* @param {*} [options] Override http request option.
|
|
7326
|
+
* @throws {RequiredError}
|
|
7327
|
+
*/
|
|
7328
|
+
buildingAccessLogsIndex(type: AccessorType, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, name?: string, displayTower?: string, companyName?: string, id?: string, filter?: string, building?: string, status?: number, startDate?: string, endDate?: string, options?: any): AxiosPromise<WrappedArrayResponseBuildingAccessLogResult> {
|
|
7329
|
+
return localVarFp.buildingAccessLogsIndex(type, orderBy, orderDirection, pageNumber, pageSize, name, displayTower, companyName, id, filter, building, status, startDate, endDate, options).then((request) => request(axios, basePath));
|
|
7330
|
+
},
|
|
7331
|
+
/**
|
|
7332
|
+
*
|
|
7333
|
+
* @param {string} id
|
|
7334
|
+
* @param {AccessorType} type
|
|
7335
|
+
* @param {string} [orderBy]
|
|
7336
|
+
* @param {string} [orderDirection]
|
|
7337
|
+
* @param {number} [pageNumber]
|
|
7338
|
+
* @param {number} [pageSize]
|
|
7339
|
+
* @param {string} [name]
|
|
7340
|
+
* @param {string} [displayTower]
|
|
7341
|
+
* @param {string} [companyName]
|
|
7342
|
+
* @param {string} [id2]
|
|
7343
|
+
* @param {string} [filter]
|
|
7344
|
+
* @param {string} [building]
|
|
7345
|
+
* @param {number} [status]
|
|
7346
|
+
* @param {string} [startDate]
|
|
7347
|
+
* @param {string} [endDate]
|
|
7348
|
+
* @param {*} [options] Override http request option.
|
|
7349
|
+
* @throws {RequiredError}
|
|
7350
|
+
*/
|
|
7351
|
+
buildingAccessLogsShow(id: string, type: AccessorType, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, name?: string, displayTower?: string, companyName?: string, id2?: string, filter?: string, building?: string, status?: number, startDate?: string, endDate?: string, options?: any): AxiosPromise<WrappedArrayResponseBuildingAccessLogResult> {
|
|
7352
|
+
return localVarFp.buildingAccessLogsShow(id, type, orderBy, orderDirection, pageNumber, pageSize, name, displayTower, companyName, id2, filter, building, status, startDate, endDate, options).then((request) => request(axios, basePath));
|
|
7353
|
+
},
|
|
6504
7354
|
/**
|
|
6505
7355
|
*
|
|
6506
7356
|
* @param {WebhookCreateBody} webhookCreateBody
|
|
@@ -6528,11 +7378,21 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
6528
7378
|
},
|
|
6529
7379
|
/**
|
|
6530
7380
|
*
|
|
7381
|
+
* @param {Array<HolidayRequestBody>} holidayRequestBody
|
|
6531
7382
|
* @param {*} [options] Override http request option.
|
|
6532
7383
|
* @throws {RequiredError}
|
|
6533
7384
|
*/
|
|
6534
|
-
|
|
6535
|
-
return localVarFp.
|
|
7385
|
+
holidaysCreate(holidayRequestBody: Array<HolidayRequestBody>, options?: any): AxiosPromise<WrappedResponseUpsertHolidayResponse> {
|
|
7386
|
+
return localVarFp.holidaysCreate(holidayRequestBody, options).then((request) => request(axios, basePath));
|
|
7387
|
+
},
|
|
7388
|
+
/**
|
|
7389
|
+
*
|
|
7390
|
+
* @param {string} [date]
|
|
7391
|
+
* @param {*} [options] Override http request option.
|
|
7392
|
+
* @throws {RequiredError}
|
|
7393
|
+
*/
|
|
7394
|
+
holidaysGetHolidayWithMinDate(date?: string, options?: any): AxiosPromise<WrappedArrayResponseHolidayResponse> {
|
|
7395
|
+
return localVarFp.holidaysGetHolidayWithMinDate(date, options).then((request) => request(axios, basePath));
|
|
6536
7396
|
},
|
|
6537
7397
|
/**
|
|
6538
7398
|
*
|
|
@@ -6906,6 +7766,65 @@ export class DefaultApi extends BaseAPI {
|
|
|
6906
7766
|
return DefaultApiFp(this.configuration).acZonesShow(floorId, options).then((request) => request(this.axios, this.basePath));
|
|
6907
7767
|
}
|
|
6908
7768
|
|
|
7769
|
+
/**
|
|
7770
|
+
*
|
|
7771
|
+
* @param {*} [options] Override http request option.
|
|
7772
|
+
* @throws {RequiredError}
|
|
7773
|
+
* @memberof DefaultApi
|
|
7774
|
+
*/
|
|
7775
|
+
public autoSync(options?: AxiosRequestConfig) {
|
|
7776
|
+
return DefaultApiFp(this.configuration).autoSync(options).then((request) => request(this.axios, this.basePath));
|
|
7777
|
+
}
|
|
7778
|
+
|
|
7779
|
+
/**
|
|
7780
|
+
*
|
|
7781
|
+
* @param {AccessorType} type
|
|
7782
|
+
* @param {string} [orderBy]
|
|
7783
|
+
* @param {string} [orderDirection]
|
|
7784
|
+
* @param {number} [pageNumber]
|
|
7785
|
+
* @param {number} [pageSize]
|
|
7786
|
+
* @param {string} [name]
|
|
7787
|
+
* @param {string} [displayTower]
|
|
7788
|
+
* @param {string} [companyName]
|
|
7789
|
+
* @param {string} [id]
|
|
7790
|
+
* @param {string} [filter]
|
|
7791
|
+
* @param {string} [building]
|
|
7792
|
+
* @param {number} [status]
|
|
7793
|
+
* @param {string} [startDate]
|
|
7794
|
+
* @param {string} [endDate]
|
|
7795
|
+
* @param {*} [options] Override http request option.
|
|
7796
|
+
* @throws {RequiredError}
|
|
7797
|
+
* @memberof DefaultApi
|
|
7798
|
+
*/
|
|
7799
|
+
public buildingAccessLogsIndex(type: AccessorType, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, name?: string, displayTower?: string, companyName?: string, id?: string, filter?: string, building?: string, status?: number, startDate?: string, endDate?: string, options?: AxiosRequestConfig) {
|
|
7800
|
+
return DefaultApiFp(this.configuration).buildingAccessLogsIndex(type, orderBy, orderDirection, pageNumber, pageSize, name, displayTower, companyName, id, filter, building, status, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
7801
|
+
}
|
|
7802
|
+
|
|
7803
|
+
/**
|
|
7804
|
+
*
|
|
7805
|
+
* @param {string} id
|
|
7806
|
+
* @param {AccessorType} type
|
|
7807
|
+
* @param {string} [orderBy]
|
|
7808
|
+
* @param {string} [orderDirection]
|
|
7809
|
+
* @param {number} [pageNumber]
|
|
7810
|
+
* @param {number} [pageSize]
|
|
7811
|
+
* @param {string} [name]
|
|
7812
|
+
* @param {string} [displayTower]
|
|
7813
|
+
* @param {string} [companyName]
|
|
7814
|
+
* @param {string} [id2]
|
|
7815
|
+
* @param {string} [filter]
|
|
7816
|
+
* @param {string} [building]
|
|
7817
|
+
* @param {number} [status]
|
|
7818
|
+
* @param {string} [startDate]
|
|
7819
|
+
* @param {string} [endDate]
|
|
7820
|
+
* @param {*} [options] Override http request option.
|
|
7821
|
+
* @throws {RequiredError}
|
|
7822
|
+
* @memberof DefaultApi
|
|
7823
|
+
*/
|
|
7824
|
+
public buildingAccessLogsShow(id: string, type: AccessorType, orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, name?: string, displayTower?: string, companyName?: string, id2?: string, filter?: string, building?: string, status?: number, startDate?: string, endDate?: string, options?: AxiosRequestConfig) {
|
|
7825
|
+
return DefaultApiFp(this.configuration).buildingAccessLogsShow(id, type, orderBy, orderDirection, pageNumber, pageSize, name, displayTower, companyName, id2, filter, building, status, startDate, endDate, options).then((request) => request(this.axios, this.basePath));
|
|
7826
|
+
}
|
|
7827
|
+
|
|
6909
7828
|
/**
|
|
6910
7829
|
*
|
|
6911
7830
|
* @param {WebhookCreateBody} webhookCreateBody
|
|
@@ -6939,12 +7858,24 @@ export class DefaultApi extends BaseAPI {
|
|
|
6939
7858
|
|
|
6940
7859
|
/**
|
|
6941
7860
|
*
|
|
7861
|
+
* @param {Array<HolidayRequestBody>} holidayRequestBody
|
|
7862
|
+
* @param {*} [options] Override http request option.
|
|
7863
|
+
* @throws {RequiredError}
|
|
7864
|
+
* @memberof DefaultApi
|
|
7865
|
+
*/
|
|
7866
|
+
public holidaysCreate(holidayRequestBody: Array<HolidayRequestBody>, options?: AxiosRequestConfig) {
|
|
7867
|
+
return DefaultApiFp(this.configuration).holidaysCreate(holidayRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
7868
|
+
}
|
|
7869
|
+
|
|
7870
|
+
/**
|
|
7871
|
+
*
|
|
7872
|
+
* @param {string} [date]
|
|
6942
7873
|
* @param {*} [options] Override http request option.
|
|
6943
7874
|
* @throws {RequiredError}
|
|
6944
7875
|
* @memberof DefaultApi
|
|
6945
7876
|
*/
|
|
6946
|
-
public
|
|
6947
|
-
return DefaultApiFp(this.configuration).
|
|
7877
|
+
public holidaysGetHolidayWithMinDate(date?: string, options?: AxiosRequestConfig) {
|
|
7878
|
+
return DefaultApiFp(this.configuration).holidaysGetHolidayWithMinDate(date, options).then((request) => request(this.axios, this.basePath));
|
|
6948
7879
|
}
|
|
6949
7880
|
|
|
6950
7881
|
/**
|