@seamapi/types 1.384.0 → 1.385.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 +456 -137
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1668 -208
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +8 -5
- package/lib/seam/connect/models/access-grants/access-grant.js +3 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/access-grants/requested-access-method.d.ts +3 -3
- package/lib/seam/connect/models/access-grants/requested-access-method.js +2 -2
- package/lib/seam/connect/models/access-grants/requested-access-method.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +156 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js +4 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +80 -0
- package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.js +28 -0
- package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.js.map +1 -0
- package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +80 -0
- package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.js +28 -0
- package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +266 -175
- package/lib/seam/connect/openapi.js +408 -132
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1246 -33
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +5 -0
- package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +4 -2
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +4 -0
- package/src/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.ts +39 -0
- package/src/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.ts +37 -0
- package/src/lib/seam/connect/openapi.ts +426 -136
- package/src/lib/seam/connect/route-types.ts +1372 -33
package/dist/connect.cjs
CHANGED
|
@@ -3009,21 +3009,62 @@ var set_hvac_mode_action_attempt = zod.z.discriminatedUnion("status", [
|
|
|
3009
3009
|
}).describe("Setting HVAC mode succeeded."),
|
|
3010
3010
|
common_failed_action_attempt.extend({ action_type: action_type7, error: error8 }).describe("Setting HVAC mode failed.")
|
|
3011
3011
|
]);
|
|
3012
|
-
var action_type8 = zod.z.literal("
|
|
3012
|
+
var action_type8 = zod.z.literal("SIMULATE_KEYPAD_CODE_ENTRY");
|
|
3013
3013
|
var error9 = zod.z.object({
|
|
3014
3014
|
type: zod.z.string(),
|
|
3015
3015
|
message: zod.z.string()
|
|
3016
3016
|
});
|
|
3017
3017
|
var result9 = zod.z.object({});
|
|
3018
|
+
var simulate_keypad_code_entry_action_attempt = zod.z.discriminatedUnion(
|
|
3019
|
+
"status",
|
|
3020
|
+
[
|
|
3021
|
+
common_pending_action_attempt.extend({
|
|
3022
|
+
action_type: action_type8
|
|
3023
|
+
}).describe("Simulating keypad code entry."),
|
|
3024
|
+
common_succeeded_action_attempt.extend({
|
|
3025
|
+
action_type: action_type8,
|
|
3026
|
+
result: result9
|
|
3027
|
+
}).describe("Simulating keypad code entry succeeded."),
|
|
3028
|
+
common_failed_action_attempt.extend({
|
|
3029
|
+
action_type: action_type8,
|
|
3030
|
+
error: error9
|
|
3031
|
+
}).describe("Simulating keypad code entry failed.")
|
|
3032
|
+
]
|
|
3033
|
+
);
|
|
3034
|
+
var action_type9 = zod.z.literal("SIMULATE_MANUAL_LOCK_VIA_KEYPAD");
|
|
3035
|
+
var error10 = zod.z.object({
|
|
3036
|
+
type: zod.z.string(),
|
|
3037
|
+
message: zod.z.string()
|
|
3038
|
+
});
|
|
3039
|
+
var result10 = zod.z.object({});
|
|
3040
|
+
var simulate_manual_lock_via_keypad_action_attempt = zod.z.discriminatedUnion("status", [
|
|
3041
|
+
common_pending_action_attempt.extend({
|
|
3042
|
+
action_type: action_type9
|
|
3043
|
+
}).describe("Simulating manual lock via keypad."),
|
|
3044
|
+
common_succeeded_action_attempt.extend({
|
|
3045
|
+
action_type: action_type9,
|
|
3046
|
+
result: result10
|
|
3047
|
+
}).describe("Simulating manual lock via keypad succeeded."),
|
|
3048
|
+
common_failed_action_attempt.extend({
|
|
3049
|
+
action_type: action_type9,
|
|
3050
|
+
error: error10
|
|
3051
|
+
}).describe("Simulating manual lock via keypad failed.")
|
|
3052
|
+
]);
|
|
3053
|
+
var action_type10 = zod.z.literal("UNLOCK_DOOR");
|
|
3054
|
+
var error11 = zod.z.object({
|
|
3055
|
+
type: zod.z.string(),
|
|
3056
|
+
message: zod.z.string()
|
|
3057
|
+
});
|
|
3058
|
+
var result11 = zod.z.object({});
|
|
3018
3059
|
var unlock_door_action_attempt = zod.z.discriminatedUnion("status", [
|
|
3019
3060
|
common_pending_action_attempt.extend({
|
|
3020
|
-
action_type:
|
|
3061
|
+
action_type: action_type10
|
|
3021
3062
|
}).describe("Unlocking door."),
|
|
3022
3063
|
common_succeeded_action_attempt.extend({
|
|
3023
|
-
action_type:
|
|
3024
|
-
result:
|
|
3064
|
+
action_type: action_type10,
|
|
3065
|
+
result: result11
|
|
3025
3066
|
}).describe("Unlocking door succeeded."),
|
|
3026
|
-
common_failed_action_attempt.extend({ action_type:
|
|
3067
|
+
common_failed_action_attempt.extend({ action_type: action_type10, error: error11 }).describe("Unlocking door failed.")
|
|
3027
3068
|
]);
|
|
3028
3069
|
|
|
3029
3070
|
// src/lib/seam/connect/models/action-attempts/action-attempt.ts
|
|
@@ -3036,6 +3077,8 @@ var action_attempt = zod.z.union([
|
|
|
3036
3077
|
...set_fan_mode_action_attempt.options,
|
|
3037
3078
|
...set_hvac_mode_action_attempt.options,
|
|
3038
3079
|
...activate_climate_preset_action_attempt.options,
|
|
3080
|
+
...simulate_keypad_code_entry_action_attempt.options,
|
|
3081
|
+
...simulate_manual_lock_via_keypad_action_attempt.options,
|
|
3039
3082
|
...deprecated_action_attempts
|
|
3040
3083
|
]).describe(`
|
|
3041
3084
|
---
|
|
@@ -9466,6 +9509,194 @@ var openapi_default = {
|
|
|
9466
9509
|
],
|
|
9467
9510
|
type: "object"
|
|
9468
9511
|
},
|
|
9512
|
+
{
|
|
9513
|
+
description: "Simulating keypad code entry.",
|
|
9514
|
+
properties: {
|
|
9515
|
+
action_attempt_id: {
|
|
9516
|
+
description: "ID of the action attempt.",
|
|
9517
|
+
format: "uuid",
|
|
9518
|
+
type: "string"
|
|
9519
|
+
},
|
|
9520
|
+
action_type: {
|
|
9521
|
+
enum: ["SIMULATE_KEYPAD_CODE_ENTRY"],
|
|
9522
|
+
type: "string"
|
|
9523
|
+
},
|
|
9524
|
+
error: {
|
|
9525
|
+
description: "Errors associated with the action attempt. Null for pending action attempts.",
|
|
9526
|
+
nullable: true
|
|
9527
|
+
},
|
|
9528
|
+
result: {
|
|
9529
|
+
description: "Result of the action attempt. Null for pending action attempts.",
|
|
9530
|
+
nullable: true
|
|
9531
|
+
},
|
|
9532
|
+
status: { enum: ["pending"], type: "string" }
|
|
9533
|
+
},
|
|
9534
|
+
required: [
|
|
9535
|
+
"action_attempt_id",
|
|
9536
|
+
"status",
|
|
9537
|
+
"result",
|
|
9538
|
+
"error",
|
|
9539
|
+
"action_type"
|
|
9540
|
+
],
|
|
9541
|
+
type: "object"
|
|
9542
|
+
},
|
|
9543
|
+
{
|
|
9544
|
+
description: "Simulating keypad code entry succeeded.",
|
|
9545
|
+
properties: {
|
|
9546
|
+
action_attempt_id: {
|
|
9547
|
+
description: "ID of the action attempt.",
|
|
9548
|
+
format: "uuid",
|
|
9549
|
+
type: "string"
|
|
9550
|
+
},
|
|
9551
|
+
action_type: {
|
|
9552
|
+
enum: ["SIMULATE_KEYPAD_CODE_ENTRY"],
|
|
9553
|
+
type: "string"
|
|
9554
|
+
},
|
|
9555
|
+
error: {
|
|
9556
|
+
description: "Errors associated with the action attempt. Null for successful action attempts.",
|
|
9557
|
+
nullable: true
|
|
9558
|
+
},
|
|
9559
|
+
result: { properties: {}, type: "object" },
|
|
9560
|
+
status: { enum: ["success"], type: "string" }
|
|
9561
|
+
},
|
|
9562
|
+
required: [
|
|
9563
|
+
"action_attempt_id",
|
|
9564
|
+
"status",
|
|
9565
|
+
"error",
|
|
9566
|
+
"action_type",
|
|
9567
|
+
"result"
|
|
9568
|
+
],
|
|
9569
|
+
type: "object"
|
|
9570
|
+
},
|
|
9571
|
+
{
|
|
9572
|
+
description: "Simulating keypad code entry failed.",
|
|
9573
|
+
properties: {
|
|
9574
|
+
action_attempt_id: {
|
|
9575
|
+
description: "ID of the action attempt.",
|
|
9576
|
+
format: "uuid",
|
|
9577
|
+
type: "string"
|
|
9578
|
+
},
|
|
9579
|
+
action_type: {
|
|
9580
|
+
enum: ["SIMULATE_KEYPAD_CODE_ENTRY"],
|
|
9581
|
+
type: "string"
|
|
9582
|
+
},
|
|
9583
|
+
error: {
|
|
9584
|
+
properties: {
|
|
9585
|
+
message: { type: "string" },
|
|
9586
|
+
type: { type: "string" }
|
|
9587
|
+
},
|
|
9588
|
+
required: ["type", "message"],
|
|
9589
|
+
type: "object"
|
|
9590
|
+
},
|
|
9591
|
+
result: {
|
|
9592
|
+
description: "Result of the action attempt. Null for failed action attempts.",
|
|
9593
|
+
nullable: true
|
|
9594
|
+
},
|
|
9595
|
+
status: { enum: ["error"], type: "string" }
|
|
9596
|
+
},
|
|
9597
|
+
required: [
|
|
9598
|
+
"action_attempt_id",
|
|
9599
|
+
"status",
|
|
9600
|
+
"result",
|
|
9601
|
+
"action_type",
|
|
9602
|
+
"error"
|
|
9603
|
+
],
|
|
9604
|
+
type: "object"
|
|
9605
|
+
},
|
|
9606
|
+
{
|
|
9607
|
+
description: "Simulating manual lock via keypad.",
|
|
9608
|
+
properties: {
|
|
9609
|
+
action_attempt_id: {
|
|
9610
|
+
description: "ID of the action attempt.",
|
|
9611
|
+
format: "uuid",
|
|
9612
|
+
type: "string"
|
|
9613
|
+
},
|
|
9614
|
+
action_type: {
|
|
9615
|
+
enum: ["SIMULATE_MANUAL_LOCK_VIA_KEYPAD"],
|
|
9616
|
+
type: "string"
|
|
9617
|
+
},
|
|
9618
|
+
error: {
|
|
9619
|
+
description: "Errors associated with the action attempt. Null for pending action attempts.",
|
|
9620
|
+
nullable: true
|
|
9621
|
+
},
|
|
9622
|
+
result: {
|
|
9623
|
+
description: "Result of the action attempt. Null for pending action attempts.",
|
|
9624
|
+
nullable: true
|
|
9625
|
+
},
|
|
9626
|
+
status: { enum: ["pending"], type: "string" }
|
|
9627
|
+
},
|
|
9628
|
+
required: [
|
|
9629
|
+
"action_attempt_id",
|
|
9630
|
+
"status",
|
|
9631
|
+
"result",
|
|
9632
|
+
"error",
|
|
9633
|
+
"action_type"
|
|
9634
|
+
],
|
|
9635
|
+
type: "object"
|
|
9636
|
+
},
|
|
9637
|
+
{
|
|
9638
|
+
description: "Simulating manual lock via keypad succeeded.",
|
|
9639
|
+
properties: {
|
|
9640
|
+
action_attempt_id: {
|
|
9641
|
+
description: "ID of the action attempt.",
|
|
9642
|
+
format: "uuid",
|
|
9643
|
+
type: "string"
|
|
9644
|
+
},
|
|
9645
|
+
action_type: {
|
|
9646
|
+
enum: ["SIMULATE_MANUAL_LOCK_VIA_KEYPAD"],
|
|
9647
|
+
type: "string"
|
|
9648
|
+
},
|
|
9649
|
+
error: {
|
|
9650
|
+
description: "Errors associated with the action attempt. Null for successful action attempts.",
|
|
9651
|
+
nullable: true
|
|
9652
|
+
},
|
|
9653
|
+
result: { properties: {}, type: "object" },
|
|
9654
|
+
status: { enum: ["success"], type: "string" }
|
|
9655
|
+
},
|
|
9656
|
+
required: [
|
|
9657
|
+
"action_attempt_id",
|
|
9658
|
+
"status",
|
|
9659
|
+
"error",
|
|
9660
|
+
"action_type",
|
|
9661
|
+
"result"
|
|
9662
|
+
],
|
|
9663
|
+
type: "object"
|
|
9664
|
+
},
|
|
9665
|
+
{
|
|
9666
|
+
description: "Simulating manual lock via keypad failed.",
|
|
9667
|
+
properties: {
|
|
9668
|
+
action_attempt_id: {
|
|
9669
|
+
description: "ID of the action attempt.",
|
|
9670
|
+
format: "uuid",
|
|
9671
|
+
type: "string"
|
|
9672
|
+
},
|
|
9673
|
+
action_type: {
|
|
9674
|
+
enum: ["SIMULATE_MANUAL_LOCK_VIA_KEYPAD"],
|
|
9675
|
+
type: "string"
|
|
9676
|
+
},
|
|
9677
|
+
error: {
|
|
9678
|
+
properties: {
|
|
9679
|
+
message: { type: "string" },
|
|
9680
|
+
type: { type: "string" }
|
|
9681
|
+
},
|
|
9682
|
+
required: ["type", "message"],
|
|
9683
|
+
type: "object"
|
|
9684
|
+
},
|
|
9685
|
+
result: {
|
|
9686
|
+
description: "Result of the action attempt. Null for failed action attempts.",
|
|
9687
|
+
nullable: true
|
|
9688
|
+
},
|
|
9689
|
+
status: { enum: ["error"], type: "string" }
|
|
9690
|
+
},
|
|
9691
|
+
required: [
|
|
9692
|
+
"action_attempt_id",
|
|
9693
|
+
"status",
|
|
9694
|
+
"result",
|
|
9695
|
+
"action_type",
|
|
9696
|
+
"error"
|
|
9697
|
+
],
|
|
9698
|
+
type: "object"
|
|
9699
|
+
},
|
|
9469
9700
|
{
|
|
9470
9701
|
properties: {
|
|
9471
9702
|
action_attempt_id: {
|
|
@@ -27158,98 +27389,6 @@ var openapi_default = {
|
|
|
27158
27389
|
"x-response-key": "device_providers"
|
|
27159
27390
|
}
|
|
27160
27391
|
},
|
|
27161
|
-
"/devices/simulate/access_code_lock": {
|
|
27162
|
-
post: {
|
|
27163
|
-
operationId: "devicesSimulateAccessCodeLockPost",
|
|
27164
|
-
requestBody: {
|
|
27165
|
-
content: {
|
|
27166
|
-
"application/json": {
|
|
27167
|
-
schema: {
|
|
27168
|
-
properties: {
|
|
27169
|
-
access_code_id: { format: "uuid", type: "string" },
|
|
27170
|
-
device_id: { format: "uuid", type: "string" }
|
|
27171
|
-
},
|
|
27172
|
-
required: ["device_id", "access_code_id"],
|
|
27173
|
-
type: "object"
|
|
27174
|
-
}
|
|
27175
|
-
}
|
|
27176
|
-
}
|
|
27177
|
-
},
|
|
27178
|
-
responses: {
|
|
27179
|
-
200: {
|
|
27180
|
-
content: {
|
|
27181
|
-
"application/json": {
|
|
27182
|
-
schema: {
|
|
27183
|
-
properties: { ok: { type: "boolean" } },
|
|
27184
|
-
required: ["ok"],
|
|
27185
|
-
type: "object"
|
|
27186
|
-
}
|
|
27187
|
-
}
|
|
27188
|
-
},
|
|
27189
|
-
description: "OK"
|
|
27190
|
-
},
|
|
27191
|
-
400: { description: "Bad Request" },
|
|
27192
|
-
401: { description: "Unauthorized" }
|
|
27193
|
-
},
|
|
27194
|
-
security: [
|
|
27195
|
-
{ api_key: [] },
|
|
27196
|
-
{ pat_with_workspace: [] },
|
|
27197
|
-
{ console_session_with_workspace: [] }
|
|
27198
|
-
],
|
|
27199
|
-
summary: "/devices/simulate/access_code_lock",
|
|
27200
|
-
tags: ["/devices"],
|
|
27201
|
-
"x-fern-sdk-group-name": ["devices", "simulate"],
|
|
27202
|
-
"x-fern-sdk-method-name": "access_code_lock",
|
|
27203
|
-
"x-response-key": null,
|
|
27204
|
-
"x-undocumented": "Unreleased."
|
|
27205
|
-
}
|
|
27206
|
-
},
|
|
27207
|
-
"/devices/simulate/access_code_unlock": {
|
|
27208
|
-
post: {
|
|
27209
|
-
operationId: "devicesSimulateAccessCodeUnlockPost",
|
|
27210
|
-
requestBody: {
|
|
27211
|
-
content: {
|
|
27212
|
-
"application/json": {
|
|
27213
|
-
schema: {
|
|
27214
|
-
properties: {
|
|
27215
|
-
access_code_id: { format: "uuid", type: "string" },
|
|
27216
|
-
device_id: { format: "uuid", type: "string" }
|
|
27217
|
-
},
|
|
27218
|
-
required: ["device_id", "access_code_id"],
|
|
27219
|
-
type: "object"
|
|
27220
|
-
}
|
|
27221
|
-
}
|
|
27222
|
-
}
|
|
27223
|
-
},
|
|
27224
|
-
responses: {
|
|
27225
|
-
200: {
|
|
27226
|
-
content: {
|
|
27227
|
-
"application/json": {
|
|
27228
|
-
schema: {
|
|
27229
|
-
properties: { ok: { type: "boolean" } },
|
|
27230
|
-
required: ["ok"],
|
|
27231
|
-
type: "object"
|
|
27232
|
-
}
|
|
27233
|
-
}
|
|
27234
|
-
},
|
|
27235
|
-
description: "OK"
|
|
27236
|
-
},
|
|
27237
|
-
400: { description: "Bad Request" },
|
|
27238
|
-
401: { description: "Unauthorized" }
|
|
27239
|
-
},
|
|
27240
|
-
security: [
|
|
27241
|
-
{ api_key: [] },
|
|
27242
|
-
{ pat_with_workspace: [] },
|
|
27243
|
-
{ console_session_with_workspace: [] }
|
|
27244
|
-
],
|
|
27245
|
-
summary: "/devices/simulate/access_code_unlock",
|
|
27246
|
-
tags: ["/devices"],
|
|
27247
|
-
"x-fern-sdk-group-name": ["devices", "simulate"],
|
|
27248
|
-
"x-fern-sdk-method-name": "access_code_unlock",
|
|
27249
|
-
"x-response-key": null,
|
|
27250
|
-
"x-undocumented": "Unreleased."
|
|
27251
|
-
}
|
|
27252
|
-
},
|
|
27253
27392
|
"/devices/simulate/connect": {
|
|
27254
27393
|
post: {
|
|
27255
27394
|
operationId: "devicesSimulateConnectPost",
|
|
@@ -28583,6 +28722,108 @@ var openapi_default = {
|
|
|
28583
28722
|
"x-response-key": "action_attempt"
|
|
28584
28723
|
}
|
|
28585
28724
|
},
|
|
28725
|
+
"/locks/simulate/keypad_code_entry": {
|
|
28726
|
+
post: {
|
|
28727
|
+
operationId: "locksSimulateKeypadCodeEntryPost",
|
|
28728
|
+
requestBody: {
|
|
28729
|
+
content: {
|
|
28730
|
+
"application/json": {
|
|
28731
|
+
schema: {
|
|
28732
|
+
properties: {
|
|
28733
|
+
code: { type: "string" },
|
|
28734
|
+
device_id: { format: "uuid", type: "string" }
|
|
28735
|
+
},
|
|
28736
|
+
required: ["device_id", "code"],
|
|
28737
|
+
type: "object"
|
|
28738
|
+
}
|
|
28739
|
+
}
|
|
28740
|
+
}
|
|
28741
|
+
},
|
|
28742
|
+
responses: {
|
|
28743
|
+
200: {
|
|
28744
|
+
content: {
|
|
28745
|
+
"application/json": {
|
|
28746
|
+
schema: {
|
|
28747
|
+
properties: {
|
|
28748
|
+
action_attempt: {
|
|
28749
|
+
$ref: "#/components/schemas/access_code"
|
|
28750
|
+
},
|
|
28751
|
+
ok: { type: "boolean" }
|
|
28752
|
+
},
|
|
28753
|
+
required: ["ok"],
|
|
28754
|
+
type: "object"
|
|
28755
|
+
}
|
|
28756
|
+
}
|
|
28757
|
+
},
|
|
28758
|
+
description: "OK"
|
|
28759
|
+
},
|
|
28760
|
+
400: { description: "Bad Request" },
|
|
28761
|
+
401: { description: "Unauthorized" }
|
|
28762
|
+
},
|
|
28763
|
+
security: [
|
|
28764
|
+
{ api_key: [] },
|
|
28765
|
+
{ pat_with_workspace: [] },
|
|
28766
|
+
{ console_session_with_workspace: [] }
|
|
28767
|
+
],
|
|
28768
|
+
summary: "/locks/simulate/keypad_code_entry",
|
|
28769
|
+
tags: ["/locks"],
|
|
28770
|
+
"x-action-attempt-type": "SIMULATE_KEYPAD_CODE_ENTRY",
|
|
28771
|
+
"x-fern-sdk-group-name": ["locks", "simulate"],
|
|
28772
|
+
"x-fern-sdk-method-name": "keypad_code_entry",
|
|
28773
|
+
"x-fern-sdk-return-value": "action_attempt",
|
|
28774
|
+
"x-response-key": "action_attempt",
|
|
28775
|
+
"x-undocumented": "Unreleased."
|
|
28776
|
+
}
|
|
28777
|
+
},
|
|
28778
|
+
"/locks/simulate/manual_lock_via_keypad": {
|
|
28779
|
+
post: {
|
|
28780
|
+
operationId: "locksSimulateManualLockViaKeypadPost",
|
|
28781
|
+
requestBody: {
|
|
28782
|
+
content: {
|
|
28783
|
+
"application/json": {
|
|
28784
|
+
schema: {
|
|
28785
|
+
properties: { device_id: { format: "uuid", type: "string" } },
|
|
28786
|
+
required: ["device_id"],
|
|
28787
|
+
type: "object"
|
|
28788
|
+
}
|
|
28789
|
+
}
|
|
28790
|
+
}
|
|
28791
|
+
},
|
|
28792
|
+
responses: {
|
|
28793
|
+
200: {
|
|
28794
|
+
content: {
|
|
28795
|
+
"application/json": {
|
|
28796
|
+
schema: {
|
|
28797
|
+
properties: {
|
|
28798
|
+
action_attempt: {
|
|
28799
|
+
$ref: "#/components/schemas/access_code"
|
|
28800
|
+
},
|
|
28801
|
+
ok: { type: "boolean" }
|
|
28802
|
+
},
|
|
28803
|
+
required: ["ok"],
|
|
28804
|
+
type: "object"
|
|
28805
|
+
}
|
|
28806
|
+
}
|
|
28807
|
+
},
|
|
28808
|
+
description: "OK"
|
|
28809
|
+
},
|
|
28810
|
+
400: { description: "Bad Request" },
|
|
28811
|
+
401: { description: "Unauthorized" }
|
|
28812
|
+
},
|
|
28813
|
+
security: [
|
|
28814
|
+
{ api_key: [] },
|
|
28815
|
+
{ pat_with_workspace: [] },
|
|
28816
|
+
{ console_session_with_workspace: [] }
|
|
28817
|
+
],
|
|
28818
|
+
summary: "/locks/simulate/manual_lock_via_keypad",
|
|
28819
|
+
tags: ["/locks"],
|
|
28820
|
+
"x-action-attempt-type": "SIMULATE_MANUAL_LOCK_VIA_KEYPAD",
|
|
28821
|
+
"x-fern-sdk-group-name": ["locks", "simulate"],
|
|
28822
|
+
"x-fern-sdk-method-name": "manual_lock_via_keypad",
|
|
28823
|
+
"x-response-key": null,
|
|
28824
|
+
"x-undocumented": "Unreleased."
|
|
28825
|
+
}
|
|
28826
|
+
},
|
|
28586
28827
|
"/locks/unlock_door": {
|
|
28587
28828
|
post: {
|
|
28588
28829
|
operationId: "locksUnlockDoorPost",
|
|
@@ -30651,6 +30892,62 @@ var openapi_default = {
|
|
|
30651
30892
|
"x-undocumented": "Seam Bridge Client only."
|
|
30652
30893
|
}
|
|
30653
30894
|
},
|
|
30895
|
+
"/seam/instant_key/v1/client_sessions/exchange_short_code": {
|
|
30896
|
+
post: {
|
|
30897
|
+
description: "Exchanges a short code for a Client Session Token (CST).\nThis endpoint is used by mobile apps to securely retrieve a client session token \nusing a short code obtained from an instant key URL.",
|
|
30898
|
+
operationId: "seamInstantKeyV1ClientSessionsExchangeShortCodePost",
|
|
30899
|
+
requestBody: {
|
|
30900
|
+
content: {
|
|
30901
|
+
"application/json": {
|
|
30902
|
+
schema: {
|
|
30903
|
+
properties: {
|
|
30904
|
+
short_code: {
|
|
30905
|
+
description: "The short code to exchange for a client session token",
|
|
30906
|
+
type: "string"
|
|
30907
|
+
}
|
|
30908
|
+
},
|
|
30909
|
+
required: ["short_code"],
|
|
30910
|
+
type: "object"
|
|
30911
|
+
}
|
|
30912
|
+
}
|
|
30913
|
+
}
|
|
30914
|
+
},
|
|
30915
|
+
responses: {
|
|
30916
|
+
200: {
|
|
30917
|
+
content: {
|
|
30918
|
+
"application/json": {
|
|
30919
|
+
schema: {
|
|
30920
|
+
properties: {
|
|
30921
|
+
client_session: {
|
|
30922
|
+
$ref: "#/components/schemas/client_session"
|
|
30923
|
+
},
|
|
30924
|
+
ok: { type: "boolean" }
|
|
30925
|
+
},
|
|
30926
|
+
required: ["client_session", "ok"],
|
|
30927
|
+
type: "object"
|
|
30928
|
+
}
|
|
30929
|
+
}
|
|
30930
|
+
},
|
|
30931
|
+
description: "OK"
|
|
30932
|
+
},
|
|
30933
|
+
400: { description: "Bad Request" },
|
|
30934
|
+
401: { description: "Unauthorized" }
|
|
30935
|
+
},
|
|
30936
|
+
security: [{ certified_client: [] }],
|
|
30937
|
+
summary: "/seam/instant_key/v1/client_sessions/exchange_short_code",
|
|
30938
|
+
tags: ["/client_sessions"],
|
|
30939
|
+
"x-fern-sdk-group-name": [
|
|
30940
|
+
"seam",
|
|
30941
|
+
"instant_key",
|
|
30942
|
+
"v1",
|
|
30943
|
+
"client_sessions"
|
|
30944
|
+
],
|
|
30945
|
+
"x-fern-sdk-method-name": "exchange_short_code",
|
|
30946
|
+
"x-fern-sdk-return-value": "client_session",
|
|
30947
|
+
"x-response-key": "client_session",
|
|
30948
|
+
"x-title": "Exchange Instant Key Short Code"
|
|
30949
|
+
}
|
|
30950
|
+
},
|
|
30654
30951
|
"/thermostats/activate_climate_preset": {
|
|
30655
30952
|
post: {
|
|
30656
30953
|
description: "Activates a specified [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) for a specified [thermostat](https://docs.seam.co/latest/capability-guides/thermostats).",
|
|
@@ -32684,20 +32981,6 @@ var openapi_default = {
|
|
|
32684
32981
|
},
|
|
32685
32982
|
{
|
|
32686
32983
|
properties: {
|
|
32687
|
-
desired_access_methods: {
|
|
32688
|
-
items: {
|
|
32689
|
-
properties: {
|
|
32690
|
-
mode: {
|
|
32691
|
-
description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
|
|
32692
|
-
enum: ["code", "card", "mobile_key"],
|
|
32693
|
-
type: "string"
|
|
32694
|
-
}
|
|
32695
|
-
},
|
|
32696
|
-
required: ["mode"],
|
|
32697
|
-
type: "object"
|
|
32698
|
-
},
|
|
32699
|
-
type: "array"
|
|
32700
|
-
},
|
|
32701
32984
|
ends_at: {
|
|
32702
32985
|
description: "Date and time at which the validity of the new grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.",
|
|
32703
32986
|
format: "date-time",
|
|
@@ -32717,6 +33000,10 @@ var openapi_default = {
|
|
|
32717
33000
|
description: "Set of IDs of the [devices](https://docs.seam.co/latest/api/devices/list) to add to the location to which access is being granted.",
|
|
32718
33001
|
items: { format: "uuid", type: "string" },
|
|
32719
33002
|
type: "array"
|
|
33003
|
+
},
|
|
33004
|
+
name: {
|
|
33005
|
+
description: "Name of the location.",
|
|
33006
|
+
type: "string"
|
|
32720
33007
|
}
|
|
32721
33008
|
},
|
|
32722
33009
|
type: "object"
|
|
@@ -32726,13 +33013,27 @@ var openapi_default = {
|
|
|
32726
33013
|
items: { format: "uuid", type: "string" },
|
|
32727
33014
|
type: "array"
|
|
32728
33015
|
},
|
|
33016
|
+
requested_access_methods: {
|
|
33017
|
+
items: {
|
|
33018
|
+
properties: {
|
|
33019
|
+
mode: {
|
|
33020
|
+
description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
|
|
33021
|
+
enum: ["code", "card", "mobile_key"],
|
|
33022
|
+
type: "string"
|
|
33023
|
+
}
|
|
33024
|
+
},
|
|
33025
|
+
required: ["mode"],
|
|
33026
|
+
type: "object"
|
|
33027
|
+
},
|
|
33028
|
+
type: "array"
|
|
33029
|
+
},
|
|
32729
33030
|
starts_at: {
|
|
32730
33031
|
description: "Date and time at which the validity of the new grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.",
|
|
32731
33032
|
format: "date-time",
|
|
32732
33033
|
type: "string"
|
|
32733
33034
|
}
|
|
32734
33035
|
},
|
|
32735
|
-
required: ["
|
|
33036
|
+
required: ["requested_access_methods"],
|
|
32736
33037
|
type: "object"
|
|
32737
33038
|
}
|
|
32738
33039
|
]
|
|
@@ -32753,6 +33054,11 @@ var openapi_default = {
|
|
|
32753
33054
|
format: "uuid",
|
|
32754
33055
|
type: "string"
|
|
32755
33056
|
},
|
|
33057
|
+
access_method_ids: {
|
|
33058
|
+
description: "IDs of the access methods that were created for this access grant.",
|
|
33059
|
+
items: { format: "uuid", type: "string" },
|
|
33060
|
+
type: "array"
|
|
33061
|
+
},
|
|
32756
33062
|
created_at: {
|
|
32757
33063
|
description: "Date and time at which the access grant was created.",
|
|
32758
33064
|
format: "date-time",
|
|
@@ -32771,6 +33077,11 @@ var openapi_default = {
|
|
|
32771
33077
|
description: "Access methods that the user requested for this access grant.",
|
|
32772
33078
|
items: {
|
|
32773
33079
|
properties: {
|
|
33080
|
+
created_access_method_ids: {
|
|
33081
|
+
description: "IDs of the access methods that were created for this requested access method.",
|
|
33082
|
+
items: { format: "uuid", type: "string" },
|
|
33083
|
+
type: "array"
|
|
33084
|
+
},
|
|
32774
33085
|
created_at: {
|
|
32775
33086
|
description: "Date and time at which the requested access method was added to this access grant.",
|
|
32776
33087
|
format: "date-time",
|
|
@@ -32784,18 +33095,13 @@ var openapi_default = {
|
|
|
32784
33095
|
description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
|
|
32785
33096
|
enum: ["code", "card", "mobile_key"],
|
|
32786
33097
|
type: "string"
|
|
32787
|
-
},
|
|
32788
|
-
provisioned_access_method_ids: {
|
|
32789
|
-
description: "IDs of the locations to which access is being given.",
|
|
32790
|
-
items: { format: "uuid", type: "string" },
|
|
32791
|
-
type: "array"
|
|
32792
33098
|
}
|
|
32793
33099
|
},
|
|
32794
33100
|
required: [
|
|
32795
33101
|
"display_name",
|
|
32796
33102
|
"mode",
|
|
32797
33103
|
"created_at",
|
|
32798
|
-
"
|
|
33104
|
+
"created_access_method_ids"
|
|
32799
33105
|
],
|
|
32800
33106
|
type: "object",
|
|
32801
33107
|
"x-undocumented": "Unreleased."
|
|
@@ -32819,6 +33125,7 @@ var openapi_default = {
|
|
|
32819
33125
|
"user_identity_id",
|
|
32820
33126
|
"location_ids",
|
|
32821
33127
|
"requested_access_methods",
|
|
33128
|
+
"access_method_ids",
|
|
32822
33129
|
"display_name",
|
|
32823
33130
|
"created_at"
|
|
32824
33131
|
],
|
|
@@ -32886,6 +33193,11 @@ var openapi_default = {
|
|
|
32886
33193
|
format: "uuid",
|
|
32887
33194
|
type: "string"
|
|
32888
33195
|
},
|
|
33196
|
+
access_method_ids: {
|
|
33197
|
+
description: "IDs of the access methods that were created for this access grant.",
|
|
33198
|
+
items: { format: "uuid", type: "string" },
|
|
33199
|
+
type: "array"
|
|
33200
|
+
},
|
|
32889
33201
|
created_at: {
|
|
32890
33202
|
description: "Date and time at which the access grant was created.",
|
|
32891
33203
|
format: "date-time",
|
|
@@ -32904,6 +33216,11 @@ var openapi_default = {
|
|
|
32904
33216
|
description: "Access methods that the user requested for this access grant.",
|
|
32905
33217
|
items: {
|
|
32906
33218
|
properties: {
|
|
33219
|
+
created_access_method_ids: {
|
|
33220
|
+
description: "IDs of the access methods that were created for this requested access method.",
|
|
33221
|
+
items: { format: "uuid", type: "string" },
|
|
33222
|
+
type: "array"
|
|
33223
|
+
},
|
|
32907
33224
|
created_at: {
|
|
32908
33225
|
description: "Date and time at which the requested access method was added to this access grant.",
|
|
32909
33226
|
format: "date-time",
|
|
@@ -32917,18 +33234,13 @@ var openapi_default = {
|
|
|
32917
33234
|
description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
|
|
32918
33235
|
enum: ["code", "card", "mobile_key"],
|
|
32919
33236
|
type: "string"
|
|
32920
|
-
},
|
|
32921
|
-
provisioned_access_method_ids: {
|
|
32922
|
-
description: "IDs of the locations to which access is being given.",
|
|
32923
|
-
items: { format: "uuid", type: "string" },
|
|
32924
|
-
type: "array"
|
|
32925
33237
|
}
|
|
32926
33238
|
},
|
|
32927
33239
|
required: [
|
|
32928
33240
|
"display_name",
|
|
32929
33241
|
"mode",
|
|
32930
33242
|
"created_at",
|
|
32931
|
-
"
|
|
33243
|
+
"created_access_method_ids"
|
|
32932
33244
|
],
|
|
32933
33245
|
type: "object",
|
|
32934
33246
|
"x-undocumented": "Unreleased."
|
|
@@ -32952,6 +33264,7 @@ var openapi_default = {
|
|
|
32952
33264
|
"user_identity_id",
|
|
32953
33265
|
"location_ids",
|
|
32954
33266
|
"requested_access_methods",
|
|
33267
|
+
"access_method_ids",
|
|
32955
33268
|
"display_name",
|
|
32956
33269
|
"created_at"
|
|
32957
33270
|
],
|
|
@@ -33034,6 +33347,11 @@ var openapi_default = {
|
|
|
33034
33347
|
format: "uuid",
|
|
33035
33348
|
type: "string"
|
|
33036
33349
|
},
|
|
33350
|
+
access_method_ids: {
|
|
33351
|
+
description: "IDs of the access methods that were created for this access grant.",
|
|
33352
|
+
items: { format: "uuid", type: "string" },
|
|
33353
|
+
type: "array"
|
|
33354
|
+
},
|
|
33037
33355
|
created_at: {
|
|
33038
33356
|
description: "Date and time at which the access grant was created.",
|
|
33039
33357
|
format: "date-time",
|
|
@@ -33052,6 +33370,11 @@ var openapi_default = {
|
|
|
33052
33370
|
description: "Access methods that the user requested for this access grant.",
|
|
33053
33371
|
items: {
|
|
33054
33372
|
properties: {
|
|
33373
|
+
created_access_method_ids: {
|
|
33374
|
+
description: "IDs of the access methods that were created for this requested access method.",
|
|
33375
|
+
items: { format: "uuid", type: "string" },
|
|
33376
|
+
type: "array"
|
|
33377
|
+
},
|
|
33055
33378
|
created_at: {
|
|
33056
33379
|
description: "Date and time at which the requested access method was added to this access grant.",
|
|
33057
33380
|
format: "date-time",
|
|
@@ -33065,18 +33388,13 @@ var openapi_default = {
|
|
|
33065
33388
|
description: "Access method mode. Supported values: `code`, `card`, `mobile_key`.",
|
|
33066
33389
|
enum: ["code", "card", "mobile_key"],
|
|
33067
33390
|
type: "string"
|
|
33068
|
-
},
|
|
33069
|
-
provisioned_access_method_ids: {
|
|
33070
|
-
description: "IDs of the locations to which access is being given.",
|
|
33071
|
-
items: { format: "uuid", type: "string" },
|
|
33072
|
-
type: "array"
|
|
33073
33391
|
}
|
|
33074
33392
|
},
|
|
33075
33393
|
required: [
|
|
33076
33394
|
"display_name",
|
|
33077
33395
|
"mode",
|
|
33078
33396
|
"created_at",
|
|
33079
|
-
"
|
|
33397
|
+
"created_access_method_ids"
|
|
33080
33398
|
],
|
|
33081
33399
|
type: "object",
|
|
33082
33400
|
"x-undocumented": "Unreleased."
|
|
@@ -33100,6 +33418,7 @@ var openapi_default = {
|
|
|
33100
33418
|
"user_identity_id",
|
|
33101
33419
|
"location_ids",
|
|
33102
33420
|
"requested_access_methods",
|
|
33421
|
+
"access_method_ids",
|
|
33103
33422
|
"display_name",
|
|
33104
33423
|
"created_at"
|
|
33105
33424
|
],
|
|
@@ -33135,10 +33454,10 @@ var openapi_default = {
|
|
|
33135
33454
|
"x-undocumented": "Unreleased."
|
|
33136
33455
|
}
|
|
33137
33456
|
},
|
|
33138
|
-
"/
|
|
33457
|
+
"/unstable_access_methods/list": {
|
|
33139
33458
|
post: {
|
|
33140
|
-
description: "List all access methods
|
|
33141
|
-
operationId: "
|
|
33459
|
+
description: "List all access methods, usually filtered by access grant.",
|
|
33460
|
+
operationId: "unstableAccessMethodsListPost",
|
|
33142
33461
|
requestBody: {
|
|
33143
33462
|
content: {
|
|
33144
33463
|
"application/json": {
|
|
@@ -33226,13 +33545,13 @@ var openapi_default = {
|
|
|
33226
33545
|
{ console_session_with_workspace: [] },
|
|
33227
33546
|
{ api_key: [] }
|
|
33228
33547
|
],
|
|
33229
|
-
summary: "/
|
|
33548
|
+
summary: "/unstable_access_methods/list",
|
|
33230
33549
|
tags: [],
|
|
33231
|
-
"x-fern-sdk-group-name": ["
|
|
33232
|
-
"x-fern-sdk-method-name": "
|
|
33550
|
+
"x-fern-sdk-group-name": ["unstable_access_methods"],
|
|
33551
|
+
"x-fern-sdk-method-name": "list",
|
|
33233
33552
|
"x-fern-sdk-return-value": "access_methods",
|
|
33234
33553
|
"x-response-key": "access_methods",
|
|
33235
|
-
"x-title": "
|
|
33554
|
+
"x-title": "List Access Methods",
|
|
33236
33555
|
"x-undocumented": "Unreleased."
|
|
33237
33556
|
}
|
|
33238
33557
|
},
|