@seamapi/types 1.153.0 → 1.153.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.
@@ -165,6 +165,190 @@ export default {
165
165
  ],
166
166
  type: 'object',
167
167
  },
168
+ acs_credential: {
169
+ properties: {
170
+ access_method: {
171
+ enum: ['code', 'card', 'mobile_key'],
172
+ type: 'string',
173
+ },
174
+ acs_credential_id: { format: 'uuid', type: 'string' },
175
+ acs_credential_pool_id: { format: 'uuid', type: 'string' },
176
+ acs_system_id: { format: 'uuid', type: 'string' },
177
+ acs_user_id: { format: 'uuid', type: 'string' },
178
+ code: { nullable: true, type: 'string' },
179
+ created_at: { format: 'date-time', type: 'string' },
180
+ display_name: { minLength: 1, type: 'string' },
181
+ ends_at: { type: 'string' },
182
+ errors: {
183
+ items: {
184
+ properties: {
185
+ error_code: { type: 'string' },
186
+ message: { type: 'string' },
187
+ },
188
+ required: ['error_code', 'message'],
189
+ type: 'object',
190
+ },
191
+ type: 'array',
192
+ },
193
+ external_type: {
194
+ enum: [
195
+ 'pti_card',
196
+ 'brivo_credential',
197
+ 'hid_credential',
198
+ 'visionline_card',
199
+ ],
200
+ type: 'string',
201
+ },
202
+ external_type_display_name: { type: 'string' },
203
+ is_multi_phone_sync_credential: { type: 'boolean' },
204
+ parent_acs_credential_id: { format: 'uuid', type: 'string' },
205
+ starts_at: { type: 'string' },
206
+ visionline_metadata: {
207
+ properties: {
208
+ common_acs_entrance_ids: {
209
+ items: { format: 'uuid', type: 'string' },
210
+ type: 'array',
211
+ },
212
+ guest_acs_entrance_ids: {
213
+ items: { format: 'uuid', type: 'string' },
214
+ type: 'array',
215
+ },
216
+ joiner_acs_credential_ids: {
217
+ items: { format: 'uuid', type: 'string' },
218
+ type: 'array',
219
+ },
220
+ },
221
+ type: 'object',
222
+ },
223
+ warnings: {
224
+ items: {
225
+ properties: {
226
+ message: { type: 'string' },
227
+ warning_code: { type: 'string' },
228
+ },
229
+ required: ['warning_code', 'message'],
230
+ type: 'object',
231
+ },
232
+ type: 'array',
233
+ },
234
+ workspace_id: { format: 'uuid', type: 'string' },
235
+ },
236
+ required: [
237
+ 'acs_credential_id',
238
+ 'acs_system_id',
239
+ 'display_name',
240
+ 'access_method',
241
+ 'created_at',
242
+ 'workspace_id',
243
+ 'errors',
244
+ 'warnings',
245
+ ],
246
+ type: 'object',
247
+ },
248
+ acs_credential_pool: {
249
+ properties: {
250
+ acs_credential_pool_id: { format: 'uuid', type: 'string' },
251
+ acs_system_id: { format: 'uuid', type: 'string' },
252
+ created_at: { format: 'date-time', type: 'string' },
253
+ display_name: { minLength: 1, type: 'string' },
254
+ external_type: { enum: ['hid_part_number'], type: 'string' },
255
+ external_type_display_name: { type: 'string' },
256
+ workspace_id: { format: 'uuid', type: 'string' },
257
+ },
258
+ required: [
259
+ 'acs_credential_pool_id',
260
+ 'acs_system_id',
261
+ 'display_name',
262
+ 'external_type',
263
+ 'external_type_display_name',
264
+ 'created_at',
265
+ 'workspace_id',
266
+ ],
267
+ type: 'object',
268
+ },
269
+ acs_credential_provisioning_automation: {
270
+ properties: {
271
+ acs_credential_provisioning_automation_id: {
272
+ format: 'uuid',
273
+ type: 'string',
274
+ },
275
+ created_at: { format: 'date-time', type: 'string' },
276
+ credential_manager_acs_system_id: { format: 'uuid', type: 'string' },
277
+ user_identity_id: { format: 'uuid', type: 'string' },
278
+ workspace_id: { format: 'uuid', type: 'string' },
279
+ },
280
+ required: [
281
+ 'acs_credential_provisioning_automation_id',
282
+ 'credential_manager_acs_system_id',
283
+ 'user_identity_id',
284
+ 'created_at',
285
+ 'workspace_id',
286
+ ],
287
+ type: 'object',
288
+ },
289
+ acs_entrance: {
290
+ properties: {
291
+ acs_entrance_id: { format: 'uuid', type: 'string' },
292
+ acs_system_id: { format: 'uuid', type: 'string' },
293
+ created_at: { format: 'date-time', type: 'string' },
294
+ display_name: { type: 'string' },
295
+ latch_metadata: {
296
+ nullable: true,
297
+ properties: {
298
+ accessibility_type: { type: 'string' },
299
+ is_connected: { type: 'boolean' },
300
+ name: { type: 'string' },
301
+ type: { type: 'string' },
302
+ },
303
+ required: ['accessibility_type', 'name', 'type', 'is_connected'],
304
+ type: 'object',
305
+ },
306
+ visionline_metadata: {
307
+ nullable: true,
308
+ properties: {
309
+ door_category: {
310
+ enum: [
311
+ 'entrance',
312
+ 'guest',
313
+ 'elevator reader',
314
+ 'common',
315
+ 'common (PMS)',
316
+ ],
317
+ type: 'string',
318
+ },
319
+ door_name: { type: 'string' },
320
+ profiles: {
321
+ items: {
322
+ properties: {
323
+ visionline_door_profile_id: { type: 'string' },
324
+ visionline_door_profile_type: {
325
+ enum: ['BLE', 'commonDoor', 'touch'],
326
+ type: 'string',
327
+ },
328
+ },
329
+ required: [
330
+ 'visionline_door_profile_id',
331
+ 'visionline_door_profile_type',
332
+ ],
333
+ type: 'object',
334
+ },
335
+ type: 'array',
336
+ },
337
+ },
338
+ required: ['door_name', 'door_category'],
339
+ type: 'object',
340
+ },
341
+ },
342
+ required: [
343
+ 'acs_entrance_id',
344
+ 'display_name',
345
+ 'acs_system_id',
346
+ 'created_at',
347
+ 'latch_metadata',
348
+ 'visionline_metadata',
349
+ ],
350
+ type: 'object',
351
+ },
168
352
  acs_system: {
169
353
  properties: {
170
354
  acs_system_id: { format: 'uuid', type: 'string' },
@@ -1844,6 +2028,16 @@ export default {
1844
2028
  ],
1845
2029
  type: 'object',
1846
2030
  },
2031
+ network: {
2032
+ properties: {
2033
+ created_at: { format: 'date-time', type: 'string' },
2034
+ display_name: { type: 'string' },
2035
+ network_id: { format: 'uuid', type: 'string' },
2036
+ workspace_id: { format: 'uuid', type: 'string' },
2037
+ },
2038
+ required: ['network_id', 'workspace_id', 'display_name', 'created_at'],
2039
+ type: 'object',
2040
+ },
1847
2041
  noise_threshold: {
1848
2042
  properties: {
1849
2043
  device_id: { format: 'uuid', type: 'string' },
@@ -2311,6 +2505,29 @@ export default {
2311
2505
  ],
2312
2506
  type: 'object',
2313
2507
  },
2508
+ user_identity: {
2509
+ properties: {
2510
+ created_at: { format: 'date-time', type: 'string' },
2511
+ display_name: { minLength: 1, type: 'string' },
2512
+ email_address: { format: 'email', nullable: true, type: 'string' },
2513
+ full_name: { minLength: 1, nullable: true, type: 'string' },
2514
+ phone_number: { nullable: true, type: 'string' },
2515
+ user_identity_id: { format: 'uuid', type: 'string' },
2516
+ user_identity_key: { minLength: 1, nullable: true, type: 'string' },
2517
+ workspace_id: { format: 'uuid', type: 'string' },
2518
+ },
2519
+ required: [
2520
+ 'user_identity_id',
2521
+ 'user_identity_key',
2522
+ 'email_address',
2523
+ 'phone_number',
2524
+ 'display_name',
2525
+ 'full_name',
2526
+ 'created_at',
2527
+ 'workspace_id',
2528
+ ],
2529
+ type: 'object',
2530
+ },
2314
2531
  webhook: {
2315
2532
  properties: {
2316
2533
  event_types: { items: { type: 'string' }, type: 'array' },
@@ -3650,6 +3867,7 @@ export default {
3650
3867
  tags: ['/acs'],
3651
3868
  'x-fern-sdk-group-name': ['acs', 'access_groups'],
3652
3869
  'x-fern-sdk-method-name': 'get',
3870
+ 'x-fern-sdk-return-value': 'acs_access_group',
3653
3871
  },
3654
3872
  },
3655
3873
  '/acs/access_groups/list': {
@@ -3699,6 +3917,7 @@ export default {
3699
3917
  tags: ['/acs'],
3700
3918
  'x-fern-sdk-group-name': ['acs', 'access_groups'],
3701
3919
  'x-fern-sdk-method-name': 'list',
3920
+ 'x-fern-sdk-return-value': 'acs_access_groups',
3702
3921
  },
3703
3922
  },
3704
3923
  '/acs/access_groups/list_users': {
@@ -3749,6 +3968,7 @@ export default {
3749
3968
  tags: ['/acs'],
3750
3969
  'x-fern-sdk-group-name': ['acs', 'access_groups'],
3751
3970
  'x-fern-sdk-method-name': 'list_users',
3971
+ 'x-fern-sdk-return-value': 'acs_users',
3752
3972
  },
3753
3973
  },
3754
3974
  '/acs/access_groups/remove_user': {
@@ -3819,31 +4039,7 @@ export default {
3819
4039
  properties: {
3820
4040
  acs_credential_pools: {
3821
4041
  items: {
3822
- properties: {
3823
- acs_credential_pool_id: {
3824
- format: 'uuid',
3825
- type: 'string',
3826
- },
3827
- acs_system_id: { format: 'uuid', type: 'string' },
3828
- created_at: { format: 'date-time', type: 'string' },
3829
- display_name: { minLength: 1, type: 'string' },
3830
- external_type: {
3831
- enum: ['hid_part_number'],
3832
- type: 'string',
3833
- },
3834
- external_type_display_name: { type: 'string' },
3835
- workspace_id: { format: 'uuid', type: 'string' },
3836
- },
3837
- required: [
3838
- 'acs_credential_pool_id',
3839
- 'acs_system_id',
3840
- 'display_name',
3841
- 'external_type',
3842
- 'external_type_display_name',
3843
- 'created_at',
3844
- 'workspace_id',
3845
- ],
3846
- type: 'object',
4042
+ $ref: '#/components/schemas/acs_credential_pool',
3847
4043
  },
3848
4044
  type: 'array',
3849
4045
  },
@@ -3868,6 +4064,7 @@ export default {
3868
4064
  tags: ['/acs'],
3869
4065
  'x-fern-sdk-group-name': ['acs', 'credential_pools'],
3870
4066
  'x-fern-sdk-method-name': 'list',
4067
+ 'x-fern-sdk-return-value': 'acs_credential_pools',
3871
4068
  },
3872
4069
  },
3873
4070
  '/acs/credential_provisioning_automations/launch': {
@@ -3906,27 +4103,7 @@ export default {
3906
4103
  schema: {
3907
4104
  properties: {
3908
4105
  acs_credential_provisioning_automation: {
3909
- properties: {
3910
- acs_credential_provisioning_automation_id: {
3911
- format: 'uuid',
3912
- type: 'string',
3913
- },
3914
- created_at: { format: 'date-time', type: 'string' },
3915
- credential_manager_acs_system_id: {
3916
- format: 'uuid',
3917
- type: 'string',
3918
- },
3919
- user_identity_id: { format: 'uuid', type: 'string' },
3920
- workspace_id: { format: 'uuid', type: 'string' },
3921
- },
3922
- required: [
3923
- 'acs_credential_provisioning_automation_id',
3924
- 'credential_manager_acs_system_id',
3925
- 'user_identity_id',
3926
- 'created_at',
3927
- 'workspace_id',
3928
- ],
3929
- type: 'object',
4106
+ $ref: '#/components/schemas/acs_credential_provisioning_automation',
3930
4107
  },
3931
4108
  ok: { type: 'boolean' },
3932
4109
  },
@@ -3949,6 +4126,7 @@ export default {
3949
4126
  tags: ['/acs'],
3950
4127
  'x-fern-sdk-group-name': ['acs', 'credential_provisioning_automations'],
3951
4128
  'x-fern-sdk-method-name': 'launch',
4129
+ 'x-fern-sdk-return-value': 'acs_credential_provisioning_automation',
3952
4130
  },
3953
4131
  },
3954
4132
  '/acs/credentials/assign': {
@@ -3975,90 +4153,7 @@ export default {
3975
4153
  schema: {
3976
4154
  properties: {
3977
4155
  acs_credential: {
3978
- properties: {
3979
- access_method: {
3980
- enum: ['code', 'card', 'mobile_key'],
3981
- type: 'string',
3982
- },
3983
- acs_credential_id: { format: 'uuid', type: 'string' },
3984
- acs_credential_pool_id: {
3985
- format: 'uuid',
3986
- type: 'string',
3987
- },
3988
- acs_system_id: { format: 'uuid', type: 'string' },
3989
- acs_user_id: { format: 'uuid', type: 'string' },
3990
- code: { nullable: true, type: 'string' },
3991
- created_at: { format: 'date-time', type: 'string' },
3992
- display_name: { minLength: 1, type: 'string' },
3993
- ends_at: { type: 'string' },
3994
- errors: {
3995
- items: {
3996
- properties: {
3997
- error_code: { type: 'string' },
3998
- message: { type: 'string' },
3999
- },
4000
- required: ['error_code', 'message'],
4001
- type: 'object',
4002
- },
4003
- type: 'array',
4004
- },
4005
- external_type: {
4006
- enum: [
4007
- 'pti_card',
4008
- 'brivo_credential',
4009
- 'hid_credential',
4010
- 'visionline_card',
4011
- ],
4012
- type: 'string',
4013
- },
4014
- external_type_display_name: { type: 'string' },
4015
- is_multi_phone_sync_credential: { type: 'boolean' },
4016
- parent_acs_credential_id: {
4017
- format: 'uuid',
4018
- type: 'string',
4019
- },
4020
- starts_at: { type: 'string' },
4021
- visionline_metadata: {
4022
- properties: {
4023
- common_acs_entrance_ids: {
4024
- items: { format: 'uuid', type: 'string' },
4025
- type: 'array',
4026
- },
4027
- guest_acs_entrance_ids: {
4028
- items: { format: 'uuid', type: 'string' },
4029
- type: 'array',
4030
- },
4031
- joiner_acs_credential_ids: {
4032
- items: { format: 'uuid', type: 'string' },
4033
- type: 'array',
4034
- },
4035
- },
4036
- type: 'object',
4037
- },
4038
- warnings: {
4039
- items: {
4040
- properties: {
4041
- message: { type: 'string' },
4042
- warning_code: { type: 'string' },
4043
- },
4044
- required: ['warning_code', 'message'],
4045
- type: 'object',
4046
- },
4047
- type: 'array',
4048
- },
4049
- workspace_id: { format: 'uuid', type: 'string' },
4050
- },
4051
- required: [
4052
- 'acs_credential_id',
4053
- 'acs_system_id',
4054
- 'display_name',
4055
- 'access_method',
4056
- 'created_at',
4057
- 'workspace_id',
4058
- 'errors',
4059
- 'warnings',
4060
- ],
4061
- type: 'object',
4156
+ $ref: '#/components/schemas/acs_credential',
4062
4157
  },
4063
4158
  ok: { type: 'boolean' },
4064
4159
  },
@@ -4104,90 +4199,7 @@ export default {
4104
4199
  schema: {
4105
4200
  properties: {
4106
4201
  acs_credential: {
4107
- properties: {
4108
- access_method: {
4109
- enum: ['code', 'card', 'mobile_key'],
4110
- type: 'string',
4111
- },
4112
- acs_credential_id: { format: 'uuid', type: 'string' },
4113
- acs_credential_pool_id: {
4114
- format: 'uuid',
4115
- type: 'string',
4116
- },
4117
- acs_system_id: { format: 'uuid', type: 'string' },
4118
- acs_user_id: { format: 'uuid', type: 'string' },
4119
- code: { nullable: true, type: 'string' },
4120
- created_at: { format: 'date-time', type: 'string' },
4121
- display_name: { minLength: 1, type: 'string' },
4122
- ends_at: { type: 'string' },
4123
- errors: {
4124
- items: {
4125
- properties: {
4126
- error_code: { type: 'string' },
4127
- message: { type: 'string' },
4128
- },
4129
- required: ['error_code', 'message'],
4130
- type: 'object',
4131
- },
4132
- type: 'array',
4133
- },
4134
- external_type: {
4135
- enum: [
4136
- 'pti_card',
4137
- 'brivo_credential',
4138
- 'hid_credential',
4139
- 'visionline_card',
4140
- ],
4141
- type: 'string',
4142
- },
4143
- external_type_display_name: { type: 'string' },
4144
- is_multi_phone_sync_credential: { type: 'boolean' },
4145
- parent_acs_credential_id: {
4146
- format: 'uuid',
4147
- type: 'string',
4148
- },
4149
- starts_at: { type: 'string' },
4150
- visionline_metadata: {
4151
- properties: {
4152
- common_acs_entrance_ids: {
4153
- items: { format: 'uuid', type: 'string' },
4154
- type: 'array',
4155
- },
4156
- guest_acs_entrance_ids: {
4157
- items: { format: 'uuid', type: 'string' },
4158
- type: 'array',
4159
- },
4160
- joiner_acs_credential_ids: {
4161
- items: { format: 'uuid', type: 'string' },
4162
- type: 'array',
4163
- },
4164
- },
4165
- type: 'object',
4166
- },
4167
- warnings: {
4168
- items: {
4169
- properties: {
4170
- message: { type: 'string' },
4171
- warning_code: { type: 'string' },
4172
- },
4173
- required: ['warning_code', 'message'],
4174
- type: 'object',
4175
- },
4176
- type: 'array',
4177
- },
4178
- workspace_id: { format: 'uuid', type: 'string' },
4179
- },
4180
- required: [
4181
- 'acs_credential_id',
4182
- 'acs_system_id',
4183
- 'display_name',
4184
- 'access_method',
4185
- 'created_at',
4186
- 'workspace_id',
4187
- 'errors',
4188
- 'warnings',
4189
- ],
4190
- type: 'object',
4202
+ $ref: '#/components/schemas/acs_credential',
4191
4203
  },
4192
4204
  ok: { type: 'boolean' },
4193
4205
  },
@@ -4273,90 +4285,7 @@ export default {
4273
4285
  schema: {
4274
4286
  properties: {
4275
4287
  acs_credential: {
4276
- properties: {
4277
- access_method: {
4278
- enum: ['code', 'card', 'mobile_key'],
4279
- type: 'string',
4280
- },
4281
- acs_credential_id: { format: 'uuid', type: 'string' },
4282
- acs_credential_pool_id: {
4283
- format: 'uuid',
4284
- type: 'string',
4285
- },
4286
- acs_system_id: { format: 'uuid', type: 'string' },
4287
- acs_user_id: { format: 'uuid', type: 'string' },
4288
- code: { nullable: true, type: 'string' },
4289
- created_at: { format: 'date-time', type: 'string' },
4290
- display_name: { minLength: 1, type: 'string' },
4291
- ends_at: { type: 'string' },
4292
- errors: {
4293
- items: {
4294
- properties: {
4295
- error_code: { type: 'string' },
4296
- message: { type: 'string' },
4297
- },
4298
- required: ['error_code', 'message'],
4299
- type: 'object',
4300
- },
4301
- type: 'array',
4302
- },
4303
- external_type: {
4304
- enum: [
4305
- 'pti_card',
4306
- 'brivo_credential',
4307
- 'hid_credential',
4308
- 'visionline_card',
4309
- ],
4310
- type: 'string',
4311
- },
4312
- external_type_display_name: { type: 'string' },
4313
- is_multi_phone_sync_credential: { type: 'boolean' },
4314
- parent_acs_credential_id: {
4315
- format: 'uuid',
4316
- type: 'string',
4317
- },
4318
- starts_at: { type: 'string' },
4319
- visionline_metadata: {
4320
- properties: {
4321
- common_acs_entrance_ids: {
4322
- items: { format: 'uuid', type: 'string' },
4323
- type: 'array',
4324
- },
4325
- guest_acs_entrance_ids: {
4326
- items: { format: 'uuid', type: 'string' },
4327
- type: 'array',
4328
- },
4329
- joiner_acs_credential_ids: {
4330
- items: { format: 'uuid', type: 'string' },
4331
- type: 'array',
4332
- },
4333
- },
4334
- type: 'object',
4335
- },
4336
- warnings: {
4337
- items: {
4338
- properties: {
4339
- message: { type: 'string' },
4340
- warning_code: { type: 'string' },
4341
- },
4342
- required: ['warning_code', 'message'],
4343
- type: 'object',
4344
- },
4345
- type: 'array',
4346
- },
4347
- workspace_id: { format: 'uuid', type: 'string' },
4348
- },
4349
- required: [
4350
- 'acs_credential_id',
4351
- 'acs_system_id',
4352
- 'display_name',
4353
- 'access_method',
4354
- 'created_at',
4355
- 'workspace_id',
4356
- 'errors',
4357
- 'warnings',
4358
- ],
4359
- type: 'object',
4288
+ $ref: '#/components/schemas/acs_credential',
4360
4289
  },
4361
4290
  ok: { type: 'boolean' },
4362
4291
  },
@@ -4379,6 +4308,7 @@ export default {
4379
4308
  tags: ['/acs'],
4380
4309
  'x-fern-sdk-group-name': ['acs', 'credentials'],
4381
4310
  'x-fern-sdk-method-name': 'create',
4311
+ 'x-fern-sdk-return-value': 'acs_credential',
4382
4312
  },
4383
4313
  },
4384
4314
  '/acs/credentials/delete': {
@@ -4447,90 +4377,7 @@ export default {
4447
4377
  schema: {
4448
4378
  properties: {
4449
4379
  acs_credential: {
4450
- properties: {
4451
- access_method: {
4452
- enum: ['code', 'card', 'mobile_key'],
4453
- type: 'string',
4454
- },
4455
- acs_credential_id: { format: 'uuid', type: 'string' },
4456
- acs_credential_pool_id: {
4457
- format: 'uuid',
4458
- type: 'string',
4459
- },
4460
- acs_system_id: { format: 'uuid', type: 'string' },
4461
- acs_user_id: { format: 'uuid', type: 'string' },
4462
- code: { nullable: true, type: 'string' },
4463
- created_at: { format: 'date-time', type: 'string' },
4464
- display_name: { minLength: 1, type: 'string' },
4465
- ends_at: { type: 'string' },
4466
- errors: {
4467
- items: {
4468
- properties: {
4469
- error_code: { type: 'string' },
4470
- message: { type: 'string' },
4471
- },
4472
- required: ['error_code', 'message'],
4473
- type: 'object',
4474
- },
4475
- type: 'array',
4476
- },
4477
- external_type: {
4478
- enum: [
4479
- 'pti_card',
4480
- 'brivo_credential',
4481
- 'hid_credential',
4482
- 'visionline_card',
4483
- ],
4484
- type: 'string',
4485
- },
4486
- external_type_display_name: { type: 'string' },
4487
- is_multi_phone_sync_credential: { type: 'boolean' },
4488
- parent_acs_credential_id: {
4489
- format: 'uuid',
4490
- type: 'string',
4491
- },
4492
- starts_at: { type: 'string' },
4493
- visionline_metadata: {
4494
- properties: {
4495
- common_acs_entrance_ids: {
4496
- items: { format: 'uuid', type: 'string' },
4497
- type: 'array',
4498
- },
4499
- guest_acs_entrance_ids: {
4500
- items: { format: 'uuid', type: 'string' },
4501
- type: 'array',
4502
- },
4503
- joiner_acs_credential_ids: {
4504
- items: { format: 'uuid', type: 'string' },
4505
- type: 'array',
4506
- },
4507
- },
4508
- type: 'object',
4509
- },
4510
- warnings: {
4511
- items: {
4512
- properties: {
4513
- message: { type: 'string' },
4514
- warning_code: { type: 'string' },
4515
- },
4516
- required: ['warning_code', 'message'],
4517
- type: 'object',
4518
- },
4519
- type: 'array',
4520
- },
4521
- workspace_id: { format: 'uuid', type: 'string' },
4522
- },
4523
- required: [
4524
- 'acs_credential_id',
4525
- 'acs_system_id',
4526
- 'display_name',
4527
- 'access_method',
4528
- 'created_at',
4529
- 'workspace_id',
4530
- 'errors',
4531
- 'warnings',
4532
- ],
4533
- type: 'object',
4380
+ $ref: '#/components/schemas/acs_credential',
4534
4381
  },
4535
4382
  ok: { type: 'boolean' },
4536
4383
  },
@@ -4553,6 +4400,7 @@ export default {
4553
4400
  tags: ['/acs'],
4554
4401
  'x-fern-sdk-group-name': ['acs', 'credentials'],
4555
4402
  'x-fern-sdk-method-name': 'get',
4403
+ 'x-fern-sdk-return-value': 'acs_credential',
4556
4404
  },
4557
4405
  },
4558
4406
  '/acs/credentials/list': {
@@ -4614,92 +4462,7 @@ export default {
4614
4462
  schema: {
4615
4463
  properties: {
4616
4464
  acs_credentials: {
4617
- items: {
4618
- properties: {
4619
- access_method: {
4620
- enum: ['code', 'card', 'mobile_key'],
4621
- type: 'string',
4622
- },
4623
- acs_credential_id: { format: 'uuid', type: 'string' },
4624
- acs_credential_pool_id: {
4625
- format: 'uuid',
4626
- type: 'string',
4627
- },
4628
- acs_system_id: { format: 'uuid', type: 'string' },
4629
- acs_user_id: { format: 'uuid', type: 'string' },
4630
- code: { nullable: true, type: 'string' },
4631
- created_at: { format: 'date-time', type: 'string' },
4632
- display_name: { minLength: 1, type: 'string' },
4633
- ends_at: { type: 'string' },
4634
- errors: {
4635
- items: {
4636
- properties: {
4637
- error_code: { type: 'string' },
4638
- message: { type: 'string' },
4639
- },
4640
- required: ['error_code', 'message'],
4641
- type: 'object',
4642
- },
4643
- type: 'array',
4644
- },
4645
- external_type: {
4646
- enum: [
4647
- 'pti_card',
4648
- 'brivo_credential',
4649
- 'hid_credential',
4650
- 'visionline_card',
4651
- ],
4652
- type: 'string',
4653
- },
4654
- external_type_display_name: { type: 'string' },
4655
- is_multi_phone_sync_credential: { type: 'boolean' },
4656
- parent_acs_credential_id: {
4657
- format: 'uuid',
4658
- type: 'string',
4659
- },
4660
- starts_at: { type: 'string' },
4661
- visionline_metadata: {
4662
- properties: {
4663
- common_acs_entrance_ids: {
4664
- items: { format: 'uuid', type: 'string' },
4665
- type: 'array',
4666
- },
4667
- guest_acs_entrance_ids: {
4668
- items: { format: 'uuid', type: 'string' },
4669
- type: 'array',
4670
- },
4671
- joiner_acs_credential_ids: {
4672
- items: { format: 'uuid', type: 'string' },
4673
- type: 'array',
4674
- },
4675
- },
4676
- type: 'object',
4677
- },
4678
- warnings: {
4679
- items: {
4680
- properties: {
4681
- message: { type: 'string' },
4682
- warning_code: { type: 'string' },
4683
- },
4684
- required: ['warning_code', 'message'],
4685
- type: 'object',
4686
- },
4687
- type: 'array',
4688
- },
4689
- workspace_id: { format: 'uuid', type: 'string' },
4690
- },
4691
- required: [
4692
- 'acs_credential_id',
4693
- 'acs_system_id',
4694
- 'display_name',
4695
- 'access_method',
4696
- 'created_at',
4697
- 'workspace_id',
4698
- 'errors',
4699
- 'warnings',
4700
- ],
4701
- type: 'object',
4702
- },
4465
+ items: { $ref: '#/components/schemas/acs_credential' },
4703
4466
  type: 'array',
4704
4467
  },
4705
4468
  ok: { type: 'boolean' },
@@ -4724,6 +4487,7 @@ export default {
4724
4487
  tags: ['/acs'],
4725
4488
  'x-fern-sdk-group-name': ['acs', 'credentials'],
4726
4489
  'x-fern-sdk-method-name': 'list',
4490
+ 'x-fern-sdk-return-value': 'acs_credentials',
4727
4491
  },
4728
4492
  },
4729
4493
  '/acs/credentials/unassign': {
@@ -4750,90 +4514,7 @@ export default {
4750
4514
  schema: {
4751
4515
  properties: {
4752
4516
  acs_credential: {
4753
- properties: {
4754
- access_method: {
4755
- enum: ['code', 'card', 'mobile_key'],
4756
- type: 'string',
4757
- },
4758
- acs_credential_id: { format: 'uuid', type: 'string' },
4759
- acs_credential_pool_id: {
4760
- format: 'uuid',
4761
- type: 'string',
4762
- },
4763
- acs_system_id: { format: 'uuid', type: 'string' },
4764
- acs_user_id: { format: 'uuid', type: 'string' },
4765
- code: { nullable: true, type: 'string' },
4766
- created_at: { format: 'date-time', type: 'string' },
4767
- display_name: { minLength: 1, type: 'string' },
4768
- ends_at: { type: 'string' },
4769
- errors: {
4770
- items: {
4771
- properties: {
4772
- error_code: { type: 'string' },
4773
- message: { type: 'string' },
4774
- },
4775
- required: ['error_code', 'message'],
4776
- type: 'object',
4777
- },
4778
- type: 'array',
4779
- },
4780
- external_type: {
4781
- enum: [
4782
- 'pti_card',
4783
- 'brivo_credential',
4784
- 'hid_credential',
4785
- 'visionline_card',
4786
- ],
4787
- type: 'string',
4788
- },
4789
- external_type_display_name: { type: 'string' },
4790
- is_multi_phone_sync_credential: { type: 'boolean' },
4791
- parent_acs_credential_id: {
4792
- format: 'uuid',
4793
- type: 'string',
4794
- },
4795
- starts_at: { type: 'string' },
4796
- visionline_metadata: {
4797
- properties: {
4798
- common_acs_entrance_ids: {
4799
- items: { format: 'uuid', type: 'string' },
4800
- type: 'array',
4801
- },
4802
- guest_acs_entrance_ids: {
4803
- items: { format: 'uuid', type: 'string' },
4804
- type: 'array',
4805
- },
4806
- joiner_acs_credential_ids: {
4807
- items: { format: 'uuid', type: 'string' },
4808
- type: 'array',
4809
- },
4810
- },
4811
- type: 'object',
4812
- },
4813
- warnings: {
4814
- items: {
4815
- properties: {
4816
- message: { type: 'string' },
4817
- warning_code: { type: 'string' },
4818
- },
4819
- required: ['warning_code', 'message'],
4820
- type: 'object',
4821
- },
4822
- type: 'array',
4823
- },
4824
- workspace_id: { format: 'uuid', type: 'string' },
4825
- },
4826
- required: [
4827
- 'acs_credential_id',
4828
- 'acs_system_id',
4829
- 'display_name',
4830
- 'access_method',
4831
- 'created_at',
4832
- 'workspace_id',
4833
- 'errors',
4834
- 'warnings',
4835
- ],
4836
- type: 'object',
4517
+ $ref: '#/components/schemas/acs_credential',
4837
4518
  },
4838
4519
  ok: { type: 'boolean' },
4839
4520
  },
@@ -4879,90 +4560,7 @@ export default {
4879
4560
  schema: {
4880
4561
  properties: {
4881
4562
  acs_credential: {
4882
- properties: {
4883
- access_method: {
4884
- enum: ['code', 'card', 'mobile_key'],
4885
- type: 'string',
4886
- },
4887
- acs_credential_id: { format: 'uuid', type: 'string' },
4888
- acs_credential_pool_id: {
4889
- format: 'uuid',
4890
- type: 'string',
4891
- },
4892
- acs_system_id: { format: 'uuid', type: 'string' },
4893
- acs_user_id: { format: 'uuid', type: 'string' },
4894
- code: { nullable: true, type: 'string' },
4895
- created_at: { format: 'date-time', type: 'string' },
4896
- display_name: { minLength: 1, type: 'string' },
4897
- ends_at: { type: 'string' },
4898
- errors: {
4899
- items: {
4900
- properties: {
4901
- error_code: { type: 'string' },
4902
- message: { type: 'string' },
4903
- },
4904
- required: ['error_code', 'message'],
4905
- type: 'object',
4906
- },
4907
- type: 'array',
4908
- },
4909
- external_type: {
4910
- enum: [
4911
- 'pti_card',
4912
- 'brivo_credential',
4913
- 'hid_credential',
4914
- 'visionline_card',
4915
- ],
4916
- type: 'string',
4917
- },
4918
- external_type_display_name: { type: 'string' },
4919
- is_multi_phone_sync_credential: { type: 'boolean' },
4920
- parent_acs_credential_id: {
4921
- format: 'uuid',
4922
- type: 'string',
4923
- },
4924
- starts_at: { type: 'string' },
4925
- visionline_metadata: {
4926
- properties: {
4927
- common_acs_entrance_ids: {
4928
- items: { format: 'uuid', type: 'string' },
4929
- type: 'array',
4930
- },
4931
- guest_acs_entrance_ids: {
4932
- items: { format: 'uuid', type: 'string' },
4933
- type: 'array',
4934
- },
4935
- joiner_acs_credential_ids: {
4936
- items: { format: 'uuid', type: 'string' },
4937
- type: 'array',
4938
- },
4939
- },
4940
- type: 'object',
4941
- },
4942
- warnings: {
4943
- items: {
4944
- properties: {
4945
- message: { type: 'string' },
4946
- warning_code: { type: 'string' },
4947
- },
4948
- required: ['warning_code', 'message'],
4949
- type: 'object',
4950
- },
4951
- type: 'array',
4952
- },
4953
- workspace_id: { format: 'uuid', type: 'string' },
4954
- },
4955
- required: [
4956
- 'acs_credential_id',
4957
- 'acs_system_id',
4958
- 'display_name',
4959
- 'access_method',
4960
- 'created_at',
4961
- 'workspace_id',
4962
- 'errors',
4963
- 'warnings',
4964
- ],
4965
- type: 'object',
4563
+ $ref: '#/components/schemas/acs_credential',
4966
4564
  },
4967
4565
  ok: { type: 'boolean' },
4968
4566
  },
@@ -4992,109 +4590,26 @@ export default {
4992
4590
  operationId: 'acsCredentialsUpdatePatch',
4993
4591
  requestBody: {
4994
4592
  content: {
4995
- 'application/json': {
4996
- schema: {
4997
- properties: {
4998
- acs_credential_id: { type: 'string' },
4999
- code: { pattern: '^\\d+$', type: 'string' },
5000
- },
5001
- required: ['acs_credential_id', 'code'],
5002
- type: 'object',
5003
- },
5004
- },
5005
- },
5006
- },
5007
- responses: {
5008
- 200: {
5009
- content: {
5010
- 'application/json': {
5011
- schema: {
5012
- properties: {
5013
- acs_credential: {
5014
- properties: {
5015
- access_method: {
5016
- enum: ['code', 'card', 'mobile_key'],
5017
- type: 'string',
5018
- },
5019
- acs_credential_id: { format: 'uuid', type: 'string' },
5020
- acs_credential_pool_id: {
5021
- format: 'uuid',
5022
- type: 'string',
5023
- },
5024
- acs_system_id: { format: 'uuid', type: 'string' },
5025
- acs_user_id: { format: 'uuid', type: 'string' },
5026
- code: { nullable: true, type: 'string' },
5027
- created_at: { format: 'date-time', type: 'string' },
5028
- display_name: { minLength: 1, type: 'string' },
5029
- ends_at: { type: 'string' },
5030
- errors: {
5031
- items: {
5032
- properties: {
5033
- error_code: { type: 'string' },
5034
- message: { type: 'string' },
5035
- },
5036
- required: ['error_code', 'message'],
5037
- type: 'object',
5038
- },
5039
- type: 'array',
5040
- },
5041
- external_type: {
5042
- enum: [
5043
- 'pti_card',
5044
- 'brivo_credential',
5045
- 'hid_credential',
5046
- 'visionline_card',
5047
- ],
5048
- type: 'string',
5049
- },
5050
- external_type_display_name: { type: 'string' },
5051
- is_multi_phone_sync_credential: { type: 'boolean' },
5052
- parent_acs_credential_id: {
5053
- format: 'uuid',
5054
- type: 'string',
5055
- },
5056
- starts_at: { type: 'string' },
5057
- visionline_metadata: {
5058
- properties: {
5059
- common_acs_entrance_ids: {
5060
- items: { format: 'uuid', type: 'string' },
5061
- type: 'array',
5062
- },
5063
- guest_acs_entrance_ids: {
5064
- items: { format: 'uuid', type: 'string' },
5065
- type: 'array',
5066
- },
5067
- joiner_acs_credential_ids: {
5068
- items: { format: 'uuid', type: 'string' },
5069
- type: 'array',
5070
- },
5071
- },
5072
- type: 'object',
5073
- },
5074
- warnings: {
5075
- items: {
5076
- properties: {
5077
- message: { type: 'string' },
5078
- warning_code: { type: 'string' },
5079
- },
5080
- required: ['warning_code', 'message'],
5081
- type: 'object',
5082
- },
5083
- type: 'array',
5084
- },
5085
- workspace_id: { format: 'uuid', type: 'string' },
5086
- },
5087
- required: [
5088
- 'acs_credential_id',
5089
- 'acs_system_id',
5090
- 'display_name',
5091
- 'access_method',
5092
- 'created_at',
5093
- 'workspace_id',
5094
- 'errors',
5095
- 'warnings',
5096
- ],
5097
- type: 'object',
4593
+ 'application/json': {
4594
+ schema: {
4595
+ properties: {
4596
+ acs_credential_id: { type: 'string' },
4597
+ code: { pattern: '^\\d+$', type: 'string' },
4598
+ },
4599
+ required: ['acs_credential_id', 'code'],
4600
+ type: 'object',
4601
+ },
4602
+ },
4603
+ },
4604
+ },
4605
+ responses: {
4606
+ 200: {
4607
+ content: {
4608
+ 'application/json': {
4609
+ schema: {
4610
+ properties: {
4611
+ acs_credential: {
4612
+ $ref: '#/components/schemas/acs_credential',
5098
4613
  },
5099
4614
  ok: { type: 'boolean' },
5100
4615
  },
@@ -5140,90 +4655,7 @@ export default {
5140
4655
  schema: {
5141
4656
  properties: {
5142
4657
  acs_credential: {
5143
- properties: {
5144
- access_method: {
5145
- enum: ['code', 'card', 'mobile_key'],
5146
- type: 'string',
5147
- },
5148
- acs_credential_id: { format: 'uuid', type: 'string' },
5149
- acs_credential_pool_id: {
5150
- format: 'uuid',
5151
- type: 'string',
5152
- },
5153
- acs_system_id: { format: 'uuid', type: 'string' },
5154
- acs_user_id: { format: 'uuid', type: 'string' },
5155
- code: { nullable: true, type: 'string' },
5156
- created_at: { format: 'date-time', type: 'string' },
5157
- display_name: { minLength: 1, type: 'string' },
5158
- ends_at: { type: 'string' },
5159
- errors: {
5160
- items: {
5161
- properties: {
5162
- error_code: { type: 'string' },
5163
- message: { type: 'string' },
5164
- },
5165
- required: ['error_code', 'message'],
5166
- type: 'object',
5167
- },
5168
- type: 'array',
5169
- },
5170
- external_type: {
5171
- enum: [
5172
- 'pti_card',
5173
- 'brivo_credential',
5174
- 'hid_credential',
5175
- 'visionline_card',
5176
- ],
5177
- type: 'string',
5178
- },
5179
- external_type_display_name: { type: 'string' },
5180
- is_multi_phone_sync_credential: { type: 'boolean' },
5181
- parent_acs_credential_id: {
5182
- format: 'uuid',
5183
- type: 'string',
5184
- },
5185
- starts_at: { type: 'string' },
5186
- visionline_metadata: {
5187
- properties: {
5188
- common_acs_entrance_ids: {
5189
- items: { format: 'uuid', type: 'string' },
5190
- type: 'array',
5191
- },
5192
- guest_acs_entrance_ids: {
5193
- items: { format: 'uuid', type: 'string' },
5194
- type: 'array',
5195
- },
5196
- joiner_acs_credential_ids: {
5197
- items: { format: 'uuid', type: 'string' },
5198
- type: 'array',
5199
- },
5200
- },
5201
- type: 'object',
5202
- },
5203
- warnings: {
5204
- items: {
5205
- properties: {
5206
- message: { type: 'string' },
5207
- warning_code: { type: 'string' },
5208
- },
5209
- required: ['warning_code', 'message'],
5210
- type: 'object',
5211
- },
5212
- type: 'array',
5213
- },
5214
- workspace_id: { format: 'uuid', type: 'string' },
5215
- },
5216
- required: [
5217
- 'acs_credential_id',
5218
- 'acs_system_id',
5219
- 'display_name',
5220
- 'access_method',
5221
- 'created_at',
5222
- 'workspace_id',
5223
- 'errors',
5224
- 'warnings',
5225
- ],
5226
- type: 'object',
4658
+ $ref: '#/components/schemas/acs_credential',
5227
4659
  },
5228
4660
  ok: { type: 'boolean' },
5229
4661
  },
@@ -5270,76 +4702,7 @@ export default {
5270
4702
  'application/json': {
5271
4703
  schema: {
5272
4704
  properties: {
5273
- acs_entrance: {
5274
- properties: {
5275
- acs_entrance_id: { format: 'uuid', type: 'string' },
5276
- acs_system_id: { format: 'uuid', type: 'string' },
5277
- created_at: { format: 'date-time', type: 'string' },
5278
- display_name: { type: 'string' },
5279
- latch_metadata: {
5280
- nullable: true,
5281
- properties: {
5282
- accessibility_type: { type: 'string' },
5283
- is_connected: { type: 'boolean' },
5284
- name: { type: 'string' },
5285
- type: { type: 'string' },
5286
- },
5287
- required: [
5288
- 'accessibility_type',
5289
- 'name',
5290
- 'type',
5291
- 'is_connected',
5292
- ],
5293
- type: 'object',
5294
- },
5295
- visionline_metadata: {
5296
- nullable: true,
5297
- properties: {
5298
- door_category: {
5299
- enum: [
5300
- 'entrance',
5301
- 'guest',
5302
- 'elevator reader',
5303
- 'common',
5304
- 'common (PMS)',
5305
- ],
5306
- type: 'string',
5307
- },
5308
- door_name: { type: 'string' },
5309
- profiles: {
5310
- items: {
5311
- properties: {
5312
- visionline_door_profile_id: {
5313
- type: 'string',
5314
- },
5315
- visionline_door_profile_type: {
5316
- enum: ['BLE', 'commonDoor', 'touch'],
5317
- type: 'string',
5318
- },
5319
- },
5320
- required: [
5321
- 'visionline_door_profile_id',
5322
- 'visionline_door_profile_type',
5323
- ],
5324
- type: 'object',
5325
- },
5326
- type: 'array',
5327
- },
5328
- },
5329
- required: ['door_name', 'door_category'],
5330
- type: 'object',
5331
- },
5332
- },
5333
- required: [
5334
- 'acs_entrance_id',
5335
- 'display_name',
5336
- 'acs_system_id',
5337
- 'created_at',
5338
- 'latch_metadata',
5339
- 'visionline_metadata',
5340
- ],
5341
- type: 'object',
5342
- },
4705
+ acs_entrance: { $ref: '#/components/schemas/acs_entrance' },
5343
4706
  ok: { type: 'boolean' },
5344
4707
  },
5345
4708
  required: ['acs_entrance', 'ok'],
@@ -5362,6 +4725,7 @@ export default {
5362
4725
  tags: ['/acs'],
5363
4726
  'x-fern-sdk-group-name': ['acs', 'entrances'],
5364
4727
  'x-fern-sdk-method-name': 'get',
4728
+ 'x-fern-sdk-return-value': 'acs_entrance',
5365
4729
  },
5366
4730
  },
5367
4731
  '/acs/entrances/grant_access': {
@@ -5432,76 +4796,7 @@ export default {
5432
4796
  schema: {
5433
4797
  properties: {
5434
4798
  acs_entrances: {
5435
- items: {
5436
- properties: {
5437
- acs_entrance_id: { format: 'uuid', type: 'string' },
5438
- acs_system_id: { format: 'uuid', type: 'string' },
5439
- created_at: { format: 'date-time', type: 'string' },
5440
- display_name: { type: 'string' },
5441
- latch_metadata: {
5442
- nullable: true,
5443
- properties: {
5444
- accessibility_type: { type: 'string' },
5445
- is_connected: { type: 'boolean' },
5446
- name: { type: 'string' },
5447
- type: { type: 'string' },
5448
- },
5449
- required: [
5450
- 'accessibility_type',
5451
- 'name',
5452
- 'type',
5453
- 'is_connected',
5454
- ],
5455
- type: 'object',
5456
- },
5457
- visionline_metadata: {
5458
- nullable: true,
5459
- properties: {
5460
- door_category: {
5461
- enum: [
5462
- 'entrance',
5463
- 'guest',
5464
- 'elevator reader',
5465
- 'common',
5466
- 'common (PMS)',
5467
- ],
5468
- type: 'string',
5469
- },
5470
- door_name: { type: 'string' },
5471
- profiles: {
5472
- items: {
5473
- properties: {
5474
- visionline_door_profile_id: {
5475
- type: 'string',
5476
- },
5477
- visionline_door_profile_type: {
5478
- enum: ['BLE', 'commonDoor', 'touch'],
5479
- type: 'string',
5480
- },
5481
- },
5482
- required: [
5483
- 'visionline_door_profile_id',
5484
- 'visionline_door_profile_type',
5485
- ],
5486
- type: 'object',
5487
- },
5488
- type: 'array',
5489
- },
5490
- },
5491
- required: ['door_name', 'door_category'],
5492
- type: 'object',
5493
- },
5494
- },
5495
- required: [
5496
- 'acs_entrance_id',
5497
- 'display_name',
5498
- 'acs_system_id',
5499
- 'created_at',
5500
- 'latch_metadata',
5501
- 'visionline_metadata',
5502
- ],
5503
- type: 'object',
5504
- },
4799
+ items: { $ref: '#/components/schemas/acs_entrance' },
5505
4800
  type: 'array',
5506
4801
  },
5507
4802
  ok: { type: 'boolean' },
@@ -5526,6 +4821,7 @@ export default {
5526
4821
  tags: ['/acs'],
5527
4822
  'x-fern-sdk-group-name': ['acs', 'entrances'],
5528
4823
  'x-fern-sdk-method-name': 'list',
4824
+ 'x-fern-sdk-return-value': 'acs_entrances',
5529
4825
  },
5530
4826
  },
5531
4827
  '/acs/entrances/list_credentials_with_access': {
@@ -5558,92 +4854,7 @@ export default {
5558
4854
  schema: {
5559
4855
  properties: {
5560
4856
  acs_credentials: {
5561
- items: {
5562
- properties: {
5563
- access_method: {
5564
- enum: ['code', 'card', 'mobile_key'],
5565
- type: 'string',
5566
- },
5567
- acs_credential_id: { format: 'uuid', type: 'string' },
5568
- acs_credential_pool_id: {
5569
- format: 'uuid',
5570
- type: 'string',
5571
- },
5572
- acs_system_id: { format: 'uuid', type: 'string' },
5573
- acs_user_id: { format: 'uuid', type: 'string' },
5574
- code: { nullable: true, type: 'string' },
5575
- created_at: { format: 'date-time', type: 'string' },
5576
- display_name: { minLength: 1, type: 'string' },
5577
- ends_at: { type: 'string' },
5578
- errors: {
5579
- items: {
5580
- properties: {
5581
- error_code: { type: 'string' },
5582
- message: { type: 'string' },
5583
- },
5584
- required: ['error_code', 'message'],
5585
- type: 'object',
5586
- },
5587
- type: 'array',
5588
- },
5589
- external_type: {
5590
- enum: [
5591
- 'pti_card',
5592
- 'brivo_credential',
5593
- 'hid_credential',
5594
- 'visionline_card',
5595
- ],
5596
- type: 'string',
5597
- },
5598
- external_type_display_name: { type: 'string' },
5599
- is_multi_phone_sync_credential: { type: 'boolean' },
5600
- parent_acs_credential_id: {
5601
- format: 'uuid',
5602
- type: 'string',
5603
- },
5604
- starts_at: { type: 'string' },
5605
- visionline_metadata: {
5606
- properties: {
5607
- common_acs_entrance_ids: {
5608
- items: { format: 'uuid', type: 'string' },
5609
- type: 'array',
5610
- },
5611
- guest_acs_entrance_ids: {
5612
- items: { format: 'uuid', type: 'string' },
5613
- type: 'array',
5614
- },
5615
- joiner_acs_credential_ids: {
5616
- items: { format: 'uuid', type: 'string' },
5617
- type: 'array',
5618
- },
5619
- },
5620
- type: 'object',
5621
- },
5622
- warnings: {
5623
- items: {
5624
- properties: {
5625
- message: { type: 'string' },
5626
- warning_code: { type: 'string' },
5627
- },
5628
- required: ['warning_code', 'message'],
5629
- type: 'object',
5630
- },
5631
- type: 'array',
5632
- },
5633
- workspace_id: { format: 'uuid', type: 'string' },
5634
- },
5635
- required: [
5636
- 'acs_credential_id',
5637
- 'acs_system_id',
5638
- 'display_name',
5639
- 'access_method',
5640
- 'created_at',
5641
- 'workspace_id',
5642
- 'errors',
5643
- 'warnings',
5644
- ],
5645
- type: 'object',
5646
- },
4857
+ items: { $ref: '#/components/schemas/acs_credential' },
5647
4858
  type: 'array',
5648
4859
  },
5649
4860
  ok: { type: 'boolean' },
@@ -5668,6 +4879,7 @@ export default {
5668
4879
  tags: ['/acs'],
5669
4880
  'x-fern-sdk-group-name': ['acs', 'entrances'],
5670
4881
  'x-fern-sdk-method-name': 'list_credentials_with_access',
4882
+ 'x-fern-sdk-return-value': 'acs_credentials',
5671
4883
  },
5672
4884
  },
5673
4885
  '/acs/systems/get': {
@@ -5714,6 +4926,7 @@ export default {
5714
4926
  tags: ['/acs'],
5715
4927
  'x-fern-sdk-group-name': ['acs', 'systems'],
5716
4928
  'x-fern-sdk-method-name': 'get',
4929
+ 'x-fern-sdk-return-value': 'acs_system',
5717
4930
  },
5718
4931
  },
5719
4932
  '/acs/systems/list': {
@@ -5763,6 +4976,7 @@ export default {
5763
4976
  tags: ['/acs'],
5764
4977
  'x-fern-sdk-group-name': ['acs', 'systems'],
5765
4978
  'x-fern-sdk-method-name': 'list',
4979
+ 'x-fern-sdk-return-value': 'acs_systems',
5766
4980
  },
5767
4981
  },
5768
4982
  '/acs/users/add_to_access_group': {
@@ -5916,6 +5130,7 @@ export default {
5916
5130
  tags: ['/acs'],
5917
5131
  'x-fern-sdk-group-name': ['acs', 'users'],
5918
5132
  'x-fern-sdk-method-name': 'create',
5133
+ 'x-fern-sdk-return-value': 'acs_user',
5919
5134
  },
5920
5135
  },
5921
5136
  '/acs/users/delete': {
@@ -6001,6 +5216,7 @@ export default {
6001
5216
  tags: ['/acs'],
6002
5217
  'x-fern-sdk-group-name': ['acs', 'users'],
6003
5218
  'x-fern-sdk-method-name': 'get',
5219
+ 'x-fern-sdk-return-value': 'acs_user',
6004
5220
  },
6005
5221
  },
6006
5222
  '/acs/users/list': {
@@ -6056,6 +5272,7 @@ export default {
6056
5272
  tags: ['/acs'],
6057
5273
  'x-fern-sdk-group-name': ['acs', 'users'],
6058
5274
  'x-fern-sdk-method-name': 'list',
5275
+ 'x-fern-sdk-return-value': 'acs_users',
6059
5276
  },
6060
5277
  },
6061
5278
  '/acs/users/list_accessible_entrances': {
@@ -6079,76 +5296,7 @@ export default {
6079
5296
  schema: {
6080
5297
  properties: {
6081
5298
  acs_entrances: {
6082
- items: {
6083
- properties: {
6084
- acs_entrance_id: { format: 'uuid', type: 'string' },
6085
- acs_system_id: { format: 'uuid', type: 'string' },
6086
- created_at: { format: 'date-time', type: 'string' },
6087
- display_name: { type: 'string' },
6088
- latch_metadata: {
6089
- nullable: true,
6090
- properties: {
6091
- accessibility_type: { type: 'string' },
6092
- is_connected: { type: 'boolean' },
6093
- name: { type: 'string' },
6094
- type: { type: 'string' },
6095
- },
6096
- required: [
6097
- 'accessibility_type',
6098
- 'name',
6099
- 'type',
6100
- 'is_connected',
6101
- ],
6102
- type: 'object',
6103
- },
6104
- visionline_metadata: {
6105
- nullable: true,
6106
- properties: {
6107
- door_category: {
6108
- enum: [
6109
- 'entrance',
6110
- 'guest',
6111
- 'elevator reader',
6112
- 'common',
6113
- 'common (PMS)',
6114
- ],
6115
- type: 'string',
6116
- },
6117
- door_name: { type: 'string' },
6118
- profiles: {
6119
- items: {
6120
- properties: {
6121
- visionline_door_profile_id: {
6122
- type: 'string',
6123
- },
6124
- visionline_door_profile_type: {
6125
- enum: ['BLE', 'commonDoor', 'touch'],
6126
- type: 'string',
6127
- },
6128
- },
6129
- required: [
6130
- 'visionline_door_profile_id',
6131
- 'visionline_door_profile_type',
6132
- ],
6133
- type: 'object',
6134
- },
6135
- type: 'array',
6136
- },
6137
- },
6138
- required: ['door_name', 'door_category'],
6139
- type: 'object',
6140
- },
6141
- },
6142
- required: [
6143
- 'acs_entrance_id',
6144
- 'display_name',
6145
- 'acs_system_id',
6146
- 'created_at',
6147
- 'latch_metadata',
6148
- 'visionline_metadata',
6149
- ],
6150
- type: 'object',
6151
- },
5299
+ items: { $ref: '#/components/schemas/acs_entrance' },
6152
5300
  type: 'array',
6153
5301
  },
6154
5302
  ok: { type: 'boolean' },
@@ -6173,6 +5321,7 @@ export default {
6173
5321
  tags: ['/acs'],
6174
5322
  'x-fern-sdk-group-name': ['acs', 'users'],
6175
5323
  'x-fern-sdk-method-name': 'list_accessible_entrances',
5324
+ 'x-fern-sdk-return-value': 'acs_entrances',
6176
5325
  },
6177
5326
  },
6178
5327
  '/acs/users/remove_from_access_group': {
@@ -9423,21 +8572,7 @@ export default {
9423
8572
  'application/json': {
9424
8573
  schema: {
9425
8574
  properties: {
9426
- network: {
9427
- properties: {
9428
- created_at: { format: 'date-time', type: 'string' },
9429
- display_name: { type: 'string' },
9430
- network_id: { format: 'uuid', type: 'string' },
9431
- workspace_id: { format: 'uuid', type: 'string' },
9432
- },
9433
- required: [
9434
- 'network_id',
9435
- 'workspace_id',
9436
- 'display_name',
9437
- 'created_at',
9438
- ],
9439
- type: 'object',
9440
- },
8575
+ network: { $ref: '#/components/schemas/network' },
9441
8576
  ok: { type: 'boolean' },
9442
8577
  },
9443
8578
  required: ['network', 'ok'],
@@ -9459,6 +8594,7 @@ export default {
9459
8594
  tags: ['/networks'],
9460
8595
  'x-fern-sdk-group-name': ['networks'],
9461
8596
  'x-fern-sdk-method-name': 'get',
8597
+ 'x-fern-sdk-return-value': 'network',
9462
8598
  },
9463
8599
  },
9464
8600
  '/networks/list': {
@@ -9476,21 +8612,7 @@ export default {
9476
8612
  schema: {
9477
8613
  properties: {
9478
8614
  networks: {
9479
- items: {
9480
- properties: {
9481
- created_at: { format: 'date-time', type: 'string' },
9482
- display_name: { type: 'string' },
9483
- network_id: { format: 'uuid', type: 'string' },
9484
- workspace_id: { format: 'uuid', type: 'string' },
9485
- },
9486
- required: [
9487
- 'network_id',
9488
- 'workspace_id',
9489
- 'display_name',
9490
- 'created_at',
9491
- ],
9492
- type: 'object',
9493
- },
8615
+ items: { $ref: '#/components/schemas/network' },
9494
8616
  type: 'array',
9495
8617
  },
9496
8618
  ok: { type: 'boolean' },
@@ -9514,6 +8636,7 @@ export default {
9514
8636
  tags: ['/networks'],
9515
8637
  'x-fern-sdk-group-name': ['networks'],
9516
8638
  'x-fern-sdk-method-name': 'list',
8639
+ 'x-fern-sdk-return-value': 'networks',
9517
8640
  },
9518
8641
  },
9519
8642
  '/noise_sensors/noise_thresholds/create': {
@@ -11366,39 +10489,7 @@ export default {
11366
10489
  properties: {
11367
10490
  ok: { type: 'boolean' },
11368
10491
  user_identity: {
11369
- properties: {
11370
- created_at: { format: 'date-time', type: 'string' },
11371
- display_name: { minLength: 1, type: 'string' },
11372
- email_address: {
11373
- format: 'email',
11374
- nullable: true,
11375
- type: 'string',
11376
- },
11377
- full_name: {
11378
- minLength: 1,
11379
- nullable: true,
11380
- type: 'string',
11381
- },
11382
- phone_number: { nullable: true, type: 'string' },
11383
- user_identity_id: { format: 'uuid', type: 'string' },
11384
- user_identity_key: {
11385
- minLength: 1,
11386
- nullable: true,
11387
- type: 'string',
11388
- },
11389
- workspace_id: { format: 'uuid', type: 'string' },
11390
- },
11391
- required: [
11392
- 'user_identity_id',
11393
- 'user_identity_key',
11394
- 'email_address',
11395
- 'phone_number',
11396
- 'display_name',
11397
- 'full_name',
11398
- 'created_at',
11399
- 'workspace_id',
11400
- ],
11401
- type: 'object',
10492
+ $ref: '#/components/schemas/user_identity',
11402
10493
  },
11403
10494
  },
11404
10495
  required: ['user_identity', 'ok'],
@@ -11420,6 +10511,7 @@ export default {
11420
10511
  tags: ['/user_identities'],
11421
10512
  'x-fern-sdk-group-name': ['user_identities'],
11422
10513
  'x-fern-sdk-method-name': 'create',
10514
+ 'x-fern-sdk-return-value': 'user_identity',
11423
10515
  },
11424
10516
  },
11425
10517
  '/user_identities/delete': {
@@ -11555,6 +10647,7 @@ export default {
11555
10647
  tags: ['/user_identities'],
11556
10648
  'x-fern-sdk-group-name': ['user_identities', 'enrollment_automations'],
11557
10649
  'x-fern-sdk-method-name': 'get',
10650
+ 'x-fern-sdk-return-value': 'enrollment_automation',
11558
10651
  },
11559
10652
  },
11560
10653
  '/user_identities/enrollment_automations/launch': {
@@ -11641,6 +10734,7 @@ export default {
11641
10734
  tags: ['/user_identities'],
11642
10735
  'x-fern-sdk-group-name': ['user_identities', 'enrollment_automations'],
11643
10736
  'x-fern-sdk-method-name': 'launch',
10737
+ 'x-fern-sdk-return-value': 'enrollment_automation',
11644
10738
  },
11645
10739
  },
11646
10740
  '/user_identities/enrollment_automations/list': {
@@ -11693,6 +10787,7 @@ export default {
11693
10787
  tags: ['/user_identities'],
11694
10788
  'x-fern-sdk-group-name': ['user_identities', 'enrollment_automations'],
11695
10789
  'x-fern-sdk-method-name': 'list',
10790
+ 'x-fern-sdk-return-value': 'enrollment_automations',
11696
10791
  },
11697
10792
  },
11698
10793
  '/user_identities/get': {
@@ -11728,39 +10823,7 @@ export default {
11728
10823
  properties: {
11729
10824
  ok: { type: 'boolean' },
11730
10825
  user_identity: {
11731
- properties: {
11732
- created_at: { format: 'date-time', type: 'string' },
11733
- display_name: { minLength: 1, type: 'string' },
11734
- email_address: {
11735
- format: 'email',
11736
- nullable: true,
11737
- type: 'string',
11738
- },
11739
- full_name: {
11740
- minLength: 1,
11741
- nullable: true,
11742
- type: 'string',
11743
- },
11744
- phone_number: { nullable: true, type: 'string' },
11745
- user_identity_id: { format: 'uuid', type: 'string' },
11746
- user_identity_key: {
11747
- minLength: 1,
11748
- nullable: true,
11749
- type: 'string',
11750
- },
11751
- workspace_id: { format: 'uuid', type: 'string' },
11752
- },
11753
- required: [
11754
- 'user_identity_id',
11755
- 'user_identity_key',
11756
- 'email_address',
11757
- 'phone_number',
11758
- 'display_name',
11759
- 'full_name',
11760
- 'created_at',
11761
- 'workspace_id',
11762
- ],
11763
- type: 'object',
10826
+ $ref: '#/components/schemas/user_identity',
11764
10827
  },
11765
10828
  },
11766
10829
  required: ['user_identity', 'ok'],
@@ -11782,6 +10845,7 @@ export default {
11782
10845
  tags: ['/user_identities'],
11783
10846
  'x-fern-sdk-group-name': ['user_identities'],
11784
10847
  'x-fern-sdk-method-name': 'get',
10848
+ 'x-fern-sdk-return-value': 'user_identity',
11785
10849
  },
11786
10850
  },
11787
10851
  '/user_identities/grant_access_to_device': {
@@ -11895,41 +10959,7 @@ export default {
11895
10959
  properties: {
11896
10960
  ok: { type: 'boolean' },
11897
10961
  user_identities: {
11898
- items: {
11899
- properties: {
11900
- created_at: { format: 'date-time', type: 'string' },
11901
- display_name: { minLength: 1, type: 'string' },
11902
- email_address: {
11903
- format: 'email',
11904
- nullable: true,
11905
- type: 'string',
11906
- },
11907
- full_name: {
11908
- minLength: 1,
11909
- nullable: true,
11910
- type: 'string',
11911
- },
11912
- phone_number: { nullable: true, type: 'string' },
11913
- user_identity_id: { format: 'uuid', type: 'string' },
11914
- user_identity_key: {
11915
- minLength: 1,
11916
- nullable: true,
11917
- type: 'string',
11918
- },
11919
- workspace_id: { format: 'uuid', type: 'string' },
11920
- },
11921
- required: [
11922
- 'user_identity_id',
11923
- 'user_identity_key',
11924
- 'email_address',
11925
- 'phone_number',
11926
- 'display_name',
11927
- 'full_name',
11928
- 'created_at',
11929
- 'workspace_id',
11930
- ],
11931
- type: 'object',
11932
- },
10962
+ items: { $ref: '#/components/schemas/user_identity' },
11933
10963
  type: 'array',
11934
10964
  },
11935
10965
  },
@@ -11979,12 +11009,17 @@ export default {
11979
11009
  schema: {
11980
11010
  properties: {
11981
11011
  accessible_devices: {
11012
+ description: '\n ---\n deprecated: use devices.\n ---\n ',
11013
+ items: { $ref: '#/components/schemas/device' },
11014
+ type: 'array',
11015
+ },
11016
+ devices: {
11982
11017
  items: { $ref: '#/components/schemas/device' },
11983
11018
  type: 'array',
11984
11019
  },
11985
11020
  ok: { type: 'boolean' },
11986
11021
  },
11987
- required: ['accessible_devices', 'ok'],
11022
+ required: ['devices', 'accessible_devices', 'ok'],
11988
11023
  type: 'object',
11989
11024
  },
11990
11025
  },
@@ -12003,6 +11038,7 @@ export default {
12003
11038
  tags: ['/user_identities'],
12004
11039
  'x-fern-sdk-group-name': ['user_identities'],
12005
11040
  'x-fern-sdk-method-name': 'list_accessible_devices',
11041
+ 'x-fern-sdk-return-value': 'devices',
12006
11042
  },
12007
11043
  },
12008
11044
  '/user_identities/list_acs_systems': {
@@ -12053,6 +11089,7 @@ export default {
12053
11089
  tags: ['/user_identities'],
12054
11090
  'x-fern-sdk-group-name': ['user_identities'],
12055
11091
  'x-fern-sdk-method-name': 'list_acs_systems',
11092
+ 'x-fern-sdk-return-value': 'acs_systems',
12056
11093
  },
12057
11094
  },
12058
11095
  '/user_identities/list_acs_users': {
@@ -12102,6 +11139,7 @@ export default {
12102
11139
  tags: ['/user_identities'],
12103
11140
  'x-fern-sdk-group-name': ['user_identities'],
12104
11141
  'x-fern-sdk-method-name': 'list_acs_users',
11142
+ 'x-fern-sdk-return-value': 'acs_users',
12105
11143
  },
12106
11144
  },
12107
11145
  '/user_identities/remove_acs_user': {
@@ -12642,6 +11680,7 @@ export default {
12642
11680
  tags: ['/workspaces'],
12643
11681
  'x-fern-sdk-group-name': ['workspaces'],
12644
11682
  'x-fern-sdk-method-name': 'create',
11683
+ 'x-fern-sdk-return-value': 'workspace',
12645
11684
  },
12646
11685
  },
12647
11686
  '/workspaces/get': {