@seamapi/types 1.245.1 → 1.247.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 +448 -103
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +313 -2
- package/lib/seam/connect/models/acs/acs-user.js +72 -20
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +147 -2
- package/lib/seam/connect/openapi.js +387 -68
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +166 -0
- package/package.json +2 -2
- package/src/lib/seam/connect/models/acs/acs-user.ts +90 -20
- package/src/lib/seam/connect/openapi.ts +450 -68
- package/src/lib/seam/connect/route-types.ts +166 -0
|
@@ -2569,12 +2569,18 @@ export interface Routes {
|
|
|
2569
2569
|
formData: {}
|
|
2570
2570
|
jsonResponse: {
|
|
2571
2571
|
acs_users: Array<{
|
|
2572
|
+
/** ID of the `acs_user`. */
|
|
2572
2573
|
acs_user_id: string
|
|
2574
|
+
/** ID of the access control system that contains the `acs_user`. */
|
|
2573
2575
|
acs_system_id: string
|
|
2574
2576
|
hid_acs_system_id?: string | undefined
|
|
2577
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_user`. */
|
|
2575
2578
|
workspace_id: string
|
|
2579
|
+
/** Date and time at which the `acs_user` was created. */
|
|
2576
2580
|
created_at: string
|
|
2581
|
+
/** Display name for the `acs_user`. */
|
|
2577
2582
|
display_name: string
|
|
2583
|
+
/** Brand-specific terminology for the `acs_user` type. */
|
|
2578
2584
|
external_type?:
|
|
2579
2585
|
| (
|
|
2580
2586
|
| 'pti_user'
|
|
@@ -2584,20 +2590,30 @@ export interface Routes {
|
|
|
2584
2590
|
| 'latch_user'
|
|
2585
2591
|
)
|
|
2586
2592
|
| undefined
|
|
2593
|
+
/** Display name that corresponds to the brand-specific terminology for the `acs_user` type. */
|
|
2587
2594
|
external_type_display_name?: string | undefined
|
|
2595
|
+
/** Indicates whether the `acs_user` is currently [suspended](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users). */
|
|
2588
2596
|
is_suspended: boolean
|
|
2597
|
+
/** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
|
|
2589
2598
|
access_schedule?:
|
|
2590
2599
|
| {
|
|
2591
2600
|
starts_at: string
|
|
2592
2601
|
ends_at: string
|
|
2593
2602
|
}
|
|
2594
2603
|
| undefined
|
|
2604
|
+
/** ID of the user identity associated with the `acs_user`. */
|
|
2595
2605
|
user_identity_id?: string | undefined
|
|
2606
|
+
/** Full name of the user identity associated with the `acs_user`. */
|
|
2596
2607
|
user_identity_full_name?: (string | null) | undefined
|
|
2608
|
+
/** Email address of the user identity associated with the `acs_user`. */
|
|
2597
2609
|
user_identity_email_address?: (string | null) | undefined
|
|
2610
|
+
/** Phone number of the user identity associated with the `acs_user` in E.164 format (for example, `+15555550100`). */
|
|
2598
2611
|
user_identity_phone_number?: (string | null) | undefined
|
|
2612
|
+
/** */
|
|
2599
2613
|
latest_desired_state_synced_with_provider_at?: string | undefined
|
|
2614
|
+
/** */
|
|
2600
2615
|
is_latest_desired_state_synced_with_provider?: boolean | undefined
|
|
2616
|
+
/** Warnings associated with the `acs_user`. */
|
|
2601
2617
|
warnings: Array<
|
|
2602
2618
|
| {
|
|
2603
2619
|
created_at: string
|
|
@@ -2610,6 +2626,7 @@ export interface Routes {
|
|
|
2610
2626
|
warning_code: 'salto_ks_user_not_subscribed'
|
|
2611
2627
|
}
|
|
2612
2628
|
>
|
|
2629
|
+
/** Errors associated with the `acs_user`. */
|
|
2613
2630
|
errors: Array<
|
|
2614
2631
|
| {
|
|
2615
2632
|
/** Date and time at which Seam created the error. */
|
|
@@ -2647,11 +2664,14 @@ export interface Routes {
|
|
|
2647
2664
|
error_code: 'failed_to_delete_on_acs_system'
|
|
2648
2665
|
}
|
|
2649
2666
|
>
|
|
2667
|
+
/** Full name of the `acs_user`. */
|
|
2650
2668
|
full_name?: string | undefined
|
|
2651
2669
|
/**
|
|
2652
2670
|
* @deprecated use email_address. */
|
|
2653
2671
|
email?: string | undefined
|
|
2672
|
+
/** Email address of the `acs_user`. */
|
|
2654
2673
|
email_address?: string | undefined
|
|
2674
|
+
/** Phone number of the `acs_user` in E.164 format (for example, `+15555550100`). */
|
|
2655
2675
|
phone_number?: string | undefined
|
|
2656
2676
|
is_managed: true
|
|
2657
2677
|
}>
|
|
@@ -3937,7 +3957,9 @@ export interface Routes {
|
|
|
3937
3957
|
queryParams: {}
|
|
3938
3958
|
jsonBody: {}
|
|
3939
3959
|
commonParams: {
|
|
3960
|
+
/** ID of the desired `acs_user`. */
|
|
3940
3961
|
acs_user_id: string
|
|
3962
|
+
/** ID of the desired access group. */
|
|
3941
3963
|
acs_access_group_id: string
|
|
3942
3964
|
}
|
|
3943
3965
|
formData: {}
|
|
@@ -3948,32 +3970,45 @@ export interface Routes {
|
|
|
3948
3970
|
method: 'POST'
|
|
3949
3971
|
queryParams: {}
|
|
3950
3972
|
jsonBody: {
|
|
3973
|
+
/** ID of the `acs_system` to which to add the new `acs_user`. */
|
|
3951
3974
|
acs_system_id: string
|
|
3975
|
+
/** Array of `access_group_id`s to indicate the access groups to which to add the new `acs_user`. */
|
|
3952
3976
|
acs_access_group_ids?: string[]
|
|
3977
|
+
/** ID of the user identity with which to associate the new `acs_user`. */
|
|
3953
3978
|
user_identity_id?: string | undefined
|
|
3979
|
+
/** `starts_at` and `ends_at` timestamps for the new `acs_user`'s access. If you specify an `access_schedule`, you must include both `starts_at` and `ends_at`. `ends_at` must be a time in the future and after `starts_at`. Only applicable to Salto KS access control systems. */
|
|
3954
3980
|
access_schedule?:
|
|
3955
3981
|
| {
|
|
3956
3982
|
starts_at: string
|
|
3957
3983
|
ends_at: string
|
|
3958
3984
|
}
|
|
3959
3985
|
| undefined
|
|
3986
|
+
/** Full name of the `acs_user`. */
|
|
3960
3987
|
full_name?: string | undefined
|
|
3961
3988
|
/**
|
|
3962
3989
|
* @deprecated use email_address. */
|
|
3963
3990
|
email?: string | undefined
|
|
3991
|
+
/** Phone number of the `acs_user` in E.164 format (for example, `+15555550100`). */
|
|
3964
3992
|
phone_number?: string | undefined
|
|
3993
|
+
/** Email address of the `acs_user`. */
|
|
3965
3994
|
email_address?: string | undefined
|
|
3966
3995
|
}
|
|
3967
3996
|
commonParams: {}
|
|
3968
3997
|
formData: {}
|
|
3969
3998
|
jsonResponse: {
|
|
3970
3999
|
acs_user: {
|
|
4000
|
+
/** ID of the `acs_user`. */
|
|
3971
4001
|
acs_user_id: string
|
|
4002
|
+
/** ID of the access control system that contains the `acs_user`. */
|
|
3972
4003
|
acs_system_id: string
|
|
3973
4004
|
hid_acs_system_id?: string | undefined
|
|
4005
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_user`. */
|
|
3974
4006
|
workspace_id: string
|
|
4007
|
+
/** Date and time at which the `acs_user` was created. */
|
|
3975
4008
|
created_at: string
|
|
4009
|
+
/** Display name for the `acs_user`. */
|
|
3976
4010
|
display_name: string
|
|
4011
|
+
/** Brand-specific terminology for the `acs_user` type. */
|
|
3977
4012
|
external_type?:
|
|
3978
4013
|
| (
|
|
3979
4014
|
| 'pti_user'
|
|
@@ -3983,20 +4018,30 @@ export interface Routes {
|
|
|
3983
4018
|
| 'latch_user'
|
|
3984
4019
|
)
|
|
3985
4020
|
| undefined
|
|
4021
|
+
/** Display name that corresponds to the brand-specific terminology for the `acs_user` type. */
|
|
3986
4022
|
external_type_display_name?: string | undefined
|
|
4023
|
+
/** Indicates whether the `acs_user` is currently [suspended](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users). */
|
|
3987
4024
|
is_suspended: boolean
|
|
4025
|
+
/** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
|
|
3988
4026
|
access_schedule?:
|
|
3989
4027
|
| {
|
|
3990
4028
|
starts_at: string
|
|
3991
4029
|
ends_at: string
|
|
3992
4030
|
}
|
|
3993
4031
|
| undefined
|
|
4032
|
+
/** ID of the user identity associated with the `acs_user`. */
|
|
3994
4033
|
user_identity_id?: string | undefined
|
|
4034
|
+
/** Full name of the user identity associated with the `acs_user`. */
|
|
3995
4035
|
user_identity_full_name?: (string | null) | undefined
|
|
4036
|
+
/** Email address of the user identity associated with the `acs_user`. */
|
|
3996
4037
|
user_identity_email_address?: (string | null) | undefined
|
|
4038
|
+
/** Phone number of the user identity associated with the `acs_user` in E.164 format (for example, `+15555550100`). */
|
|
3997
4039
|
user_identity_phone_number?: (string | null) | undefined
|
|
4040
|
+
/** */
|
|
3998
4041
|
latest_desired_state_synced_with_provider_at?: string | undefined
|
|
4042
|
+
/** */
|
|
3999
4043
|
is_latest_desired_state_synced_with_provider?: boolean | undefined
|
|
4044
|
+
/** Warnings associated with the `acs_user`. */
|
|
4000
4045
|
warnings: Array<
|
|
4001
4046
|
| {
|
|
4002
4047
|
created_at: string
|
|
@@ -4009,6 +4054,7 @@ export interface Routes {
|
|
|
4009
4054
|
warning_code: 'salto_ks_user_not_subscribed'
|
|
4010
4055
|
}
|
|
4011
4056
|
>
|
|
4057
|
+
/** Errors associated with the `acs_user`. */
|
|
4012
4058
|
errors: Array<
|
|
4013
4059
|
| {
|
|
4014
4060
|
/** Date and time at which Seam created the error. */
|
|
@@ -4046,11 +4092,14 @@ export interface Routes {
|
|
|
4046
4092
|
error_code: 'failed_to_delete_on_acs_system'
|
|
4047
4093
|
}
|
|
4048
4094
|
>
|
|
4095
|
+
/** Full name of the `acs_user`. */
|
|
4049
4096
|
full_name?: string | undefined
|
|
4050
4097
|
/**
|
|
4051
4098
|
* @deprecated use email_address. */
|
|
4052
4099
|
email?: string | undefined
|
|
4100
|
+
/** Email address of the `acs_user`. */
|
|
4053
4101
|
email_address?: string | undefined
|
|
4102
|
+
/** Phone number of the `acs_user` in E.164 format (for example, `+15555550100`). */
|
|
4054
4103
|
phone_number?: string | undefined
|
|
4055
4104
|
is_managed: true
|
|
4056
4105
|
}
|
|
@@ -4062,6 +4111,7 @@ export interface Routes {
|
|
|
4062
4111
|
queryParams: {}
|
|
4063
4112
|
jsonBody: {}
|
|
4064
4113
|
commonParams: {
|
|
4114
|
+
/** ID of the desired `acs_user`. */
|
|
4065
4115
|
acs_user_id: string
|
|
4066
4116
|
}
|
|
4067
4117
|
formData: {}
|
|
@@ -4073,17 +4123,24 @@ export interface Routes {
|
|
|
4073
4123
|
queryParams: {}
|
|
4074
4124
|
jsonBody: {}
|
|
4075
4125
|
commonParams: {
|
|
4126
|
+
/** ID of the desired `acs_user`. */
|
|
4076
4127
|
acs_user_id: string
|
|
4077
4128
|
}
|
|
4078
4129
|
formData: {}
|
|
4079
4130
|
jsonResponse: {
|
|
4080
4131
|
acs_user: {
|
|
4132
|
+
/** ID of the `acs_user`. */
|
|
4081
4133
|
acs_user_id: string
|
|
4134
|
+
/** ID of the access control system that contains the `acs_user`. */
|
|
4082
4135
|
acs_system_id: string
|
|
4083
4136
|
hid_acs_system_id?: string | undefined
|
|
4137
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_user`. */
|
|
4084
4138
|
workspace_id: string
|
|
4139
|
+
/** Date and time at which the `acs_user` was created. */
|
|
4085
4140
|
created_at: string
|
|
4141
|
+
/** Display name for the `acs_user`. */
|
|
4086
4142
|
display_name: string
|
|
4143
|
+
/** Brand-specific terminology for the `acs_user` type. */
|
|
4087
4144
|
external_type?:
|
|
4088
4145
|
| (
|
|
4089
4146
|
| 'pti_user'
|
|
@@ -4093,20 +4150,30 @@ export interface Routes {
|
|
|
4093
4150
|
| 'latch_user'
|
|
4094
4151
|
)
|
|
4095
4152
|
| undefined
|
|
4153
|
+
/** Display name that corresponds to the brand-specific terminology for the `acs_user` type. */
|
|
4096
4154
|
external_type_display_name?: string | undefined
|
|
4155
|
+
/** Indicates whether the `acs_user` is currently [suspended](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users). */
|
|
4097
4156
|
is_suspended: boolean
|
|
4157
|
+
/** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
|
|
4098
4158
|
access_schedule?:
|
|
4099
4159
|
| {
|
|
4100
4160
|
starts_at: string
|
|
4101
4161
|
ends_at: string
|
|
4102
4162
|
}
|
|
4103
4163
|
| undefined
|
|
4164
|
+
/** ID of the user identity associated with the `acs_user`. */
|
|
4104
4165
|
user_identity_id?: string | undefined
|
|
4166
|
+
/** Full name of the user identity associated with the `acs_user`. */
|
|
4105
4167
|
user_identity_full_name?: (string | null) | undefined
|
|
4168
|
+
/** Email address of the user identity associated with the `acs_user`. */
|
|
4106
4169
|
user_identity_email_address?: (string | null) | undefined
|
|
4170
|
+
/** Phone number of the user identity associated with the `acs_user` in E.164 format (for example, `+15555550100`). */
|
|
4107
4171
|
user_identity_phone_number?: (string | null) | undefined
|
|
4172
|
+
/** */
|
|
4108
4173
|
latest_desired_state_synced_with_provider_at?: string | undefined
|
|
4174
|
+
/** */
|
|
4109
4175
|
is_latest_desired_state_synced_with_provider?: boolean | undefined
|
|
4176
|
+
/** Warnings associated with the `acs_user`. */
|
|
4110
4177
|
warnings: Array<
|
|
4111
4178
|
| {
|
|
4112
4179
|
created_at: string
|
|
@@ -4119,6 +4186,7 @@ export interface Routes {
|
|
|
4119
4186
|
warning_code: 'salto_ks_user_not_subscribed'
|
|
4120
4187
|
}
|
|
4121
4188
|
>
|
|
4189
|
+
/** Errors associated with the `acs_user`. */
|
|
4122
4190
|
errors: Array<
|
|
4123
4191
|
| {
|
|
4124
4192
|
/** Date and time at which Seam created the error. */
|
|
@@ -4156,11 +4224,14 @@ export interface Routes {
|
|
|
4156
4224
|
error_code: 'failed_to_delete_on_acs_system'
|
|
4157
4225
|
}
|
|
4158
4226
|
>
|
|
4227
|
+
/** Full name of the `acs_user`. */
|
|
4159
4228
|
full_name?: string | undefined
|
|
4160
4229
|
/**
|
|
4161
4230
|
* @deprecated use email_address. */
|
|
4162
4231
|
email?: string | undefined
|
|
4232
|
+
/** Email address of the `acs_user`. */
|
|
4163
4233
|
email_address?: string | undefined
|
|
4234
|
+
/** Phone number of the `acs_user` in E.164 format (for example, `+15555550100`). */
|
|
4164
4235
|
phone_number?: string | undefined
|
|
4165
4236
|
is_managed: true
|
|
4166
4237
|
}
|
|
@@ -4172,9 +4243,13 @@ export interface Routes {
|
|
|
4172
4243
|
queryParams: {}
|
|
4173
4244
|
jsonBody: {}
|
|
4174
4245
|
commonParams: {
|
|
4246
|
+
/** ID of the user identity for which you want to retrieve all `acs_user`s. */
|
|
4175
4247
|
user_identity_id?: string | undefined
|
|
4248
|
+
/** Phone number of the user identity for which you want to retrieve all `acs_user`s, in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, `+15555550100`). */
|
|
4176
4249
|
user_identity_phone_number?: string | undefined
|
|
4250
|
+
/** Email address of the user identity for which you want to retrieve all `acs_user`s. */
|
|
4177
4251
|
user_identity_email_address?: string | undefined
|
|
4252
|
+
/** ID of the `acs_system` for which you want to retrieve all `acs_user`s. */
|
|
4178
4253
|
acs_system_id?: string | undefined
|
|
4179
4254
|
limit?: number
|
|
4180
4255
|
created_before?: Date | undefined
|
|
@@ -4182,12 +4257,18 @@ export interface Routes {
|
|
|
4182
4257
|
formData: {}
|
|
4183
4258
|
jsonResponse: {
|
|
4184
4259
|
acs_users: Array<{
|
|
4260
|
+
/** ID of the `acs_user`. */
|
|
4185
4261
|
acs_user_id: string
|
|
4262
|
+
/** ID of the access control system that contains the `acs_user`. */
|
|
4186
4263
|
acs_system_id: string
|
|
4187
4264
|
hid_acs_system_id?: string | undefined
|
|
4265
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_user`. */
|
|
4188
4266
|
workspace_id: string
|
|
4267
|
+
/** Date and time at which the `acs_user` was created. */
|
|
4189
4268
|
created_at: string
|
|
4269
|
+
/** Display name for the `acs_user`. */
|
|
4190
4270
|
display_name: string
|
|
4271
|
+
/** Brand-specific terminology for the `acs_user` type. */
|
|
4191
4272
|
external_type?:
|
|
4192
4273
|
| (
|
|
4193
4274
|
| 'pti_user'
|
|
@@ -4197,20 +4278,30 @@ export interface Routes {
|
|
|
4197
4278
|
| 'latch_user'
|
|
4198
4279
|
)
|
|
4199
4280
|
| undefined
|
|
4281
|
+
/** Display name that corresponds to the brand-specific terminology for the `acs_user` type. */
|
|
4200
4282
|
external_type_display_name?: string | undefined
|
|
4283
|
+
/** Indicates whether the `acs_user` is currently [suspended](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users). */
|
|
4201
4284
|
is_suspended: boolean
|
|
4285
|
+
/** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
|
|
4202
4286
|
access_schedule?:
|
|
4203
4287
|
| {
|
|
4204
4288
|
starts_at: string
|
|
4205
4289
|
ends_at: string
|
|
4206
4290
|
}
|
|
4207
4291
|
| undefined
|
|
4292
|
+
/** ID of the user identity associated with the `acs_user`. */
|
|
4208
4293
|
user_identity_id?: string | undefined
|
|
4294
|
+
/** Full name of the user identity associated with the `acs_user`. */
|
|
4209
4295
|
user_identity_full_name?: (string | null) | undefined
|
|
4296
|
+
/** Email address of the user identity associated with the `acs_user`. */
|
|
4210
4297
|
user_identity_email_address?: (string | null) | undefined
|
|
4298
|
+
/** Phone number of the user identity associated with the `acs_user` in E.164 format (for example, `+15555550100`). */
|
|
4211
4299
|
user_identity_phone_number?: (string | null) | undefined
|
|
4300
|
+
/** */
|
|
4212
4301
|
latest_desired_state_synced_with_provider_at?: string | undefined
|
|
4302
|
+
/** */
|
|
4213
4303
|
is_latest_desired_state_synced_with_provider?: boolean | undefined
|
|
4304
|
+
/** Warnings associated with the `acs_user`. */
|
|
4214
4305
|
warnings: Array<
|
|
4215
4306
|
| {
|
|
4216
4307
|
created_at: string
|
|
@@ -4223,6 +4314,7 @@ export interface Routes {
|
|
|
4223
4314
|
warning_code: 'salto_ks_user_not_subscribed'
|
|
4224
4315
|
}
|
|
4225
4316
|
>
|
|
4317
|
+
/** Errors associated with the `acs_user`. */
|
|
4226
4318
|
errors: Array<
|
|
4227
4319
|
| {
|
|
4228
4320
|
/** Date and time at which Seam created the error. */
|
|
@@ -4260,11 +4352,14 @@ export interface Routes {
|
|
|
4260
4352
|
error_code: 'failed_to_delete_on_acs_system'
|
|
4261
4353
|
}
|
|
4262
4354
|
>
|
|
4355
|
+
/** Full name of the `acs_user`. */
|
|
4263
4356
|
full_name?: string | undefined
|
|
4264
4357
|
/**
|
|
4265
4358
|
* @deprecated use email_address. */
|
|
4266
4359
|
email?: string | undefined
|
|
4360
|
+
/** Email address of the `acs_user`. */
|
|
4267
4361
|
email_address?: string | undefined
|
|
4362
|
+
/** Phone number of the `acs_user` in E.164 format (for example, `+15555550100`). */
|
|
4268
4363
|
phone_number?: string | undefined
|
|
4269
4364
|
is_managed: true
|
|
4270
4365
|
}>
|
|
@@ -4276,6 +4371,7 @@ export interface Routes {
|
|
|
4276
4371
|
queryParams: {}
|
|
4277
4372
|
jsonBody: {}
|
|
4278
4373
|
commonParams: {
|
|
4374
|
+
/** ID of the desired `acs_user`. */
|
|
4279
4375
|
acs_user_id: string
|
|
4280
4376
|
}
|
|
4281
4377
|
formData: {}
|
|
@@ -4323,7 +4419,9 @@ export interface Routes {
|
|
|
4323
4419
|
queryParams: {}
|
|
4324
4420
|
jsonBody: {}
|
|
4325
4421
|
commonParams: {
|
|
4422
|
+
/** ID of the desired `acs_user`. */
|
|
4326
4423
|
acs_user_id: string
|
|
4424
|
+
/** ID of the desired access group. */
|
|
4327
4425
|
acs_access_group_id: string
|
|
4328
4426
|
}
|
|
4329
4427
|
formData: {}
|
|
@@ -4334,6 +4432,7 @@ export interface Routes {
|
|
|
4334
4432
|
method: 'POST'
|
|
4335
4433
|
queryParams: {}
|
|
4336
4434
|
jsonBody: {
|
|
4435
|
+
/** ID of the desired `acs_user`. */
|
|
4337
4436
|
acs_user_id: string
|
|
4338
4437
|
}
|
|
4339
4438
|
commonParams: {}
|
|
@@ -4346,6 +4445,7 @@ export interface Routes {
|
|
|
4346
4445
|
queryParams: {}
|
|
4347
4446
|
jsonBody: {}
|
|
4348
4447
|
commonParams: {
|
|
4448
|
+
/** ID of the desired `acs_user`. */
|
|
4349
4449
|
acs_user_id: string
|
|
4350
4450
|
}
|
|
4351
4451
|
formData: {}
|
|
@@ -4362,12 +4462,18 @@ export interface Routes {
|
|
|
4362
4462
|
formData: {}
|
|
4363
4463
|
jsonResponse: {
|
|
4364
4464
|
acs_user: {
|
|
4465
|
+
/** ID of the `acs_user`. */
|
|
4365
4466
|
acs_user_id: string
|
|
4467
|
+
/** ID of the access control system that contains the `acs_user`. */
|
|
4366
4468
|
acs_system_id: string
|
|
4367
4469
|
hid_acs_system_id?: string | undefined
|
|
4470
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_user`. */
|
|
4368
4471
|
workspace_id: string
|
|
4472
|
+
/** Date and time at which the `acs_user` was created. */
|
|
4369
4473
|
created_at: string
|
|
4474
|
+
/** Display name for the `acs_user`. */
|
|
4370
4475
|
display_name: string
|
|
4476
|
+
/** Brand-specific terminology for the `acs_user` type. */
|
|
4371
4477
|
external_type?:
|
|
4372
4478
|
| (
|
|
4373
4479
|
| 'pti_user'
|
|
@@ -4377,20 +4483,30 @@ export interface Routes {
|
|
|
4377
4483
|
| 'latch_user'
|
|
4378
4484
|
)
|
|
4379
4485
|
| undefined
|
|
4486
|
+
/** Display name that corresponds to the brand-specific terminology for the `acs_user` type. */
|
|
4380
4487
|
external_type_display_name?: string | undefined
|
|
4488
|
+
/** Indicates whether the `acs_user` is currently [suspended](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users). */
|
|
4381
4489
|
is_suspended: boolean
|
|
4490
|
+
/** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
|
|
4382
4491
|
access_schedule?:
|
|
4383
4492
|
| {
|
|
4384
4493
|
starts_at: string
|
|
4385
4494
|
ends_at: string
|
|
4386
4495
|
}
|
|
4387
4496
|
| undefined
|
|
4497
|
+
/** ID of the user identity associated with the `acs_user`. */
|
|
4388
4498
|
user_identity_id?: string | undefined
|
|
4499
|
+
/** Full name of the user identity associated with the `acs_user`. */
|
|
4389
4500
|
user_identity_full_name?: (string | null) | undefined
|
|
4501
|
+
/** Email address of the user identity associated with the `acs_user`. */
|
|
4390
4502
|
user_identity_email_address?: (string | null) | undefined
|
|
4503
|
+
/** Phone number of the user identity associated with the `acs_user` in E.164 format (for example, `+15555550100`). */
|
|
4391
4504
|
user_identity_phone_number?: (string | null) | undefined
|
|
4505
|
+
/** */
|
|
4392
4506
|
latest_desired_state_synced_with_provider_at?: string | undefined
|
|
4507
|
+
/** */
|
|
4393
4508
|
is_latest_desired_state_synced_with_provider?: boolean | undefined
|
|
4509
|
+
/** Warnings associated with the `acs_user`. */
|
|
4394
4510
|
warnings: Array<
|
|
4395
4511
|
| {
|
|
4396
4512
|
created_at: string
|
|
@@ -4403,6 +4519,7 @@ export interface Routes {
|
|
|
4403
4519
|
warning_code: 'salto_ks_user_not_subscribed'
|
|
4404
4520
|
}
|
|
4405
4521
|
>
|
|
4522
|
+
/** Errors associated with the `acs_user`. */
|
|
4406
4523
|
errors: Array<
|
|
4407
4524
|
| {
|
|
4408
4525
|
/** Date and time at which Seam created the error. */
|
|
@@ -4440,11 +4557,14 @@ export interface Routes {
|
|
|
4440
4557
|
error_code: 'failed_to_delete_on_acs_system'
|
|
4441
4558
|
}
|
|
4442
4559
|
>
|
|
4560
|
+
/** Full name of the `acs_user`. */
|
|
4443
4561
|
full_name?: string | undefined
|
|
4444
4562
|
/**
|
|
4445
4563
|
* @deprecated use email_address. */
|
|
4446
4564
|
email?: string | undefined
|
|
4565
|
+
/** Email address of the `acs_user`. */
|
|
4447
4566
|
email_address?: string | undefined
|
|
4567
|
+
/** Phone number of the `acs_user` in E.164 format (for example, `+15555550100`). */
|
|
4448
4568
|
phone_number?: string | undefined
|
|
4449
4569
|
is_managed: false
|
|
4450
4570
|
}
|
|
@@ -4465,12 +4585,18 @@ export interface Routes {
|
|
|
4465
4585
|
formData: {}
|
|
4466
4586
|
jsonResponse: {
|
|
4467
4587
|
acs_users: Array<{
|
|
4588
|
+
/** ID of the `acs_user`. */
|
|
4468
4589
|
acs_user_id: string
|
|
4590
|
+
/** ID of the access control system that contains the `acs_user`. */
|
|
4469
4591
|
acs_system_id: string
|
|
4470
4592
|
hid_acs_system_id?: string | undefined
|
|
4593
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_user`. */
|
|
4471
4594
|
workspace_id: string
|
|
4595
|
+
/** Date and time at which the `acs_user` was created. */
|
|
4472
4596
|
created_at: string
|
|
4597
|
+
/** Display name for the `acs_user`. */
|
|
4473
4598
|
display_name: string
|
|
4599
|
+
/** Brand-specific terminology for the `acs_user` type. */
|
|
4474
4600
|
external_type?:
|
|
4475
4601
|
| (
|
|
4476
4602
|
| 'pti_user'
|
|
@@ -4480,20 +4606,30 @@ export interface Routes {
|
|
|
4480
4606
|
| 'latch_user'
|
|
4481
4607
|
)
|
|
4482
4608
|
| undefined
|
|
4609
|
+
/** Display name that corresponds to the brand-specific terminology for the `acs_user` type. */
|
|
4483
4610
|
external_type_display_name?: string | undefined
|
|
4611
|
+
/** Indicates whether the `acs_user` is currently [suspended](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users). */
|
|
4484
4612
|
is_suspended: boolean
|
|
4613
|
+
/** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
|
|
4485
4614
|
access_schedule?:
|
|
4486
4615
|
| {
|
|
4487
4616
|
starts_at: string
|
|
4488
4617
|
ends_at: string
|
|
4489
4618
|
}
|
|
4490
4619
|
| undefined
|
|
4620
|
+
/** ID of the user identity associated with the `acs_user`. */
|
|
4491
4621
|
user_identity_id?: string | undefined
|
|
4622
|
+
/** Full name of the user identity associated with the `acs_user`. */
|
|
4492
4623
|
user_identity_full_name?: (string | null) | undefined
|
|
4624
|
+
/** Email address of the user identity associated with the `acs_user`. */
|
|
4493
4625
|
user_identity_email_address?: (string | null) | undefined
|
|
4626
|
+
/** Phone number of the user identity associated with the `acs_user` in E.164 format (for example, `+15555550100`). */
|
|
4494
4627
|
user_identity_phone_number?: (string | null) | undefined
|
|
4628
|
+
/** */
|
|
4495
4629
|
latest_desired_state_synced_with_provider_at?: string | undefined
|
|
4630
|
+
/** */
|
|
4496
4631
|
is_latest_desired_state_synced_with_provider?: boolean | undefined
|
|
4632
|
+
/** Warnings associated with the `acs_user`. */
|
|
4497
4633
|
warnings: Array<
|
|
4498
4634
|
| {
|
|
4499
4635
|
created_at: string
|
|
@@ -4506,6 +4642,7 @@ export interface Routes {
|
|
|
4506
4642
|
warning_code: 'salto_ks_user_not_subscribed'
|
|
4507
4643
|
}
|
|
4508
4644
|
>
|
|
4645
|
+
/** Errors associated with the `acs_user`. */
|
|
4509
4646
|
errors: Array<
|
|
4510
4647
|
| {
|
|
4511
4648
|
/** Date and time at which Seam created the error. */
|
|
@@ -4543,11 +4680,14 @@ export interface Routes {
|
|
|
4543
4680
|
error_code: 'failed_to_delete_on_acs_system'
|
|
4544
4681
|
}
|
|
4545
4682
|
>
|
|
4683
|
+
/** Full name of the `acs_user`. */
|
|
4546
4684
|
full_name?: string | undefined
|
|
4547
4685
|
/**
|
|
4548
4686
|
* @deprecated use email_address. */
|
|
4549
4687
|
email?: string | undefined
|
|
4688
|
+
/** Email address of the `acs_user`. */
|
|
4550
4689
|
email_address?: string | undefined
|
|
4690
|
+
/** Phone number of the `acs_user` in E.164 format (for example, `+15555550100`). */
|
|
4551
4691
|
phone_number?: string | undefined
|
|
4552
4692
|
is_managed: false
|
|
4553
4693
|
}>
|
|
@@ -4559,6 +4699,7 @@ export interface Routes {
|
|
|
4559
4699
|
queryParams: {}
|
|
4560
4700
|
jsonBody: {}
|
|
4561
4701
|
commonParams: {
|
|
4702
|
+
/** ID of the desired `acs_user`. */
|
|
4562
4703
|
acs_user_id: string
|
|
4563
4704
|
}
|
|
4564
4705
|
formData: {}
|
|
@@ -4569,18 +4710,23 @@ export interface Routes {
|
|
|
4569
4710
|
method: 'PATCH' | 'POST'
|
|
4570
4711
|
queryParams: {}
|
|
4571
4712
|
jsonBody: {
|
|
4713
|
+
/** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. If you specify an `access_schedule`, you must include both `starts_at` and `ends_at`. `ends_at` must be a time in the future and after `starts_at`. Only applicable to Salto KS access control systems. */
|
|
4572
4714
|
access_schedule?:
|
|
4573
4715
|
| ({
|
|
4574
4716
|
starts_at: string
|
|
4575
4717
|
ends_at: string
|
|
4576
4718
|
} | null)
|
|
4577
4719
|
| undefined
|
|
4720
|
+
/** ID of the `acs_user`. */
|
|
4578
4721
|
acs_user_id: string
|
|
4722
|
+
/** Full name of the `acs_user`. */
|
|
4579
4723
|
full_name?: string | undefined
|
|
4580
4724
|
/**
|
|
4581
4725
|
* @deprecated use email_address. */
|
|
4582
4726
|
email?: string | undefined
|
|
4727
|
+
/** Phone number of the `acs_user` in E.164 format (for example, `+15555550100`). */
|
|
4583
4728
|
phone_number?: string | undefined
|
|
4729
|
+
/** Email address of the `acs_user`. */
|
|
4584
4730
|
email_address?: string | undefined
|
|
4585
4731
|
hid_acs_system_id?: string | undefined
|
|
4586
4732
|
}
|
|
@@ -20373,12 +20519,18 @@ export interface Routes {
|
|
|
20373
20519
|
formData: {}
|
|
20374
20520
|
jsonResponse: {
|
|
20375
20521
|
acs_users: Array<{
|
|
20522
|
+
/** ID of the `acs_user`. */
|
|
20376
20523
|
acs_user_id: string
|
|
20524
|
+
/** ID of the access control system that contains the `acs_user`. */
|
|
20377
20525
|
acs_system_id: string
|
|
20378
20526
|
hid_acs_system_id?: string | undefined
|
|
20527
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_user`. */
|
|
20379
20528
|
workspace_id: string
|
|
20529
|
+
/** Date and time at which the `acs_user` was created. */
|
|
20380
20530
|
created_at: string
|
|
20531
|
+
/** Display name for the `acs_user`. */
|
|
20381
20532
|
display_name: string
|
|
20533
|
+
/** Brand-specific terminology for the `acs_user` type. */
|
|
20382
20534
|
external_type?:
|
|
20383
20535
|
| (
|
|
20384
20536
|
| 'pti_user'
|
|
@@ -20388,20 +20540,30 @@ export interface Routes {
|
|
|
20388
20540
|
| 'latch_user'
|
|
20389
20541
|
)
|
|
20390
20542
|
| undefined
|
|
20543
|
+
/** Display name that corresponds to the brand-specific terminology for the `acs_user` type. */
|
|
20391
20544
|
external_type_display_name?: string | undefined
|
|
20545
|
+
/** Indicates whether the `acs_user` is currently [suspended](https://docs.seam.co/latest/capability-guides/access-systems/user-management/suspending-and-unsuspending-users). */
|
|
20392
20546
|
is_suspended: boolean
|
|
20547
|
+
/** `starts_at` and `ends_at` timestamps for the `acs_user`'s access. */
|
|
20393
20548
|
access_schedule?:
|
|
20394
20549
|
| {
|
|
20395
20550
|
starts_at: string
|
|
20396
20551
|
ends_at: string
|
|
20397
20552
|
}
|
|
20398
20553
|
| undefined
|
|
20554
|
+
/** ID of the user identity associated with the `acs_user`. */
|
|
20399
20555
|
user_identity_id?: string | undefined
|
|
20556
|
+
/** Full name of the user identity associated with the `acs_user`. */
|
|
20400
20557
|
user_identity_full_name?: (string | null) | undefined
|
|
20558
|
+
/** Email address of the user identity associated with the `acs_user`. */
|
|
20401
20559
|
user_identity_email_address?: (string | null) | undefined
|
|
20560
|
+
/** Phone number of the user identity associated with the `acs_user` in E.164 format (for example, `+15555550100`). */
|
|
20402
20561
|
user_identity_phone_number?: (string | null) | undefined
|
|
20562
|
+
/** */
|
|
20403
20563
|
latest_desired_state_synced_with_provider_at?: string | undefined
|
|
20564
|
+
/** */
|
|
20404
20565
|
is_latest_desired_state_synced_with_provider?: boolean | undefined
|
|
20566
|
+
/** Warnings associated with the `acs_user`. */
|
|
20405
20567
|
warnings: Array<
|
|
20406
20568
|
| {
|
|
20407
20569
|
created_at: string
|
|
@@ -20414,6 +20576,7 @@ export interface Routes {
|
|
|
20414
20576
|
warning_code: 'salto_ks_user_not_subscribed'
|
|
20415
20577
|
}
|
|
20416
20578
|
>
|
|
20579
|
+
/** Errors associated with the `acs_user`. */
|
|
20417
20580
|
errors: Array<
|
|
20418
20581
|
| {
|
|
20419
20582
|
/** Date and time at which Seam created the error. */
|
|
@@ -20451,11 +20614,14 @@ export interface Routes {
|
|
|
20451
20614
|
error_code: 'failed_to_delete_on_acs_system'
|
|
20452
20615
|
}
|
|
20453
20616
|
>
|
|
20617
|
+
/** Full name of the `acs_user`. */
|
|
20454
20618
|
full_name?: string | undefined
|
|
20455
20619
|
/**
|
|
20456
20620
|
* @deprecated use email_address. */
|
|
20457
20621
|
email?: string | undefined
|
|
20622
|
+
/** Email address of the `acs_user`. */
|
|
20458
20623
|
email_address?: string | undefined
|
|
20624
|
+
/** Phone number of the `acs_user` in E.164 format (for example, `+15555550100`). */
|
|
20459
20625
|
phone_number?: string | undefined
|
|
20460
20626
|
is_managed: true
|
|
20461
20627
|
}>
|