@seamapi/types 1.152.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.
package/dist/connect.cjs CHANGED
@@ -40,10 +40,21 @@ var connect_webview = zod.z.object({
40
40
  device_selection_mode: connect_webview_device_selection_mode,
41
41
  // TODO: Use enum value.
42
42
  accepted_providers: zod.z.array(zod.z.string()),
43
- // TODO: Use enum value.
44
- accepted_devices: zod.z.array(zod.z.string()),
43
+ accepted_devices: zod.z.array(zod.z.string()).describe(
44
+ `
45
+ ---
46
+ deprecated: Unused. Will be removed.
47
+ ---
48
+ `
49
+ ),
50
+ any_device_allowed: zod.z.boolean().describe(
51
+ `
52
+ ---
53
+ deprecated: Unused. Will be removed.
54
+ ---
55
+ `
56
+ ),
45
57
  any_provider_allowed: zod.z.boolean(),
46
- any_device_allowed: zod.z.boolean(),
47
58
  login_successful: zod.z.boolean(),
48
59
  status: zod.z.enum(["pending", "failed", "authorized"]),
49
60
  custom_redirect_url: zod.z.string().url().nullable(),
@@ -223,6 +234,190 @@ var openapi_default = {
223
234
  ],
224
235
  type: "object"
225
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
+ },
226
421
  acs_system: {
227
422
  properties: {
228
423
  acs_system_id: { format: "uuid", type: "string" },
@@ -455,9 +650,16 @@ var openapi_default = {
455
650
  },
456
651
  connect_webview: {
457
652
  properties: {
458
- accepted_devices: { items: { type: "string" }, type: "array" },
653
+ accepted_devices: {
654
+ description: "\n ---\n deprecated: Unused. Will be removed.\n ---\n ",
655
+ items: { type: "string" },
656
+ type: "array"
657
+ },
459
658
  accepted_providers: { items: { type: "string" }, type: "array" },
460
- any_device_allowed: { type: "boolean" },
659
+ any_device_allowed: {
660
+ description: "\n ---\n deprecated: Unused. Will be removed.\n ---\n ",
661
+ type: "boolean"
662
+ },
461
663
  any_provider_allowed: { type: "boolean" },
462
664
  authorized_at: {
463
665
  format: "date-time",
@@ -508,8 +710,8 @@ var openapi_default = {
508
710
  "device_selection_mode",
509
711
  "accepted_providers",
510
712
  "accepted_devices",
511
- "any_provider_allowed",
512
713
  "any_device_allowed",
714
+ "any_provider_allowed",
513
715
  "login_successful",
514
716
  "status",
515
717
  "custom_redirect_url",
@@ -1895,6 +2097,16 @@ var openapi_default = {
1895
2097
  ],
1896
2098
  type: "object"
1897
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
+ },
1898
2110
  noise_threshold: {
1899
2111
  properties: {
1900
2112
  device_id: { format: "uuid", type: "string" },
@@ -2362,6 +2574,29 @@ var openapi_default = {
2362
2574
  ],
2363
2575
  type: "object"
2364
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
+ },
2365
2600
  webhook: {
2366
2601
  properties: {
2367
2602
  event_types: { items: { type: "string" }, type: "array" },
@@ -3700,7 +3935,8 @@ var openapi_default = {
3700
3935
  summary: "/acs/access_groups/get",
3701
3936
  tags: ["/acs"],
3702
3937
  "x-fern-sdk-group-name": ["acs", "access_groups"],
3703
- "x-fern-sdk-method-name": "get"
3938
+ "x-fern-sdk-method-name": "get",
3939
+ "x-fern-sdk-return-value": "acs_access_group"
3704
3940
  }
3705
3941
  },
3706
3942
  "/acs/access_groups/list": {
@@ -3749,7 +3985,8 @@ var openapi_default = {
3749
3985
  summary: "/acs/access_groups/list",
3750
3986
  tags: ["/acs"],
3751
3987
  "x-fern-sdk-group-name": ["acs", "access_groups"],
3752
- "x-fern-sdk-method-name": "list"
3988
+ "x-fern-sdk-method-name": "list",
3989
+ "x-fern-sdk-return-value": "acs_access_groups"
3753
3990
  }
3754
3991
  },
3755
3992
  "/acs/access_groups/list_users": {
@@ -3799,7 +4036,8 @@ var openapi_default = {
3799
4036
  summary: "/acs/access_groups/list_users",
3800
4037
  tags: ["/acs"],
3801
4038
  "x-fern-sdk-group-name": ["acs", "access_groups"],
3802
- "x-fern-sdk-method-name": "list_users"
4039
+ "x-fern-sdk-method-name": "list_users",
4040
+ "x-fern-sdk-return-value": "acs_users"
3803
4041
  }
3804
4042
  },
3805
4043
  "/acs/access_groups/remove_user": {
@@ -3870,31 +4108,7 @@ var openapi_default = {
3870
4108
  properties: {
3871
4109
  acs_credential_pools: {
3872
4110
  items: {
3873
- properties: {
3874
- acs_credential_pool_id: {
3875
- format: "uuid",
3876
- type: "string"
3877
- },
3878
- acs_system_id: { format: "uuid", type: "string" },
3879
- created_at: { format: "date-time", type: "string" },
3880
- display_name: { minLength: 1, type: "string" },
3881
- external_type: {
3882
- enum: ["hid_part_number"],
3883
- type: "string"
3884
- },
3885
- external_type_display_name: { type: "string" },
3886
- workspace_id: { format: "uuid", type: "string" }
3887
- },
3888
- required: [
3889
- "acs_credential_pool_id",
3890
- "acs_system_id",
3891
- "display_name",
3892
- "external_type",
3893
- "external_type_display_name",
3894
- "created_at",
3895
- "workspace_id"
3896
- ],
3897
- type: "object"
4111
+ $ref: "#/components/schemas/acs_credential_pool"
3898
4112
  },
3899
4113
  type: "array"
3900
4114
  },
@@ -3918,7 +4132,8 @@ var openapi_default = {
3918
4132
  summary: "/acs/credential_pools/list",
3919
4133
  tags: ["/acs"],
3920
4134
  "x-fern-sdk-group-name": ["acs", "credential_pools"],
3921
- "x-fern-sdk-method-name": "list"
4135
+ "x-fern-sdk-method-name": "list",
4136
+ "x-fern-sdk-return-value": "acs_credential_pools"
3922
4137
  }
3923
4138
  },
3924
4139
  "/acs/credential_provisioning_automations/launch": {
@@ -3957,27 +4172,7 @@ var openapi_default = {
3957
4172
  schema: {
3958
4173
  properties: {
3959
4174
  acs_credential_provisioning_automation: {
3960
- properties: {
3961
- acs_credential_provisioning_automation_id: {
3962
- format: "uuid",
3963
- type: "string"
3964
- },
3965
- created_at: { format: "date-time", type: "string" },
3966
- credential_manager_acs_system_id: {
3967
- format: "uuid",
3968
- type: "string"
3969
- },
3970
- user_identity_id: { format: "uuid", type: "string" },
3971
- workspace_id: { format: "uuid", type: "string" }
3972
- },
3973
- required: [
3974
- "acs_credential_provisioning_automation_id",
3975
- "credential_manager_acs_system_id",
3976
- "user_identity_id",
3977
- "created_at",
3978
- "workspace_id"
3979
- ],
3980
- type: "object"
4175
+ $ref: "#/components/schemas/acs_credential_provisioning_automation"
3981
4176
  },
3982
4177
  ok: { type: "boolean" }
3983
4178
  },
@@ -3999,7 +4194,8 @@ var openapi_default = {
3999
4194
  summary: "/acs/credential_provisioning_automations/launch",
4000
4195
  tags: ["/acs"],
4001
4196
  "x-fern-sdk-group-name": ["acs", "credential_provisioning_automations"],
4002
- "x-fern-sdk-method-name": "launch"
4197
+ "x-fern-sdk-method-name": "launch",
4198
+ "x-fern-sdk-return-value": "acs_credential_provisioning_automation"
4003
4199
  }
4004
4200
  },
4005
4201
  "/acs/credentials/assign": {
@@ -4026,90 +4222,7 @@ var openapi_default = {
4026
4222
  schema: {
4027
4223
  properties: {
4028
4224
  acs_credential: {
4029
- properties: {
4030
- access_method: {
4031
- enum: ["code", "card", "mobile_key"],
4032
- type: "string"
4033
- },
4034
- acs_credential_id: { format: "uuid", type: "string" },
4035
- acs_credential_pool_id: {
4036
- format: "uuid",
4037
- type: "string"
4038
- },
4039
- acs_system_id: { format: "uuid", type: "string" },
4040
- acs_user_id: { format: "uuid", type: "string" },
4041
- code: { nullable: true, type: "string" },
4042
- created_at: { format: "date-time", type: "string" },
4043
- display_name: { minLength: 1, type: "string" },
4044
- ends_at: { type: "string" },
4045
- errors: {
4046
- items: {
4047
- properties: {
4048
- error_code: { type: "string" },
4049
- message: { type: "string" }
4050
- },
4051
- required: ["error_code", "message"],
4052
- type: "object"
4053
- },
4054
- type: "array"
4055
- },
4056
- external_type: {
4057
- enum: [
4058
- "pti_card",
4059
- "brivo_credential",
4060
- "hid_credential",
4061
- "visionline_card"
4062
- ],
4063
- type: "string"
4064
- },
4065
- external_type_display_name: { type: "string" },
4066
- is_multi_phone_sync_credential: { type: "boolean" },
4067
- parent_acs_credential_id: {
4068
- format: "uuid",
4069
- type: "string"
4070
- },
4071
- starts_at: { type: "string" },
4072
- visionline_metadata: {
4073
- properties: {
4074
- common_acs_entrance_ids: {
4075
- items: { format: "uuid", type: "string" },
4076
- type: "array"
4077
- },
4078
- guest_acs_entrance_ids: {
4079
- items: { format: "uuid", type: "string" },
4080
- type: "array"
4081
- },
4082
- joiner_acs_credential_ids: {
4083
- items: { format: "uuid", type: "string" },
4084
- type: "array"
4085
- }
4086
- },
4087
- type: "object"
4088
- },
4089
- warnings: {
4090
- items: {
4091
- properties: {
4092
- message: { type: "string" },
4093
- warning_code: { type: "string" }
4094
- },
4095
- required: ["warning_code", "message"],
4096
- type: "object"
4097
- },
4098
- type: "array"
4099
- },
4100
- workspace_id: { format: "uuid", type: "string" }
4101
- },
4102
- required: [
4103
- "acs_credential_id",
4104
- "acs_system_id",
4105
- "display_name",
4106
- "access_method",
4107
- "created_at",
4108
- "workspace_id",
4109
- "errors",
4110
- "warnings"
4111
- ],
4112
- type: "object"
4225
+ $ref: "#/components/schemas/acs_credential"
4113
4226
  },
4114
4227
  ok: { type: "boolean" }
4115
4228
  },
@@ -4155,90 +4268,7 @@ var openapi_default = {
4155
4268
  schema: {
4156
4269
  properties: {
4157
4270
  acs_credential: {
4158
- properties: {
4159
- access_method: {
4160
- enum: ["code", "card", "mobile_key"],
4161
- type: "string"
4162
- },
4163
- acs_credential_id: { format: "uuid", type: "string" },
4164
- acs_credential_pool_id: {
4165
- format: "uuid",
4166
- type: "string"
4167
- },
4168
- acs_system_id: { format: "uuid", type: "string" },
4169
- acs_user_id: { format: "uuid", type: "string" },
4170
- code: { nullable: true, type: "string" },
4171
- created_at: { format: "date-time", type: "string" },
4172
- display_name: { minLength: 1, type: "string" },
4173
- ends_at: { type: "string" },
4174
- errors: {
4175
- items: {
4176
- properties: {
4177
- error_code: { type: "string" },
4178
- message: { type: "string" }
4179
- },
4180
- required: ["error_code", "message"],
4181
- type: "object"
4182
- },
4183
- type: "array"
4184
- },
4185
- external_type: {
4186
- enum: [
4187
- "pti_card",
4188
- "brivo_credential",
4189
- "hid_credential",
4190
- "visionline_card"
4191
- ],
4192
- type: "string"
4193
- },
4194
- external_type_display_name: { type: "string" },
4195
- is_multi_phone_sync_credential: { type: "boolean" },
4196
- parent_acs_credential_id: {
4197
- format: "uuid",
4198
- type: "string"
4199
- },
4200
- starts_at: { type: "string" },
4201
- visionline_metadata: {
4202
- properties: {
4203
- common_acs_entrance_ids: {
4204
- items: { format: "uuid", type: "string" },
4205
- type: "array"
4206
- },
4207
- guest_acs_entrance_ids: {
4208
- items: { format: "uuid", type: "string" },
4209
- type: "array"
4210
- },
4211
- joiner_acs_credential_ids: {
4212
- items: { format: "uuid", type: "string" },
4213
- type: "array"
4214
- }
4215
- },
4216
- type: "object"
4217
- },
4218
- warnings: {
4219
- items: {
4220
- properties: {
4221
- message: { type: "string" },
4222
- warning_code: { type: "string" }
4223
- },
4224
- required: ["warning_code", "message"],
4225
- type: "object"
4226
- },
4227
- type: "array"
4228
- },
4229
- workspace_id: { format: "uuid", type: "string" }
4230
- },
4231
- required: [
4232
- "acs_credential_id",
4233
- "acs_system_id",
4234
- "display_name",
4235
- "access_method",
4236
- "created_at",
4237
- "workspace_id",
4238
- "errors",
4239
- "warnings"
4240
- ],
4241
- type: "object"
4271
+ $ref: "#/components/schemas/acs_credential"
4242
4272
  },
4243
4273
  ok: { type: "boolean" }
4244
4274
  },
@@ -4324,90 +4354,7 @@ var openapi_default = {
4324
4354
  schema: {
4325
4355
  properties: {
4326
4356
  acs_credential: {
4327
- properties: {
4328
- access_method: {
4329
- enum: ["code", "card", "mobile_key"],
4330
- type: "string"
4331
- },
4332
- acs_credential_id: { format: "uuid", type: "string" },
4333
- acs_credential_pool_id: {
4334
- format: "uuid",
4335
- type: "string"
4336
- },
4337
- acs_system_id: { format: "uuid", type: "string" },
4338
- acs_user_id: { format: "uuid", type: "string" },
4339
- code: { nullable: true, type: "string" },
4340
- created_at: { format: "date-time", type: "string" },
4341
- display_name: { minLength: 1, type: "string" },
4342
- ends_at: { type: "string" },
4343
- errors: {
4344
- items: {
4345
- properties: {
4346
- error_code: { type: "string" },
4347
- message: { type: "string" }
4348
- },
4349
- required: ["error_code", "message"],
4350
- type: "object"
4351
- },
4352
- type: "array"
4353
- },
4354
- external_type: {
4355
- enum: [
4356
- "pti_card",
4357
- "brivo_credential",
4358
- "hid_credential",
4359
- "visionline_card"
4360
- ],
4361
- type: "string"
4362
- },
4363
- external_type_display_name: { type: "string" },
4364
- is_multi_phone_sync_credential: { type: "boolean" },
4365
- parent_acs_credential_id: {
4366
- format: "uuid",
4367
- type: "string"
4368
- },
4369
- starts_at: { type: "string" },
4370
- visionline_metadata: {
4371
- properties: {
4372
- common_acs_entrance_ids: {
4373
- items: { format: "uuid", type: "string" },
4374
- type: "array"
4375
- },
4376
- guest_acs_entrance_ids: {
4377
- items: { format: "uuid", type: "string" },
4378
- type: "array"
4379
- },
4380
- joiner_acs_credential_ids: {
4381
- items: { format: "uuid", type: "string" },
4382
- type: "array"
4383
- }
4384
- },
4385
- type: "object"
4386
- },
4387
- warnings: {
4388
- items: {
4389
- properties: {
4390
- message: { type: "string" },
4391
- warning_code: { type: "string" }
4392
- },
4393
- required: ["warning_code", "message"],
4394
- type: "object"
4395
- },
4396
- type: "array"
4397
- },
4398
- workspace_id: { format: "uuid", type: "string" }
4399
- },
4400
- required: [
4401
- "acs_credential_id",
4402
- "acs_system_id",
4403
- "display_name",
4404
- "access_method",
4405
- "created_at",
4406
- "workspace_id",
4407
- "errors",
4408
- "warnings"
4409
- ],
4410
- type: "object"
4357
+ $ref: "#/components/schemas/acs_credential"
4411
4358
  },
4412
4359
  ok: { type: "boolean" }
4413
4360
  },
@@ -4429,7 +4376,8 @@ var openapi_default = {
4429
4376
  summary: "/acs/credentials/create",
4430
4377
  tags: ["/acs"],
4431
4378
  "x-fern-sdk-group-name": ["acs", "credentials"],
4432
- "x-fern-sdk-method-name": "create"
4379
+ "x-fern-sdk-method-name": "create",
4380
+ "x-fern-sdk-return-value": "acs_credential"
4433
4381
  }
4434
4382
  },
4435
4383
  "/acs/credentials/delete": {
@@ -4498,90 +4446,7 @@ var openapi_default = {
4498
4446
  schema: {
4499
4447
  properties: {
4500
4448
  acs_credential: {
4501
- properties: {
4502
- access_method: {
4503
- enum: ["code", "card", "mobile_key"],
4504
- type: "string"
4505
- },
4506
- acs_credential_id: { format: "uuid", type: "string" },
4507
- acs_credential_pool_id: {
4508
- format: "uuid",
4509
- type: "string"
4510
- },
4511
- acs_system_id: { format: "uuid", type: "string" },
4512
- acs_user_id: { format: "uuid", type: "string" },
4513
- code: { nullable: true, type: "string" },
4514
- created_at: { format: "date-time", type: "string" },
4515
- display_name: { minLength: 1, type: "string" },
4516
- ends_at: { type: "string" },
4517
- errors: {
4518
- items: {
4519
- properties: {
4520
- error_code: { type: "string" },
4521
- message: { type: "string" }
4522
- },
4523
- required: ["error_code", "message"],
4524
- type: "object"
4525
- },
4526
- type: "array"
4527
- },
4528
- external_type: {
4529
- enum: [
4530
- "pti_card",
4531
- "brivo_credential",
4532
- "hid_credential",
4533
- "visionline_card"
4534
- ],
4535
- type: "string"
4536
- },
4537
- external_type_display_name: { type: "string" },
4538
- is_multi_phone_sync_credential: { type: "boolean" },
4539
- parent_acs_credential_id: {
4540
- format: "uuid",
4541
- type: "string"
4542
- },
4543
- starts_at: { type: "string" },
4544
- visionline_metadata: {
4545
- properties: {
4546
- common_acs_entrance_ids: {
4547
- items: { format: "uuid", type: "string" },
4548
- type: "array"
4549
- },
4550
- guest_acs_entrance_ids: {
4551
- items: { format: "uuid", type: "string" },
4552
- type: "array"
4553
- },
4554
- joiner_acs_credential_ids: {
4555
- items: { format: "uuid", type: "string" },
4556
- type: "array"
4557
- }
4558
- },
4559
- type: "object"
4560
- },
4561
- warnings: {
4562
- items: {
4563
- properties: {
4564
- message: { type: "string" },
4565
- warning_code: { type: "string" }
4566
- },
4567
- required: ["warning_code", "message"],
4568
- type: "object"
4569
- },
4570
- type: "array"
4571
- },
4572
- workspace_id: { format: "uuid", type: "string" }
4573
- },
4574
- required: [
4575
- "acs_credential_id",
4576
- "acs_system_id",
4577
- "display_name",
4578
- "access_method",
4579
- "created_at",
4580
- "workspace_id",
4581
- "errors",
4582
- "warnings"
4583
- ],
4584
- type: "object"
4449
+ $ref: "#/components/schemas/acs_credential"
4585
4450
  },
4586
4451
  ok: { type: "boolean" }
4587
4452
  },
@@ -4603,7 +4468,8 @@ var openapi_default = {
4603
4468
  summary: "/acs/credentials/get",
4604
4469
  tags: ["/acs"],
4605
4470
  "x-fern-sdk-group-name": ["acs", "credentials"],
4606
- "x-fern-sdk-method-name": "get"
4471
+ "x-fern-sdk-method-name": "get",
4472
+ "x-fern-sdk-return-value": "acs_credential"
4607
4473
  }
4608
4474
  },
4609
4475
  "/acs/credentials/list": {
@@ -4665,92 +4531,7 @@ var openapi_default = {
4665
4531
  schema: {
4666
4532
  properties: {
4667
4533
  acs_credentials: {
4668
- items: {
4669
- properties: {
4670
- access_method: {
4671
- enum: ["code", "card", "mobile_key"],
4672
- type: "string"
4673
- },
4674
- acs_credential_id: { format: "uuid", type: "string" },
4675
- acs_credential_pool_id: {
4676
- format: "uuid",
4677
- type: "string"
4678
- },
4679
- acs_system_id: { format: "uuid", type: "string" },
4680
- acs_user_id: { format: "uuid", type: "string" },
4681
- code: { nullable: true, type: "string" },
4682
- created_at: { format: "date-time", type: "string" },
4683
- display_name: { minLength: 1, type: "string" },
4684
- ends_at: { type: "string" },
4685
- errors: {
4686
- items: {
4687
- properties: {
4688
- error_code: { type: "string" },
4689
- message: { type: "string" }
4690
- },
4691
- required: ["error_code", "message"],
4692
- type: "object"
4693
- },
4694
- type: "array"
4695
- },
4696
- external_type: {
4697
- enum: [
4698
- "pti_card",
4699
- "brivo_credential",
4700
- "hid_credential",
4701
- "visionline_card"
4702
- ],
4703
- type: "string"
4704
- },
4705
- external_type_display_name: { type: "string" },
4706
- is_multi_phone_sync_credential: { type: "boolean" },
4707
- parent_acs_credential_id: {
4708
- format: "uuid",
4709
- type: "string"
4710
- },
4711
- starts_at: { type: "string" },
4712
- visionline_metadata: {
4713
- properties: {
4714
- common_acs_entrance_ids: {
4715
- items: { format: "uuid", type: "string" },
4716
- type: "array"
4717
- },
4718
- guest_acs_entrance_ids: {
4719
- items: { format: "uuid", type: "string" },
4720
- type: "array"
4721
- },
4722
- joiner_acs_credential_ids: {
4723
- items: { format: "uuid", type: "string" },
4724
- type: "array"
4725
- }
4726
- },
4727
- type: "object"
4728
- },
4729
- warnings: {
4730
- items: {
4731
- properties: {
4732
- message: { type: "string" },
4733
- warning_code: { type: "string" }
4734
- },
4735
- required: ["warning_code", "message"],
4736
- type: "object"
4737
- },
4738
- type: "array"
4739
- },
4740
- workspace_id: { format: "uuid", type: "string" }
4741
- },
4742
- required: [
4743
- "acs_credential_id",
4744
- "acs_system_id",
4745
- "display_name",
4746
- "access_method",
4747
- "created_at",
4748
- "workspace_id",
4749
- "errors",
4750
- "warnings"
4751
- ],
4752
- type: "object"
4753
- },
4534
+ items: { $ref: "#/components/schemas/acs_credential" },
4754
4535
  type: "array"
4755
4536
  },
4756
4537
  ok: { type: "boolean" }
@@ -4774,7 +4555,8 @@ var openapi_default = {
4774
4555
  summary: "/acs/credentials/list",
4775
4556
  tags: ["/acs"],
4776
4557
  "x-fern-sdk-group-name": ["acs", "credentials"],
4777
- "x-fern-sdk-method-name": "list"
4558
+ "x-fern-sdk-method-name": "list",
4559
+ "x-fern-sdk-return-value": "acs_credentials"
4778
4560
  }
4779
4561
  },
4780
4562
  "/acs/credentials/unassign": {
@@ -4801,90 +4583,7 @@ var openapi_default = {
4801
4583
  schema: {
4802
4584
  properties: {
4803
4585
  acs_credential: {
4804
- properties: {
4805
- access_method: {
4806
- enum: ["code", "card", "mobile_key"],
4807
- type: "string"
4808
- },
4809
- acs_credential_id: { format: "uuid", type: "string" },
4810
- acs_credential_pool_id: {
4811
- format: "uuid",
4812
- type: "string"
4813
- },
4814
- acs_system_id: { format: "uuid", type: "string" },
4815
- acs_user_id: { format: "uuid", type: "string" },
4816
- code: { nullable: true, type: "string" },
4817
- created_at: { format: "date-time", type: "string" },
4818
- display_name: { minLength: 1, type: "string" },
4819
- ends_at: { type: "string" },
4820
- errors: {
4821
- items: {
4822
- properties: {
4823
- error_code: { type: "string" },
4824
- message: { type: "string" }
4825
- },
4826
- required: ["error_code", "message"],
4827
- type: "object"
4828
- },
4829
- type: "array"
4830
- },
4831
- external_type: {
4832
- enum: [
4833
- "pti_card",
4834
- "brivo_credential",
4835
- "hid_credential",
4836
- "visionline_card"
4837
- ],
4838
- type: "string"
4839
- },
4840
- external_type_display_name: { type: "string" },
4841
- is_multi_phone_sync_credential: { type: "boolean" },
4842
- parent_acs_credential_id: {
4843
- format: "uuid",
4844
- type: "string"
4845
- },
4846
- starts_at: { type: "string" },
4847
- visionline_metadata: {
4848
- properties: {
4849
- common_acs_entrance_ids: {
4850
- items: { format: "uuid", type: "string" },
4851
- type: "array"
4852
- },
4853
- guest_acs_entrance_ids: {
4854
- items: { format: "uuid", type: "string" },
4855
- type: "array"
4856
- },
4857
- joiner_acs_credential_ids: {
4858
- items: { format: "uuid", type: "string" },
4859
- type: "array"
4860
- }
4861
- },
4862
- type: "object"
4863
- },
4864
- warnings: {
4865
- items: {
4866
- properties: {
4867
- message: { type: "string" },
4868
- warning_code: { type: "string" }
4869
- },
4870
- required: ["warning_code", "message"],
4871
- type: "object"
4872
- },
4873
- type: "array"
4874
- },
4875
- workspace_id: { format: "uuid", type: "string" }
4876
- },
4877
- required: [
4878
- "acs_credential_id",
4879
- "acs_system_id",
4880
- "display_name",
4881
- "access_method",
4882
- "created_at",
4883
- "workspace_id",
4884
- "errors",
4885
- "warnings"
4886
- ],
4887
- type: "object"
4586
+ $ref: "#/components/schemas/acs_credential"
4888
4587
  },
4889
4588
  ok: { type: "boolean" }
4890
4589
  },
@@ -4930,90 +4629,7 @@ var openapi_default = {
4930
4629
  schema: {
4931
4630
  properties: {
4932
4631
  acs_credential: {
4933
- properties: {
4934
- access_method: {
4935
- enum: ["code", "card", "mobile_key"],
4936
- type: "string"
4937
- },
4938
- acs_credential_id: { format: "uuid", type: "string" },
4939
- acs_credential_pool_id: {
4940
- format: "uuid",
4941
- type: "string"
4942
- },
4943
- acs_system_id: { format: "uuid", type: "string" },
4944
- acs_user_id: { format: "uuid", type: "string" },
4945
- code: { nullable: true, type: "string" },
4946
- created_at: { format: "date-time", type: "string" },
4947
- display_name: { minLength: 1, type: "string" },
4948
- ends_at: { type: "string" },
4949
- errors: {
4950
- items: {
4951
- properties: {
4952
- error_code: { type: "string" },
4953
- message: { type: "string" }
4954
- },
4955
- required: ["error_code", "message"],
4956
- type: "object"
4957
- },
4958
- type: "array"
4959
- },
4960
- external_type: {
4961
- enum: [
4962
- "pti_card",
4963
- "brivo_credential",
4964
- "hid_credential",
4965
- "visionline_card"
4966
- ],
4967
- type: "string"
4968
- },
4969
- external_type_display_name: { type: "string" },
4970
- is_multi_phone_sync_credential: { type: "boolean" },
4971
- parent_acs_credential_id: {
4972
- format: "uuid",
4973
- type: "string"
4974
- },
4975
- starts_at: { type: "string" },
4976
- visionline_metadata: {
4977
- properties: {
4978
- common_acs_entrance_ids: {
4979
- items: { format: "uuid", type: "string" },
4980
- type: "array"
4981
- },
4982
- guest_acs_entrance_ids: {
4983
- items: { format: "uuid", type: "string" },
4984
- type: "array"
4985
- },
4986
- joiner_acs_credential_ids: {
4987
- items: { format: "uuid", type: "string" },
4988
- type: "array"
4989
- }
4990
- },
4991
- type: "object"
4992
- },
4993
- warnings: {
4994
- items: {
4995
- properties: {
4996
- message: { type: "string" },
4997
- warning_code: { type: "string" }
4998
- },
4999
- required: ["warning_code", "message"],
5000
- type: "object"
5001
- },
5002
- type: "array"
5003
- },
5004
- workspace_id: { format: "uuid", type: "string" }
5005
- },
5006
- required: [
5007
- "acs_credential_id",
5008
- "acs_system_id",
5009
- "display_name",
5010
- "access_method",
5011
- "created_at",
5012
- "workspace_id",
5013
- "errors",
5014
- "warnings"
5015
- ],
5016
- type: "object"
4632
+ $ref: "#/components/schemas/acs_credential"
5017
4633
  },
5018
4634
  ok: { type: "boolean" }
5019
4635
  },
@@ -5052,100 +4668,17 @@ var openapi_default = {
5052
4668
  required: ["acs_credential_id", "code"],
5053
4669
  type: "object"
5054
4670
  }
5055
- }
5056
- }
5057
- },
5058
- responses: {
5059
- 200: {
5060
- content: {
5061
- "application/json": {
5062
- schema: {
5063
- properties: {
5064
- acs_credential: {
5065
- properties: {
5066
- access_method: {
5067
- enum: ["code", "card", "mobile_key"],
5068
- type: "string"
5069
- },
5070
- acs_credential_id: { format: "uuid", type: "string" },
5071
- acs_credential_pool_id: {
5072
- format: "uuid",
5073
- type: "string"
5074
- },
5075
- acs_system_id: { format: "uuid", type: "string" },
5076
- acs_user_id: { format: "uuid", type: "string" },
5077
- code: { nullable: true, type: "string" },
5078
- created_at: { format: "date-time", type: "string" },
5079
- display_name: { minLength: 1, type: "string" },
5080
- ends_at: { type: "string" },
5081
- errors: {
5082
- items: {
5083
- properties: {
5084
- error_code: { type: "string" },
5085
- message: { type: "string" }
5086
- },
5087
- required: ["error_code", "message"],
5088
- type: "object"
5089
- },
5090
- type: "array"
5091
- },
5092
- external_type: {
5093
- enum: [
5094
- "pti_card",
5095
- "brivo_credential",
5096
- "hid_credential",
5097
- "visionline_card"
5098
- ],
5099
- type: "string"
5100
- },
5101
- external_type_display_name: { type: "string" },
5102
- is_multi_phone_sync_credential: { type: "boolean" },
5103
- parent_acs_credential_id: {
5104
- format: "uuid",
5105
- type: "string"
5106
- },
5107
- starts_at: { type: "string" },
5108
- visionline_metadata: {
5109
- properties: {
5110
- common_acs_entrance_ids: {
5111
- items: { format: "uuid", type: "string" },
5112
- type: "array"
5113
- },
5114
- guest_acs_entrance_ids: {
5115
- items: { format: "uuid", type: "string" },
5116
- type: "array"
5117
- },
5118
- joiner_acs_credential_ids: {
5119
- items: { format: "uuid", type: "string" },
5120
- type: "array"
5121
- }
5122
- },
5123
- type: "object"
5124
- },
5125
- warnings: {
5126
- items: {
5127
- properties: {
5128
- message: { type: "string" },
5129
- warning_code: { type: "string" }
5130
- },
5131
- required: ["warning_code", "message"],
5132
- type: "object"
5133
- },
5134
- type: "array"
5135
- },
5136
- workspace_id: { format: "uuid", type: "string" }
5137
- },
5138
- required: [
5139
- "acs_credential_id",
5140
- "acs_system_id",
5141
- "display_name",
5142
- "access_method",
5143
- "created_at",
5144
- "workspace_id",
5145
- "errors",
5146
- "warnings"
5147
- ],
5148
- 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"
5149
4682
  },
5150
4683
  ok: { type: "boolean" }
5151
4684
  },
@@ -5191,90 +4724,7 @@ var openapi_default = {
5191
4724
  schema: {
5192
4725
  properties: {
5193
4726
  acs_credential: {
5194
- properties: {
5195
- access_method: {
5196
- enum: ["code", "card", "mobile_key"],
5197
- type: "string"
5198
- },
5199
- acs_credential_id: { format: "uuid", type: "string" },
5200
- acs_credential_pool_id: {
5201
- format: "uuid",
5202
- type: "string"
5203
- },
5204
- acs_system_id: { format: "uuid", type: "string" },
5205
- acs_user_id: { format: "uuid", type: "string" },
5206
- code: { nullable: true, type: "string" },
5207
- created_at: { format: "date-time", type: "string" },
5208
- display_name: { minLength: 1, type: "string" },
5209
- ends_at: { type: "string" },
5210
- errors: {
5211
- items: {
5212
- properties: {
5213
- error_code: { type: "string" },
5214
- message: { type: "string" }
5215
- },
5216
- required: ["error_code", "message"],
5217
- type: "object"
5218
- },
5219
- type: "array"
5220
- },
5221
- external_type: {
5222
- enum: [
5223
- "pti_card",
5224
- "brivo_credential",
5225
- "hid_credential",
5226
- "visionline_card"
5227
- ],
5228
- type: "string"
5229
- },
5230
- external_type_display_name: { type: "string" },
5231
- is_multi_phone_sync_credential: { type: "boolean" },
5232
- parent_acs_credential_id: {
5233
- format: "uuid",
5234
- type: "string"
5235
- },
5236
- starts_at: { type: "string" },
5237
- visionline_metadata: {
5238
- properties: {
5239
- common_acs_entrance_ids: {
5240
- items: { format: "uuid", type: "string" },
5241
- type: "array"
5242
- },
5243
- guest_acs_entrance_ids: {
5244
- items: { format: "uuid", type: "string" },
5245
- type: "array"
5246
- },
5247
- joiner_acs_credential_ids: {
5248
- items: { format: "uuid", type: "string" },
5249
- type: "array"
5250
- }
5251
- },
5252
- type: "object"
5253
- },
5254
- warnings: {
5255
- items: {
5256
- properties: {
5257
- message: { type: "string" },
5258
- warning_code: { type: "string" }
5259
- },
5260
- required: ["warning_code", "message"],
5261
- type: "object"
5262
- },
5263
- type: "array"
5264
- },
5265
- workspace_id: { format: "uuid", type: "string" }
5266
- },
5267
- required: [
5268
- "acs_credential_id",
5269
- "acs_system_id",
5270
- "display_name",
5271
- "access_method",
5272
- "created_at",
5273
- "workspace_id",
5274
- "errors",
5275
- "warnings"
5276
- ],
5277
- type: "object"
4727
+ $ref: "#/components/schemas/acs_credential"
5278
4728
  },
5279
4729
  ok: { type: "boolean" }
5280
4730
  },
@@ -5321,76 +4771,7 @@ var openapi_default = {
5321
4771
  "application/json": {
5322
4772
  schema: {
5323
4773
  properties: {
5324
- acs_entrance: {
5325
- properties: {
5326
- acs_entrance_id: { format: "uuid", type: "string" },
5327
- acs_system_id: { format: "uuid", type: "string" },
5328
- created_at: { format: "date-time", type: "string" },
5329
- display_name: { type: "string" },
5330
- latch_metadata: {
5331
- nullable: true,
5332
- properties: {
5333
- accessibility_type: { type: "string" },
5334
- is_connected: { type: "boolean" },
5335
- name: { type: "string" },
5336
- type: { type: "string" }
5337
- },
5338
- required: [
5339
- "accessibility_type",
5340
- "name",
5341
- "type",
5342
- "is_connected"
5343
- ],
5344
- type: "object"
5345
- },
5346
- visionline_metadata: {
5347
- nullable: true,
5348
- properties: {
5349
- door_category: {
5350
- enum: [
5351
- "entrance",
5352
- "guest",
5353
- "elevator reader",
5354
- "common",
5355
- "common (PMS)"
5356
- ],
5357
- type: "string"
5358
- },
5359
- door_name: { type: "string" },
5360
- profiles: {
5361
- items: {
5362
- properties: {
5363
- visionline_door_profile_id: {
5364
- type: "string"
5365
- },
5366
- visionline_door_profile_type: {
5367
- enum: ["BLE", "commonDoor", "touch"],
5368
- type: "string"
5369
- }
5370
- },
5371
- required: [
5372
- "visionline_door_profile_id",
5373
- "visionline_door_profile_type"
5374
- ],
5375
- type: "object"
5376
- },
5377
- type: "array"
5378
- }
5379
- },
5380
- required: ["door_name", "door_category"],
5381
- type: "object"
5382
- }
5383
- },
5384
- required: [
5385
- "acs_entrance_id",
5386
- "display_name",
5387
- "acs_system_id",
5388
- "created_at",
5389
- "latch_metadata",
5390
- "visionline_metadata"
5391
- ],
5392
- type: "object"
5393
- },
4774
+ acs_entrance: { $ref: "#/components/schemas/acs_entrance" },
5394
4775
  ok: { type: "boolean" }
5395
4776
  },
5396
4777
  required: ["acs_entrance", "ok"],
@@ -5412,7 +4793,8 @@ var openapi_default = {
5412
4793
  summary: "/acs/entrances/get",
5413
4794
  tags: ["/acs"],
5414
4795
  "x-fern-sdk-group-name": ["acs", "entrances"],
5415
- "x-fern-sdk-method-name": "get"
4796
+ "x-fern-sdk-method-name": "get",
4797
+ "x-fern-sdk-return-value": "acs_entrance"
5416
4798
  }
5417
4799
  },
5418
4800
  "/acs/entrances/grant_access": {
@@ -5483,76 +4865,7 @@ var openapi_default = {
5483
4865
  schema: {
5484
4866
  properties: {
5485
4867
  acs_entrances: {
5486
- items: {
5487
- properties: {
5488
- acs_entrance_id: { format: "uuid", type: "string" },
5489
- acs_system_id: { format: "uuid", type: "string" },
5490
- created_at: { format: "date-time", type: "string" },
5491
- display_name: { type: "string" },
5492
- latch_metadata: {
5493
- nullable: true,
5494
- properties: {
5495
- accessibility_type: { type: "string" },
5496
- is_connected: { type: "boolean" },
5497
- name: { type: "string" },
5498
- type: { type: "string" }
5499
- },
5500
- required: [
5501
- "accessibility_type",
5502
- "name",
5503
- "type",
5504
- "is_connected"
5505
- ],
5506
- type: "object"
5507
- },
5508
- visionline_metadata: {
5509
- nullable: true,
5510
- properties: {
5511
- door_category: {
5512
- enum: [
5513
- "entrance",
5514
- "guest",
5515
- "elevator reader",
5516
- "common",
5517
- "common (PMS)"
5518
- ],
5519
- type: "string"
5520
- },
5521
- door_name: { type: "string" },
5522
- profiles: {
5523
- items: {
5524
- properties: {
5525
- visionline_door_profile_id: {
5526
- type: "string"
5527
- },
5528
- visionline_door_profile_type: {
5529
- enum: ["BLE", "commonDoor", "touch"],
5530
- type: "string"
5531
- }
5532
- },
5533
- required: [
5534
- "visionline_door_profile_id",
5535
- "visionline_door_profile_type"
5536
- ],
5537
- type: "object"
5538
- },
5539
- type: "array"
5540
- }
5541
- },
5542
- required: ["door_name", "door_category"],
5543
- type: "object"
5544
- }
5545
- },
5546
- required: [
5547
- "acs_entrance_id",
5548
- "display_name",
5549
- "acs_system_id",
5550
- "created_at",
5551
- "latch_metadata",
5552
- "visionline_metadata"
5553
- ],
5554
- type: "object"
5555
- },
4868
+ items: { $ref: "#/components/schemas/acs_entrance" },
5556
4869
  type: "array"
5557
4870
  },
5558
4871
  ok: { type: "boolean" }
@@ -5576,7 +4889,8 @@ var openapi_default = {
5576
4889
  summary: "/acs/entrances/list",
5577
4890
  tags: ["/acs"],
5578
4891
  "x-fern-sdk-group-name": ["acs", "entrances"],
5579
- "x-fern-sdk-method-name": "list"
4892
+ "x-fern-sdk-method-name": "list",
4893
+ "x-fern-sdk-return-value": "acs_entrances"
5580
4894
  }
5581
4895
  },
5582
4896
  "/acs/entrances/list_credentials_with_access": {
@@ -5609,92 +4923,7 @@ var openapi_default = {
5609
4923
  schema: {
5610
4924
  properties: {
5611
4925
  acs_credentials: {
5612
- items: {
5613
- properties: {
5614
- access_method: {
5615
- enum: ["code", "card", "mobile_key"],
5616
- type: "string"
5617
- },
5618
- acs_credential_id: { format: "uuid", type: "string" },
5619
- acs_credential_pool_id: {
5620
- format: "uuid",
5621
- type: "string"
5622
- },
5623
- acs_system_id: { format: "uuid", type: "string" },
5624
- acs_user_id: { format: "uuid", type: "string" },
5625
- code: { nullable: true, type: "string" },
5626
- created_at: { format: "date-time", type: "string" },
5627
- display_name: { minLength: 1, type: "string" },
5628
- ends_at: { type: "string" },
5629
- errors: {
5630
- items: {
5631
- properties: {
5632
- error_code: { type: "string" },
5633
- message: { type: "string" }
5634
- },
5635
- required: ["error_code", "message"],
5636
- type: "object"
5637
- },
5638
- type: "array"
5639
- },
5640
- external_type: {
5641
- enum: [
5642
- "pti_card",
5643
- "brivo_credential",
5644
- "hid_credential",
5645
- "visionline_card"
5646
- ],
5647
- type: "string"
5648
- },
5649
- external_type_display_name: { type: "string" },
5650
- is_multi_phone_sync_credential: { type: "boolean" },
5651
- parent_acs_credential_id: {
5652
- format: "uuid",
5653
- type: "string"
5654
- },
5655
- starts_at: { type: "string" },
5656
- visionline_metadata: {
5657
- properties: {
5658
- common_acs_entrance_ids: {
5659
- items: { format: "uuid", type: "string" },
5660
- type: "array"
5661
- },
5662
- guest_acs_entrance_ids: {
5663
- items: { format: "uuid", type: "string" },
5664
- type: "array"
5665
- },
5666
- joiner_acs_credential_ids: {
5667
- items: { format: "uuid", type: "string" },
5668
- type: "array"
5669
- }
5670
- },
5671
- type: "object"
5672
- },
5673
- warnings: {
5674
- items: {
5675
- properties: {
5676
- message: { type: "string" },
5677
- warning_code: { type: "string" }
5678
- },
5679
- required: ["warning_code", "message"],
5680
- type: "object"
5681
- },
5682
- type: "array"
5683
- },
5684
- workspace_id: { format: "uuid", type: "string" }
5685
- },
5686
- required: [
5687
- "acs_credential_id",
5688
- "acs_system_id",
5689
- "display_name",
5690
- "access_method",
5691
- "created_at",
5692
- "workspace_id",
5693
- "errors",
5694
- "warnings"
5695
- ],
5696
- type: "object"
5697
- },
4926
+ items: { $ref: "#/components/schemas/acs_credential" },
5698
4927
  type: "array"
5699
4928
  },
5700
4929
  ok: { type: "boolean" }
@@ -5718,7 +4947,8 @@ var openapi_default = {
5718
4947
  summary: "/acs/entrances/list_credentials_with_access",
5719
4948
  tags: ["/acs"],
5720
4949
  "x-fern-sdk-group-name": ["acs", "entrances"],
5721
- "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"
5722
4952
  }
5723
4953
  },
5724
4954
  "/acs/systems/get": {
@@ -5764,7 +4994,8 @@ var openapi_default = {
5764
4994
  summary: "/acs/systems/get",
5765
4995
  tags: ["/acs"],
5766
4996
  "x-fern-sdk-group-name": ["acs", "systems"],
5767
- "x-fern-sdk-method-name": "get"
4997
+ "x-fern-sdk-method-name": "get",
4998
+ "x-fern-sdk-return-value": "acs_system"
5768
4999
  }
5769
5000
  },
5770
5001
  "/acs/systems/list": {
@@ -5813,7 +5044,8 @@ var openapi_default = {
5813
5044
  summary: "/acs/systems/list",
5814
5045
  tags: ["/acs"],
5815
5046
  "x-fern-sdk-group-name": ["acs", "systems"],
5816
- "x-fern-sdk-method-name": "list"
5047
+ "x-fern-sdk-method-name": "list",
5048
+ "x-fern-sdk-return-value": "acs_systems"
5817
5049
  }
5818
5050
  },
5819
5051
  "/acs/users/add_to_access_group": {
@@ -5966,7 +5198,8 @@ var openapi_default = {
5966
5198
  summary: "/acs/users/create",
5967
5199
  tags: ["/acs"],
5968
5200
  "x-fern-sdk-group-name": ["acs", "users"],
5969
- "x-fern-sdk-method-name": "create"
5201
+ "x-fern-sdk-method-name": "create",
5202
+ "x-fern-sdk-return-value": "acs_user"
5970
5203
  }
5971
5204
  },
5972
5205
  "/acs/users/delete": {
@@ -6051,7 +5284,8 @@ var openapi_default = {
6051
5284
  summary: "/acs/users/get",
6052
5285
  tags: ["/acs"],
6053
5286
  "x-fern-sdk-group-name": ["acs", "users"],
6054
- "x-fern-sdk-method-name": "get"
5287
+ "x-fern-sdk-method-name": "get",
5288
+ "x-fern-sdk-return-value": "acs_user"
6055
5289
  }
6056
5290
  },
6057
5291
  "/acs/users/list": {
@@ -6106,7 +5340,8 @@ var openapi_default = {
6106
5340
  summary: "/acs/users/list",
6107
5341
  tags: ["/acs"],
6108
5342
  "x-fern-sdk-group-name": ["acs", "users"],
6109
- "x-fern-sdk-method-name": "list"
5343
+ "x-fern-sdk-method-name": "list",
5344
+ "x-fern-sdk-return-value": "acs_users"
6110
5345
  }
6111
5346
  },
6112
5347
  "/acs/users/list_accessible_entrances": {
@@ -6130,76 +5365,7 @@ var openapi_default = {
6130
5365
  schema: {
6131
5366
  properties: {
6132
5367
  acs_entrances: {
6133
- items: {
6134
- properties: {
6135
- acs_entrance_id: { format: "uuid", type: "string" },
6136
- acs_system_id: { format: "uuid", type: "string" },
6137
- created_at: { format: "date-time", type: "string" },
6138
- display_name: { type: "string" },
6139
- latch_metadata: {
6140
- nullable: true,
6141
- properties: {
6142
- accessibility_type: { type: "string" },
6143
- is_connected: { type: "boolean" },
6144
- name: { type: "string" },
6145
- type: { type: "string" }
6146
- },
6147
- required: [
6148
- "accessibility_type",
6149
- "name",
6150
- "type",
6151
- "is_connected"
6152
- ],
6153
- type: "object"
6154
- },
6155
- visionline_metadata: {
6156
- nullable: true,
6157
- properties: {
6158
- door_category: {
6159
- enum: [
6160
- "entrance",
6161
- "guest",
6162
- "elevator reader",
6163
- "common",
6164
- "common (PMS)"
6165
- ],
6166
- type: "string"
6167
- },
6168
- door_name: { type: "string" },
6169
- profiles: {
6170
- items: {
6171
- properties: {
6172
- visionline_door_profile_id: {
6173
- type: "string"
6174
- },
6175
- visionline_door_profile_type: {
6176
- enum: ["BLE", "commonDoor", "touch"],
6177
- type: "string"
6178
- }
6179
- },
6180
- required: [
6181
- "visionline_door_profile_id",
6182
- "visionline_door_profile_type"
6183
- ],
6184
- type: "object"
6185
- },
6186
- type: "array"
6187
- }
6188
- },
6189
- required: ["door_name", "door_category"],
6190
- type: "object"
6191
- }
6192
- },
6193
- required: [
6194
- "acs_entrance_id",
6195
- "display_name",
6196
- "acs_system_id",
6197
- "created_at",
6198
- "latch_metadata",
6199
- "visionline_metadata"
6200
- ],
6201
- type: "object"
6202
- },
5368
+ items: { $ref: "#/components/schemas/acs_entrance" },
6203
5369
  type: "array"
6204
5370
  },
6205
5371
  ok: { type: "boolean" }
@@ -6223,7 +5389,8 @@ var openapi_default = {
6223
5389
  summary: "/acs/users/list_accessible_entrances",
6224
5390
  tags: ["/acs"],
6225
5391
  "x-fern-sdk-group-name": ["acs", "users"],
6226
- "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"
6227
5394
  }
6228
5395
  },
6229
5396
  "/acs/users/remove_from_access_group": {
@@ -9474,21 +8641,7 @@ var openapi_default = {
9474
8641
  "application/json": {
9475
8642
  schema: {
9476
8643
  properties: {
9477
- network: {
9478
- properties: {
9479
- created_at: { format: "date-time", type: "string" },
9480
- display_name: { type: "string" },
9481
- network_id: { format: "uuid", type: "string" },
9482
- workspace_id: { format: "uuid", type: "string" }
9483
- },
9484
- required: [
9485
- "network_id",
9486
- "workspace_id",
9487
- "display_name",
9488
- "created_at"
9489
- ],
9490
- type: "object"
9491
- },
8644
+ network: { $ref: "#/components/schemas/network" },
9492
8645
  ok: { type: "boolean" }
9493
8646
  },
9494
8647
  required: ["network", "ok"],
@@ -9509,7 +8662,8 @@ var openapi_default = {
9509
8662
  summary: "/networks/get",
9510
8663
  tags: ["/networks"],
9511
8664
  "x-fern-sdk-group-name": ["networks"],
9512
- "x-fern-sdk-method-name": "get"
8665
+ "x-fern-sdk-method-name": "get",
8666
+ "x-fern-sdk-return-value": "network"
9513
8667
  }
9514
8668
  },
9515
8669
  "/networks/list": {
@@ -9527,21 +8681,7 @@ var openapi_default = {
9527
8681
  schema: {
9528
8682
  properties: {
9529
8683
  networks: {
9530
- items: {
9531
- properties: {
9532
- created_at: { format: "date-time", type: "string" },
9533
- display_name: { type: "string" },
9534
- network_id: { format: "uuid", type: "string" },
9535
- workspace_id: { format: "uuid", type: "string" }
9536
- },
9537
- required: [
9538
- "network_id",
9539
- "workspace_id",
9540
- "display_name",
9541
- "created_at"
9542
- ],
9543
- type: "object"
9544
- },
8684
+ items: { $ref: "#/components/schemas/network" },
9545
8685
  type: "array"
9546
8686
  },
9547
8687
  ok: { type: "boolean" }
@@ -9564,7 +8704,8 @@ var openapi_default = {
9564
8704
  summary: "/networks/list",
9565
8705
  tags: ["/networks"],
9566
8706
  "x-fern-sdk-group-name": ["networks"],
9567
- "x-fern-sdk-method-name": "list"
8707
+ "x-fern-sdk-method-name": "list",
8708
+ "x-fern-sdk-return-value": "networks"
9568
8709
  }
9569
8710
  },
9570
8711
  "/noise_sensors/noise_thresholds/create": {
@@ -11417,39 +10558,7 @@ var openapi_default = {
11417
10558
  properties: {
11418
10559
  ok: { type: "boolean" },
11419
10560
  user_identity: {
11420
- properties: {
11421
- created_at: { format: "date-time", type: "string" },
11422
- display_name: { minLength: 1, type: "string" },
11423
- email_address: {
11424
- format: "email",
11425
- nullable: true,
11426
- type: "string"
11427
- },
11428
- full_name: {
11429
- minLength: 1,
11430
- nullable: true,
11431
- type: "string"
11432
- },
11433
- phone_number: { nullable: true, type: "string" },
11434
- user_identity_id: { format: "uuid", type: "string" },
11435
- user_identity_key: {
11436
- minLength: 1,
11437
- nullable: true,
11438
- type: "string"
11439
- },
11440
- workspace_id: { format: "uuid", type: "string" }
11441
- },
11442
- required: [
11443
- "user_identity_id",
11444
- "user_identity_key",
11445
- "email_address",
11446
- "phone_number",
11447
- "display_name",
11448
- "full_name",
11449
- "created_at",
11450
- "workspace_id"
11451
- ],
11452
- type: "object"
10561
+ $ref: "#/components/schemas/user_identity"
11453
10562
  }
11454
10563
  },
11455
10564
  required: ["user_identity", "ok"],
@@ -11470,7 +10579,8 @@ var openapi_default = {
11470
10579
  summary: "/user_identities/create",
11471
10580
  tags: ["/user_identities"],
11472
10581
  "x-fern-sdk-group-name": ["user_identities"],
11473
- "x-fern-sdk-method-name": "create"
10582
+ "x-fern-sdk-method-name": "create",
10583
+ "x-fern-sdk-return-value": "user_identity"
11474
10584
  }
11475
10585
  },
11476
10586
  "/user_identities/delete": {
@@ -11605,7 +10715,8 @@ var openapi_default = {
11605
10715
  summary: "/user_identities/enrollment_automations/get",
11606
10716
  tags: ["/user_identities"],
11607
10717
  "x-fern-sdk-group-name": ["user_identities", "enrollment_automations"],
11608
- "x-fern-sdk-method-name": "get"
10718
+ "x-fern-sdk-method-name": "get",
10719
+ "x-fern-sdk-return-value": "enrollment_automation"
11609
10720
  }
11610
10721
  },
11611
10722
  "/user_identities/enrollment_automations/launch": {
@@ -11691,7 +10802,8 @@ var openapi_default = {
11691
10802
  summary: "/user_identities/enrollment_automations/launch",
11692
10803
  tags: ["/user_identities"],
11693
10804
  "x-fern-sdk-group-name": ["user_identities", "enrollment_automations"],
11694
- "x-fern-sdk-method-name": "launch"
10805
+ "x-fern-sdk-method-name": "launch",
10806
+ "x-fern-sdk-return-value": "enrollment_automation"
11695
10807
  }
11696
10808
  },
11697
10809
  "/user_identities/enrollment_automations/list": {
@@ -11743,7 +10855,8 @@ var openapi_default = {
11743
10855
  summary: "/user_identities/enrollment_automations/list",
11744
10856
  tags: ["/user_identities"],
11745
10857
  "x-fern-sdk-group-name": ["user_identities", "enrollment_automations"],
11746
- "x-fern-sdk-method-name": "list"
10858
+ "x-fern-sdk-method-name": "list",
10859
+ "x-fern-sdk-return-value": "enrollment_automations"
11747
10860
  }
11748
10861
  },
11749
10862
  "/user_identities/get": {
@@ -11779,39 +10892,7 @@ var openapi_default = {
11779
10892
  properties: {
11780
10893
  ok: { type: "boolean" },
11781
10894
  user_identity: {
11782
- properties: {
11783
- created_at: { format: "date-time", type: "string" },
11784
- display_name: { minLength: 1, type: "string" },
11785
- email_address: {
11786
- format: "email",
11787
- nullable: true,
11788
- type: "string"
11789
- },
11790
- full_name: {
11791
- minLength: 1,
11792
- nullable: true,
11793
- type: "string"
11794
- },
11795
- phone_number: { nullable: true, type: "string" },
11796
- user_identity_id: { format: "uuid", type: "string" },
11797
- user_identity_key: {
11798
- minLength: 1,
11799
- nullable: true,
11800
- type: "string"
11801
- },
11802
- workspace_id: { format: "uuid", type: "string" }
11803
- },
11804
- required: [
11805
- "user_identity_id",
11806
- "user_identity_key",
11807
- "email_address",
11808
- "phone_number",
11809
- "display_name",
11810
- "full_name",
11811
- "created_at",
11812
- "workspace_id"
11813
- ],
11814
- type: "object"
10895
+ $ref: "#/components/schemas/user_identity"
11815
10896
  }
11816
10897
  },
11817
10898
  required: ["user_identity", "ok"],
@@ -11832,7 +10913,8 @@ var openapi_default = {
11832
10913
  summary: "/user_identities/get",
11833
10914
  tags: ["/user_identities"],
11834
10915
  "x-fern-sdk-group-name": ["user_identities"],
11835
- "x-fern-sdk-method-name": "get"
10916
+ "x-fern-sdk-method-name": "get",
10917
+ "x-fern-sdk-return-value": "user_identity"
11836
10918
  }
11837
10919
  },
11838
10920
  "/user_identities/grant_access_to_device": {
@@ -11946,41 +11028,7 @@ var openapi_default = {
11946
11028
  properties: {
11947
11029
  ok: { type: "boolean" },
11948
11030
  user_identities: {
11949
- items: {
11950
- properties: {
11951
- created_at: { format: "date-time", type: "string" },
11952
- display_name: { minLength: 1, type: "string" },
11953
- email_address: {
11954
- format: "email",
11955
- nullable: true,
11956
- type: "string"
11957
- },
11958
- full_name: {
11959
- minLength: 1,
11960
- nullable: true,
11961
- type: "string"
11962
- },
11963
- phone_number: { nullable: true, type: "string" },
11964
- user_identity_id: { format: "uuid", type: "string" },
11965
- user_identity_key: {
11966
- minLength: 1,
11967
- nullable: true,
11968
- type: "string"
11969
- },
11970
- workspace_id: { format: "uuid", type: "string" }
11971
- },
11972
- required: [
11973
- "user_identity_id",
11974
- "user_identity_key",
11975
- "email_address",
11976
- "phone_number",
11977
- "display_name",
11978
- "full_name",
11979
- "created_at",
11980
- "workspace_id"
11981
- ],
11982
- type: "object"
11983
- },
11031
+ items: { $ref: "#/components/schemas/user_identity" },
11984
11032
  type: "array"
11985
11033
  }
11986
11034
  },
@@ -12030,12 +11078,17 @@ var openapi_default = {
12030
11078
  schema: {
12031
11079
  properties: {
12032
11080
  accessible_devices: {
11081
+ description: "\n ---\n deprecated: use devices.\n ---\n ",
11082
+ items: { $ref: "#/components/schemas/device" },
11083
+ type: "array"
11084
+ },
11085
+ devices: {
12033
11086
  items: { $ref: "#/components/schemas/device" },
12034
11087
  type: "array"
12035
11088
  },
12036
11089
  ok: { type: "boolean" }
12037
11090
  },
12038
- required: ["accessible_devices", "ok"],
11091
+ required: ["devices", "accessible_devices", "ok"],
12039
11092
  type: "object"
12040
11093
  }
12041
11094
  }
@@ -12053,7 +11106,8 @@ var openapi_default = {
12053
11106
  summary: "/user_identities/list_accessible_devices",
12054
11107
  tags: ["/user_identities"],
12055
11108
  "x-fern-sdk-group-name": ["user_identities"],
12056
- "x-fern-sdk-method-name": "list_accessible_devices"
11109
+ "x-fern-sdk-method-name": "list_accessible_devices",
11110
+ "x-fern-sdk-return-value": "devices"
12057
11111
  }
12058
11112
  },
12059
11113
  "/user_identities/list_acs_systems": {
@@ -12103,7 +11157,8 @@ var openapi_default = {
12103
11157
  summary: "/user_identities/list_acs_systems",
12104
11158
  tags: ["/user_identities"],
12105
11159
  "x-fern-sdk-group-name": ["user_identities"],
12106
- "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"
12107
11162
  }
12108
11163
  },
12109
11164
  "/user_identities/list_acs_users": {
@@ -12152,7 +11207,8 @@ var openapi_default = {
12152
11207
  summary: "/user_identities/list_acs_users",
12153
11208
  tags: ["/user_identities"],
12154
11209
  "x-fern-sdk-group-name": ["user_identities"],
12155
- "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"
12156
11212
  }
12157
11213
  },
12158
11214
  "/user_identities/remove_acs_user": {
@@ -12692,7 +11748,8 @@ var openapi_default = {
12692
11748
  summary: "/workspaces/create",
12693
11749
  tags: ["/workspaces"],
12694
11750
  "x-fern-sdk-group-name": ["workspaces"],
12695
- "x-fern-sdk-method-name": "create"
11751
+ "x-fern-sdk-method-name": "create",
11752
+ "x-fern-sdk-return-value": "workspace"
12696
11753
  }
12697
11754
  },
12698
11755
  "/workspaces/get": {