@seamapi/types 1.425.0 → 1.426.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 +59 -21
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +73 -12
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +4 -4
- package/lib/seam/connect/models/devices/device-provider.d.ts +3 -0
- package/lib/seam/connect/models/devices/device.d.ts +6 -0
- package/lib/seam/connect/models/devices/device.js +1 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +4 -0
- package/lib/seam/connect/models/phones/phone-session.d.ts +14 -14
- package/lib/seam/connect/openapi.d.ts +33 -0
- package/lib/seam/connect/openapi.js +37 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +28 -10
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/device.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +39 -0
- package/src/lib/seam/connect/route-types.ts +28 -0
package/dist/connect.cjs
CHANGED
|
@@ -1290,7 +1290,8 @@ var phone_specific_properties = zod.z.object({
|
|
|
1290
1290
|
var device_capability_flags2 = models_exports.device_capability_flags.extend({
|
|
1291
1291
|
can_simulate_removal: zod.z.boolean().optional(),
|
|
1292
1292
|
can_simulate_connection: zod.z.boolean().optional(),
|
|
1293
|
-
can_simulate_disconnection: zod.z.boolean().optional()
|
|
1293
|
+
can_simulate_disconnection: zod.z.boolean().optional(),
|
|
1294
|
+
can_unlock_with_code: zod.z.boolean().optional()
|
|
1294
1295
|
});
|
|
1295
1296
|
var battery_status = zod.z.enum(["critical", "low", "good", "full"]).describe(`Represents the current status of the battery charge level. Values are \`critical\`, which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; \`low\`, which signifies that the battery is under the preferred threshold and should be charged soon; \`good\`, which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and \`full\`, which represents a battery that is fully charged, providing the maximum duration of usage.
|
|
1296
1297
|
`);
|
|
@@ -13742,6 +13743,7 @@ var openapi_default = {
|
|
|
13742
13743
|
can_simulate_disconnection: { type: "boolean" },
|
|
13743
13744
|
can_simulate_removal: { type: "boolean" },
|
|
13744
13745
|
can_turn_off_hvac: { type: "boolean" },
|
|
13746
|
+
can_unlock_with_code: { type: "boolean" },
|
|
13745
13747
|
capabilities_supported: {
|
|
13746
13748
|
description: "\n Collection of capabilities that the device supports when connected to Seam. Values are `access_code`, which indicates that the device can manage and utilize digital PIN codes for secure access; `lock`, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; `noise_detection`, which indicates that the device supports monitoring and responding to ambient noise levels; `thermostat`, which indicates that the device can regulate and adjust indoor temperatures; `battery`, which indicates that the device can manage battery life and health; and `phone`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://docs.seam.co/latest/capability-guides/device-and-system-capabilities#capability-flags).\n ",
|
|
13747
13749
|
items: {
|
|
@@ -16861,6 +16863,7 @@ var openapi_default = {
|
|
|
16861
16863
|
can_simulate_disconnection: { type: "boolean" },
|
|
16862
16864
|
can_simulate_removal: { type: "boolean" },
|
|
16863
16865
|
can_turn_off_hvac: { type: "boolean" },
|
|
16866
|
+
can_unlock_with_code: { type: "boolean" },
|
|
16864
16867
|
device_provider_name: {
|
|
16865
16868
|
enum: [
|
|
16866
16869
|
"dormakaba_community",
|
|
@@ -25594,6 +25597,7 @@ var openapi_default = {
|
|
|
25594
25597
|
can_simulate_disconnection: { type: "boolean" },
|
|
25595
25598
|
can_simulate_removal: { type: "boolean" },
|
|
25596
25599
|
can_turn_off_hvac: { type: "boolean" },
|
|
25600
|
+
can_unlock_with_code: { type: "boolean" },
|
|
25597
25601
|
capabilities_supported: {
|
|
25598
25602
|
description: "\n Collection of capabilities that the device supports when connected to Seam. Values are `access_code`, which indicates that the device can manage and utilize digital PIN codes for secure access; `lock`, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; `noise_detection`, which indicates that the device supports monitoring and responding to ambient noise levels; `thermostat`, which indicates that the device can regulate and adjust indoor temperatures; `battery`, which indicates that the device can manage battery life and health; and `phone`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://docs.seam.co/latest/capability-guides/device-and-system-capabilities#capability-flags).\n ",
|
|
25599
25603
|
items: {
|
|
@@ -38040,6 +38044,15 @@ var openapi_default = {
|
|
|
38040
38044
|
type: "array"
|
|
38041
38045
|
}
|
|
38042
38046
|
},
|
|
38047
|
+
{
|
|
38048
|
+
in: "query",
|
|
38049
|
+
name: "search",
|
|
38050
|
+
schema: {
|
|
38051
|
+
description: "String for which to search. Filters returned connected accounts to include all records that satisfy a partial match using `connected_account_id`, `account_type`, `customer_key`, `custom_metadata`, `user_identifier.username`, `user_identifier.email` or `user_identifier.phone`.",
|
|
38052
|
+
minLength: 1,
|
|
38053
|
+
type: "string"
|
|
38054
|
+
}
|
|
38055
|
+
},
|
|
38043
38056
|
{
|
|
38044
38057
|
in: "query",
|
|
38045
38058
|
name: "limit",
|
|
@@ -38129,6 +38142,11 @@ var openapi_default = {
|
|
|
38129
38142
|
nullable: true,
|
|
38130
38143
|
type: "string"
|
|
38131
38144
|
},
|
|
38145
|
+
search: {
|
|
38146
|
+
description: "String for which to search. Filters returned connected accounts to include all records that satisfy a partial match using `connected_account_id`, `account_type`, `customer_key`, `custom_metadata`, `user_identifier.username`, `user_identifier.email` or `user_identifier.phone`.",
|
|
38147
|
+
minLength: 1,
|
|
38148
|
+
type: "string"
|
|
38149
|
+
},
|
|
38132
38150
|
user_identifier_key: {
|
|
38133
38151
|
description: "Your user ID for the user by which you want to filter connected accounts.",
|
|
38134
38152
|
type: "string"
|
|
@@ -40073,7 +40091,8 @@ var openapi_default = {
|
|
|
40073
40091
|
"can_turn_off_hvac",
|
|
40074
40092
|
"can_simulate_removal",
|
|
40075
40093
|
"can_simulate_connection",
|
|
40076
|
-
"can_simulate_disconnection"
|
|
40094
|
+
"can_simulate_disconnection",
|
|
40095
|
+
"can_unlock_with_code"
|
|
40077
40096
|
],
|
|
40078
40097
|
type: "string"
|
|
40079
40098
|
},
|
|
@@ -40097,7 +40116,8 @@ var openapi_default = {
|
|
|
40097
40116
|
"can_turn_off_hvac",
|
|
40098
40117
|
"can_simulate_removal",
|
|
40099
40118
|
"can_simulate_connection",
|
|
40100
|
-
"can_simulate_disconnection"
|
|
40119
|
+
"can_simulate_disconnection",
|
|
40120
|
+
"can_unlock_with_code"
|
|
40101
40121
|
],
|
|
40102
40122
|
type: "string"
|
|
40103
40123
|
},
|
|
@@ -40353,7 +40373,8 @@ var openapi_default = {
|
|
|
40353
40373
|
"can_turn_off_hvac",
|
|
40354
40374
|
"can_simulate_removal",
|
|
40355
40375
|
"can_simulate_connection",
|
|
40356
|
-
"can_simulate_disconnection"
|
|
40376
|
+
"can_simulate_disconnection",
|
|
40377
|
+
"can_unlock_with_code"
|
|
40357
40378
|
],
|
|
40358
40379
|
type: "string"
|
|
40359
40380
|
},
|
|
@@ -40373,7 +40394,8 @@ var openapi_default = {
|
|
|
40373
40394
|
"can_turn_off_hvac",
|
|
40374
40395
|
"can_simulate_removal",
|
|
40375
40396
|
"can_simulate_connection",
|
|
40376
|
-
"can_simulate_disconnection"
|
|
40397
|
+
"can_simulate_disconnection",
|
|
40398
|
+
"can_unlock_with_code"
|
|
40377
40399
|
],
|
|
40378
40400
|
type: "string"
|
|
40379
40401
|
},
|
|
@@ -41179,7 +41201,8 @@ var openapi_default = {
|
|
|
41179
41201
|
"can_turn_off_hvac",
|
|
41180
41202
|
"can_simulate_removal",
|
|
41181
41203
|
"can_simulate_connection",
|
|
41182
|
-
"can_simulate_disconnection"
|
|
41204
|
+
"can_simulate_disconnection",
|
|
41205
|
+
"can_unlock_with_code"
|
|
41183
41206
|
],
|
|
41184
41207
|
type: "string"
|
|
41185
41208
|
},
|
|
@@ -41203,7 +41226,8 @@ var openapi_default = {
|
|
|
41203
41226
|
"can_turn_off_hvac",
|
|
41204
41227
|
"can_simulate_removal",
|
|
41205
41228
|
"can_simulate_connection",
|
|
41206
|
-
"can_simulate_disconnection"
|
|
41229
|
+
"can_simulate_disconnection",
|
|
41230
|
+
"can_unlock_with_code"
|
|
41207
41231
|
],
|
|
41208
41232
|
type: "string"
|
|
41209
41233
|
},
|
|
@@ -41456,7 +41480,8 @@ var openapi_default = {
|
|
|
41456
41480
|
"can_turn_off_hvac",
|
|
41457
41481
|
"can_simulate_removal",
|
|
41458
41482
|
"can_simulate_connection",
|
|
41459
|
-
"can_simulate_disconnection"
|
|
41483
|
+
"can_simulate_disconnection",
|
|
41484
|
+
"can_unlock_with_code"
|
|
41460
41485
|
],
|
|
41461
41486
|
type: "string"
|
|
41462
41487
|
},
|
|
@@ -41476,7 +41501,8 @@ var openapi_default = {
|
|
|
41476
41501
|
"can_turn_off_hvac",
|
|
41477
41502
|
"can_simulate_removal",
|
|
41478
41503
|
"can_simulate_connection",
|
|
41479
|
-
"can_simulate_disconnection"
|
|
41504
|
+
"can_simulate_disconnection",
|
|
41505
|
+
"can_unlock_with_code"
|
|
41480
41506
|
],
|
|
41481
41507
|
type: "string"
|
|
41482
41508
|
},
|
|
@@ -43053,7 +43079,8 @@ var openapi_default = {
|
|
|
43053
43079
|
"can_turn_off_hvac",
|
|
43054
43080
|
"can_simulate_removal",
|
|
43055
43081
|
"can_simulate_connection",
|
|
43056
|
-
"can_simulate_disconnection"
|
|
43082
|
+
"can_simulate_disconnection",
|
|
43083
|
+
"can_unlock_with_code"
|
|
43057
43084
|
],
|
|
43058
43085
|
type: "string"
|
|
43059
43086
|
},
|
|
@@ -43077,7 +43104,8 @@ var openapi_default = {
|
|
|
43077
43104
|
"can_turn_off_hvac",
|
|
43078
43105
|
"can_simulate_removal",
|
|
43079
43106
|
"can_simulate_connection",
|
|
43080
|
-
"can_simulate_disconnection"
|
|
43107
|
+
"can_simulate_disconnection",
|
|
43108
|
+
"can_unlock_with_code"
|
|
43081
43109
|
],
|
|
43082
43110
|
type: "string"
|
|
43083
43111
|
},
|
|
@@ -43282,7 +43310,8 @@ var openapi_default = {
|
|
|
43282
43310
|
"can_turn_off_hvac",
|
|
43283
43311
|
"can_simulate_removal",
|
|
43284
43312
|
"can_simulate_connection",
|
|
43285
|
-
"can_simulate_disconnection"
|
|
43313
|
+
"can_simulate_disconnection",
|
|
43314
|
+
"can_unlock_with_code"
|
|
43286
43315
|
],
|
|
43287
43316
|
type: "string"
|
|
43288
43317
|
},
|
|
@@ -43302,7 +43331,8 @@ var openapi_default = {
|
|
|
43302
43331
|
"can_turn_off_hvac",
|
|
43303
43332
|
"can_simulate_removal",
|
|
43304
43333
|
"can_simulate_connection",
|
|
43305
|
-
"can_simulate_disconnection"
|
|
43334
|
+
"can_simulate_disconnection",
|
|
43335
|
+
"can_unlock_with_code"
|
|
43306
43336
|
],
|
|
43307
43337
|
type: "string"
|
|
43308
43338
|
},
|
|
@@ -44046,7 +44076,8 @@ var openapi_default = {
|
|
|
44046
44076
|
"can_turn_off_hvac",
|
|
44047
44077
|
"can_simulate_removal",
|
|
44048
44078
|
"can_simulate_connection",
|
|
44049
|
-
"can_simulate_disconnection"
|
|
44079
|
+
"can_simulate_disconnection",
|
|
44080
|
+
"can_unlock_with_code"
|
|
44050
44081
|
],
|
|
44051
44082
|
type: "string"
|
|
44052
44083
|
},
|
|
@@ -44070,7 +44101,8 @@ var openapi_default = {
|
|
|
44070
44101
|
"can_turn_off_hvac",
|
|
44071
44102
|
"can_simulate_removal",
|
|
44072
44103
|
"can_simulate_connection",
|
|
44073
|
-
"can_simulate_disconnection"
|
|
44104
|
+
"can_simulate_disconnection",
|
|
44105
|
+
"can_unlock_with_code"
|
|
44074
44106
|
],
|
|
44075
44107
|
type: "string"
|
|
44076
44108
|
},
|
|
@@ -44219,7 +44251,8 @@ var openapi_default = {
|
|
|
44219
44251
|
"can_turn_off_hvac",
|
|
44220
44252
|
"can_simulate_removal",
|
|
44221
44253
|
"can_simulate_connection",
|
|
44222
|
-
"can_simulate_disconnection"
|
|
44254
|
+
"can_simulate_disconnection",
|
|
44255
|
+
"can_unlock_with_code"
|
|
44223
44256
|
],
|
|
44224
44257
|
type: "string"
|
|
44225
44258
|
},
|
|
@@ -44239,7 +44272,8 @@ var openapi_default = {
|
|
|
44239
44272
|
"can_turn_off_hvac",
|
|
44240
44273
|
"can_simulate_removal",
|
|
44241
44274
|
"can_simulate_connection",
|
|
44242
|
-
"can_simulate_disconnection"
|
|
44275
|
+
"can_simulate_disconnection",
|
|
44276
|
+
"can_unlock_with_code"
|
|
44243
44277
|
],
|
|
44244
44278
|
type: "string"
|
|
44245
44279
|
},
|
|
@@ -48573,7 +48607,8 @@ var openapi_default = {
|
|
|
48573
48607
|
"can_turn_off_hvac",
|
|
48574
48608
|
"can_simulate_removal",
|
|
48575
48609
|
"can_simulate_connection",
|
|
48576
|
-
"can_simulate_disconnection"
|
|
48610
|
+
"can_simulate_disconnection",
|
|
48611
|
+
"can_unlock_with_code"
|
|
48577
48612
|
],
|
|
48578
48613
|
type: "string"
|
|
48579
48614
|
},
|
|
@@ -48597,7 +48632,8 @@ var openapi_default = {
|
|
|
48597
48632
|
"can_turn_off_hvac",
|
|
48598
48633
|
"can_simulate_removal",
|
|
48599
48634
|
"can_simulate_connection",
|
|
48600
|
-
"can_simulate_disconnection"
|
|
48635
|
+
"can_simulate_disconnection",
|
|
48636
|
+
"can_unlock_with_code"
|
|
48601
48637
|
],
|
|
48602
48638
|
type: "string"
|
|
48603
48639
|
},
|
|
@@ -48760,7 +48796,8 @@ var openapi_default = {
|
|
|
48760
48796
|
"can_turn_off_hvac",
|
|
48761
48797
|
"can_simulate_removal",
|
|
48762
48798
|
"can_simulate_connection",
|
|
48763
|
-
"can_simulate_disconnection"
|
|
48799
|
+
"can_simulate_disconnection",
|
|
48800
|
+
"can_unlock_with_code"
|
|
48764
48801
|
],
|
|
48765
48802
|
type: "string"
|
|
48766
48803
|
},
|
|
@@ -48780,7 +48817,8 @@ var openapi_default = {
|
|
|
48780
48817
|
"can_turn_off_hvac",
|
|
48781
48818
|
"can_simulate_removal",
|
|
48782
48819
|
"can_simulate_connection",
|
|
48783
|
-
"can_simulate_disconnection"
|
|
48820
|
+
"can_simulate_disconnection",
|
|
48821
|
+
"can_unlock_with_code"
|
|
48784
48822
|
],
|
|
48785
48823
|
type: "string"
|
|
48786
48824
|
},
|