@seamapi/types 1.61.0 → 1.63.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 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: { type: "string" },
1857
- image_url: { type: "string" },
1858
- manufacturer: { type: "string" },
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
- display_name: { type: "string" },
1862
- manufacturer_display_name: { type: "string" }
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: { type: "string" },
1868
- online: { type: "boolean" },
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
  },
@@ -4418,6 +4473,51 @@ var openapi_default = {
4418
4473
  "x-fern-sdk-method-name": "get"
4419
4474
  }
4420
4475
  },
4476
+ "/acs/entrances/grant_access": {
4477
+ post: {
4478
+ operationId: "acsEntrancesGrantAccessPost",
4479
+ requestBody: {
4480
+ content: {
4481
+ "application/json": {
4482
+ schema: {
4483
+ properties: {
4484
+ acs_entrance_id: { format: "uuid", type: "string" },
4485
+ acs_user_id: { format: "uuid", type: "string" }
4486
+ },
4487
+ required: ["acs_entrance_id", "acs_user_id"],
4488
+ type: "object"
4489
+ }
4490
+ }
4491
+ }
4492
+ },
4493
+ responses: {
4494
+ 200: {
4495
+ content: {
4496
+ "application/json": {
4497
+ schema: {
4498
+ properties: { ok: { type: "boolean" } },
4499
+ required: ["ok"],
4500
+ type: "object"
4501
+ }
4502
+ }
4503
+ },
4504
+ description: "OK"
4505
+ },
4506
+ 400: { description: "Bad Request" },
4507
+ 401: { description: "Unauthorized" }
4508
+ },
4509
+ security: [
4510
+ { api_key: [] },
4511
+ { client_session: [] },
4512
+ { pat_with_workspace: [] },
4513
+ { console_session: [] }
4514
+ ],
4515
+ summary: "/acs/entrances/grant_access",
4516
+ tags: [],
4517
+ "x-fern-sdk-group-name": ["acs", "entrances"],
4518
+ "x-fern-sdk-method-name": "grant_access"
4519
+ }
4520
+ },
4421
4521
  "/acs/entrances/list": {
4422
4522
  post: {
4423
4523
  operationId: "acsEntrancesListPost",
@@ -10105,9 +10205,12 @@ var openapi_default = {
10105
10205
  401: { description: "Unauthorized" }
10106
10206
  },
10107
10207
  security: [
10108
- { access_token: [], seam_workspace: [] },
10109
- { seam_client_session_token: [] },
10110
- { client_session_token: [] }
10208
+ { pat_with_workspace: [] },
10209
+ { pat_without_workspace: [] },
10210
+ { user_session: [] },
10211
+ { user_session_without_workspace: [] },
10212
+ { api_key: [] },
10213
+ { client_session: [] }
10111
10214
  ],
10112
10215
  summary: "/workspaces/list",
10113
10216
  tags: ["/workspaces"],
@@ -10138,9 +10241,12 @@ var openapi_default = {
10138
10241
  401: { description: "Unauthorized" }
10139
10242
  },
10140
10243
  security: [
10141
- { access_token: [], seam_workspace: [] },
10142
- { seam_client_session_token: [] },
10143
- { client_session_token: [] }
10244
+ { pat_with_workspace: [] },
10245
+ { pat_without_workspace: [] },
10246
+ { user_session: [] },
10247
+ { user_session_without_workspace: [] },
10248
+ { api_key: [] },
10249
+ { client_session: [] }
10144
10250
  ],
10145
10251
  summary: "/workspaces/list",
10146
10252
  tags: ["/workspaces"],