@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
package/dist/connect.cjs
CHANGED
|
@@ -39,14 +39,12 @@ var openapi_default = {
|
|
|
39
39
|
common_code_key: { nullable: true, type: "string" },
|
|
40
40
|
created_at: { format: "date-time", type: "string" },
|
|
41
41
|
device_id: { format: "uuid", type: "string" },
|
|
42
|
-
ends_at: { format: "date-time", type: "string" },
|
|
42
|
+
ends_at: { format: "date-time", nullable: true, type: "string" },
|
|
43
43
|
errors: { nullable: true },
|
|
44
44
|
is_backup: { type: "boolean" },
|
|
45
45
|
is_backup_access_code_available: { type: "boolean" },
|
|
46
46
|
is_external_modification_allowed: { type: "boolean" },
|
|
47
47
|
is_managed: { enum: [true], type: "boolean" },
|
|
48
|
-
is_offline_access_code: { type: "boolean" },
|
|
49
|
-
is_one_time_use: { type: "boolean" },
|
|
50
48
|
is_scheduled_on_device: { type: "boolean" },
|
|
51
49
|
is_waiting_for_code_assignment: { type: "boolean" },
|
|
52
50
|
name: { nullable: true, type: "string" },
|
|
@@ -55,7 +53,7 @@ var openapi_default = {
|
|
|
55
53
|
nullable: true,
|
|
56
54
|
type: "string"
|
|
57
55
|
},
|
|
58
|
-
starts_at: { format: "date-time", type: "string" },
|
|
56
|
+
starts_at: { format: "date-time", nullable: true, type: "string" },
|
|
59
57
|
status: {
|
|
60
58
|
enum: ["setting", "set", "unset", "removing", "unknown"],
|
|
61
59
|
type: "string"
|
|
@@ -74,9 +72,7 @@ var openapi_default = {
|
|
|
74
72
|
"is_managed",
|
|
75
73
|
"status",
|
|
76
74
|
"is_backup_access_code_available",
|
|
77
|
-
"is_external_modification_allowed"
|
|
78
|
-
"is_one_time_use",
|
|
79
|
-
"is_offline_access_code"
|
|
75
|
+
"is_external_modification_allowed"
|
|
80
76
|
],
|
|
81
77
|
type: "object"
|
|
82
78
|
},
|
|
@@ -130,12 +126,15 @@ var openapi_default = {
|
|
|
130
126
|
acs_system_id: { format: "uuid", type: "string" },
|
|
131
127
|
connected_account_ids: { items: { type: "string" }, type: "array" },
|
|
132
128
|
created_at: { format: "date-time", type: "string" },
|
|
133
|
-
external_type: {
|
|
129
|
+
external_type: {
|
|
130
|
+
enum: ["pti_site", "alta_org", "brivo_system"],
|
|
131
|
+
type: "string"
|
|
132
|
+
},
|
|
134
133
|
external_type_display_name: { type: "string" },
|
|
135
134
|
name: { type: "string" },
|
|
136
135
|
system_type: {
|
|
137
136
|
description: "deprecated: use external_type",
|
|
138
|
-
enum: ["pti_site", "alta_org"],
|
|
137
|
+
enum: ["pti_site", "alta_org", "brivo_system"],
|
|
139
138
|
type: "string"
|
|
140
139
|
},
|
|
141
140
|
system_type_display_name: {
|
|
@@ -1371,6 +1370,33 @@ var openapi_default = {
|
|
|
1371
1370
|
required: ["service", "status", "description"],
|
|
1372
1371
|
type: "object"
|
|
1373
1372
|
},
|
|
1373
|
+
unmanaged_access_code: {
|
|
1374
|
+
properties: {
|
|
1375
|
+
access_code_id: { format: "uuid", type: "string" },
|
|
1376
|
+
code: { nullable: true, type: "string" },
|
|
1377
|
+
created_at: { format: "date-time", type: "string" },
|
|
1378
|
+
device_id: { format: "uuid", type: "string" },
|
|
1379
|
+
ends_at: { format: "date-time", nullable: true, type: "string" },
|
|
1380
|
+
errors: { nullable: true },
|
|
1381
|
+
is_managed: { enum: [false], type: "boolean" },
|
|
1382
|
+
name: { nullable: true, type: "string" },
|
|
1383
|
+
starts_at: { format: "date-time", nullable: true, type: "string" },
|
|
1384
|
+
status: { enum: ["set"], type: "string" },
|
|
1385
|
+
type: { enum: ["time_bound", "ongoing"], type: "string" },
|
|
1386
|
+
warnings: { nullable: true }
|
|
1387
|
+
},
|
|
1388
|
+
required: [
|
|
1389
|
+
"type",
|
|
1390
|
+
"access_code_id",
|
|
1391
|
+
"device_id",
|
|
1392
|
+
"name",
|
|
1393
|
+
"code",
|
|
1394
|
+
"created_at",
|
|
1395
|
+
"is_managed",
|
|
1396
|
+
"status"
|
|
1397
|
+
],
|
|
1398
|
+
type: "object"
|
|
1399
|
+
},
|
|
1374
1400
|
unmanaged_device: {
|
|
1375
1401
|
properties: {
|
|
1376
1402
|
capabilities_supported: {
|
|
@@ -1560,11 +1586,18 @@ var openapi_default = {
|
|
|
1560
1586
|
device_id: { format: "uuid", type: "string" },
|
|
1561
1587
|
ends_at: { type: "string" },
|
|
1562
1588
|
is_external_modification_allowed: { type: "boolean" },
|
|
1589
|
+
is_offline_access_code: { type: "boolean" },
|
|
1590
|
+
is_one_time_use: { type: "boolean" },
|
|
1591
|
+
max_time_rounding: {
|
|
1592
|
+
enum: ["1hour", "1day", "1h", "1d"],
|
|
1593
|
+
type: "string"
|
|
1594
|
+
},
|
|
1563
1595
|
name: { type: "string" },
|
|
1564
1596
|
prefer_native_scheduling: { type: "boolean" },
|
|
1565
1597
|
starts_at: { type: "string" },
|
|
1566
1598
|
sync: { default: false, type: "boolean" },
|
|
1567
|
-
use_backup_access_code_pool: { type: "boolean" }
|
|
1599
|
+
use_backup_access_code_pool: { type: "boolean" },
|
|
1600
|
+
use_offline_access_code: { type: "boolean" }
|
|
1568
1601
|
},
|
|
1569
1602
|
required: ["device_id"],
|
|
1570
1603
|
type: "object"
|
|
@@ -1636,10 +1669,17 @@ var openapi_default = {
|
|
|
1636
1669
|
},
|
|
1637
1670
|
ends_at: { type: "string" },
|
|
1638
1671
|
is_external_modification_allowed: { type: "boolean" },
|
|
1672
|
+
is_offline_access_code: { type: "boolean" },
|
|
1673
|
+
is_one_time_use: { type: "boolean" },
|
|
1674
|
+
max_time_rounding: {
|
|
1675
|
+
enum: ["1hour", "1day", "1h", "1d"],
|
|
1676
|
+
type: "string"
|
|
1677
|
+
},
|
|
1639
1678
|
name: { type: "string" },
|
|
1640
1679
|
prefer_native_scheduling: { type: "boolean" },
|
|
1641
1680
|
starts_at: { type: "string" },
|
|
1642
|
-
use_backup_access_code_pool: { type: "boolean" }
|
|
1681
|
+
use_backup_access_code_pool: { type: "boolean" },
|
|
1682
|
+
use_offline_access_code: { type: "boolean" }
|
|
1643
1683
|
},
|
|
1644
1684
|
required: ["device_ids"],
|
|
1645
1685
|
type: "object"
|
|
@@ -1709,10 +1749,17 @@ var openapi_default = {
|
|
|
1709
1749
|
},
|
|
1710
1750
|
ends_at: { type: "string" },
|
|
1711
1751
|
is_external_modification_allowed: { type: "boolean" },
|
|
1752
|
+
is_offline_access_code: { type: "boolean" },
|
|
1753
|
+
is_one_time_use: { type: "boolean" },
|
|
1754
|
+
max_time_rounding: {
|
|
1755
|
+
enum: ["1hour", "1day", "1h", "1d"],
|
|
1756
|
+
type: "string"
|
|
1757
|
+
},
|
|
1712
1758
|
name: { type: "string" },
|
|
1713
1759
|
prefer_native_scheduling: { type: "boolean" },
|
|
1714
1760
|
starts_at: { type: "string" },
|
|
1715
|
-
use_backup_access_code_pool: { type: "boolean" }
|
|
1761
|
+
use_backup_access_code_pool: { type: "boolean" },
|
|
1762
|
+
use_offline_access_code: { type: "boolean" }
|
|
1716
1763
|
},
|
|
1717
1764
|
required: ["device_ids"],
|
|
1718
1765
|
type: "object"
|
|
@@ -2031,72 +2078,7 @@ var openapi_default = {
|
|
|
2031
2078
|
schema: {
|
|
2032
2079
|
properties: {
|
|
2033
2080
|
access_code: {
|
|
2034
|
-
|
|
2035
|
-
{
|
|
2036
|
-
properties: {
|
|
2037
|
-
access_code_id: { format: "uuid", type: "string" },
|
|
2038
|
-
code: { nullable: true, type: "string" },
|
|
2039
|
-
created_at: {
|
|
2040
|
-
oneOf: [
|
|
2041
|
-
{ type: "string" },
|
|
2042
|
-
{ format: "date-time", type: "string" }
|
|
2043
|
-
]
|
|
2044
|
-
},
|
|
2045
|
-
ends_at: {
|
|
2046
|
-
format: "null",
|
|
2047
|
-
nullable: true,
|
|
2048
|
-
type: "string"
|
|
2049
|
-
},
|
|
2050
|
-
is_managed: { enum: [false], type: "boolean" },
|
|
2051
|
-
starts_at: {
|
|
2052
|
-
format: "null",
|
|
2053
|
-
nullable: true,
|
|
2054
|
-
type: "string"
|
|
2055
|
-
},
|
|
2056
|
-
status: { enum: ["set"], type: "string" },
|
|
2057
|
-
type: { enum: ["ongoing"], type: "string" }
|
|
2058
|
-
},
|
|
2059
|
-
required: [
|
|
2060
|
-
"access_code_id",
|
|
2061
|
-
"code",
|
|
2062
|
-
"status",
|
|
2063
|
-
"created_at",
|
|
2064
|
-
"is_managed",
|
|
2065
|
-
"type",
|
|
2066
|
-
"starts_at",
|
|
2067
|
-
"ends_at"
|
|
2068
|
-
],
|
|
2069
|
-
type: "object"
|
|
2070
|
-
},
|
|
2071
|
-
{
|
|
2072
|
-
properties: {
|
|
2073
|
-
access_code_id: { format: "uuid", type: "string" },
|
|
2074
|
-
code: { nullable: true, type: "string" },
|
|
2075
|
-
created_at: {
|
|
2076
|
-
oneOf: [
|
|
2077
|
-
{ type: "string" },
|
|
2078
|
-
{ format: "date-time", type: "string" }
|
|
2079
|
-
]
|
|
2080
|
-
},
|
|
2081
|
-
ends_at: { nullable: true, type: "string" },
|
|
2082
|
-
is_managed: { enum: [false], type: "boolean" },
|
|
2083
|
-
starts_at: { nullable: true, type: "string" },
|
|
2084
|
-
status: { enum: ["set"], type: "string" },
|
|
2085
|
-
type: { enum: ["time_bound"], type: "string" }
|
|
2086
|
-
},
|
|
2087
|
-
required: [
|
|
2088
|
-
"access_code_id",
|
|
2089
|
-
"code",
|
|
2090
|
-
"status",
|
|
2091
|
-
"created_at",
|
|
2092
|
-
"is_managed",
|
|
2093
|
-
"type",
|
|
2094
|
-
"starts_at",
|
|
2095
|
-
"ends_at"
|
|
2096
|
-
],
|
|
2097
|
-
type: "object"
|
|
2098
|
-
}
|
|
2099
|
-
]
|
|
2081
|
+
$ref: "#/components/schemas/unmanaged_access_code"
|
|
2100
2082
|
},
|
|
2101
2083
|
ok: { type: "boolean" }
|
|
2102
2084
|
},
|
|
@@ -2287,44 +2269,7 @@ var openapi_default = {
|
|
|
2287
2269
|
schema: {
|
|
2288
2270
|
properties: {
|
|
2289
2271
|
access_code: {
|
|
2290
|
-
|
|
2291
|
-
access_code_id: { format: "uuid", type: "string" },
|
|
2292
|
-
code: { nullable: true, type: "string" },
|
|
2293
|
-
created_at: { format: "date-time", type: "string" },
|
|
2294
|
-
device_id: { format: "uuid", type: "string" },
|
|
2295
|
-
ends_at: {
|
|
2296
|
-
format: "date-time",
|
|
2297
|
-
nullable: true,
|
|
2298
|
-
type: "string"
|
|
2299
|
-
},
|
|
2300
|
-
errors: { nullable: true },
|
|
2301
|
-
is_managed: { enum: [false], type: "boolean" },
|
|
2302
|
-
name: { nullable: true, type: "string" },
|
|
2303
|
-
starts_at: {
|
|
2304
|
-
format: "date-time",
|
|
2305
|
-
nullable: true,
|
|
2306
|
-
type: "string"
|
|
2307
|
-
},
|
|
2308
|
-
status: { enum: ["set"], type: "string" },
|
|
2309
|
-
type: {
|
|
2310
|
-
enum: ["time_bound", "ongoing"],
|
|
2311
|
-
type: "string"
|
|
2312
|
-
},
|
|
2313
|
-
warnings: { nullable: true }
|
|
2314
|
-
},
|
|
2315
|
-
required: [
|
|
2316
|
-
"type",
|
|
2317
|
-
"access_code_id",
|
|
2318
|
-
"device_id",
|
|
2319
|
-
"name",
|
|
2320
|
-
"code",
|
|
2321
|
-
"created_at",
|
|
2322
|
-
"is_managed",
|
|
2323
|
-
"starts_at",
|
|
2324
|
-
"ends_at",
|
|
2325
|
-
"status"
|
|
2326
|
-
],
|
|
2327
|
-
type: "object"
|
|
2272
|
+
$ref: "#/components/schemas/unmanaged_access_code"
|
|
2328
2273
|
},
|
|
2329
2274
|
ok: { type: "boolean" }
|
|
2330
2275
|
},
|
|
@@ -2375,44 +2320,7 @@ var openapi_default = {
|
|
|
2375
2320
|
properties: {
|
|
2376
2321
|
access_codes: {
|
|
2377
2322
|
items: {
|
|
2378
|
-
|
|
2379
|
-
access_code_id: { format: "uuid", type: "string" },
|
|
2380
|
-
code: { nullable: true, type: "string" },
|
|
2381
|
-
created_at: { format: "date-time", type: "string" },
|
|
2382
|
-
device_id: { format: "uuid", type: "string" },
|
|
2383
|
-
ends_at: {
|
|
2384
|
-
format: "date-time",
|
|
2385
|
-
nullable: true,
|
|
2386
|
-
type: "string"
|
|
2387
|
-
},
|
|
2388
|
-
errors: { nullable: true },
|
|
2389
|
-
is_managed: { enum: [false], type: "boolean" },
|
|
2390
|
-
name: { nullable: true, type: "string" },
|
|
2391
|
-
starts_at: {
|
|
2392
|
-
format: "date-time",
|
|
2393
|
-
nullable: true,
|
|
2394
|
-
type: "string"
|
|
2395
|
-
},
|
|
2396
|
-
status: { enum: ["set"], type: "string" },
|
|
2397
|
-
type: {
|
|
2398
|
-
enum: ["time_bound", "ongoing"],
|
|
2399
|
-
type: "string"
|
|
2400
|
-
},
|
|
2401
|
-
warnings: { nullable: true }
|
|
2402
|
-
},
|
|
2403
|
-
required: [
|
|
2404
|
-
"type",
|
|
2405
|
-
"access_code_id",
|
|
2406
|
-
"device_id",
|
|
2407
|
-
"name",
|
|
2408
|
-
"code",
|
|
2409
|
-
"created_at",
|
|
2410
|
-
"is_managed",
|
|
2411
|
-
"starts_at",
|
|
2412
|
-
"ends_at",
|
|
2413
|
-
"status"
|
|
2414
|
-
],
|
|
2415
|
-
type: "object"
|
|
2323
|
+
$ref: "#/components/schemas/unmanaged_access_code"
|
|
2416
2324
|
},
|
|
2417
2325
|
type: "array"
|
|
2418
2326
|
},
|
|
@@ -2555,12 +2463,19 @@ var openapi_default = {
|
|
|
2555
2463
|
ends_at: { type: "string" },
|
|
2556
2464
|
is_external_modification_allowed: { type: "boolean" },
|
|
2557
2465
|
is_managed: { type: "boolean" },
|
|
2466
|
+
is_offline_access_code: { type: "boolean" },
|
|
2467
|
+
is_one_time_use: { type: "boolean" },
|
|
2468
|
+
max_time_rounding: {
|
|
2469
|
+
enum: ["1hour", "1day", "1h", "1d"],
|
|
2470
|
+
type: "string"
|
|
2471
|
+
},
|
|
2558
2472
|
name: { type: "string" },
|
|
2559
2473
|
prefer_native_scheduling: { type: "boolean" },
|
|
2560
2474
|
starts_at: { type: "string" },
|
|
2561
2475
|
sync: { default: false, type: "boolean" },
|
|
2562
2476
|
type: { enum: ["ongoing", "time_bound"], type: "string" },
|
|
2563
|
-
use_backup_access_code_pool: { type: "boolean" }
|
|
2477
|
+
use_backup_access_code_pool: { type: "boolean" },
|
|
2478
|
+
use_offline_access_code: { type: "boolean" }
|
|
2564
2479
|
},
|
|
2565
2480
|
required: ["access_code_id"],
|
|
2566
2481
|
type: "object"
|
|
@@ -2621,12 +2536,19 @@ var openapi_default = {
|
|
|
2621
2536
|
ends_at: { type: "string" },
|
|
2622
2537
|
is_external_modification_allowed: { type: "boolean" },
|
|
2623
2538
|
is_managed: { type: "boolean" },
|
|
2539
|
+
is_offline_access_code: { type: "boolean" },
|
|
2540
|
+
is_one_time_use: { type: "boolean" },
|
|
2541
|
+
max_time_rounding: {
|
|
2542
|
+
enum: ["1hour", "1day", "1h", "1d"],
|
|
2543
|
+
type: "string"
|
|
2544
|
+
},
|
|
2624
2545
|
name: { type: "string" },
|
|
2625
2546
|
prefer_native_scheduling: { type: "boolean" },
|
|
2626
2547
|
starts_at: { type: "string" },
|
|
2627
2548
|
sync: { default: false, type: "boolean" },
|
|
2628
2549
|
type: { enum: ["ongoing", "time_bound"], type: "string" },
|
|
2629
|
-
use_backup_access_code_pool: { type: "boolean" }
|
|
2550
|
+
use_backup_access_code_pool: { type: "boolean" },
|
|
2551
|
+
use_offline_access_code: { type: "boolean" }
|
|
2630
2552
|
},
|
|
2631
2553
|
required: ["access_code_id"],
|
|
2632
2554
|
type: "object"
|
|
@@ -2689,12 +2611,19 @@ var openapi_default = {
|
|
|
2689
2611
|
ends_at: { type: "string" },
|
|
2690
2612
|
is_external_modification_allowed: { type: "boolean" },
|
|
2691
2613
|
is_managed: { type: "boolean" },
|
|
2614
|
+
is_offline_access_code: { type: "boolean" },
|
|
2615
|
+
is_one_time_use: { type: "boolean" },
|
|
2616
|
+
max_time_rounding: {
|
|
2617
|
+
enum: ["1hour", "1day", "1h", "1d"],
|
|
2618
|
+
type: "string"
|
|
2619
|
+
},
|
|
2692
2620
|
name: { type: "string" },
|
|
2693
2621
|
prefer_native_scheduling: { type: "boolean" },
|
|
2694
2622
|
starts_at: { type: "string" },
|
|
2695
2623
|
sync: { default: false, type: "boolean" },
|
|
2696
2624
|
type: { enum: ["ongoing", "time_bound"], type: "string" },
|
|
2697
|
-
use_backup_access_code_pool: { type: "boolean" }
|
|
2625
|
+
use_backup_access_code_pool: { type: "boolean" },
|
|
2626
|
+
use_offline_access_code: { type: "boolean" }
|
|
2698
2627
|
},
|
|
2699
2628
|
required: ["access_code_id"],
|
|
2700
2629
|
type: "object"
|
|
@@ -3372,9 +3301,30 @@ var openapi_default = {
|
|
|
3372
3301
|
content: {
|
|
3373
3302
|
"application/json": {
|
|
3374
3303
|
schema: {
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3304
|
+
oneOf: [
|
|
3305
|
+
{
|
|
3306
|
+
properties: {
|
|
3307
|
+
acs_user_id: { format: "uuid", type: "string" }
|
|
3308
|
+
},
|
|
3309
|
+
required: ["acs_user_id"],
|
|
3310
|
+
type: "object"
|
|
3311
|
+
},
|
|
3312
|
+
{
|
|
3313
|
+
properties: {
|
|
3314
|
+
acs_system_id: { format: "uuid", type: "string" }
|
|
3315
|
+
},
|
|
3316
|
+
required: ["acs_system_id"],
|
|
3317
|
+
type: "object"
|
|
3318
|
+
},
|
|
3319
|
+
{
|
|
3320
|
+
properties: {
|
|
3321
|
+
acs_system_id: { format: "uuid", type: "string" },
|
|
3322
|
+
acs_user_id: { format: "uuid", type: "string" }
|
|
3323
|
+
},
|
|
3324
|
+
required: ["acs_user_id", "acs_system_id"],
|
|
3325
|
+
type: "object"
|
|
3326
|
+
}
|
|
3327
|
+
]
|
|
3378
3328
|
}
|
|
3379
3329
|
}
|
|
3380
3330
|
}
|