@seamapi/types 1.701.0 → 1.702.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 +72 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +272 -4
- package/dist/index.cjs +72 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +42 -0
- package/lib/seam/connect/models/events/access-grants.d.ts +54 -0
- package/lib/seam/connect/models/events/access-grants.js +12 -0
- package/lib/seam/connect/models/events/access-grants.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +27 -1
- package/lib/seam/connect/openapi.d.ts +144 -0
- package/lib/seam/connect/openapi.js +59 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +60 -4
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/access-grants.ts +20 -0
- package/src/lib/seam/connect/openapi.ts +62 -0
- package/src/lib/seam/connect/route-types.ts +64 -0
|
@@ -31469,6 +31469,20 @@ export type Routes = {
|
|
|
31469
31469
|
starts_at?: string | undefined;
|
|
31470
31470
|
/** The new end time for the access grant. */
|
|
31471
31471
|
ends_at?: string | undefined;
|
|
31472
|
+
} | {
|
|
31473
|
+
/** ID of the event. */
|
|
31474
|
+
event_id: string;
|
|
31475
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
31476
|
+
workspace_id: string;
|
|
31477
|
+
/** Date and time at which the event was created. */
|
|
31478
|
+
created_at: string;
|
|
31479
|
+
/** Date and time at which the event occurred. */
|
|
31480
|
+
occurred_at: string;
|
|
31481
|
+
/** ID of the affected Access Grant. */
|
|
31482
|
+
access_grant_id: string;
|
|
31483
|
+
event_type: 'access_grant.could_not_create_requested_access_methods';
|
|
31484
|
+
/** Description of why the access methods could not be created. */
|
|
31485
|
+
error_message: string;
|
|
31472
31486
|
} | {
|
|
31473
31487
|
/** ID of the event. */
|
|
31474
31488
|
event_id: string;
|
|
@@ -32988,9 +33002,9 @@ export type Routes = {
|
|
|
32988
33002
|
/** IDs of the access codes for which you want to list events. */
|
|
32989
33003
|
access_code_ids?: string[] | undefined;
|
|
32990
33004
|
/** Type of the events that you want to list. */
|
|
32991
|
-
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' | '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' | '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;
|
|
33005
|
+
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' | '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' | '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;
|
|
32992
33006
|
/** Types of the events that you want to list. */
|
|
32993
|
-
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' | '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' | '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;
|
|
33007
|
+
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' | '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' | '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;
|
|
32994
33008
|
/** ID of the connected account for which you want to list events. */
|
|
32995
33009
|
connected_account_id?: string | undefined;
|
|
32996
33010
|
/** ID of the Connect Webview for which you want to list events. */
|
|
@@ -33505,6 +33519,20 @@ export type Routes = {
|
|
|
33505
33519
|
starts_at?: string | undefined;
|
|
33506
33520
|
/** The new end time for the access grant. */
|
|
33507
33521
|
ends_at?: string | undefined;
|
|
33522
|
+
} | {
|
|
33523
|
+
/** ID of the event. */
|
|
33524
|
+
event_id: string;
|
|
33525
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
33526
|
+
workspace_id: string;
|
|
33527
|
+
/** Date and time at which the event was created. */
|
|
33528
|
+
created_at: string;
|
|
33529
|
+
/** Date and time at which the event occurred. */
|
|
33530
|
+
occurred_at: string;
|
|
33531
|
+
/** ID of the affected Access Grant. */
|
|
33532
|
+
access_grant_id: string;
|
|
33533
|
+
event_type: 'access_grant.could_not_create_requested_access_methods';
|
|
33534
|
+
/** Description of why the access methods could not be created. */
|
|
33535
|
+
error_message: string;
|
|
33508
33536
|
} | {
|
|
33509
33537
|
/** ID of the event. */
|
|
33510
33538
|
event_id: string;
|
|
@@ -52947,9 +52975,9 @@ export type Routes = {
|
|
|
52947
52975
|
/** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
|
|
52948
52976
|
between?: (string | Date)[] | undefined;
|
|
52949
52977
|
/** Type of the events that you want to list. */
|
|
52950
|
-
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' | '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' | '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;
|
|
52978
|
+
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' | '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' | '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;
|
|
52951
52979
|
/** Types of the events that you want to list. */
|
|
52952
|
-
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' | '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' | '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;
|
|
52980
|
+
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' | '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' | '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;
|
|
52953
52981
|
/** Numerical limit on the number of events to return. */
|
|
52954
52982
|
limit?: number;
|
|
52955
52983
|
};
|
|
@@ -53452,6 +53480,20 @@ export type Routes = {
|
|
|
53452
53480
|
starts_at?: string | undefined;
|
|
53453
53481
|
/** The new end time for the access grant. */
|
|
53454
53482
|
ends_at?: string | undefined;
|
|
53483
|
+
} | {
|
|
53484
|
+
/** ID of the event. */
|
|
53485
|
+
event_id: string;
|
|
53486
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
53487
|
+
workspace_id: string;
|
|
53488
|
+
/** Date and time at which the event was created. */
|
|
53489
|
+
created_at: string;
|
|
53490
|
+
/** Date and time at which the event occurred. */
|
|
53491
|
+
occurred_at: string;
|
|
53492
|
+
/** ID of the affected Access Grant. */
|
|
53493
|
+
access_grant_id: string;
|
|
53494
|
+
event_type: 'access_grant.could_not_create_requested_access_methods';
|
|
53495
|
+
/** Description of why the access methods could not be created. */
|
|
53496
|
+
error_message: string;
|
|
53455
53497
|
} | {
|
|
53456
53498
|
/** ID of the event. */
|
|
53457
53499
|
event_id: string;
|
|
@@ -82235,6 +82277,20 @@ export type Routes = {
|
|
|
82235
82277
|
starts_at?: string | undefined;
|
|
82236
82278
|
/** The new end time for the access grant. */
|
|
82237
82279
|
ends_at?: string | undefined;
|
|
82280
|
+
} | {
|
|
82281
|
+
/** ID of the event. */
|
|
82282
|
+
event_id: string;
|
|
82283
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
82284
|
+
workspace_id: string;
|
|
82285
|
+
/** Date and time at which the event was created. */
|
|
82286
|
+
created_at: string;
|
|
82287
|
+
/** Date and time at which the event occurred. */
|
|
82288
|
+
occurred_at: string;
|
|
82289
|
+
/** ID of the affected Access Grant. */
|
|
82290
|
+
access_grant_id: string;
|
|
82291
|
+
event_type: 'access_grant.could_not_create_requested_access_methods';
|
|
82292
|
+
/** Description of why the access methods could not be created. */
|
|
82293
|
+
error_message: string;
|
|
82238
82294
|
} | {
|
|
82239
82295
|
/** ID of the event. */
|
|
82240
82296
|
event_id: string;
|
package/package.json
CHANGED
|
@@ -105,6 +105,25 @@ export type AccessGrantAccessTimesChangedEvent = z.infer<
|
|
|
105
105
|
typeof access_grant_access_times_changed_event
|
|
106
106
|
>
|
|
107
107
|
|
|
108
|
+
export const access_grant_could_not_create_requested_access_methods_event =
|
|
109
|
+
access_grant_event.extend({
|
|
110
|
+
event_type: z.literal(
|
|
111
|
+
'access_grant.could_not_create_requested_access_methods',
|
|
112
|
+
),
|
|
113
|
+
error_message: z
|
|
114
|
+
.string()
|
|
115
|
+
.describe('Description of why the access methods could not be created.'),
|
|
116
|
+
}).describe(`
|
|
117
|
+
---
|
|
118
|
+
route_path: /access_grants
|
|
119
|
+
---
|
|
120
|
+
One or more requested access methods could not be created for an Access Grant.
|
|
121
|
+
`)
|
|
122
|
+
|
|
123
|
+
export type AccessGrantCouldNotCreateRequestedAccessMethodsEvent = z.infer<
|
|
124
|
+
typeof access_grant_could_not_create_requested_access_methods_event
|
|
125
|
+
>
|
|
126
|
+
|
|
108
127
|
export const access_grant_events = [
|
|
109
128
|
access_grant_created_event,
|
|
110
129
|
access_grant_deleted_event,
|
|
@@ -112,4 +131,5 @@ export const access_grant_events = [
|
|
|
112
131
|
access_grant_access_granted_to_door_event,
|
|
113
132
|
access_grant_access_to_door_lost_event,
|
|
114
133
|
access_grant_access_times_changed_event,
|
|
134
|
+
access_grant_could_not_create_requested_access_methods_event,
|
|
115
135
|
] as const
|
|
@@ -15255,6 +15255,60 @@ export default {
|
|
|
15255
15255
|
type: 'object',
|
|
15256
15256
|
'x-route-path': '/access_grants',
|
|
15257
15257
|
},
|
|
15258
|
+
{
|
|
15259
|
+
description:
|
|
15260
|
+
'One or more requested access methods could not be created for an Access Grant.',
|
|
15261
|
+
properties: {
|
|
15262
|
+
access_grant_id: {
|
|
15263
|
+
description: 'ID of the affected Access Grant.',
|
|
15264
|
+
format: 'uuid',
|
|
15265
|
+
type: 'string',
|
|
15266
|
+
},
|
|
15267
|
+
created_at: {
|
|
15268
|
+
description: 'Date and time at which the event was created.',
|
|
15269
|
+
format: 'date-time',
|
|
15270
|
+
type: 'string',
|
|
15271
|
+
},
|
|
15272
|
+
error_message: {
|
|
15273
|
+
description:
|
|
15274
|
+
'Description of why the access methods could not be created.',
|
|
15275
|
+
type: 'string',
|
|
15276
|
+
},
|
|
15277
|
+
event_id: {
|
|
15278
|
+
description: 'ID of the event.',
|
|
15279
|
+
format: 'uuid',
|
|
15280
|
+
type: 'string',
|
|
15281
|
+
},
|
|
15282
|
+
event_type: {
|
|
15283
|
+
enum: [
|
|
15284
|
+
'access_grant.could_not_create_requested_access_methods',
|
|
15285
|
+
],
|
|
15286
|
+
type: 'string',
|
|
15287
|
+
},
|
|
15288
|
+
occurred_at: {
|
|
15289
|
+
description: 'Date and time at which the event occurred.',
|
|
15290
|
+
format: 'date-time',
|
|
15291
|
+
type: 'string',
|
|
15292
|
+
},
|
|
15293
|
+
workspace_id: {
|
|
15294
|
+
description:
|
|
15295
|
+
'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
|
|
15296
|
+
format: 'uuid',
|
|
15297
|
+
type: 'string',
|
|
15298
|
+
},
|
|
15299
|
+
},
|
|
15300
|
+
required: [
|
|
15301
|
+
'event_id',
|
|
15302
|
+
'workspace_id',
|
|
15303
|
+
'created_at',
|
|
15304
|
+
'occurred_at',
|
|
15305
|
+
'access_grant_id',
|
|
15306
|
+
'event_type',
|
|
15307
|
+
'error_message',
|
|
15308
|
+
],
|
|
15309
|
+
type: 'object',
|
|
15310
|
+
'x-route-path': '/access_grants',
|
|
15311
|
+
},
|
|
15258
15312
|
{
|
|
15259
15313
|
description: 'An access method was issued.',
|
|
15260
15314
|
properties: {
|
|
@@ -47786,6 +47840,7 @@ export default {
|
|
|
47786
47840
|
'access_grant.access_granted_to_door',
|
|
47787
47841
|
'access_grant.access_to_door_lost',
|
|
47788
47842
|
'access_grant.access_times_changed',
|
|
47843
|
+
'access_grant.could_not_create_requested_access_methods',
|
|
47789
47844
|
'access_method.issued',
|
|
47790
47845
|
'access_method.revoked',
|
|
47791
47846
|
'access_method.card_encoding_required',
|
|
@@ -47892,6 +47947,7 @@ export default {
|
|
|
47892
47947
|
'access_grant.access_granted_to_door',
|
|
47893
47948
|
'access_grant.access_to_door_lost',
|
|
47894
47949
|
'access_grant.access_times_changed',
|
|
47950
|
+
'access_grant.could_not_create_requested_access_methods',
|
|
47895
47951
|
'access_method.issued',
|
|
47896
47952
|
'access_method.revoked',
|
|
47897
47953
|
'access_method.card_encoding_required',
|
|
@@ -48195,6 +48251,7 @@ export default {
|
|
|
48195
48251
|
'access_grant.access_granted_to_door',
|
|
48196
48252
|
'access_grant.access_to_door_lost',
|
|
48197
48253
|
'access_grant.access_times_changed',
|
|
48254
|
+
'access_grant.could_not_create_requested_access_methods',
|
|
48198
48255
|
'access_method.issued',
|
|
48199
48256
|
'access_method.revoked',
|
|
48200
48257
|
'access_method.card_encoding_required',
|
|
@@ -48297,6 +48354,7 @@ export default {
|
|
|
48297
48354
|
'access_grant.access_granted_to_door',
|
|
48298
48355
|
'access_grant.access_to_door_lost',
|
|
48299
48356
|
'access_grant.access_times_changed',
|
|
48357
|
+
'access_grant.could_not_create_requested_access_methods',
|
|
48300
48358
|
'access_method.issued',
|
|
48301
48359
|
'access_method.revoked',
|
|
48302
48360
|
'access_method.card_encoding_required',
|
|
@@ -55344,6 +55402,7 @@ export default {
|
|
|
55344
55402
|
'access_grant.access_granted_to_door',
|
|
55345
55403
|
'access_grant.access_to_door_lost',
|
|
55346
55404
|
'access_grant.access_times_changed',
|
|
55405
|
+
'access_grant.could_not_create_requested_access_methods',
|
|
55347
55406
|
'access_method.issued',
|
|
55348
55407
|
'access_method.revoked',
|
|
55349
55408
|
'access_method.card_encoding_required',
|
|
@@ -55451,6 +55510,7 @@ export default {
|
|
|
55451
55510
|
'access_grant.access_granted_to_door',
|
|
55452
55511
|
'access_grant.access_to_door_lost',
|
|
55453
55512
|
'access_grant.access_times_changed',
|
|
55513
|
+
'access_grant.could_not_create_requested_access_methods',
|
|
55454
55514
|
'access_method.issued',
|
|
55455
55515
|
'access_method.revoked',
|
|
55456
55516
|
'access_method.card_encoding_required',
|
|
@@ -55621,6 +55681,7 @@ export default {
|
|
|
55621
55681
|
'access_grant.access_granted_to_door',
|
|
55622
55682
|
'access_grant.access_to_door_lost',
|
|
55623
55683
|
'access_grant.access_times_changed',
|
|
55684
|
+
'access_grant.could_not_create_requested_access_methods',
|
|
55624
55685
|
'access_method.issued',
|
|
55625
55686
|
'access_method.revoked',
|
|
55626
55687
|
'access_method.card_encoding_required',
|
|
@@ -55723,6 +55784,7 @@ export default {
|
|
|
55723
55784
|
'access_grant.access_granted_to_door',
|
|
55724
55785
|
'access_grant.access_to_door_lost',
|
|
55725
55786
|
'access_grant.access_times_changed',
|
|
55787
|
+
'access_grant.could_not_create_requested_access_methods',
|
|
55726
55788
|
'access_method.issued',
|
|
55727
55789
|
'access_method.revoked',
|
|
55728
55790
|
'access_method.card_encoding_required',
|
|
@@ -37504,6 +37504,21 @@ export type Routes = {
|
|
|
37504
37504
|
/** The new end time for the access grant. */
|
|
37505
37505
|
ends_at?: string | undefined
|
|
37506
37506
|
}
|
|
37507
|
+
| {
|
|
37508
|
+
/** ID of the event. */
|
|
37509
|
+
event_id: string
|
|
37510
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
37511
|
+
workspace_id: string
|
|
37512
|
+
/** Date and time at which the event was created. */
|
|
37513
|
+
created_at: string
|
|
37514
|
+
/** Date and time at which the event occurred. */
|
|
37515
|
+
occurred_at: string
|
|
37516
|
+
/** ID of the affected Access Grant. */
|
|
37517
|
+
access_grant_id: string
|
|
37518
|
+
event_type: 'access_grant.could_not_create_requested_access_methods'
|
|
37519
|
+
/** Description of why the access methods could not be created. */
|
|
37520
|
+
error_message: string
|
|
37521
|
+
}
|
|
37507
37522
|
| {
|
|
37508
37523
|
/** ID of the event. */
|
|
37509
37524
|
event_id: string
|
|
@@ -39300,6 +39315,7 @@ export type Routes = {
|
|
|
39300
39315
|
| 'access_grant.access_granted_to_door'
|
|
39301
39316
|
| 'access_grant.access_to_door_lost'
|
|
39302
39317
|
| 'access_grant.access_times_changed'
|
|
39318
|
+
| 'access_grant.could_not_create_requested_access_methods'
|
|
39303
39319
|
| 'access_method.issued'
|
|
39304
39320
|
| 'access_method.revoked'
|
|
39305
39321
|
| 'access_method.card_encoding_required'
|
|
@@ -39400,6 +39416,7 @@ export type Routes = {
|
|
|
39400
39416
|
| 'access_grant.access_granted_to_door'
|
|
39401
39417
|
| 'access_grant.access_to_door_lost'
|
|
39402
39418
|
| 'access_grant.access_times_changed'
|
|
39419
|
+
| 'access_grant.could_not_create_requested_access_methods'
|
|
39403
39420
|
| 'access_method.issued'
|
|
39404
39421
|
| 'access_method.revoked'
|
|
39405
39422
|
| 'access_method.card_encoding_required'
|
|
@@ -40080,6 +40097,21 @@ export type Routes = {
|
|
|
40080
40097
|
/** The new end time for the access grant. */
|
|
40081
40098
|
ends_at?: string | undefined
|
|
40082
40099
|
}
|
|
40100
|
+
| {
|
|
40101
|
+
/** ID of the event. */
|
|
40102
|
+
event_id: string
|
|
40103
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
40104
|
+
workspace_id: string
|
|
40105
|
+
/** Date and time at which the event was created. */
|
|
40106
|
+
created_at: string
|
|
40107
|
+
/** Date and time at which the event occurred. */
|
|
40108
|
+
occurred_at: string
|
|
40109
|
+
/** ID of the affected Access Grant. */
|
|
40110
|
+
access_grant_id: string
|
|
40111
|
+
event_type: 'access_grant.could_not_create_requested_access_methods'
|
|
40112
|
+
/** Description of why the access methods could not be created. */
|
|
40113
|
+
error_message: string
|
|
40114
|
+
}
|
|
40083
40115
|
| {
|
|
40084
40116
|
/** ID of the event. */
|
|
40085
40117
|
event_id: string
|
|
@@ -63309,6 +63341,7 @@ export type Routes = {
|
|
|
63309
63341
|
| 'access_grant.access_granted_to_door'
|
|
63310
63342
|
| 'access_grant.access_to_door_lost'
|
|
63311
63343
|
| 'access_grant.access_times_changed'
|
|
63344
|
+
| 'access_grant.could_not_create_requested_access_methods'
|
|
63312
63345
|
| 'access_method.issued'
|
|
63313
63346
|
| 'access_method.revoked'
|
|
63314
63347
|
| 'access_method.card_encoding_required'
|
|
@@ -63409,6 +63442,7 @@ export type Routes = {
|
|
|
63409
63442
|
| 'access_grant.access_granted_to_door'
|
|
63410
63443
|
| 'access_grant.access_to_door_lost'
|
|
63411
63444
|
| 'access_grant.access_times_changed'
|
|
63445
|
+
| 'access_grant.could_not_create_requested_access_methods'
|
|
63412
63446
|
| 'access_method.issued'
|
|
63413
63447
|
| 'access_method.revoked'
|
|
63414
63448
|
| 'access_method.card_encoding_required'
|
|
@@ -64077,6 +64111,21 @@ export type Routes = {
|
|
|
64077
64111
|
/** The new end time for the access grant. */
|
|
64078
64112
|
ends_at?: string | undefined
|
|
64079
64113
|
}
|
|
64114
|
+
| {
|
|
64115
|
+
/** ID of the event. */
|
|
64116
|
+
event_id: string
|
|
64117
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
64118
|
+
workspace_id: string
|
|
64119
|
+
/** Date and time at which the event was created. */
|
|
64120
|
+
created_at: string
|
|
64121
|
+
/** Date and time at which the event occurred. */
|
|
64122
|
+
occurred_at: string
|
|
64123
|
+
/** ID of the affected Access Grant. */
|
|
64124
|
+
access_grant_id: string
|
|
64125
|
+
event_type: 'access_grant.could_not_create_requested_access_methods'
|
|
64126
|
+
/** Description of why the access methods could not be created. */
|
|
64127
|
+
error_message: string
|
|
64128
|
+
}
|
|
64080
64129
|
| {
|
|
64081
64130
|
/** ID of the event. */
|
|
64082
64131
|
event_id: string
|
|
@@ -98198,6 +98247,21 @@ export type Routes = {
|
|
|
98198
98247
|
/** The new end time for the access grant. */
|
|
98199
98248
|
ends_at?: string | undefined
|
|
98200
98249
|
}
|
|
98250
|
+
| {
|
|
98251
|
+
/** ID of the event. */
|
|
98252
|
+
event_id: string
|
|
98253
|
+
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
98254
|
+
workspace_id: string
|
|
98255
|
+
/** Date and time at which the event was created. */
|
|
98256
|
+
created_at: string
|
|
98257
|
+
/** Date and time at which the event occurred. */
|
|
98258
|
+
occurred_at: string
|
|
98259
|
+
/** ID of the affected Access Grant. */
|
|
98260
|
+
access_grant_id: string
|
|
98261
|
+
event_type: 'access_grant.could_not_create_requested_access_methods'
|
|
98262
|
+
/** Description of why the access methods could not be created. */
|
|
98263
|
+
error_message: string
|
|
98264
|
+
}
|
|
98201
98265
|
| {
|
|
98202
98266
|
/** ID of the event. */
|
|
98203
98267
|
event_id: string
|