@seamapi/types 1.34.0 → 1.36.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 +39 -147
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +94 -224
- package/lib/seam/connect/openapi.d.ts +63 -193
- package/lib/seam/connect/openapi.js +38 -146
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +31 -31
- 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.d.ts → devices/managed-device.d.ts} +10 -0
- package/lib/seam/connect/unstable/models/{managed-device.js → devices/managed-device.js} +2 -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 +38 -146
- package/src/lib/seam/connect/route-types.ts +37 -39
- 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} +2 -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/{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,7 +39,7 @@ 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" },
|
|
@@ -53,7 +53,7 @@ var openapi_default = {
|
|
|
53
53
|
nullable: true,
|
|
54
54
|
type: "string"
|
|
55
55
|
},
|
|
56
|
-
starts_at: { format: "date-time", type: "string" },
|
|
56
|
+
starts_at: { format: "date-time", nullable: true, type: "string" },
|
|
57
57
|
status: {
|
|
58
58
|
enum: ["setting", "set", "unset", "removing", "unknown"],
|
|
59
59
|
type: "string"
|
|
@@ -126,12 +126,15 @@ var openapi_default = {
|
|
|
126
126
|
acs_system_id: { format: "uuid", type: "string" },
|
|
127
127
|
connected_account_ids: { items: { type: "string" }, type: "array" },
|
|
128
128
|
created_at: { format: "date-time", type: "string" },
|
|
129
|
-
external_type: {
|
|
129
|
+
external_type: {
|
|
130
|
+
enum: ["pti_site", "alta_org", "brivo_system"],
|
|
131
|
+
type: "string"
|
|
132
|
+
},
|
|
130
133
|
external_type_display_name: { type: "string" },
|
|
131
134
|
name: { type: "string" },
|
|
132
135
|
system_type: {
|
|
133
136
|
description: "deprecated: use external_type",
|
|
134
|
-
enum: ["pti_site", "alta_org"],
|
|
137
|
+
enum: ["pti_site", "alta_org", "brivo_system"],
|
|
135
138
|
type: "string"
|
|
136
139
|
},
|
|
137
140
|
system_type_display_name: {
|
|
@@ -474,7 +477,8 @@ var openapi_default = {
|
|
|
474
477
|
name: { type: "string" },
|
|
475
478
|
online: { type: "boolean" },
|
|
476
479
|
serial_number: { type: "string" },
|
|
477
|
-
supports_accessory_keypad: { type: "boolean" }
|
|
480
|
+
supports_accessory_keypad: { type: "boolean" },
|
|
481
|
+
supports_offline_access_codes: { type: "boolean" }
|
|
478
482
|
},
|
|
479
483
|
required: ["online", "name", "model"],
|
|
480
484
|
type: "object"
|
|
@@ -1366,6 +1370,33 @@ var openapi_default = {
|
|
|
1366
1370
|
required: ["service", "status", "description"],
|
|
1367
1371
|
type: "object"
|
|
1368
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
|
+
},
|
|
1369
1400
|
unmanaged_device: {
|
|
1370
1401
|
properties: {
|
|
1371
1402
|
capabilities_supported: {
|
|
@@ -2026,72 +2057,7 @@ var openapi_default = {
|
|
|
2026
2057
|
schema: {
|
|
2027
2058
|
properties: {
|
|
2028
2059
|
access_code: {
|
|
2029
|
-
|
|
2030
|
-
{
|
|
2031
|
-
properties: {
|
|
2032
|
-
access_code_id: { format: "uuid", type: "string" },
|
|
2033
|
-
code: { nullable: true, type: "string" },
|
|
2034
|
-
created_at: {
|
|
2035
|
-
oneOf: [
|
|
2036
|
-
{ type: "string" },
|
|
2037
|
-
{ format: "date-time", type: "string" }
|
|
2038
|
-
]
|
|
2039
|
-
},
|
|
2040
|
-
ends_at: {
|
|
2041
|
-
format: "null",
|
|
2042
|
-
nullable: true,
|
|
2043
|
-
type: "string"
|
|
2044
|
-
},
|
|
2045
|
-
is_managed: { enum: [false], type: "boolean" },
|
|
2046
|
-
starts_at: {
|
|
2047
|
-
format: "null",
|
|
2048
|
-
nullable: true,
|
|
2049
|
-
type: "string"
|
|
2050
|
-
},
|
|
2051
|
-
status: { enum: ["set"], type: "string" },
|
|
2052
|
-
type: { enum: ["ongoing"], type: "string" }
|
|
2053
|
-
},
|
|
2054
|
-
required: [
|
|
2055
|
-
"access_code_id",
|
|
2056
|
-
"code",
|
|
2057
|
-
"status",
|
|
2058
|
-
"created_at",
|
|
2059
|
-
"is_managed",
|
|
2060
|
-
"type",
|
|
2061
|
-
"starts_at",
|
|
2062
|
-
"ends_at"
|
|
2063
|
-
],
|
|
2064
|
-
type: "object"
|
|
2065
|
-
},
|
|
2066
|
-
{
|
|
2067
|
-
properties: {
|
|
2068
|
-
access_code_id: { format: "uuid", type: "string" },
|
|
2069
|
-
code: { nullable: true, type: "string" },
|
|
2070
|
-
created_at: {
|
|
2071
|
-
oneOf: [
|
|
2072
|
-
{ type: "string" },
|
|
2073
|
-
{ format: "date-time", type: "string" }
|
|
2074
|
-
]
|
|
2075
|
-
},
|
|
2076
|
-
ends_at: { nullable: true, type: "string" },
|
|
2077
|
-
is_managed: { enum: [false], type: "boolean" },
|
|
2078
|
-
starts_at: { nullable: true, type: "string" },
|
|
2079
|
-
status: { enum: ["set"], type: "string" },
|
|
2080
|
-
type: { enum: ["time_bound"], type: "string" }
|
|
2081
|
-
},
|
|
2082
|
-
required: [
|
|
2083
|
-
"access_code_id",
|
|
2084
|
-
"code",
|
|
2085
|
-
"status",
|
|
2086
|
-
"created_at",
|
|
2087
|
-
"is_managed",
|
|
2088
|
-
"type",
|
|
2089
|
-
"starts_at",
|
|
2090
|
-
"ends_at"
|
|
2091
|
-
],
|
|
2092
|
-
type: "object"
|
|
2093
|
-
}
|
|
2094
|
-
]
|
|
2060
|
+
$ref: "#/components/schemas/unmanaged_access_code"
|
|
2095
2061
|
},
|
|
2096
2062
|
ok: { type: "boolean" }
|
|
2097
2063
|
},
|
|
@@ -2282,44 +2248,7 @@ var openapi_default = {
|
|
|
2282
2248
|
schema: {
|
|
2283
2249
|
properties: {
|
|
2284
2250
|
access_code: {
|
|
2285
|
-
|
|
2286
|
-
access_code_id: { format: "uuid", type: "string" },
|
|
2287
|
-
code: { nullable: true, type: "string" },
|
|
2288
|
-
created_at: { format: "date-time", type: "string" },
|
|
2289
|
-
device_id: { format: "uuid", type: "string" },
|
|
2290
|
-
ends_at: {
|
|
2291
|
-
format: "date-time",
|
|
2292
|
-
nullable: true,
|
|
2293
|
-
type: "string"
|
|
2294
|
-
},
|
|
2295
|
-
errors: { nullable: true },
|
|
2296
|
-
is_managed: { enum: [false], type: "boolean" },
|
|
2297
|
-
name: { nullable: true, type: "string" },
|
|
2298
|
-
starts_at: {
|
|
2299
|
-
format: "date-time",
|
|
2300
|
-
nullable: true,
|
|
2301
|
-
type: "string"
|
|
2302
|
-
},
|
|
2303
|
-
status: { enum: ["set"], type: "string" },
|
|
2304
|
-
type: {
|
|
2305
|
-
enum: ["time_bound", "ongoing"],
|
|
2306
|
-
type: "string"
|
|
2307
|
-
},
|
|
2308
|
-
warnings: { nullable: true }
|
|
2309
|
-
},
|
|
2310
|
-
required: [
|
|
2311
|
-
"type",
|
|
2312
|
-
"access_code_id",
|
|
2313
|
-
"device_id",
|
|
2314
|
-
"name",
|
|
2315
|
-
"code",
|
|
2316
|
-
"created_at",
|
|
2317
|
-
"is_managed",
|
|
2318
|
-
"starts_at",
|
|
2319
|
-
"ends_at",
|
|
2320
|
-
"status"
|
|
2321
|
-
],
|
|
2322
|
-
type: "object"
|
|
2251
|
+
$ref: "#/components/schemas/unmanaged_access_code"
|
|
2323
2252
|
},
|
|
2324
2253
|
ok: { type: "boolean" }
|
|
2325
2254
|
},
|
|
@@ -2370,44 +2299,7 @@ var openapi_default = {
|
|
|
2370
2299
|
properties: {
|
|
2371
2300
|
access_codes: {
|
|
2372
2301
|
items: {
|
|
2373
|
-
|
|
2374
|
-
access_code_id: { format: "uuid", type: "string" },
|
|
2375
|
-
code: { nullable: true, type: "string" },
|
|
2376
|
-
created_at: { format: "date-time", type: "string" },
|
|
2377
|
-
device_id: { format: "uuid", type: "string" },
|
|
2378
|
-
ends_at: {
|
|
2379
|
-
format: "date-time",
|
|
2380
|
-
nullable: true,
|
|
2381
|
-
type: "string"
|
|
2382
|
-
},
|
|
2383
|
-
errors: { nullable: true },
|
|
2384
|
-
is_managed: { enum: [false], type: "boolean" },
|
|
2385
|
-
name: { nullable: true, type: "string" },
|
|
2386
|
-
starts_at: {
|
|
2387
|
-
format: "date-time",
|
|
2388
|
-
nullable: true,
|
|
2389
|
-
type: "string"
|
|
2390
|
-
},
|
|
2391
|
-
status: { enum: ["set"], type: "string" },
|
|
2392
|
-
type: {
|
|
2393
|
-
enum: ["time_bound", "ongoing"],
|
|
2394
|
-
type: "string"
|
|
2395
|
-
},
|
|
2396
|
-
warnings: { nullable: true }
|
|
2397
|
-
},
|
|
2398
|
-
required: [
|
|
2399
|
-
"type",
|
|
2400
|
-
"access_code_id",
|
|
2401
|
-
"device_id",
|
|
2402
|
-
"name",
|
|
2403
|
-
"code",
|
|
2404
|
-
"created_at",
|
|
2405
|
-
"is_managed",
|
|
2406
|
-
"starts_at",
|
|
2407
|
-
"ends_at",
|
|
2408
|
-
"status"
|
|
2409
|
-
],
|
|
2410
|
-
type: "object"
|
|
2302
|
+
$ref: "#/components/schemas/unmanaged_access_code"
|
|
2411
2303
|
},
|
|
2412
2304
|
type: "array"
|
|
2413
2305
|
},
|