@seamapi/types 1.1080.0 → 1.1082.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/lib/seam/connect/models/action-attempts/action-attempt.d.ts +75 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/activate-weekly-program.d.ts +77 -0
- package/lib/seam/connect/models/action-attempts/activate-weekly-program.js +31 -0
- package/lib/seam/connect/models/action-attempts/activate-weekly-program.js.map +1 -0
- package/lib/seam/connect/models/devices/device-metadata.d.ts +33 -0
- package/lib/seam/connect/models/devices/device-metadata.js +23 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +5 -1
- package/lib/seam/connect/models/devices/device-provider.js +2 -1
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +2 -1
- package/lib/seam/connect/models/devices/device-type.js +1 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +56 -3
- package/lib/seam/connect/models/devices/device.js +3 -0
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +40 -3
- package/lib/seam/connect/openapi.js +220 -6
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +3417 -152
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
- package/src/lib/seam/connect/models/action-attempts/activate-weekly-program.ts +46 -0
- package/src/lib/seam/connect/models/devices/device-metadata.ts +24 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -1
- package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
- package/src/lib/seam/connect/models/devices/device.ts +5 -0
- package/src/lib/seam/connect/openapi.ts +233 -6
- package/src/lib/seam/connect/route-types.ts +3790 -24
|
@@ -9574,6 +9574,111 @@ const openapi = {
|
|
|
9574
9574
|
],
|
|
9575
9575
|
type: 'object',
|
|
9576
9576
|
},
|
|
9577
|
+
{
|
|
9578
|
+
description: 'Activating the weekly program is pending.',
|
|
9579
|
+
properties: {
|
|
9580
|
+
action_attempt_id: {
|
|
9581
|
+
description: 'ID of the action attempt.',
|
|
9582
|
+
format: 'uuid',
|
|
9583
|
+
type: 'string',
|
|
9584
|
+
},
|
|
9585
|
+
action_type: {
|
|
9586
|
+
description: 'Action attempt to track the status of returning a thermostat to its weekly program.',
|
|
9587
|
+
enum: ['ACTIVATE_WEEKLY_PROGRAM'],
|
|
9588
|
+
type: 'string',
|
|
9589
|
+
},
|
|
9590
|
+
error: {
|
|
9591
|
+
description: 'Errors associated with the action attempt. Null for pending action attempts.',
|
|
9592
|
+
nullable: true,
|
|
9593
|
+
},
|
|
9594
|
+
result: {
|
|
9595
|
+
description: 'Result of the action attempt. Null for pending action attempts.',
|
|
9596
|
+
nullable: true,
|
|
9597
|
+
},
|
|
9598
|
+
status: { enum: ['pending'], type: 'string' },
|
|
9599
|
+
},
|
|
9600
|
+
required: [
|
|
9601
|
+
'action_attempt_id',
|
|
9602
|
+
'status',
|
|
9603
|
+
'result',
|
|
9604
|
+
'error',
|
|
9605
|
+
'action_type',
|
|
9606
|
+
],
|
|
9607
|
+
type: 'object',
|
|
9608
|
+
},
|
|
9609
|
+
{
|
|
9610
|
+
description: 'Activating the weekly program succeeded.',
|
|
9611
|
+
properties: {
|
|
9612
|
+
action_attempt_id: {
|
|
9613
|
+
description: 'ID of the action attempt.',
|
|
9614
|
+
format: 'uuid',
|
|
9615
|
+
type: 'string',
|
|
9616
|
+
},
|
|
9617
|
+
action_type: {
|
|
9618
|
+
description: 'Action attempt to track the status of returning a thermostat to its weekly program.',
|
|
9619
|
+
enum: ['ACTIVATE_WEEKLY_PROGRAM'],
|
|
9620
|
+
type: 'string',
|
|
9621
|
+
},
|
|
9622
|
+
error: {
|
|
9623
|
+
description: 'Errors associated with the action attempt. Null for successful action attempts.',
|
|
9624
|
+
nullable: true,
|
|
9625
|
+
},
|
|
9626
|
+
result: {
|
|
9627
|
+
description: 'Result of the action.',
|
|
9628
|
+
properties: {},
|
|
9629
|
+
type: 'object',
|
|
9630
|
+
},
|
|
9631
|
+
status: { enum: ['success'], type: 'string' },
|
|
9632
|
+
},
|
|
9633
|
+
required: [
|
|
9634
|
+
'action_attempt_id',
|
|
9635
|
+
'status',
|
|
9636
|
+
'error',
|
|
9637
|
+
'action_type',
|
|
9638
|
+
'result',
|
|
9639
|
+
],
|
|
9640
|
+
type: 'object',
|
|
9641
|
+
},
|
|
9642
|
+
{
|
|
9643
|
+
description: 'Activating the weekly program failed.',
|
|
9644
|
+
properties: {
|
|
9645
|
+
action_attempt_id: {
|
|
9646
|
+
description: 'ID of the action attempt.',
|
|
9647
|
+
format: 'uuid',
|
|
9648
|
+
type: 'string',
|
|
9649
|
+
},
|
|
9650
|
+
action_type: {
|
|
9651
|
+
description: 'Action attempt to track the status of returning a thermostat to its weekly program.',
|
|
9652
|
+
enum: ['ACTIVATE_WEEKLY_PROGRAM'],
|
|
9653
|
+
type: 'string',
|
|
9654
|
+
},
|
|
9655
|
+
error: {
|
|
9656
|
+
description: 'Error associated with the action.',
|
|
9657
|
+
properties: {
|
|
9658
|
+
message: {
|
|
9659
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
9660
|
+
type: 'string',
|
|
9661
|
+
},
|
|
9662
|
+
type: { description: 'Type of the error.', type: 'string' },
|
|
9663
|
+
},
|
|
9664
|
+
required: ['type', 'message'],
|
|
9665
|
+
type: 'object',
|
|
9666
|
+
},
|
|
9667
|
+
result: {
|
|
9668
|
+
description: 'Result of the action attempt. Null for failed action attempts.',
|
|
9669
|
+
nullable: true,
|
|
9670
|
+
},
|
|
9671
|
+
status: { enum: ['error'], type: 'string' },
|
|
9672
|
+
},
|
|
9673
|
+
required: [
|
|
9674
|
+
'action_attempt_id',
|
|
9675
|
+
'status',
|
|
9676
|
+
'result',
|
|
9677
|
+
'action_type',
|
|
9678
|
+
'error',
|
|
9679
|
+
],
|
|
9680
|
+
type: 'object',
|
|
9681
|
+
},
|
|
9577
9682
|
{
|
|
9578
9683
|
description: 'Simulating a keypad code entry is pending.',
|
|
9579
9684
|
properties: {
|
|
@@ -11925,6 +12030,10 @@ const openapi = {
|
|
|
11925
12030
|
device: {
|
|
11926
12031
|
description: 'Represents a [device](https://www.seam.co/docs/core-concepts/devices) that has been connected to Seam.',
|
|
11927
12032
|
properties: {
|
|
12033
|
+
can_activate_weekly_program: {
|
|
12034
|
+
description: 'Indicates whether the thermostat can be returned to its weekly program, the schedule that is configured on the device itself, releasing any hold that Seam has set.',
|
|
12035
|
+
type: 'boolean',
|
|
12036
|
+
},
|
|
11928
12037
|
can_configure_auto_lock: {
|
|
11929
12038
|
description: 'Indicates whether the lock supports configuring automatic locking.',
|
|
11930
12039
|
type: 'boolean',
|
|
@@ -12162,7 +12271,7 @@ const openapi = {
|
|
|
12162
12271
|
},
|
|
12163
12272
|
{
|
|
12164
12273
|
description: 'Device type for cameras.',
|
|
12165
|
-
enum: ['ring_camera', 'tapo_camera'],
|
|
12274
|
+
enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
|
|
12166
12275
|
type: 'string',
|
|
12167
12276
|
},
|
|
12168
12277
|
],
|
|
@@ -13000,6 +13109,32 @@ const openapi = {
|
|
|
13000
13109
|
},
|
|
13001
13110
|
type: 'object',
|
|
13002
13111
|
},
|
|
13112
|
+
arlo_metadata: {
|
|
13113
|
+
description: 'Metadata for an Arlo camera.',
|
|
13114
|
+
properties: {
|
|
13115
|
+
device_id: {
|
|
13116
|
+
description: 'Device ID reported by Arlo.',
|
|
13117
|
+
type: 'string',
|
|
13118
|
+
},
|
|
13119
|
+
device_name: {
|
|
13120
|
+
description: 'Device name reported by Arlo.',
|
|
13121
|
+
type: 'string',
|
|
13122
|
+
},
|
|
13123
|
+
firmware_version: {
|
|
13124
|
+
description: 'Firmware version reported by Arlo.',
|
|
13125
|
+
type: 'string',
|
|
13126
|
+
},
|
|
13127
|
+
hardware_version: {
|
|
13128
|
+
description: 'Hardware version reported by Arlo.',
|
|
13129
|
+
type: 'string',
|
|
13130
|
+
},
|
|
13131
|
+
model_id: {
|
|
13132
|
+
description: 'Model ID reported by Arlo.',
|
|
13133
|
+
type: 'string',
|
|
13134
|
+
},
|
|
13135
|
+
},
|
|
13136
|
+
type: 'object',
|
|
13137
|
+
},
|
|
13003
13138
|
assa_abloy_vostio_metadata: {
|
|
13004
13139
|
description: 'Metadata for an ASSA ABLOY Vostio system.',
|
|
13005
13140
|
properties: {
|
|
@@ -15932,6 +16067,10 @@ const openapi = {
|
|
|
15932
16067
|
},
|
|
15933
16068
|
device_provider: {
|
|
15934
16069
|
properties: {
|
|
16070
|
+
can_activate_weekly_program: {
|
|
16071
|
+
description: 'Indicates whether the thermostat can be returned to its weekly program, the schedule that is configured on the device itself, releasing any hold that Seam has set.',
|
|
16072
|
+
type: 'boolean',
|
|
16073
|
+
},
|
|
15935
16074
|
can_configure_auto_lock: {
|
|
15936
16075
|
description: 'Indicates whether the lock supports configuring automatic locking.',
|
|
15937
16076
|
type: 'boolean',
|
|
@@ -16073,6 +16212,7 @@ const openapi = {
|
|
|
16073
16212
|
'thirty_three_lock',
|
|
16074
16213
|
'ring',
|
|
16075
16214
|
'tapo',
|
|
16215
|
+
'arlo',
|
|
16076
16216
|
'ical',
|
|
16077
16217
|
'lodgify',
|
|
16078
16218
|
'hostaway',
|
|
@@ -32251,6 +32391,10 @@ const openapi = {
|
|
|
32251
32391
|
unmanaged_device: {
|
|
32252
32392
|
description: 'Represents an [unmanaged device](https://www.seam.co/docs/core-concepts/devices/managed-and-unmanaged-devices). An unmanaged device has a limited set of visible properties and a subset of supported events. You cannot control an unmanaged device. Any [access codes](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes/migrating-existing-access-codes) on an unmanaged device are unmanaged. To control an unmanaged device with Seam, [convert it to a managed device](https://www.seam.co/docs/core-concepts/devices/managed-and-unmanaged-devices#convert-an-unmanaged-device-to-managed).',
|
|
32253
32393
|
properties: {
|
|
32394
|
+
can_activate_weekly_program: {
|
|
32395
|
+
description: 'Indicates whether the thermostat can be returned to its weekly program, the schedule that is configured on the device itself, releasing any hold that Seam has set.',
|
|
32396
|
+
type: 'boolean',
|
|
32397
|
+
},
|
|
32254
32398
|
can_configure_auto_lock: {
|
|
32255
32399
|
description: 'Indicates whether the lock supports configuring automatic locking.',
|
|
32256
32400
|
type: 'boolean',
|
|
@@ -32438,7 +32582,7 @@ const openapi = {
|
|
|
32438
32582
|
},
|
|
32439
32583
|
{
|
|
32440
32584
|
description: 'Device type for cameras.',
|
|
32441
|
-
enum: ['ring_camera', 'tapo_camera'],
|
|
32585
|
+
enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
|
|
32442
32586
|
type: 'string',
|
|
32443
32587
|
},
|
|
32444
32588
|
],
|
|
@@ -42548,6 +42692,7 @@ const openapi = {
|
|
|
42548
42692
|
'thirty_three_lock',
|
|
42549
42693
|
'ring',
|
|
42550
42694
|
'tapo',
|
|
42695
|
+
'arlo',
|
|
42551
42696
|
'ical',
|
|
42552
42697
|
'lodgify',
|
|
42553
42698
|
'hostaway',
|
|
@@ -45883,7 +46028,7 @@ const openapi = {
|
|
|
45883
46028
|
},
|
|
45884
46029
|
{
|
|
45885
46030
|
description: 'Device type for cameras.',
|
|
45886
|
-
enum: ['ring_camera', 'tapo_camera'],
|
|
46031
|
+
enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
|
|
45887
46032
|
type: 'string',
|
|
45888
46033
|
},
|
|
45889
46034
|
],
|
|
@@ -45962,7 +46107,7 @@ const openapi = {
|
|
|
45962
46107
|
},
|
|
45963
46108
|
{
|
|
45964
46109
|
description: 'Device type for cameras.',
|
|
45965
|
-
enum: ['ring_camera', 'tapo_camera'],
|
|
46110
|
+
enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
|
|
45966
46111
|
type: 'string',
|
|
45967
46112
|
},
|
|
45968
46113
|
],
|
|
@@ -46022,6 +46167,7 @@ const openapi = {
|
|
|
46022
46167
|
'ultraloq',
|
|
46023
46168
|
'ring',
|
|
46024
46169
|
'tapo',
|
|
46170
|
+
'arlo',
|
|
46025
46171
|
'ical',
|
|
46026
46172
|
'lodgify',
|
|
46027
46173
|
'hostaway',
|
|
@@ -46107,6 +46253,7 @@ const openapi = {
|
|
|
46107
46253
|
'can_hvac_cool',
|
|
46108
46254
|
'can_hvac_heat_cool',
|
|
46109
46255
|
'can_turn_off_hvac',
|
|
46256
|
+
'can_activate_weekly_program',
|
|
46110
46257
|
'can_simulate_removal',
|
|
46111
46258
|
'can_simulate_connection',
|
|
46112
46259
|
'can_simulate_disconnection',
|
|
@@ -46140,6 +46287,7 @@ const openapi = {
|
|
|
46140
46287
|
'can_hvac_cool',
|
|
46141
46288
|
'can_hvac_heat_cool',
|
|
46142
46289
|
'can_turn_off_hvac',
|
|
46290
|
+
'can_activate_weekly_program',
|
|
46143
46291
|
'can_simulate_removal',
|
|
46144
46292
|
'can_simulate_connection',
|
|
46145
46293
|
'can_simulate_disconnection',
|
|
@@ -48155,7 +48303,7 @@ const openapi = {
|
|
|
48155
48303
|
},
|
|
48156
48304
|
{
|
|
48157
48305
|
description: 'Device type for cameras.',
|
|
48158
|
-
enum: ['ring_camera', 'tapo_camera'],
|
|
48306
|
+
enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
|
|
48159
48307
|
type: 'string',
|
|
48160
48308
|
},
|
|
48161
48309
|
],
|
|
@@ -48234,7 +48382,7 @@ const openapi = {
|
|
|
48234
48382
|
},
|
|
48235
48383
|
{
|
|
48236
48384
|
description: 'Device type for cameras.',
|
|
48237
|
-
enum: ['ring_camera', 'tapo_camera'],
|
|
48385
|
+
enum: ['ring_camera', 'tapo_camera', 'arlo_camera'],
|
|
48238
48386
|
type: 'string',
|
|
48239
48387
|
},
|
|
48240
48388
|
],
|
|
@@ -48294,6 +48442,7 @@ const openapi = {
|
|
|
48294
48442
|
'ultraloq',
|
|
48295
48443
|
'ring',
|
|
48296
48444
|
'tapo',
|
|
48445
|
+
'arlo',
|
|
48297
48446
|
'ical',
|
|
48298
48447
|
'lodgify',
|
|
48299
48448
|
'hostaway',
|
|
@@ -48348,6 +48497,7 @@ const openapi = {
|
|
|
48348
48497
|
'can_hvac_cool',
|
|
48349
48498
|
'can_hvac_heat_cool',
|
|
48350
48499
|
'can_turn_off_hvac',
|
|
48500
|
+
'can_activate_weekly_program',
|
|
48351
48501
|
'can_simulate_removal',
|
|
48352
48502
|
'can_simulate_connection',
|
|
48353
48503
|
'can_simulate_disconnection',
|
|
@@ -48381,6 +48531,7 @@ const openapi = {
|
|
|
48381
48531
|
'can_hvac_cool',
|
|
48382
48532
|
'can_hvac_heat_cool',
|
|
48383
48533
|
'can_turn_off_hvac',
|
|
48534
|
+
'can_activate_weekly_program',
|
|
48384
48535
|
'can_simulate_removal',
|
|
48385
48536
|
'can_simulate_connection',
|
|
48386
48537
|
'can_simulate_disconnection',
|
|
@@ -61377,6 +61528,69 @@ const openapi = {
|
|
|
61377
61528
|
'x-title': 'Activate a Climate Preset',
|
|
61378
61529
|
},
|
|
61379
61530
|
},
|
|
61531
|
+
'/thermostats/activate_weekly_program': {
|
|
61532
|
+
post: {
|
|
61533
|
+
description: "Returns a specified [thermostat](https://www.seam.co/docs/capability-guides/thermostats) to its [weekly program](https://www.seam.co/docs/capability-guides/thermostats/creating-and-managing-thermostat-programs), the schedule that is configured on the device itself, releasing any hold that Seam has set. Seam stops managing the thermostat's climate until you [activate a climate preset](https://www.seam.co/docs/capability-guides/thermostats/configure-current-climate-settings), make a direct climate setting change, or one of the thermostat's [scheduled](https://www.seam.co/docs/capability-guides/thermostats/creating-and-managing-thermostat-schedules) presets reaches its activation time.",
|
|
61534
|
+
operationId: 'thermostatsActivateWeeklyProgramPost',
|
|
61535
|
+
requestBody: {
|
|
61536
|
+
content: {
|
|
61537
|
+
'application/json': {
|
|
61538
|
+
schema: {
|
|
61539
|
+
properties: {
|
|
61540
|
+
device_id: {
|
|
61541
|
+
description: 'ID of the thermostat device that you want to return to its weekly program.',
|
|
61542
|
+
format: 'uuid',
|
|
61543
|
+
type: 'string',
|
|
61544
|
+
},
|
|
61545
|
+
sync: {
|
|
61546
|
+
default: false,
|
|
61547
|
+
type: 'boolean',
|
|
61548
|
+
'x-undocumented': 'Only used internally.',
|
|
61549
|
+
},
|
|
61550
|
+
},
|
|
61551
|
+
required: ['device_id'],
|
|
61552
|
+
type: 'object',
|
|
61553
|
+
},
|
|
61554
|
+
},
|
|
61555
|
+
},
|
|
61556
|
+
},
|
|
61557
|
+
responses: {
|
|
61558
|
+
'200': {
|
|
61559
|
+
content: {
|
|
61560
|
+
'application/json': {
|
|
61561
|
+
schema: {
|
|
61562
|
+
properties: {
|
|
61563
|
+
action_attempt: {
|
|
61564
|
+
$ref: '#/components/schemas/action_attempt',
|
|
61565
|
+
},
|
|
61566
|
+
ok: { type: 'boolean' },
|
|
61567
|
+
},
|
|
61568
|
+
required: ['action_attempt', 'ok'],
|
|
61569
|
+
type: 'object',
|
|
61570
|
+
},
|
|
61571
|
+
},
|
|
61572
|
+
},
|
|
61573
|
+
description: 'OK',
|
|
61574
|
+
},
|
|
61575
|
+
'400': { description: 'Bad Request' },
|
|
61576
|
+
'401': { description: 'Unauthorized' },
|
|
61577
|
+
},
|
|
61578
|
+
security: [
|
|
61579
|
+
{ client_session: [] },
|
|
61580
|
+
{ pat_with_workspace: [] },
|
|
61581
|
+
{ console_session_with_workspace: [] },
|
|
61582
|
+
{ api_key: [] },
|
|
61583
|
+
],
|
|
61584
|
+
summary: '/thermostats/activate_weekly_program',
|
|
61585
|
+
tags: ['/thermostats'],
|
|
61586
|
+
'x-action-attempt-type': 'ACTIVATE_WEEKLY_PROGRAM',
|
|
61587
|
+
'x-fern-sdk-group-name': ['thermostats'],
|
|
61588
|
+
'x-fern-sdk-method-name': 'activate_weekly_program',
|
|
61589
|
+
'x-fern-sdk-return-value': 'action_attempt',
|
|
61590
|
+
'x-response-key': 'action_attempt',
|
|
61591
|
+
'x-title': 'Activate the Weekly Program',
|
|
61592
|
+
},
|
|
61593
|
+
},
|
|
61380
61594
|
'/thermostats/cool': {
|
|
61381
61595
|
post: {
|
|
61382
61596
|
description: 'Sets a specified [thermostat](https://www.seam.co/docs/capability-guides/thermostats) to [cool mode](https://www.seam.co/docs/capability-guides/thermostats/configure-current-climate-settings).',
|