@seamapi/types 1.128.0 → 1.130.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.
@@ -635,6 +635,16 @@ export default {
635
635
  allOf: [
636
636
  {
637
637
  properties: {
638
+ appearance: {
639
+ properties: {
640
+ name: {
641
+ description: 'Name of the device as seen from the provider API and application, not settable through Seam.',
642
+ type: 'string',
643
+ },
644
+ },
645
+ required: ['name'],
646
+ type: 'object',
647
+ },
638
648
  battery: {
639
649
  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.',
640
650
  properties: {
@@ -703,6 +713,10 @@ export default {
703
713
  description: 'Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices.',
704
714
  type: 'string',
705
715
  },
716
+ nickname: {
717
+ description: 'Optional nickname to describe the device, settable through Seam. Enables administrators and users to identify the device easily, especially when there are numerous devices.',
718
+ type: 'string',
719
+ },
706
720
  offline_access_codes_enabled: {
707
721
  description: 'Indicates whether it is currently possible to use offline access codes for the device.',
708
722
  type: 'boolean',
@@ -728,7 +742,7 @@ export default {
728
742
  type: 'boolean',
729
743
  },
730
744
  },
731
- required: ['online', 'name', 'model'],
745
+ required: ['online', 'name', 'appearance', 'model'],
732
746
  type: 'object',
733
747
  },
734
748
  {
@@ -9133,9 +9147,10 @@ export default {
9133
9147
  401: { description: 'Unauthorized' },
9134
9148
  },
9135
9149
  security: [
9136
- { access_token: [], seam_workspace: [] },
9137
- { seam_client_session_token: [] },
9138
- { client_session_token: [] },
9150
+ { client_session: [] },
9151
+ { pat_with_workspace: [] },
9152
+ { console_session: [] },
9153
+ { api_key: [] },
9139
9154
  ],
9140
9155
  summary: '/locks/unlock_door',
9141
9156
  tags: ['/locks'],
@@ -10333,8 +10348,13 @@ export default {
10333
10348
  content: {
10334
10349
  'application/json': {
10335
10350
  schema: {
10336
- properties: { ok: { type: 'boolean' } },
10337
- required: ['ok'],
10351
+ properties: {
10352
+ action_attempt: {
10353
+ $ref: '#/components/schemas/action_attempt',
10354
+ },
10355
+ ok: { type: 'boolean' },
10356
+ },
10357
+ required: ['action_attempt', 'ok'],
10338
10358
  type: 'object',
10339
10359
  },
10340
10360
  },
@@ -10353,6 +10373,7 @@ export default {
10353
10373
  tags: ['/thermostats'],
10354
10374
  'x-fern-sdk-group-name': ['thermostats'],
10355
10375
  'x-fern-sdk-method-name': 'cool',
10376
+ 'x-fern-sdk-return-value': 'action_attempt',
10356
10377
  },
10357
10378
  },
10358
10379
  '/thermostats/get': {
@@ -10426,8 +10447,13 @@ export default {
10426
10447
  content: {
10427
10448
  'application/json': {
10428
10449
  schema: {
10429
- properties: { ok: { type: 'boolean' } },
10430
- required: ['ok'],
10450
+ properties: {
10451
+ action_attempt: {
10452
+ $ref: '#/components/schemas/action_attempt',
10453
+ },
10454
+ ok: { type: 'boolean' },
10455
+ },
10456
+ required: ['action_attempt', 'ok'],
10431
10457
  type: 'object',
10432
10458
  },
10433
10459
  },
@@ -10446,6 +10472,7 @@ export default {
10446
10472
  tags: ['/thermostats'],
10447
10473
  'x-fern-sdk-group-name': ['thermostats'],
10448
10474
  'x-fern-sdk-method-name': 'heat',
10475
+ 'x-fern-sdk-return-value': 'action_attempt',
10449
10476
  },
10450
10477
  },
10451
10478
  '/thermostats/heat_cool': {
@@ -10474,8 +10501,13 @@ export default {
10474
10501
  content: {
10475
10502
  'application/json': {
10476
10503
  schema: {
10477
- properties: { ok: { type: 'boolean' } },
10478
- required: ['ok'],
10504
+ properties: {
10505
+ action_attempt: {
10506
+ $ref: '#/components/schemas/action_attempt',
10507
+ },
10508
+ ok: { type: 'boolean' },
10509
+ },
10510
+ required: ['action_attempt', 'ok'],
10479
10511
  type: 'object',
10480
10512
  },
10481
10513
  },
@@ -10494,6 +10526,7 @@ export default {
10494
10526
  tags: ['/thermostats'],
10495
10527
  'x-fern-sdk-group-name': ['thermostats'],
10496
10528
  'x-fern-sdk-method-name': 'heat_cool',
10529
+ 'x-fern-sdk-return-value': 'action_attempt',
10497
10530
  },
10498
10531
  },
10499
10532
  '/thermostats/list': {
@@ -10739,8 +10772,13 @@ export default {
10739
10772
  content: {
10740
10773
  'application/json': {
10741
10774
  schema: {
10742
- properties: { ok: { type: 'boolean' } },
10743
- required: ['ok'],
10775
+ properties: {
10776
+ action_attempt: {
10777
+ $ref: '#/components/schemas/action_attempt',
10778
+ },
10779
+ ok: { type: 'boolean' },
10780
+ },
10781
+ required: ['action_attempt', 'ok'],
10744
10782
  type: 'object',
10745
10783
  },
10746
10784
  },
@@ -10759,6 +10797,7 @@ export default {
10759
10797
  tags: ['/thermostats'],
10760
10798
  'x-fern-sdk-group-name': ['thermostats'],
10761
10799
  'x-fern-sdk-method-name': 'off',
10800
+ 'x-fern-sdk-return-value': 'action_attempt',
10762
10801
  },
10763
10802
  },
10764
10803
  '/thermostats/set_fan_mode': {
@@ -10785,8 +10824,13 @@ export default {
10785
10824
  content: {
10786
10825
  'application/json': {
10787
10826
  schema: {
10788
- properties: { ok: { type: 'boolean' } },
10789
- required: ['ok'],
10827
+ properties: {
10828
+ action_attempt: {
10829
+ $ref: '#/components/schemas/action_attempt',
10830
+ },
10831
+ ok: { type: 'boolean' },
10832
+ },
10833
+ required: ['action_attempt', 'ok'],
10790
10834
  type: 'object',
10791
10835
  },
10792
10836
  },
@@ -10805,6 +10849,7 @@ export default {
10805
10849
  tags: ['/thermostats'],
10806
10850
  'x-fern-sdk-group-name': ['thermostats'],
10807
10851
  'x-fern-sdk-method-name': 'set_fan_mode',
10852
+ 'x-fern-sdk-return-value': 'action_attempt',
10808
10853
  },
10809
10854
  },
10810
10855
  '/thermostats/update': {