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