@seamapi/types 1.58.1 → 1.59.1
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/dist/connect.cjs +73 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +139 -5
- package/lib/seam/connect/openapi.d.ts +64 -0
- package/lib/seam/connect/openapi.js +73 -5
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +75 -5
- package/lib/seam/connect/unstable/models/acs/credential.d.ts +4 -0
- package/lib/seam/connect/unstable/models/acs/credential.js +6 -0
- package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/system.d.ts +7 -7
- package/lib/seam/connect/unstable/models/acs/system.js +2 -2
- package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/device-metadata.d.ts +45 -0
- package/lib/seam/connect/unstable/models/devices/device-metadata.js +11 -0
- package/lib/seam/connect/unstable/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +73 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +73 -5
- package/src/lib/seam/connect/route-types.ts +97 -9
- package/src/lib/seam/connect/unstable/models/acs/credential.ts +7 -0
- package/src/lib/seam/connect/unstable/models/acs/system.ts +2 -2
- package/src/lib/seam/connect/unstable/models/devices/device-metadata.ts +13 -0
|
@@ -192,8 +192,8 @@ export default {
|
|
|
192
192
|
'pti_site',
|
|
193
193
|
'alta_org',
|
|
194
194
|
'salto_site',
|
|
195
|
-
'
|
|
196
|
-
'
|
|
195
|
+
'brivo_account',
|
|
196
|
+
'hid_credential_manager_organization',
|
|
197
197
|
'visionline_system',
|
|
198
198
|
'assa_abloy_credential_service_user',
|
|
199
199
|
],
|
|
@@ -207,8 +207,8 @@ export default {
|
|
|
207
207
|
'pti_site',
|
|
208
208
|
'alta_org',
|
|
209
209
|
'salto_site',
|
|
210
|
-
'
|
|
211
|
-
'
|
|
210
|
+
'brivo_account',
|
|
211
|
+
'hid_credential_manager_organization',
|
|
212
212
|
'visionline_system',
|
|
213
213
|
'assa_abloy_credential_service_user',
|
|
214
214
|
],
|
|
@@ -773,6 +773,25 @@ export default {
|
|
|
773
773
|
device_id: { type: 'number' },
|
|
774
774
|
door_id: { type: 'number' },
|
|
775
775
|
door_name: { type: 'string' },
|
|
776
|
+
iana_timezone: { type: 'string' },
|
|
777
|
+
predefined_time_slots: {
|
|
778
|
+
items: {
|
|
779
|
+
properties: {
|
|
780
|
+
check_in_time: { type: 'string' },
|
|
781
|
+
check_out_time: { type: 'string' },
|
|
782
|
+
name: { type: 'string' },
|
|
783
|
+
prefix: { type: 'number' },
|
|
784
|
+
},
|
|
785
|
+
required: [
|
|
786
|
+
'name',
|
|
787
|
+
'prefix',
|
|
788
|
+
'check_in_time',
|
|
789
|
+
'check_out_time',
|
|
790
|
+
],
|
|
791
|
+
type: 'object',
|
|
792
|
+
},
|
|
793
|
+
type: 'array',
|
|
794
|
+
},
|
|
776
795
|
site_id: { type: 'number' },
|
|
777
796
|
site_name: { type: 'string' },
|
|
778
797
|
},
|
|
@@ -3484,6 +3503,10 @@ export default {
|
|
|
3484
3503
|
properties: {
|
|
3485
3504
|
acs_credential: {
|
|
3486
3505
|
properties: {
|
|
3506
|
+
access_method: {
|
|
3507
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
3508
|
+
type: 'string',
|
|
3509
|
+
},
|
|
3487
3510
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3488
3511
|
acs_credential_pool_id: {
|
|
3489
3512
|
format: 'uuid',
|
|
@@ -3509,6 +3532,7 @@ export default {
|
|
|
3509
3532
|
'acs_credential_id',
|
|
3510
3533
|
'acs_system_id',
|
|
3511
3534
|
'display_name',
|
|
3535
|
+
'access_method',
|
|
3512
3536
|
'external_type',
|
|
3513
3537
|
'external_type_display_name',
|
|
3514
3538
|
'created_at',
|
|
@@ -3561,6 +3585,10 @@ export default {
|
|
|
3561
3585
|
properties: {
|
|
3562
3586
|
acs_credential: {
|
|
3563
3587
|
properties: {
|
|
3588
|
+
access_method: {
|
|
3589
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
3590
|
+
type: 'string',
|
|
3591
|
+
},
|
|
3564
3592
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3565
3593
|
acs_credential_pool_id: {
|
|
3566
3594
|
format: 'uuid',
|
|
@@ -3586,6 +3614,7 @@ export default {
|
|
|
3586
3614
|
'acs_credential_id',
|
|
3587
3615
|
'acs_system_id',
|
|
3588
3616
|
'display_name',
|
|
3617
|
+
'access_method',
|
|
3589
3618
|
'external_type',
|
|
3590
3619
|
'external_type_display_name',
|
|
3591
3620
|
'created_at',
|
|
@@ -3624,10 +3653,14 @@ export default {
|
|
|
3624
3653
|
'application/json': {
|
|
3625
3654
|
schema: {
|
|
3626
3655
|
properties: {
|
|
3656
|
+
access_method: {
|
|
3657
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
3658
|
+
type: 'string',
|
|
3659
|
+
},
|
|
3627
3660
|
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3628
3661
|
code: { pattern: '^\\d+$', type: 'string' },
|
|
3629
3662
|
},
|
|
3630
|
-
required: ['acs_user_id', '
|
|
3663
|
+
required: ['acs_user_id', 'access_method'],
|
|
3631
3664
|
type: 'object',
|
|
3632
3665
|
},
|
|
3633
3666
|
},
|
|
@@ -3641,6 +3674,10 @@ export default {
|
|
|
3641
3674
|
properties: {
|
|
3642
3675
|
acs_credential: {
|
|
3643
3676
|
properties: {
|
|
3677
|
+
access_method: {
|
|
3678
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
3679
|
+
type: 'string',
|
|
3680
|
+
},
|
|
3644
3681
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3645
3682
|
acs_credential_pool_id: {
|
|
3646
3683
|
format: 'uuid',
|
|
@@ -3666,6 +3703,7 @@ export default {
|
|
|
3666
3703
|
'acs_credential_id',
|
|
3667
3704
|
'acs_system_id',
|
|
3668
3705
|
'display_name',
|
|
3706
|
+
'access_method',
|
|
3669
3707
|
'external_type',
|
|
3670
3708
|
'external_type_display_name',
|
|
3671
3709
|
'created_at',
|
|
@@ -3763,6 +3801,10 @@ export default {
|
|
|
3763
3801
|
properties: {
|
|
3764
3802
|
acs_credential: {
|
|
3765
3803
|
properties: {
|
|
3804
|
+
access_method: {
|
|
3805
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
3806
|
+
type: 'string',
|
|
3807
|
+
},
|
|
3766
3808
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3767
3809
|
acs_credential_pool_id: {
|
|
3768
3810
|
format: 'uuid',
|
|
@@ -3788,6 +3830,7 @@ export default {
|
|
|
3788
3830
|
'acs_credential_id',
|
|
3789
3831
|
'acs_system_id',
|
|
3790
3832
|
'display_name',
|
|
3833
|
+
'access_method',
|
|
3791
3834
|
'external_type',
|
|
3792
3835
|
'external_type_display_name',
|
|
3793
3836
|
'created_at',
|
|
@@ -3862,6 +3905,10 @@ export default {
|
|
|
3862
3905
|
acs_credentials: {
|
|
3863
3906
|
items: {
|
|
3864
3907
|
properties: {
|
|
3908
|
+
access_method: {
|
|
3909
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
3910
|
+
type: 'string',
|
|
3911
|
+
},
|
|
3865
3912
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3866
3913
|
acs_credential_pool_id: {
|
|
3867
3914
|
format: 'uuid',
|
|
@@ -3887,6 +3934,7 @@ export default {
|
|
|
3887
3934
|
'acs_credential_id',
|
|
3888
3935
|
'acs_system_id',
|
|
3889
3936
|
'display_name',
|
|
3937
|
+
'access_method',
|
|
3890
3938
|
'external_type',
|
|
3891
3939
|
'external_type_display_name',
|
|
3892
3940
|
'created_at',
|
|
@@ -3945,6 +3993,10 @@ export default {
|
|
|
3945
3993
|
properties: {
|
|
3946
3994
|
acs_credential: {
|
|
3947
3995
|
properties: {
|
|
3996
|
+
access_method: {
|
|
3997
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
3998
|
+
type: 'string',
|
|
3999
|
+
},
|
|
3948
4000
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3949
4001
|
acs_credential_pool_id: {
|
|
3950
4002
|
format: 'uuid',
|
|
@@ -3970,6 +4022,7 @@ export default {
|
|
|
3970
4022
|
'acs_credential_id',
|
|
3971
4023
|
'acs_system_id',
|
|
3972
4024
|
'display_name',
|
|
4025
|
+
'access_method',
|
|
3973
4026
|
'external_type',
|
|
3974
4027
|
'external_type_display_name',
|
|
3975
4028
|
'created_at',
|
|
@@ -4022,6 +4075,10 @@ export default {
|
|
|
4022
4075
|
properties: {
|
|
4023
4076
|
acs_credential: {
|
|
4024
4077
|
properties: {
|
|
4078
|
+
access_method: {
|
|
4079
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
4080
|
+
type: 'string',
|
|
4081
|
+
},
|
|
4025
4082
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
4026
4083
|
acs_credential_pool_id: {
|
|
4027
4084
|
format: 'uuid',
|
|
@@ -4047,6 +4104,7 @@ export default {
|
|
|
4047
4104
|
'acs_credential_id',
|
|
4048
4105
|
'acs_system_id',
|
|
4049
4106
|
'display_name',
|
|
4107
|
+
'access_method',
|
|
4050
4108
|
'external_type',
|
|
4051
4109
|
'external_type_display_name',
|
|
4052
4110
|
'created_at',
|
|
@@ -4102,6 +4160,10 @@ export default {
|
|
|
4102
4160
|
properties: {
|
|
4103
4161
|
acs_credential: {
|
|
4104
4162
|
properties: {
|
|
4163
|
+
access_method: {
|
|
4164
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
4165
|
+
type: 'string',
|
|
4166
|
+
},
|
|
4105
4167
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
4106
4168
|
acs_credential_pool_id: {
|
|
4107
4169
|
format: 'uuid',
|
|
@@ -4127,6 +4189,7 @@ export default {
|
|
|
4127
4189
|
'acs_credential_id',
|
|
4128
4190
|
'acs_system_id',
|
|
4129
4191
|
'display_name',
|
|
4192
|
+
'access_method',
|
|
4130
4193
|
'external_type',
|
|
4131
4194
|
'external_type_display_name',
|
|
4132
4195
|
'created_at',
|
|
@@ -4179,6 +4242,10 @@ export default {
|
|
|
4179
4242
|
properties: {
|
|
4180
4243
|
acs_credential: {
|
|
4181
4244
|
properties: {
|
|
4245
|
+
access_method: {
|
|
4246
|
+
enum: ['code', 'card', 'mobile_key'],
|
|
4247
|
+
type: 'string',
|
|
4248
|
+
},
|
|
4182
4249
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
4183
4250
|
acs_credential_pool_id: {
|
|
4184
4251
|
format: 'uuid',
|
|
@@ -4204,6 +4271,7 @@ export default {
|
|
|
4204
4271
|
'acs_credential_id',
|
|
4205
4272
|
'acs_system_id',
|
|
4206
4273
|
'display_name',
|
|
4274
|
+
'access_method',
|
|
4207
4275
|
'external_type',
|
|
4208
4276
|
'external_type_display_name',
|
|
4209
4277
|
'created_at',
|
|
@@ -818,6 +818,7 @@ export interface Routes {
|
|
|
818
818
|
acs_system_id: string
|
|
819
819
|
display_name: string
|
|
820
820
|
code?: (string | undefined) | null
|
|
821
|
+
access_method: 'code' | 'card' | 'mobile_key'
|
|
821
822
|
external_type: 'pti_card' | 'brivo_credential' | 'hid_credential'
|
|
822
823
|
external_type_display_name: string
|
|
823
824
|
created_at: string
|
|
@@ -832,7 +833,8 @@ export interface Routes {
|
|
|
832
833
|
jsonBody: {}
|
|
833
834
|
commonParams: {
|
|
834
835
|
acs_user_id: string
|
|
835
|
-
|
|
836
|
+
access_method: 'code' | 'card' | 'mobile_key'
|
|
837
|
+
code?: string | undefined
|
|
836
838
|
}
|
|
837
839
|
formData: {}
|
|
838
840
|
jsonResponse: {
|
|
@@ -843,6 +845,7 @@ export interface Routes {
|
|
|
843
845
|
acs_system_id: string
|
|
844
846
|
display_name: string
|
|
845
847
|
code?: (string | undefined) | null
|
|
848
|
+
access_method: 'code' | 'card' | 'mobile_key'
|
|
846
849
|
external_type: 'pti_card' | 'brivo_credential' | 'hid_credential'
|
|
847
850
|
external_type_display_name: string
|
|
848
851
|
created_at: string
|
|
@@ -878,6 +881,7 @@ export interface Routes {
|
|
|
878
881
|
acs_system_id: string
|
|
879
882
|
display_name: string
|
|
880
883
|
code?: (string | undefined) | null
|
|
884
|
+
access_method: 'code' | 'card' | 'mobile_key'
|
|
881
885
|
external_type: 'pti_card' | 'brivo_credential' | 'hid_credential'
|
|
882
886
|
external_type_display_name: string
|
|
883
887
|
created_at: string
|
|
@@ -910,6 +914,7 @@ export interface Routes {
|
|
|
910
914
|
acs_system_id: string
|
|
911
915
|
display_name: string
|
|
912
916
|
code?: (string | undefined) | null
|
|
917
|
+
access_method: 'code' | 'card' | 'mobile_key'
|
|
913
918
|
external_type: 'pti_card' | 'brivo_credential' | 'hid_credential'
|
|
914
919
|
external_type_display_name: string
|
|
915
920
|
created_at: string
|
|
@@ -935,6 +940,7 @@ export interface Routes {
|
|
|
935
940
|
acs_system_id: string
|
|
936
941
|
display_name: string
|
|
937
942
|
code?: (string | undefined) | null
|
|
943
|
+
access_method: 'code' | 'card' | 'mobile_key'
|
|
938
944
|
external_type: 'pti_card' | 'brivo_credential' | 'hid_credential'
|
|
939
945
|
external_type_display_name: string
|
|
940
946
|
created_at: string
|
|
@@ -960,6 +966,7 @@ export interface Routes {
|
|
|
960
966
|
acs_system_id: string
|
|
961
967
|
display_name: string
|
|
962
968
|
code?: (string | undefined) | null
|
|
969
|
+
access_method: 'code' | 'card' | 'mobile_key'
|
|
963
970
|
external_type: 'pti_card' | 'brivo_credential' | 'hid_credential'
|
|
964
971
|
external_type_display_name: string
|
|
965
972
|
created_at: string
|
|
@@ -1019,8 +1026,8 @@ export interface Routes {
|
|
|
1019
1026
|
| 'pti_site'
|
|
1020
1027
|
| 'alta_org'
|
|
1021
1028
|
| 'salto_site'
|
|
1022
|
-
| '
|
|
1023
|
-
| '
|
|
1029
|
+
| 'brivo_account'
|
|
1030
|
+
| 'hid_credential_manager_organization'
|
|
1024
1031
|
| 'visionline_system'
|
|
1025
1032
|
| 'assa_abloy_credential_service_user'
|
|
1026
1033
|
external_type_display_name: string
|
|
@@ -1029,8 +1036,8 @@ export interface Routes {
|
|
|
1029
1036
|
| 'pti_site'
|
|
1030
1037
|
| 'alta_org'
|
|
1031
1038
|
| 'salto_site'
|
|
1032
|
-
| '
|
|
1033
|
-
| '
|
|
1039
|
+
| 'brivo_account'
|
|
1040
|
+
| 'hid_credential_manager_organization'
|
|
1034
1041
|
| 'visionline_system'
|
|
1035
1042
|
| 'assa_abloy_credential_service_user'
|
|
1036
1043
|
/** deprecated: use external_type_display_name */
|
|
@@ -1058,8 +1065,8 @@ export interface Routes {
|
|
|
1058
1065
|
| 'pti_site'
|
|
1059
1066
|
| 'alta_org'
|
|
1060
1067
|
| 'salto_site'
|
|
1061
|
-
| '
|
|
1062
|
-
| '
|
|
1068
|
+
| 'brivo_account'
|
|
1069
|
+
| 'hid_credential_manager_organization'
|
|
1063
1070
|
| 'visionline_system'
|
|
1064
1071
|
| 'assa_abloy_credential_service_user'
|
|
1065
1072
|
external_type_display_name: string
|
|
@@ -1068,8 +1075,8 @@ export interface Routes {
|
|
|
1068
1075
|
| 'pti_site'
|
|
1069
1076
|
| 'alta_org'
|
|
1070
1077
|
| 'salto_site'
|
|
1071
|
-
| '
|
|
1072
|
-
| '
|
|
1078
|
+
| 'brivo_account'
|
|
1079
|
+
| 'hid_credential_manager_organization'
|
|
1073
1080
|
| 'visionline_system'
|
|
1074
1081
|
| 'assa_abloy_credential_service_user'
|
|
1075
1082
|
/** deprecated: use external_type_display_name */
|
|
@@ -2010,6 +2017,15 @@ export interface Routes {
|
|
|
2010
2017
|
device_id?: number | undefined
|
|
2011
2018
|
site_id: number
|
|
2012
2019
|
site_name: string
|
|
2020
|
+
iana_timezone?: string | undefined
|
|
2021
|
+
predefined_time_slots?:
|
|
2022
|
+
| Array<{
|
|
2023
|
+
name: string
|
|
2024
|
+
prefix: number
|
|
2025
|
+
check_in_time: string
|
|
2026
|
+
check_out_time: string
|
|
2027
|
+
}>
|
|
2028
|
+
| undefined
|
|
2013
2029
|
}
|
|
2014
2030
|
| undefined
|
|
2015
2031
|
wyze_metadata?:
|
|
@@ -2744,6 +2760,15 @@ export interface Routes {
|
|
|
2744
2760
|
device_id?: number | undefined
|
|
2745
2761
|
site_id: number
|
|
2746
2762
|
site_name: string
|
|
2763
|
+
iana_timezone?: string | undefined
|
|
2764
|
+
predefined_time_slots?:
|
|
2765
|
+
| Array<{
|
|
2766
|
+
name: string
|
|
2767
|
+
prefix: number
|
|
2768
|
+
check_in_time: string
|
|
2769
|
+
check_out_time: string
|
|
2770
|
+
}>
|
|
2771
|
+
| undefined
|
|
2747
2772
|
}
|
|
2748
2773
|
| undefined
|
|
2749
2774
|
wyze_metadata?:
|
|
@@ -3919,6 +3944,15 @@ export interface Routes {
|
|
|
3919
3944
|
device_id?: number | undefined
|
|
3920
3945
|
site_id: number
|
|
3921
3946
|
site_name: string
|
|
3947
|
+
iana_timezone?: string | undefined
|
|
3948
|
+
predefined_time_slots?:
|
|
3949
|
+
| Array<{
|
|
3950
|
+
name: string
|
|
3951
|
+
prefix: number
|
|
3952
|
+
check_in_time: string
|
|
3953
|
+
check_out_time: string
|
|
3954
|
+
}>
|
|
3955
|
+
| undefined
|
|
3922
3956
|
}
|
|
3923
3957
|
| undefined
|
|
3924
3958
|
wyze_metadata?:
|
|
@@ -4532,6 +4566,15 @@ export interface Routes {
|
|
|
4532
4566
|
device_id?: number | undefined
|
|
4533
4567
|
site_id: number
|
|
4534
4568
|
site_name: string
|
|
4569
|
+
iana_timezone?: string | undefined
|
|
4570
|
+
predefined_time_slots?:
|
|
4571
|
+
| Array<{
|
|
4572
|
+
name: string
|
|
4573
|
+
prefix: number
|
|
4574
|
+
check_in_time: string
|
|
4575
|
+
check_out_time: string
|
|
4576
|
+
}>
|
|
4577
|
+
| undefined
|
|
4535
4578
|
}
|
|
4536
4579
|
| undefined
|
|
4537
4580
|
wyze_metadata?:
|
|
@@ -5266,6 +5309,15 @@ export interface Routes {
|
|
|
5266
5309
|
device_id?: number | undefined
|
|
5267
5310
|
site_id: number
|
|
5268
5311
|
site_name: string
|
|
5312
|
+
iana_timezone?: string | undefined
|
|
5313
|
+
predefined_time_slots?:
|
|
5314
|
+
| Array<{
|
|
5315
|
+
name: string
|
|
5316
|
+
prefix: number
|
|
5317
|
+
check_in_time: string
|
|
5318
|
+
check_out_time: string
|
|
5319
|
+
}>
|
|
5320
|
+
| undefined
|
|
5269
5321
|
}
|
|
5270
5322
|
| undefined
|
|
5271
5323
|
wyze_metadata?:
|
|
@@ -5879,6 +5931,15 @@ export interface Routes {
|
|
|
5879
5931
|
device_id?: number | undefined
|
|
5880
5932
|
site_id: number
|
|
5881
5933
|
site_name: string
|
|
5934
|
+
iana_timezone?: string | undefined
|
|
5935
|
+
predefined_time_slots?:
|
|
5936
|
+
| Array<{
|
|
5937
|
+
name: string
|
|
5938
|
+
prefix: number
|
|
5939
|
+
check_in_time: string
|
|
5940
|
+
check_out_time: string
|
|
5941
|
+
}>
|
|
5942
|
+
| undefined
|
|
5882
5943
|
}
|
|
5883
5944
|
| undefined
|
|
5884
5945
|
wyze_metadata?:
|
|
@@ -6937,6 +6998,15 @@ export interface Routes {
|
|
|
6937
6998
|
device_id?: number | undefined
|
|
6938
6999
|
site_id: number
|
|
6939
7000
|
site_name: string
|
|
7001
|
+
iana_timezone?: string | undefined
|
|
7002
|
+
predefined_time_slots?:
|
|
7003
|
+
| Array<{
|
|
7004
|
+
name: string
|
|
7005
|
+
prefix: number
|
|
7006
|
+
check_in_time: string
|
|
7007
|
+
check_out_time: string
|
|
7008
|
+
}>
|
|
7009
|
+
| undefined
|
|
6940
7010
|
}
|
|
6941
7011
|
| undefined
|
|
6942
7012
|
wyze_metadata?:
|
|
@@ -7701,6 +7771,15 @@ export interface Routes {
|
|
|
7701
7771
|
device_id?: number | undefined
|
|
7702
7772
|
site_id: number
|
|
7703
7773
|
site_name: string
|
|
7774
|
+
iana_timezone?: string | undefined
|
|
7775
|
+
predefined_time_slots?:
|
|
7776
|
+
| Array<{
|
|
7777
|
+
name: string
|
|
7778
|
+
prefix: number
|
|
7779
|
+
check_in_time: string
|
|
7780
|
+
check_out_time: string
|
|
7781
|
+
}>
|
|
7782
|
+
| undefined
|
|
7704
7783
|
}
|
|
7705
7784
|
| undefined
|
|
7706
7785
|
wyze_metadata?:
|
|
@@ -8465,6 +8544,15 @@ export interface Routes {
|
|
|
8465
8544
|
device_id?: number | undefined
|
|
8466
8545
|
site_id: number
|
|
8467
8546
|
site_name: string
|
|
8547
|
+
iana_timezone?: string | undefined
|
|
8548
|
+
predefined_time_slots?:
|
|
8549
|
+
| Array<{
|
|
8550
|
+
name: string
|
|
8551
|
+
prefix: number
|
|
8552
|
+
check_in_time: string
|
|
8553
|
+
check_out_time: string
|
|
8554
|
+
}>
|
|
8555
|
+
| undefined
|
|
8468
8556
|
}
|
|
8469
8557
|
| undefined
|
|
8470
8558
|
wyze_metadata?:
|
|
@@ -6,6 +6,12 @@ export const acs_credential_external_type = z.enum([
|
|
|
6
6
|
'hid_credential',
|
|
7
7
|
])
|
|
8
8
|
|
|
9
|
+
export const acs_credential_access_method_type = z.enum([
|
|
10
|
+
'code',
|
|
11
|
+
'card',
|
|
12
|
+
'mobile_key',
|
|
13
|
+
])
|
|
14
|
+
|
|
9
15
|
export type AcsCredentialExternalType = z.infer<
|
|
10
16
|
typeof acs_credential_external_type
|
|
11
17
|
>
|
|
@@ -17,6 +23,7 @@ export const acs_credential = z.object({
|
|
|
17
23
|
acs_system_id: z.string().uuid(),
|
|
18
24
|
display_name: z.string().nonempty(),
|
|
19
25
|
code: z.string().optional().nullable(),
|
|
26
|
+
access_method: acs_credential_access_method_type,
|
|
20
27
|
external_type: acs_credential_external_type,
|
|
21
28
|
external_type_display_name: z.string(),
|
|
22
29
|
created_at: z.string().datetime(),
|
|
@@ -169,6 +169,19 @@ export const device_metadata = z
|
|
|
169
169
|
device_id: z.number().optional(),
|
|
170
170
|
site_id: z.number(),
|
|
171
171
|
site_name: z.string(),
|
|
172
|
+
iana_timezone: z.string().optional(),
|
|
173
|
+
predefined_time_slots: z
|
|
174
|
+
.array(
|
|
175
|
+
z.object({
|
|
176
|
+
name: z.string(),
|
|
177
|
+
prefix: z.number(),
|
|
178
|
+
// Seam TOD
|
|
179
|
+
check_in_time: z.string(),
|
|
180
|
+
// Seam TOD
|
|
181
|
+
check_out_time: z.string(),
|
|
182
|
+
}),
|
|
183
|
+
)
|
|
184
|
+
.optional(),
|
|
172
185
|
}),
|
|
173
186
|
|
|
174
187
|
wyze_metadata: z.object({
|