ob-bms-sdk 0.0.91 → 0.0.94

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 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.5.0
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 {MemberDataResult}
727
+ * @memberof BuildingAccessLogResult
728
+ */
729
+ 'member'?: MemberDataResult | 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,49 @@ 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 {TenantMemberResultCreatedAt}
1226
+ * @memberof FindMemberResult
1227
+ */
1228
+ 'updated_at': TenantMemberResultCreatedAt;
1229
+ /**
1230
+ *
1231
+ * @type {TenantMemberResultCreatedAt}
1232
+ * @memberof FindMemberResult
1233
+ */
1234
+ 'created_at': TenantMemberResultCreatedAt;
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
+ }
980
1260
  /**
981
1261
  *
982
1262
  * @export
@@ -1094,12 +1374,61 @@ export interface FloorSensorData {
1094
1374
  */
1095
1375
  'floor_id': string;
1096
1376
  }
1377
+ /**
1378
+ *
1379
+ * @export
1380
+ * @interface HolidayRequestBody
1381
+ */
1382
+ export interface HolidayRequestBody {
1383
+ /**
1384
+ *
1385
+ * @type {string}
1386
+ * @memberof HolidayRequestBody
1387
+ */
1388
+ 'HolidayWeekDay': string;
1389
+ /**
1390
+ *
1391
+ * @type {string}
1392
+ * @memberof HolidayRequestBody
1393
+ */
1394
+ 'HolidayWeekDayThai': string;
1395
+ /**
1396
+ *
1397
+ * @type {string}
1398
+ * @memberof HolidayRequestBody
1399
+ */
1400
+ 'Date': string;
1401
+ /**
1402
+ *
1403
+ * @type {string}
1404
+ * @memberof HolidayRequestBody
1405
+ */
1406
+ 'DateThai': string;
1407
+ /**
1408
+ *
1409
+ * @type {string}
1410
+ * @memberof HolidayRequestBody
1411
+ */
1412
+ 'HolidayDescription': string;
1413
+ /**
1414
+ *
1415
+ * @type {string}
1416
+ * @memberof HolidayRequestBody
1417
+ */
1418
+ 'HolidayDescriptionThai': string;
1419
+ }
1097
1420
  /**
1098
1421
  *
1099
1422
  * @export
1100
1423
  * @interface HolidayResponse
1101
1424
  */
