@seamapi/types 1.551.0 → 1.552.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 +168 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1355 -125
- package/dist/index.cjs +168 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.d.ts +8 -8
- package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.d.ts +2 -2
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +28 -28
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +12 -12
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +16 -16
- package/lib/seam/connect/models/batch.d.ts +1176 -131
- package/lib/seam/connect/models/devices/device-metadata.d.ts +95 -0
- package/lib/seam/connect/models/devices/device-metadata.js +62 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +8 -1
- package/lib/seam/connect/models/devices/device-type.js +8 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +136 -3
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +98 -3
- package/lib/seam/connect/models/phones/phone-session.d.ts +14 -14
- package/lib/seam/connect/openapi.d.ts +90 -0
- package/lib/seam/connect/openapi.js +140 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +671 -25
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device-metadata.ts +62 -0
- package/src/lib/seam/connect/models/devices/device-type.ts +18 -0
- package/src/lib/seam/connect/openapi.ts +152 -0
- package/src/lib/seam/connect/route-types.ts +671 -0
package/dist/index.cjs
CHANGED
|
@@ -1031,7 +1031,26 @@ var device_metadata = zod.z.object({
|
|
|
1031
1031
|
product_type: zod.z.string().describe(`Product type for a Sensi device.`)
|
|
1032
1032
|
}).describe(`Metadata for a Sensi device.`),
|
|
1033
1033
|
keynest_metadata: zod.z.object({
|
|
1034
|
-
|
|
1034
|
+
key_id: zod.z.string().describe(`Key ID for a KeyNest device.`),
|
|
1035
|
+
device_name: zod.z.string().describe(`Device name for a KeyNest device.`),
|
|
1036
|
+
property_id: zod.z.string().nullable().describe(`Property ID for a KeyNest device.`),
|
|
1037
|
+
property_postcode: zod.z.string().nullable().describe(`Property postcode for a KeyNest device.`),
|
|
1038
|
+
key_notes: zod.z.string().nullable().describe(`Key notes for a KeyNest device.`),
|
|
1039
|
+
subscription_plan: zod.z.string().describe(`Subscription plan for a KeyNest device.`),
|
|
1040
|
+
status_type: zod.z.string().describe(`Status type for a KeyNest device.`),
|
|
1041
|
+
current_or_last_store_id: zod.z.number().describe(`Current or last store ID for a KeyNest device.`),
|
|
1042
|
+
last_movement: zod.z.string().describe(`Last movement timestamp for a KeyNest device.`),
|
|
1043
|
+
address: zod.z.string().nullable().describe(`Address for a KeyNest device.`),
|
|
1044
|
+
current_status: zod.z.string().nullable().describe(`Current status for a KeyNest device.`),
|
|
1045
|
+
current_user_name: zod.z.string().nullable().describe(`Current user name for a KeyNest device.`),
|
|
1046
|
+
current_user_email: zod.z.string().nullable().describe(`Current user email for a KeyNest device.`),
|
|
1047
|
+
current_user_phone_number: zod.z.string().nullable().describe(`Current user phone number for a KeyNest device.`),
|
|
1048
|
+
current_user_company: zod.z.string().nullable().describe(`Current user company for a KeyNest device.`),
|
|
1049
|
+
handover_method: zod.z.string().nullable().describe(`Handover method for a KeyNest device.`),
|
|
1050
|
+
keynest_app_user: zod.z.string().nullable().describe(`KeyNest app user for a KeyNest device.`),
|
|
1051
|
+
default_office_id: zod.z.number().describe(`Default office ID for a KeyNest device.`),
|
|
1052
|
+
fob_id: zod.z.number().describe(`Fob ID for a KeyNest device.`),
|
|
1053
|
+
has_photo: zod.z.boolean().describe(`Whether the KeyNest device has a photo.`)
|
|
1035
1054
|
}).partial().describe(`Metadata for a KeyNest device.`)
|
|
1036
1055
|
}).partial().describe(`
|
|
1037
1056
|
---
|
|
@@ -1072,6 +1091,13 @@ var lock_device_type = zod.z.enum(
|
|
|
1072
1091
|
Object.values(LOCK_DEVICE_TYPE)
|
|
1073
1092
|
).describe(`Device type for smartlocks.
|
|
1074
1093
|
`);
|
|
1094
|
+
var KEY_DEVICE_TYPE = {
|
|
1095
|
+
KEYNEST_KEY: "keynest_key"
|
|
1096
|
+
};
|
|
1097
|
+
var key_device_type = zod.z.enum(
|
|
1098
|
+
Object.values(KEY_DEVICE_TYPE)
|
|
1099
|
+
).describe(`Device type for keys.
|
|
1100
|
+
`);
|
|
1075
1101
|
var NOISE_SENSOR_DEVICE_TYPE = {
|
|
1076
1102
|
NOISEAWARE_ACTIVITY_ZONE: "noiseaware_activity_zone",
|
|
1077
1103
|
MINUT_SENSOR: "minut_sensor"
|
|
@@ -1105,6 +1131,7 @@ var phone_device_type = zod.z.enum(
|
|
|
1105
1131
|
`);
|
|
1106
1132
|
var any_device_type = zod.z.union([
|
|
1107
1133
|
lock_device_type,
|
|
1134
|
+
key_device_type,
|
|
1108
1135
|
noise_sensor_device_type,
|
|
1109
1136
|
thermostat_device_type,
|
|
1110
1137
|
phone_device_type
|
|
@@ -13887,6 +13914,11 @@ var openapi_default = {
|
|
|
13887
13914
|
],
|
|
13888
13915
|
type: "string"
|
|
13889
13916
|
},
|
|
13917
|
+
{
|
|
13918
|
+
description: "Device type for keys.\n ",
|
|
13919
|
+
enum: ["keynest_key"],
|
|
13920
|
+
type: "string"
|
|
13921
|
+
},
|
|
13890
13922
|
{
|
|
13891
13923
|
description: "Device type for noise sensors.\n ",
|
|
13892
13924
|
enum: ["noiseaware_activity_zone", "minut_sensor"],
|
|
@@ -15122,9 +15154,99 @@ var openapi_default = {
|
|
|
15122
15154
|
keynest_metadata: {
|
|
15123
15155
|
description: "Metadata for a KeyNest device.",
|
|
15124
15156
|
properties: {
|
|
15157
|
+
address: {
|
|
15158
|
+
description: "Address for a KeyNest device.",
|
|
15159
|
+
nullable: true,
|
|
15160
|
+
type: "string"
|
|
15161
|
+
},
|
|
15162
|
+
current_or_last_store_id: {
|
|
15163
|
+
description: "Current or last store ID for a KeyNest device.",
|
|
15164
|
+
format: "float",
|
|
15165
|
+
type: "number"
|
|
15166
|
+
},
|
|
15167
|
+
current_status: {
|
|
15168
|
+
description: "Current status for a KeyNest device.",
|
|
15169
|
+
nullable: true,
|
|
15170
|
+
type: "string"
|
|
15171
|
+
},
|
|
15172
|
+
current_user_company: {
|
|
15173
|
+
description: "Current user company for a KeyNest device.",
|
|
15174
|
+
nullable: true,
|
|
15175
|
+
type: "string"
|
|
15176
|
+
},
|
|
15177
|
+
current_user_email: {
|
|
15178
|
+
description: "Current user email for a KeyNest device.",
|
|
15179
|
+
nullable: true,
|
|
15180
|
+
type: "string"
|
|
15181
|
+
},
|
|
15182
|
+
current_user_name: {
|
|
15183
|
+
description: "Current user name for a KeyNest device.",
|
|
15184
|
+
nullable: true,
|
|
15185
|
+
type: "string"
|
|
15186
|
+
},
|
|
15187
|
+
current_user_phone_number: {
|
|
15188
|
+
description: "Current user phone number for a KeyNest device.",
|
|
15189
|
+
nullable: true,
|
|
15190
|
+
type: "string"
|
|
15191
|
+
},
|
|
15192
|
+
default_office_id: {
|
|
15193
|
+
description: "Default office ID for a KeyNest device.",
|
|
15194
|
+
format: "float",
|
|
15195
|
+
type: "number"
|
|
15196
|
+
},
|
|
15125
15197
|
device_name: {
|
|
15126
15198
|
description: "Device name for a KeyNest device.",
|
|
15127
15199
|
type: "string"
|
|
15200
|
+
},
|
|
15201
|
+
fob_id: {
|
|
15202
|
+
description: "Fob ID for a KeyNest device.",
|
|
15203
|
+
format: "float",
|
|
15204
|
+
type: "number"
|
|
15205
|
+
},
|
|
15206
|
+
handover_method: {
|
|
15207
|
+
description: "Handover method for a KeyNest device.",
|
|
15208
|
+
nullable: true,
|
|
15209
|
+
type: "string"
|
|
15210
|
+
},
|
|
15211
|
+
has_photo: {
|
|
15212
|
+
description: "Whether the KeyNest device has a photo.",
|
|
15213
|
+
type: "boolean"
|
|
15214
|
+
},
|
|
15215
|
+
key_id: {
|
|
15216
|
+
description: "Key ID for a KeyNest device.",
|
|
15217
|
+
type: "string"
|
|
15218
|
+
},
|
|
15219
|
+
key_notes: {
|
|
15220
|
+
description: "Key notes for a KeyNest device.",
|
|
15221
|
+
nullable: true,
|
|
15222
|
+
type: "string"
|
|
15223
|
+
},
|
|
15224
|
+
keynest_app_user: {
|
|
15225
|
+
description: "KeyNest app user for a KeyNest device.",
|
|
15226
|
+
nullable: true,
|
|
15227
|
+
type: "string"
|
|
15228
|
+
},
|
|
15229
|
+
last_movement: {
|
|
15230
|
+
description: "Last movement timestamp for a KeyNest device.",
|
|
15231
|
+
type: "string"
|
|
15232
|
+
},
|
|
15233
|
+
property_id: {
|
|
15234
|
+
description: "Property ID for a KeyNest device.",
|
|
15235
|
+
nullable: true,
|
|
15236
|
+
type: "string"
|
|
15237
|
+
},
|
|
15238
|
+
property_postcode: {
|
|
15239
|
+
description: "Property postcode for a KeyNest device.",
|
|
15240
|
+
nullable: true,
|
|
15241
|
+
type: "string"
|
|
15242
|
+
},
|
|
15243
|
+
status_type: {
|
|
15244
|
+
description: "Status type for a KeyNest device.",
|
|
15245
|
+
type: "string"
|
|
15246
|
+
},
|
|
15247
|
+
subscription_plan: {
|
|
15248
|
+
description: "Subscription plan for a KeyNest device.",
|
|
15249
|
+
type: "string"
|
|
15128
15250
|
}
|
|
15129
15251
|
},
|
|
15130
15252
|
type: "object"
|
|
@@ -26951,6 +27073,11 @@ var openapi_default = {
|
|
|
26951
27073
|
],
|
|
26952
27074
|
type: "string"
|
|
26953
27075
|
},
|
|
27076
|
+
{
|
|
27077
|
+
description: "Device type for keys.\n ",
|
|
27078
|
+
enum: ["keynest_key"],
|
|
27079
|
+
type: "string"
|
|
27080
|
+
},
|
|
26954
27081
|
{
|
|
26955
27082
|
description: "Device type for noise sensors.\n ",
|
|
26956
27083
|
enum: ["noiseaware_activity_zone", "minut_sensor"],
|
|
@@ -42661,6 +42788,11 @@ var openapi_default = {
|
|
|
42661
42788
|
],
|
|
42662
42789
|
type: "string"
|
|
42663
42790
|
},
|
|
42791
|
+
{
|
|
42792
|
+
description: "Device type for keys.\n ",
|
|
42793
|
+
enum: ["keynest_key"],
|
|
42794
|
+
type: "string"
|
|
42795
|
+
},
|
|
42664
42796
|
{
|
|
42665
42797
|
description: "Device type for noise sensors.\n ",
|
|
42666
42798
|
enum: ["noiseaware_activity_zone", "minut_sensor"],
|
|
@@ -42726,6 +42858,11 @@ var openapi_default = {
|
|
|
42726
42858
|
],
|
|
42727
42859
|
type: "string"
|
|
42728
42860
|
},
|
|
42861
|
+
{
|
|
42862
|
+
description: "Device type for keys.\n ",
|
|
42863
|
+
enum: ["keynest_key"],
|
|
42864
|
+
type: "string"
|
|
42865
|
+
},
|
|
42729
42866
|
{
|
|
42730
42867
|
description: "Device type for noise sensors.\n ",
|
|
42731
42868
|
enum: ["noiseaware_activity_zone", "minut_sensor"],
|
|
@@ -43065,6 +43202,11 @@ var openapi_default = {
|
|
|
43065
43202
|
],
|
|
43066
43203
|
type: "string"
|
|
43067
43204
|
},
|
|
43205
|
+
{
|
|
43206
|
+
description: "Device type for keys.\n ",
|
|
43207
|
+
enum: ["keynest_key"],
|
|
43208
|
+
type: "string"
|
|
43209
|
+
},
|
|
43068
43210
|
{
|
|
43069
43211
|
description: "Device type for noise sensors.\n ",
|
|
43070
43212
|
enum: ["noiseaware_activity_zone", "minut_sensor"],
|
|
@@ -43126,6 +43268,11 @@ var openapi_default = {
|
|
|
43126
43268
|
],
|
|
43127
43269
|
type: "string"
|
|
43128
43270
|
},
|
|
43271
|
+
{
|
|
43272
|
+
description: "Device type for keys.\n ",
|
|
43273
|
+
enum: ["keynest_key"],
|
|
43274
|
+
type: "string"
|
|
43275
|
+
},
|
|
43129
43276
|
{
|
|
43130
43277
|
description: "Device type for noise sensors.\n ",
|
|
43131
43278
|
enum: ["noiseaware_activity_zone", "minut_sensor"],
|
|
@@ -43939,6 +44086,11 @@ var openapi_default = {
|
|
|
43939
44086
|
],
|
|
43940
44087
|
type: "string"
|
|
43941
44088
|
},
|
|
44089
|
+
{
|
|
44090
|
+
description: "Device type for keys.\n ",
|
|
44091
|
+
enum: ["keynest_key"],
|
|
44092
|
+
type: "string"
|
|
44093
|
+
},
|
|
43942
44094
|
{
|
|
43943
44095
|
description: "Device type for noise sensors.\n ",
|
|
43944
44096
|
enum: ["noiseaware_activity_zone", "minut_sensor"],
|
|
@@ -44004,6 +44156,11 @@ var openapi_default = {
|
|
|
44004
44156
|
],
|
|
44005
44157
|
type: "string"
|
|
44006
44158
|
},
|
|
44159
|
+
{
|
|
44160
|
+
description: "Device type for keys.\n ",
|
|
44161
|
+
enum: ["keynest_key"],
|
|
44162
|
+
type: "string"
|
|
44163
|
+
},
|
|
44007
44164
|
{
|
|
44008
44165
|
description: "Device type for noise sensors.\n ",
|
|
44009
44166
|
enum: ["noiseaware_activity_zone", "minut_sensor"],
|
|
@@ -44340,6 +44497,11 @@ var openapi_default = {
|
|
|
44340
44497
|
],
|
|
44341
44498
|
type: "string"
|
|
44342
44499
|
},
|
|
44500
|
+
{
|
|
44501
|
+
description: "Device type for keys.\n ",
|
|
44502
|
+
enum: ["keynest_key"],
|
|
44503
|
+
type: "string"
|
|
44504
|
+
},
|
|
44343
44505
|
{
|
|
44344
44506
|
description: "Device type for noise sensors.\n ",
|
|
44345
44507
|
enum: ["noiseaware_activity_zone", "minut_sensor"],
|
|
@@ -44401,6 +44563,11 @@ var openapi_default = {
|
|
|
44401
44563
|
],
|
|
44402
44564
|
type: "string"
|
|
44403
44565
|
},
|
|
44566
|
+
{
|
|
44567
|
+
description: "Device type for keys.\n ",
|
|
44568
|
+
enum: ["keynest_key"],
|
|
44569
|
+
type: "string"
|
|
44570
|
+
},
|
|
44404
44571
|
{
|
|
44405
44572
|
description: "Device type for noise sensors.\n ",
|
|
44406
44573
|
enum: ["noiseaware_activity_zone", "minut_sensor"],
|