@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.
- package/dist/connect.cjs +359 -61
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +465 -37
- package/lib/seam/connect/openapi.d.ts +268 -23
- package/lib/seam/connect/openapi.js +358 -60
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +197 -14
- package/lib/seam/connect/unstable/model-types.d.ts +1 -1
- package/lib/seam/connect/unstable/models/access-codes/managed-access-code.js +81 -21
- package/lib/seam/connect/unstable/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/credential.d.ts +7 -4
- package/lib/seam/connect/unstable/models/acs/credential.js +2 -0
- package/lib/seam/connect/unstable/models/acs/credential.js.map +1 -1
- package/lib/seam/connect/unstable/models/acs/credential_pool.d.ts +29 -0
- package/lib/seam/connect/unstable/models/acs/credential_pool.js +12 -0
- package/lib/seam/connect/unstable/models/acs/credential_pool.js.map +1 -0
- package/lib/seam/connect/unstable/models/acs/index.d.ts +1 -0
- package/lib/seam/connect/unstable/models/acs/index.js +1 -0
- package/lib/seam/connect/unstable/models/acs/index.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +14 -14
- package/lib/seam/connect/unstable/models/devices/managed-device.js +1 -1
- package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -1
- package/lib/seam/connect/unstable/schemas.d.ts +1 -1
- package/lib/seam/connect/unstable/schemas.js +1 -1
- package/lib/seam/connect/unstable/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +383 -60
- package/src/lib/seam/connect/route-types.ts +197 -14
- package/src/lib/seam/connect/unstable/model-types.ts +2 -0
- package/src/lib/seam/connect/unstable/models/access-codes/managed-access-code.ts +113 -21
- package/src/lib/seam/connect/unstable/models/acs/credential.ts +2 -0
- package/src/lib/seam/connect/unstable/models/acs/credential_pool.ts +19 -0
- package/src/lib/seam/connect/unstable/models/acs/index.ts +1 -0
- package/src/lib/seam/connect/unstable/models/devices/managed-device.ts +1 -1
- package/src/lib/seam/connect/unstable/schemas.ts +2 -0
|
@@ -3,34 +3,105 @@ export default {
|
|
|
3
3
|
schemas: {
|
|
4
4
|
access_code: {
|
|
5
5
|
properties: {
|
|
6
|
-
access_code_id: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
6
|
+
access_code_id: {
|
|
7
|
+
description: 'Unique identifier for the access code.',
|
|
8
|
+
format: 'uuid',
|
|
9
|
+
type: 'string',
|
|
10
|
+
},
|
|
11
|
+
code: {
|
|
12
|
+
description: 'Code used for access. Typically, a numeric or alphanumeric string.',
|
|
13
|
+
nullable: true,
|
|
14
|
+
type: 'string',
|
|
15
|
+
},
|
|
16
|
+
common_code_key: {
|
|
17
|
+
description: 'Unique identifier for a group of access codes that share the same code.',
|
|
18
|
+
nullable: true,
|
|
19
|
+
type: 'string',
|
|
20
|
+
},
|
|
21
|
+
created_at: {
|
|
22
|
+
description: 'Date and time at which the access code was created.',
|
|
23
|
+
format: 'date-time',
|
|
24
|
+
type: 'string',
|
|
25
|
+
},
|
|
26
|
+
device_id: {
|
|
27
|
+
description: 'Unique identifier for the device associated with the access code.',
|
|
28
|
+
format: 'uuid',
|
|
29
|
+
type: 'string',
|
|
30
|
+
},
|
|
31
|
+
ends_at: {
|
|
32
|
+
description: 'Date and time after which the time-bound access code becomes inactive.',
|
|
33
|
+
format: 'date-time',
|
|
34
|
+
nullable: true,
|
|
35
|
+
type: 'string',
|
|
36
|
+
},
|
|
37
|
+
errors: {
|
|
38
|
+
description: '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.',
|
|
39
|
+
nullable: true,
|
|
40
|
+
},
|
|
41
|
+
is_backup: {
|
|
42
|
+
description: 'Indicates whether the access code is a backup code.',
|
|
43
|
+
type: 'boolean',
|
|
44
|
+
},
|
|
45
|
+
is_backup_access_code_available: {
|
|
46
|
+
description: 'Indicates whether a backup access code is available for use if the primary access code is lost or compromised.',
|
|
47
|
+
type: 'boolean',
|
|
48
|
+
},
|
|
49
|
+
is_external_modification_allowed: {
|
|
50
|
+
description: 'Indicates whether changes to the access code from external sources are permitted.',
|
|
51
|
+
type: 'boolean',
|
|
52
|
+
},
|
|
53
|
+
is_managed: {
|
|
54
|
+
description: 'Indicates whether Seam manages the access code.',
|
|
55
|
+
enum: [true],
|
|
56
|
+
type: 'boolean',
|
|
57
|
+
},
|
|
58
|
+
is_offline_access_code: {
|
|
59
|
+
description: '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.',
|
|
60
|
+
type: 'boolean',
|
|
61
|
+
},
|
|
62
|
+
is_one_time_use: {
|
|
63
|
+
description: 'Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use.',
|
|
64
|
+
type: 'boolean',
|
|
65
|
+
},
|
|
66
|
+
is_scheduled_on_device: {
|
|
67
|
+
description: 'Indicates whether the code is set on the device according to a preconfigured schedule.',
|
|
68
|
+
type: 'boolean',
|
|
69
|
+
},
|
|
70
|
+
is_waiting_for_code_assignment: {
|
|
71
|
+
description: 'Indicates whether the access code is waiting for a code assignment.',
|
|
72
|
+
type: 'boolean',
|
|
73
|
+
},
|
|
74
|
+
name: {
|
|
75
|
+
description: 'Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.',
|
|
76
|
+
nullable: true,
|
|
77
|
+
type: 'string',
|
|
78
|
+
},
|
|
22
79
|
pulled_backup_access_code_id: {
|
|
80
|
+
description: 'Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code.',
|
|
23
81
|
format: 'uuid',
|
|
24
82
|
nullable: true,
|
|
25
83
|
type: 'string',
|
|
26
84
|
},
|
|
27
|
-
starts_at: {
|
|
85
|
+
starts_at: {
|
|
86
|
+
description: 'Date and time at which the time-bound access code becomes active.',
|
|
87
|
+
format: 'date-time',
|
|
88
|
+
nullable: true,
|
|
89
|
+
type: 'string',
|
|
90
|
+
},
|
|
28
91
|
status: {
|
|
92
|
+
description: '\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
93
|
enum: ['setting', 'set', 'unset', 'removing', 'unknown'],
|
|
30
94
|
type: 'string',
|
|
31
95
|
},
|
|
32
|
-
type: {
|
|
33
|
-
|
|
96
|
+
type: {
|
|
97
|
+
description: '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.',
|
|
98
|
+
enum: ['time_bound', 'ongoing'],
|
|
99
|
+
type: 'string',
|
|
100
|
+
},
|
|
101
|
+
warnings: {
|
|
102
|
+
description: '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.',
|
|
103
|
+
nullable: true,
|
|
104
|
+
},
|
|
34
105
|
},
|
|
35
106
|
required: [
|
|
36
107
|
'common_code_key',
|
|
@@ -503,11 +574,11 @@ export default {
|
|
|
503
574
|
manufacturer: { type: 'string' },
|
|
504
575
|
model: {
|
|
505
576
|
properties: {
|
|
506
|
-
access_codes_supported: { type: 'boolean' },
|
|
507
577
|
accessory_keypad_supported: { type: 'boolean' },
|
|
508
578
|
display_name: { type: 'string' },
|
|
509
579
|
manufacturer_display_name: { type: 'string' },
|
|
510
580
|
offline_access_codes_supported: { type: 'boolean' },
|
|
581
|
+
online_access_codes_supported: { type: 'boolean' },
|
|
511
582
|
},
|
|
512
583
|
required: ['display_name', 'manufacturer_display_name'],
|
|
513
584
|
type: 'object',
|
|
@@ -1370,6 +1441,24 @@ export default {
|
|
|
1370
1441
|
],
|
|
1371
1442
|
type: 'object',
|
|
1372
1443
|
},
|
|
1444
|
+
device_provider: {
|
|
1445
|
+
properties: {
|
|
1446
|
+
device_provider_name: { type: 'string' },
|
|
1447
|
+
display_name: { type: 'string' },
|
|
1448
|
+
image_url: { type: 'string' },
|
|
1449
|
+
provider_categories: {
|
|
1450
|
+
items: { enum: ['stable', 'consumer_smartlocks'], type: 'string' },
|
|
1451
|
+
type: 'array',
|
|
1452
|
+
},
|
|
1453
|
+
},
|
|
1454
|
+
required: [
|
|
1455
|
+
'device_provider_name',
|
|
1456
|
+
'display_name',
|
|
1457
|
+
'image_url',
|
|
1458
|
+
'provider_categories',
|
|
1459
|
+
],
|
|
1460
|
+
type: 'object',
|
|
1461
|
+
},
|
|
1373
1462
|
event: {
|
|
1374
1463
|
properties: {
|
|
1375
1464
|
created_at: { format: 'date-time', type: 'string' },
|
|
@@ -1419,18 +1508,58 @@ export default {
|
|
|
1419
1508
|
},
|
|
1420
1509
|
unmanaged_access_code: {
|
|
1421
1510
|
properties: {
|
|
1422
|
-
access_code_id: {
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1511
|
+
access_code_id: {
|
|
1512
|
+
description: 'Unique identifier for the access code.',
|
|
1513
|
+
format: 'uuid',
|
|
1514
|
+
type: 'string',
|
|
1515
|
+
},
|
|
1516
|
+
code: {
|
|
1517
|
+
description: 'Code used for access. Typically, a numeric or alphanumeric string.',
|
|
1518
|
+
nullable: true,
|
|
1519
|
+
type: 'string',
|
|
1520
|
+
},
|
|
1521
|
+
created_at: {
|
|
1522
|
+
description: 'Date and time at which the access code was created.',
|
|
1523
|
+
format: 'date-time',
|
|
1524
|
+
type: 'string',
|
|
1525
|
+
},
|
|
1526
|
+
device_id: {
|
|
1527
|
+
description: 'Unique identifier for the device associated with the access code.',
|
|
1528
|
+
format: 'uuid',
|
|
1529
|
+
type: 'string',
|
|
1530
|
+
},
|
|
1531
|
+
ends_at: {
|
|
1532
|
+
description: 'Date and time after which the time-bound access code becomes inactive.',
|
|
1533
|
+
format: 'date-time',
|
|
1534
|
+
nullable: true,
|
|
1535
|
+
type: 'string',
|
|
1536
|
+
},
|
|
1537
|
+
errors: {
|
|
1538
|
+
description: '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.',
|
|
1539
|
+
nullable: true,
|
|
1540
|
+
},
|
|
1428
1541
|
is_managed: { enum: [false], type: 'boolean' },
|
|
1429
|
-
name: {
|
|
1430
|
-
|
|
1542
|
+
name: {
|
|
1543
|
+
description: 'Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.',
|
|
1544
|
+
nullable: true,
|
|
1545
|
+
type: 'string',
|
|
1546
|
+
},
|
|
1547
|
+
starts_at: {
|
|
1548
|
+
description: 'Date and time at which the time-bound access code becomes active.',
|
|
1549
|
+
format: 'date-time',
|
|
1550
|
+
nullable: true,
|
|
1551
|
+
type: 'string',
|
|
1552
|
+
},
|
|
1431
1553
|
status: { enum: ['set'], type: 'string' },
|
|
1432
|
-
type: {
|
|
1433
|
-
|
|
1554
|
+
type: {
|
|
1555
|
+
description: '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.',
|
|
1556
|
+
enum: ['time_bound', 'ongoing'],
|
|
1557
|
+
type: 'string',
|
|
1558
|
+
},
|
|
1559
|
+
warnings: {
|
|
1560
|
+
description: '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.',
|
|
1561
|
+
nullable: true,
|
|
1562
|
+
},
|
|
1434
1563
|
},
|
|
1435
1564
|
required: [
|
|
1436
1565
|
'type',
|
|
@@ -2996,6 +3125,81 @@ export default {
|
|
|
2996
3125
|
'x-fern-sdk-method-name': 'remove_user',
|
|
2997
3126
|
},
|
|
2998
3127
|
},
|
|
3128
|
+
'/acs/credential_pools/list': {
|
|
3129
|
+
post: {
|
|
3130
|
+
operationId: 'acsCredentialPoolsListPost',
|
|
3131
|
+
requestBody: {
|
|
3132
|
+
content: {
|
|
3133
|
+
'application/json': {
|
|
3134
|
+
schema: {
|
|
3135
|
+
properties: {
|
|
3136
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
3137
|
+
},
|
|
3138
|
+
required: ['acs_system_id'],
|
|
3139
|
+
type: 'object',
|
|
3140
|
+
},
|
|
3141
|
+
},
|
|
3142
|
+
},
|
|
3143
|
+
},
|
|
3144
|
+
responses: {
|
|
3145
|
+
200: {
|
|
3146
|
+
content: {
|
|
3147
|
+
'application/json': {
|
|
3148
|
+
schema: {
|
|
3149
|
+
properties: {
|
|
3150
|
+
acs_credential_pools: {
|
|
3151
|
+
items: {
|
|
3152
|
+
properties: {
|
|
3153
|
+
acs_credential_pool_id: {
|
|
3154
|
+
format: 'uuid',
|
|
3155
|
+
type: 'string',
|
|
3156
|
+
},
|
|
3157
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
3158
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
3159
|
+
display_name: { minLength: 1, type: 'string' },
|
|
3160
|
+
external_type: {
|
|
3161
|
+
enum: ['hid_part_number'],
|
|
3162
|
+
type: 'string',
|
|
3163
|
+
},
|
|
3164
|
+
external_type_display_name: { type: 'string' },
|
|
3165
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
3166
|
+
},
|
|
3167
|
+
required: [
|
|
3168
|
+
'acs_credential_pool_id',
|
|
3169
|
+
'acs_system_id',
|
|
3170
|
+
'display_name',
|
|
3171
|
+
'external_type',
|
|
3172
|
+
'external_type_display_name',
|
|
3173
|
+
'created_at',
|
|
3174
|
+
'workspace_id',
|
|
3175
|
+
],
|
|
3176
|
+
type: 'object',
|
|
3177
|
+
},
|
|
3178
|
+
type: 'array',
|
|
3179
|
+
},
|
|
3180
|
+
ok: { type: 'boolean' },
|
|
3181
|
+
},
|
|
3182
|
+
required: ['acs_credential_pools', 'ok'],
|
|
3183
|
+
type: 'object',
|
|
3184
|
+
},
|
|
3185
|
+
},
|
|
3186
|
+
},
|
|
3187
|
+
description: 'OK',
|
|
3188
|
+
},
|
|
3189
|
+
400: { description: 'Bad Request' },
|
|
3190
|
+
401: { description: 'Unauthorized' },
|
|
3191
|
+
},
|
|
3192
|
+
security: [
|
|
3193
|
+
{ access_token: [], seam_workspace: [] },
|
|
3194
|
+
{ seam_client_session_token: [] },
|
|
3195
|
+
{ client_session_token: [] },
|
|
3196
|
+
],
|
|
3197
|
+
summary: '/acs/credential_pools/list',
|
|
3198
|
+
tags: [],
|
|
3199
|
+
'x-fern-sdk-group-name': ['acs', 'credential_pools'],
|
|
3200
|
+
'x-fern-sdk-method-name': 'list',
|
|
3201
|
+
},
|
|
3202
|
+
},
|
|
2999
3203
|
'/acs/credentials/assign': {
|
|
3000
3204
|
patch: {
|
|
3001
3205
|
operationId: 'acsCredentialsAssignPatch',
|
|
@@ -3018,8 +3222,45 @@ export default {
|
|
|
3018
3222
|
content: {
|
|
3019
3223
|
'application/json': {
|
|
3020
3224
|
schema: {
|
|
3021
|
-
properties: {
|
|
3022
|
-
|
|
3225
|
+
properties: {
|
|
3226
|
+
acs_credential: {
|
|
3227
|
+
properties: {
|
|
3228
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3229
|
+
acs_credential_pool_id: {
|
|
3230
|
+
format: 'uuid',
|
|
3231
|
+
type: 'string',
|
|
3232
|
+
},
|
|
3233
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
3234
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3235
|
+
code: { nullable: true, type: 'string' },
|
|
3236
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
3237
|
+
display_name: { minLength: 1, type: 'string' },
|
|
3238
|
+
external_type: {
|
|
3239
|
+
enum: [
|
|
3240
|
+
'pti_card',
|
|
3241
|
+
'brivo_credential',
|
|
3242
|
+
'hid_credential',
|
|
3243
|
+
],
|
|
3244
|
+
type: 'string',
|
|
3245
|
+
},
|
|
3246
|
+
external_type_display_name: { type: 'string' },
|
|
3247
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
3248
|
+
},
|
|
3249
|
+
required: [
|
|
3250
|
+
'acs_credential_id',
|
|
3251
|
+
'acs_system_id',
|
|
3252
|
+
'display_name',
|
|
3253
|
+
'code',
|
|
3254
|
+
'external_type',
|
|
3255
|
+
'external_type_display_name',
|
|
3256
|
+
'created_at',
|
|
3257
|
+
'workspace_id',
|
|
3258
|
+
],
|
|
3259
|
+
type: 'object',
|
|
3260
|
+
},
|
|
3261
|
+
ok: { type: 'boolean' },
|
|
3262
|
+
},
|
|
3263
|
+
required: ['acs_credential', 'ok'],
|
|
3023
3264
|
type: 'object',
|
|
3024
3265
|
},
|
|
3025
3266
|
},
|
|
@@ -3059,8 +3300,45 @@ export default {
|
|
|
3059
3300
|
content: {
|
|
3060
3301
|
'application/json': {
|
|
3061
3302
|
schema: {
|
|
3062
|
-
properties: {
|
|
3063
|
-
|
|
3303
|
+
properties: {
|
|
3304
|
+
acs_credential: {
|
|
3305
|
+
properties: {
|
|
3306
|
+
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3307
|
+
acs_credential_pool_id: {
|
|
3308
|
+
format: 'uuid',
|
|
3309
|
+
type: 'string',
|
|
3310
|
+
},
|
|
3311
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
3312
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3313
|
+
code: { nullable: true, type: 'string' },
|
|
3314
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
3315
|
+
display_name: { minLength: 1, type: 'string' },
|
|
3316
|
+
external_type: {
|
|
3317
|
+
enum: [
|
|
3318
|
+
'pti_card',
|
|
3319
|
+
'brivo_credential',
|
|
3320
|
+
'hid_credential',
|
|
3321
|
+
],
|
|
3322
|
+
type: 'string',
|
|
3323
|
+
},
|
|
3324
|
+
external_type_display_name: { type: 'string' },
|
|
3325
|
+
workspace_id: { format: 'uuid', type: 'string' },
|
|
3326
|
+
},
|
|
3327
|
+
required: [
|
|
3328
|
+
'acs_credential_id',
|
|
3329
|
+
'acs_system_id',
|
|
3330
|
+
'display_name',
|
|
3331
|
+
'code',
|
|
3332
|
+
'external_type',
|
|
3333
|
+
'external_type_display_name',
|
|
3334
|
+
'created_at',
|
|
3335
|
+
'workspace_id',
|
|
3336
|
+
],
|
|
3337
|
+
type: 'object',
|
|
3338
|
+
},
|
|
3339
|
+
ok: { type: 'boolean' },
|
|
3340
|
+
},
|
|
3341
|
+
required: ['acs_credential', 'ok'],
|
|
3064
3342
|
type: 'object',
|
|
3065
3343
|
},
|
|
3066
3344
|
},
|
|
@@ -3107,13 +3385,21 @@ export default {
|
|
|
3107
3385
|
acs_credential: {
|
|
3108
3386
|
properties: {
|
|
3109
3387
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3388
|
+
acs_credential_pool_id: {
|
|
3389
|
+
format: 'uuid',
|
|
3390
|
+
type: 'string',
|
|
3391
|
+
},
|
|
3110
3392
|
acs_system_id: { format: 'uuid', type: 'string' },
|
|
3111
3393
|
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3112
3394
|
code: { nullable: true, type: 'string' },
|
|
3113
3395
|
created_at: { format: 'date-time', type: 'string' },
|
|
3114
3396
|
display_name: { minLength: 1, type: 'string' },
|
|
3115
3397
|
external_type: {
|
|
3116
|
-
enum: [
|
|
3398
|
+
enum: [
|
|
3399
|
+
'pti_card',
|
|
3400
|
+
'brivo_credential',
|
|
3401
|
+
'hid_credential',
|
|
3402
|
+
],
|
|
3117
3403
|
type: 'string',
|
|
3118
3404
|
},
|
|
3119
3405
|
external_type_display_name: { type: 'string' },
|
|
@@ -3222,13 +3508,21 @@ export default {
|
|
|
3222
3508
|
acs_credential: {
|
|
3223
3509
|
properties: {
|
|
3224
3510
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3511
|
+
acs_credential_pool_id: {
|
|
3512
|
+
format: 'uuid',
|
|
3513
|
+
type: 'string',
|
|
3514
|
+
},
|
|
3225
3515
|
acs_system_id: { format: 'uuid', type: 'string' },
|
|
3226
3516
|
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3227
3517
|
code: { nullable: true, type: 'string' },
|
|
3228
3518
|
created_at: { format: 'date-time', type: 'string' },
|
|
3229
3519
|
display_name: { minLength: 1, type: 'string' },
|
|
3230
3520
|
external_type: {
|
|
3231
|
-
enum: [
|
|
3521
|
+
enum: [
|
|
3522
|
+
'pti_card',
|
|
3523
|
+
'brivo_credential',
|
|
3524
|
+
'hid_credential',
|
|
3525
|
+
],
|
|
3232
3526
|
type: 'string',
|
|
3233
3527
|
},
|
|
3234
3528
|
external_type_display_name: { type: 'string' },
|
|
@@ -3314,13 +3608,21 @@ export default {
|
|
|
3314
3608
|
items: {
|
|
3315
3609
|
properties: {
|
|
3316
3610
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3611
|
+
acs_credential_pool_id: {
|
|
3612
|
+
format: 'uuid',
|
|
3613
|
+
type: 'string',
|
|
3614
|
+
},
|
|
3317
3615
|
acs_system_id: { format: 'uuid', type: 'string' },
|
|
3318
3616
|
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3319
3617
|
code: { nullable: true, type: 'string' },
|
|
3320
3618
|
created_at: { format: 'date-time', type: 'string' },
|
|
3321
3619
|
display_name: { minLength: 1, type: 'string' },
|
|
3322
3620
|
external_type: {
|
|
3323
|
-
enum: [
|
|
3621
|
+
enum: [
|
|
3622
|
+
'pti_card',
|
|
3623
|
+
'brivo_credential',
|
|
3624
|
+
'hid_credential',
|
|
3625
|
+
],
|
|
3324
3626
|
type: 'string',
|
|
3325
3627
|
},
|
|
3326
3628
|
external_type_display_name: { type: 'string' },
|
|
@@ -3389,13 +3691,21 @@ export default {
|
|
|
3389
3691
|
acs_credential: {
|
|
3390
3692
|
properties: {
|
|
3391
3693
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3694
|
+
acs_credential_pool_id: {
|
|
3695
|
+
format: 'uuid',
|
|
3696
|
+
type: 'string',
|
|
3697
|
+
},
|
|
3392
3698
|
acs_system_id: { format: 'uuid', type: 'string' },
|
|
3393
3699
|
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3394
3700
|
code: { nullable: true, type: 'string' },
|
|
3395
3701
|
created_at: { format: 'date-time', type: 'string' },
|
|
3396
3702
|
display_name: { minLength: 1, type: 'string' },
|
|
3397
3703
|
external_type: {
|
|
3398
|
-
enum: [
|
|
3704
|
+
enum: [
|
|
3705
|
+
'pti_card',
|
|
3706
|
+
'brivo_credential',
|
|
3707
|
+
'hid_credential',
|
|
3708
|
+
],
|
|
3399
3709
|
type: 'string',
|
|
3400
3710
|
},
|
|
3401
3711
|
external_type_display_name: { type: 'string' },
|
|
@@ -3459,13 +3769,21 @@ export default {
|
|
|
3459
3769
|
acs_credential: {
|
|
3460
3770
|
properties: {
|
|
3461
3771
|
acs_credential_id: { format: 'uuid', type: 'string' },
|
|
3772
|
+
acs_credential_pool_id: {
|
|
3773
|
+
format: 'uuid',
|
|
3774
|
+
type: 'string',
|
|
3775
|
+
},
|
|
3462
3776
|
acs_system_id: { format: 'uuid', type: 'string' },
|
|
3463
3777
|
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3464
3778
|
code: { nullable: true, type: 'string' },
|
|
3465
3779
|
created_at: { format: 'date-time', type: 'string' },
|
|
3466
3780
|
display_name: { minLength: 1, type: 'string' },
|
|
3467
3781
|
external_type: {
|
|
3468
|
-
enum: [
|
|
3782
|
+
enum: [
|
|
3783
|
+
'pti_card',
|
|
3784
|
+
'brivo_credential',
|
|
3785
|
+
'hid_credential',
|
|
3786
|
+
],
|
|
3469
3787
|
type: 'string',
|
|
3470
3788
|
},
|
|
3471
3789
|
external_type_display_name: { type: 'string' },
|
|
@@ -5589,27 +5907,7 @@ export default {
|
|
|
5589
5907
|
schema: {
|
|
5590
5908
|
properties: {
|
|
5591
5909
|
device_providers: {
|
|
5592
|
-
items: {
|
|
5593
|
-
properties: {
|
|
5594
|
-
device_provider_name: { type: 'string' },
|
|
5595
|
-
display_name: { type: 'string' },
|
|
5596
|
-
image_url: { type: 'string' },
|
|
5597
|
-
provider_categories: {
|
|
5598
|
-
items: {
|
|
5599
|
-
enum: ['stable', 'consumer_smartlocks'],
|
|
5600
|
-
type: 'string',
|
|
5601
|
-
},
|
|
5602
|
-
type: 'array',
|
|
5603
|
-
},
|
|
5604
|
-
},
|
|
5605
|
-
required: [
|
|
5606
|
-
'device_provider_name',
|
|
5607
|
-
'display_name',
|
|
5608
|
-
'image_url',
|
|
5609
|
-
'provider_categories',
|
|
5610
|
-
],
|
|
5611
|
-
type: 'object',
|
|
5612
|
-
},
|
|
5910
|
+
items: { $ref: '#/components/schemas/device_provider' },
|
|
5613
5911
|
type: 'array',
|
|
5614
5912
|
},
|
|
5615
5913
|
ok: { type: 'boolean' },
|