1102
1425
  export interface HolidayResponse {
1426
+ /**
1427
+ *
1428
+ * @type {string}
1429
+ * @memberof HolidayResponse
1430
+ */
1431
+ 'id': string;
1103
1432
  /**
1104
1433
  *
1105
1434
  * @type {string}
@@ -1437,51 +1766,100 @@ export interface MemberAccessLog {
1437
1766
  /**
1438
1767
  *
1439
1768
  * @export
1440
- * @interface MemberIndexInterface
1769
+ * @interface MemberDataResult
1441
1770
  */
1442
- export interface MemberIndexInterface {
1771
+ export interface MemberDataResult {
1443
1772
  /**
1444
1773
  *
1445
1774
  * @type {string}
1446
- * @memberof MemberIndexInterface
1775
+ * @memberof MemberDataResult
1447
1776
  */
1448
- 'id'?: string;
1777
+ 'id': string;
1449
1778
  /**
1450
1779
  *
1451
1780
  * @type {string}
1452
- * @memberof MemberIndexInterface
1453
- */
1454
- 'uid'?: string;
1455
- /**
1456
- *
1457
- * @type {PrismaJsonValue}
1458
- * @memberof MemberIndexInterface
1781
+ * @memberof MemberDataResult
1459
1782
  */
1460
- 'metadata'?: PrismaJsonValue | null;
1783
+ 'uid': string;
1461
1784
  /**
1462
1785
  *
1463
1786
  * @type {string}
1464
- * @memberof MemberIndexInterface
1787
+ * @memberof MemberDataResult
1465
1788
  */
1466
1789
  'account_id'?: string | null;
1467
1790
  /**
1468
1791
  *
1469
- * @type {string}
1470
- * @memberof MemberIndexInterface
1792
+ * @type {JsonValue}
1793
+ * @memberof MemberDataResult
1471
1794
  */
1472
- 'created_at'?: string;
1795
+ 'metadata'?: JsonValue | null;
1473
1796
  /**
1474
1797
  *
1475
1798
  * @type {string}
1476
- * @memberof MemberIndexInterface
1799
+ * @memberof MemberDataResult
1477
1800
  */
1478
- 'updated_at'?: string;
1801
+ 'created_at': string;
1479
1802
  /**
1480
1803
  *
1481
1804
  * @type {string}
1482
- * @memberof MemberIndexInterface
1805
+ * @memberof MemberDataResult
1483
1806
  */
1484
- 'default_floor'?: string | null;
1807
+ 'updated_at': string;
1808
+ /**
1809
+ *
1810
+ * @type {Array<TenantMemberResult>}
1811
+ * @memberof MemberDataResult
1812
+ */
1813
+ 'tenant_members'?: Array<TenantMemberResult>;
1814
+ }
1815
+ /**
1816
+ *
1817
+ * @export
1818
+ * @interface MemberIndexInterface
1819
+ */
1820
+ export interface MemberIndexInterface {
1821
+ /**
1822
+ *
1823
+ * @type {string}
1824
+ * @memberof MemberIndexInterface
1825
+ */
1826
+ 'id'?: string;
1827
+ /**
1828
+ *
1829
+ * @type {string}
1830
+ * @memberof MemberIndexInterface
1831
+ */
1832
+ 'uid'?: string;
1833
+ /**
1834
+ *
1835
+ * @type {PrismaJsonValue}
1836
+ * @memberof MemberIndexInterface
1837
+ */
1838
+ 'metadata'?: PrismaJsonValue | null;
1839
+ /**
1840
+ *
1841
+ * @type {string}
1842
+ * @memberof MemberIndexInterface
1843
+ */
1844
+ 'account_id'?: string | null;
1845
+ /**
1846
+ *
1847
+ * @type {string}
1848
+ * @memberof MemberIndexInterface
1849
+ */
1850
+ 'created_at'?: string;
1851
+ /**
1852
+ *
1853
+ * @type {string}
1854
+ * @memberof MemberIndexInterface
1855
+ */
1856
+ 'updated_at'?: string;
1857
+ /**
1858
+ *
1859
+ * @type {string}
1860
+ * @memberof MemberIndexInterface
1861
+ */
1862
+ 'default_floor'?: string | null;
1485
1863
  /**
1486
1864
  *
1487
1865
  * @type {boolean}
@@ -3060,6 +3438,84 @@ export interface TenantData {
3060
3438
  */
3061
3439
  'id': string;
3062
3440
  }
3441
+ /**
3442
+ *
3443
+ * @export
3444
+ * @interface TenantMemberResult
3445
+ */
3446
+ export interface TenantMemberResult {
3447
+ /**
3448
+ *
3449
+ * @type {string}
3450
+ * @memberof TenantMemberResult
3451
+ */
3452
+ 'id': string;
3453
+ /**
3454
+ *
3455
+ * @type {string}
3456
+ * @memberof TenantMemberResult
3457
+ */
3458
+ 'tenant_id': string;
3459
+ /**
3460
+ *
3461
+ * @type {string}
3462
+ * @memberof TenantMemberResult
3463
+ */
3464
+ 'member_id': string;
3465
+ /**
3466
+ *
3467
+ * @type {TenantMemberRole}
3468
+ * @memberof TenantMemberResult
3469
+ */
3470
+ 'role': TenantMemberRole;
3471
+ /**
3472
+ *
3473
+ * @type {PrismaJsonValue}
3474
+ * @memberof TenantMemberResult
3475
+ */
3476
+ 'setting': PrismaJsonValue | null;
3477
+ /**
3478
+ *
3479
+ * @type {TenantMemberResultCreatedAt}
3480
+ * @memberof TenantMemberResult
3481
+ */
3482
+ 'created_at': TenantMemberResultCreatedAt;
3483
+ /**
3484
+ *
3485
+ * @type {TenantMemberResultCreatedAt}
3486
+ * @memberof TenantMemberResult
3487
+ */
3488
+ 'updated_at': TenantMemberResultCreatedAt;
3489
+ /**
3490
+ *
3491
+ * @type {Array<TenantData>}
3492
+ * @memberof TenantMemberResult
3493
+ */
3494
+ 'tenant': Array<TenantData>;
3495
+ }
3496
+
3497
+
3498
+ /**
3499
+ *
3500
+ * @export
3501
+ * @interface TenantMemberResultCreatedAt
3502
+ */
3503
+ export interface TenantMemberResultCreatedAt {
3504
+ }
3505
+ /**
3506
+ *
3507
+ * @export
3508
+ * @enum {string}
3509
+ */
3510
+
3511
+ export const TenantMemberRole = {
3512
+ Manager: 'manager',
3513
+ Staff: 'staff'
3514
+ } as const;
3515
+
3516
+ export type TenantMemberRole = typeof TenantMemberRole[keyof typeof TenantMemberRole];
3517
+
3518
+
3063
3519
  /**
3064
3520
  *
3065
3521
  * @export
@@ -3192,17 +3648,30 @@ export interface UpdateMemberResponse {
3192
3648
  export interface UpdateVisitorScheduleBody {
3193
3649
  /**
3194
3650
  *
3195
- * @type {UpdateVisitorScheduleBodyDeletedAt}
3651
+ * @type {TenantMemberResultCreatedAt}
3196
3652
  * @memberof UpdateVisitorScheduleBody
3197
3653
  */
3198
- 'deleted_at': UpdateVisitorScheduleBodyDeletedAt;
3654
+ 'deleted_at': TenantMemberResultCreatedAt;
3655
+ }
3656
+ /**
3657
+ *
3658
+ * @export
3659
+ * @interface UpsertHolidayResponse
3660
+ */
3661
+ export interface UpsertHolidayResponse {
3662
+ /**
3663
+ *
3664
+ * @type {UpsertHolidayResponseResult}
3665
+ * @memberof UpsertHolidayResponse
3666
+ */
3667
+ 'result': UpsertHolidayResponseResult;
3199
3668
  }
3200
3669
  /**
3201
3670
  *
3202
3671
  * @export
3203
- * @interface UpdateVisitorScheduleBodyDeletedAt
3672
+ * @interface UpsertHolidayResponseResult
3204
3673
  */
3205
- export interface UpdateVisitorScheduleBodyDeletedAt {
3674
+ export interface UpsertHolidayResponseResult {
3206
3675
  }
3207
3676
  /**
3208
3677
  *
@@ -3400,6 +3869,73 @@ export interface VisitorPasses {
3400
3869
  */
3401
3870
  'updated_at': string;
3402
3871
  }
3872
+ /**
3873
+ *
3874
+ * @export
3875
+ * @interface VisitorResult
3876
+ */
3877
+ export interface VisitorResult {
3878
+ /**
3879
+ *
3880
+ * @type {string}
3881
+ * @memberof VisitorResult
3882
+ */
3883
+ 'updated_at': string;
3884
+ /**
3885
+ *
3886
+ * @type {string}
3887
+ * @memberof VisitorResult
3888
+ */
3889
+ 'created_at': string;
3890
+ /**
3891
+ *
3892
+ * @type {string}
3893
+ * @memberof VisitorResult
3894
+ */
3895
+ 'inviter_id': string;
3896
+ /**
3897
+ *
3898
+ * @type {string}
3899
+ * @memberof VisitorResult
3900
+ */
3901
+ 'reference': string;
3902
+ /**
3903
+ *
3904
+ * @type {string}
3905
+ * @memberof VisitorResult
3906
+ */
3907
+ 'company_name': string;
3908
+ /**
3909
+ *
3910
+ * @type {string}
3911
+ * @memberof VisitorResult
3912
+ */
3913
+ 'email': string;
3914
+ /**
3915
+ *
3916
+ * @type {string}
3917
+ * @memberof VisitorResult
3918
+ */
3919
+ 'profile_image_url': string | null;
3920
+ /**
3921
+ *
3922
+ * @type {string}
3923
+ * @memberof VisitorResult
3924
+ */
3925
+ 'name': string;
3926
+ /**
3927
+ *
3928
+ * @type {string}
3929
+ * @memberof VisitorResult
3930
+ */
3931
+ 'id': string;
3932
+ /**
3933
+ *
3934
+ * @type {FindMemberResult}
3935
+ * @memberof VisitorResult
3936
+ */
3937
+ 'inviter': FindMemberResult;
3938
+ }
3403
3939
  /**
3404
3940
  *
3405
3941
  * @export
@@ -3420,16 +3956,16 @@ export interface VisitorSchedule {
3420
3956
  'floor_id': string;
3421
3957
  /**
3422
3958
  *
3423
- * @type {UpdateVisitorScheduleBodyDeletedAt}
3959
+ * @type {TenantMemberResultCreatedAt}
3424
3960
  * @memberof VisitorSchedule
3425
3961
  */
3426
- 'from': UpdateVisitorScheduleBodyDeletedAt;
3962
+ 'from': TenantMemberResultCreatedAt;
3427
3963
  /**
3428
3964
  *
3429
- * @type {UpdateVisitorScheduleBodyDeletedAt}
3965
+ * @type {TenantMemberResultCreatedAt}
3430
3966
  * @memberof VisitorSchedule
3431
3967
  */
3432
- 'to': UpdateVisitorScheduleBodyDeletedAt;
3968
+ 'to': TenantMemberResultCreatedAt;
3433
3969
  /**
3434
3970
  *
3435
3971
  * @type {object}
@@ -3679,6 +4215,19 @@ export interface WrappedArrayResponseACZoneData {
3679
4215
  */
3680
4216
  'data': Array<ACZoneData>;
3681
4217
  }
