@seamapi/types 1.425.0 → 1.427.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 +67 -22
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +101 -18
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +3 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +5 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.d.ts +2 -2
- package/lib/seam/connect/models/access-grants/access-method.js +1 -0
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +4 -4
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +4 -4
- package/lib/seam/connect/models/action-attempts/encode-access-method.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 +40 -0
- package/lib/seam/connect/openapi.js +44 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +40 -10
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +7 -0
- package/src/lib/seam/connect/models/access-grants/access-method.ts +1 -0
- package/src/lib/seam/connect/models/devices/device.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +47 -0
- package/src/lib/seam/connect/route-types.ts +40 -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
|
`);
|
|
@@ -2412,7 +2413,7 @@ var access_method = zod.z.object({
|
|
|
2412
2413
|
),
|
|
2413
2414
|
created_at: zod.z.string().datetime().describe("Date and time at which the access method was created."),
|
|
2414
2415
|
issued_at: zod.z.string().datetime().optional().describe("Date and time at which the access method was issued."),
|
|
2415
|
-
instant_key_url: zod.z.string().optional().describe("URL of the Instant Key for mobile key access methods."),
|
|
2416
|
+
instant_key_url: zod.z.string().url().optional().describe("URL of the Instant Key for mobile key access methods."),
|
|
2416
2417
|
is_card_encoding_required: zod.z.boolean().optional().describe(
|
|
2417
2418
|
"Indicates whether card encoding is required for plastic card access methods."
|
|
2418
2419
|
)
|
|
@@ -7072,6 +7073,11 @@ var openapi_default = {
|
|
|
7072
7073
|
format: "date-time",
|
|
7073
7074
|
type: "string"
|
|
7074
7075
|
},
|
|
7076
|
+
instant_key_url: {
|
|
7077
|
+
description: "Instant Key URL. Only returned if the access grant has a single mobile_key access_method. ",
|
|
7078
|
+
format: "uri",
|
|
7079
|
+
type: "string"
|
|
7080
|
+
},
|
|
7075
7081
|
location_ids: {
|
|
7076
7082
|
deprecated: true,
|
|
7077
7083
|
items: { format: "uuid", type: "string" },
|
|
@@ -7167,6 +7173,7 @@ var openapi_default = {
|
|
|
7167
7173
|
},
|
|
7168
7174
|
instant_key_url: {
|
|
7169
7175
|
description: "URL of the Instant Key for mobile key access methods.",
|
|
7176
|
+
format: "uri",
|
|
7170
7177
|
type: "string"
|
|
7171
7178
|
},
|
|
7172
7179
|
is_card_encoding_required: {
|
|
@@ -10356,6 +10363,7 @@ var openapi_default = {
|
|
|
10356
10363
|
},
|
|
10357
10364
|
instant_key_url: {
|
|
10358
10365
|
description: "URL of the Instant Key for mobile key access methods.",
|
|
10366
|
+
format: "uri",
|
|
10359
10367
|
type: "string"
|
|
10360
10368
|
},
|
|
10361
10369
|
is_card_encoding_required: {
|
|
@@ -13742,6 +13750,7 @@ var openapi_default = {
|
|
|
13742
13750
|
can_simulate_disconnection: { type: "boolean" },
|
|
13743
13751
|
can_simulate_removal: { type: "boolean" },
|
|
13744
13752
|
can_turn_off_hvac: { type: "boolean" },
|
|
13753
|
+
can_unlock_with_code: { type: "boolean" },
|
|
13745
13754
|
capabilities_supported: {
|
|
13746
13755
|
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
13756
|
items: {
|
|
@@ -16861,6 +16870,7 @@ var openapi_default = {
|
|
|
16861
16870
|
can_simulate_disconnection: { type: "boolean" },
|
|
16862
16871
|
can_simulate_removal: { type: "boolean" },
|
|
16863
16872
|
can_turn_off_hvac: { type: "boolean" },
|
|
16873
|
+
can_unlock_with_code: { type: "boolean" },
|
|
16864
16874
|
device_provider_name: {
|
|
16865
16875
|
enum: [
|
|
16866
16876
|
"dormakaba_community",
|
|
@@ -25594,6 +25604,7 @@ var openapi_default = {
|
|
|
25594
25604
|
can_simulate_disconnection: { type: "boolean" },
|
|
25595
25605
|
can_simulate_removal: { type: "boolean" },
|
|
25596
25606
|
can_turn_off_hvac: { type: "boolean" },
|
|
25607
|
+
can_unlock_with_code: { type: "boolean" },
|
|
25597
25608
|
capabilities_supported: {
|
|
25598
25609
|
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
25610
|
items: {
|
|
@@ -38040,6 +38051,15 @@ var openapi_default = {
|
|
|
38040
38051
|
type: "array"
|
|
38041
38052
|
}
|
|
38042
38053
|
},
|
|
38054
|
+
{
|
|
38055
|
+
in: "query",
|
|
38056
|
+
name: "search",
|
|
38057
|
+
schema: {
|
|
38058
|
+
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`.",
|
|
38059
|
+
minLength: 1,
|
|
38060
|
+
type: "string"
|
|
38061
|
+
}
|
|
38062
|
+
},
|
|
38043
38063
|
{
|
|
38044
38064
|
in: "query",
|
|
38045
38065
|
name: "limit",
|
|
@@ -38129,6 +38149,11 @@ var openapi_default = {
|
|
|
38129
38149
|
nullable: true,
|
|
38130
38150
|
type: "string"
|
|
38131
38151
|
},
|
|
38152
|
+
search: {
|
|
38153
|
+
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`.",
|
|
38154
|
+
minLength: 1,
|
|
38155
|
+
type: "string"
|
|
38156
|
+
},
|
|
38132
38157
|
user_identifier_key: {
|
|
38133
38158
|
description: "Your user ID for the user by which you want to filter connected accounts.",
|
|
38134
38159
|
type: "string"
|
|
@@ -40073,7 +40098,8 @@ var openapi_default = {
|
|
|
40073
40098
|
"can_turn_off_hvac",
|
|
40074
40099
|
"can_simulate_removal",
|
|
40075
40100
|
"can_simulate_connection",
|
|
40076
|
-
"can_simulate_disconnection"
|
|
40101
|
+
"can_simulate_disconnection",
|
|
40102
|
+
"can_unlock_with_code"
|
|
40077
40103
|
],
|
|
40078
40104
|
type: "string"
|
|
40079
40105
|
},
|
|
@@ -40097,7 +40123,8 @@ var openapi_default = {
|
|
|
40097
40123
|
"can_turn_off_hvac",
|
|
40098
40124
|
"can_simulate_removal",
|
|
40099
40125
|
"can_simulate_connection",
|
|
40100
|
-
"can_simulate_disconnection"
|
|
40126
|
+
"can_simulate_disconnection",
|
|
40127
|
+
"can_unlock_with_code"
|
|
40101
40128
|
],
|
|
40102
40129
|
type: "string"
|
|
40103
40130
|
},
|
|
@@ -40353,7 +40380,8 @@ var openapi_default = {
|
|
|
40353
40380
|
"can_turn_off_hvac",
|
|
40354
40381
|
"can_simulate_removal",
|
|
40355
40382
|
"can_simulate_connection",
|
|
40356
|
-
"can_simulate_disconnection"
|
|
40383
|
+
"can_simulate_disconnection",
|
|
40384
|
+
"can_unlock_with_code"
|
|
40357
40385
|
],
|
|
40358
40386
|
type: "string"
|
|
40359
40387
|
},
|
|
@@ -40373,7 +40401,8 @@ var openapi_default = {
|
|
|
40373
40401
|
"can_turn_off_hvac",
|
|
40374
40402
|
"can_simulate_removal",
|
|
40375
40403
|
"can_simulate_connection",
|
|
40376
|
-
"can_simulate_disconnection"
|
|
40404
|
+
"can_simulate_disconnection",
|
|
40405
|
+
"can_unlock_with_code"
|
|
40377
40406
|
],
|
|
40378
40407
|
type: "string"
|
|
40379
40408
|
},
|
|
@@ -41179,7 +41208,8 @@ var openapi_default = {
|
|
|
41179
41208
|
"can_turn_off_hvac",
|
|
41180
41209
|
"can_simulate_removal",
|
|
41181
41210
|
"can_simulate_connection",
|
|
41182
|
-
"can_simulate_disconnection"
|
|
41211
|
+
"can_simulate_disconnection",
|
|
41212
|
+
"can_unlock_with_code"
|
|
41183
41213
|
],
|
|
41184
41214
|
type: "string"
|
|
41185
41215
|
},
|
|
@@ -41203,7 +41233,8 @@ var openapi_default = {
|
|
|
41203
41233
|
"can_turn_off_hvac",
|
|
41204
41234
|
"can_simulate_removal",
|
|
41205
41235
|
"can_simulate_connection",
|
|
41206
|
-
"can_simulate_disconnection"
|
|
41236
|
+
"can_simulate_disconnection",
|
|
41237
|
+
"can_unlock_with_code"
|
|
41207
41238
|
],
|
|
41208
41239
|
type: "string"
|
|
41209
41240
|
},
|
|
@@ -41456,7 +41487,8 @@ var openapi_default = {
|
|
|
41456
41487
|
"can_turn_off_hvac",
|
|
41457
41488
|
"can_simulate_removal",
|
|
41458
41489
|
"can_simulate_connection",
|
|
41459
|
-
"can_simulate_disconnection"
|
|
41490
|
+
"can_simulate_disconnection",
|
|
41491
|
+
"can_unlock_with_code"
|
|
41460
41492
|
],
|
|
41461
41493
|
type: "string"
|
|
41462
41494
|
},
|
|
@@ -41476,7 +41508,8 @@ var openapi_default = {
|
|
|
41476
41508
|
"can_turn_off_hvac",
|
|
41477
41509
|
"can_simulate_removal",
|
|
41478
41510
|
"can_simulate_connection",
|
|
41479
|
-
"can_simulate_disconnection"
|
|
41511
|
+
"can_simulate_disconnection",
|
|
41512
|
+
"can_unlock_with_code"
|
|
41480
41513
|
],
|
|
41481
41514
|
type: "string"
|
|
41482
41515
|
},
|
|
@@ -43053,7 +43086,8 @@ var openapi_default = {
|
|
|
43053
43086
|
"can_turn_off_hvac",
|
|
43054
43087
|
"can_simulate_removal",
|
|
43055
43088
|
"can_simulate_connection",
|
|
43056
|
-
"can_simulate_disconnection"
|
|
43089
|
+
"can_simulate_disconnection",
|
|
43090
|
+
"can_unlock_with_code"
|
|
43057
43091
|
],
|
|
43058
43092
|
type: "string"
|
|
43059
43093
|
},
|
|
@@ -43077,7 +43111,8 @@ var openapi_default = {
|
|
|
43077
43111
|
"can_turn_off_hvac",
|
|
43078
43112
|
"can_simulate_removal",
|
|
43079
43113
|
"can_simulate_connection",
|
|
43080
|
-
"can_simulate_disconnection"
|
|
43114
|
+
"can_simulate_disconnection",
|
|
43115
|
+
"can_unlock_with_code"
|
|
43081
43116
|
],
|
|
43082
43117
|
type: "string"
|
|
43083
43118
|
},
|
|
@@ -43282,7 +43317,8 @@ var openapi_default = {
|
|
|
43282
43317
|
"can_turn_off_hvac",
|
|
43283
43318
|
"can_simulate_removal",
|
|
43284
43319
|
"can_simulate_connection",
|
|
43285
|
-
"can_simulate_disconnection"
|
|
43320
|
+
"can_simulate_disconnection",
|
|
43321
|
+
"can_unlock_with_code"
|
|
43286
43322
|
],
|
|
43287
43323
|
type: "string"
|
|
43288
43324
|
},
|
|
@@ -43302,7 +43338,8 @@ var openapi_default = {
|
|
|
43302
43338
|
"can_turn_off_hvac",
|
|
43303
43339
|
"can_simulate_removal",
|
|
43304
43340
|
"can_simulate_connection",
|
|
43305
|
-
"can_simulate_disconnection"
|
|
43341
|
+
"can_simulate_disconnection",
|
|
43342
|
+
"can_unlock_with_code"
|
|
43306
43343
|
],
|
|
43307
43344
|
type: "string"
|
|
43308
43345
|
},
|
|
@@ -44046,7 +44083,8 @@ var openapi_default = {
|
|
|
44046
44083
|
"can_turn_off_hvac",
|
|
44047
44084
|
"can_simulate_removal",
|
|
44048
44085
|
"can_simulate_connection",
|
|
44049
|
-
"can_simulate_disconnection"
|
|
44086
|
+
"can_simulate_disconnection",
|
|
44087
|
+
"can_unlock_with_code"
|
|
44050
44088
|
],
|
|
44051
44089
|
type: "string"
|
|
44052
44090
|
},
|
|
@@ -44070,7 +44108,8 @@ var openapi_default = {
|
|
|
44070
44108
|
"can_turn_off_hvac",
|
|
44071
44109
|
"can_simulate_removal",
|
|
44072
44110
|
"can_simulate_connection",
|
|
44073
|
-
"can_simulate_disconnection"
|
|
44111
|
+
"can_simulate_disconnection",
|
|
44112
|
+
"can_unlock_with_code"
|
|
44074
44113
|
],
|
|
44075
44114
|
type: "string"
|
|
44076
44115
|
},
|
|
@@ -44219,7 +44258,8 @@ var openapi_default = {
|
|
|
44219
44258
|
"can_turn_off_hvac",
|
|
44220
44259
|
"can_simulate_removal",
|
|
44221
44260
|
"can_simulate_connection",
|
|
44222
|
-
"can_simulate_disconnection"
|
|
44261
|
+
"can_simulate_disconnection",
|
|
44262
|
+
"can_unlock_with_code"
|
|
44223
44263
|
],
|
|
44224
44264
|
type: "string"
|
|
44225
44265
|
},
|
|
@@ -44239,7 +44279,8 @@ var openapi_default = {
|
|
|
44239
44279
|
"can_turn_off_hvac",
|
|
44240
44280
|
"can_simulate_removal",
|
|
44241
44281
|
"can_simulate_connection",
|
|
44242
|
-
"can_simulate_disconnection"
|
|
44282
|
+
"can_simulate_disconnection",
|
|
44283
|
+
"can_unlock_with_code"
|
|
44243
44284
|
],
|
|
44244
44285
|
type: "string"
|
|
44245
44286
|
},
|
|
@@ -48573,7 +48614,8 @@ var openapi_default = {
|
|
|
48573
48614
|
"can_turn_off_hvac",
|
|
48574
48615
|
"can_simulate_removal",
|
|
48575
48616
|
"can_simulate_connection",
|
|
48576
|
-
"can_simulate_disconnection"
|
|
48617
|
+
"can_simulate_disconnection",
|
|
48618
|
+
"can_unlock_with_code"
|
|
48577
48619
|
],
|
|
48578
48620
|
type: "string"
|
|
48579
48621
|
},
|
|
@@ -48597,7 +48639,8 @@ var openapi_default = {
|
|
|
48597
48639
|
"can_turn_off_hvac",
|
|
48598
48640
|
"can_simulate_removal",
|
|
48599
48641
|
"can_simulate_connection",
|
|
48600
|
-
"can_simulate_disconnection"
|
|
48642
|
+
"can_simulate_disconnection",
|
|
48643
|
+
"can_unlock_with_code"
|
|
48601
48644
|
],
|
|
48602
48645
|
type: "string"
|
|
48603
48646
|
},
|
|
@@ -48760,7 +48803,8 @@ var openapi_default = {
|
|
|
48760
48803
|
"can_turn_off_hvac",
|
|
48761
48804
|
"can_simulate_removal",
|
|
48762
48805
|
"can_simulate_connection",
|
|
48763
|
-
"can_simulate_disconnection"
|
|
48806
|
+
"can_simulate_disconnection",
|
|
48807
|
+
"can_unlock_with_code"
|
|
48764
48808
|
],
|
|
48765
48809
|
type: "string"
|
|
48766
48810
|
},
|
|
@@ -48780,7 +48824,8 @@ var openapi_default = {
|
|
|
48780
48824
|
"can_turn_off_hvac",
|
|
48781
48825
|
"can_simulate_removal",
|
|
48782
48826
|
"can_simulate_connection",
|
|
48783
|
-
"can_simulate_disconnection"
|
|
48827
|
+
"can_simulate_disconnection",
|
|
48828
|
+
"can_unlock_with_code"
|
|
48784
48829
|
],
|
|
48785
48830
|
type: "string"
|
|
48786
48831
|
},
|