@seamapi/types 1.153.0 → 1.153.2

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 CHANGED
@@ -234,6 +234,190 @@ var openapi_default = {
234
234
  ],
235
235
  type: "object"
236
236
  },
237
+ acs_credential: {
238
+ properties: {
239
+ access_method: {
240
+ enum: ["code", "card", "mobile_key"],
241
+ type: "string"
242
+ },
243
+ acs_credential_id: { format: "uuid", type: "string" },
244
+ acs_credential_pool_id: { format: "uuid", type: "string" },
245
+ acs_system_id: { format: "uuid", type: "string" },
246
+ acs_user_id: { format: "uuid", type: "string" },
247
+ code: { nullable: true, type: "string" },
248
+ created_at: { format: "date-time", type: "string" },
249
+ display_name: { minLength: 1, type: "string" },
250
+ ends_at: { type: "string" },
251
+ errors: {
252
+ items: {
253
+ properties: {
254
+ error_code: { type: "string" },
255
+ message: { type: "string" }
256
+ },
257
+ required: ["error_code", "message"],
258
+ type: "object"
259
+ },
260
+ type: "array"
261
+ },
262
+ external_type: {
263
+ enum: [
264
+ "pti_card",
265
+ "brivo_credential",
266
+ "hid_credential",
267
+ "visionline_card"
268
+ ],
269
+ type: "string"
270
+ },
271
+ external_type_display_name: { type: "string" },
272
+ is_multi_phone_sync_credential: { type: "boolean" },
273
+ parent_acs_credential_id: { format: "uuid", type: "string" },
274
+ starts_at: { type: "string" },
275
+ visionline_metadata: {
276
+ properties: {
277
+ common_acs_entrance_ids: {
278
+ items: { format: "uuid", type: "string" },
279
+ type: "array"
280
+ },
281
+ guest_acs_entrance_ids: {
282
+ items: { format: "uuid", type: "string" },
283
+ type: "array"
284
+ },
285
+ joiner_acs_credential_ids: {
286
+ items: { format: "uuid", type: "string" },
287
+ type: "array"
288
+ }
289
+ },
290
+ type: "object"
291
+ },
292
+ warnings: {
293
+ items: {
294
+ properties: {
295
+ message: { type: "string" },
296
+ warning_code: { type: "string" }
297
+ },
298
+ required: ["warning_code", "message"],
299
+ type: "object"
300
+ },
301
+ type: "array"
302
+ },
303
+ workspace_id: { format: "uuid", type: "string" }
304
+ },
305
+ required: [
306
+ "acs_credential_id",
307
+ "acs_system_id",
308
+ "display_name",
309
+ "access_method",
310
+ "created_at",
311
+ "workspace_id",
312
+ "errors",
313
+ "warnings"
314
+ ],
315
+ type: "object"
316
+ },
317
+ acs_credential_pool: {
318
+ properties: {
319
+ acs_credential_pool_id: { format: "uuid", type: "string" },
320
+ acs_system_id: { format: "uuid", type: "string" },
321
+ created_at: { format: "date-time", type: "string" },
322
+ display_name: { minLength: 1, type: "string" },
323
+ external_type: { enum: ["hid_part_number"], type: "string" },
324
+ external_type_display_name: { type: "string" },
325
+ workspace_id: { format: "uuid", type: "string" }
326
+ },
327
+ required: [
328
+ "acs_credential_pool_id",
329
+ "acs_system_id",
330
+ "display_name",
331
+ "external_type",
332
+ "external_type_display_name",
333
+ "created_at",
334
+ "workspace_id"
335
+ ],
336
+ type: "object"
337
+ },
338
+ acs_credential_provisioning_automation: {
339
+ properties: {
340
+ acs_credential_provisioning_automation_id: {
341
+ format: "uuid",
342
+ type: "string"
343
+ },
344
+ created_at: { format: "date-time", type: "string" },
345
+ credential_manager_acs_system_id: { format: "uuid", type: "string" },
346
+ user_identity_id: { format: "uuid", type: "string" },
347
+ workspace_id: { format: "uuid", type: "string" }
348
+ },
349
+ required: [
350
+ "acs_credential_provisioning_automation_id",
351
+ "credential_manager_acs_system_id",
352
+ "user_identity_id",
353
+ "created_at",
354
+ "workspace_id"
355
+ ],
356
+ type: "object"
357
+ },
358
+ acs_entrance: {
359
+ properties: {
360
+ acs_entrance_id: { format: "uuid", type: "string" },
361
+ acs_system_id: { format: "uuid", type: "string" },
362
+ created_at: { format: "date-time", type: "string" },
363
+ display_name: { type: "string" },
364
+ latch_metadata: {
365
+ nullable: true,
366
+ properties: {
367
+ accessibility_type: { type: "string" },
368
+ is_connected: { type: "boolean" },
369
+ name: { type: "string" },
370
+ type: { type: "string" }
371
+ },
372
+ required: ["accessibility_type", "name", "type", "is_connected"],
373
+ type: "object"
374
+ },
375
+ visionline_metadata: {
376
+ nullable: true,
377
+ properties: {
378
+ door_category: {
379
+ enum: [
380
+ "entrance",
381
+ "guest",
382
+ "elevator reader",
383
+ "common",
384
+ "common (PMS)"
385
+ ],
386
+ type: "string"
387
+ },
388
+ door_name: { type: "string" },
389
+ profiles: {
390
+ items: {
391
+ properties: {
392
+ visionline_door_profile_id: { type: "string" },
393
+ visionline_door_profile_type: {
394
+ enum: ["BLE", "commonDoor", "touch"],
395
+ type: "string"
396
+ }
397
+ },
398
+ required: [
399
+ "visionline_door_profile_id",
400
+ "visionline_door_profile_type"
401
+ ],
402
+ type: "object"
403
+ },
404
+ type: "array"
405
+ }
406
+ },
407
+ required: ["door_name", "door_category"],
408
+ type: "object"
409
+ }
410
+ },
411
+ required: [
412
+ "acs_entrance_id",
413
+ "display_name",
414
+ "acs_system_id",
415
+ "created_at",
416
+ "latch_metadata",
417
+ "visionline_metadata"
418
+ ],
419
+ type: "object"
420
+ },
237
421
  acs_system: {
238
422
  properties: {
239
423
  acs_system_id: { format: "uuid", type: "string" },
@@ -323,9 +507,9 @@ var openapi_default = {
323
507
  hid_acs_system_id: { format: "uuid", type: "string" },
324
508
  is_suspended: { type: "boolean" },
325
509
  phone_number: { nullable: true, type: "string" },
326
- user_identity_email_address: { type: "string" },
510
+ user_identity_email_address: { nullable: true, type: "string" },
327
511
  user_identity_id: { type: "string" },
328
- user_identity_phone_number: { type: "string" },
512
+ user_identity_phone_number: { nullable: true, type: "string" },
329
513
  workspace_id: { format: "uuid", type: "string" }
330
514
  },
331
515
  required: [
@@ -1913,6 +2097,16 @@ var openapi_default = {
1913
2097
  ],
1914
2098
  type: "object"
1915
2099
  },
2100
+ network: {
2101
+ properties: {
2102
+ created_at: { format: "date-time", type: "string" },
2103
+ display_name: { type: "string" },
2104
+ network_id: { format: "uuid", type: "string" },
2105
+ workspace_id: { format: "uuid", type: "string" }
2106
+ },
2107
+ required: ["network_id", "workspace_id", "display_name", "created_at"],
2108
+ type: "object"
2109
+ },
1916
2110
  noise_threshold: {
1917
2111
  properties: {
1918
2112
  device_id: { format: "uuid", type: "string" },
@@ -2380,6 +2574,29 @@ var openapi_default = {
2380
2574
  ],
2381
2575
  type: "object"
2382
2576
  },
2577
+ user_identity: {
2578
+ properties: {
2579
+ created_at: { format: "date-time", type: "string" },
2580
+ display_name: { minLength: 1, type: "string" },
2581
+ email_address: { format: "email", nullable: true, type: "string" },
2582
+ full_name: { minLength: 1, nullable: true, type: "string" },
2583
+ phone_number: { nullable: true, type: "string" },
2584
+ user_identity_id: { format: "uuid", type: "string" },
2585
+ user_identity_key: { minLength: 1, nullable: true, type: "string" },
2586
+ workspace_id: { format: "uuid", type: "string" }
2587
+ },
2588
+ required: [
2589
+ "user_identity_id",
2590
+ "user_identity_key",
2591
+ "email_address",
2592
+ "phone_number",
2593
+ "display_name",
2594
+ "full_name",
2595
+ "created_at",
2596
+ "workspace_id"
2597
+ ],
2598
+ type: "object"
2599
+ },
2383
2600
  webhook: {
2384
2601
  properties: {
2385
2602
  event_types: { items: { type: "string" }, type: "array" },
@@ -3718,7 +3935,8 @@ var openapi_default = {
3718
3935
  summary: "/acs/access_groups/get",
3719
3936
  tags: ["/acs"],
3720
3937
  "x-fern-sdk-group-name": ["acs", "access_groups"],
3721
- "x-fern-sdk-method-name": "get"
3938
+ "x-fern-sdk-method-name": "get",
3939
+ "x-fern-sdk-return-value": "acs_access_group"
3722
3940
  }
3723
3941
  },
3724
3942
  "/acs/access_groups/list": {
@@ -3767,7 +3985,8 @@ var openapi_default = {
3767
3985
  summary: "/acs/access_groups/list",
3768
3986
  tags: ["/acs"],
3769
3987
  "x-fern-sdk-group-name": ["acs", "access_groups"],
3770
- "x-fern-sdk-method-name": "list"
3988
+ "x-fern-sdk-method-name": "list",
3989
+ "x-fern-sdk-return-value": "acs_access_groups"
3771
3990
  }
3772
3991
  },
3773
3992
  "/acs/access_groups/list_users": {
@@ -3817,7 +4036,8 @@ var openapi_default = {
3817
4036
  summary: "/acs/access_groups/list_users",
3818
4037
  tags: ["/acs"],
3819
4038
  "x-fern-sdk-group-name": ["acs", "access_groups"],
3820
- "x-fern-sdk-method-name": "list_users"
4039
+ "x-fern-sdk-method-name": "list_users",
4040
+ "x-fern-sdk-return-value": "acs_users"
3821
4041
  }
3822
4042
  },
3823
4043
  "/acs/access_groups/remove_user": {
@@ -3888,31 +4108,7 @@ var openapi_default = {
3888
4108
  properties: {
3889
4109
  acs_credential_pools: {
3890
4110
  items: {
3891
- properties: {
3892
- acs_credential_pool_id: {
3893
- format: "uuid",
3894
- type: "string"
3895
- },
3896
- acs_system_id: { format: "uuid", type: "string" },
3897
- created_at: { format: "date-time", type: "string" },
3898
- display_name: { minLength: 1, type: "string" },
3899
- external_type: {
3900
- enum: ["hid_part_number"],
3901
- type: "string"
3902
- },
3903
- external_type_display_name: { type: "string" },
3904
- workspace_id: { format: "uuid", type: "string" }
3905
- },
3906
- required: [
3907
- "acs_credential_pool_id",
3908
- "acs_system_id",
3909
- "display_name",
3910
- "external_type",
3911
- "external_type_display_name",
3912
- "created_at",
3913
- "workspace_id"
3914
- ],
3915
- type: "object"
4111
+ $ref: "#/components/schemas/acs_credential_pool"
3916
4112
  },
3917
4113
  type: "array"
3918
4114
  },
@@ -3936,7 +4132,8 @@ var openapi_default = {
3936
4132
  summary: "/acs/credential_pools/list",
3937
4133
  tags: ["/acs"],
3938
4134
  "x-fern-sdk-group-name": ["acs", "credential_pools"],
3939
- "x-fern-sdk-method-name": "list"
4135
+ "x-fern-sdk-method-name": "list",
4136
+ "x-fern-sdk-return-value": "acs_credential_pools"
3940
4137
  }
3941
4138
  },
3942
4139
  "/acs/credential_provisioning_automations/launch": {
@@ -3975,27 +4172,7 @@ var openapi_default = {
3975
4172
  schema: {
3976
4173
  properties: {
3977
4174
  acs_credential_provisioning_automation: {
3978
- properties: {
3979
- acs_credential_provisioning_automation_id: {
3980
- format: "uuid",
3981
- type: "string"
3982
- },
3983
- created_at: { format: "date-time", type: "string" },
3984
- credential_manager_acs_system_id: {
3985
- format: "uuid",
3986
- type: "string"
3987
- },
3988
- user_identity_id: { format: "uuid", type: "string" },
3989
- workspace_id: { format: "uuid", type: "string" }
3990
- },
3991
- required: [
3992
- "acs_credential_provisioning_automation_id",
3993
- "credential_manager_acs_system_id",
3994
- "user_identity_id",
3995
- "created_at",
3996
- "workspace_id"
3997
- ],
3998
- type: "object"
4175
+ $ref: "#/components/schemas/acs_credential_provisioning_automation"
3999
4176
  },
4000
4177
  ok: { type: "boolean" }
4001
4178
  },
@@ -4017,7 +4194,8 @@ var openapi_default = {
4017
4194
  summary: "/acs/credential_provisioning_automations/launch",
4018
4195
  tags: ["/acs"],
4019
4196
  "x-fern-sdk-group-name": ["acs", "credential_provisioning_automations"],
4020
- "x-fern-sdk-method-name": "launch"
4197
+ "x-fern-sdk-method-name": "launch",
4198
+ "x-fern-sdk-return-value": "acs_credential_provisioning_automation"
4021
4199
  }
4022
4200
  },
4023
4201
  "/acs/credentials/assign": {
@@ -4044,90 +4222,7 @@ var openapi_default = {
4044
4222
  schema: {
4045
4223
  properties: {
4046
4224
  acs_credential: {
4047
- properties: {
4048
- access_method: {
4049
- enum: ["code", "card", "mobile_key"],
4050
- type: "string"
4051
- },
4052
- acs_credential_id: { format: "uuid", type: "string" },
4053
- acs_credential_pool_id: {
4054
- format: "uuid",
4055
- type: "string"
4056
- },
4057
- acs_system_id: { format: "uuid", type: "string" },
4058
- acs_user_id: { format: "uuid", type: "string" },
4059
- code: { nullable: true, type: "string" },
4060
- created_at: { format: "date-time", type: "string" },
4061
- display_name: { minLength: 1, type: "string" },
4062
- ends_at: { type: "string" },
4063
- errors: {
4064
- items: {
4065
- properties: {
4066
- error_code: { type: "string" },
4067
- message: { type: "string" }
4068
- },
4069
- required: ["error_code", "message"],
4070
- type: "object"
4071
- },
4072
- type: "array"
4073
- },
4074
- external_type: {
4075
- enum: [
4076
- "pti_card",
4077
- "brivo_credential",
4078
- "hid_credential",
4079
- "visionline_card"
4080
- ],
4081
- type: "string"
4082
- },
4083
- external_type_display_name: { type: "string" },
4084
- is_multi_phone_sync_credential: { type: "boolean" },
4085
- parent_acs_credential_id: {
4086
- format: "uuid",
4087
- type: "string"
4088
- },
4089
- starts_at: { type: "string" },
4090
- visionline_metadata: {
4091
- properties: {
4092
- common_acs_entrance_ids: {
4093
- items: { format: "uuid", type: "string" },
4094
- type: "array"
4095
- },
4096
- guest_acs_entrance_ids: {
4097
- items: { format: "uuid", type: "string" },
4098
- type: "array"
4099
- },
4100
- joiner_acs_credential_ids: {
4101
- items: { format: "uuid", type: "string" },
4102
- type: "array"
4103
- }
4104
- },
4105
- type: "object"
4106
- },
4107
- warnings: {
4108
- items: {
4109
- properties: {
4110
- message: { type: "string" },
4111
- warning_code: { type: "string" }
4112
- },
4113
- required: ["warning_code", "message"],
4114
- type: "object"
4115
- },
4116
- type: "array"
4117
- },
4118
- workspace_id: { format: "uuid", type: "string" }
4119
- },
4120
- required: [
4121
- "acs_credential_id",
4122
- "acs_system_id",
4123
- "display_name",
4124
- "access_method",
4125
- "created_at",
4126
- "workspace_id",
4127
- "errors",
4128
- "warnings"
4129
- ],
4130
- type: "object"
4225
+ $ref: "#/components/schemas/acs_credential"
4131
4226
  },
4132
4227
  ok: { type: "boolean" }
4133
4228
  },
@@ -4173,90 +4268,7 @@ var openapi_default = {
4173
4268
  schema: {
4174
4269
  properties: {
4175
4270
  acs_credential: {
4176
- properties: {
4177
- access_method: {
4178
- enum: ["code", "card", "mobile_key"],
4179
- type: "string"
4180
- },
4181
- acs_credential_id: { format: "uuid", type: "string" },
4182
- acs_credential_pool_id: {
4183
- format: "uuid",
4184
- type: "string"
4185
- },
4186
- acs_system_id: { format: "uuid", type: "string" },
4187
- acs_user_id: { format: "uuid", type: "string" },
4188
- code: { nullable: true, type: "string" },
4189
- created_at: { format: "date-time", type: "string" },
4190
- display_name: { minLength: 1, type: "string" },
4191
- ends_at: { type: "string" },
4192
- errors: {
4193
- items: {
4194
- properties: {
4195
- error_code: { type: "string" },
4196
- message: { type: "string" }
4197
- },
4198
- required: ["error_code", "message"],
4199
- type: "object"
4200
- },
4201
- type: "array"
4202
- },
4203
- external_type: {
4204
- enum: [
4205
- "pti_card",
4206
- "brivo_credential",
4207
- "hid_credential",
4208
- "visionline_card"
4209
- ],
4210
- type: "string"
4211
- },
4212
- external_type_display_name: { type: "string" },
4213
- is_multi_phone_sync_credential: { type: "boolean" },
4214
- parent_acs_credential_id: {
4215
- format: "uuid",
4216
- type: "string"
4217
- },
4218
- starts_at: { type: "string" },
4219
- visionline_metadata: {
4220
- properties: {
4221
- common_acs_entrance_ids: {
4222
- items: { format: "uuid", type: "string" },
4223
- type: "array"
4224
- },
4225
- guest_acs_entrance_ids: {
4226
- items: { format: "uuid", type: "string" },
4227
- type: "array"
4228
- },
4229
- joiner_acs_credential_ids: {
4230
- items: { format: "uuid", type: "string" },
4231
- type: "array"
4232
- }
4233
- },
4234
- type: "object"
4235
- },
4236
- warnings: {
4237
- items: {
4238
- properties: {
4239
- message: { type: "string" },
4240
- warning_code: { type: "string" }
4241
- },
4242
- required: ["warning_code", "message"],
4243
- type: "object"
4244
- },
4245
- type: "array"
4246
- },
4247
- workspace_id: { format: "uuid", type: "string" }
4248
- },
4249
- required: [
4250
- "acs_credential_id",
4251
- "acs_system_id",
4252
- "display_name",
4253
- "access_method",
4254
- "created_at",
4255
- "workspace_id",
4256
- "errors",
4257
- "warnings"
4258
- ],
4259
- type: "object"
4271
+ $ref: "#/components/schemas/acs_credential"
4260
4272
  },
4261
4273
  ok: { type: "boolean" }
4262
4274
  },
@@ -4342,90 +4354,7 @@ var openapi_default = {
4342
4354
  schema: {
4343
4355
  properties: {
4344
4356
  acs_credential: {
4345
- properties: {
4346
- access_method: {
4347
- enum: ["code", "card", "mobile_key"],
4348
- type: "string"
4349
- },
4350
- acs_credential_id: { format: "uuid", type: "string" },
4351
- acs_credential_pool_id: {
4352
- format: "uuid",
4353
- type: "string"
4354
- },
4355
- acs_system_id: { format: "uuid", type: "string" },
4356
- acs_user_id: { format: "uuid", type: "string" },
4357
- code: { nullable: true, type: "string" },
4358
- created_at: { format: "date-time", type: "string" },
4359
- display_name: { minLength: 1, type: "string" },
4360
- ends_at: { type: "string" },
4361
- errors: {
4362
- items: {
4363
- properties: {
4364
- error_code: { type: "string" },
4365
- message: { type: "string" }
4366
- },
4367
- required: ["error_code", "message"],
4368
- type: "object"
4369
- },
4370
- type: "array"
4371
- },
4372
- external_type: {
4373
- enum: [
4374
- "pti_card",
4375
- "brivo_credential",
4376
- "hid_credential",
4377
- "visionline_card"
4378
- ],
4379
- type: "string"
4380
- },
4381
- external_type_display_name: { type: "string" },
4382
- is_multi_phone_sync_credential: { type: "boolean" },
4383
- parent_acs_credential_id: {
4384
- format: "uuid",
4385
- type: "string"
4386
- },
4387
- starts_at: { type: "string" },
4388
- visionline_metadata: {
4389
- properties: {
4390
- common_acs_entrance_ids: {
4391
- items: { format: "uuid", type: "string" },
4392
- type: "array"
4393
- },
4394
- guest_acs_entrance_ids: {
4395
- items: { format: "uuid", type: "string" },
4396
- type: "array"
4397
- },
4398
- joiner_acs_credential_ids: {
4399
- items: { format: "uuid", type: "string" },
4400
- type: "array"
4401
- }
4402
- },
4403
- type: "object"
4404
- },
4405
- warnings: {
4406
- items: {
4407
- properties: {
4408
- message: { type: "string" },
4409
- warning_code: { type: "string" }
4410
- },
4411
- required: ["warning_code", "message"],
4412
- type: "object"
4413
- },
4414
- type: "array"
4415
- },
4416
- workspace_id: { format: "uuid", type: "string" }
4417
- },
4418
- required: [
4419
- "acs_credential_id",
4420
- "acs_system_id",
4421
- "display_name",
4422
- "access_method",
4423
- "created_at",
4424
- "workspace_id",
4425
- "errors",
4426
- "warnings"
4427
- ],
4428
- type: "object"
4357
+ $ref: "#/components/schemas/acs_credential"
4429
4358
  },
4430
4359
  ok: { type: "boolean" }
4431
4360
  },
@@ -4447,7 +4376,8 @@ var openapi_default = {
4447
4376
  summary: "/acs/credentials/create",
4448
4377
  tags: ["/acs"],
4449
4378
  "x-fern-sdk-group-name": ["acs", "credentials"],
4450
- "x-fern-sdk-method-name": "create"
4379
+ "x-fern-sdk-method-name": "create",
4380
+ "x-fern-sdk-return-value": "acs_credential"
4451
4381
  }
4452
4382
  },
4453
4383
  "/acs/credentials/delete": {
@@ -4516,90 +4446,7 @@ var openapi_default = {
4516
4446
  schema: {
4517
4447
  properties: {
4518
4448
  acs_credential: {
4519
- properties: {
4520
- access_method: {
4521
- enum: ["code", "card", "mobile_key"],
4522
- type: "string"
4523
- },
4524
- acs_credential_id: { format: "uuid", type: "string" },
4525
- acs_credential_pool_id: {
4526
- format: "uuid",
4527
- type: "string"
4528
- },
4529
- acs_system_id: { format: "uuid", type: "string" },
4530
- acs_user_id: { format: "uuid", type: "string" },
4531
- code: { nullable: true, type: "string" },
4532
- created_at: { format: "date-time", type: "string" },
4533
- display_name: { minLength: 1, type: "string" },
4534
- ends_at: { type: "string" },
4535
- errors: {
4536
- items: {
4537
- properties: {
4538
- error_code: { type: "string" },
4539
- message: { type: "string" }
4540
- },
4541
- required: ["error_code", "message"],
4542
- type: "object"
4543
- },
4544
- type: "array"
4545
- },
4546
- external_type: {
4547
- enum: [
4548
- "pti_card",
4549
- "brivo_credential",
4550
- "hid_credential",
4551
- "visionline_card"
4552
- ],
4553
- type: "string"
4554
- },
4555
- external_type_display_name: { type: "string" },
4556
- is_multi_phone_sync_credential: { type: "boolean" },
4557
- parent_acs_credential_id: {
4558
- format: "uuid",
4559
- type: "string"
4560
- },
4561
- starts_at: { type: "string" },
4562
- visionline_metadata: {
4563
- properties: {
4564
- common_acs_entrance_ids: {
4565
- items: { format: "uuid", type: "string" },
4566
- type: "array"
4567
- },
4568
- guest_acs_entrance_ids: {
4569
- items: { format: "uuid", type: "string" },
4570
- type: "array"
4571
- },
4572
- joiner_acs_credential_ids: {
4573
- items: { format: "uuid", type: "string" },
4574
- type: "array"
4575
- }
4576
- },
4577
- type: "object"
4578
- },
4579
- warnings: {
4580
- items: {
4581
- properties: {
4582
- message: { type: "string" },
4583
- warning_code: { type: "string" }
4584
- },
4585
- required: ["warning_code", "message"],
4586
- type: "object"
4587
- },
4588
- type: "array"
4589
- },
4590
- workspace_id: { format: "uuid", type: "string" }
4591
- },
4592
- required: [
4593
- "acs_credential_id",
4594
- "acs_system_id",
4595
- "display_name",
4596
- "access_method",
4597
- "created_at",
4598
- "workspace_id",
4599
- "errors",
4600
- "warnings"
4601
- ],
4602
- type: "object"
4449
+ $ref: "#/components/schemas/acs_credential"
4603
4450
  },
4604
4451
  ok: { type: "boolean" }
4605
4452
  },
@@ -4621,7 +4468,8 @@ var openapi_default = {
4621
4468
  summary: "/acs/credentials/get",
4622
4469
  tags: ["/acs"],
4623
4470
  "x-fern-sdk-group-name": ["acs", "credentials"],
4624
- "x-fern-sdk-method-name": "get"
4471
+ "x-fern-sdk-method-name": "get",
4472
+ "x-fern-sdk-return-value": "acs_credential"
4625
4473
  }
4626
4474
  },
4627
4475
  "/acs/credentials/list": {
@@ -4683,92 +4531,7 @@ var openapi_default = {
4683
4531
  schema: {
4684
4532
  properties: {
4685
4533
  acs_credentials: {
4686
- items: {
4687
- properties: {
4688
- access_method: {
4689
- enum: ["code", "card", "mobile_key"],
4690
- type: "string"
4691
- },
4692
- acs_credential_id: { format: "uuid", type: "string" },
4693
- acs_credential_pool_id: {
4694
- format: "uuid",
4695
- type: "string"
4696
- },
4697
- acs_system_id: { format: "uuid", type: "string" },
4698
- acs_user_id: { format: "uuid", type: "string" },
4699
- code: { nullable: true, type: "string" },
4700
- created_at: { format: "date-time", type: "string" },
4701
- display_name: { minLength: 1, type: "string" },
4702
- ends_at: { type: "string" },
4703
- errors: {
4704
- items: {
4705
- properties: {
4706
- error_code: { type: "string" },
4707
- message: { type: "string" }
4708
- },
4709
- required: ["error_code", "message"],
4710
- type: "object"
4711
- },
4712
- type: "array"
4713
- },
4714
- external_type: {
4715
- enum: [
4716
- "pti_card",
4717
- "brivo_credential",
4718
- "hid_credential",
4719
- "visionline_card"
4720
- ],
4721
- type: "string"
4722
- },
4723
- external_type_display_name: { type: "string" },
4724
- is_multi_phone_sync_credential: { type: "boolean" },
4725
- parent_acs_credential_id: {
4726
- format: "uuid",
4727
- type: "string"
4728
- },
4729
- starts_at: { type: "string" },
4730
- visionline_metadata: {
4731
- properties: {
4732
- common_acs_entrance_ids: {
4733
- items: { format: "uuid", type: "string" },
4734
- type: "array"
4735
- },
4736
- guest_acs_entrance_ids: {
4737
- items: { format: "uuid", type: "string" },
4738
- type: "array"
4739
- },
4740
- joiner_acs_credential_ids: {
4741
- items: { format: "uuid", type: "string" },
4742
- type: "array"
4743
- }
4744
- },
4745
- type: "object"
4746
- },
4747
- warnings: {
4748
- items: {
4749
- properties: {
4750
- message: { type: "string" },
4751
- warning_code: { type: "string" }
4752
- },
4753
- required: ["warning_code", "message"],
4754
- type: "object"
4755
- },
4756
- type: "array"
4757
- },
4758
- workspace_id: { format: "uuid", type: "string" }
4759
- },
4760
- required: [
4761
- "acs_credential_id",
4762
- "acs_system_id",
4763
- "display_name",
4764
- "access_method",
4765
- "created_at",
4766
- "workspace_id",
4767
- "errors",
4768
- "warnings"
4769
- ],
4770
- type: "object"
4771
- },
4534
+ items: { $ref: "#/components/schemas/acs_credential" },
4772
4535
  type: "array"
4773
4536
  },
4774
4537
  ok: { type: "boolean" }
@@ -4792,7 +4555,8 @@ var openapi_default = {
4792
4555
  summary: "/acs/credentials/list",
4793
4556
  tags: ["/acs"],
4794
4557
  "x-fern-sdk-group-name": ["acs", "credentials"],
4795
- "x-fern-sdk-method-name": "list"
4558
+ "x-fern-sdk-method-name": "list",
4559
+ "x-fern-sdk-return-value": "acs_credentials"
4796
4560
  }
4797
4561
  },
4798
4562
  "/acs/credentials/unassign": {
@@ -4819,90 +4583,7 @@ var openapi_default = {
4819
4583
  schema: {
4820
4584
  properties: {
4821
4585
  acs_credential: {
4822
- properties: {
4823
- access_method: {
4824
- enum: ["code", "card", "mobile_key"],
4825
- type: "string"
4826
- },
4827
- acs_credential_id: { format: "uuid", type: "string" },
4828
- acs_credential_pool_id: {
4829
- format: "uuid",
4830
- type: "string"
4831
- },
4832
- acs_system_id: { format: "uuid", type: "string" },
4833
- acs_user_id: { format: "uuid", type: "string" },
4834
- code: { nullable: true, type: "string" },
4835
- created_at: { format: "date-time", type: "string" },
4836
- display_name: { minLength: 1, type: "string" },
4837
- ends_at: { type: "string" },
4838
- errors: {
4839
- items: {
4840
- properties: {
4841
- error_code: { type: "string" },
4842
- message: { type: "string" }
4843
- },
4844
- required: ["error_code", "message"],
4845
- type: "object"
4846
- },
4847
- type: "array"
4848
- },
4849
- external_type: {
4850
- enum: [
4851
- "pti_card",
4852
- "brivo_credential",
4853
- "hid_credential",
4854
- "visionline_card"
4855
- ],
4856
- type: "string"
4857
- },
4858
- external_type_display_name: { type: "string" },
4859
- is_multi_phone_sync_credential: { type: "boolean" },
4860
- parent_acs_credential_id: {
4861
- format: "uuid",
4862
- type: "string"
4863
- },
4864
- starts_at: { type: "string" },
4865
- visionline_metadata: {
4866
- properties: {
4867
- common_acs_entrance_ids: {
4868
- items: { format: "uuid", type: "string" },
4869
- type: "array"
4870
- },
4871
- guest_acs_entrance_ids: {
4872
- items: { format: "uuid", type: "string" },
4873
- type: "array"
4874
- },
4875
- joiner_acs_credential_ids: {
4876
- items: { format: "uuid", type: "string" },
4877
- type: "array"
4878
- }
4879
- },
4880
- type: "object"
4881
- },
4882
- warnings: {
4883
- items: {
4884
- properties: {
4885
- message: { type: "string" },
4886
- warning_code: { type: "string" }
4887
- },
4888
- required: ["warning_code", "message"],
4889
- type: "object"
4890
- },
4891
- type: "array"
4892
- },
4893
- workspace_id: { format: "uuid", type: "string" }
4894
- },
4895
- required: [
4896
- "acs_credential_id",
4897
- "acs_system_id",
4898
- "display_name",
4899
- "access_method",
4900
- "created_at",
4901
- "workspace_id",
4902
- "errors",
4903
- "warnings"
4904
- ],
4905
- type: "object"
4586
+ $ref: "#/components/schemas/acs_credential"
4906
4587
  },
4907
4588
  ok: { type: "boolean" }
4908
4589
  },
@@ -4948,90 +4629,7 @@ var openapi_default = {
4948
4629
  schema: {
4949
4630
  properties: {
4950
4631
  acs_credential: {
4951
- properties: {
4952
- access_method: {
4953
- enum: ["code", "card", "mobile_key"],
4954
- type: "string"
4955
- },
4956
- acs_credential_id: { format: "uuid", type: "string" },
4957
- acs_credential_pool_id: {
4958
- format: "uuid",
4959
- type: "string"
4960
- },
4961
- acs_system_id: { format: "uuid", type: "string" },
4962
- acs_user_id: { format: "uuid", type: "string" },
4963
- code: { nullable: true, type: "string" },
4964
- created_at: { format: "date-time", type: "string" },
4965
- display_name: { minLength: 1, type: "string" },
4966
- ends_at: { type: "string" },
4967
- errors: {
4968
- items: {
4969
- properties: {
4970
- error_code: { type: "string" },
4971
- message: { type: "string" }
4972
- },
4973
- required: ["error_code", "message"],
4974
- type: "object"
4975
- },
4976
- type: "array"
4977
- },
4978
- external_type: {
4979
- enum: [
4980
- "pti_card",
4981
- "brivo_credential",
4982
- "hid_credential",
4983
- "visionline_card"
4984
- ],
4985
- type: "string"
4986
- },
4987
- external_type_display_name: { type: "string" },
4988
- is_multi_phone_sync_credential: { type: "boolean" },
4989
- parent_acs_credential_id: {
4990
- format: "uuid",
4991
- type: "string"
4992
- },
4993
- starts_at: { type: "string" },
4994
- visionline_metadata: {
4995
- properties: {
4996
- common_acs_entrance_ids: {
4997
- items: { format: "uuid", type: "string" },
4998
- type: "array"
4999
- },
5000
- guest_acs_entrance_ids: {
5001
- items: { format: "uuid", type: "string" },
5002
- type: "array"
5003
- },
5004
- joiner_acs_credential_ids: {
5005
- items: { format: "uuid", type: "string" },
5006
- type: "array"
5007
- }
5008
- },
5009
- type: "object"
5010
- },
5011
- warnings: {
5012
- items: {
5013
- properties: {
5014
- message: { type: "string" },
5015
- warning_code: { type: "string" }
5016
- },
5017
- required: ["warning_code", "message"],
5018
- type: "object"
5019
- },
5020
- type: "array"
5021
- },
5022
- workspace_id: { format: "uuid", type: "string" }
5023
- },
5024
- required: [
5025
- "acs_credential_id",
5026
- "acs_system_id",
5027
- "display_name",
5028
- "access_method",
5029
- "created_at",
5030
- "workspace_id",
5031
- "errors",
5032
- "warnings"
5033
- ],
5034
- type: "object"
4632
+ $ref: "#/components/schemas/acs_credential"
5035
4633
  },
5036
4634
  ok: { type: "boolean" }
5037
4635
  },
@@ -5070,100 +4668,17 @@ var openapi_default = {
5070
4668
  required: ["acs_credential_id", "code"],
5071
4669
  type: "object"
5072
4670
  }
5073
- }
5074
- }
5075
- },
5076
- responses: {
5077
- 200: {
5078
- content: {
5079
- "application/json": {
5080
- schema: {
5081
- properties: {
5082
- acs_credential: {
5083
- properties: {
5084
- access_method: {
5085
- enum: ["code", "card", "mobile_key"],
5086
- type: "string"
5087
- },
5088
- acs_credential_id: { format: "uuid", type: "string" },
5089
- acs_credential_pool_id: {
5090
- format: "uuid",
5091
- type: "string"
5092
- },
5093
- acs_system_id: { format: "uuid", type: "string" },
5094
- acs_user_id: { format: "uuid", type: "string" },
5095
- code: { nullable: true, type: "string" },
5096
- created_at: { format: "date-time", type: "string" },
5097
- display_name: { minLength: 1, type: "string" },
5098
- ends_at: { type: "string" },
5099
- errors: {
5100
- items: {
5101
- properties: {
5102
- error_code: { type: "string" },
5103
- message: { type: "string" }
5104
- },
5105
- required: ["error_code", "message"],
5106
- type: "object"
5107
- },
5108
- type: "array"
5109
- },
5110
- external_type: {
5111
- enum: [
5112
- "pti_card",
5113
- "brivo_credential",
5114
- "hid_credential",
5115
- "visionline_card"
5116
- ],
5117
- type: "string"
5118
- },
5119
- external_type_display_name: { type: "string" },
5120
- is_multi_phone_sync_credential: { type: "boolean" },
5121
- parent_acs_credential_id: {
5122
- format: "uuid",
5123
- type: "string"
5124
- },
5125
- starts_at: { type: "string" },
5126
- visionline_metadata: {
5127
- properties: {
5128
- common_acs_entrance_ids: {
5129
- items: { format: "uuid", type: "string" },
5130
- type: "array"
5131
- },
5132
- guest_acs_entrance_ids: {
5133
- items: { format: "uuid", type: "string" },
5134
- type: "array"
5135
- },
5136
- joiner_acs_credential_ids: {
5137
- items: { format: "uuid", type: "string" },
5138
- type: "array"
5139
- }
5140
- },
5141
- type: "object"
5142
- },
5143
- warnings: {
5144
- items: {
5145
- properties: {
5146
- message: { type: "string" },
5147
- warning_code: { type: "string" }
5148
- },
5149
- required: ["warning_code", "message"],
5150
- type: "object"
5151
- },
5152
- type: "array"
5153
- },
5154
- workspace_id: { format: "uuid", type: "string" }
5155
- },
5156
- required: [
5157
- "acs_credential_id",
5158
- "acs_system_id",
5159
- "display_name",
5160
- "access_method",
5161
- "created_at",
5162
- "workspace_id",
5163
- "errors",
5164
- "warnings"
5165
- ],
5166
- type: "object"
4671
+ }
4672
+ }
4673
+ },
4674
+ responses: {
4675
+ 200: {
4676
+ content: {
4677
+ "application/json": {
4678
+ schema: {
4679
+ properties: {
4680
+ acs_credential: {
4681
+ $ref: "#/components/schemas/acs_credential"
5167
4682
  },
5168
4683
  ok: { type: "boolean" }
5169
4684
  },
@@ -5209,90 +4724,7 @@ var openapi_default = {
5209
4724
  schema: {
5210
4725
  properties: {
5211
4726
  acs_credential: {
5212
- properties: {
5213
- access_method: {
5214
- enum: ["code", "card", "mobile_key"],
5215
- type: "string"
5216
- },
5217
- acs_credential_id: { format: "uuid", type: "string" },
5218
- acs_credential_pool_id: {
5219
- format: "uuid",
5220
- type: "string"
5221
- },
5222
- acs_system_id: { format: "uuid", type: "string" },
5223
- acs_user_id: { format: "uuid", type: "string" },
5224
- code: { nullable: true, type: "string" },
5225
- created_at: { format: "date-time", type: "string" },
5226
- display_name: { minLength: 1, type: "string" },
5227
- ends_at: { type: "string" },
5228
- errors: {
5229
- items: {
5230
- properties: {
5231
- error_code: { type: "string" },
5232
- message: { type: "string" }
5233
- },
5234
- required: ["error_code", "message"],
5235
- type: "object"
5236
- },
5237
- type: "array"
5238
- },
5239
- external_type: {
5240
- enum: [
5241
- "pti_card",
5242
- "brivo_credential",
5243
- "hid_credential",
5244
- "visionline_card"
5245
- ],
5246
- type: "string"
5247
- },
5248
- external_type_display_name: { type: "string" },
5249
- is_multi_phone_sync_credential: { type: "boolean" },
5250
- parent_acs_credential_id: {
5251
- format: "uuid",
5252
- type: "string"
5253
- },
5254
- starts_at: { type: "string" },
5255
- visionline_metadata: {
5256
- properties: {
5257
- common_acs_entrance_ids: {
5258
- items: { format: "uuid", type: "string" },
5259
- type: "array"
5260
- },
5261
- guest_acs_entrance_ids: {
5262
- items: { format: "uuid", type: "string" },
5263
- type: "array"
5264
- },
5265
- joiner_acs_credential_ids: {
5266
- items: { format: "uuid", type: "string" },
5267
- type: "array"
5268
- }
5269
- },
5270
- type: "object"
5271
- },
5272
- warnings: {
5273
- items: {
5274
- properties: {
5275
- message: { type: "string" },
5276
- warning_code: { type: "string" }
5277
- },
5278
- required: ["warning_code", "message"],
5279
- type: "object"
5280
- },
5281
- type: "array"
5282
- },
5283
- workspace_id: { format: "uuid", type: "string" }
5284
- },
5285
- required: [
5286
- "acs_credential_id",
5287
- "acs_system_id",
5288
- "display_name",
5289
- "access_method",
5290
- "created_at",
5291
- "workspace_id",
5292
- "errors",
5293
- "warnings"
5294
- ],
5295
- type: "object"
4727
+ $ref: "#/components/schemas/acs_credential"
5296
4728
  },
5297
4729
  ok: { type: "boolean" }
5298
4730
  },
@@ -5339,76 +4771,7 @@ var openapi_default = {
5339
4771
  "application/json": {
5340
4772
  schema: {
5341
4773
  properties: {
5342
- acs_entrance: {
5343
- properties: {
5344
- acs_entrance_id: { format: "uuid", type: "string" },
5345
- acs_system_id: { format: "uuid", type: "string" },
5346
- created_at: { format: "date-time", type: "string" },
5347
- display_name: { type: "string" },
5348
- latch_metadata: {
5349
- nullable: true,
5350
- properties: {
5351
- accessibility_type: { type: "string" },
5352
- is_connected: { type: "boolean" },
5353
- name: { type: "string" },
5354
- type: { type: "string" }
5355
- },
5356
- required: [
5357
- "accessibility_type",
5358
- "name",
5359
- "type",
5360
- "is_connected"
5361
- ],
5362
- type: "object"
5363
- },
5364
- visionline_metadata: {
5365
- nullable: true,
5366
- properties: {
5367
- door_category: {
5368
- enum: [
5369
- "entrance",
5370
- "guest",
5371
- "elevator reader",
5372
- "common",
5373
- "common (PMS)"
5374
- ],
5375
- type: "string"
5376
- },
5377
- door_name: { type: "string" },
5378
- profiles: {
5379
- items: {
5380
- properties: {
5381
- visionline_door_profile_id: {
5382
- type: "string"
5383
- },
5384
- visionline_door_profile_type: {
5385
- enum: ["BLE", "commonDoor", "touch"],
5386
- type: "string"
5387
- }
5388
- },
5389
- required: [
5390
- "visionline_door_profile_id",
5391
- "visionline_door_profile_type"
5392
- ],
5393
- type: "object"
5394
- },
5395
- type: "array"
5396
- }
5397
- },
5398
- required: ["door_name", "door_category"],
5399
- type: "object"
5400
- }
5401
- },
5402
- required: [
5403
- "acs_entrance_id",
5404
- "display_name",
5405
- "acs_system_id",
5406
- "created_at",
5407
- "latch_metadata",
5408
- "visionline_metadata"
5409
- ],
5410
- type: "object"
5411
- },
4774
+ acs_entrance: { $ref: "#/components/schemas/acs_entrance" },
5412
4775
  ok: { type: "boolean" }
5413
4776
  },
5414
4777
  required: ["acs_entrance", "ok"],
@@ -5430,7 +4793,8 @@ var openapi_default = {
5430
4793
  summary: "/acs/entrances/get",
5431
4794
  tags: ["/acs"],
5432
4795
  "x-fern-sdk-group-name": ["acs", "entrances"],
5433
- "x-fern-sdk-method-name": "get"
4796
+ "x-fern-sdk-method-name": "get",
4797
+ "x-fern-sdk-return-value": "acs_entrance"
5434
4798
  }
5435
4799
  },
5436
4800
  "/acs/entrances/grant_access": {
@@ -5501,76 +4865,7 @@ var openapi_default = {
5501
4865
  schema: {
5502
4866
  properties: {
5503
4867
  acs_entrances: {
5504
- items: {
5505
- properties: {
5506
- acs_entrance_id: { format: "uuid", type: "string" },
5507
- acs_system_id: { format: "uuid", type: "string" },
5508
- created_at: { format: "date-time", type: "string" },
5509
- display_name: { type: "string" },
5510
- latch_metadata: {
5511
- nullable: true,
5512
- properties: {
5513
- accessibility_type: { type: "string" },
5514
- is_connected: { type: "boolean" },
5515
- name: { type: "string" },
5516
- type: { type: "string" }
5517
- },
5518
- required: [
5519
- "accessibility_type",
5520
- "name",
5521
- "type",
5522
- "is_connected"
5523
- ],
5524
- type: "object"
5525
- },
5526
- visionline_metadata: {
5527
- nullable: true,
5528
- properties: {
5529
- door_category: {
5530
- enum: [
5531
- "entrance",
5532
- "guest",
5533
- "elevator reader",
5534
- "common",
5535
- "common (PMS)"
5536
- ],
5537
- type: "string"
5538
- },
5539
- door_name: { type: "string" },
5540
- profiles: {
5541
- items: {
5542
- properties: {
5543
- visionline_door_profile_id: {
5544
- type: "string"
5545
- },
5546
- visionline_door_profile_type: {
5547
- enum: ["BLE", "commonDoor", "touch"],
5548
- type: "string"
5549
- }
5550
- },
5551
- required: [
5552
- "visionline_door_profile_id",
5553
- "visionline_door_profile_type"
5554
- ],
5555
- type: "object"
5556
- },
5557
- type: "array"
5558
- }
5559
- },
5560
- required: ["door_name", "door_category"],
5561
- type: "object"
5562
- }
5563
- },
5564
- required: [
5565
- "acs_entrance_id",
5566
- "display_name",
5567
- "acs_system_id",
5568
- "created_at",
5569
- "latch_metadata",
5570
- "visionline_metadata"
5571
- ],
5572
- type: "object"
5573
- },
4868
+ items: { $ref: "#/components/schemas/acs_entrance" },
5574
4869
  type: "array"
5575
4870
  },
5576
4871
  ok: { type: "boolean" }
@@ -5594,7 +4889,8 @@ var openapi_default = {
5594
4889
  summary: "/acs/entrances/list",
5595
4890
  tags: ["/acs"],
5596
4891
  "x-fern-sdk-group-name": ["acs", "entrances"],
5597
- "x-fern-sdk-method-name": "list"
4892
+ "x-fern-sdk-method-name": "list",
4893
+ "x-fern-sdk-return-value": "acs_entrances"
5598
4894
  }
5599
4895
  },
5600
4896
  "/acs/entrances/list_credentials_with_access": {
@@ -5627,92 +4923,7 @@ var openapi_default = {
5627
4923
  schema: {
5628
4924
  properties: {
5629
4925
  acs_credentials: {
5630
- items: {
5631
- properties: {
5632
- access_method: {
5633
- enum: ["code", "card", "mobile_key"],
5634
- type: "string"
5635
- },
5636
- acs_credential_id: { format: "uuid", type: "string" },
5637
- acs_credential_pool_id: {
5638
- format: "uuid",
5639
- type: "string"
5640
- },
5641
- acs_system_id: { format: "uuid", type: "string" },
5642
- acs_user_id: { format: "uuid", type: "string" },
5643
- code: { nullable: true, type: "string" },
5644
- created_at: { format: "date-time", type: "string" },
5645
- display_name: { minLength: 1, type: "string" },
5646
- ends_at: { type: "string" },
5647
- errors: {
5648
- items: {
5649
- properties: {
5650
- error_code: { type: "string" },
5651
- message: { type: "string" }
5652
- },
5653
- required: ["error_code", "message"],
5654
- type: "object"
5655
- },
5656
- type: "array"
5657
- },
5658
- external_type: {
5659
- enum: [
5660
- "pti_card",
5661
- "brivo_credential",
5662
- "hid_credential",
5663
- "visionline_card"
5664
- ],
5665
- type: "string"
5666
- },
5667
- external_type_display_name: { type: "string" },
5668
- is_multi_phone_sync_credential: { type: "boolean" },
5669
- parent_acs_credential_id: {
5670
- format: "uuid",
5671
- type: "string"
5672
- },
5673
- starts_at: { type: "string" },
5674
- visionline_metadata: {
5675
- properties: {
5676
- common_acs_entrance_ids: {
5677
- items: { format: "uuid", type: "string" },
5678
- type: "array"
5679
- },
5680
- guest_acs_entrance_ids: {
5681
- items: { format: "uuid", type: "string" },
5682
- type: "array"
5683
- },
5684
- joiner_acs_credential_ids: {
5685
- items: { format: "uuid", type: "string" },
5686
- type: "array"
5687
- }
5688
- },
5689
- type: "object"
5690
- },
5691
- warnings: {
5692
- items: {
5693
- properties: {
5694
- message: { type: "string" },
5695
- warning_code: { type: "string" }
5696
- },
5697
- required: ["warning_code", "message"],
5698
- type: "object"
5699
- },
5700
- type: "array"
5701
- },
5702
- workspace_id: { format: "uuid", type: "string" }
5703
- },
5704
- required: [
5705
- "acs_credential_id",
5706
- "acs_system_id",
5707
- "display_name",
5708
- "access_method",
5709
- "created_at",
5710
- "workspace_id",
5711
- "errors",
5712
- "warnings"
5713
- ],
5714
- type: "object"
5715
- },
4926
+ items: { $ref: "#/components/schemas/acs_credential" },
5716
4927
  type: "array"
5717
4928
  },
5718
4929
  ok: { type: "boolean" }
@@ -5736,7 +4947,8 @@ var openapi_default = {
5736
4947
  summary: "/acs/entrances/list_credentials_with_access",
5737
4948
  tags: ["/acs"],
5738
4949
  "x-fern-sdk-group-name": ["acs", "entrances"],
5739
- "x-fern-sdk-method-name": "list_credentials_with_access"
4950
+ "x-fern-sdk-method-name": "list_credentials_with_access",
4951
+ "x-fern-sdk-return-value": "acs_credentials"
5740
4952
  }
5741
4953
  },
5742
4954
  "/acs/systems/get": {
@@ -5782,7 +4994,8 @@ var openapi_default = {
5782
4994
  summary: "/acs/systems/get",
5783
4995
  tags: ["/acs"],
5784
4996
  "x-fern-sdk-group-name": ["acs", "systems"],
5785
- "x-fern-sdk-method-name": "get"
4997
+ "x-fern-sdk-method-name": "get",
4998
+ "x-fern-sdk-return-value": "acs_system"
5786
4999
  }
5787
5000
  },
5788
5001
  "/acs/systems/list": {
@@ -5831,7 +5044,8 @@ var openapi_default = {
5831
5044
  summary: "/acs/systems/list",
5832
5045
  tags: ["/acs"],
5833
5046
  "x-fern-sdk-group-name": ["acs", "systems"],
5834
- "x-fern-sdk-method-name": "list"
5047
+ "x-fern-sdk-method-name": "list",
5048
+ "x-fern-sdk-return-value": "acs_systems"
5835
5049
  }
5836
5050
  },
5837
5051
  "/acs/users/add_to_access_group": {
@@ -5984,7 +5198,8 @@ var openapi_default = {
5984
5198
  summary: "/acs/users/create",
5985
5199
  tags: ["/acs"],
5986
5200
  "x-fern-sdk-group-name": ["acs", "users"],
5987
- "x-fern-sdk-method-name": "create"
5201
+ "x-fern-sdk-method-name": "create",
5202
+ "x-fern-sdk-return-value": "acs_user"
5988
5203
  }
5989
5204
  },
5990
5205
  "/acs/users/delete": {
@@ -6069,7 +5284,8 @@ var openapi_default = {
6069
5284
  summary: "/acs/users/get",
6070
5285
  tags: ["/acs"],
6071
5286
  "x-fern-sdk-group-name": ["acs", "users"],
6072
- "x-fern-sdk-method-name": "get"
5287
+ "x-fern-sdk-method-name": "get",
5288
+ "x-fern-sdk-return-value": "acs_user"
6073
5289
  }
6074
5290
  },
6075
5291
  "/acs/users/list": {
@@ -6124,7 +5340,8 @@ var openapi_default = {
6124
5340
  summary: "/acs/users/list",
6125
5341
  tags: ["/acs"],
6126
5342
  "x-fern-sdk-group-name": ["acs", "users"],
6127
- "x-fern-sdk-method-name": "list"
5343
+ "x-fern-sdk-method-name": "list",
5344
+ "x-fern-sdk-return-value": "acs_users"
6128
5345
  }
6129
5346
  },
6130
5347
  "/acs/users/list_accessible_entrances": {
@@ -6148,76 +5365,7 @@ var openapi_default = {
6148
5365
  schema: {
6149
5366
  properties: {
6150
5367
  acs_entrances: {
6151
- items: {
6152
- properties: {
6153
- acs_entrance_id: { format: "uuid", type: "string" },
6154
- acs_system_id: { format: "uuid", type: "string" },
6155
- created_at: { format: "date-time", type: "string" },
6156
- display_name: { type: "string" },
6157
- latch_metadata: {
6158
- nullable: true,
6159
- properties: {
6160
- accessibility_type: { type: "string" },
6161
- is_connected: { type: "boolean" },
6162
- name: { type: "string" },
6163
- type: { type: "string" }
6164
- },
6165
- required: [
6166
- "accessibility_type",
6167
- "name",
6168
- "type",
6169
- "is_connected"
6170
- ],
6171
- type: "object"
6172
- },
6173
- visionline_metadata: {
6174
- nullable: true,
6175
- properties: {
6176
- door_category: {
6177
- enum: [
6178
- "entrance",
6179
- "guest",
6180
- "elevator reader",
6181
- "common",
6182
- "common (PMS)"
6183
- ],
6184
- type: "string"
6185
- },
6186
- door_name: { type: "string" },
6187
- profiles: {
6188
- items: {
6189
- properties: {
6190
- visionline_door_profile_id: {
6191
- type: "string"
6192
- },
6193
- visionline_door_profile_type: {
6194
- enum: ["BLE", "commonDoor", "touch"],
6195
- type: "string"
6196
- }
6197
- },
6198
- required: [
6199
- "visionline_door_profile_id",
6200
- "visionline_door_profile_type"
6201
- ],
6202
- type: "object"
6203
- },
6204
- type: "array"
6205
- }
6206
- },
6207
- required: ["door_name", "door_category"],
6208
- type: "object"
6209
- }
6210
- },
6211
- required: [
6212
- "acs_entrance_id",
6213
- "display_name",
6214
- "acs_system_id",
6215
- "created_at",
6216
- "latch_metadata",
6217
- "visionline_metadata"
6218
- ],
6219
- type: "object"
6220
- },
5368
+ items: { $ref: "#/components/schemas/acs_entrance" },
6221
5369
  type: "array"
6222
5370
  },
6223
5371
  ok: { type: "boolean" }
@@ -6241,7 +5389,8 @@ var openapi_default = {
6241
5389
  summary: "/acs/users/list_accessible_entrances",
6242
5390
  tags: ["/acs"],
6243
5391
  "x-fern-sdk-group-name": ["acs", "users"],
6244
- "x-fern-sdk-method-name": "list_accessible_entrances"
5392
+ "x-fern-sdk-method-name": "list_accessible_entrances",
5393
+ "x-fern-sdk-return-value": "acs_entrances"
6245
5394
  }
6246
5395
  },
6247
5396
  "/acs/users/remove_from_access_group": {
@@ -9492,21 +8641,7 @@ var openapi_default = {
9492
8641
  "application/json": {
9493
8642
  schema: {
9494
8643
  properties: {
9495
- network: {
9496
- properties: {
9497
- created_at: { format: "date-time", type: "string" },
9498
- display_name: { type: "string" },
9499
- network_id: { format: "uuid", type: "string" },
9500
- workspace_id: { format: "uuid", type: "string" }
9501
- },
9502
- required: [
9503
- "network_id",
9504
- "workspace_id",
9505
- "display_name",
9506
- "created_at"
9507
- ],
9508
- type: "object"
9509
- },
8644
+ network: { $ref: "#/components/schemas/network" },
9510
8645
  ok: { type: "boolean" }
9511
8646
  },
9512
8647
  required: ["network", "ok"],
@@ -9527,7 +8662,8 @@ var openapi_default = {
9527
8662
  summary: "/networks/get",
9528
8663
  tags: ["/networks"],
9529
8664
  "x-fern-sdk-group-name": ["networks"],
9530
- "x-fern-sdk-method-name": "get"
8665
+ "x-fern-sdk-method-name": "get",
8666
+ "x-fern-sdk-return-value": "network"
9531
8667
  }
9532
8668
  },
9533
8669
  "/networks/list": {
@@ -9545,21 +8681,7 @@ var openapi_default = {
9545
8681
  schema: {
9546
8682
  properties: {
9547
8683
  networks: {
9548
- items: {
9549
- properties: {
9550
- created_at: { format: "date-time", type: "string" },
9551
- display_name: { type: "string" },
9552
- network_id: { format: "uuid", type: "string" },
9553
- workspace_id: { format: "uuid", type: "string" }
9554
- },
9555
- required: [
9556
- "network_id",
9557
- "workspace_id",
9558
- "display_name",
9559
- "created_at"
9560
- ],
9561
- type: "object"
9562
- },
8684
+ items: { $ref: "#/components/schemas/network" },
9563
8685
  type: "array"
9564
8686
  },
9565
8687
  ok: { type: "boolean" }
@@ -9582,7 +8704,8 @@ var openapi_default = {
9582
8704
  summary: "/networks/list",
9583
8705
  tags: ["/networks"],
9584
8706
  "x-fern-sdk-group-name": ["networks"],
9585
- "x-fern-sdk-method-name": "list"
8707
+ "x-fern-sdk-method-name": "list",
8708
+ "x-fern-sdk-return-value": "networks"
9586
8709
  }
9587
8710
  },
9588
8711
  "/noise_sensors/noise_thresholds/create": {
@@ -11435,39 +10558,7 @@ var openapi_default = {
11435
10558
  properties: {
11436
10559
  ok: { type: "boolean" },
11437
10560
  user_identity: {
11438
- properties: {
11439
- created_at: { format: "date-time", type: "string" },
11440
- display_name: { minLength: 1, type: "string" },
11441
- email_address: {
11442
- format: "email",
11443
- nullable: true,
11444
- type: "string"
11445
- },
11446
- full_name: {
11447
- minLength: 1,
11448
- nullable: true,
11449
- type: "string"
11450
- },
11451
- phone_number: { nullable: true, type: "string" },
11452
- user_identity_id: { format: "uuid", type: "string" },
11453
- user_identity_key: {
11454
- minLength: 1,
11455
- nullable: true,
11456
- type: "string"
11457
- },
11458
- workspace_id: { format: "uuid", type: "string" }
11459
- },
11460
- required: [
11461
- "user_identity_id",
11462
- "user_identity_key",
11463
- "email_address",
11464
- "phone_number",
11465
- "display_name",
11466
- "full_name",
11467
- "created_at",
11468
- "workspace_id"
11469
- ],
11470
- type: "object"
10561
+ $ref: "#/components/schemas/user_identity"
11471
10562
  }
11472
10563
  },
11473
10564
  required: ["user_identity", "ok"],
@@ -11488,7 +10579,8 @@ var openapi_default = {
11488
10579
  summary: "/user_identities/create",
11489
10580
  tags: ["/user_identities"],
11490
10581
  "x-fern-sdk-group-name": ["user_identities"],
11491
- "x-fern-sdk-method-name": "create"
10582
+ "x-fern-sdk-method-name": "create",
10583
+ "x-fern-sdk-return-value": "user_identity"
11492
10584
  }
11493
10585
  },
11494
10586
  "/user_identities/delete": {
@@ -11623,7 +10715,8 @@ var openapi_default = {
11623
10715
  summary: "/user_identities/enrollment_automations/get",
11624
10716
  tags: ["/user_identities"],
11625
10717
  "x-fern-sdk-group-name": ["user_identities", "enrollment_automations"],
11626
- "x-fern-sdk-method-name": "get"
10718
+ "x-fern-sdk-method-name": "get",
10719
+ "x-fern-sdk-return-value": "enrollment_automation"
11627
10720
  }
11628
10721
  },
11629
10722
  "/user_identities/enrollment_automations/launch": {
@@ -11709,7 +10802,8 @@ var openapi_default = {
11709
10802
  summary: "/user_identities/enrollment_automations/launch",
11710
10803
  tags: ["/user_identities"],
11711
10804
  "x-fern-sdk-group-name": ["user_identities", "enrollment_automations"],
11712
- "x-fern-sdk-method-name": "launch"
10805
+ "x-fern-sdk-method-name": "launch",
10806
+ "x-fern-sdk-return-value": "enrollment_automation"
11713
10807
  }
11714
10808
  },
11715
10809
  "/user_identities/enrollment_automations/list": {
@@ -11761,7 +10855,8 @@ var openapi_default = {
11761
10855
  summary: "/user_identities/enrollment_automations/list",
11762
10856
  tags: ["/user_identities"],
11763
10857
  "x-fern-sdk-group-name": ["user_identities", "enrollment_automations"],
11764
- "x-fern-sdk-method-name": "list"
10858
+ "x-fern-sdk-method-name": "list",
10859
+ "x-fern-sdk-return-value": "enrollment_automations"
11765
10860
  }
11766
10861
  },
11767
10862
  "/user_identities/get": {
@@ -11797,39 +10892,7 @@ var openapi_default = {
11797
10892
  properties: {
11798
10893
  ok: { type: "boolean" },
11799
10894
  user_identity: {
11800
- properties: {
11801
- created_at: { format: "date-time", type: "string" },
11802
- display_name: { minLength: 1, type: "string" },
11803
- email_address: {
11804
- format: "email",
11805
- nullable: true,
11806
- type: "string"
11807
- },
11808
- full_name: {
11809
- minLength: 1,
11810
- nullable: true,
11811
- type: "string"
11812
- },
11813
- phone_number: { nullable: true, type: "string" },
11814
- user_identity_id: { format: "uuid", type: "string" },
11815
- user_identity_key: {
11816
- minLength: 1,
11817
- nullable: true,
11818
- type: "string"
11819
- },
11820
- workspace_id: { format: "uuid", type: "string" }
11821
- },
11822
- required: [
11823
- "user_identity_id",
11824
- "user_identity_key",
11825
- "email_address",
11826
- "phone_number",
11827
- "display_name",
11828
- "full_name",
11829
- "created_at",
11830
- "workspace_id"
11831
- ],
11832
- type: "object"
10895
+ $ref: "#/components/schemas/user_identity"
11833
10896
  }
11834
10897
  },
11835
10898
  required: ["user_identity", "ok"],
@@ -11850,7 +10913,8 @@ var openapi_default = {
11850
10913
  summary: "/user_identities/get",
11851
10914
  tags: ["/user_identities"],
11852
10915
  "x-fern-sdk-group-name": ["user_identities"],
11853
- "x-fern-sdk-method-name": "get"
10916
+ "x-fern-sdk-method-name": "get",
10917
+ "x-fern-sdk-return-value": "user_identity"
11854
10918
  }
11855
10919
  },
11856
10920
  "/user_identities/grant_access_to_device": {
@@ -11964,41 +11028,7 @@ var openapi_default = {
11964
11028
  properties: {
11965
11029
  ok: { type: "boolean" },
11966
11030
  user_identities: {
11967
- items: {
11968
- properties: {
11969
- created_at: { format: "date-time", type: "string" },
11970
- display_name: { minLength: 1, type: "string" },
11971
- email_address: {
11972
- format: "email",
11973
- nullable: true,
11974
- type: "string"
11975
- },
11976
- full_name: {
11977
- minLength: 1,
11978
- nullable: true,
11979
- type: "string"
11980
- },
11981
- phone_number: { nullable: true, type: "string" },
11982
- user_identity_id: { format: "uuid", type: "string" },
11983
- user_identity_key: {
11984
- minLength: 1,
11985
- nullable: true,
11986
- type: "string"
11987
- },
11988
- workspace_id: { format: "uuid", type: "string" }
11989
- },
11990
- required: [
11991
- "user_identity_id",
11992
- "user_identity_key",
11993
- "email_address",
11994
- "phone_number",
11995
- "display_name",
11996
- "full_name",
11997
- "created_at",
11998
- "workspace_id"
11999
- ],
12000
- type: "object"
12001
- },
11031
+ items: { $ref: "#/components/schemas/user_identity" },
12002
11032
  type: "array"
12003
11033
  }
12004
11034
  },
@@ -12048,12 +11078,17 @@ var openapi_default = {
12048
11078
  schema: {
12049
11079
  properties: {
12050
11080
  accessible_devices: {
11081
+ description: "\n ---\n deprecated: use devices.\n ---\n ",
11082
+ items: { $ref: "#/components/schemas/device" },
11083
+ type: "array"
11084
+ },
11085
+ devices: {
12051
11086
  items: { $ref: "#/components/schemas/device" },
12052
11087
  type: "array"
12053
11088
  },
12054
11089
  ok: { type: "boolean" }
12055
11090
  },
12056
- required: ["accessible_devices", "ok"],
11091
+ required: ["devices", "accessible_devices", "ok"],
12057
11092
  type: "object"
12058
11093
  }
12059
11094
  }
@@ -12071,7 +11106,8 @@ var openapi_default = {
12071
11106
  summary: "/user_identities/list_accessible_devices",
12072
11107
  tags: ["/user_identities"],
12073
11108
  "x-fern-sdk-group-name": ["user_identities"],
12074
- "x-fern-sdk-method-name": "list_accessible_devices"
11109
+ "x-fern-sdk-method-name": "list_accessible_devices",
11110
+ "x-fern-sdk-return-value": "devices"
12075
11111
  }
12076
11112
  },
12077
11113
  "/user_identities/list_acs_systems": {
@@ -12121,7 +11157,8 @@ var openapi_default = {
12121
11157
  summary: "/user_identities/list_acs_systems",
12122
11158
  tags: ["/user_identities"],
12123
11159
  "x-fern-sdk-group-name": ["user_identities"],
12124
- "x-fern-sdk-method-name": "list_acs_systems"
11160
+ "x-fern-sdk-method-name": "list_acs_systems",
11161
+ "x-fern-sdk-return-value": "acs_systems"
12125
11162
  }
12126
11163
  },
12127
11164
  "/user_identities/list_acs_users": {
@@ -12170,7 +11207,8 @@ var openapi_default = {
12170
11207
  summary: "/user_identities/list_acs_users",
12171
11208
  tags: ["/user_identities"],
12172
11209
  "x-fern-sdk-group-name": ["user_identities"],
12173
- "x-fern-sdk-method-name": "list_acs_users"
11210
+ "x-fern-sdk-method-name": "list_acs_users",
11211
+ "x-fern-sdk-return-value": "acs_users"
12174
11212
  }
12175
11213
  },
12176
11214
  "/user_identities/remove_acs_user": {
@@ -12710,7 +11748,8 @@ var openapi_default = {
12710
11748
  summary: "/workspaces/create",
12711
11749
  tags: ["/workspaces"],
12712
11750
  "x-fern-sdk-group-name": ["workspaces"],
12713
- "x-fern-sdk-method-name": "create"
11751
+ "x-fern-sdk-method-name": "create",
11752
+ "x-fern-sdk-return-value": "workspace"
12714
11753
  }
12715
11754
  },
12716
11755
  "/workspaces/get": {