@seamapi/types 1.367.2 → 1.368.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 +96 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +190 -0
- package/lib/seam/connect/openapi.d.ts +166 -0
- package/lib/seam/connect/openapi.js +94 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +24 -0
- package/package.json +3 -3
- package/src/lib/seam/connect/openapi.ts +94 -0
- package/src/lib/seam/connect/route-types.ts +24 -0
package/dist/connect.cjs
CHANGED
|
@@ -25340,6 +25340,96 @@ var openapi_default = {
|
|
|
25340
25340
|
"x-response-key": "device_providers"
|
|
25341
25341
|
}
|
|
25342
25342
|
},
|
|
25343
|
+
"/devices/simulate/access_code_lock": {
|
|
25344
|
+
post: {
|
|
25345
|
+
operationId: "devicesSimulateAccessCodeLockPost",
|
|
25346
|
+
requestBody: {
|
|
25347
|
+
content: {
|
|
25348
|
+
"application/json": {
|
|
25349
|
+
schema: {
|
|
25350
|
+
properties: {
|
|
25351
|
+
access_code_id: { format: "uuid", type: "string" },
|
|
25352
|
+
device_id: { format: "uuid", type: "string" }
|
|
25353
|
+
},
|
|
25354
|
+
required: ["device_id", "access_code_id"],
|
|
25355
|
+
type: "object"
|
|
25356
|
+
}
|
|
25357
|
+
}
|
|
25358
|
+
}
|
|
25359
|
+
},
|
|
25360
|
+
responses: {
|
|
25361
|
+
200: {
|
|
25362
|
+
content: {
|
|
25363
|
+
"application/json": {
|
|
25364
|
+
schema: {
|
|
25365
|
+
properties: { ok: { type: "boolean" } },
|
|
25366
|
+
required: ["ok"],
|
|
25367
|
+
type: "object"
|
|
25368
|
+
}
|
|
25369
|
+
}
|
|
25370
|
+
},
|
|
25371
|
+
description: "OK"
|
|
25372
|
+
},
|
|
25373
|
+
400: { description: "Bad Request" },
|
|
25374
|
+
401: { description: "Unauthorized" }
|
|
25375
|
+
},
|
|
25376
|
+
security: [
|
|
25377
|
+
{ api_key: [] },
|
|
25378
|
+
{ pat_with_workspace: [] },
|
|
25379
|
+
{ console_session_with_workspace: [] }
|
|
25380
|
+
],
|
|
25381
|
+
summary: "/devices/simulate/access_code_lock",
|
|
25382
|
+
tags: ["/devices"],
|
|
25383
|
+
"x-fern-sdk-group-name": ["devices", "simulate"],
|
|
25384
|
+
"x-fern-sdk-method-name": "access_code_lock",
|
|
25385
|
+
"x-response-key": null
|
|
25386
|
+
}
|
|
25387
|
+
},
|
|
25388
|
+
"/devices/simulate/access_code_unlock": {
|
|
25389
|
+
post: {
|
|
25390
|
+
operationId: "devicesSimulateAccessCodeUnlockPost",
|
|
25391
|
+
requestBody: {
|
|
25392
|
+
content: {
|
|
25393
|
+
"application/json": {
|
|
25394
|
+
schema: {
|
|
25395
|
+
properties: {
|
|
25396
|
+
access_code_id: { format: "uuid", type: "string" },
|
|
25397
|
+
device_id: { format: "uuid", type: "string" }
|
|
25398
|
+
},
|
|
25399
|
+
required: ["device_id", "access_code_id"],
|
|
25400
|
+
type: "object"
|
|
25401
|
+
}
|
|
25402
|
+
}
|
|
25403
|
+
}
|
|
25404
|
+
},
|
|
25405
|
+
responses: {
|
|
25406
|
+
200: {
|
|
25407
|
+
content: {
|
|
25408
|
+
"application/json": {
|
|
25409
|
+
schema: {
|
|
25410
|
+
properties: { ok: { type: "boolean" } },
|
|
25411
|
+
required: ["ok"],
|
|
25412
|
+
type: "object"
|
|
25413
|
+
}
|
|
25414
|
+
}
|
|
25415
|
+
},
|
|
25416
|
+
description: "OK"
|
|
25417
|
+
},
|
|
25418
|
+
400: { description: "Bad Request" },
|
|
25419
|
+
401: { description: "Unauthorized" }
|
|
25420
|
+
},
|
|
25421
|
+
security: [
|
|
25422
|
+
{ api_key: [] },
|
|
25423
|
+
{ pat_with_workspace: [] },
|
|
25424
|
+
{ console_session_with_workspace: [] }
|
|
25425
|
+
],
|
|
25426
|
+
summary: "/devices/simulate/access_code_unlock",
|
|
25427
|
+
tags: ["/devices"],
|
|
25428
|
+
"x-fern-sdk-group-name": ["devices", "simulate"],
|
|
25429
|
+
"x-fern-sdk-method-name": "access_code_unlock",
|
|
25430
|
+
"x-response-key": null
|
|
25431
|
+
}
|
|
25432
|
+
},
|
|
25343
25433
|
"/devices/simulate/connect": {
|
|
25344
25434
|
post: {
|
|
25345
25435
|
operationId: "devicesSimulateConnectPost",
|
|
@@ -28722,6 +28812,7 @@ var openapi_default = {
|
|
|
28722
28812
|
401: { description: "Unauthorized" }
|
|
28723
28813
|
},
|
|
28724
28814
|
security: [
|
|
28815
|
+
{ client_session: [] },
|
|
28725
28816
|
{ pat_with_workspace: [] },
|
|
28726
28817
|
{ console_session_with_workspace: [] },
|
|
28727
28818
|
{ api_key: [] }
|
|
@@ -28776,6 +28867,7 @@ var openapi_default = {
|
|
|
28776
28867
|
401: { description: "Unauthorized" }
|
|
28777
28868
|
},
|
|
28778
28869
|
security: [
|
|
28870
|
+
{ client_session: [] },
|
|
28779
28871
|
{ pat_with_workspace: [] },
|
|
28780
28872
|
{ console_session_with_workspace: [] },
|
|
28781
28873
|
{ api_key: [] }
|
|
@@ -30493,7 +30585,8 @@ var openapi_default = {
|
|
|
30493
30585
|
security: [
|
|
30494
30586
|
{ pat_with_workspace: [] },
|
|
30495
30587
|
{ console_session_with_workspace: [] },
|
|
30496
|
-
{ api_key: [] }
|
|
30588
|
+
{ api_key: [] },
|
|
30589
|
+
{ client_session: [] }
|
|
30497
30590
|
],
|
|
30498
30591
|
summary: "/thermostats/update_climate_preset",
|
|
30499
30592
|
tags: ["/thermostats"],
|
|
@@ -30590,7 +30683,8 @@ var openapi_default = {
|
|
|
30590
30683
|
security: [
|
|
30591
30684
|
{ pat_with_workspace: [] },
|
|
30592
30685
|
{ console_session_with_workspace: [] },
|
|
30593
|
-
{ api_key: [] }
|
|
30686
|
+
{ api_key: [] },
|
|
30687
|
+
{ client_session: [] }
|
|
30594
30688
|
],
|
|
30595
30689
|
summary: "/thermostats/update_climate_preset",
|
|
30596
30690
|
tags: ["/thermostats"],
|