@seamapi/types 1.35.0 → 1.37.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 +110 -160
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +213 -247
- package/lib/seam/connect/openapi.d.ts +170 -206
- package/lib/seam/connect/openapi.js +103 -153
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +43 -41
- package/lib/seam/connect/unstable/model-types.d.ts +1 -1
- package/lib/seam/connect/unstable/models/access-codes/index.d.ts +2 -0
- package/lib/seam/connect/unstable/models/access-codes/index.js +3 -0
- package/lib/seam/connect/unstable/models/access-codes/index.js.map +1 -0
- package/lib/seam/connect/unstable/models/access-codes/managed-access-code.d.ts +63 -0
- package/lib/seam/connect/unstable/models/access-codes/managed-access-code.js +23 -0
- package/lib/seam/connect/unstable/models/access-codes/managed-access-code.js.map +1 -0
- package/lib/seam/connect/unstable/models/access-codes/unmanaged-access-code.d.ts +42 -0
- package/lib/seam/connect/unstable/models/access-codes/unmanaged-access-code.js +21 -0
- package/lib/seam/connect/unstable/models/access-codes/unmanaged-access-code.js.map +1 -0
- package/lib/seam/connect/unstable/models/acs/system.d.ts +7 -7
- package/lib/seam/connect/unstable/models/acs/system.js +5 -1
- package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
- package/lib/seam/connect/unstable/models/capability-properties/index.d.ts +2 -2
- package/lib/seam/connect/unstable/models/capability-properties/index.js +2 -2
- package/lib/seam/connect/unstable/models/capability-properties/index.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/capabilities-supported.js.map +1 -0
- package/lib/seam/connect/unstable/models/{device-metadata.d.ts → devices/device-metadata.d.ts} +1 -0
- package/lib/seam/connect/unstable/models/devices/device-metadata.js.map +1 -0
- package/lib/seam/connect/unstable/models/devices/device-type.js.map +1 -0
- package/lib/seam/connect/unstable/models/devices/index.d.ts +5 -0
- package/lib/seam/connect/unstable/models/devices/index.js +6 -0
- package/lib/seam/connect/unstable/models/devices/index.js.map +1 -0
- package/lib/seam/connect/unstable/models/{managed-device.js → devices/managed-device.js} +1 -1
- package/lib/seam/connect/unstable/models/devices/managed-device.js.map +1 -0
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.js.map +1 -0
- package/lib/seam/connect/unstable/models/index.d.ts +2 -4
- package/lib/seam/connect/unstable/models/index.js +2 -4
- package/lib/seam/connect/unstable/models/index.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 +103 -153
- package/src/lib/seam/connect/route-types.ts +55 -52
- package/src/lib/seam/connect/unstable/model-types.ts +3 -0
- package/src/lib/seam/connect/unstable/models/access-codes/index.ts +2 -0
- package/src/lib/seam/connect/unstable/models/access-codes/managed-access-code.ts +25 -0
- package/src/lib/seam/connect/unstable/models/access-codes/unmanaged-access-code.ts +24 -0
- package/src/lib/seam/connect/unstable/models/acs/system.ts +5 -1
- package/src/lib/seam/connect/unstable/models/capability-properties/index.ts +2 -0
- package/src/lib/seam/connect/unstable/models/{device-metadata.ts → devices/device-metadata.ts} +2 -0
- package/src/lib/seam/connect/unstable/models/devices/index.ts +5 -0
- package/src/lib/seam/connect/unstable/models/{managed-device.ts → devices/managed-device.ts} +1 -1
- package/src/lib/seam/connect/unstable/models/index.ts +2 -4
- package/src/lib/seam/connect/unstable/schemas.ts +4 -0
- package/lib/seam/connect/unstable/models/capabilities-supported.js.map +0 -1
- package/lib/seam/connect/unstable/models/device-metadata.js.map +0 -1
- package/lib/seam/connect/unstable/models/device-type.js.map +0 -1
- package/lib/seam/connect/unstable/models/managed-device.js.map +0 -1
- package/lib/seam/connect/unstable/models/unmanaged-device.js.map +0 -1
- /package/lib/seam/connect/unstable/models/{capabilities-supported.d.ts → devices/capabilities-supported.d.ts} +0 -0
- /package/lib/seam/connect/unstable/models/{capabilities-supported.js → devices/capabilities-supported.js} +0 -0
- /package/lib/seam/connect/unstable/models/{device-metadata.js → devices/device-metadata.js} +0 -0
- /package/lib/seam/connect/unstable/models/{device-type.d.ts → devices/device-type.d.ts} +0 -0
- /package/lib/seam/connect/unstable/models/{device-type.js → devices/device-type.js} +0 -0
- /package/lib/seam/connect/unstable/models/{managed-device.d.ts → devices/managed-device.d.ts} +0 -0
- /package/lib/seam/connect/unstable/models/{unmanaged-device.d.ts → devices/unmanaged-device.d.ts} +0 -0
- /package/lib/seam/connect/unstable/models/{unmanaged-device.js → devices/unmanaged-device.js} +0 -0
- /package/src/lib/seam/connect/unstable/models/{capabilities-supported.ts → devices/capabilities-supported.ts} +0 -0
- /package/src/lib/seam/connect/unstable/models/{device-type.ts → devices/device-type.ts} +0 -0
- /package/src/lib/seam/connect/unstable/models/{unmanaged-device.ts → devices/unmanaged-device.ts} +0 -0
|
@@ -8,14 +8,12 @@ export default {
|
|
|
8
8
|
common_code_key: { nullable: true, type: 'string' },
|
|
9
9
|
created_at: { format: 'date-time', type: 'string' },
|
|
10
10
|
device_id: { format: 'uuid', type: 'string' },
|
|
11
|
-
ends_at: { format: 'date-time', type: 'string' },
|
|
11
|
+
ends_at: { format: 'date-time', nullable: true, type: 'string' },
|
|
12
12
|
errors: { nullable: true },
|
|
13
13
|
is_backup: { type: 'boolean' },
|
|
14
14
|
is_backup_access_code_available: { type: 'boolean' },
|
|
15
15
|
is_external_modification_allowed: { type: 'boolean' },
|
|
16
16
|
is_managed: { enum: [true], type: 'boolean' },
|
|
17
|
-
is_offline_access_code: { type: 'boolean' },
|
|
18
|
-
is_one_time_use: { type: 'boolean' },
|
|
19
17
|
is_scheduled_on_device: { type: 'boolean' },
|
|
20
18
|
is_waiting_for_code_assignment: { type: 'boolean' },
|
|
21
19
|
name: { nullable: true, type: 'string' },
|
|
@@ -24,7 +22,7 @@ export default {
|
|
|
24
22
|
nullable: true,
|
|
25
23
|
type: 'string',
|
|
26
24
|
},
|
|
27
|
-
starts_at: { format: 'date-time', type: 'string' },
|
|
25
|
+
starts_at: { format: 'date-time', nullable: true, type: 'string' },
|
|
28
26
|
status: {
|
|
29
27
|
enum: ['setting', 'set', 'unset', 'removing', 'unknown'],
|
|
30
28
|
type: 'string',
|
|
@@ -44,8 +42,6 @@ export default {
|
|
|
44
42
|
'status',
|
|
45
43
|
'is_backup_access_code_available',
|
|
46
44
|
'is_external_modification_allowed',
|
|
47
|
-
'is_one_time_use',
|
|
48
|
-
'is_offline_access_code',
|
|
49
45
|
],
|
|
50
46
|
type: 'object',
|
|
51
47
|
},
|
|
@@ -99,12 +95,15 @@ export default {
|
|
|
99
95
|
acs_system_id: { format: 'uuid', type: 'string' },
|
|
100
96
|
connected_account_ids: { items: { type: 'string' }, type: 'array' },
|
|
101
97
|
created_at: { format: 'date-time', type: 'string' },
|
|
102
|
-
external_type: {
|
|
98
|
+
external_type: {
|
|
99
|
+
enum: ['pti_site', 'alta_org', 'brivo_system'],
|
|
100
|
+
type: 'string',
|
|
101
|
+
},
|
|
103
102
|
external_type_display_name: { type: 'string' },
|
|
104
103
|
name: { type: 'string' },
|
|
105
104
|
system_type: {
|
|
106
105
|
description: 'deprecated: use external_type',
|
|
107
|
-
enum: ['pti_site', 'alta_org'],
|
|
106
|
+
enum: ['pti_site', 'alta_org', 'brivo_system'],
|
|
108
107
|
type: 'string',
|
|
109
108
|
},
|
|
110
109
|
system_type_display_name: {
|
|
@@ -1340,6 +1339,33 @@ export default {
|
|
|
1340
1339
|
required: ['service', 'status', 'description'],
|
|
1341
1340
|
type: 'object',
|
|
1342
1341
|
},
|
|
1342
|
+
unmanaged_access_code: {
|
|
1343
|
+
properties: {
|
|
1344
|
+
access_code_id: { format: 'uuid', type: 'string' },
|
|
1345
|
+
code: { nullable: true, type: 'string' },
|
|
1346
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
1347
|
+
device_id: { format: 'uuid', type: 'string' },
|
|
1348
|
+
ends_at: { format: 'date-time', nullable: true, type: 'string' },
|
|
1349
|
+
errors: { nullable: true },
|
|
1350
|
+
is_managed: { enum: [false], type: 'boolean' },
|
|
1351
|
+
name: { nullable: true, type: 'string' },
|
|
1352
|
+
starts_at: { format: 'date-time', nullable: true, type: 'string' },
|
|
1353
|
+
status: { enum: ['set'], type: 'string' },
|
|
1354
|
+
type: { enum: ['time_bound', 'ongoing'], type: 'string' },
|
|
1355
|
+
warnings: { nullable: true },
|
|
1356
|
+
},
|
|
1357
|
+
required: [
|
|
1358
|
+
'type',
|
|
1359
|
+
'access_code_id',
|
|
1360
|
+
'device_id',
|
|
1361
|
+
'name',
|
|
1362
|
+
'code',
|
|
1363
|
+
'created_at',
|
|
1364
|
+
'is_managed',
|
|
1365
|
+
'status',
|
|
1366
|
+
],
|
|
1367
|
+
type: 'object',
|
|
1368
|
+
},
|
|
1343
1369
|
unmanaged_device: {
|
|
1344
1370
|
properties: {
|
|
1345
1371
|
capabilities_supported: {
|
|
@@ -1529,11 +1555,18 @@ export default {
|
|
|
1529
1555
|
device_id: { format: 'uuid', type: 'string' },
|
|
1530
1556
|
ends_at: { type: 'string' },
|
|
1531
1557
|
is_external_modification_allowed: { type: 'boolean' },
|
|
1558
|
+
is_offline_access_code: { type: 'boolean' },
|
|
1559
|
+
is_one_time_use: { type: 'boolean' },
|
|
1560
|
+
max_time_rounding: {
|
|
1561
|
+
enum: ['1hour', '1day', '1h', '1d'],
|
|
1562
|
+
type: 'string',
|
|
1563
|
+
},
|
|
1532
1564
|
name: { type: 'string' },
|
|
1533
1565
|
prefer_native_scheduling: { type: 'boolean' },
|
|
1534
1566
|
starts_at: { type: 'string' },
|
|
1535
1567
|
sync: { default: false, type: 'boolean' },
|
|
1536
1568
|
use_backup_access_code_pool: { type: 'boolean' },
|
|
1569
|
+
use_offline_access_code: { type: 'boolean' },
|
|
1537
1570
|
},
|
|
1538
1571
|
required: ['device_id'],
|
|
1539
1572
|
type: 'object',
|
|
@@ -1605,10 +1638,17 @@ export default {
|
|
|
1605
1638
|
},
|
|
1606
1639
|
ends_at: { type: 'string' },
|
|
1607
1640
|
is_external_modification_allowed: { type: 'boolean' },
|
|
1641
|
+
is_offline_access_code: { type: 'boolean' },
|
|
1642
|
+
is_one_time_use: { type: 'boolean' },
|
|
1643
|
+
max_time_rounding: {
|
|
1644
|
+
enum: ['1hour', '1day', '1h', '1d'],
|
|
1645
|
+
type: 'string',
|
|
1646
|
+
},
|
|
1608
1647
|
name: { type: 'string' },
|
|
1609
1648
|
prefer_native_scheduling: { type: 'boolean' },
|
|
1610
1649
|
starts_at: { type: 'string' },
|
|
1611
1650
|
use_backup_access_code_pool: { type: 'boolean' },
|
|
1651
|
+
use_offline_access_code: { type: 'boolean' },
|
|
1612
1652
|
},
|
|
1613
1653
|
required: ['device_ids'],
|
|
1614
1654
|
type: 'object',
|
|
@@ -1678,10 +1718,17 @@ export default {
|
|
|
1678
1718
|
},
|
|
1679
1719
|
ends_at: { type: 'string' },
|
|
1680
1720
|
is_external_modification_allowed: { type: 'boolean' },
|
|
1721
|
+
is_offline_access_code: { type: 'boolean' },
|
|
1722
|
+
is_one_time_use: { type: 'boolean' },
|
|
1723
|
+
max_time_rounding: {
|
|
1724
|
+
enum: ['1hour', '1day', '1h', '1d'],
|
|
1725
|
+
type: 'string',
|
|
1726
|
+
},
|
|
1681
1727
|
name: { type: 'string' },
|
|
1682
1728
|
prefer_native_scheduling: { type: 'boolean' },
|
|
1683
1729
|
starts_at: { type: 'string' },
|
|
1684
1730
|
use_backup_access_code_pool: { type: 'boolean' },
|
|
1731
|
+
use_offline_access_code: { type: 'boolean' },
|
|
1685
1732
|
},
|
|
1686
1733
|
required: ['device_ids'],
|
|
1687
1734
|
type: 'object',
|
|
@@ -2000,72 +2047,7 @@ export default {
|
|
|
2000
2047
|
schema: {
|
|
2001
2048
|
properties: {
|
|
2002
2049
|
access_code: {
|
|
2003
|
-
|
|
2004
|
-
{
|
|
2005
|
-
properties: {
|
|
2006
|
-
access_code_id: { format: 'uuid', type: 'string' },
|
|
2007
|
-
code: { nullable: true, type: 'string' },
|
|
2008
|
-
created_at: {
|
|
2009
|
-
oneOf: [
|
|
2010
|
-
{ type: 'string' },
|
|
2011
|
-
{ format: 'date-time', type: 'string' },
|
|
2012
|
-
],
|
|
2013
|
-
},
|
|
2014
|
-
ends_at: {
|
|
2015
|
-
format: 'null',
|
|
2016
|
-
nullable: true,
|
|
2017
|
-
type: 'string',
|
|
2018
|
-
},
|
|
2019
|
-
is_managed: { enum: [false], type: 'boolean' },
|
|
2020
|
-
starts_at: {
|
|
2021
|
-
format: 'null',
|
|
2022
|
-
nullable: true,
|
|
2023
|
-
type: 'string',
|
|
2024
|
-
},
|
|
2025
|
-
status: { enum: ['set'], type: 'string' },
|
|
2026
|
-
type: { enum: ['ongoing'], type: 'string' },
|
|
2027
|
-
},
|
|
2028
|
-
required: [
|
|
2029
|
-
'access_code_id',
|
|
2030
|
-
'code',
|
|
2031
|
-
'status',
|
|
2032
|
-
'created_at',
|
|
2033
|
-
'is_managed',
|
|
2034
|
-
'type',
|
|
2035
|
-
'starts_at',
|
|
2036
|
-
'ends_at',
|
|
2037
|
-
],
|
|
2038
|
-
type: 'object',
|
|
2039
|
-
},
|
|
2040
|
-
{
|
|
2041
|
-
properties: {
|
|
2042
|
-
access_code_id: { format: 'uuid', type: 'string' },
|
|
2043
|
-
code: { nullable: true, type: 'string' },
|
|
2044
|
-
created_at: {
|
|
2045
|
-
oneOf: [
|
|
2046
|
-
{ type: 'string' },
|
|
2047
|
-
{ format: 'date-time', type: 'string' },
|
|
2048
|
-
],
|
|
2049
|
-
},
|
|
2050
|
-
ends_at: { nullable: true, type: 'string' },
|
|
2051
|
-
is_managed: { enum: [false], type: 'boolean' },
|
|
2052
|
-
starts_at: { nullable: true, type: 'string' },
|
|
2053
|
-
status: { enum: ['set'], type: 'string' },
|
|
2054
|
-
type: { enum: ['time_bound'], type: 'string' },
|
|
2055
|
-
},
|
|
2056
|
-
required: [
|
|
2057
|
-
'access_code_id',
|
|
2058
|
-
'code',
|
|
2059
|
-
'status',
|
|
2060
|
-
'created_at',
|
|
2061
|
-
'is_managed',
|
|
2062
|
-
'type',
|
|
2063
|
-
'starts_at',
|
|
2064
|
-
'ends_at',
|
|
2065
|
-
],
|
|
2066
|
-
type: 'object',
|
|
2067
|
-
},
|
|
2068
|
-
],
|
|
2050
|
+
$ref: '#/components/schemas/unmanaged_access_code',
|
|
2069
2051
|
},
|
|
2070
2052
|
ok: { type: 'boolean' },
|
|
2071
2053
|
},
|
|
@@ -2256,44 +2238,7 @@ export default {
|
|
|
2256
2238
|
schema: {
|
|
2257
2239
|
properties: {
|
|
2258
2240
|
access_code: {
|
|
2259
|
-
|
|
2260
|
-
access_code_id: { format: 'uuid', type: 'string' },
|
|
2261
|
-
code: { nullable: true, type: 'string' },
|
|
2262
|
-
created_at: { format: 'date-time', type: 'string' },
|
|
2263
|
-
device_id: { format: 'uuid', type: 'string' },
|
|
2264
|
-
ends_at: {
|
|
2265
|
-
format: 'date-time',
|
|
2266
|
-
nullable: true,
|
|
2267
|
-
type: 'string',
|
|
2268
|
-
},
|
|
2269
|
-
errors: { nullable: true },
|
|
2270
|
-
is_managed: { enum: [false], type: 'boolean' },
|
|
2271
|
-
name: { nullable: true, type: 'string' },
|
|
2272
|
-
starts_at: {
|
|
2273
|
-
format: 'date-time',
|
|
2274
|
-
nullable: true,
|
|
2275
|
-
type: 'string',
|
|
2276
|
-
},
|
|
2277
|
-
status: { enum: ['set'], type: 'string' },
|
|
2278
|
-
type: {
|
|
2279
|
-
enum: ['time_bound', 'ongoing'],
|
|
2280
|
-
type: 'string',
|
|
2281
|
-
},
|
|
2282
|
-
warnings: { nullable: true },
|
|
2283
|
-
},
|
|
2284
|
-
required: [
|
|
2285
|
-
'type',
|
|
2286
|
-
'access_code_id',
|
|
2287
|
-
'device_id',
|
|
2288
|
-
'name',
|
|
2289
|
-
'code',
|
|
2290
|
-
'created_at',
|
|
2291
|
-
'is_managed',
|
|
2292
|
-
'starts_at',
|
|
2293
|
-
'ends_at',
|
|
2294
|
-
'status',
|
|
2295
|
-
],
|
|
2296
|
-
type: 'object',
|
|
2241
|
+
$ref: '#/components/schemas/unmanaged_access_code',
|
|
2297
2242
|
},
|
|
2298
2243
|
ok: { type: 'boolean' },
|
|
2299
2244
|
},
|
|
@@ -2344,44 +2289,7 @@ export default {
|
|
|
2344
2289
|
properties: {
|
|
2345
2290
|
access_codes: {
|
|
2346
2291
|
items: {
|
|
2347
|
-
|
|
2348
|
-
access_code_id: { format: 'uuid', type: 'string' },
|
|
2349
|
-
code: { nullable: true, type: 'string' },
|
|
2350
|
-
created_at: { format: 'date-time', type: 'string' },
|
|
2351
|
-
device_id: { format: 'uuid', type: 'string' },
|
|
2352
|
-
ends_at: {
|
|
2353
|
-
format: 'date-time',
|
|
2354
|
-
nullable: true,
|
|
2355
|
-
type: 'string',
|
|
2356
|
-
},
|
|
2357
|
-
errors: { nullable: true },
|
|
2358
|
-
is_managed: { enum: [false], type: 'boolean' },
|
|
2359
|
-
name: { nullable: true, type: 'string' },
|
|
2360
|
-
starts_at: {
|
|
2361
|
-
format: 'date-time',
|
|
2362
|
-
nullable: true,
|
|
2363
|
-
type: 'string',
|
|
2364
|
-
},
|
|
2365
|
-
status: { enum: ['set'], type: 'string' },
|
|
2366
|
-
type: {
|
|
2367
|
-
enum: ['time_bound', 'ongoing'],
|
|
2368
|
-
type: 'string',
|
|
2369
|
-
},
|
|
2370
|
-
warnings: { nullable: true },
|
|
2371
|
-
},
|
|
2372
|
-
required: [
|
|
2373
|
-
'type',
|
|
2374
|
-
'access_code_id',
|
|
2375
|
-
'device_id',
|
|
2376
|
-
'name',
|
|
2377
|
-
'code',
|
|
2378
|
-
'created_at',
|
|
2379
|
-
'is_managed',
|
|
2380
|
-
'starts_at',
|
|
2381
|
-
'ends_at',
|
|
2382
|
-
'status',
|
|
2383
|
-
],
|
|
2384
|
-
type: 'object',
|
|
2292
|
+
$ref: '#/components/schemas/unmanaged_access_code',
|
|
2385
2293
|
},
|
|
2386
2294
|
type: 'array',
|
|
2387
2295
|
},
|
|
@@ -2524,12 +2432,19 @@ export default {
|
|
|
2524
2432
|
ends_at: { type: 'string' },
|
|
2525
2433
|
is_external_modification_allowed: { type: 'boolean' },
|
|
2526
2434
|
is_managed: { type: 'boolean' },
|
|
2435
|
+
is_offline_access_code: { type: 'boolean' },
|
|
2436
|
+
is_one_time_use: { type: 'boolean' },
|
|
2437
|
+
max_time_rounding: {
|
|
2438
|
+
enum: ['1hour', '1day', '1h', '1d'],
|
|
2439
|
+
type: 'string',
|
|
2440
|
+
},
|
|
2527
2441
|
name: { type: 'string' },
|
|
2528
2442
|
prefer_native_scheduling: { type: 'boolean' },
|
|
2529
2443
|
starts_at: { type: 'string' },
|
|
2530
2444
|
sync: { default: false, type: 'boolean' },
|
|
2531
2445
|
type: { enum: ['ongoing', 'time_bound'], type: 'string' },
|
|
2532
2446
|
use_backup_access_code_pool: { type: 'boolean' },
|
|
2447
|
+
use_offline_access_code: { type: 'boolean' },
|
|
2533
2448
|
},
|
|
2534
2449
|
required: ['access_code_id'],
|
|
2535
2450
|
type: 'object',
|
|
@@ -2590,12 +2505,19 @@ export default {
|
|
|
2590
2505
|
ends_at: { type: 'string' },
|
|
2591
2506
|
is_external_modification_allowed: { type: 'boolean' },
|
|
2592
2507
|
is_managed: { type: 'boolean' },
|
|
2508
|
+
is_offline_access_code: { type: 'boolean' },
|
|
2509
|
+
is_one_time_use: { type: 'boolean' },
|
|
2510
|
+
max_time_rounding: {
|
|
2511
|
+
enum: ['1hour', '1day', '1h', '1d'],
|
|
2512
|
+
type: 'string',
|
|
2513
|
+
},
|
|
2593
2514
|
name: { type: 'string' },
|
|
2594
2515
|
prefer_native_scheduling: { type: 'boolean' },
|
|
2595
2516
|
starts_at: { type: 'string' },
|
|
2596
2517
|
sync: { default: false, type: 'boolean' },
|
|
2597
2518
|
type: { enum: ['ongoing', 'time_bound'], type: 'string' },
|
|
2598
2519
|
use_backup_access_code_pool: { type: 'boolean' },
|
|
2520
|
+
use_offline_access_code: { type: 'boolean' },
|
|
2599
2521
|
},
|
|
2600
2522
|
required: ['access_code_id'],
|
|
2601
2523
|
type: 'object',
|
|
@@ -2658,12 +2580,19 @@ export default {
|
|
|
2658
2580
|
ends_at: { type: 'string' },
|
|
2659
2581
|
is_external_modification_allowed: { type: 'boolean' },
|
|
2660
2582
|
is_managed: { type: 'boolean' },
|
|
2583
|
+
is_offline_access_code: { type: 'boolean' },
|
|
2584
|
+
is_one_time_use: { type: 'boolean' },
|
|
2585
|
+
max_time_rounding: {
|
|
2586
|
+
enum: ['1hour', '1day', '1h', '1d'],
|
|
2587
|
+
type: 'string',
|
|
2588
|
+
},
|
|
2661
2589
|
name: { type: 'string' },
|
|
2662
2590
|
prefer_native_scheduling: { type: 'boolean' },
|
|
2663
2591
|
starts_at: { type: 'string' },
|
|
2664
2592
|
sync: { default: false, type: 'boolean' },
|
|
2665
2593
|
type: { enum: ['ongoing', 'time_bound'], type: 'string' },
|
|
2666
2594
|
use_backup_access_code_pool: { type: 'boolean' },
|
|
2595
|
+
use_offline_access_code: { type: 'boolean' },
|
|
2667
2596
|
},
|
|
2668
2597
|
required: ['access_code_id'],
|
|
2669
2598
|
type: 'object',
|
|
@@ -3341,9 +3270,30 @@ export default {
|
|
|
3341
3270
|
content: {
|
|
3342
3271
|
'application/json': {
|
|
3343
3272
|
schema: {
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3273
|
+
oneOf: [
|
|
3274
|
+
{
|
|
3275
|
+
properties: {
|
|
3276
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3277
|
+
},
|
|
3278
|
+
required: ['acs_user_id'],
|
|
3279
|
+
type: 'object',
|
|
3280
|
+
},
|
|
3281
|
+
{
|
|
3282
|
+
properties: {
|
|
3283
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
3284
|
+
},
|
|
3285
|
+
required: ['acs_system_id'],
|
|
3286
|
+
type: 'object',
|
|
3287
|
+
},
|
|
3288
|
+
{
|
|
3289
|
+
properties: {
|
|
3290
|
+
acs_system_id: { format: 'uuid', type: 'string' },
|
|
3291
|
+
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3292
|
+
},
|
|
3293
|
+
required: ['acs_user_id', 'acs_system_id'],
|
|
3294
|
+
type: 'object',
|
|
3295
|
+
},
|
|
3296
|
+
],
|
|
3347
3297
|
},
|
|
3348
3298
|
},
|
|
3349
3299
|
},
|