@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.
@@ -1800,25 +1800,75 @@ export default {
1800
1800
  is_managed: { enum: [false], type: 'boolean' },
1801
1801
  properties: {
1802
1802
  properties: {
1803
+ battery: {
1804
+ 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.',
1805
+ properties: {
1806
+ level: { maximum: 1, minimum: 0, type: 'number' },
1807
+ status: {
1808
+ enum: ['critical', 'low', 'good', 'full'],
1809
+ type: 'string',
1810
+ },
1811
+ },
1812
+ required: ['level', 'status'],
1813
+ type: 'object',
1814
+ },
1803
1815
  battery_level: {
1804
1816
  description: 'Indicates the battery level of the device as a decimal value between 0 and 1, inclusive.',
1805
1817
  maximum: 1,
1806
1818
  minimum: 0,
1807
1819
  type: 'number',
1808
1820
  },
1809
- image_alt_text: { type: 'string' },
1810
- image_url: { type: 'string' },
1811
- manufacturer: { type: 'string' },
1821
+ image_alt_text: {
1822
+ description: 'Alt text for the device image.',
1823
+ type: 'string',
1824
+ },
1825
+ image_url: {
1826
+ description: 'Image URL for the device.',
1827
+ format: 'uri',
1828
+ type: 'string',
1829
+ },
1830
+ manufacturer: {
1831
+ description: 'Manufacturer of the device.',
1832
+ type: 'string',
1833
+ },
1812
1834
  model: {
1813
1835
  properties: {
1814
- display_name: { type: 'string' },
1815
- manufacturer_display_name: { type: 'string' },
1836
+ accessory_keypad_supported: {
1837
+ description: 'Indicates whether the device supports an accessory keypad.',
1838
+ type: 'boolean',
1839
+ },
1840
+ display_name: {
1841
+ description: 'Display name of the device model.',
1842
+ type: 'string',
1843
+ },
1844
+ manufacturer_display_name: {
1845
+ description: 'Display name that corresponds to the manufacturer-specific terminology for the device.',
1846
+ type: 'string',
1847
+ },
1848
+ offline_access_codes_supported: {
1849
+ description: 'Indicates whether the device supports offline access codes.',
1850
+ type: 'boolean',
1851
+ },
1852
+ online_access_codes_supported: {
1853
+ description: 'Indicates whether the device supports online access codes.',
1854
+ type: 'boolean',
1855
+ },
1816
1856
  },
1817
1857
  required: ['display_name', 'manufacturer_display_name'],
1818
1858
  type: 'object',
1819
1859
  },
1820
- name: { type: 'string' },
1821
- online: { type: 'boolean' },
1860
+ name: {
1861
+ description: 'Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices.',
1862
+ type: 'string',
1863
+ },
1864
+ offline_access_codes_enabled: {
1865
+ description: 'Indicates whether it is currently possible to use offline access codes for the device.',
1866
+ type: 'boolean',
1867
+ },
1868
+ online: {
1869
+ description: 'Indicates whether the device is online.',
1870
+ type: 'boolean',
1871
+ },
1822
1872
  online_access_codes_enabled: {
1823
1873
  description: 'Indicates whether it is currently possible to use online access codes for the device.',
1824
1874
  type: 'boolean',
@@ -1928,6 +1978,11 @@ export default {
1928
1978
  scheme: 'bearer',
1929
1979
  type: 'http',
1930
1980
  },
1981
+ user_session_without_workspace: {
1982
+ bearerFormat: 'User Session Token',
1983
+ scheme: 'bearer',
1984
+ type: 'http',
1985
+ },
1931
1986
  },
1932
1987
  },
1933
1988
  info: { title: 'Seam Connect', version: '1.0.0' },
@@ -4371,6 +4426,51 @@ export default {
4371
4426
  'x-fern-sdk-method-name': 'get',
4372
4427
  },
4373
4428
  },
4429
+ '/acs/entrances/grant_access': {
4430
+ post: {
4431
+ operationId: 'acsEntrancesGrantAccessPost',
4432
+ requestBody: {
4433
+ content: {
4434
+ 'application/json': {
4435
+ schema: {
4436
+ properties: {
4437
+ acs_entrance_id: { format: 'uuid', type: 'string' },
4438
+ acs_user_id: { format: 'uuid', type: 'string' },
4439
+ },
4440
+ required: ['acs_entrance_id', 'acs_user_id'],
4441
+ type: 'object',
4442
+ },
4443
+ },
4444
+ },
4445
+ },
4446
+ responses: {
4447
+ 200: {
4448
+ content: {
4449
+ 'application/json': {
4450
+ schema: {
4451
+ properties: { ok: { type: 'boolean' } },
4452
+ required: ['ok'],
4453
+ type: 'object',
4454
+ },
4455
+ },
4456
+ },
4457
+ description: 'OK',
4458
+ },
4459
+ 400: { description: 'Bad Request' },
4460
+ 401: { description: 'Unauthorized' },
4461
+ },
4462
+ security: [
4463
+ { api_key: [] },
4464
+ { client_session: [] },
4465
+ { pat_with_workspace: [] },
4466
+ { console_session: [] },
4467
+ ],
4468
+ summary: '/acs/entrances/grant_access',
4469
+ tags: [],
4470
+ 'x-fern-sdk-group-name': ['acs', 'entrances'],
4471
+ 'x-fern-sdk-method-name': 'grant_access',
4472
+ },
4473
+ },
4374
4474
  '/acs/entrances/list': {
4375
4475
  post: {
4376
4476
  operationId: 'acsEntrancesListPost',
@@ -10058,9 +10158,12 @@ export default {
10058
10158
  401: { description: 'Unauthorized' },
10059
10159
  },
10060
10160
  security: [
10061
- { access_token: [], seam_workspace: [] },
10062
- { seam_client_session_token: [] },
10063
- { client_session_token: [] },
10161
+ { pat_with_workspace: [] },
10162
+ { pat_without_workspace: [] },
10163
+ { user_session: [] },
10164
+ { user_session_without_workspace: [] },
10165
+ { api_key: [] },
10166
+ { client_session: [] },
10064
10167
  ],
10065
10168
  summary: '/workspaces/list',
10066
10169
  tags: ['/workspaces'],
@@ -10091,9 +10194,12 @@ export default {
10091
10194
  401: { description: 'Unauthorized' },
10092
10195
  },
10093
10196
  security: [
10094
- { access_token: [], seam_workspace: [] },
10095
- { seam_client_session_token: [] },
10096
- { client_session_token: [] },
10197
+ { pat_with_workspace: [] },
10198
+ { pat_without_workspace: [] },
10199
+ { user_session: [] },
10200
+ { user_session_without_workspace: [] },
10201
+ { api_key: [] },
10202
+ { client_session: [] },
10097
10203
  ],
10098
10204
  summary: '/workspaces/list',
10099
10205
  tags: ['/workspaces'],