@seamapi/types 1.553.0 → 1.554.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 +158 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +669 -4
- package/dist/index.cjs +158 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +208 -0
- package/lib/seam/connect/models/events/access-grants.d.ts +66 -0
- package/lib/seam/connect/models/events/access-grants.js +21 -0
- package/lib/seam/connect/models/events/access-grants.js.map +1 -1
- package/lib/seam/connect/models/events/access-methods.d.ts +65 -0
- package/lib/seam/connect/models/events/access-methods.js +12 -0
- package/lib/seam/connect/models/events/access-methods.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +65 -1
- package/lib/seam/connect/openapi.d.ts +317 -0
- package/lib/seam/connect/openapi.js +132 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +184 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/access-grants.ts +27 -0
- package/src/lib/seam/connect/models/events/access-methods.ts +15 -0
- package/src/lib/seam/connect/openapi.ts +137 -0
- package/src/lib/seam/connect/route-types.ts +198 -0
|
@@ -17811,6 +17811,24 @@ export type Routes = {
|
|
|
17811
17811
|
event_type: 'access_grant.access_to_door_lost';
|
|
17812
17812
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
17813
17813
|
acs_entrance_id: string;
|
|
17814
|
+
} | {
|
|
17815
|
+
/** ID of the event. */
|
|
17816
|
+
event_id: string;
|
|
17817
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
17818
|
+
workspace_id: string;
|
|
17819
|
+
/** Date and time at which the event was created. */
|
|
17820
|
+
created_at: string;
|
|
17821
|
+
/** Date and time at which the event occurred. */
|
|
17822
|
+
occurred_at: string;
|
|
17823
|
+
/** ID of the affected Access Grant. */
|
|
17824
|
+
access_grant_id: string;
|
|
17825
|
+
event_type: 'access_grant.access_times_changed';
|
|
17826
|
+
/** Key of the affected Access Grant (if present). */
|
|
17827
|
+
access_grant_key?: string | undefined;
|
|
17828
|
+
/** The new start time for the access grant. */
|
|
17829
|
+
starts_at?: string | undefined;
|
|
17830
|
+
/** The new end time for the access grant. */
|
|
17831
|
+
ends_at?: string | undefined;
|
|
17814
17832
|
} | {
|
|
17815
17833
|
/** ID of the event. */
|
|
17816
17834
|
event_id: string;
|
|
@@ -17899,6 +17917,24 @@ export type Routes = {
|
|
|
17899
17917
|
code?: string | undefined;
|
|
17900
17918
|
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
17901
17919
|
is_backup_code?: boolean | undefined;
|
|
17920
|
+
} | {
|
|
17921
|
+
/** ID of the event. */
|
|
17922
|
+
event_id: string;
|
|
17923
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
17924
|
+
workspace_id: string;
|
|
17925
|
+
/** Date and time at which the event was created. */
|
|
17926
|
+
created_at: string;
|
|
17927
|
+
/** Date and time at which the event occurred. */
|
|
17928
|
+
occurred_at: string;
|
|
17929
|
+
/** ID of the affected access method. */
|
|
17930
|
+
access_method_id: string;
|
|
17931
|
+
/** IDs of the access grants associated with this access method. */
|
|
17932
|
+
access_grant_ids: string[];
|
|
17933
|
+
/** Keys of the access grants associated with this access method (if present). */
|
|
17934
|
+
access_grant_keys?: string[] | undefined;
|
|
17935
|
+
event_type: 'access_method.code_changed';
|
|
17936
|
+
/** The new PIN code for code access methods (only present when mode is 'code'). */
|
|
17937
|
+
code: string;
|
|
17902
17938
|
} | {
|
|
17903
17939
|
/** ID of the event. */
|
|
17904
17940
|
event_id: string;
|
|
@@ -35771,6 +35807,24 @@ export type Routes = {
|
|
|
35771
35807
|
event_type: 'access_grant.access_to_door_lost';
|
|
35772
35808
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
35773
35809
|
acs_entrance_id: string;
|
|
35810
|
+
} | {
|
|
35811
|
+
/** ID of the event. */
|
|
35812
|
+
event_id: string;
|
|
35813
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
35814
|
+
workspace_id: string;
|
|
35815
|
+
/** Date and time at which the event was created. */
|
|
35816
|
+
created_at: string;
|
|
35817
|
+
/** Date and time at which the event occurred. */
|
|
35818
|
+
occurred_at: string;
|
|
35819
|
+
/** ID of the affected Access Grant. */
|
|
35820
|
+
access_grant_id: string;
|
|
35821
|
+
event_type: 'access_grant.access_times_changed';
|
|
35822
|
+
/** Key of the affected Access Grant (if present). */
|
|
35823
|
+
access_grant_key?: string | undefined;
|
|
35824
|
+
/** The new start time for the access grant. */
|
|
35825
|
+
starts_at?: string | undefined;
|
|
35826
|
+
/** The new end time for the access grant. */
|
|
35827
|
+
ends_at?: string | undefined;
|
|
35774
35828
|
} | {
|
|
35775
35829
|
/** ID of the event. */
|
|
35776
35830
|
event_id: string;
|
|
@@ -35859,6 +35913,24 @@ export type Routes = {
|
|
|
35859
35913
|
code?: string | undefined;
|
|
35860
35914
|
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
35861
35915
|
is_backup_code?: boolean | undefined;
|
|
35916
|
+
} | {
|
|
35917
|
+
/** ID of the event. */
|
|
35918
|
+
event_id: string;
|
|
35919
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
35920
|
+
workspace_id: string;
|
|
35921
|
+
/** Date and time at which the event was created. */
|
|
35922
|
+
created_at: string;
|
|
35923
|
+
/** Date and time at which the event occurred. */
|
|
35924
|
+
occurred_at: string;
|
|
35925
|
+
/** ID of the affected access method. */
|
|
35926
|
+
access_method_id: string;
|
|
35927
|
+
/** IDs of the access grants associated with this access method. */
|
|
35928
|
+
access_grant_ids: string[];
|
|
35929
|
+
/** Keys of the access grants associated with this access method (if present). */
|
|
35930
|
+
access_grant_keys?: string[] | undefined;
|
|
35931
|
+
event_type: 'access_method.code_changed';
|
|
35932
|
+
/** The new PIN code for code access methods (only present when mode is 'code'). */
|
|
35933
|
+
code: string;
|
|
35862
35934
|
} | {
|
|
35863
35935
|
/** ID of the event. */
|
|
35864
35936
|
event_id: string;
|
|
@@ -37184,9 +37256,9 @@ export type Routes = {
|
|
|
37184
37256
|
/** IDs of the access codes for which you want to list events. */
|
|
37185
37257
|
access_code_ids?: string[] | undefined;
|
|
37186
37258
|
/** Type of the events that you want to list. */
|
|
37187
|
-
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_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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') | undefined;
|
|
37259
|
+
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_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.code_changed' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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') | undefined;
|
|
37188
37260
|
/** Types of the events that you want to list. */
|
|
37189
|
-
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_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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')[] | undefined;
|
|
37261
|
+
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_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.code_changed' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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')[] | undefined;
|
|
37190
37262
|
/** ID of the connected account for which you want to list events. */
|
|
37191
37263
|
connected_account_id?: string | undefined;
|
|
37192
37264
|
/** ID of the Connect Webview for which you want to list events. */
|
|
@@ -37677,6 +37749,24 @@ export type Routes = {
|
|
|
37677
37749
|
event_type: 'access_grant.access_to_door_lost';
|
|
37678
37750
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
37679
37751
|
acs_entrance_id: string;
|
|
37752
|
+
} | {
|
|
37753
|
+
/** ID of the event. */
|
|
37754
|
+
event_id: string;
|
|
37755
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
37756
|
+
workspace_id: string;
|
|
37757
|
+
/** Date and time at which the event was created. */
|
|
37758
|
+
created_at: string;
|
|
37759
|
+
/** Date and time at which the event occurred. */
|
|
37760
|
+
occurred_at: string;
|
|
37761
|
+
/** ID of the affected Access Grant. */
|
|
37762
|
+
access_grant_id: string;
|
|
37763
|
+
event_type: 'access_grant.access_times_changed';
|
|
37764
|
+
/** Key of the affected Access Grant (if present). */
|
|
37765
|
+
access_grant_key?: string | undefined;
|
|
37766
|
+
/** The new start time for the access grant. */
|
|
37767
|
+
starts_at?: string | undefined;
|
|
37768
|
+
/** The new end time for the access grant. */
|
|
37769
|
+
ends_at?: string | undefined;
|
|
37680
37770
|
} | {
|
|
37681
37771
|
/** ID of the event. */
|
|
37682
37772
|
event_id: string;
|
|
@@ -37765,6 +37855,24 @@ export type Routes = {
|
|
|
37765
37855
|
code?: string | undefined;
|
|
37766
37856
|
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
37767
37857
|
is_backup_code?: boolean | undefined;
|
|
37858
|
+
} | {
|
|
37859
|
+
/** ID of the event. */
|
|
37860
|
+
event_id: string;
|
|
37861
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
37862
|
+
workspace_id: string;
|
|
37863
|
+
/** Date and time at which the event was created. */
|
|
37864
|
+
created_at: string;
|
|
37865
|
+
/** Date and time at which the event occurred. */
|
|
37866
|
+
occurred_at: string;
|
|
37867
|
+
/** ID of the affected access method. */
|
|
37868
|
+
access_method_id: string;
|
|
37869
|
+
/** IDs of the access grants associated with this access method. */
|
|
37870
|
+
access_grant_ids: string[];
|
|
37871
|
+
/** Keys of the access grants associated with this access method (if present). */
|
|
37872
|
+
access_grant_keys?: string[] | undefined;
|
|
37873
|
+
event_type: 'access_method.code_changed';
|
|
37874
|
+
/** The new PIN code for code access methods (only present when mode is 'code'). */
|
|
37875
|
+
code: string;
|
|
37768
37876
|
} | {
|
|
37769
37877
|
/** ID of the event. */
|
|
37770
37878
|
event_id: string;
|
|
@@ -56259,9 +56367,9 @@ export type Routes = {
|
|
|
56259
56367
|
/** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
|
|
56260
56368
|
between?: (string | Date)[] | undefined;
|
|
56261
56369
|
/** Type of the events that you want to list. */
|
|
56262
|
-
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_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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') | undefined;
|
|
56370
|
+
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_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.code_changed' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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') | undefined;
|
|
56263
56371
|
/** Types of the events that you want to list. */
|
|
56264
|
-
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_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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')[] | undefined;
|
|
56372
|
+
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_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.code_changed' | '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' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.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')[] | undefined;
|
|
56265
56373
|
/** Numerical limit on the number of events to return. */
|
|
56266
56374
|
limit?: number;
|
|
56267
56375
|
};
|
|
@@ -56746,6 +56854,24 @@ export type Routes = {
|
|
|
56746
56854
|
event_type: 'access_grant.access_to_door_lost';
|
|
56747
56855
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
56748
56856
|
acs_entrance_id: string;
|
|
56857
|
+
} | {
|
|
56858
|
+
/** ID of the event. */
|
|
56859
|
+
event_id: string;
|
|
56860
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
56861
|
+
workspace_id: string;
|
|
56862
|
+
/** Date and time at which the event was created. */
|
|
56863
|
+
created_at: string;
|
|
56864
|
+
/** Date and time at which the event occurred. */
|
|
56865
|
+
occurred_at: string;
|
|
56866
|
+
/** ID of the affected Access Grant. */
|
|
56867
|
+
access_grant_id: string;
|
|
56868
|
+
event_type: 'access_grant.access_times_changed';
|
|
56869
|
+
/** Key of the affected Access Grant (if present). */
|
|
56870
|
+
access_grant_key?: string | undefined;
|
|
56871
|
+
/** The new start time for the access grant. */
|
|
56872
|
+
starts_at?: string | undefined;
|
|
56873
|
+
/** The new end time for the access grant. */
|
|
56874
|
+
ends_at?: string | undefined;
|
|
56749
56875
|
} | {
|
|
56750
56876
|
/** ID of the event. */
|
|
56751
56877
|
event_id: string;
|
|
@@ -56834,6 +56960,24 @@ export type Routes = {
|
|
|
56834
56960
|
code?: string | undefined;
|
|
56835
56961
|
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
56836
56962
|
is_backup_code?: boolean | undefined;
|
|
56963
|
+
} | {
|
|
56964
|
+
/** ID of the event. */
|
|
56965
|
+
event_id: string;
|
|
56966
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
56967
|
+
workspace_id: string;
|
|
56968
|
+
/** Date and time at which the event was created. */
|
|
56969
|
+
created_at: string;
|
|
56970
|
+
/** Date and time at which the event occurred. */
|
|
56971
|
+
occurred_at: string;
|
|
56972
|
+
/** ID of the affected access method. */
|
|
56973
|
+
access_method_id: string;
|
|
56974
|
+
/** IDs of the access grants associated with this access method. */
|
|
56975
|
+
access_grant_ids: string[];
|
|
56976
|
+
/** Keys of the access grants associated with this access method (if present). */
|
|
56977
|
+
access_grant_keys?: string[] | undefined;
|
|
56978
|
+
event_type: 'access_method.code_changed';
|
|
56979
|
+
/** The new PIN code for code access methods (only present when mode is 'code'). */
|
|
56980
|
+
code: string;
|
|
56837
56981
|
} | {
|
|
56838
56982
|
/** ID of the event. */
|
|
56839
56983
|
event_id: string;
|
|
@@ -84383,6 +84527,24 @@ export type Routes = {
|
|
|
84383
84527
|
event_type: 'access_grant.access_to_door_lost';
|
|
84384
84528
|
/** ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details). */
|
|
84385
84529
|
acs_entrance_id: string;
|
|
84530
|
+
} | {
|
|
84531
|
+
/** ID of the event. */
|
|
84532
|
+
event_id: string;
|
|
84533
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
84534
|
+
workspace_id: string;
|
|
84535
|
+
/** Date and time at which the event was created. */
|
|
84536
|
+
created_at: string;
|
|
84537
|
+
/** Date and time at which the event occurred. */
|
|
84538
|
+
occurred_at: string;
|
|
84539
|
+
/** ID of the affected Access Grant. */
|
|
84540
|
+
access_grant_id: string;
|
|
84541
|
+
event_type: 'access_grant.access_times_changed';
|
|
84542
|
+
/** Key of the affected Access Grant (if present). */
|
|
84543
|
+
access_grant_key?: string | undefined;
|
|
84544
|
+
/** The new start time for the access grant. */
|
|
84545
|
+
starts_at?: string | undefined;
|
|
84546
|
+
/** The new end time for the access grant. */
|
|
84547
|
+
ends_at?: string | undefined;
|
|
84386
84548
|
} | {
|
|
84387
84549
|
/** ID of the event. */
|
|
84388
84550
|
event_id: string;
|
|
@@ -84471,6 +84633,24 @@ export type Routes = {
|
|
|
84471
84633
|
code?: string | undefined;
|
|
84472
84634
|
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
84473
84635
|
is_backup_code?: boolean | undefined;
|
|
84636
|
+
} | {
|
|
84637
|
+
/** ID of the event. */
|
|
84638
|
+
event_id: string;
|
|
84639
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
84640
|
+
workspace_id: string;
|
|
84641
|
+
/** Date and time at which the event was created. */
|
|
84642
|
+
created_at: string;
|
|
84643
|
+
/** Date and time at which the event occurred. */
|
|
84644
|
+
occurred_at: string;
|
|
84645
|
+
/** ID of the affected access method. */
|
|
84646
|
+
access_method_id: string;
|
|
84647
|
+
/** IDs of the access grants associated with this access method. */
|
|
84648
|
+
access_grant_ids: string[];
|
|
84649
|
+
/** Keys of the access grants associated with this access method (if present). */
|
|
84650
|
+
access_grant_keys?: string[] | undefined;
|
|
84651
|
+
event_type: 'access_method.code_changed';
|
|
84652
|
+
/** The new PIN code for code access methods (only present when mode is 'code'). */
|
|
84653
|
+
code: string;
|
|
84474
84654
|
} | {
|
|
84475
84655
|
/** ID of the event. */
|
|
84476
84656
|
event_id: string;
|
package/package.json
CHANGED
|
@@ -79,10 +79,37 @@ export type AccessGrantAccessToDoorLostEvent = z.infer<
|
|
|
79
79
|
typeof access_grant_access_to_door_lost_event
|
|
80
80
|
>
|
|
81
81
|
|
|
82
|
+
export const access_grant_access_times_changed_event =
|
|
83
|
+
access_grant_event.extend({
|
|
84
|
+
event_type: z.literal('access_grant.access_times_changed'),
|
|
85
|
+
access_grant_key: z
|
|
86
|
+
.string()
|
|
87
|
+
.optional()
|
|
88
|
+
.describe('Key of the affected Access Grant (if present).'),
|
|
89
|
+
starts_at: z
|
|
90
|
+
.string()
|
|
91
|
+
.optional()
|
|
92
|
+
.describe('The new start time for the access grant.'),
|
|
93
|
+
ends_at: z
|
|
94
|
+
.string()
|
|
95
|
+
.optional()
|
|
96
|
+
.describe('The new end time for the access grant.'),
|
|
97
|
+
}).describe(`
|
|
98
|
+
---
|
|
99
|
+
route_path: /access_grants
|
|
100
|
+
---
|
|
101
|
+
An Access Grant's start or end time was changed.
|
|
102
|
+
`)
|
|
103
|
+
|
|
104
|
+
export type AccessGrantAccessTimesChangedEvent = z.infer<
|
|
105
|
+
typeof access_grant_access_times_changed_event
|
|
106
|
+
>
|
|
107
|
+
|
|
82
108
|
export const access_grant_events = [
|
|
83
109
|
access_grant_created_event,
|
|
84
110
|
access_grant_deleted_event,
|
|
85
111
|
access_grant_access_granted_to_all_doors_event,
|
|
86
112
|
access_grant_access_granted_to_door_event,
|
|
87
113
|
access_grant_access_to_door_lost_event,
|
|
114
|
+
access_grant_access_times_changed_event,
|
|
88
115
|
] as const
|
|
@@ -94,6 +94,20 @@ export const access_method_reissued_event = access_method_event.extend({
|
|
|
94
94
|
An access method was reissued due to an Access Grant update.
|
|
95
95
|
`)
|
|
96
96
|
|
|
97
|
+
export const access_method_code_changed_event = access_method_event.extend({
|
|
98
|
+
event_type: z.literal('access_method.code_changed'),
|
|
99
|
+
code: z
|
|
100
|
+
.string()
|
|
101
|
+
.describe(
|
|
102
|
+
"The new PIN code for code access methods (only present when mode is 'code').",
|
|
103
|
+
),
|
|
104
|
+
}).describe(`
|
|
105
|
+
---
|
|
106
|
+
route_path: /access_methods
|
|
107
|
+
---
|
|
108
|
+
An access method's PIN code was changed.
|
|
109
|
+
`)
|
|
110
|
+
|
|
97
111
|
export type AccessMethodRevokedEvent = z.infer<
|
|
98
112
|
typeof access_method_revoked_event
|
|
99
113
|
>
|
|
@@ -104,4 +118,5 @@ export const access_method_events = [
|
|
|
104
118
|
access_method_card_encoding_required_event,
|
|
105
119
|
access_method_deleted_event,
|
|
106
120
|
access_method_reissued_event,
|
|
121
|
+
access_method_code_changed_event,
|
|
107
122
|
] as const
|
|
@@ -14736,6 +14736,63 @@ export default {
|
|
|
14736
14736
|
type: 'object',
|
|
14737
14737
|
'x-route-path': '/access_grants',
|
|
14738
14738
|
},
|
|
14739
|
+
{
|
|
14740
|
+
description: "An Access Grant's start or end time was changed.",
|
|
14741
|
+
properties: {
|
|
14742
|
+
access_grant_id: {
|
|
14743
|
+
description: 'ID of the affected Access Grant.',
|
|
14744
|
+
format: 'uuid',
|
|
14745
|
+
type: 'string',
|
|
14746
|
+
},
|
|
14747
|
+
access_grant_key: {
|
|
14748
|
+
description: 'Key of the affected Access Grant (if present).',
|
|
14749
|
+
type: 'string',
|
|
14750
|
+
},
|
|
14751
|
+
created_at: {
|
|
14752
|
+
description: 'Date and time at which the event was created.',
|
|
14753
|
+
format: 'date-time',
|
|
14754
|
+
type: 'string',
|
|
14755
|
+
},
|
|
14756
|
+
ends_at: {
|
|
14757
|
+
description: 'The new end time for the access grant.',
|
|
14758
|
+
type: 'string',
|
|
14759
|
+
},
|
|
14760
|
+
event_id: {
|
|
14761
|
+
description: 'ID of the event.',
|
|
14762
|
+
format: 'uuid',
|
|
14763
|
+
type: 'string',
|
|
14764
|
+
},
|
|
14765
|
+
event_type: {
|
|
14766
|
+
enum: ['access_grant.access_times_changed'],
|
|
14767
|
+
type: 'string',
|
|
14768
|
+
},
|
|
14769
|
+
occurred_at: {
|
|
14770
|
+
description: 'Date and time at which the event occurred.',
|
|
14771
|
+
format: 'date-time',
|
|
14772
|
+
type: 'string',
|
|
14773
|
+
},
|
|
14774
|
+
starts_at: {
|
|
14775
|
+
description: 'The new start time for the access grant.',
|
|
14776
|
+
type: 'string',
|
|
14777
|
+
},
|
|
14778
|
+
workspace_id: {
|
|
14779
|
+
description:
|
|
14780
|
+
'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
|
|
14781
|
+
format: 'uuid',
|
|
14782
|
+
type: 'string',
|
|
14783
|
+
},
|
|
14784
|
+
},
|
|
14785
|
+
required: [
|
|
14786
|
+
'event_id',
|
|
14787
|
+
'workspace_id',
|
|
14788
|
+
'created_at',
|
|
14789
|
+
'occurred_at',
|
|
14790
|
+
'access_grant_id',
|
|
14791
|
+
'event_type',
|
|
14792
|
+
],
|
|
14793
|
+
type: 'object',
|
|
14794
|
+
'x-route-path': '/access_grants',
|
|
14795
|
+
},
|
|
14739
14796
|
{
|
|
14740
14797
|
description: 'An access method was issued.',
|
|
14741
14798
|
properties: {
|
|
@@ -15036,6 +15093,70 @@ export default {
|
|
|
15036
15093
|
type: 'object',
|
|
15037
15094
|
'x-route-path': '/access_methods',
|
|
15038
15095
|
},
|
|
15096
|
+
{
|
|
15097
|
+
description: "An access method's PIN code was changed.",
|
|
15098
|
+
properties: {
|
|
15099
|
+
access_grant_ids: {
|
|
15100
|
+
description:
|
|
15101
|
+
'IDs of the access grants associated with this access method.',
|
|
15102
|
+
items: { format: 'uuid', type: 'string' },
|
|
15103
|
+
type: 'array',
|
|
15104
|
+
},
|
|
15105
|
+
access_grant_keys: {
|
|
15106
|
+
description:
|
|
15107
|
+
'Keys of the access grants associated with this access method (if present).',
|
|
15108
|
+
items: { type: 'string' },
|
|
15109
|
+
type: 'array',
|
|
15110
|
+
},
|
|
15111
|
+
access_method_id: {
|
|
15112
|
+
description: 'ID of the affected access method.',
|
|
15113
|
+
format: 'uuid',
|
|
15114
|
+
type: 'string',
|
|
15115
|
+
},
|
|
15116
|
+
code: {
|
|
15117
|
+
description:
|
|
15118
|
+
"The new PIN code for code access methods (only present when mode is 'code').",
|
|
15119
|
+
type: 'string',
|
|
15120
|
+
},
|
|
15121
|
+
created_at: {
|
|
15122
|
+
description: 'Date and time at which the event was created.',
|
|
15123
|
+
format: 'date-time',
|
|
15124
|
+
type: 'string',
|
|
15125
|
+
},
|
|
15126
|
+
event_id: {
|
|
15127
|
+
description: 'ID of the event.',
|
|
15128
|
+
format: 'uuid',
|
|
15129
|
+
type: 'string',
|
|
15130
|
+
},
|
|
15131
|
+
event_type: {
|
|
15132
|
+
enum: ['access_method.code_changed'],
|
|
15133
|
+
type: 'string',
|
|
15134
|
+
},
|
|
15135
|
+
occurred_at: {
|
|
15136
|
+
description: 'Date and time at which the event occurred.',
|
|
15137
|
+
format: 'date-time',
|
|
15138
|
+
type: 'string',
|
|
15139
|
+
},
|
|
15140
|
+
workspace_id: {
|
|
15141
|
+
description:
|
|
15142
|
+
'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
|
|
15143
|
+
format: 'uuid',
|
|
15144
|
+
type: 'string',
|
|
15145
|
+
},
|
|
15146
|
+
},
|
|
15147
|
+
required: [
|
|
15148
|
+
'event_id',
|
|
15149
|
+
'workspace_id',
|
|
15150
|
+
'created_at',
|
|
15151
|
+
'occurred_at',
|
|
15152
|
+
'access_method_id',
|
|
15153
|
+
'access_grant_ids',
|
|
15154
|
+
'event_type',
|
|
15155
|
+
'code',
|
|
15156
|
+
],
|
|
15157
|
+
type: 'object',
|
|
15158
|
+
'x-route-path': '/access_methods',
|
|
15159
|
+
},
|
|
15039
15160
|
{
|
|
15040
15161
|
description:
|
|
15041
15162
|
'An [access system](https://docs.seam.co/latest/capability-guides/access-systems) was connected.',
|
|
@@ -43418,11 +43539,13 @@ export default {
|
|
|
43418
43539
|
'access_grant.access_granted_to_all_doors',
|
|
43419
43540
|
'access_grant.access_granted_to_door',
|
|
43420
43541
|
'access_grant.access_to_door_lost',
|
|
43542
|
+
'access_grant.access_times_changed',
|
|
43421
43543
|
'access_method.issued',
|
|
43422
43544
|
'access_method.revoked',
|
|
43423
43545
|
'access_method.card_encoding_required',
|
|
43424
43546
|
'access_method.deleted',
|
|
43425
43547
|
'access_method.reissued',
|
|
43548
|
+
'access_method.code_changed',
|
|
43426
43549
|
'acs_system.connected',
|
|
43427
43550
|
'acs_system.added',
|
|
43428
43551
|
'acs_system.disconnected',
|
|
@@ -43519,11 +43642,13 @@ export default {
|
|
|
43519
43642
|
'access_grant.access_granted_to_all_doors',
|
|
43520
43643
|
'access_grant.access_granted_to_door',
|
|
43521
43644
|
'access_grant.access_to_door_lost',
|
|
43645
|
+
'access_grant.access_times_changed',
|
|
43522
43646
|
'access_method.issued',
|
|
43523
43647
|
'access_method.revoked',
|
|
43524
43648
|
'access_method.card_encoding_required',
|
|
43525
43649
|
'access_method.deleted',
|
|
43526
43650
|
'access_method.reissued',
|
|
43651
|
+
'access_method.code_changed',
|
|
43527
43652
|
'acs_system.connected',
|
|
43528
43653
|
'acs_system.added',
|
|
43529
43654
|
'acs_system.disconnected',
|
|
@@ -43775,11 +43900,13 @@ export default {
|
|
|
43775
43900
|
'access_grant.access_granted_to_all_doors',
|
|
43776
43901
|
'access_grant.access_granted_to_door',
|
|
43777
43902
|
'access_grant.access_to_door_lost',
|
|
43903
|
+
'access_grant.access_times_changed',
|
|
43778
43904
|
'access_method.issued',
|
|
43779
43905
|
'access_method.revoked',
|
|
43780
43906
|
'access_method.card_encoding_required',
|
|
43781
43907
|
'access_method.deleted',
|
|
43782
43908
|
'access_method.reissued',
|
|
43909
|
+
'access_method.code_changed',
|
|
43783
43910
|
'acs_system.connected',
|
|
43784
43911
|
'acs_system.added',
|
|
43785
43912
|
'acs_system.disconnected',
|
|
@@ -43872,11 +43999,13 @@ export default {
|
|
|
43872
43999
|
'access_grant.access_granted_to_all_doors',
|
|
43873
44000
|
'access_grant.access_granted_to_door',
|
|
43874
44001
|
'access_grant.access_to_door_lost',
|
|
44002
|
+
'access_grant.access_times_changed',
|
|
43875
44003
|
'access_method.issued',
|
|
43876
44004
|
'access_method.revoked',
|
|
43877
44005
|
'access_method.card_encoding_required',
|
|
43878
44006
|
'access_method.deleted',
|
|
43879
44007
|
'access_method.reissued',
|
|
44008
|
+
'access_method.code_changed',
|
|
43880
44009
|
'acs_system.connected',
|
|
43881
44010
|
'acs_system.added',
|
|
43882
44011
|
'acs_system.disconnected',
|
|
@@ -49046,11 +49175,13 @@ export default {
|
|
|
49046
49175
|
'access_grant.access_granted_to_all_doors',
|
|
49047
49176
|
'access_grant.access_granted_to_door',
|
|
49048
49177
|
'access_grant.access_to_door_lost',
|
|
49178
|
+
'access_grant.access_times_changed',
|
|
49049
49179
|
'access_method.issued',
|
|
49050
49180
|
'access_method.revoked',
|
|
49051
49181
|
'access_method.card_encoding_required',
|
|
49052
49182
|
'access_method.deleted',
|
|
49053
49183
|
'access_method.reissued',
|
|
49184
|
+
'access_method.code_changed',
|
|
49054
49185
|
'acs_system.connected',
|
|
49055
49186
|
'acs_system.added',
|
|
49056
49187
|
'acs_system.disconnected',
|
|
@@ -49148,11 +49279,13 @@ export default {
|
|
|
49148
49279
|
'access_grant.access_granted_to_all_doors',
|
|
49149
49280
|
'access_grant.access_granted_to_door',
|
|
49150
49281
|
'access_grant.access_to_door_lost',
|
|
49282
|
+
'access_grant.access_times_changed',
|
|
49151
49283
|
'access_method.issued',
|
|
49152
49284
|
'access_method.revoked',
|
|
49153
49285
|
'access_method.card_encoding_required',
|
|
49154
49286
|
'access_method.deleted',
|
|
49155
49287
|
'access_method.reissued',
|
|
49288
|
+
'access_method.code_changed',
|
|
49156
49289
|
'acs_system.connected',
|
|
49157
49290
|
'acs_system.added',
|
|
49158
49291
|
'acs_system.disconnected',
|
|
@@ -49313,11 +49446,13 @@ export default {
|
|
|
49313
49446
|
'access_grant.access_granted_to_all_doors',
|
|
49314
49447
|
'access_grant.access_granted_to_door',
|
|
49315
49448
|
'access_grant.access_to_door_lost',
|
|
49449
|
+
'access_grant.access_times_changed',
|
|
49316
49450
|
'access_method.issued',
|
|
49317
49451
|
'access_method.revoked',
|
|
49318
49452
|
'access_method.card_encoding_required',
|
|
49319
49453
|
'access_method.deleted',
|
|
49320
49454
|
'access_method.reissued',
|
|
49455
|
+
'access_method.code_changed',
|
|
49321
49456
|
'acs_system.connected',
|
|
49322
49457
|
'acs_system.added',
|
|
49323
49458
|
'acs_system.disconnected',
|
|
@@ -49410,11 +49545,13 @@ export default {
|
|
|
49410
49545
|
'access_grant.access_granted_to_all_doors',
|
|
49411
49546
|
'access_grant.access_granted_to_door',
|
|
49412
49547
|
'access_grant.access_to_door_lost',
|
|
49548
|
+
'access_grant.access_times_changed',
|
|
49413
49549
|
'access_method.issued',
|
|
49414
49550
|
'access_method.revoked',
|
|
49415
49551
|
'access_method.card_encoding_required',
|
|
49416
49552
|
'access_method.deleted',
|
|
49417
49553
|
'access_method.reissued',
|
|
49554
|
+
'access_method.code_changed',
|
|
49418
49555
|
'acs_system.connected',
|
|
49419
49556
|
'acs_system.added',
|
|
49420
49557
|
'acs_system.disconnected',
|