@seamapi/types 1.448.0 → 1.450.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 +52 -7
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +119 -0
- package/dist/index.cjs +52 -7
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-grants/access-grant.d.ts +3 -0
- package/lib/seam/connect/models/access-grants/access-grant.js +4 -0
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +99 -0
- package/lib/seam/connect/openapi.js +45 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +17 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +6 -0
- package/src/lib/seam/connect/openapi.ts +50 -0
- package/src/lib/seam/connect/route-types.ts +19 -0
package/dist/connect.cjs
CHANGED
|
@@ -7117,6 +7117,10 @@ var openapi_default = {
|
|
|
7117
7117
|
items: { format: "uuid", type: "string" },
|
|
7118
7118
|
type: "array"
|
|
7119
7119
|
},
|
|
7120
|
+
client_session_token: {
|
|
7121
|
+
description: "Client Session Token. Only returned if the Access Grant has a mobile_key access method.",
|
|
7122
|
+
type: "string"
|
|
7123
|
+
},
|
|
7120
7124
|
created_at: {
|
|
7121
7125
|
description: "Date and time at which the Access Grant was created.",
|
|
7122
7126
|
format: "date-time",
|
|
@@ -39205,6 +39209,20 @@ var openapi_default = {
|
|
|
39205
39209
|
"application/json": {
|
|
39206
39210
|
schema: {
|
|
39207
39211
|
properties: {
|
|
39212
|
+
accepted_capabilities: {
|
|
39213
|
+
description: "List of accepted device capabilities that restrict the types of devices that can be connected through this connected account. Valid values are `lock`, `thermostat`, `noise_sensor`, and `access_control`.",
|
|
39214
|
+
items: {
|
|
39215
|
+
description: "\n High-level device capabilities that can be restricted in connect webviews.\n These represent the main device categories that customers can opt into.\n",
|
|
39216
|
+
enum: [
|
|
39217
|
+
"lock",
|
|
39218
|
+
"thermostat",
|
|
39219
|
+
"noise_sensor",
|
|
39220
|
+
"access_control"
|
|
39221
|
+
],
|
|
39222
|
+
type: "string"
|
|
39223
|
+
},
|
|
39224
|
+
type: "array"
|
|
39225
|
+
},
|
|
39208
39226
|
automatically_manage_new_devices: {
|
|
39209
39227
|
description: "Indicates whether newly-added devices should appear as [managed devices](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices).",
|
|
39210
39228
|
type: "boolean"
|
|
@@ -48372,6 +48390,7 @@ var openapi_default = {
|
|
|
48372
48390
|
},
|
|
48373
48391
|
type: "array"
|
|
48374
48392
|
},
|
|
48393
|
+
is_draft: { type: "boolean" },
|
|
48375
48394
|
name: { type: "string" },
|
|
48376
48395
|
needs_review: { type: "boolean" },
|
|
48377
48396
|
partner_resource_key: { type: "string" }
|
|
@@ -48467,6 +48486,7 @@ var openapi_default = {
|
|
|
48467
48486
|
},
|
|
48468
48487
|
type: "array"
|
|
48469
48488
|
},
|
|
48489
|
+
is_draft: { type: "boolean" },
|
|
48470
48490
|
name: { type: "string" },
|
|
48471
48491
|
needs_review: { type: "boolean" },
|
|
48472
48492
|
partner_resource_key: { type: "string" }
|
|
@@ -48555,7 +48575,8 @@ var openapi_default = {
|
|
|
48555
48575
|
security: [
|
|
48556
48576
|
{ pat_with_workspace: [] },
|
|
48557
48577
|
{ console_session_with_workspace: [] },
|
|
48558
|
-
{ api_key: [] }
|
|
48578
|
+
{ api_key: [] },
|
|
48579
|
+
{ client_session_with_customer: [] }
|
|
48559
48580
|
],
|
|
48560
48581
|
summary: "/spaces/add_acs_entrances",
|
|
48561
48582
|
tags: [],
|
|
@@ -48610,7 +48631,8 @@ var openapi_default = {
|
|
|
48610
48631
|
security: [
|
|
48611
48632
|
{ pat_with_workspace: [] },
|
|
48612
48633
|
{ console_session_with_workspace: [] },
|
|
48613
|
-
{ api_key: [] }
|
|
48634
|
+
{ api_key: [] },
|
|
48635
|
+
{ client_session_with_customer: [] }
|
|
48614
48636
|
],
|
|
48615
48637
|
summary: "/spaces/add_acs_entrances",
|
|
48616
48638
|
tags: [],
|
|
@@ -48667,7 +48689,8 @@ var openapi_default = {
|
|
|
48667
48689
|
security: [
|
|
48668
48690
|
{ pat_with_workspace: [] },
|
|
48669
48691
|
{ console_session_with_workspace: [] },
|
|
48670
|
-
{ api_key: [] }
|
|
48692
|
+
{ api_key: [] },
|
|
48693
|
+
{ client_session_with_customer: [] }
|
|
48671
48694
|
],
|
|
48672
48695
|
summary: "/spaces/add_devices",
|
|
48673
48696
|
tags: [],
|
|
@@ -48722,7 +48745,8 @@ var openapi_default = {
|
|
|
48722
48745
|
security: [
|
|
48723
48746
|
{ pat_with_workspace: [] },
|
|
48724
48747
|
{ console_session_with_workspace: [] },
|
|
48725
|
-
{ api_key: [] }
|
|
48748
|
+
{ api_key: [] },
|
|
48749
|
+
{ client_session_with_customer: [] }
|
|
48726
48750
|
],
|
|
48727
48751
|
summary: "/spaces/add_devices",
|
|
48728
48752
|
tags: [],
|
|
@@ -48789,7 +48813,8 @@ var openapi_default = {
|
|
|
48789
48813
|
security: [
|
|
48790
48814
|
{ pat_with_workspace: [] },
|
|
48791
48815
|
{ console_session_with_workspace: [] },
|
|
48792
|
-
{ api_key: [] }
|
|
48816
|
+
{ api_key: [] },
|
|
48817
|
+
{ client_session_with_customer: [] }
|
|
48793
48818
|
],
|
|
48794
48819
|
summary: "/spaces/create",
|
|
48795
48820
|
tags: [],
|
|
@@ -49203,6 +49228,17 @@ var openapi_default = {
|
|
|
49203
49228
|
type: "string"
|
|
49204
49229
|
}
|
|
49205
49230
|
},
|
|
49231
|
+
{
|
|
49232
|
+
in: "query",
|
|
49233
|
+
name: "connected_account_id",
|
|
49234
|
+
schema: {
|
|
49235
|
+
description: "Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account.",
|
|
49236
|
+
format: "uuid",
|
|
49237
|
+
type: "string",
|
|
49238
|
+
"x-draft": "Needs review.",
|
|
49239
|
+
"x-undocumented": "Only used internally."
|
|
49240
|
+
}
|
|
49241
|
+
},
|
|
49206
49242
|
{
|
|
49207
49243
|
in: "query",
|
|
49208
49244
|
name: "space_key",
|
|
@@ -49237,7 +49273,8 @@ var openapi_default = {
|
|
|
49237
49273
|
security: [
|
|
49238
49274
|
{ pat_with_workspace: [] },
|
|
49239
49275
|
{ console_session_with_workspace: [] },
|
|
49240
|
-
{ api_key: [] }
|
|
49276
|
+
{ api_key: [] },
|
|
49277
|
+
{ client_session_with_customer: [] }
|
|
49241
49278
|
],
|
|
49242
49279
|
summary: "/spaces/list",
|
|
49243
49280
|
tags: [],
|
|
@@ -49256,6 +49293,13 @@ var openapi_default = {
|
|
|
49256
49293
|
"application/json": {
|
|
49257
49294
|
schema: {
|
|
49258
49295
|
properties: {
|
|
49296
|
+
connected_account_id: {
|
|
49297
|
+
description: "Filter spaces to only include those that contain devices or access control systems belonging to the specified connected account.",
|
|
49298
|
+
format: "uuid",
|
|
49299
|
+
type: "string",
|
|
49300
|
+
"x-draft": "Needs review.",
|
|
49301
|
+
"x-undocumented": "Only used internally."
|
|
49302
|
+
},
|
|
49259
49303
|
search: {
|
|
49260
49304
|
description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
|
|
49261
49305
|
minLength: 1,
|
|
@@ -49296,7 +49340,8 @@ var openapi_default = {
|
|
|
49296
49340
|
security: [
|
|
49297
49341
|
{ pat_with_workspace: [] },
|
|
49298
49342
|
{ console_session_with_workspace: [] },
|
|
49299
|
-
{ api_key: [] }
|
|
49343
|
+
{ api_key: [] },
|
|
49344
|
+
{ client_session_with_customer: [] }
|
|
49300
49345
|
],
|
|
49301
49346
|
summary: "/spaces/list",
|
|
49302
49347
|
tags: [],
|