@seamapi/types 1.47.0 → 1.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/connect.cjs +359 -61
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +465 -37
  4. package/lib/seam/connect/openapi.d.ts +268 -23
  5. package/lib/seam/connect/openapi.js +358 -60
  6. package/lib/seam/connect/openapi.js.map +1 -1
  7. package/lib/seam/connect/route-types.d.ts +197 -14
  8. package/lib/seam/connect/unstable/model-types.d.ts +1 -1
  9. package/lib/seam/connect/unstable/models/access-codes/managed-access-code.js +81 -21
  10. package/lib/seam/connect/unstable/models/access-codes/managed-access-code.js.map +1 -1
  11. package/lib/seam/connect/unstable/models/acs/credential.d.ts +7 -4
  12. package/lib/seam/connect/unstable/models/acs/credential.js +2 -0
  13. package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
  14. package/lib/seam/connect/unstable/models/acs/credential_pool.d.ts +29 -0
  15. package/lib/seam/connect/unstable/models/acs/credential_pool.js +12 -0
  16. package/lib/seam/connect/unstable/models/acs/credential_pool.js.map +1 -0
  17. package/lib/seam/connect/unstable/models/acs/index.d.ts +1 -0
  18. package/lib/seam/connect/unstable/models/acs/index.js +1 -0
  19. package/lib/seam/connect/unstable/models/acs/index.js.map +1 -1
  20. package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +14 -14
  21. package/lib/seam/connect/unstable/models/devices/managed-device.js +1 -1
  22. package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
  23. package/lib/seam/connect/unstable/schemas.d.ts +1 -1
  24. package/lib/seam/connect/unstable/schemas.js +1 -1
  25. package/lib/seam/connect/unstable/schemas.js.map +1 -1
  26. package/package.json +1 -1
  27. package/src/lib/seam/connect/openapi.ts +383 -60
  28. package/src/lib/seam/connect/route-types.ts +197 -14
  29. package/src/lib/seam/connect/unstable/model-types.ts +2 -0
  30. package/src/lib/seam/connect/unstable/models/access-codes/managed-access-code.ts +113 -21
  31. package/src/lib/seam/connect/unstable/models/acs/credential.ts +2 -0
  32. package/src/lib/seam/connect/unstable/models/acs/credential_pool.ts +19 -0
  33. package/src/lib/seam/connect/unstable/models/acs/index.ts +1 -0
  34. package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +1 -1
  35. package/src/lib/seam/connect/unstable/schemas.ts +2 -0