4218
+ /**
4219
+ *
4220
+ * @export
4221
+ * @interface WrappedArrayResponseBuildingAccessLogResult
4222
+ */
4223
+ export interface WrappedArrayResponseBuildingAccessLogResult {
4224
+ /**
4225
+ *
4226
+ * @type {Array<BuildingAccessLogResult>}
4227
+ * @memberof WrappedArrayResponseBuildingAccessLogResult
4228
+ */
4229
+ 'data': Array<BuildingAccessLogResult>;
4230
+ }
3682
4231
  /**
3683
4232
  *
3684
4233
  * @export
@@ -4483,6 +5032,32 @@ export interface WrappedResponseUpdateMemberResponseData {
4483
5032
  */
4484
5033
  'result': boolean | null;
4485
5034
  }
5035
+ /**
5036
+ *
5037
+ * @export
5038
+ * @interface WrappedResponseUpsertHolidayResponse
5039
+ */
5040
+ export interface WrappedResponseUpsertHolidayResponse {
5041
+ /**
5042
+ *
5043
+ * @type {WrappedResponseUpsertHolidayResponseData}
5044
+ * @memberof WrappedResponseUpsertHolidayResponse
5045
+ */
5046
+ 'data': WrappedResponseUpsertHolidayResponseData | null;
5047
+ }
5048
+ /**
5049
+ *
5050
+ * @export
5051
+ * @interface WrappedResponseUpsertHolidayResponseData
5052
+ */
5053
+ export interface WrappedResponseUpsertHolidayResponseData {
5054
+ /**
5055
+ *
5056
+ * @type {UpsertHolidayResponseResult}
5057
+ * @memberof WrappedResponseUpsertHolidayResponseData
5058
+ */
5059
+ 'result': UpsertHolidayResponseResult;
5060
+ }
4486
5061
  /**
4487
5062
  *
4488
5063
  * @export
@@ -4532,13 +5107,317 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4532
5107
  const localVarQueryParameter = {} as any;
4533
5108
 
4534
5109
 
4535
-
4536
- localVarHeaderParameter['Content-Type'] = 'application/json';
5110
+
5111
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5112
+
5113
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5114
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5115
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5116
+ localVarRequestOptions.data = serializeDataIfNeeded(aCRequestBody, localVarRequestOptions, configuration)
5117
+
5118
+ return {
5119
+ url: toPathString(localVarUrlObj),
5120
+ options: localVarRequestOptions,
5121
+ };
5122
+ },
5123
+ /**
5124
+ *
5125
+ * @param {string} [orderBy]
5126
+ * @param {string} [orderDirection]
5127
+ * @param {number} [pageNumber]
5128
+ * @param {number} [pageSize]
5129
+ * @param {string} [toGte]
5130
+ * @param {string} [toLte]
5131
+ * @param {ACRequestStatus} [status]
5132
+ * @param {string} [requesterId]
5133
+ * @param {*} [options] Override http request option.
5134
+ * @throws {RequiredError}
5135
+ */
5136
+ acRequestIndex: async (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, toGte?: string, toLte?: string, status?: ACRequestStatus, requesterId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5137
+ const localVarPath = `/ac_request`;
5138
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5139
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5140
+ let baseOptions;
5141
+ if (configuration) {
5142
+ baseOptions = configuration.baseOptions;
5143
+ }
5144
+
5145
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5146
+ const localVarHeaderParameter = {} as any;
5147
+ const localVarQueryParameter = {} as any;
5148
+
5149
+ if (orderBy !== undefined) {
5150
+ localVarQueryParameter['order_by'] = orderBy;
5151
+ }
5152
+
5153
+ if (orderDirection !== undefined) {
5154
+ localVarQueryParameter['order_direction'] = orderDirection;
5155
+ }
5156
+
5157
+ if (pageNumber !== undefined) {
5158
+ localVarQueryParameter['page_number'] = pageNumber;
5159
+ }
5160
+
5161
+ if (pageSize !== undefined) {
5162
+ localVarQueryParameter['page_size'] = pageSize;
5163
+ }
5164
+
5165
+ if (toGte !== undefined) {
5166
+ localVarQueryParameter['to.gte'] = toGte;
5167
+ }
5168
+
5169
+ if (toLte !== undefined) {
5170
+ localVarQueryParameter['to.lte'] = toLte;
5171
+ }
5172
+
5173
+ if (status !== undefined) {
5174
+ localVarQueryParameter['status'] = status;
5175
+ }
5176
+
5177
+ if (requesterId !== undefined) {
5178
+ localVarQueryParameter['requester_id'] = requesterId;
5179
+ }
5180
+
5181
+
5182
+
5183
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5184
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5185
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5186
+
5187
+ return {
5188
+ url: toPathString(localVarUrlObj),
5189
+ options: localVarRequestOptions,
5190
+ };
5191
+ },
5192
+ /**
5193
+ *
5194
+ * @param {string} id
5195
+ * @param {*} [options] Override http request option.
5196
+ * @throws {RequiredError}
5197
+ */
5198
+ acRequestShow: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5199
+ // verify required parameter 'id' is not null or undefined
5200
+ assertParamExists('acRequestShow', 'id', id)
5201
+ const localVarPath = `/ac_request/{id}`
5202
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5203
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5204
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5205
+ let baseOptions;
5206
+ if (configuration) {
5207
+ baseOptions = configuration.baseOptions;
5208
+ }
5209
+
5210
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5211
+ const localVarHeaderParameter = {} as any;
5212
+ const localVarQueryParameter = {} as any;
5213
+
5214
+
5215
+
5216
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5217
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5218
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5219
+
5220
+ return {
5221
+ url: toPathString(localVarUrlObj),
5222
+ options: localVarRequestOptions,
5223
+ };
5224
+ },
5225
+ /**
5226
+ *
5227
+ * @param {string} id
5228
+ * @param {ACRequestUpdateBody} aCRequestUpdateBody
5229
+ * @param {*} [options] Override http request option.
5230
+ * @throws {RequiredError}
5231
+ */
5232
+ acRequestUpdate: async (id: string, aCRequestUpdateBody: ACRequestUpdateBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5233
+ // verify required parameter 'id' is not null or undefined
5234
+ assertParamExists('acRequestUpdate', 'id', id)
5235
+ // verify required parameter 'aCRequestUpdateBody' is not null or undefined
5236
+ assertParamExists('acRequestUpdate', 'aCRequestUpdateBody', aCRequestUpdateBody)
5237
+ const localVarPath = `/ac_request/{id}`
5238
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5239
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5240
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5241
+ let baseOptions;
5242
+ if (configuration) {
5243
+ baseOptions = configuration.baseOptions;
5244
+ }
5245
+
5246
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
5247
+ const localVarHeaderParameter = {} as any;
5248
+ const localVarQueryParameter = {} as any;
5249
+
5250
+
5251
+
5252
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5253
+
5254
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5255
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5256
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5257
+ localVarRequestOptions.data = serializeDataIfNeeded(aCRequestUpdateBody, localVarRequestOptions, configuration)
5258
+
5259
+ return {
5260
+ url: toPathString(localVarUrlObj),
5261
+ options: localVarRequestOptions,
5262
+ };
5263
+ },
5264
+ /**
5265
+ *
5266
+ * @param {string} floorId
5267
+ * @param {*} [options] Override http request option.
5268
+ * @throws {RequiredError}
5269
+ */
5270
+ acZonesShow: async (floorId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5271
+ // verify required parameter 'floorId' is not null or undefined
5272
+ assertParamExists('acZonesShow', 'floorId', floorId)
5273
+ const localVarPath = `/ac_zones/{floor_id}`
5274
+ .replace(`{${"floor_id"}}`, encodeURIComponent(String(floorId)));
5275
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5276
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5277
+ let baseOptions;
5278
+ if (configuration) {
5279
+ baseOptions = configuration.baseOptions;
5280
+ }
5281
+
5282
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5283
+ const localVarHeaderParameter = {} as any;
5284
+ const localVarQueryParameter = {} as any;
5285
+
5286
+
5287
+
5288
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5289
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5290
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5291
+
5292
+ return {
5293
+ url: toPathString(localVarUrlObj),
5294
+ options: localVarRequestOptions,
5295
+ };
5296
+ },
5297
+ /**
5298
+ *
5299
+ * @param {*} [options] Override http request option.
5300
+ * @throws {RequiredError}
5301
+ */
5302
+ autoSync: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5303
+ const localVarPath = `/integrations/fs/job/auto_sync`;
5304
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5305
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5306
+ let baseOptions;
5307
+ if (configuration) {
5308
+ baseOptions = configuration.baseOptions;
5309
+ }
5310
+
5311
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5312
+ const localVarHeaderParameter = {} as any;
5313
+ const localVarQueryParameter = {} as any;
5314
+
5315
+
5316
+
5317
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5318
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5319
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5320
+
5321
+ return {
5322
+ url: toPathString(localVarUrlObj),
5323
+ options: localVarRequestOptions,
5324
+ };
5325
+ },
5326
+ /**
5327
+ *
5328
+ * @param {AccessorType} type
5329
+ * @param {string} [orderBy]
5330
+ * @param {string} [orderDirection]
5331
+ * @param {number} [pageNumber]
5332
+ * @param {number} [pageSize]
5333
+ * @param {string} [name]
5334
+ * @param {string} [displayTower]
5335
+ * @param {string} [companyName]
5336
+ * @param {string} [id]
5337
+ * @param {string} [filter]
5338
+ * @param {string} [building]
5339
+ * @param {number} [status]
5340
+ * @param {string} [startDate]
5341
+ * @param {string} [endDate]
5342
+ * @param {*} [options] Override http request option.
5343
+ * @throws {RequiredError}
5344
+ */
5345
+ 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> => {
5346
+ // verify required parameter 'type' is not null or undefined
5347
+ assertParamExists('buildingAccessLogsIndex', 'type', type)
5348
+ const localVarPath = `/building_access`;
5349
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5350
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5351
+ let baseOptions;
5352
+ if (configuration) {
5353
+ baseOptions = configuration.baseOptions;
5354
+ }
5355
+
5356
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5357
+ const localVarHeaderParameter = {} as any;
5358
+ const localVarQueryParameter = {} as any;
5359
+
5360
+ if (orderBy !== undefined) {
5361
+ localVarQueryParameter['order_by'] = orderBy;
5362
+ }
5363
+
5364
+ if (orderDirection !== undefined) {
5365
+ localVarQueryParameter['order_direction'] = orderDirection;
5366
+ }
5367
+
5368
+ if (pageNumber !== undefined) {
5369
+ localVarQueryParameter['page_number'] = pageNumber;
5370
+ }
5371
+
5372
+ if (pageSize !== undefined) {
5373
+ localVarQueryParameter['page_size'] = pageSize;
5374
+ }
5375
+
5376
+ if (type !== undefined) {
5377
+ localVarQueryParameter['type'] = type;
5378
+ }
5379
+
5380
+ if (name !== undefined) {
5381
+ localVarQueryParameter['name'] = name;
5382
+ }
5383
+
5384
+ if (displayTower !== undefined) {
5385
+ localVarQueryParameter['display_tower'] = displayTower;
5386
+ }
5387
+
5388
+ if (companyName !== undefined) {
5389
+ localVarQueryParameter['company_name'] = companyName;
5390
+ }
5391
+
5392
+ if (id !== undefined) {
5393
+ localVarQueryParameter['id'] = id;
5394
+ }
5395
+
5396
+ if (filter !== undefined) {
5397
+ localVarQueryParameter['filter'] = filter;
5398
+ }
5399
+
5400
+ if (building !== undefined) {
5401
+ localVarQueryParameter['building'] = building;
5402
+ }
5403
+
5404
+ if (status !== undefined) {
5405
+ localVarQueryParameter['status'] = status;
5406
+ }
5407
+
5408
+ if (startDate !== undefined) {
5409
+ localVarQueryParameter['startDate'] = startDate;
5410
+ }
5411
+
5412
+ if (endDate !== undefined) {
5413
+ localVarQueryParameter['endDate'] = endDate;
5414
+ }
5415
+
4537
5416
 
5417
+
4538
5418
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4539
5419
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4540
5420
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4541
- localVarRequestOptions.data = serializeDataIfNeeded(aCRequestBody, localVarRequestOptions, configuration)
4542
5421
 
4543
5422
  return {
4544
5423
  url: toPathString(localVarUrlObj),
@@ -4547,19 +5426,31 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4547
5426
  },
4548
5427
  /**
4549
5428
  *
5429
+ * @param {string} id
5430
+ * @param {AccessorType} type
4550
5431
  * @param {string} [orderBy]
4551
5432
  * @param {string} [orderDirection]
4552
5433
  * @param {number} [pageNumber]
4553
5434
  * @param {number} [pageSize]
4554
- * @param {string} [toGte]
4555
- * @param {string} [toLte]
4556
- * @param {ACRequestStatus} [status]
4557
- * @param {string} [requesterId]
5435
+ * @param {string} [name]
5436
+ * @param {string} [displayTower]
5437
+ * @param {string} [companyName]
5438
+ * @param {string} [id2]
5439
+ * @param {string} [filter]
5440
+ * @param {string} [building]
5441
+ * @param {number} [status]
5442
+ * @param {string} [startDate]
5443
+ * @param {string} [endDate]
4558
5444
  * @param {*} [options] Override http request option.
4559
5445
  * @throws {RequiredError}
4560
5446
  */
4561
- acRequestIndex: async (orderBy?: string, orderDirection?: string, pageNumber?: number, pageSize?: number, toGte?: string, toLte?: string, status?: ACRequestStatus, requesterId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4562
- const localVarPath = `/ac_request`;
5447
+ 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> => {
5448
+ // verify required parameter 'id' is not null or undefined
5449
+ assertParamExists('buildingAccessLogsShow', 'id', id)
5450
+ // verify required parameter 'type' is not null or undefined
5451
+ assertParamExists('buildingAccessLogsShow', 'type', type)
5452
+ const localVarPath = `/building_access/{id}`
5453
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4563
5454
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4564
5455
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4565
5456
  let baseOptions;
@@ -4587,99 +5478,51 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4587
5478
  localVarQueryParameter['page_size'] = pageSize;
4588
5479
  }
4589
5480
 
4590
- if (toGte !== undefined) {
4591
- localVarQueryParameter['to.gte'] = toGte;
5481
+ if (type !== undefined) {
5482
+ localVarQueryParameter['type'] = type;
4592
5483
  }
4593
5484
 
4594
- if (toLte !== undefined) {
4595
- localVarQueryParameter['to.lte'] = toLte;
5485
+ if (name !== undefined) {
5486
+ localVarQueryParameter['name'] = name;
4596
5487
  }
4597
5488
 
4598
- if (status !== undefined) {
4599
- localVarQueryParameter['status'] = status;
5489
+ if (displayTower !== undefined) {
5490
+ localVarQueryParameter['display_tower'] = displayTower;
4600
5491
  }
4601
5492
 
4602
- if (requesterId !== undefined) {
4603
- localVarQueryParameter['requester_id'] = requesterId;
5493
+ if (companyName !== undefined) {
5494
+ localVarQueryParameter['company_name'] = companyName;
4604
5495
  }
4605
5496
 
4606
-
4607
-
4608
- setSearchParams(localVarUrlObj, localVarQueryParameter);
4609
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4610
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4611
-
4612
- return {
4613
- url: toPathString(localVarUrlObj),
4614
- options: localVarRequestOptions,
4615
- };
4616
- },
4617
- /**
4618
- *
4619
- * @param {string} id
4620
- * @param {*} [options] Override http request option.
4621
- * @throws {RequiredError}
4622
- */
4623
- acRequestShow: async (id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4624
- // verify required parameter 'id' is not null or undefined
4625
- assertParamExists('acRequestShow', 'id', id)
4626
- const localVarPath = `/ac_request/{id}`
4627
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4628
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4629
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4630
- let baseOptions;
4631
- if (configuration) {
4632
- baseOptions = configuration.baseOptions;
5497
+ if (id2 !== undefined) {
5498
+ localVarQueryParameter['id'] = id2;
4633
5499
  }
4634
5500
 
4635
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4636
- const localVarHeaderParameter = {} as any;
4637
- const localVarQueryParameter = {} as any;
5501
+ if (filter !== undefined) {
5502
+ localVarQueryParameter['filter'] = filter;
5503
+ }
4638
5504
 
5505
+ if (building !== undefined) {
5506
+ localVarQueryParameter['building'] = building;
5507
+ }
4639
5508
 
4640
-
4641
- setSearchParams(localVarUrlObj, localVarQueryParameter);
4642
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4643
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5509
+ if (status !== undefined) {
5510
+ localVarQueryParameter['status'] = status;
5511
+ }
4644
5512
 
4645
- return {
4646
- url: toPathString(localVarUrlObj),
4647
- options: localVarRequestOptions,
4648
- };
4649
- },
4650
- /**
4651
- *
4652
- * @param {string} id
4653
- * @param {ACRequestUpdateBody} aCRequestUpdateBody
4654
- * @param {*} [options] Override http request option.
4655
- * @throws {RequiredError}
4656
- */
4657
- acRequestUpdate: async (id: string, aCRequestUpdateBody: ACRequestUpdateBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4658
- // verify required parameter 'id' is not null or undefined
4659
- assertParamExists('acRequestUpdate', 'id', id)
4660
- // verify required parameter 'aCRequestUpdateBody' is not null or undefined
4661
- assertParamExists('acRequestUpdate', 'aCRequestUpdateBody', aCRequestUpdateBody)
4662
- const localVarPath = `/ac_request/{id}`
4663
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4664
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4665
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4666
- let baseOptions;
4667
- if (configuration) {
4668
- baseOptions = configuration.baseOptions;
5513
+ if (startDate !== undefined) {
5514
+ localVarQueryParameter['startDate'] = startDate;
4669
5515
  }
4670
5516
 
4671
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
4672
- const localVarHeaderParameter = {} as any;
4673
- const localVarQueryParameter = {} as any;
5517
+ if (endDate !== undefined) {
5518
+ localVarQueryParameter['endDate'] = endDate;
5519
+ }
4674
5520
 
4675
5521
 
4676
5522
 
4677
- localVarHeaderParameter['Content-Type'] = 'application/json';
4678
-
4679
5523
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4680
5524
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4681
5525
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4682
- localVarRequestOptions.data = serializeDataIfNeeded(aCRequestUpdateBody, localVarRequestOptions, configuration)
4683
5526
 
4684
5527
  return {
4685
5528
  url: toPathString(localVarUrlObj),
@@ -4688,15 +5531,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4688
5531
  },
4689
5532
  /**
4690
5533
  *
4691
- * @param {string} floorId
5534
+ * @param {WebhookCreateBody} webhookCreateBody
4692
5535
  * @param {*} [options] Override http request option.
4693
5536
  * @throws {RequiredError}
4694
5537
  */
4695
- acZonesShow: async (floorId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4696
- // verify required parameter 'floorId' is not null or undefined
4697
- assertParamExists('acZonesShow', 'floorId', floorId)
4698
- const localVarPath = `/ac_zones/{floor_id}`
4699
- .replace(`{${"floor_id"}}`, encodeURIComponent(String(floorId)));
5538
+ create: async (webhookCreateBody: WebhookCreateBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5539
+ // verify required parameter 'webhookCreateBody' is not null or undefined
5540
+ assertParamExists('create', 'webhookCreateBody', webhookCreateBody)
5541
+ const localVarPath = `/integrations/fs/webhook`;
4700
5542
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4701
5543
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4702
5544
  let baseOptions;
@@ -4704,15 +5546,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4704
5546
  baseOptions = configuration.baseOptions;
4705
5547
  }
4706
5548
 
4707
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5549
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4708
5550
  const localVarHeaderParameter = {} as any;
4709
5551
  const localVarQueryParameter = {} as any;
4710
5552
 
4711
5553
 
4712
5554
 
5555
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5556
+
4713
5557
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4714
5558
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4715
5559
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5560
+ localVarRequestOptions.data = serializeDataIfNeeded(webhookCreateBody, localVarRequestOptions, configuration)
4716
5561
 
4717
5562
  return {
4718
5563
  url: toPathString(localVarUrlObj),
@@ -4721,14 +5566,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4721
5566
  },
4722
5567
  /**
4723
5568
  *
4724
- * @param {WebhookCreateBody} webhookCreateBody
4725
5569
  * @param {*} [options] Override http request option.
4726
5570
  * @throws {RequiredError}
4727
5571
  */
4728
- create: async (webhookCreateBody: WebhookCreateBody, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4729
- // verify required parameter 'webhookCreateBody' is not null or undefined
4730
- assertParamExists('create', 'webhookCreateBody', webhookCreateBody)
4731
- const localVarPath = `/integrations/fs/webhook`;
5572
+ fetch: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5573
+ const localVarPath = `/integrations/fs/parking`;
4732
5574
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4733
5575
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4734
5576
  let baseOptions;
@@ -4736,18 +5578,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4736
5578
  baseOptions = configuration.baseOptions;
4737
5579
  }
4738
5580
 
4739
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5581
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4740
5582
  const localVarHeaderParameter = {} as any;
4741
5583
  const localVarQueryParameter = {} as any;
4742
5584
 
4743
5585
 
4744
5586
 
4745
- localVarHeaderParameter['Content-Type'] = 'application/json';
4746
-
4747
5587
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4748
5588
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4749
5589
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4750
- localVarRequestOptions.data = serializeDataIfNeeded(webhookCreateBody, localVarRequestOptions, configuration)
4751
5590
 
4752
5591
  return {
4753
5592
  url: toPathString(localVarUrlObj),
@@ -4759,8 +5598,8 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4759
5598
  * @param {*} [options] Override http request option.
4760
5599
  * @throws {RequiredError}
4761
5600
  */
4762
- fetch: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4763
- const localVarPath = `/integrations/fs/parking`;
5601
+ floorsIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5602
+ const localVarPath = `/floors`;
4764
5603
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4765
5604
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4766
5605
  let baseOptions;
@@ -4785,11 +5624,14 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4785
5624
  },
4786
5625
  /**
4787
5626
  *
5627
+ * @param {Array<HolidayRequestBody>} holidayRequestBody
4788
5628
  * @param {*} [options] Override http request option.
4789
5629
  * @throws {RequiredError}
4790
5630
  */
4791
- floorsIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4792
- const localVarPath = `/floors`;
5631
+ holidaysCreate: async (holidayRequestBody: Array<HolidayRequestBody>, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5632
+ // verify required parameter 'holidayRequestBody' is not null or undefined
5633
+ assertParamExists('holidaysCreate', 'holidayRequestBody', holidayRequestBody)
5634
+ const localVarPath = `/holidays`;
4793
5635
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4794
5636
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4795
5637
  let baseOptions;
@@ -4797,15 +5639,18 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4797
5639
  baseOptions = configuration.baseOptions;
4798
5640
  }
4799
5641
 
4800
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5642
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4801
5643
  const localVarHeaderParameter = {} as any;
4802
5644
  const localVarQueryParameter = {} as any;
4803
5645
 
4804
5646
 
4805
5647
 
5648
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5649
+
4806
5650
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4807
5651
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4808
5652
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5653
+ localVarRequestOptions.data = serializeDataIfNeeded(holidayRequestBody, localVarRequestOptions, configuration)
4809
5654
 
4810
5655
  return {
4811
5656
  url: toPathString(localVarUrlObj),
@@ -4814,10 +5659,11 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4814
5659
  },
4815
5660
  /**
4816
5661
  *
5662
+ * @param {string} [date]
4817
5663
  * @param {*} [options] Override http request option.
4818
5664
  * @throws {RequiredError}
4819
5665
  */
4820
- holidaysIndex: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
5666
+ holidaysGetHolidayWithMinDate: async (date?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
4821
5667
  const localVarPath = `/holidays`;
4822
5668
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4823
5669
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -4830,6 +5676,10 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
4830
5676
  const localVarHeaderParameter = {} as any;
4831
5677
  const localVarQueryParameter = {} as any;
4832
5678
 
5679
+ if (date !== undefined) {
5680
+ localVarQueryParameter['date'] = date;
5681
+ }
5682
+
4833
5683
 
4834
5684
 
4835
5685
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -6071,6 +6921,62 @@ export const DefaultApiFp = function(configuration?: Configuration) {
6071
6921
  const localVarAxiosArgs = await localVarAxiosParamCreator.acZonesShow(floorId, options);
6072
6922
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6073
6923
  },
6924
+ /**
6925
+ *
6926
+ * @param {*} [options] Override http request option.
6927
+ * @throws {RequiredError}
6928
+ */
6929
+ async autoSync(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncResponse>> {
6930
+ const localVarAxiosArgs = await localVarAxiosParamCreator.autoSync(options);
6931
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6932
+ },
6933
+ /**
6934
+ *
6935
+ * @param {AccessorType} type
6936
+ * @param {string} [orderBy]
6937
+ * @param {string} [orderDirection]
6938
+ * @param {number} [pageNumber]
6939
+ * @param {number} [pageSize]
6940
+ * @param {string} [name]
6941
+ * @param {string} [displayTower]
6942
+ * @param {string} [companyName]
6943
+ * @param {string} [id]
6944
+ * @param {string} [filter]
6945
+ * @param {string} [building]
6946
+ * @param {number} [status]
6947
+ * @param {string} [startDate]
6948
+ * @param {string} [endDate]
6949
+ * @param {*} [options] Override http request option.
6950
+ * @throws {RequiredError}
6951
+ */
6952
+ 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>> {
6953
+ const localVarAxiosArgs = await localVarAxiosParamCreator.buildingAccessLogsIndex(type, orderBy, orderDirection, pageNumber, pageSize, name, displayTower, companyName, id, filter, building, status, startDate, endDate, options);
6954
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6955
+ },
6956
+ /**
6957
+ *
6958
+ * @param {string} id
6959
+ * @param {AccessorType} type
6960
+ * @param {string} [orderBy]
6961
+ * @param {string} [orderDirection]
6962
+ * @param {number} [pageNumber]
6963
+ * @param {number} [pageSize]
6964
+ * @param {string} [name]
6965
+ * @param {string} [displayTower]
6966
+ * @param {string} [companyName]
6967
+ * @param {string} [id2]
6968
+ * @param {string} [filter]
6969
+ * @param {string} [building]
6970
+ * @param {number} [status]
6971
+ * @param {string} [startDate]
6972
+ * @param {string} [endDate]
6973
+ * @param {*} [options] Override http request option.
6974
+ * @throws {RequiredError}
6975
+ */
6976
+ 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>> {
6977
+ const localVarAxiosArgs = await localVarAxiosParamCreator.buildingAccessLogsShow(id, type, orderBy, orderDirection, pageNumber, pageSize, name, displayTower, companyName, id2, filter, building, status, startDate, endDate, options);
6978
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6979
+ },
6074
6980
  /**
6075
6981
  *
6076
6982
  * @param {WebhookCreateBody} webhookCreateBody
@@ -6101,11 +7007,22 @@ export const DefaultApiFp = function(configuration?: Configuration) {
6101
7007
  },
6102
7008
  /**
6103
7009
  *
7010
+ * @param {Array<HolidayRequestBody>} holidayRequestBody
7011
+ * @param {*} [options] Override http request option.
7012
+ * @throws {RequiredError}
7013
+ */
7014
+ async holidaysCreate(holidayRequestBody: Array<HolidayRequestBody>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedResponseUpsertHolidayResponse>> {
7015
+ const localVarAxiosArgs = await localVarAxiosParamCreator.holidaysCreate(holidayRequestBody, options);
7016
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
7017
+ },
7018
+ /**
7019
+ *
7020
+ * @param {string} [date]
6104
7021
  * @param {*} [options] Override http request option.
6105
7022
  * @throws {RequiredError}
6106
7023
  */
6107
- async holidaysIndex(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseHolidayResponse>> {
6108
- const localVarAxiosArgs = await localVarAxiosParamCreator.holidaysIndex(options);
7024
+ async holidaysGetHolidayWithMinDate(date?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrappedArrayResponseHolidayResponse>> {
7025
+ const localVarAxiosArgs = await localVarAxiosParamCreator.holidaysGetHolidayWithMinDate(date, options);
6109
7026
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
6110
7027
  },
6111
7028
  /**
@@ -6501,6 +7418,59 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
6501
7418
  acZonesShow(floorId: string, options?: any): AxiosPromise<WrappedArrayResponseACZoneData> {
6502
7419
  return localVarFp.acZonesShow(floorId, options).then((request) => request(axios, basePath));
6503
7420
  },
7421
+ /**
7422
+ *
7423
+ * @param {*} [options] Override http request option.
7424
+ * @throws {RequiredError}
7425
+ */
7426
+ autoSync(options?: any): AxiosPromise<SyncResponse> {
7427
+ return localVarFp.autoSync(options).then((request) => request(axios, basePath));
7428
+ },
7429
+ /**
7430
+ *
7431
+ * @param {AccessorType} type
7432
+ * @param {string} [orderBy]
7433
+ * @param {string} [orderDirection]
7434
+ * @param {number} [pageNumber]
7435
+ * @param {number} [pageSize]
7436
+ * @param {string} [name]
7437
+ * @param {string} [displayTower]
7438
+ * @param {string} [companyName]
7439
+ * @param {string} [id]
7440
+ * @param {string} [filter]
7441
+ * @param {string} [building]
7442
+ * @param {number} [status]
7443
+ * @param {string} [startDate]
7444
+ * @param {string} [endDate]
7445
+ * @param {*} [options] Override http request option.
7446
+ * @throws {RequiredError}
7447
+ */
7448
+ 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> {
7449
+ return localVarFp.buildingAccessLogsIndex(type, orderBy, orderDirection, pageNumber, pageSize, name, displayTower, companyName, id, filter, building, status, startDate, endDate, options).then((request) => request(axios, basePath));
7450
+ },
7451
+ /**
7452
+ *
7453
+ * @param {string} id
7454
+ * @param {AccessorType} type
7455
+ * @param {string} [orderBy]
7456
+ * @param {string} [orderDirection]
7457
+ * @param {number} [pageNumber]
7458
+ * @param {number} [pageSize]
7459
+ * @param {string} [name]
7460
+ * @param {string} [displayTower]
7461
+ * @param {string} [companyName]
7462
+ * @param {string} [id2]
7463
+ * @param {string} [filter]
7464
+ * @param {string} [building]
7465
+ * @param {number} [status]
7466
+ * @param {string} [startDate]
7467
+ * @param {string} [endDate]
7468
+ * @param {*} [options] Override http request option.
7469
+ * @throws {RequiredError}
7470
+ */
7471
+ 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> {
7472
+ return localVarFp.buildingAccessLogsShow(id, type, orderBy, orderDirection, pageNumber, pageSize, name, displayTower, companyName, id2, filter, building, status, startDate, endDate, options).then((request) => request(axios, basePath));
7473
+ },
6504
7474
  /**
6505
7475
  *
6506
7476
  * @param {WebhookCreateBody} webhookCreateBody
@@ -6528,11 +7498,21 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
6528
7498
  },
6529
7499
  /**
6530
7500
  *
7501
+ * @param {Array<HolidayRequestBody>} holidayRequestBody
7502
+ * @param {*} [options] Override http request option.
7503
+ * @throws {RequiredError}
7504
+ */
7505
+ holidaysCreate(holidayRequestBody: Array<HolidayRequestBody>, options?: any): AxiosPromise<WrappedResponseUpsertHolidayResponse> {
7506
+ return localVarFp.holidaysCreate(holidayRequestBody, options).then((request) => request(axios, basePath));
7507
+ },
7508
+ /**
7509
+ *
7510
+ * @param {string} [date]
6531
7511
  * @param {*} [options] Override http request option.
6532
7512
  * @throws {RequiredError}
6533
7513
  */
6534
- holidaysIndex(options?: any): AxiosPromise<WrappedArrayResponseHolidayResponse> {
6535
- return localVarFp.holidaysIndex(options).then((request) => request(axios, basePath));
7514
+ holidaysGetHolidayWithMinDate(date?: string, options?: any): AxiosPromise<WrappedArrayResponseHolidayResponse> {
7515
+ return localVarFp.holidaysGetHolidayWithMinDate(date, options).then((request) => request(axios, basePath));
6536
7516
  },
6537
7517
  /**
6538
7518
  *
@@ -6906,6 +7886,65 @@ export class DefaultApi extends BaseAPI {
6906
7886
  return DefaultApiFp(this.configuration).acZonesShow(floorId, options).then((request) => request(this.axios, this.basePath));
6907
7887
  }
6908
7888
 
7889
+ /**
7890
+ *
7891
+ * @param {*} [options] Override http request option.
7892
+ * @throws {RequiredError}
7893
+ * @memberof DefaultApi
7894
+ */
7895
+ public autoSync(options?: AxiosRequestConfig) {
7896
+ return DefaultApiFp(this.configuration).autoSync(options).then((request) => request(this.axios, this.basePath));
7897
+ }
7898
+
7899
+ /**
7900
+ *
7901
+ * @param {AccessorType} type
7902
+ * @param {string} [orderBy]
7903
+ * @param {string} [orderDirection]
7904
+ * @param {number} [pageNumber]
7905
+ * @param {number} [pageSize]
7906
+ * @param {string} [name]
7907
+ * @param {string} [displayTower]
7908
+ * @param {string} [companyName]
7909
+ * @param {string} [id]
7910
+ * @param {string} [filter]
7911
+ * @param {string} [building]
7912
+ * @param {number} [status]
7913
+ * @param {string} [startDate]
7914
+ * @param {string} [endDate]
7915
+ * @param {*} [options] Override http request option.
7916
+ * @throws {RequiredError}
7917
+ * @memberof DefaultApi
7918
+ */
7919
+ 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) {
7920
+ 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));
7921
+ }
7922
+
7923
+ /**
7924
+ *
7925
+ * @param {string} id
7926
+ * @param {AccessorType} type
7927
+ * @param {string} [orderBy]
7928
+ * @param {string} [orderDirection]
7929
+ * @param {number} [pageNumber]
7930
+ * @param {number} [pageSize]
7931
+ * @param {string} [name]
7932
+ * @param {string} [displayTower]
7933
+ * @param {string} [companyName]
7934
+ * @param {string} [id2]
7935
+ * @param {string} [filter]
7936
+ * @param {string} [building]
7937
+ * @param {number} [status]
7938
+ * @param {string} [startDate]
7939
+ * @param {string} [endDate]
7940
+ * @param {*} [options] Override http request option.
7941
+ * @throws {RequiredError}
7942
+ * @memberof DefaultApi
7943
+ */
7944
+ 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) {
7945
+ 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));
7946
+ }
7947
+
6909
7948
  /**
6910
7949
  *
6911
7950
  * @param {WebhookCreateBody} webhookCreateBody
@@ -6939,12 +7978,24 @@ export class DefaultApi extends BaseAPI {
6939
7978
 
6940
7979
  /**
6941
7980
  *
7981
+ * @param {Array<HolidayRequestBody>} holidayRequestBody
7982
+ * @param {*} [options] Override http request option.
7983
+ * @throws {RequiredError}
7984
+ * @memberof DefaultApi
7985
+ */
7986
+ public holidaysCreate(holidayRequestBody: Array<HolidayRequestBody>, options?: AxiosRequestConfig) {
7987
+ return DefaultApiFp(this.configuration).holidaysCreate(holidayRequestBody, options).then((request) => request(this.axios, this.basePath));
7988
+ }
7989
+
7990
+ /**
7991
+ *
7992
+ * @param {string} [date]
6942
7993
  * @param {*} [options] Override http request option.
6943
7994
  * @throws {RequiredError}
6944
7995
  * @memberof DefaultApi
6945
7996
  */
6946
- public holidaysIndex(options?: AxiosRequestConfig) {
6947
- return DefaultApiFp(this.configuration).holidaysIndex(options).then((request) => request(this.axios, this.basePath));
7997
+ public holidaysGetHolidayWithMinDate(date?: string, options?: AxiosRequestConfig) {
7998
+ return DefaultApiFp(this.configuration).holidaysGetHolidayWithMinDate(date, options).then((request) => request(this.axios, this.basePath));
6948
7999
  }
6949
8000
 
6950
8001
  /**