@seamapi/types 1.271.1 → 1.273.0
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 +183 -40
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +119 -0
- package/lib/seam/connect/models/acs/acs-access-group.js +23 -8
- package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +5 -0
- package/lib/seam/connect/models/devices/device-metadata.js +1 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +7 -0
- package/lib/seam/connect/models/devices/phone.d.ts +5 -0
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -0
- package/lib/seam/connect/openapi.d.ts +48 -0
- package/lib/seam/connect/openapi.js +161 -31
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +59 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +31 -8
- package/src/lib/seam/connect/models/devices/device-metadata.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +191 -31
- package/src/lib/seam/connect/route-types.ts +59 -0
|
@@ -3712,7 +3712,9 @@ export interface Routes {
|
|
|
3712
3712
|
queryParams: {}
|
|
3713
3713
|
jsonBody: {}
|
|
3714
3714
|
commonParams: {
|
|
3715
|
+
/** ID of the desired access group. */
|
|
3715
3716
|
acs_access_group_id: string
|
|
3717
|
+
/** ID of the desired user. */
|
|
3716
3718
|
acs_user_id: string
|
|
3717
3719
|
}
|
|
3718
3720
|
formData: {}
|
|
@@ -3724,14 +3726,24 @@ export interface Routes {
|
|
|
3724
3726
|
queryParams: {}
|
|
3725
3727
|
jsonBody: {}
|
|
3726
3728
|
commonParams: {
|
|
3729
|
+
/** ID of the desired access group. */
|
|
3727
3730
|
acs_access_group_id: string
|
|
3728
3731
|
}
|
|
3729
3732
|
formData: {}
|
|
3730
3733
|
jsonResponse: {
|
|
3734
|
+
/**
|
|
3735
|
+
Group that defines the entrances to which a set of users has access and, in some cases, the access schedule for these entrances and users.
|
|
3736
|
+
|
|
3737
|
+
The `acs_access_group` object represents an [access group](https://docs.seam.co/latest/capability-guides/access-systems/assigning-users-to-access-groups) within an [access control system](https://docs.seam.co/latest/capability-guides/access-systems).
|
|
3738
|
+
*/
|
|
3731
3739
|
acs_access_group: {
|
|
3740
|
+
/** ID of the access group. */
|
|
3732
3741
|
acs_access_group_id: string
|
|
3742
|
+
/** ID of the access control system that contains the access group. */
|
|
3733
3743
|
acs_system_id: string
|
|
3744
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group. */
|
|
3734
3745
|
workspace_id: string
|
|
3746
|
+
/** Name of the access group. */
|
|
3735
3747
|
name: string
|
|
3736
3748
|
/**
|
|
3737
3749
|
* @deprecated use external_type */
|
|
@@ -3744,12 +3756,15 @@ export interface Routes {
|
|
|
3744
3756
|
* @deprecated use external_type_display_name */
|
|
3745
3757
|
access_group_type_display_name: string
|
|
3746
3758
|
display_name: string
|
|
3759
|
+
/** Brand-specific terminology for the access group type. */
|
|
3747
3760
|
external_type:
|
|
3748
3761
|
| 'pti_unit'
|
|
3749
3762
|
| 'pti_access_level'
|
|
3750
3763
|
| 'salto_access_group'
|
|
3751
3764
|
| 'brivo_group'
|
|
3765
|
+
/** Display name that corresponds to the brand-specific terminology for the access group type. */
|
|
3752
3766
|
external_type_display_name: string
|
|
3767
|
+
/** Date and time at which the access group was created. */
|
|
3753
3768
|
created_at: string
|
|
3754
3769
|
is_managed: true
|
|
3755
3770
|
}
|
|
@@ -3761,15 +3776,21 @@ export interface Routes {
|
|
|
3761
3776
|
queryParams: {}
|
|
3762
3777
|
jsonBody: {}
|
|
3763
3778
|
commonParams: {
|
|
3779
|
+
/** ID of the access control system for which you want to retrieve all access groups. */
|
|
3764
3780
|
acs_system_id?: string | undefined
|
|
3781
|
+
/** ID of the user for which you want to retrieve all access groups. */
|
|
3765
3782
|
acs_user_id?: string | undefined
|
|
3766
3783
|
}
|
|
3767
3784
|
formData: {}
|
|
3768
3785
|
jsonResponse: {
|
|
3769
3786
|
acs_access_groups: Array<{
|
|
3787
|
+
/** ID of the access group. */
|
|
3770
3788
|
acs_access_group_id: string
|
|
3789
|
+
/** ID of the access control system that contains the access group. */
|
|
3771
3790
|
acs_system_id: string
|
|
3791
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group. */
|
|
3772
3792
|
workspace_id: string
|
|
3793
|
+
/** Name of the access group. */
|
|
3773
3794
|
name: string
|
|
3774
3795
|
/**
|
|
3775
3796
|
* @deprecated use external_type */
|
|
@@ -3782,12 +3803,15 @@ export interface Routes {
|
|
|
3782
3803
|
* @deprecated use external_type_display_name */
|
|
3783
3804
|
access_group_type_display_name: string
|
|
3784
3805
|
display_name: string
|
|
3806
|
+
/** Brand-specific terminology for the access group type. */
|
|
3785
3807
|
external_type:
|
|
3786
3808
|
| 'pti_unit'
|
|
3787
3809
|
| 'pti_access_level'
|
|
3788
3810
|
| 'salto_access_group'
|
|
3789
3811
|
| 'brivo_group'
|
|
3812
|
+
/** Display name that corresponds to the brand-specific terminology for the access group type. */
|
|
3790
3813
|
external_type_display_name: string
|
|
3814
|
+
/** Date and time at which the access group was created. */
|
|
3791
3815
|
created_at: string
|
|
3792
3816
|
is_managed: true
|
|
3793
3817
|
}>
|
|
@@ -3799,6 +3823,7 @@ export interface Routes {
|
|
|
3799
3823
|
queryParams: {}
|
|
3800
3824
|
jsonBody: {}
|
|
3801
3825
|
commonParams: {
|
|
3826
|
+
/** ID of the access group for which you want to retrieve all accessible entrances. */
|
|
3802
3827
|
acs_access_group_id: string
|
|
3803
3828
|
}
|
|
3804
3829
|
formData: {}
|
|
@@ -3862,6 +3887,7 @@ export interface Routes {
|
|
|
3862
3887
|
queryParams: {}
|
|
3863
3888
|
jsonBody: {}
|
|
3864
3889
|
commonParams: {
|
|
3890
|
+
/** ID of the access group for which you want to retrieve all users. */
|
|
3865
3891
|
acs_access_group_id: string
|
|
3866
3892
|
}
|
|
3867
3893
|
formData: {}
|
|
@@ -3981,7 +4007,9 @@ export interface Routes {
|
|
|
3981
4007
|
queryParams: {}
|
|
3982
4008
|
jsonBody: {}
|
|
3983
4009
|
commonParams: {
|
|
4010
|
+
/** ID of the desired access group. */
|
|
3984
4011
|
acs_access_group_id: string
|
|
4012
|
+
/** ID of the desired user. */
|
|
3985
4013
|
acs_user_id: string
|
|
3986
4014
|
}
|
|
3987
4015
|
formData: {}
|
|
@@ -3993,14 +4021,19 @@ export interface Routes {
|
|
|
3993
4021
|
queryParams: {}
|
|
3994
4022
|
jsonBody: {}
|
|
3995
4023
|
commonParams: {
|
|
4024
|
+
/** ID of the desired unmanaged access group. */
|
|
3996
4025
|
acs_access_group_id: string
|
|
3997
4026
|
}
|
|
3998
4027
|
formData: {}
|
|
3999
4028
|
jsonResponse: {
|
|
4000
4029
|
acs_access_group: {
|
|
4030
|
+
/** ID of the access group. */
|
|
4001
4031
|
acs_access_group_id: string
|
|
4032
|
+
/** ID of the access control system that contains the access group. */
|
|
4002
4033
|
acs_system_id: string
|
|
4034
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group. */
|
|
4003
4035
|
workspace_id: string
|
|
4036
|
+
/** Name of the access group. */
|
|
4004
4037
|
name: string
|
|
4005
4038
|
/**
|
|
4006
4039
|
* @deprecated use external_type */
|
|
@@ -4013,12 +4046,15 @@ export interface Routes {
|
|
|
4013
4046
|
* @deprecated use external_type_display_name */
|
|
4014
4047
|
access_group_type_display_name: string
|
|
4015
4048
|
display_name: string
|
|
4049
|
+
/** Brand-specific terminology for the access group type. */
|
|
4016
4050
|
external_type:
|
|
4017
4051
|
| 'pti_unit'
|
|
4018
4052
|
| 'pti_access_level'
|
|
4019
4053
|
| 'salto_access_group'
|
|
4020
4054
|
| 'brivo_group'
|
|
4055
|
+
/** Display name that corresponds to the brand-specific terminology for the access group type. */
|
|
4021
4056
|
external_type_display_name: string
|
|
4057
|
+
/** Date and time at which the access group was created. */
|
|
4022
4058
|
created_at: string
|
|
4023
4059
|
is_managed: false
|
|
4024
4060
|
}
|
|
@@ -4030,15 +4066,21 @@ export interface Routes {
|
|
|
4030
4066
|
queryParams: {}
|
|
4031
4067
|
jsonBody: {}
|
|
4032
4068
|
commonParams: {
|
|
4069
|
+
/** ID of the access control system for which you want to retrieve all unmanaged access groups. */
|
|
4033
4070
|
acs_system_id?: string | undefined
|
|
4071
|
+
/** ID of the user for which you want to retrieve all unmanaged access groups. */
|
|
4034
4072
|
acs_user_id?: string | undefined
|
|
4035
4073
|
}
|
|
4036
4074
|
formData: {}
|
|
4037
4075
|
jsonResponse: {
|
|
4038
4076
|
acs_access_groups: Array<{
|
|
4077
|
+
/** ID of the access group. */
|
|
4039
4078
|
acs_access_group_id: string
|
|
4079
|
+
/** ID of the access control system that contains the access group. */
|
|
4040
4080
|
acs_system_id: string
|
|
4081
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the access group. */
|
|
4041
4082
|
workspace_id: string
|
|
4083
|
+
/** Name of the access group. */
|
|
4042
4084
|
name: string
|
|
4043
4085
|
/**
|
|
4044
4086
|
* @deprecated use external_type */
|
|
@@ -4051,12 +4093,15 @@ export interface Routes {
|
|
|
4051
4093
|
* @deprecated use external_type_display_name */
|
|
4052
4094
|
access_group_type_display_name: string
|
|
4053
4095
|
display_name: string
|
|
4096
|
+
/** Brand-specific terminology for the access group type. */
|
|
4054
4097
|
external_type:
|
|
4055
4098
|
| 'pti_unit'
|
|
4056
4099
|
| 'pti_access_level'
|
|
4057
4100
|
| 'salto_access_group'
|
|
4058
4101
|
| 'brivo_group'
|
|
4102
|
+
/** Display name that corresponds to the brand-specific terminology for the access group type. */
|
|
4059
4103
|
external_type_display_name: string
|
|
4104
|
+
/** Date and time at which the access group was created. */
|
|
4060
4105
|
created_at: string
|
|
4061
4106
|
is_managed: false
|
|
4062
4107
|
}>
|
|
@@ -5851,6 +5896,7 @@ export interface Routes {
|
|
|
5851
5896
|
nest_device_id: string
|
|
5852
5897
|
device_name: string
|
|
5853
5898
|
custom_name: string
|
|
5899
|
+
display_name?: string | undefined
|
|
5854
5900
|
}
|
|
5855
5901
|
| undefined
|
|
5856
5902
|
ecobee_metadata?:
|
|
@@ -10658,6 +10704,7 @@ export interface Routes {
|
|
|
10658
10704
|
nest_device_id: string
|
|
10659
10705
|
device_name: string
|
|
10660
10706
|
custom_name: string
|
|
10707
|
+
display_name?: string | undefined
|
|
10661
10708
|
}
|
|
10662
10709
|
| undefined
|
|
10663
10710
|
ecobee_metadata?:
|
|
@@ -11443,6 +11490,7 @@ export interface Routes {
|
|
|
11443
11490
|
nest_device_id: string
|
|
11444
11491
|
device_name: string
|
|
11445
11492
|
custom_name: string
|
|
11493
|
+
display_name?: string | undefined
|
|
11446
11494
|
}
|
|
11447
11495
|
| undefined
|
|
11448
11496
|
ecobee_metadata?:
|
|
@@ -12929,6 +12977,7 @@ export interface Routes {
|
|
|
12929
12977
|
nest_device_id: string
|
|
12930
12978
|
device_name: string
|
|
12931
12979
|
custom_name: string
|
|
12980
|
+
display_name?: string | undefined
|
|
12932
12981
|
}
|
|
12933
12982
|
| undefined
|
|
12934
12983
|
ecobee_metadata?:
|
|
@@ -13543,6 +13592,7 @@ export interface Routes {
|
|
|
13543
13592
|
nest_device_id: string
|
|
13544
13593
|
device_name: string
|
|
13545
13594
|
custom_name: string
|
|
13595
|
+
display_name?: string | undefined
|
|
13546
13596
|
}
|
|
13547
13597
|
| undefined
|
|
13548
13598
|
ecobee_metadata?:
|
|
@@ -14328,6 +14378,7 @@ export interface Routes {
|
|
|
14328
14378
|
nest_device_id: string
|
|
14329
14379
|
device_name: string
|
|
14330
14380
|
custom_name: string
|
|
14381
|
+
display_name?: string | undefined
|
|
14331
14382
|
}
|
|
14332
14383
|
| undefined
|
|
14333
14384
|
ecobee_metadata?:
|
|
@@ -14942,6 +14993,7 @@ export interface Routes {
|
|
|
14942
14993
|
nest_device_id: string
|
|
14943
14994
|
device_name: string
|
|
14944
14995
|
custom_name: string
|
|
14996
|
+
display_name?: string | undefined
|
|
14945
14997
|
}
|
|
14946
14998
|
| undefined
|
|
14947
14999
|
ecobee_metadata?:
|
|
@@ -17285,6 +17337,7 @@ export interface Routes {
|
|
|
17285
17337
|
nest_device_id: string
|
|
17286
17338
|
device_name: string
|
|
17287
17339
|
custom_name: string
|
|
17340
|
+
display_name?: string | undefined
|
|
17288
17341
|
}
|
|
17289
17342
|
| undefined
|
|
17290
17343
|
ecobee_metadata?:
|
|
@@ -17899,6 +17952,7 @@ export interface Routes {
|
|
|
17899
17952
|
nest_device_id: string
|
|
17900
17953
|
device_name: string
|
|
17901
17954
|
custom_name: string
|
|
17955
|
+
display_name?: string | undefined
|
|
17902
17956
|
}
|
|
17903
17957
|
| undefined
|
|
17904
17958
|
ecobee_metadata?:
|
|
@@ -22640,6 +22694,7 @@ export interface Routes {
|
|
|
22640
22694
|
nest_device_id: string
|
|
22641
22695
|
device_name: string
|
|
22642
22696
|
custom_name: string
|
|
22697
|
+
display_name?: string | undefined
|
|
22643
22698
|
}
|
|
22644
22699
|
| undefined
|
|
22645
22700
|
ecobee_metadata?:
|
|
@@ -24955,6 +25010,7 @@ export interface Routes {
|
|
|
24955
25010
|
nest_device_id: string
|
|
24956
25011
|
device_name: string
|
|
24957
25012
|
custom_name: string
|
|
25013
|
+
display_name?: string | undefined
|
|
24958
25014
|
}
|
|
24959
25015
|
| undefined
|
|
24960
25016
|
ecobee_metadata?:
|
|
@@ -25569,6 +25625,7 @@ export interface Routes {
|
|
|
25569
25625
|
nest_device_id: string
|
|
25570
25626
|
device_name: string
|
|
25571
25627
|
custom_name: string
|
|
25628
|
+
display_name?: string | undefined
|
|
25572
25629
|
}
|
|
25573
25630
|
| undefined
|
|
25574
25631
|
ecobee_metadata?:
|
|
@@ -28041,6 +28098,7 @@ export interface Routes {
|
|
|
28041
28098
|
nest_device_id: string
|
|
28042
28099
|
device_name: string
|
|
28043
28100
|
custom_name: string
|
|
28101
|
+
display_name?: string | undefined
|
|
28044
28102
|
}
|
|
28045
28103
|
| undefined
|
|
28046
28104
|
ecobee_metadata?:
|
|
@@ -28657,6 +28715,7 @@ export interface Routes {
|
|
|
28657
28715
|
nest_device_id: string
|
|
28658
28716
|
device_name: string
|
|
28659
28717
|
custom_name: string
|
|
28718
|
+
display_name?: string | undefined
|
|
28660
28719
|
}
|
|
28661
28720
|
| undefined
|
|
28662
28721
|
ecobee_metadata?:
|