@seamapi/types 1.61.0 → 1.62.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 +74 -13
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +171 -32
- package/lib/seam/connect/openapi.d.ts +123 -24
- package/lib/seam/connect/openapi.js +74 -13
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +48 -8
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.d.ts +70 -14
- package/lib/seam/connect/unstable/models/devices/unmanaged-device.js +12 -22
- 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 +81 -13
- package/src/lib/seam/connect/route-types.ts +52 -8
- package/src/lib/seam/connect/unstable/models/devices/unmanaged-device.ts +12 -26
package/dist/connect.cjs
CHANGED
|
@@ -1847,25 +1847,75 @@ var openapi_default = {
|
|
|
1847
1847
|
is_managed: { enum: [false], type: "boolean" },
|
|
1848
1848
|
properties: {
|
|
1849
1849
|
properties: {
|
|
1850
|
+
battery: {
|
|
1851
|
+
description: '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.',
|
|
1852
|
+
properties: {
|
|
1853
|
+
level: { maximum: 1, minimum: 0, type: "number" },
|
|
1854
|
+
status: {
|
|
1855
|
+
enum: ["critical", "low", "good", "full"],
|
|
1856
|
+
type: "string"
|
|
1857
|
+
}
|
|
1858
|
+
},
|
|
1859
|
+
required: ["level", "status"],
|
|
1860
|
+
type: "object"
|
|
1861
|
+
},
|
|
1850
1862
|
battery_level: {
|
|
1851
1863
|
description: "Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.",
|
|
1852
1864
|
maximum: 1,
|
|
1853
1865
|
minimum: 0,
|
|
1854
1866
|
type: "number"
|
|
1855
1867
|
},
|
|
1856
|
-
image_alt_text: {
|
|
1857
|
-
|
|
1858
|
-
|
|
1868
|
+
image_alt_text: {
|
|
1869
|
+
description: "Alt text for the device image.",
|
|
1870
|
+
type: "string"
|
|
1871
|
+
},
|
|
1872
|
+
image_url: {
|
|
1873
|
+
description: "Image URL for the device.",
|
|
1874
|
+
format: "uri",
|
|
1875
|
+
type: "string"
|
|
1876
|
+
},
|
|
1877
|
+
manufacturer: {
|
|
1878
|
+
description: "Manufacturer of the device.",
|
|
1879
|
+
type: "string"
|
|
1880
|
+
},
|
|
1859
1881
|
model: {
|
|
1860
1882
|
properties: {
|
|
1861
|
-
|
|
1862
|
-
|
|
1883
|
+
accessory_keypad_supported: {
|
|
1884
|
+
description: "Indicates whether the device supports an accessory keypad.",
|
|
1885
|
+
type: "boolean"
|
|
1886
|
+
},
|
|
1887
|
+
display_name: {
|
|
1888
|
+
description: "Display name of the device model.",
|
|
1889
|
+
type: "string"
|
|
1890
|
+
},
|
|
1891
|
+
manufacturer_display_name: {
|
|
1892
|
+
description: "Display name that corresponds to the manufacturer-specific terminology for the device.",
|
|
1893
|
+
type: "string"
|
|
1894
|
+
},
|
|
1895
|
+
offline_access_codes_supported: {
|
|
1896
|
+
description: "Indicates whether the device supports offline access codes.",
|
|
1897
|
+
type: "boolean"
|
|
1898
|
+
},
|
|
1899
|
+
online_access_codes_supported: {
|
|
1900
|
+
description: "Indicates whether the device supports online access codes.",
|
|
1901
|
+
type: "boolean"
|
|
1902
|
+
}
|
|
1863
1903
|
},
|
|
1864
1904
|
required: ["display_name", "manufacturer_display_name"],
|
|
1865
1905
|
type: "object"
|
|
1866
1906
|
},
|
|
1867
|
-
name: {
|
|
1868
|
-
|
|
1907
|
+
name: {
|
|
1908
|
+
description: "Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices.",
|
|
1909
|
+
type: "string"
|
|
1910
|
+
},
|
|
1911
|
+
offline_access_codes_enabled: {
|
|
1912
|
+
description: "Indicates whether it is currently possible to use offline access codes for the device.",
|
|
1913
|
+
type: "boolean"
|
|
1914
|
+
},
|
|
1915
|
+
online: {
|
|
1916
|
+
description: "Indicates whether the device is online.",
|
|
1917
|
+
type: "boolean"
|
|
1918
|
+
},
|
|
1869
1919
|
online_access_codes_enabled: {
|
|
1870
1920
|
description: "Indicates whether it is currently possible to use online access codes for the device.",
|
|
1871
1921
|
type: "boolean"
|
|
@@ -1974,6 +2024,11 @@ var openapi_default = {
|
|
|
1974
2024
|
bearerFormat: "User Session Token",
|
|
1975
2025
|
scheme: "bearer",
|
|
1976
2026
|
type: "http"
|
|
2027
|
+
},
|
|
2028
|
+
user_session_without_workspace: {
|
|
2029
|
+
bearerFormat: "User Session Token",
|
|
2030
|
+
scheme: "bearer",
|
|
2031
|
+
type: "http"
|
|
1977
2032
|
}
|
|
1978
2033
|
}
|
|
1979
2034
|
},
|
|
@@ -10105,9 +10160,12 @@ var openapi_default = {
|
|
|
10105
10160
|
401: { description: "Unauthorized" }
|
|
10106
10161
|
},
|
|
10107
10162
|
security: [
|
|
10108
|
-
{
|
|
10109
|
-
{
|
|
10110
|
-
{
|
|
10163
|
+
{ pat_with_workspace: [] },
|
|
10164
|
+
{ pat_without_workspace: [] },
|
|
10165
|
+
{ user_session: [] },
|
|
10166
|
+
{ user_session_without_workspace: [] },
|
|
10167
|
+
{ api_key: [] },
|
|
10168
|
+
{ client_session: [] }
|
|
10111
10169
|
],
|
|
10112
10170
|
summary: "/workspaces/list",
|
|
10113
10171
|
tags: ["/workspaces"],
|
|
@@ -10138,9 +10196,12 @@ var openapi_default = {
|
|
|
10138
10196
|
401: { description: "Unauthorized" }
|
|
10139
10197
|
},
|
|
10140
10198
|
security: [
|
|
10141
|
-
{
|
|
10142
|
-
{
|
|
10143
|
-
{
|
|
10199
|
+
{ pat_with_workspace: [] },
|
|
10200
|
+
{ pat_without_workspace: [] },
|
|
10201
|
+
{ user_session: [] },
|
|
10202
|
+
{ user_session_without_workspace: [] },
|
|
10203
|
+
{ api_key: [] },
|
|
10204
|
+
{ client_session: [] }
|
|
10144
10205
|
],
|
|
10145
10206
|
summary: "/workspaces/list",
|
|
10146
10207
|
tags: ["/workspaces"],
|