@@ -3,34 +3,122 @@ export default {
3
3
  schemas: {
4
4
  access_code: {
5
5
  properties: {
6
- access_code_id: { format: 'uuid', type: 'string' },
7
- code: { nullable: true, type: 'string' },
8
- common_code_key: { nullable: true, type: 'string' },
9
- created_at: { format: 'date-time', type: 'string' },
10
- device_id: { format: 'uuid', type: 'string' },
11
- ends_at: { format: 'date-time', nullable: true, type: 'string' },
12
- errors: { nullable: true },
13
- is_backup: { type: 'boolean' },
14
- is_backup_access_code_available: { type: 'boolean' },
15
- is_external_modification_allowed: { type: 'boolean' },
16
- is_managed: { enum: [true], type: 'boolean' },
17
- is_offline_access_code: { type: 'boolean' },
18
- is_one_time_use: { type: 'boolean' },
19
- is_scheduled_on_device: { type: 'boolean' },
20
- is_waiting_for_code_assignment: { type: 'boolean' },
21
- name: { nullable: true, type: 'string' },
6
+ access_code_id: {
7
+ description: 'Unique identifier for the access code.',
8
+ format: 'uuid',
9
+ type: 'string',
10
+ },
11
+ code: {
12
+ description:
13
+ 'Code used for access. Typically, a numeric or alphanumeric string.',
14
+ nullable: true,
15
+ type: 'string',
16
+ },
17
+ common_code_key: {
18
+ description:
19
+ 'Unique identifier for a group of access codes that share the same code.',
20
+ nullable: true,
21
+ type: 'string',
22
+ },
23
+ created_at: {
24
+ description: 'Date and time at which the access code was created.',
25
+ format: 'date-time',
26
+ type: 'string',
27
+ },
28
+ device_id: {
29
+ description:
30
+ 'Unique identifier for the device associated with the access code.',
31
+ format: 'uuid',
32
+ type: 'string',
33
+ },
34
+ ends_at: {
35
+ description:
36
+ 'Date and time after which the time-bound access code becomes inactive.',
37
+ format: 'date-time',
38
+ nullable: true,
39
+ type: 'string',
40
+ },
41
+ errors: {
42
+ description:
43
+ 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
44
+ nullable: true,
45
+ },
46
+ is_backup: {
47
+ description: 'Indicates whether the access code is a backup code.',
48
+ type: 'boolean',
49
+ },
50
+ is_backup_access_code_available: {
51
+ description:
52
+ 'Indicates whether a backup access code is available for use if the primary access code is lost or compromised.',
53
+ type: 'boolean',
54
+ },
55
+ is_external_modification_allowed: {
56
+ description:
57
+ 'Indicates whether changes to the access code from external sources are permitted.',
58
+ type: 'boolean',
59
+ },
60
+ is_managed: {
61
+ description: 'Indicates whether Seam manages the access code.',
62
+ enum: [true],
63
+ type: 'boolean',
64
+ },
65
+ is_offline_access_code: {
66
+ description:
67
+ 'Indicates whether the access code is intended for use in offline scenarios. If "true," this code can be created on a device without a network connection.',
68
+ type: 'boolean',
69
+ },
70
+ is_one_time_use: {
71
+ description:
72
+ 'Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use.',
73
+ type: 'boolean',
74
+ },
75
+ is_scheduled_on_device: {
76
+ description:
77
+ 'Indicates whether the code is set on the device according to a preconfigured schedule.',
78
+ type: 'boolean',
79
+ },
80
+ is_waiting_for_code_assignment: {
81
+ description:
82
+ 'Indicates whether the access code is waiting for a code assignment.',
83
+ type: 'boolean',
84
+ },
85
+ name: {
86
+ description:
87
+ 'Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.',
88
+ nullable: true,
89
+ type: 'string',
90
+ },
22
91
  pulled_backup_access_code_id: {
92
+ description:
93
+ 'Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code.',
23
94
  format: 'uuid',
24
95
  nullable: true,
25
96
  type: 'string',
26
97
  },
27
- starts_at: { format: 'date-time', nullable: true, type: 'string' },
98
+ starts_at: {
99
+ description:
100
+ 'Date and time at which the time-bound access code becomes active.',
101
+ format: 'date-time',
102
+ nullable: true,
103
+ type: 'string',
104
+ },
28
105
  status: {
106
+ description:
107
+ '\n Current status of the access code within the operational lifecycle. Values are "setting," a transitional phase that indicates that the code is being configured or activated; "set", which indicates that the code is active and operational; "unset," which indicates a deactivated or unused state, either before activation or after deliberate deactivation; "removing," which indicates a transitional period in which the code is being deleted or made inactive; and "unknown," which indicates an indeterminate state, due to reasons such as system errors or incomplete data, that highlights a potential need for system review or troubleshooting.\n ',
29
108
  enum: ['setting', 'set', 'unset', 'removing', 'unknown'],
30
109
  type: 'string',
31
110
  },
32
- type: { enum: ['time_bound', 'ongoing'], type: 'string' },
33
- warnings: { nullable: true },
111
+ type: {
112
+ description:
113
+ 'Nature of the access code. Values are "ongoing" for access codes that are active continuously until deactivated manually or "time_bound" for access codes that have a specific duration.',
114
+ enum: ['time_bound', 'ongoing'],
115
+ type: 'string',
116
+ },
117
+ warnings: {
118
+ description:
119
+ 'Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention.',
120
+ nullable: true,
121
+ },
34
122
  },
35
123
  required: [
36
124
  'common_code_key',
@@ -503,11 +591,11 @@ export default {
503
591
  manufacturer: { type: 'string' },
504
592
  model: {
505
593
  properties: {
506
- access_codes_supported: { type: 'boolean' },
507
594
  accessory_keypad_supported: { type: 'boolean' },
508
595
  display_name: { type: 'string' },
509
596
  manufacturer_display_name: { type: 'string' },
510
597
  offline_access_codes_supported: { type: 'boolean' },
598
+ online_access_codes_supported: { type: 'boolean' },
511
599
  },
512
600
  required: ['display_name', 'manufacturer_display_name'],
513
601
  type: 'object',
@@ -1374,6 +1462,24 @@ export default {
1374
1462
  ],
1375
1463
  type: 'object',
1376
1464
  },
1465
+ device_provider: {
1466
+ properties: {
1467
+ device_provider_name: { type: 'string' },
1468
+ display_name: { type: 'string' },
1469
+ image_url: { type: 'string' },
1470
+ provider_categories: {
1471
+ items: { enum: ['stable', 'consumer_smartlocks'], type: 'string' },
1472
+ type: 'array',
1473
+ },
1474
+ },
1475
+ required: [
1476
+ 'device_provider_name',
1477
+ 'display_name',
1478
+ 'image_url',
1479
+ 'provider_categories',
1480
+ ],
1481
+ type: 'object',
1482
+ },
1377
1483
  event: {
1378
1484
  properties: {
1379
1485
  created_at: { format: 'date-time', type: 'string' },
@@ -1423,18 +1529,66 @@ export default {
1423
1529
  },
1424
1530
  unmanaged_access_code: {
1425
1531
  properties: {
1426
- access_code_id: { format: 'uuid', type: 'string' },
1427
- code: { nullable: true, type: 'string' },
1428
- created_at: { format: 'date-time', type: 'string' },
1429
- device_id: { format: 'uuid', type: 'string' },
1430
- ends_at: { format: 'date-time', nullable: true, type: 'string' },
1431
- errors: { nullable: true },
1532
+ access_code_id: {
1533
+ description: 'Unique identifier for the access code.',
1534
+ format: 'uuid',
1535
+ type: 'string',
1536
+ },
1537
+ code: {
1538
+ description:
1539
+ 'Code used for access. Typically, a numeric or alphanumeric string.',
1540
+ nullable: true,
1541
+ type: 'string',
1542
+ },
1543
+ created_at: {
1544
+ description: 'Date and time at which the access code was created.',
1545
+ format: 'date-time',
1546
+ type: 'string',
1547
+ },
1548
+ device_id: {
1549
+ description:
1550
+ 'Unique identifier for the device associated with the access code.',
1551
+ format: 'uuid',
1552
+ type: 'string',
1553
+ },
1554
+ ends_at: {
1555
+ description:
1556
+ 'Date and time after which the time-bound access code becomes inactive.',
1557
+ format: 'date-time',
1558
+ nullable: true,
1559
+ type: 'string',
1560
+ },
1561
+ errors: {
1562
+ description:
1563
+ 'Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues.',
1564
+ nullable: true,
1565
+ },
1432
1566
  is_managed: { enum: [false], type: 'boolean' },
1433
- name: { nullable: true, type: 'string' },
1434
- starts_at: { format: 'date-time', nullable: true, type: 'string' },
1567
+ name: {
1568
+ description:
1569
+ 'Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.',
1570
+ nullable: true,
1571
+ type: 'string',
1572
+ },
1573
+ starts_at: {
1574
+ description:
1575
+ 'Date and time at which the time-bound access code becomes active.',
1576
+ format: 'date-time',
1577
+ nullable: true,
1578
+ type: 'string',
1579
+ },
1435
1580
  status: { enum: ['set'], type: 'string' },
1436
- type: { enum: ['time_bound', 'ongoing'], type: 'string' },
1437
- warnings: { nullable: true },
1581
+ type: {
1582
+ description:
1583
+ 'Nature of the access code. Values are "ongoing" for access codes that are active continuously until deactivated manually or "time_bound" for access codes that have a specific duration.',
1584
+ enum: ['time_bound', 'ongoing'],
1585
+ type: 'string',
1586
+ },
1587
+ warnings: {
1588
+ description:
1589
+ 'Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention.',
1590
+ nullable: true,
1591
+ },
1438
1592
  },
1439
1593
  required: [
1440
1594
  'type',
@@ -3000,6 +3154,81 @@ export default {
3000
3154
  'x-fern-sdk-method-name': 'remove_user',
3001
3155
  },
3002
3156
  },
3157
+ '/acs/credential_pools/list': {
3158
+ post: {
3159
+ operationId: 'acsCredentialPoolsListPost',
3160
+ requestBody: {
3161
+ content: {
3162
+ 'application/json': {
3163
+ schema: {
3164
+ properties: {
3165
+ acs_system_id: { format: 'uuid', type: 'string' },
3166
+ },
3167
+ required: ['acs_system_id'],
3168
+ type: 'object',
3169
+ },
3170
+ },
3171
+ },
3172
+ },
3173
+ responses: {
3174
+ 200: {
3175
+ content: {
3176
+ 'application/json': {
3177
+ schema: {
3178
+ properties: {
3179
+ acs_credential_pools: {
3180
+ items: {
3181
+ properties: {
3182
+ acs_credential_pool_id: {
3183
+ format: 'uuid',
3184
+ type: 'string',
3185
+ },
3186
+ acs_system_id: { format: 'uuid', type: 'string' },
3187
+ created_at: { format: 'date-time', type: 'string' },
3188
+ display_name: { minLength: 1, type: 'string' },
3189
+ external_type: {
3190
+ enum: ['hid_part_number'],
3191
+ type: 'string',
3192
+ },
3193
+ external_type_display_name: { type: 'string' },
3194
+ workspace_id: { format: 'uuid', type: 'string' },
3195
+ },
3196
+ required: [
3197
+ 'acs_credential_pool_id',
3198
+ 'acs_system_id',
3199
+ 'display_name',
3200
+ 'external_type',
3201
+ 'external_type_display_name',
3202
+ 'created_at',
3203
+ 'workspace_id',
3204
+ ],
3205
+ type: 'object',
3206
+ },
3207
+ type: 'array',
3208
+ },
3209
+ ok: { type: 'boolean' },
3210
+ },
3211
+ required: ['acs_credential_pools', 'ok'],
3212
+ type: 'object',
3213
+ },
3214
+ },
3215
+ },
3216
+ description: 'OK',
3217
+ },
3218
+ 400: { description: 'Bad Request' },
3219
+ 401: { description: 'Unauthorized' },
3220
+ },
3221
+ security: [
3222
+ { access_token: [], seam_workspace: [] },
3223
+ { seam_client_session_token: [] },
3224
+ { client_session_token: [] },
3225
+ ],
3226
+ summary: '/acs/credential_pools/list',
3227
+ tags: [],
3228
+ 'x-fern-sdk-group-name': ['acs', 'credential_pools'],
3229
+ 'x-fern-sdk-method-name': 'list',
3230
+ },
3231
+ },
3003
3232
  '/acs/credentials/assign': {
3004
3233
  patch: {
3005
3234
  operationId: 'acsCredentialsAssignPatch',
@@ -3022,8 +3251,45 @@ export default {
3022
3251
  content: {
3023
3252
  'application/json': {
3024
3253
  schema: {
3025
- properties: { ok: { type: 'boolean' } },
3026
- required: ['ok'],
3254
+ properties: {
3255
+ acs_credential: {
3256
+ properties: {
3257
+ acs_credential_id: { format: 'uuid', type: 'string' },
3258
+ acs_credential_pool_id: {
3259
+ format: 'uuid',
3260
+ type: 'string',
3261
+ },
3262
+ acs_system_id: { format: 'uuid', type: 'string' },
3263
+ acs_user_id: { format: 'uuid', type: 'string' },
3264
+ code: { nullable: true, type: 'string' },
3265
+ created_at: { format: 'date-time', type: 'string' },
3266
+ display_name: { minLength: 1, type: 'string' },
3267
+ external_type: {
3268
+ enum: [
3269
+ 'pti_card',
3270
+ 'brivo_credential',
3271
+ 'hid_credential',
3272
+ ],
3273
+ type: 'string',
3274
+ },
3275
+ external_type_display_name: { type: 'string' },
3276
+ workspace_id: { format: 'uuid', type: 'string' },
3277
+ },
3278
+ required: [
3279
+ 'acs_credential_id',
3280
+ 'acs_system_id',
3281
+ 'display_name',
3282
+ 'code',
3283
+ 'external_type',
3284
+ 'external_type_display_name',
3285
+ 'created_at',
3286
+ 'workspace_id',
3287
+ ],
3288
+ type: 'object',
3289
+ },
3290
+ ok: { type: 'boolean' },
3291
+ },
3292
+ required: ['acs_credential', 'ok'],
3027
3293
  type: 'object',
3028
3294
  },
3029
3295
  },
@@ -3063,8 +3329,45 @@ export default {
3063
3329
  content: {
3064
3330
  'application/json': {
3065
3331
  schema: {
3066
- properties: { ok: { type: 'boolean' } },
3067
- required: ['ok'],
3332
+ properties: {
3333
+ acs_credential: {
3334
+ properties: {
3335
+ acs_credential_id: { format: 'uuid', type: 'string' },
3336
+ acs_credential_pool_id: {
3337
+ format: 'uuid',
3338
+ type: 'string',
3339
+ },
3340
+ acs_system_id: { format: 'uuid', type: 'string' },
3341
+ acs_user_id: { format: 'uuid', type: 'string' },
3342
+ code: { nullable: true, type: 'string' },
3343
+ created_at: { format: 'date-time', type: 'string' },
3344
+ display_name: { minLength: 1, type: 'string' },
3345
+ external_type: {
3346
+ enum: [
3347
+ 'pti_card',
3348
+ 'brivo_credential',
3349
+ 'hid_credential',
3350
+ ],
3351
+ type: 'string',
3352
+ },
3353
+ external_type_display_name: { type: 'string' },
3354
+ workspace_id: { format: 'uuid', type: 'string' },
3355
+ },
3356
+ required: [
3357
+ 'acs_credential_id',
3358
+ 'acs_system_id',
3359
+ 'display_name',
3360
+ 'code',
3361
+ 'external_type',
3362
+ 'external_type_display_name',
3363
+ 'created_at',
3364
+ 'workspace_id',
3365
+ ],
3366
+ type: 'object',
3367
+ },
3368
+ ok: { type: 'boolean' },
3369
+ },
3370
+ required: ['acs_credential', 'ok'],
3068
3371
  type: 'object',
3069
3372
  },
3070
3373
  },
@@ -3111,13 +3414,21 @@ export default {
3111
3414
  acs_credential: {
3112
3415
  properties: {
3113
3416
  acs_credential_id: { format: 'uuid', type: 'string' },
3417
+ acs_credential_pool_id: {
3418
+ format: 'uuid',
3419
+ type: 'string',
3420
+ },
3114
3421
  acs_system_id: { format: 'uuid', type: 'string' },
3115
3422
  acs_user_id: { format: 'uuid', type: 'string' },
3116
3423
  code: { nullable: true, type: 'string' },
3117
3424
  created_at: { format: 'date-time', type: 'string' },
3118
3425
  display_name: { minLength: 1, type: 'string' },
3119
3426
  external_type: {
3120
- enum: ['pti_card', 'brivo_credential'],
3427
+ enum: [
3428
+ 'pti_card',
3429
+ 'brivo_credential',
3430
+ 'hid_credential',
3431
+ ],
3121
3432
  type: 'string',
3122
3433
  },
3123
3434
  external_type_display_name: { type: 'string' },
@@ -3226,13 +3537,21 @@ export default {
3226
3537
  acs_credential: {
3227
3538
  properties: {
3228
3539
  acs_credential_id: { format: 'uuid', type: 'string' },
3540
+ acs_credential_pool_id: {
3541
+ format: 'uuid',
3542
+ type: 'string',
3543
+ },
3229
3544
  acs_system_id: { format: 'uuid', type: 'string' },
3230
3545
  acs_user_id: { format: 'uuid', type: 'string' },
3231
3546
  code: { nullable: true, type: 'string' },
3232
3547
  created_at: { format: 'date-time', type: 'string' },
3233
3548
  display_name: { minLength: 1, type: 'string' },
3234
3549
  external_type: {
3235
- enum: ['pti_card', 'brivo_credential'],
3550
+ enum: [
3551
+ 'pti_card',
3552
+ 'brivo_credential',
3553
+ 'hid_credential',
3554
+ ],
3236
3555
  type: 'string',
3237
3556
  },
3238
3557
  external_type_display_name: { type: 'string' },
@@ -3318,13 +3637,21 @@ export default {
3318
3637
  items: {
3319
3638
  properties: {
3320
3639
  acs_credential_id: { format: 'uuid', type: 'string' },
3640
+ acs_credential_pool_id: {
3641
+ format: 'uuid',
3642
+ type: 'string',
3643
+ },
3321
3644
  acs_system_id: { format: 'uuid', type: 'string' },
3322
3645
  acs_user_id: { format: 'uuid', type: 'string' },
3323
3646
  code: { nullable: true, type: 'string' },
3324
3647
  created_at: { format: 'date-time', type: 'string' },
3325
3648
  display_name: { minLength: 1, type: 'string' },
3326
3649
  external_type: {
3327
- enum: ['pti_card', 'brivo_credential'],
3650
+ enum: [
3651
+ 'pti_card',
3652
+ 'brivo_credential',
3653
+ 'hid_credential',
3654
+ ],
3328
3655
  type: 'string',
3329
3656
  },
3330
3657
  external_type_display_name: { type: 'string' },
@@ -3393,13 +3720,21 @@ export default {
3393
3720
  acs_credential: {
3394
3721
  properties: {
3395
3722
  acs_credential_id: { format: 'uuid', type: 'string' },
3723
+ acs_credential_pool_id: {
3724
+ format: 'uuid',
3725
+ type: 'string',
3726
+ },
3396
3727
  acs_system_id: { format: 'uuid', type: 'string' },
3397
3728
  acs_user_id: { format: 'uuid', type: 'string' },
3398
3729
  code: { nullable: true, type: 'string' },
3399
3730
  created_at: { format: 'date-time', type: 'string' },
3400
3731
  display_name: { minLength: 1, type: 'string' },
3401
3732
  external_type: {
3402
- enum: ['pti_card', 'brivo_credential'],
3733
+ enum: [
3734
+ 'pti_card',
3735
+ 'brivo_credential',
3736
+ 'hid_credential',
3737
+ ],
3403
3738
  type: 'string',
3404
3739
  },
3405
3740
  external_type_display_name: { type: 'string' },
@@ -3463,13 +3798,21 @@ export default {
3463
3798
  acs_credential: {
3464
3799
  properties: {
3465
3800
  acs_credential_id: { format: 'uuid', type: 'string' },
3801
+ acs_credential_pool_id: {
3802
+ format: 'uuid',
3803
+ type: 'string',
3804
+ },
3466
3805
  acs_system_id: { format: 'uuid', type: 'string' },
3467
3806
  acs_user_id: { format: 'uuid', type: 'string' },
3468
3807
  code: { nullable: true, type: 'string' },
3469
3808
  created_at: { format: 'date-time', type: 'string' },
3470
3809
  display_name: { minLength: 1, type: 'string' },
3471
3810
  external_type: {
3472
- enum: ['pti_card', 'brivo_credential'],
3811
+ enum: [
3812
+ 'pti_card',
3813
+ 'brivo_credential',
3814
+ 'hid_credential',
3815
+ ],
3473
3816
  type: 'string',
3474
3817
  },
3475
3818
  external_type_display_name: { type: 'string' },
@@ -5594,27 +5937,7 @@ export default {
5594
5937
  schema: {
5595
5938
  properties: {
5596
5939
  device_providers: {
5597
- items: {
5598
- properties: {
5599
- device_provider_name: { type: 'string' },
5600
- display_name: { type: 'string' },
5601
- image_url: { type: 'string' },
5602
- provider_categories: {
5603
- items: {
5604
- enum: ['stable', 'consumer_smartlocks'],
5605
- type: 'string',
5606
- },
5607
- type: 'array',
5608
- },
5609
- },
5610
- required: [
5611
- 'device_provider_name',
5612
- 'display_name',
5613
- 'image_url',
5614
- 'provider_categories',
5615
- ],
5616
- type: 'object',
5617
- },
5940
+ items: { $ref: '#/components/schemas/device_provider' },
5618
5941
  type: 'array',
5619
5942
  },
5620
5943
  ok: { type: 'boolean' },