@seamapi/types 1.739.0 → 1.741.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 +355 -4
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1348 -61
- package/dist/index.cjs +355 -4
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +62 -0
- package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.d.ts +53 -0
- package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.js +19 -0
- package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +62 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +53 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js +19 -0
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +296 -0
- package/lib/seam/connect/models/events/devices.d.ts +156 -0
- package/lib/seam/connect/models/events/devices.js +25 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +77 -1
- package/lib/seam/connect/openapi.d.ts +407 -0
- package/lib/seam/connect/openapi.js +305 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +388 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.ts +26 -0
- package/src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts +26 -0
- package/src/lib/seam/connect/models/events/devices.ts +31 -0
- package/src/lib/seam/connect/openapi.ts +337 -0
- package/src/lib/seam/connect/route-types.ts +456 -0
|
@@ -12356,6 +12356,17 @@ export type Routes = {
|
|
|
12356
12356
|
/** New entrance ID. */
|
|
12357
12357
|
acs_entrance_id: string | null;
|
|
12358
12358
|
};
|
|
12359
|
+
} | {
|
|
12360
|
+
/** Date and time at which the mutation was created. */
|
|
12361
|
+
created_at: string;
|
|
12362
|
+
/** Detailed description of the mutation. */
|
|
12363
|
+
message: string;
|
|
12364
|
+
/** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
|
|
12365
|
+
mutation_code: 'deferring_user_membership_update';
|
|
12366
|
+
/** ID of the user involved in the scheduled change. */
|
|
12367
|
+
acs_user_id: string;
|
|
12368
|
+
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
12369
|
+
variant: 'adding' | 'removing';
|
|
12359
12370
|
})[];
|
|
12360
12371
|
is_managed: true;
|
|
12361
12372
|
}[] | undefined;
|
|
@@ -17059,6 +17070,17 @@ export type Routes = {
|
|
|
17059
17070
|
/** New entrance ID. */
|
|
17060
17071
|
acs_entrance_id: string | null;
|
|
17061
17072
|
};
|
|
17073
|
+
} | {
|
|
17074
|
+
/** Date and time at which the mutation was created. */
|
|
17075
|
+
created_at: string;
|
|
17076
|
+
/** Detailed description of the mutation. */
|
|
17077
|
+
message: string;
|
|
17078
|
+
/** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
|
|
17079
|
+
mutation_code: 'deferring_user_membership_update';
|
|
17080
|
+
/** ID of the user involved in the scheduled change. */
|
|
17081
|
+
acs_user_id: string;
|
|
17082
|
+
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
17083
|
+
variant: 'adding' | 'removing';
|
|
17062
17084
|
})[];
|
|
17063
17085
|
is_managed: true;
|
|
17064
17086
|
};
|
|
@@ -17216,6 +17238,17 @@ export type Routes = {
|
|
|
17216
17238
|
/** New entrance ID. */
|
|
17217
17239
|
acs_entrance_id: string | null;
|
|
17218
17240
|
};
|
|
17241
|
+
} | {
|
|
17242
|
+
/** Date and time at which the mutation was created. */
|
|
17243
|
+
created_at: string;
|
|
17244
|
+
/** Detailed description of the mutation. */
|
|
17245
|
+
message: string;
|
|
17246
|
+
/** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
|
|
17247
|
+
mutation_code: 'deferring_user_membership_update';
|
|
17248
|
+
/** ID of the user involved in the scheduled change. */
|
|
17249
|
+
acs_user_id: string;
|
|
17250
|
+
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
17251
|
+
variant: 'adding' | 'removing';
|
|
17219
17252
|
})[];
|
|
17220
17253
|
is_managed: true;
|
|
17221
17254
|
}[];
|
|
@@ -17575,6 +17608,17 @@ export type Routes = {
|
|
|
17575
17608
|
/** New access group ID. */
|
|
17576
17609
|
acs_access_group_id: string | null;
|
|
17577
17610
|
};
|
|
17611
|
+
} | {
|
|
17612
|
+
/** Date and time at which the mutation was created. */
|
|
17613
|
+
created_at: string;
|
|
17614
|
+
/** Detailed description of the mutation. */
|
|
17615
|
+
message: string;
|
|
17616
|
+
/** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
|
|
17617
|
+
mutation_code: 'deferring_group_membership_update';
|
|
17618
|
+
/** ID of the access group involved in the scheduled change. */
|
|
17619
|
+
acs_access_group_id: string;
|
|
17620
|
+
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
17621
|
+
variant: 'adding' | 'removing';
|
|
17578
17622
|
})[] | undefined;
|
|
17579
17623
|
/** The last time an internal sync job completed for this access system user. */
|
|
17580
17624
|
last_successful_sync_at: string | null;
|
|
@@ -17766,6 +17810,17 @@ export type Routes = {
|
|
|
17766
17810
|
/** New entrance ID. */
|
|
17767
17811
|
acs_entrance_id: string | null;
|
|
17768
17812
|
};
|
|
17813
|
+
} | {
|
|
17814
|
+
/** Date and time at which the mutation was created. */
|
|
17815
|
+
created_at: string;
|
|
17816
|
+
/** Detailed description of the mutation. */
|
|
17817
|
+
message: string;
|
|
17818
|
+
/** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
|
|
17819
|
+
mutation_code: 'deferring_user_membership_update';
|
|
17820
|
+
/** ID of the user involved in the scheduled change. */
|
|
17821
|
+
acs_user_id: string;
|
|
17822
|
+
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
17823
|
+
variant: 'adding' | 'removing';
|
|
17769
17824
|
})[];
|
|
17770
17825
|
is_managed: false;
|
|
17771
17826
|
};
|
|
@@ -17921,6 +17976,17 @@ export type Routes = {
|
|
|
17921
17976
|
/** New entrance ID. */
|
|
17922
17977
|
acs_entrance_id: string | null;
|
|
17923
17978
|
};
|
|
17979
|
+
} | {
|
|
17980
|
+
/** Date and time at which the mutation was created. */
|
|
17981
|
+
created_at: string;
|
|
17982
|
+
/** Detailed description of the mutation. */
|
|
17983
|
+
message: string;
|
|
17984
|
+
/** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
|
|
17985
|
+
mutation_code: 'deferring_user_membership_update';
|
|
17986
|
+
/** ID of the user involved in the scheduled change. */
|
|
17987
|
+
acs_user_id: string;
|
|
17988
|
+
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
17989
|
+
variant: 'adding' | 'removing';
|
|
17924
17990
|
})[];
|
|
17925
17991
|
is_managed: false;
|
|
17926
17992
|
}[];
|
|
@@ -23506,6 +23572,17 @@ export type Routes = {
|
|
|
23506
23572
|
/** New access group ID. */
|
|
23507
23573
|
acs_access_group_id: string | null;
|
|
23508
23574
|
};
|
|
23575
|
+
} | {
|
|
23576
|
+
/** Date and time at which the mutation was created. */
|
|
23577
|
+
created_at: string;
|
|
23578
|
+
/** Detailed description of the mutation. */
|
|
23579
|
+
message: string;
|
|
23580
|
+
/** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
|
|
23581
|
+
mutation_code: 'deferring_group_membership_update';
|
|
23582
|
+
/** ID of the access group involved in the scheduled change. */
|
|
23583
|
+
acs_access_group_id: string;
|
|
23584
|
+
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
23585
|
+
variant: 'adding' | 'removing';
|
|
23509
23586
|
})[] | undefined;
|
|
23510
23587
|
/** The last time an internal sync job completed for this access system user. */
|
|
23511
23588
|
last_successful_sync_at: string | null;
|
|
@@ -23770,6 +23847,17 @@ export type Routes = {
|
|
|
23770
23847
|
/** New access group ID. */
|
|
23771
23848
|
acs_access_group_id: string | null;
|
|
23772
23849
|
};
|
|
23850
|
+
} | {
|
|
23851
|
+
/** Date and time at which the mutation was created. */
|
|
23852
|
+
created_at: string;
|
|
23853
|
+
/** Detailed description of the mutation. */
|
|
23854
|
+
message: string;
|
|
23855
|
+
/** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
|
|
23856
|
+
mutation_code: 'deferring_group_membership_update';
|
|
23857
|
+
/** ID of the access group involved in the scheduled change. */
|
|
23858
|
+
acs_access_group_id: string;
|
|
23859
|
+
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
23860
|
+
variant: 'adding' | 'removing';
|
|
23773
23861
|
})[] | undefined;
|
|
23774
23862
|
/** The last time an internal sync job completed for this access system user. */
|
|
23775
23863
|
last_successful_sync_at: string | null;
|
|
@@ -24022,6 +24110,17 @@ export type Routes = {
|
|
|
24022
24110
|
/** New access group ID. */
|
|
24023
24111
|
acs_access_group_id: string | null;
|
|
24024
24112
|
};
|
|
24113
|
+
} | {
|
|
24114
|
+
/** Date and time at which the mutation was created. */
|
|
24115
|
+
created_at: string;
|
|
24116
|
+
/** Detailed description of the mutation. */
|
|
24117
|
+
message: string;
|
|
24118
|
+
/** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
|
|
24119
|
+
mutation_code: 'deferring_group_membership_update';
|
|
24120
|
+
/** ID of the access group involved in the scheduled change. */
|
|
24121
|
+
acs_access_group_id: string;
|
|
24122
|
+
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
24123
|
+
variant: 'adding' | 'removing';
|
|
24025
24124
|
})[] | undefined;
|
|
24026
24125
|
/** The last time an internal sync job completed for this access system user. */
|
|
24027
24126
|
last_successful_sync_at: string | null;
|
|
@@ -24468,6 +24567,17 @@ export type Routes = {
|
|
|
24468
24567
|
/** New access group ID. */
|
|
24469
24568
|
acs_access_group_id: string | null;
|
|
24470
24569
|
};
|
|
24570
|
+
} | {
|
|
24571
|
+
/** Date and time at which the mutation was created. */
|
|
24572
|
+
created_at: string;
|
|
24573
|
+
/** Detailed description of the mutation. */
|
|
24574
|
+
message: string;
|
|
24575
|
+
/** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
|
|
24576
|
+
mutation_code: 'deferring_group_membership_update';
|
|
24577
|
+
/** ID of the access group involved in the scheduled change. */
|
|
24578
|
+
acs_access_group_id: string;
|
|
24579
|
+
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
24580
|
+
variant: 'adding' | 'removing';
|
|
24471
24581
|
})[] | undefined;
|
|
24472
24582
|
/** The last time an internal sync job completed for this access system user. */
|
|
24473
24583
|
last_successful_sync_at: string | null;
|
|
@@ -24716,6 +24826,17 @@ export type Routes = {
|
|
|
24716
24826
|
/** New access group ID. */
|
|
24717
24827
|
acs_access_group_id: string | null;
|
|
24718
24828
|
};
|
|
24829
|
+
} | {
|
|
24830
|
+
/** Date and time at which the mutation was created. */
|
|
24831
|
+
created_at: string;
|
|
24832
|
+
/** Detailed description of the mutation. */
|
|
24833
|
+
message: string;
|
|
24834
|
+
/** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
|
|
24835
|
+
mutation_code: 'deferring_group_membership_update';
|
|
24836
|
+
/** ID of the access group involved in the scheduled change. */
|
|
24837
|
+
acs_access_group_id: string;
|
|
24838
|
+
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
24839
|
+
variant: 'adding' | 'removing';
|
|
24719
24840
|
})[] | undefined;
|
|
24720
24841
|
/** The last time an internal sync job completed for this access system user. */
|
|
24721
24842
|
last_successful_sync_at: string | null;
|
|
@@ -35740,6 +35861,58 @@ export type Routes = {
|
|
|
35740
35861
|
event_type: 'device.name_changed';
|
|
35741
35862
|
/** The new name of the affected device. */
|
|
35742
35863
|
device_name: string;
|
|
35864
|
+
} | {
|
|
35865
|
+
/** ID of the event. */
|
|
35866
|
+
event_id: string;
|
|
35867
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
35868
|
+
workspace_id: string;
|
|
35869
|
+
/** Date and time at which the event was created. */
|
|
35870
|
+
created_at: string;
|
|
35871
|
+
/** Date and time at which the event occurred. */
|
|
35872
|
+
occurred_at: string;
|
|
35873
|
+
/** ID of the affected device. */
|
|
35874
|
+
device_id: string;
|
|
35875
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
|
|
35876
|
+
connected_account_id: string;
|
|
35877
|
+
/** The customer key associated with the device, if any. */
|
|
35878
|
+
customer_key?: string | undefined;
|
|
35879
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
35880
|
+
device_custom_metadata?: {
|
|
35881
|
+
[x: string]: string | boolean;
|
|
35882
|
+
} | undefined;
|
|
35883
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
35884
|
+
connected_account_custom_metadata?: {
|
|
35885
|
+
[x: string]: string | boolean;
|
|
35886
|
+
} | undefined;
|
|
35887
|
+
event_type: 'camera.activated';
|
|
35888
|
+
/** The reason the camera was activated. */
|
|
35889
|
+
activation_reason: 'motion_detected';
|
|
35890
|
+
/** Sub-type of motion detected, if available. */
|
|
35891
|
+
motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
|
|
35892
|
+
} | {
|
|
35893
|
+
/** ID of the event. */
|
|
35894
|
+
event_id: string;
|
|
35895
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
35896
|
+
workspace_id: string;
|
|
35897
|
+
/** Date and time at which the event was created. */
|
|
35898
|
+
created_at: string;
|
|
35899
|
+
/** Date and time at which the event occurred. */
|
|
35900
|
+
occurred_at: string;
|
|
35901
|
+
/** ID of the affected device. */
|
|
35902
|
+
device_id: string;
|
|
35903
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
|
|
35904
|
+
connected_account_id: string;
|
|
35905
|
+
/** The customer key associated with the device, if any. */
|
|
35906
|
+
customer_key?: string | undefined;
|
|
35907
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
35908
|
+
device_custom_metadata?: {
|
|
35909
|
+
[x: string]: string | boolean;
|
|
35910
|
+
} | undefined;
|
|
35911
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
35912
|
+
connected_account_custom_metadata?: {
|
|
35913
|
+
[x: string]: string | boolean;
|
|
35914
|
+
} | undefined;
|
|
35915
|
+
event_type: 'device.doorbell_rang';
|
|
35743
35916
|
} | {
|
|
35744
35917
|
/** ID of the event. */
|
|
35745
35918
|
event_id: string;
|
|
@@ -35857,9 +36030,9 @@ export type Routes = {
|
|
|
35857
36030
|
/** IDs of the access codes for which you want to list events. */
|
|
35858
36031
|
access_code_ids?: string[] | undefined;
|
|
35859
36032
|
/** Type of the events that you want to list. */
|
|
35860
|
-
event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
|
|
36033
|
+
event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
|
|
35861
36034
|
/** Types of the events that you want to list. */
|
|
35862
|
-
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
|
|
36035
|
+
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
|
|
35863
36036
|
/** ID of the connected account for which you want to list events. */
|
|
35864
36037
|
connected_account_id?: string | undefined;
|
|
35865
36038
|
/** ID of the Connect Webview for which you want to list events. */
|
|
@@ -38508,6 +38681,58 @@ export type Routes = {
|
|
|
38508
38681
|
event_type: 'device.name_changed';
|
|
38509
38682
|
/** The new name of the affected device. */
|
|
38510
38683
|
device_name: string;
|
|
38684
|
+
} | {
|
|
38685
|
+
/** ID of the event. */
|
|
38686
|
+
event_id: string;
|
|
38687
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
38688
|
+
workspace_id: string;
|
|
38689
|
+
/** Date and time at which the event was created. */
|
|
38690
|
+
created_at: string;
|
|
38691
|
+
/** Date and time at which the event occurred. */
|
|
38692
|
+
occurred_at: string;
|
|
38693
|
+
/** ID of the affected device. */
|
|
38694
|
+
device_id: string;
|
|
38695
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
|
|
38696
|
+
connected_account_id: string;
|
|
38697
|
+
/** The customer key associated with the device, if any. */
|
|
38698
|
+
customer_key?: string | undefined;
|
|
38699
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
38700
|
+
device_custom_metadata?: {
|
|
38701
|
+
[x: string]: string | boolean;
|
|
38702
|
+
} | undefined;
|
|
38703
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
38704
|
+
connected_account_custom_metadata?: {
|
|
38705
|
+
[x: string]: string | boolean;
|
|
38706
|
+
} | undefined;
|
|
38707
|
+
event_type: 'camera.activated';
|
|
38708
|
+
/** The reason the camera was activated. */
|
|
38709
|
+
activation_reason: 'motion_detected';
|
|
38710
|
+
/** Sub-type of motion detected, if available. */
|
|
38711
|
+
motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
|
|
38712
|
+
} | {
|
|
38713
|
+
/** ID of the event. */
|
|
38714
|
+
event_id: string;
|
|
38715
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
38716
|
+
workspace_id: string;
|
|
38717
|
+
/** Date and time at which the event was created. */
|
|
38718
|
+
created_at: string;
|
|
38719
|
+
/** Date and time at which the event occurred. */
|
|
38720
|
+
occurred_at: string;
|
|
38721
|
+
/** ID of the affected device. */
|
|
38722
|
+
device_id: string;
|
|
38723
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
|
|
38724
|
+
connected_account_id: string;
|
|
38725
|
+
/** The customer key associated with the device, if any. */
|
|
38726
|
+
customer_key?: string | undefined;
|
|
38727
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
38728
|
+
device_custom_metadata?: {
|
|
38729
|
+
[x: string]: string | boolean;
|
|
38730
|
+
} | undefined;
|
|
38731
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
38732
|
+
connected_account_custom_metadata?: {
|
|
38733
|
+
[x: string]: string | boolean;
|
|
38734
|
+
} | undefined;
|
|
38735
|
+
event_type: 'device.doorbell_rang';
|
|
38511
38736
|
} | {
|
|
38512
38737
|
/** ID of the event. */
|
|
38513
38738
|
event_id: string;
|
|
@@ -58658,9 +58883,9 @@ export type Routes = {
|
|
|
58658
58883
|
/** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
|
|
58659
58884
|
between?: (string | Date)[] | undefined;
|
|
58660
58885
|
/** Type of the events that you want to list. */
|
|
58661
|
-
event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
|
|
58886
|
+
event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
|
|
58662
58887
|
/** Types of the events that you want to list. */
|
|
58663
|
-
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
|
|
58888
|
+
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_grant.access_times_changed' | 'access_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
|
|
58664
58889
|
/** Numerical limit on the number of events to return. */
|
|
58665
58890
|
limit?: number;
|
|
58666
58891
|
};
|
|
@@ -61279,6 +61504,58 @@ export type Routes = {
|
|
|
61279
61504
|
event_type: 'device.name_changed';
|
|
61280
61505
|
/** The new name of the affected device. */
|
|
61281
61506
|
device_name: string;
|
|
61507
|
+
} | {
|
|
61508
|
+
/** ID of the event. */
|
|
61509
|
+
event_id: string;
|
|
61510
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
61511
|
+
workspace_id: string;
|
|
61512
|
+
/** Date and time at which the event was created. */
|
|
61513
|
+
created_at: string;
|
|
61514
|
+
/** Date and time at which the event occurred. */
|
|
61515
|
+
occurred_at: string;
|
|
61516
|
+
/** ID of the affected device. */
|
|
61517
|
+
device_id: string;
|
|
61518
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
|
|
61519
|
+
connected_account_id: string;
|
|
61520
|
+
/** The customer key associated with the device, if any. */
|
|
61521
|
+
customer_key?: string | undefined;
|
|
61522
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
61523
|
+
device_custom_metadata?: {
|
|
61524
|
+
[x: string]: string | boolean;
|
|
61525
|
+
} | undefined;
|
|
61526
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
61527
|
+
connected_account_custom_metadata?: {
|
|
61528
|
+
[x: string]: string | boolean;
|
|
61529
|
+
} | undefined;
|
|
61530
|
+
event_type: 'camera.activated';
|
|
61531
|
+
/** The reason the camera was activated. */
|
|
61532
|
+
activation_reason: 'motion_detected';
|
|
61533
|
+
/** Sub-type of motion detected, if available. */
|
|
61534
|
+
motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
|
|
61535
|
+
} | {
|
|
61536
|
+
/** ID of the event. */
|
|
61537
|
+
event_id: string;
|
|
61538
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
61539
|
+
workspace_id: string;
|
|
61540
|
+
/** Date and time at which the event was created. */
|
|
61541
|
+
created_at: string;
|
|
61542
|
+
/** Date and time at which the event occurred. */
|
|
61543
|
+
occurred_at: string;
|
|
61544
|
+
/** ID of the affected device. */
|
|
61545
|
+
device_id: string;
|
|
61546
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
|
|
61547
|
+
connected_account_id: string;
|
|
61548
|
+
/** The customer key associated with the device, if any. */
|
|
61549
|
+
customer_key?: string | undefined;
|
|
61550
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
61551
|
+
device_custom_metadata?: {
|
|
61552
|
+
[x: string]: string | boolean;
|
|
61553
|
+
} | undefined;
|
|
61554
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
61555
|
+
connected_account_custom_metadata?: {
|
|
61556
|
+
[x: string]: string | boolean;
|
|
61557
|
+
} | undefined;
|
|
61558
|
+
event_type: 'device.doorbell_rang';
|
|
61282
61559
|
} | {
|
|
61283
61560
|
/** ID of the event. */
|
|
61284
61561
|
event_id: string;
|
|
@@ -84320,6 +84597,17 @@ export type Routes = {
|
|
|
84320
84597
|
/** New access group ID. */
|
|
84321
84598
|
acs_access_group_id: string | null;
|
|
84322
84599
|
};
|
|
84600
|
+
} | {
|
|
84601
|
+
/** Date and time at which the mutation was created. */
|
|
84602
|
+
created_at: string;
|
|
84603
|
+
/** Detailed description of the mutation. */
|
|
84604
|
+
message: string;
|
|
84605
|
+
/** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
|
|
84606
|
+
mutation_code: 'deferring_group_membership_update';
|
|
84607
|
+
/** ID of the access group involved in the scheduled change. */
|
|
84608
|
+
acs_access_group_id: string;
|
|
84609
|
+
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
84610
|
+
variant: 'adding' | 'removing';
|
|
84323
84611
|
})[] | undefined;
|
|
84324
84612
|
/** The last time an internal sync job completed for this access system user. */
|
|
84325
84613
|
last_successful_sync_at: string | null;
|
|
@@ -86695,6 +86983,17 @@ export type Routes = {
|
|
|
86695
86983
|
/** New access group ID. */
|
|
86696
86984
|
acs_access_group_id: string | null;
|
|
86697
86985
|
};
|
|
86986
|
+
} | {
|
|
86987
|
+
/** Date and time at which the mutation was created. */
|
|
86988
|
+
created_at: string;
|
|
86989
|
+
/** Detailed description of the mutation. */
|
|
86990
|
+
message: string;
|
|
86991
|
+
/** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
|
|
86992
|
+
mutation_code: 'deferring_group_membership_update';
|
|
86993
|
+
/** ID of the access group involved in the scheduled change. */
|
|
86994
|
+
acs_access_group_id: string;
|
|
86995
|
+
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
86996
|
+
variant: 'adding' | 'removing';
|
|
86698
86997
|
})[] | undefined;
|
|
86699
86998
|
/** The last time an internal sync job completed for this access system user. */
|
|
86700
86999
|
last_successful_sync_at: string | null;
|
|
@@ -86854,6 +87153,17 @@ export type Routes = {
|
|
|
86854
87153
|
/** New entrance ID. */
|
|
86855
87154
|
acs_entrance_id: string | null;
|
|
86856
87155
|
};
|
|
87156
|
+
} | {
|
|
87157
|
+
/** Date and time at which the mutation was created. */
|
|
87158
|
+
created_at: string;
|
|
87159
|
+
/** Detailed description of the mutation. */
|
|
87160
|
+
message: string;
|
|
87161
|
+
/** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
|
|
87162
|
+
mutation_code: 'deferring_user_membership_update';
|
|
87163
|
+
/** ID of the user involved in the scheduled change. */
|
|
87164
|
+
acs_user_id: string;
|
|
87165
|
+
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
87166
|
+
variant: 'adding' | 'removing';
|
|
86857
87167
|
})[];
|
|
86858
87168
|
is_managed: true;
|
|
86859
87169
|
}[] | undefined;
|
|
@@ -88362,6 +88672,17 @@ export type Routes = {
|
|
|
88362
88672
|
/** New access group ID. */
|
|
88363
88673
|
acs_access_group_id: string | null;
|
|
88364
88674
|
};
|
|
88675
|
+
} | {
|
|
88676
|
+
/** Date and time at which the mutation was created. */
|
|
88677
|
+
created_at: string;
|
|
88678
|
+
/** Detailed description of the mutation. */
|
|
88679
|
+
message: string;
|
|
88680
|
+
/** Mutation code to indicate that a scheduled access group membership change is pending for this user. */
|
|
88681
|
+
mutation_code: 'deferring_group_membership_update';
|
|
88682
|
+
/** ID of the access group involved in the scheduled change. */
|
|
88683
|
+
acs_access_group_id: string;
|
|
88684
|
+
/** Whether the user is scheduled to be added to or removed from the access group. */
|
|
88685
|
+
variant: 'adding' | 'removing';
|
|
88365
88686
|
})[] | undefined;
|
|
88366
88687
|
/** The last time an internal sync job completed for this access system user. */
|
|
88367
88688
|
last_successful_sync_at: string | null;
|
|
@@ -88521,6 +88842,17 @@ export type Routes = {
|
|
|
88521
88842
|
/** New entrance ID. */
|
|
88522
88843
|
acs_entrance_id: string | null;
|
|
88523
88844
|
};
|
|
88845
|
+
} | {
|
|
88846
|
+
/** Date and time at which the mutation was created. */
|
|
88847
|
+
created_at: string;
|
|
88848
|
+
/** Detailed description of the mutation. */
|
|
88849
|
+
message: string;
|
|
88850
|
+
/** Mutation code to indicate that a scheduled user membership change is pending for this access group. */
|
|
88851
|
+
mutation_code: 'deferring_user_membership_update';
|
|
88852
|
+
/** ID of the user involved in the scheduled change. */
|
|
88853
|
+
acs_user_id: string;
|
|
88854
|
+
/** Whether the user is scheduled to be added to or removed from this access group. */
|
|
88855
|
+
variant: 'adding' | 'removing';
|
|
88524
88856
|
})[];
|
|
88525
88857
|
is_managed: false;
|
|
88526
88858
|
}[] | undefined;
|
|
@@ -92022,6 +92354,58 @@ export type Routes = {
|
|
|
92022
92354
|
event_type: 'device.name_changed';
|
|
92023
92355
|
/** The new name of the affected device. */
|
|
92024
92356
|
device_name: string;
|
|
92357
|
+
} | {
|
|
92358
|
+
/** ID of the event. */
|
|
92359
|
+
event_id: string;
|
|
92360
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
92361
|
+
workspace_id: string;
|
|
92362
|
+
/** Date and time at which the event was created. */
|
|
92363
|
+
created_at: string;
|
|
92364
|
+
/** Date and time at which the event occurred. */
|
|
92365
|
+
occurred_at: string;
|
|
92366
|
+
/** ID of the affected device. */
|
|
92367
|
+
device_id: string;
|
|
92368
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
|
|
92369
|
+
connected_account_id: string;
|
|
92370
|
+
/** The customer key associated with the device, if any. */
|
|
92371
|
+
customer_key?: string | undefined;
|
|
92372
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
92373
|
+
device_custom_metadata?: {
|
|
92374
|
+
[x: string]: string | boolean;
|
|
92375
|
+
} | undefined;
|
|
92376
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
92377
|
+
connected_account_custom_metadata?: {
|
|
92378
|
+
[x: string]: string | boolean;
|
|
92379
|
+
} | undefined;
|
|
92380
|
+
event_type: 'camera.activated';
|
|
92381
|
+
/** The reason the camera was activated. */
|
|
92382
|
+
activation_reason: 'motion_detected';
|
|
92383
|
+
/** Sub-type of motion detected, if available. */
|
|
92384
|
+
motion_sub_type?: ('human' | 'vehicle' | 'package' | 'other') | undefined;
|
|
92385
|
+
} | {
|
|
92386
|
+
/** ID of the event. */
|
|
92387
|
+
event_id: string;
|
|
92388
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
92389
|
+
workspace_id: string;
|
|
92390
|
+
/** Date and time at which the event was created. */
|
|
92391
|
+
created_at: string;
|
|
92392
|
+
/** Date and time at which the event occurred. */
|
|
92393
|
+
occurred_at: string;
|
|
92394
|
+
/** ID of the affected device. */
|
|
92395
|
+
device_id: string;
|
|
92396
|
+
/** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) associated with the event. */
|
|
92397
|
+
connected_account_id: string;
|
|
92398
|
+
/** The customer key associated with the device, if any. */
|
|
92399
|
+
customer_key?: string | undefined;
|
|
92400
|
+
/** Custom metadata of the device, present when device_id is provided. */
|
|
92401
|
+
device_custom_metadata?: {
|
|
92402
|
+
[x: string]: string | boolean;
|
|
92403
|
+
} | undefined;
|
|
92404
|
+
/** Custom metadata of the connected account, present when connected_account_id is provided. */
|
|
92405
|
+
connected_account_custom_metadata?: {
|
|
92406
|
+
[x: string]: string | boolean;
|
|
92407
|
+
} | undefined;
|
|
92408
|
+
event_type: 'device.doorbell_rang';
|
|
92025
92409
|
} | {
|
|
92026
92410
|
/** ID of the event. */
|
|
92027
92411
|
event_id: string;
|