@seamapi/types 1.467.0 → 1.469.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 +656 -23
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2251 -52
- package/dist/index.cjs +656 -23
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js +0 -2
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-program.js +0 -1
- package/lib/seam/connect/models/thermostats/thermostat-program.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +344 -10
- package/lib/seam/connect/openapi.js +646 -10
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1865 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +0 -2
- package/src/lib/seam/connect/models/thermostats/thermostat-program.ts +0 -1
- package/src/lib/seam/connect/openapi.ts +654 -10
- package/src/lib/seam/connect/route-types.ts +2382 -0
|
@@ -10965,11 +10965,9 @@ export default {
|
|
|
10965
10965
|
],
|
|
10966
10966
|
type: 'object',
|
|
10967
10967
|
'x-route-path': '/thermostats/daily_programs',
|
|
10968
|
-
'x-undocumented': 'Unreleased.',
|
|
10969
10968
|
},
|
|
10970
10969
|
type: 'array',
|
|
10971
10970
|
'x-property-group-key': 'thermostats',
|
|
10972
|
-
'x-undocumented': 'Unreleased.',
|
|
10973
10971
|
},
|
|
10974
10972
|
thermostat_weekly_program: {
|
|
10975
10973
|
description: 'Current [weekly program](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-programs) for the thermostat.',
|
|
@@ -11035,7 +11033,6 @@ export default {
|
|
|
11035
11033
|
],
|
|
11036
11034
|
type: 'object',
|
|
11037
11035
|
'x-property-group-key': 'thermostats',
|
|
11038
|
-
'x-undocumented': 'Unreleased.',
|
|
11039
11036
|
},
|
|
11040
11037
|
},
|
|
11041
11038
|
type: 'object',
|
|
@@ -18455,7 +18452,6 @@ export default {
|
|
|
18455
18452
|
],
|
|
18456
18453
|
type: 'object',
|
|
18457
18454
|
'x-route-path': '/thermostats/daily_programs',
|
|
18458
|
-
'x-undocumented': 'Unreleased.',
|
|
18459
18455
|
},
|
|
18460
18456
|
thermostat_schedule: {
|
|
18461
18457
|
description: 'Represents a [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) that activates a configured [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) on a [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) at a specified starting time and deactivates the climate preset at a specified ending time.',
|
|
@@ -43481,6 +43477,566 @@ export default {
|
|
|
43481
43477
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
43482
43478
|
},
|
|
43483
43479
|
},
|
|
43480
|
+
'/seam/customer/v1/events/list': {
|
|
43481
|
+
get: {
|
|
43482
|
+
description: 'Returns a list of events for devices in a specific space. This endpoint is designed for customer portals and only supports filtering by space_id.',
|
|
43483
|
+
operationId: 'seamCustomerV1EventsListGet',
|
|
43484
|
+
parameters: [
|
|
43485
|
+
{
|
|
43486
|
+
in: 'query',
|
|
43487
|
+
name: 'space_id',
|
|
43488
|
+
required: true,
|
|
43489
|
+
schema: {
|
|
43490
|
+
description: 'ID of the space for which you want to list events.',
|
|
43491
|
+
format: 'uuid',
|
|
43492
|
+
type: 'string',
|
|
43493
|
+
},
|
|
43494
|
+
},
|
|
43495
|
+
{
|
|
43496
|
+
in: 'query',
|
|
43497
|
+
name: 'since',
|
|
43498
|
+
required: false,
|
|
43499
|
+
schema: {
|
|
43500
|
+
description: 'Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`.',
|
|
43501
|
+
type: 'string',
|
|
43502
|
+
},
|
|
43503
|
+
},
|
|
43504
|
+
{
|
|
43505
|
+
in: 'query',
|
|
43506
|
+
name: 'between',
|
|
43507
|
+
required: false,
|
|
43508
|
+
schema: {
|
|
43509
|
+
description: 'Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`.',
|
|
43510
|
+
items: {
|
|
43511
|
+
oneOf: [
|
|
43512
|
+
{ type: 'string' },
|
|
43513
|
+
{ format: 'date-time', type: 'string' },
|
|
43514
|
+
],
|
|
43515
|
+
},
|
|
43516
|
+
maxItems: 2,
|
|
43517
|
+
minItems: 2,
|
|
43518
|
+
type: 'array',
|
|
43519
|
+
},
|
|
43520
|
+
},
|
|
43521
|
+
{
|
|
43522
|
+
in: 'query',
|
|
43523
|
+
name: 'event_type',
|
|
43524
|
+
required: false,
|
|
43525
|
+
schema: {
|
|
43526
|
+
description: 'Type of the events that you want to list.',
|
|
43527
|
+
enum: [
|
|
43528
|
+
'access_code.created',
|
|
43529
|
+
'access_code.changed',
|
|
43530
|
+
'access_code.scheduled_on_device',
|
|
43531
|
+
'access_code.set_on_device',
|
|
43532
|
+
'access_code.removed_from_device',
|
|
43533
|
+
'access_code.delay_in_setting_on_device',
|
|
43534
|
+
'access_code.failed_to_set_on_device',
|
|
43535
|
+
'access_code.deleted',
|
|
43536
|
+
'access_code.delay_in_removing_from_device',
|
|
43537
|
+
'access_code.failed_to_remove_from_device',
|
|
43538
|
+
'access_code.modified_external_to_seam',
|
|
43539
|
+
'access_code.deleted_external_to_seam',
|
|
43540
|
+
'access_code.backup_access_code_pulled',
|
|
43541
|
+
'access_code.unmanaged.converted_to_managed',
|
|
43542
|
+
'access_code.unmanaged.failed_to_convert_to_managed',
|
|
43543
|
+
'access_code.unmanaged.created',
|
|
43544
|
+
'access_code.unmanaged.removed',
|
|
43545
|
+
'access_grant.created',
|
|
43546
|
+
'access_grant.deleted',
|
|
43547
|
+
'access_grant.access_granted_to_all_doors',
|
|
43548
|
+
'access_grant.access_granted_to_door',
|
|
43549
|
+
'access_grant.access_to_door_lost',
|
|
43550
|
+
'access_method.issued',
|
|
43551
|
+
'access_method.revoked',
|
|
43552
|
+
'access_method.card_encoding_required',
|
|
43553
|
+
'access_method.deleted',
|
|
43554
|
+
'access_method.reissued',
|
|
43555
|
+
'acs_system.connected',
|
|
43556
|
+
'acs_system.added',
|
|
43557
|
+
'acs_system.disconnected',
|
|
43558
|
+
'acs_credential.deleted',
|
|
43559
|
+
'acs_credential.issued',
|
|
43560
|
+
'acs_credential.reissued',
|
|
43561
|
+
'acs_credential.invalidated',
|
|
43562
|
+
'acs_user.created',
|
|
43563
|
+
'acs_user.deleted',
|
|
43564
|
+
'acs_encoder.added',
|
|
43565
|
+
'acs_encoder.removed',
|
|
43566
|
+
'acs_access_group.deleted',
|
|
43567
|
+
'acs_entrance.added',
|
|
43568
|
+
'acs_entrance.removed',
|
|
43569
|
+
'client_session.deleted',
|
|
43570
|
+
'connected_account.connected',
|
|
43571
|
+
'connected_account.created',
|
|
43572
|
+
'connected_account.successful_login',
|
|
43573
|
+
'connected_account.disconnected',
|
|
43574
|
+
'connected_account.completed_first_sync',
|
|
43575
|
+
'connected_account.deleted',
|
|
43576
|
+
'connected_account.completed_first_sync_after_reconnection',
|
|
43577
|
+
'action_attempt.lock_door.succeeded',
|
|
43578
|
+
'action_attempt.lock_door.failed',
|
|
43579
|
+
'action_attempt.unlock_door.succeeded',
|
|
43580
|
+
'action_attempt.unlock_door.failed',
|
|
43581
|
+
'connect_webview.login_succeeded',
|
|
43582
|
+
'connect_webview.login_failed',
|
|
43583
|
+
'device.connected',
|
|
43584
|
+
'device.added',
|
|
43585
|
+
'device.converted_to_unmanaged',
|
|
43586
|
+
'device.unmanaged.converted_to_managed',
|
|
43587
|
+
'device.unmanaged.connected',
|
|
43588
|
+
'device.disconnected',
|
|
43589
|
+
'device.unmanaged.disconnected',
|
|
43590
|
+
'device.tampered',
|
|
43591
|
+
'device.low_battery',
|
|
43592
|
+
'device.battery_status_changed',
|
|
43593
|
+
'device.removed',
|
|
43594
|
+
'device.deleted',
|
|
43595
|
+
'device.third_party_integration_detected',
|
|
43596
|
+
'device.third_party_integration_no_longer_detected',
|
|
43597
|
+
'device.salto.privacy_mode_activated',
|
|
43598
|
+
'device.salto.privacy_mode_deactivated',
|
|
43599
|
+
'device.connection_became_flaky',
|
|
43600
|
+
'device.connection_stabilized',
|
|
43601
|
+
'device.error.subscription_required',
|
|
43602
|
+
'device.error.subscription_required.resolved',
|
|
43603
|
+
'device.accessory_keypad_connected',
|
|
43604
|
+
'device.accessory_keypad_disconnected',
|
|
43605
|
+
'noise_sensor.noise_threshold_triggered',
|
|
43606
|
+
'lock.locked',
|
|
43607
|
+
'lock.unlocked',
|
|
43608
|
+
'lock.access_denied',
|
|
43609
|
+
'thermostat.climate_preset_activated',
|
|
43610
|
+
'thermostat.manually_adjusted',
|
|
43611
|
+
'thermostat.temperature_threshold_exceeded',
|
|
43612
|
+
'thermostat.temperature_threshold_no_longer_exceeded',
|
|
43613
|
+
'thermostat.temperature_reached_set_point',
|
|
43614
|
+
'thermostat.temperature_changed',
|
|
43615
|
+
'device.name_changed',
|
|
43616
|
+
'enrollment_automation.deleted',
|
|
43617
|
+
'phone.deactivated',
|
|
43618
|
+
],
|
|
43619
|
+
type: 'string',
|
|
43620
|
+
},
|
|
43621
|
+
},
|
|
43622
|
+
{
|
|
43623
|
+
in: 'query',
|
|
43624
|
+
name: 'event_types',
|
|
43625
|
+
required: false,
|
|
43626
|
+
schema: {
|
|
43627
|
+
description: 'Types of the events that you want to list.',
|
|
43628
|
+
items: {
|
|
43629
|
+
enum: [
|
|
43630
|
+
'access_code.created',
|
|
43631
|
+
'access_code.changed',
|
|
43632
|
+
'access_code.scheduled_on_device',
|
|
43633
|
+
'access_code.set_on_device',
|
|
43634
|
+
'access_code.removed_from_device',
|
|
43635
|
+
'access_code.delay_in_setting_on_device',
|
|
43636
|
+
'access_code.failed_to_set_on_device',
|
|
43637
|
+
'access_code.deleted',
|
|
43638
|
+
'access_code.delay_in_removing_from_device',
|
|
43639
|
+
'access_code.failed_to_remove_from_device',
|
|
43640
|
+
'access_code.modified_external_to_seam',
|
|
43641
|
+
'access_code.deleted_external_to_seam',
|
|
43642
|
+
'access_code.backup_access_code_pulled',
|
|
43643
|
+
'access_code.unmanaged.converted_to_managed',
|
|
43644
|
+
'access_code.unmanaged.failed_to_convert_to_managed',
|
|
43645
|
+
'access_code.unmanaged.created',
|
|
43646
|
+
'access_code.unmanaged.removed',
|
|
43647
|
+
'access_grant.created',
|
|
43648
|
+
'access_grant.deleted',
|
|
43649
|
+
'access_grant.access_granted_to_all_doors',
|
|
43650
|
+
'access_grant.access_granted_to_door',
|
|
43651
|
+
'access_grant.access_to_door_lost',
|
|
43652
|
+
'access_method.issued',
|
|
43653
|
+
'access_method.revoked',
|
|
43654
|
+
'access_method.card_encoding_required',
|
|
43655
|
+
'access_method.deleted',
|
|
43656
|
+
'access_method.reissued',
|
|
43657
|
+
'acs_system.connected',
|
|
43658
|
+
'acs_system.added',
|
|
43659
|
+
'acs_system.disconnected',
|
|
43660
|
+
'acs_credential.deleted',
|
|
43661
|
+
'acs_credential.issued',
|
|
43662
|
+
'acs_credential.reissued',
|
|
43663
|
+
'acs_credential.invalidated',
|
|
43664
|
+
'acs_user.created',
|
|
43665
|
+
'acs_user.deleted',
|
|
43666
|
+
'acs_encoder.added',
|
|
43667
|
+
'acs_encoder.removed',
|
|
43668
|
+
'acs_access_group.deleted',
|
|
43669
|
+
'acs_entrance.added',
|
|
43670
|
+
'acs_entrance.removed',
|
|
43671
|
+
'client_session.deleted',
|
|
43672
|
+
'connected_account.connected',
|
|
43673
|
+
'connected_account.created',
|
|
43674
|
+
'connected_account.successful_login',
|
|
43675
|
+
'connected_account.disconnected',
|
|
43676
|
+
'connected_account.completed_first_sync',
|
|
43677
|
+
'connected_account.deleted',
|
|
43678
|
+
'connected_account.completed_first_sync_after_reconnection',
|
|
43679
|
+
'action_attempt.lock_door.succeeded',
|
|
43680
|
+
'action_attempt.lock_door.failed',
|
|
43681
|
+
'action_attempt.unlock_door.succeeded',
|
|
43682
|
+
'action_attempt.unlock_door.failed',
|
|
43683
|
+
'connect_webview.login_succeeded',
|
|
43684
|
+
'connect_webview.login_failed',
|
|
43685
|
+
'device.connected',
|
|
43686
|
+
'device.added',
|
|
43687
|
+
'device.converted_to_unmanaged',
|
|
43688
|
+
'device.unmanaged.converted_to_managed',
|
|
43689
|
+
'device.unmanaged.connected',
|
|
43690
|
+
'device.disconnected',
|
|
43691
|
+
'device.unmanaged.disconnected',
|
|
43692
|
+
'device.tampered',
|
|
43693
|
+
'device.low_battery',
|
|
43694
|
+
'device.battery_status_changed',
|
|
43695
|
+
'device.removed',
|
|
43696
|
+
'device.deleted',
|
|
43697
|
+
'device.third_party_integration_detected',
|
|
43698
|
+
'device.third_party_integration_no_longer_detected',
|
|
43699
|
+
'device.salto.privacy_mode_activated',
|
|
43700
|
+
'device.salto.privacy_mode_deactivated',
|
|
43701
|
+
'device.connection_became_flaky',
|
|
43702
|
+
'device.connection_stabilized',
|
|
43703
|
+
'device.error.subscription_required',
|
|
43704
|
+
'device.error.subscription_required.resolved',
|
|
43705
|
+
'device.accessory_keypad_connected',
|
|
43706
|
+
'device.accessory_keypad_disconnected',
|
|
43707
|
+
'noise_sensor.noise_threshold_triggered',
|
|
43708
|
+
'lock.locked',
|
|
43709
|
+
'lock.unlocked',
|
|
43710
|
+
'lock.access_denied',
|
|
43711
|
+
'thermostat.climate_preset_activated',
|
|
43712
|
+
'thermostat.manually_adjusted',
|
|
43713
|
+
'thermostat.temperature_threshold_exceeded',
|
|
43714
|
+
'thermostat.temperature_threshold_no_longer_exceeded',
|
|
43715
|
+
'thermostat.temperature_reached_set_point',
|
|
43716
|
+
'thermostat.temperature_changed',
|
|
43717
|
+
'device.name_changed',
|
|
43718
|
+
'enrollment_automation.deleted',
|
|
43719
|
+
'phone.deactivated',
|
|
43720
|
+
],
|
|
43721
|
+
type: 'string',
|
|
43722
|
+
},
|
|
43723
|
+
type: 'array',
|
|
43724
|
+
},
|
|
43725
|
+
},
|
|
43726
|
+
{
|
|
43727
|
+
in: 'query',
|
|
43728
|
+
name: 'limit',
|
|
43729
|
+
required: false,
|
|
43730
|
+
schema: {
|
|
43731
|
+
default: 500,
|
|
43732
|
+
description: 'Numerical limit on the number of events to return.',
|
|
43733
|
+
format: 'float',
|
|
43734
|
+
type: 'number',
|
|
43735
|
+
},
|
|
43736
|
+
},
|
|
43737
|
+
],
|
|
43738
|
+
responses: {
|
|
43739
|
+
200: {
|
|
43740
|
+
content: {
|
|
43741
|
+
'application/json': {
|
|
43742
|
+
schema: {
|
|
43743
|
+
properties: {
|
|
43744
|
+
events: {
|
|
43745
|
+
items: { $ref: '#/components/schemas/event' },
|
|
43746
|
+
type: 'array',
|
|
43747
|
+
},
|
|
43748
|
+
ok: { type: 'boolean' },
|
|
43749
|
+
},
|
|
43750
|
+
required: ['events', 'ok'],
|
|
43751
|
+
type: 'object',
|
|
43752
|
+
},
|
|
43753
|
+
},
|
|
43754
|
+
},
|
|
43755
|
+
description: 'OK',
|
|
43756
|
+
},
|
|
43757
|
+
400: { description: 'Bad Request' },
|
|
43758
|
+
401: { description: 'Unauthorized' },
|
|
43759
|
+
},
|
|
43760
|
+
security: [{ client_session_with_customer: [] }],
|
|
43761
|
+
summary: '/seam/customer/v1/events/list',
|
|
43762
|
+
tags: ['/events'],
|
|
43763
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'events'],
|
|
43764
|
+
'x-fern-sdk-method-name': 'list',
|
|
43765
|
+
'x-fern-sdk-return-value': 'events',
|
|
43766
|
+
'x-response-key': 'events',
|
|
43767
|
+
'x-title': 'List Events for Customer Space',
|
|
43768
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
43769
|
+
},
|
|
43770
|
+
post: {
|
|
43771
|
+
description: 'Returns a list of events for devices in a specific space. This endpoint is designed for customer portals and only supports filtering by space_id.',
|
|
43772
|
+
operationId: 'seamCustomerV1EventsListPost',
|
|
43773
|
+
requestBody: {
|
|
43774
|
+
content: {
|
|
43775
|
+
'application/json': {
|
|
43776
|
+
schema: {
|
|
43777
|
+
properties: {
|
|
43778
|
+
between: {
|
|
43779
|
+
description: 'Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`.',
|
|
43780
|
+
items: {
|
|
43781
|
+
oneOf: [
|
|
43782
|
+
{ type: 'string' },
|
|
43783
|
+
{ format: 'date-time', type: 'string' },
|
|
43784
|
+
],
|
|
43785
|
+
},
|
|
43786
|
+
maxItems: 2,
|
|
43787
|
+
minItems: 2,
|
|
43788
|
+
type: 'array',
|
|
43789
|
+
},
|
|
43790
|
+
event_type: {
|
|
43791
|
+
description: 'Type of the events that you want to list.',
|
|
43792
|
+
enum: [
|
|
43793
|
+
'access_code.created',
|
|
43794
|
+
'access_code.changed',
|
|
43795
|
+
'access_code.scheduled_on_device',
|
|
43796
|
+
'access_code.set_on_device',
|
|
43797
|
+
'access_code.removed_from_device',
|
|
43798
|
+
'access_code.delay_in_setting_on_device',
|
|
43799
|
+
'access_code.failed_to_set_on_device',
|
|
43800
|
+
'access_code.deleted',
|
|
43801
|
+
'access_code.delay_in_removing_from_device',
|
|
43802
|
+
'access_code.failed_to_remove_from_device',
|
|
43803
|
+
'access_code.modified_external_to_seam',
|
|
43804
|
+
'access_code.deleted_external_to_seam',
|
|
43805
|
+
'access_code.backup_access_code_pulled',
|
|
43806
|
+
'access_code.unmanaged.converted_to_managed',
|
|
43807
|
+
'access_code.unmanaged.failed_to_convert_to_managed',
|
|
43808
|
+
'access_code.unmanaged.created',
|
|
43809
|
+
'access_code.unmanaged.removed',
|
|
43810
|
+
'access_grant.created',
|
|
43811
|
+
'access_grant.deleted',
|
|
43812
|
+
'access_grant.access_granted_to_all_doors',
|
|
43813
|
+
'access_grant.access_granted_to_door',
|
|
43814
|
+
'access_grant.access_to_door_lost',
|
|
43815
|
+
'access_method.issued',
|
|
43816
|
+
'access_method.revoked',
|
|
43817
|
+
'access_method.card_encoding_required',
|
|
43818
|
+
'access_method.deleted',
|
|
43819
|
+
'access_method.reissued',
|
|
43820
|
+
'acs_system.connected',
|
|
43821
|
+
'acs_system.added',
|
|
43822
|
+
'acs_system.disconnected',
|
|
43823
|
+
'acs_credential.deleted',
|
|
43824
|
+
'acs_credential.issued',
|
|
43825
|
+
'acs_credential.reissued',
|
|
43826
|
+
'acs_credential.invalidated',
|
|
43827
|
+
'acs_user.created',
|
|
43828
|
+
'acs_user.deleted',
|
|
43829
|
+
'acs_encoder.added',
|
|
43830
|
+
'acs_encoder.removed',
|
|
43831
|
+
'acs_access_group.deleted',
|
|
43832
|
+
'acs_entrance.added',
|
|
43833
|
+
'acs_entrance.removed',
|
|
43834
|
+
'client_session.deleted',
|
|
43835
|
+
'connected_account.connected',
|
|
43836
|
+
'connected_account.created',
|
|
43837
|
+
'connected_account.successful_login',
|
|
43838
|
+
'connected_account.disconnected',
|
|
43839
|
+
'connected_account.completed_first_sync',
|
|
43840
|
+
'connected_account.deleted',
|
|
43841
|
+
'connected_account.completed_first_sync_after_reconnection',
|
|
43842
|
+
'action_attempt.lock_door.succeeded',
|
|
43843
|
+
'action_attempt.lock_door.failed',
|
|
43844
|
+
'action_attempt.unlock_door.succeeded',
|
|
43845
|
+
'action_attempt.unlock_door.failed',
|
|
43846
|
+
'connect_webview.login_succeeded',
|
|
43847
|
+
'connect_webview.login_failed',
|
|
43848
|
+
'device.connected',
|
|
43849
|
+
'device.added',
|
|
43850
|
+
'device.converted_to_unmanaged',
|
|
43851
|
+
'device.unmanaged.converted_to_managed',
|
|
43852
|
+
'device.unmanaged.connected',
|
|
43853
|
+
'device.disconnected',
|
|
43854
|
+
'device.unmanaged.disconnected',
|
|
43855
|
+
'device.tampered',
|
|
43856
|
+
'device.low_battery',
|
|
43857
|
+
'device.battery_status_changed',
|
|
43858
|
+
'device.removed',
|
|
43859
|
+
'device.deleted',
|
|
43860
|
+
'device.third_party_integration_detected',
|
|
43861
|
+
'device.third_party_integration_no_longer_detected',
|
|
43862
|
+
'device.salto.privacy_mode_activated',
|
|
43863
|
+
'device.salto.privacy_mode_deactivated',
|
|
43864
|
+
'device.connection_became_flaky',
|
|
43865
|
+
'device.connection_stabilized',
|
|
43866
|
+
'device.error.subscription_required',
|
|
43867
|
+
'device.error.subscription_required.resolved',
|
|
43868
|
+
'device.accessory_keypad_connected',
|
|
43869
|
+
'device.accessory_keypad_disconnected',
|
|
43870
|
+
'noise_sensor.noise_threshold_triggered',
|
|
43871
|
+
'lock.locked',
|
|
43872
|
+
'lock.unlocked',
|
|
43873
|
+
'lock.access_denied',
|
|
43874
|
+
'thermostat.climate_preset_activated',
|
|
43875
|
+
'thermostat.manually_adjusted',
|
|
43876
|
+
'thermostat.temperature_threshold_exceeded',
|
|
43877
|
+
'thermostat.temperature_threshold_no_longer_exceeded',
|
|
43878
|
+
'thermostat.temperature_reached_set_point',
|
|
43879
|
+
'thermostat.temperature_changed',
|
|
43880
|
+
'device.name_changed',
|
|
43881
|
+
'enrollment_automation.deleted',
|
|
43882
|
+
'phone.deactivated',
|
|
43883
|
+
],
|
|
43884
|
+
type: 'string',
|
|
43885
|
+
},
|
|
43886
|
+
event_types: {
|
|
43887
|
+
description: 'Types of the events that you want to list.',
|
|
43888
|
+
items: {
|
|
43889
|
+
enum: [
|
|
43890
|
+
'access_code.created',
|
|
43891
|
+
'access_code.changed',
|
|
43892
|
+
'access_code.scheduled_on_device',
|
|
43893
|
+
'access_code.set_on_device',
|
|
43894
|
+
'access_code.removed_from_device',
|
|
43895
|
+
'access_code.delay_in_setting_on_device',
|
|
43896
|
+
'access_code.failed_to_set_on_device',
|
|
43897
|
+
'access_code.deleted',
|
|
43898
|
+
'access_code.delay_in_removing_from_device',
|
|
43899
|
+
'access_code.failed_to_remove_from_device',
|
|
43900
|
+
'access_code.modified_external_to_seam',
|
|
43901
|
+
'access_code.deleted_external_to_seam',
|
|
43902
|
+
'access_code.backup_access_code_pulled',
|
|
43903
|
+
'access_code.unmanaged.converted_to_managed',
|
|
43904
|
+
'access_code.unmanaged.failed_to_convert_to_managed',
|
|
43905
|
+
'access_code.unmanaged.created',
|
|
43906
|
+
'access_code.unmanaged.removed',
|
|
43907
|
+
'access_grant.created',
|
|
43908
|
+
'access_grant.deleted',
|
|
43909
|
+
'access_grant.access_granted_to_all_doors',
|
|
43910
|
+
'access_grant.access_granted_to_door',
|
|
43911
|
+
'access_grant.access_to_door_lost',
|
|
43912
|
+
'access_method.issued',
|
|
43913
|
+
'access_method.revoked',
|
|
43914
|
+
'access_method.card_encoding_required',
|
|
43915
|
+
'access_method.deleted',
|
|
43916
|
+
'access_method.reissued',
|
|
43917
|
+
'acs_system.connected',
|
|
43918
|
+
'acs_system.added',
|
|
43919
|
+
'acs_system.disconnected',
|
|
43920
|
+
'acs_credential.deleted',
|
|
43921
|
+
'acs_credential.issued',
|
|
43922
|
+
'acs_credential.reissued',
|
|
43923
|
+
'acs_credential.invalidated',
|
|
43924
|
+
'acs_user.created',
|
|
43925
|
+
'acs_user.deleted',
|
|
43926
|
+
'acs_encoder.added',
|
|
43927
|
+
'acs_encoder.removed',
|
|
43928
|
+
'acs_access_group.deleted',
|
|
43929
|
+
'acs_entrance.added',
|
|
43930
|
+
'acs_entrance.removed',
|
|
43931
|
+
'client_session.deleted',
|
|
43932
|
+
'connected_account.connected',
|
|
43933
|
+
'connected_account.created',
|
|
43934
|
+
'connected_account.successful_login',
|
|
43935
|
+
'connected_account.disconnected',
|
|
43936
|
+
'connected_account.completed_first_sync',
|
|
43937
|
+
'connected_account.deleted',
|
|
43938
|
+
'connected_account.completed_first_sync_after_reconnection',
|
|
43939
|
+
'action_attempt.lock_door.succeeded',
|
|
43940
|
+
'action_attempt.lock_door.failed',
|
|
43941
|
+
'action_attempt.unlock_door.succeeded',
|
|
43942
|
+
'action_attempt.unlock_door.failed',
|
|
43943
|
+
'connect_webview.login_succeeded',
|
|
43944
|
+
'connect_webview.login_failed',
|
|
43945
|
+
'device.connected',
|
|
43946
|
+
'device.added',
|
|
43947
|
+
'device.converted_to_unmanaged',
|
|
43948
|
+
'device.unmanaged.converted_to_managed',
|
|
43949
|
+
'device.unmanaged.connected',
|
|
43950
|
+
'device.disconnected',
|
|
43951
|
+
'device.unmanaged.disconnected',
|
|
43952
|
+
'device.tampered',
|
|
43953
|
+
'device.low_battery',
|
|
43954
|
+
'device.battery_status_changed',
|
|
43955
|
+
'device.removed',
|
|
43956
|
+
'device.deleted',
|
|
43957
|
+
'device.third_party_integration_detected',
|
|
43958
|
+
'device.third_party_integration_no_longer_detected',
|
|
43959
|
+
'device.salto.privacy_mode_activated',
|
|
43960
|
+
'device.salto.privacy_mode_deactivated',
|
|
43961
|
+
'device.connection_became_flaky',
|
|
43962
|
+
'device.connection_stabilized',
|
|
43963
|
+
'device.error.subscription_required',
|
|
43964
|
+
'device.error.subscription_required.resolved',
|
|
43965
|
+
'device.accessory_keypad_connected',
|
|
43966
|
+
'device.accessory_keypad_disconnected',
|
|
43967
|
+
'noise_sensor.noise_threshold_triggered',
|
|
43968
|
+
'lock.locked',
|
|
43969
|
+
'lock.unlocked',
|
|
43970
|
+
'lock.access_denied',
|
|
43971
|
+
'thermostat.climate_preset_activated',
|
|
43972
|
+
'thermostat.manually_adjusted',
|
|
43973
|
+
'thermostat.temperature_threshold_exceeded',
|
|
43974
|
+
'thermostat.temperature_threshold_no_longer_exceeded',
|
|
43975
|
+
'thermostat.temperature_reached_set_point',
|
|
43976
|
+
'thermostat.temperature_changed',
|
|
43977
|
+
'device.name_changed',
|
|
43978
|
+
'enrollment_automation.deleted',
|
|
43979
|
+
'phone.deactivated',
|
|
43980
|
+
],
|
|
43981
|
+
type: 'string',
|
|
43982
|
+
},
|
|
43983
|
+
type: 'array',
|
|
43984
|
+
},
|
|
43985
|
+
limit: {
|
|
43986
|
+
default: 500,
|
|
43987
|
+
description: 'Numerical limit on the number of events to return.',
|
|
43988
|
+
format: 'float',
|
|
43989
|
+
type: 'number',
|
|
43990
|
+
},
|
|
43991
|
+
since: {
|
|
43992
|
+
description: 'Timestamp to indicate the beginning generation time for the events that you want to list. You must include `since` or `between`.',
|
|
43993
|
+
type: 'string',
|
|
43994
|
+
},
|
|
43995
|
+
space_id: {
|
|
43996
|
+
description: 'ID of the space for which you want to list events.',
|
|
43997
|
+
format: 'uuid',
|
|
43998
|
+
type: 'string',
|
|
43999
|
+
},
|
|
44000
|
+
},
|
|
44001
|
+
required: ['space_id'],
|
|
44002
|
+
type: 'object',
|
|
44003
|
+
},
|
|
44004
|
+
},
|
|
44005
|
+
},
|
|
44006
|
+
},
|
|
44007
|
+
responses: {
|
|
44008
|
+
200: {
|
|
44009
|
+
content: {
|
|
44010
|
+
'application/json': {
|
|
44011
|
+
schema: {
|
|
44012
|
+
properties: {
|
|
44013
|
+
events: {
|
|
44014
|
+
items: { $ref: '#/components/schemas/event' },
|
|
44015
|
+
type: 'array',
|
|
44016
|
+
},
|
|
44017
|
+
ok: { type: 'boolean' },
|
|
44018
|
+
},
|
|
44019
|
+
required: ['events', 'ok'],
|
|
44020
|
+
type: 'object',
|
|
44021
|
+
},
|
|
44022
|
+
},
|
|
44023
|
+
},
|
|
44024
|
+
description: 'OK',
|
|
44025
|
+
},
|
|
44026
|
+
400: { description: 'Bad Request' },
|
|
44027
|
+
401: { description: 'Unauthorized' },
|
|
44028
|
+
},
|
|
44029
|
+
security: [{ client_session_with_customer: [] }],
|
|
44030
|
+
summary: '/seam/customer/v1/events/list',
|
|
44031
|
+
tags: ['/events'],
|
|
44032
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'events'],
|
|
44033
|
+
'x-fern-sdk-method-name': 'list',
|
|
44034
|
+
'x-fern-sdk-return-value': 'events',
|
|
44035
|
+
'x-response-key': 'events',
|
|
44036
|
+
'x-title': 'List Events for Customer Space',
|
|
44037
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
44038
|
+
},
|
|
44039
|
+
},
|
|
43484
44040
|
'/seam/customer/v1/portals/get': {
|
|
43485
44041
|
get: {
|
|
43486
44042
|
description: 'Retrieves the configuration for a customer portal identified by customer_portal_id.',
|
|
@@ -43661,6 +44217,92 @@ export default {
|
|
|
43661
44217
|
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
43662
44218
|
},
|
|
43663
44219
|
},
|
|
44220
|
+
'/seam/customer/v1/settings/get': {
|
|
44221
|
+
get: {
|
|
44222
|
+
description: 'Retrieves the settings for a customer portal workspace.',
|
|
44223
|
+
operationId: 'seamCustomerV1SettingsGetGet',
|
|
44224
|
+
responses: {
|
|
44225
|
+
200: {
|
|
44226
|
+
content: {
|
|
44227
|
+
'application/json': {
|
|
44228
|
+
schema: {
|
|
44229
|
+
properties: {
|
|
44230
|
+
business_vertical: {
|
|
44231
|
+
description: 'Business vertical of the customer portal.',
|
|
44232
|
+
enum: [
|
|
44233
|
+
'short_term_rental',
|
|
44234
|
+
'hospitality',
|
|
44235
|
+
'multi_family',
|
|
44236
|
+
'gym_management',
|
|
44237
|
+
'property_tours',
|
|
44238
|
+
],
|
|
44239
|
+
type: 'string',
|
|
44240
|
+
},
|
|
44241
|
+
ok: { type: 'boolean' },
|
|
44242
|
+
},
|
|
44243
|
+
required: ['ok'],
|
|
44244
|
+
type: 'object',
|
|
44245
|
+
},
|
|
44246
|
+
},
|
|
44247
|
+
},
|
|
44248
|
+
description: 'OK',
|
|
44249
|
+
},
|
|
44250
|
+
400: { description: 'Bad Request' },
|
|
44251
|
+
401: { description: 'Unauthorized' },
|
|
44252
|
+
},
|
|
44253
|
+
security: [{ console_session_with_workspace: [] }, { api_key: [] }],
|
|
44254
|
+
summary: '/seam/customer/v1/settings/get',
|
|
44255
|
+
tags: [],
|
|
44256
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'settings'],
|
|
44257
|
+
'x-fern-sdk-method-name': 'get',
|
|
44258
|
+
'x-fern-sdk-return-value': 'business_vertical',
|
|
44259
|
+
'x-response-key': 'business_vertical',
|
|
44260
|
+
'x-title': 'Get Customer Portal Settings',
|
|
44261
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
44262
|
+
},
|
|
44263
|
+
post: {
|
|
44264
|
+
description: 'Retrieves the settings for a customer portal workspace.',
|
|
44265
|
+
operationId: 'seamCustomerV1SettingsGetPost',
|
|
44266
|
+
responses: {
|
|
44267
|
+
200: {
|
|
44268
|
+
content: {
|
|
44269
|
+
'application/json': {
|
|
44270
|
+
schema: {
|
|
44271
|
+
properties: {
|
|
44272
|
+
business_vertical: {
|
|
44273
|
+
description: 'Business vertical of the customer portal.',
|
|
44274
|
+
enum: [
|
|
44275
|
+
'short_term_rental',
|
|
44276
|
+
'hospitality',
|
|
44277
|
+
'multi_family',
|
|
44278
|
+
'gym_management',
|
|
44279
|
+
'property_tours',
|
|
44280
|
+
],
|
|
44281
|
+
type: 'string',
|
|
44282
|
+
},
|
|
44283
|
+
ok: { type: 'boolean' },
|
|
44284
|
+
},
|
|
44285
|
+
required: ['ok'],
|
|
44286
|
+
type: 'object',
|
|
44287
|
+
},
|
|
44288
|
+
},
|
|
44289
|
+
},
|
|
44290
|
+
description: 'OK',
|
|
44291
|
+
},
|
|
44292
|
+
400: { description: 'Bad Request' },
|
|
44293
|
+
401: { description: 'Unauthorized' },
|
|
44294
|
+
},
|
|
44295
|
+
security: [{ console_session_with_workspace: [] }, { api_key: [] }],
|
|
44296
|
+
summary: '/seam/customer/v1/settings/get',
|
|
44297
|
+
tags: [],
|
|
44298
|
+
'x-fern-sdk-group-name': ['seam', 'customer', 'v1', 'settings'],
|
|
44299
|
+
'x-fern-sdk-method-name': 'get',
|
|
44300
|
+
'x-fern-sdk-return-value': 'business_vertical',
|
|
44301
|
+
'x-response-key': 'business_vertical',
|
|
44302
|
+
'x-title': 'Get Customer Portal Settings',
|
|
44303
|
+
'x-undocumented': 'Internal endpoint for customer portals.',
|
|
44304
|
+
},
|
|
44305
|
+
},
|
|
43664
44306
|
'/seam/customer/v1/settings/update': {
|
|
43665
44307
|
patch: {
|
|
43666
44308
|
description: 'Updates the settings for a customer portal workspace.',
|
|
@@ -45735,7 +46377,6 @@ export default {
|
|
|
45735
46377
|
'x-fern-sdk-return-value': 'thermostat_daily_program',
|
|
45736
46378
|
'x-response-key': 'thermostat_daily_program',
|
|
45737
46379
|
'x-title': 'Create a Thermostat Daily Program',
|
|
45738
|
-
'x-undocumented': 'Unreleased.',
|
|
45739
46380
|
},
|
|
45740
46381
|
},
|
|
45741
46382
|
'/thermostats/daily_programs/delete': {
|
|
@@ -45782,7 +46423,6 @@ export default {
|
|
|
45782
46423
|
'x-fern-sdk-method-name': 'delete',
|
|
45783
46424
|
'x-response-key': null,
|
|
45784
46425
|
'x-title': 'Delete a Thermostat Daily Program',
|
|
45785
|
-
'x-undocumented': 'Unreleased.',
|
|
45786
46426
|
},
|
|
45787
46427
|
post: {
|
|
45788
46428
|
description: 'Deletes a thermostat daily program.',
|
|
@@ -45832,7 +46472,6 @@ export default {
|
|
|
45832
46472
|
'x-fern-sdk-method-name': 'delete',
|
|
45833
46473
|
'x-response-key': null,
|
|
45834
46474
|
'x-title': 'Delete a Thermostat Daily Program',
|
|
45835
|
-
'x-undocumented': 'Unreleased.',
|
|
45836
46475
|
},
|
|
45837
46476
|
},
|
|
45838
46477
|
'/thermostats/daily_programs/update': {
|
|
@@ -45915,7 +46554,6 @@ export default {
|
|
|
45915
46554
|
'x-fern-sdk-return-value': 'action_attempt',
|
|
45916
46555
|
'x-response-key': 'action_attempt',
|
|
45917
46556
|
'x-title': 'Update a Thermostat Daily Program',
|
|
45918
|
-
'x-undocumented': 'Unreleased.',
|
|
45919
46557
|
},
|
|
45920
46558
|
post: {
|
|
45921
46559
|
description: 'Updates a specified thermostat daily program. The periods that you specify overwrite any existing periods for the daily program.',
|
|
@@ -45996,7 +46634,6 @@ export default {
|
|
|
45996
46634
|
'x-fern-sdk-return-value': 'action_attempt',
|
|
45997
46635
|
'x-response-key': 'action_attempt',
|
|
45998
46636
|
'x-title': 'Update a Thermostat Daily Program',
|
|
45999
|
-
'x-undocumented': 'Unreleased.',
|
|
46000
46637
|
},
|
|
46001
46638
|
},
|
|
46002
46639
|
'/thermostats/delete_climate_preset': {
|
|
@@ -48503,7 +49140,6 @@ export default {
|
|
|
48503
49140
|
'x-fern-sdk-return-value': 'action_attempt',
|
|
48504
49141
|
'x-response-key': 'action_attempt',
|
|
48505
49142
|
'x-title': 'Update the Thermostat Weekly Program',
|
|
48506
|
-
'x-undocumented': 'Unreleased.',
|
|
48507
49143
|
},
|
|
48508
49144
|
},
|
|
48509
49145
|
'/unstable_access_grants/create': {
|