@seamapi/types 1.54.0 → 1.56.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 +82 -7
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +142 -15
- package/lib/seam/connect/openapi.d.ts +97 -10
- package/lib/seam/connect/openapi.js +78 -3
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +45 -5
- package/lib/seam/connect/unstable/models/acs/system.d.ts +7 -7
- package/lib/seam/connect/unstable/models/acs/system.js +2 -0
- package/lib/seam/connect/unstable/models/acs/system.js.map +1 -1
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.d.ts +10 -0
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.js +10 -0
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +80 -3
- package/src/lib/seam/connect/route-types.ts +49 -0
- package/src/lib/seam/connect/unstable/models/acs/system.ts +2 -0
- package/src/lib/seam/connect/unstable/models/devices/unmanaged-device.ts +14 -0
package/dist/connect.cjs
CHANGED
|
@@ -223,7 +223,9 @@ var openapi_default = {
|
|
|
223
223
|
"alta_org",
|
|
224
224
|
"salto_site",
|
|
225
225
|
"brivo_system",
|
|
226
|
-
"hid_cm_org"
|
|
226
|
+
"hid_cm_org",
|
|
227
|
+
"visionline_system",
|
|
228
|
+
"assa_abloy_cs_system_user"
|
|
227
229
|
],
|
|
228
230
|
type: "string"
|
|
229
231
|
},
|
|
@@ -236,7 +238,9 @@ var openapi_default = {
|
|
|
236
238
|
"alta_org",
|
|
237
239
|
"salto_site",
|
|
238
240
|
"brivo_system",
|
|
239
|
-
"hid_cm_org"
|
|
241
|
+
"hid_cm_org",
|
|
242
|
+
"visionline_system",
|
|
243
|
+
"assa_abloy_cs_system_user"
|
|
240
244
|
],
|
|
241
245
|
type: "string"
|
|
242
246
|
},
|
|
@@ -1787,6 +1791,12 @@ var openapi_default = {
|
|
|
1787
1791
|
is_managed: { enum: [false], type: "boolean" },
|
|
1788
1792
|
properties: {
|
|
1789
1793
|
properties: {
|
|
1794
|
+
battery_level: {
|
|
1795
|
+
description: "Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.",
|
|
1796
|
+
maximum: 1,
|
|
1797
|
+
minimum: 0,
|
|
1798
|
+
type: "number"
|
|
1799
|
+
},
|
|
1790
1800
|
image_alt_text: { type: "string" },
|
|
1791
1801
|
image_url: { type: "string" },
|
|
1792
1802
|
manufacturer: { type: "string" },
|
|
@@ -1799,7 +1809,11 @@ var openapi_default = {
|
|
|
1799
1809
|
type: "object"
|
|
1800
1810
|
},
|
|
1801
1811
|
name: { type: "string" },
|
|
1802
|
-
online: { type: "boolean" }
|
|
1812
|
+
online: { type: "boolean" },
|
|
1813
|
+
online_access_codes_enabled: {
|
|
1814
|
+
description: "Indicates whether it is currently possible to use online access codes for the device.",
|
|
1815
|
+
type: "boolean"
|
|
1816
|
+
}
|
|
1803
1817
|
},
|
|
1804
1818
|
required: ["name", "online", "model"],
|
|
1805
1819
|
type: "object"
|
|
@@ -1889,6 +1903,11 @@ var openapi_default = {
|
|
|
1889
1903
|
scheme: "bearer",
|
|
1890
1904
|
type: "http"
|
|
1891
1905
|
},
|
|
1906
|
+
pat_without_workspace: {
|
|
1907
|
+
bearerFormat: "API Token",
|
|
1908
|
+
scheme: "bearer",
|
|
1909
|
+
type: "http"
|
|
1910
|
+
},
|
|
1892
1911
|
seam_client_session_token: {
|
|
1893
1912
|
in: "header",
|
|
1894
1913
|
name: "seam-client-session-token",
|
|
@@ -4255,9 +4274,9 @@ var openapi_default = {
|
|
|
4255
4274
|
},
|
|
4256
4275
|
security: [
|
|
4257
4276
|
{ api_key: [] },
|
|
4258
|
-
{
|
|
4259
|
-
{
|
|
4260
|
-
{
|
|
4277
|
+
{ client_session: [] },
|
|
4278
|
+
{ pat_with_workspace: [] },
|
|
4279
|
+
{ console_session: [] }
|
|
4261
4280
|
],
|
|
4262
4281
|
summary: "/acs/entrances/list",
|
|
4263
4282
|
tags: [],
|
|
@@ -5513,6 +5532,7 @@ var openapi_default = {
|
|
|
5513
5532
|
"wyze",
|
|
5514
5533
|
"seam_passport",
|
|
5515
5534
|
"visionline",
|
|
5535
|
+
"assaabloy_credential_service",
|
|
5516
5536
|
"yale_access",
|
|
5517
5537
|
"hid_cm"
|
|
5518
5538
|
],
|
|
@@ -7438,9 +7458,12 @@ var openapi_default = {
|
|
|
7438
7458
|
action_attempt: {
|
|
7439
7459
|
$ref: "#/components/schemas/action_attempt"
|
|
7440
7460
|
},
|
|
7461
|
+
noise_threshold: {
|
|
7462
|
+
$ref: "#/components/schemas/noise_threshold"
|
|
7463
|
+
},
|
|
7441
7464
|
ok: { type: "boolean" }
|
|
7442
7465
|
},
|
|
7443
|
-
required: ["action_attempt", "ok"],
|
|
7466
|
+
required: ["action_attempt", "noise_threshold", "ok"],
|
|
7444
7467
|
type: "object"
|
|
7445
7468
|
}
|
|
7446
7469
|
}
|
|
@@ -9693,6 +9716,58 @@ var openapi_default = {
|
|
|
9693
9716
|
"x-fern-sdk-return-value": "webhooks"
|
|
9694
9717
|
}
|
|
9695
9718
|
},
|
|
9719
|
+
"/workspaces/create": {
|
|
9720
|
+
post: {
|
|
9721
|
+
operationId: "workspacesCreatePost",
|
|
9722
|
+
requestBody: {
|
|
9723
|
+
content: {
|
|
9724
|
+
"application/json": {
|
|
9725
|
+
schema: {
|
|
9726
|
+
properties: {
|
|
9727
|
+
connect_partner_name: {
|
|
9728
|
+
description: "The name shown inside the connect webview",
|
|
9729
|
+
type: "string"
|
|
9730
|
+
},
|
|
9731
|
+
is_sandbox: { default: false, type: "boolean" },
|
|
9732
|
+
name: { type: "string" },
|
|
9733
|
+
webview_logo_shape: {
|
|
9734
|
+
enum: ["circle", "square"],
|
|
9735
|
+
type: "string"
|
|
9736
|
+
},
|
|
9737
|
+
webview_primary_button_color: { type: "string" }
|
|
9738
|
+
},
|
|
9739
|
+
required: ["name", "connect_partner_name"],
|
|
9740
|
+
type: "object"
|
|
9741
|
+
}
|
|
9742
|
+
}
|
|
9743
|
+
}
|
|
9744
|
+
},
|
|
9745
|
+
responses: {
|
|
9746
|
+
200: {
|
|
9747
|
+
content: {
|
|
9748
|
+
"application/json": {
|
|
9749
|
+
schema: {
|
|
9750
|
+
properties: {
|
|
9751
|
+
ok: { type: "boolean" },
|
|
9752
|
+
workspace: { $ref: "#/components/schemas/workspace" }
|
|
9753
|
+
},
|
|
9754
|
+
required: ["workspace", "ok"],
|
|
9755
|
+
type: "object"
|
|
9756
|
+
}
|
|
9757
|
+
}
|
|
9758
|
+
},
|
|
9759
|
+
description: "OK"
|
|
9760
|
+
},
|
|
9761
|
+
400: { description: "Bad Request" },
|
|
9762
|
+
401: { description: "Unauthorized" }
|
|
9763
|
+
},
|
|
9764
|
+
security: [{ pat_without_workspace: [] }],
|
|
9765
|
+
summary: "/workspaces/create",
|
|
9766
|
+
tags: ["/workspaces"],
|
|
9767
|
+
"x-fern-sdk-group-name": ["workspaces"],
|
|
9768
|
+
"x-fern-sdk-method-name": "create"
|
|
9769
|
+
}
|
|
9770
|
+
},
|
|
9696
9771
|
"/workspaces/get": {
|
|
9697
9772
|
get: {
|
|
9698
9773
|
operationId: "workspacesGetGet",
|