@seamapi/types 1.700.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.
@@ -11866,6 +11866,10 @@ export type Routes = {
11866
11866
  commonParams: {
11867
11867
  /** Customer key for which you want to list access grants. */
11868
11868
  customer_key?: string | undefined;
11869
+ /** Numerical limit on the number of access grants to return. */
11870
+ limit?: number;
11871
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
11872
+ page_cursor?: (string | undefined) | null;
11869
11873
  /** ID of user identity by which you want to filter the list of Access Grants. */
11870
11874
  user_identity_id?: string | undefined;
11871
11875
  /** ID of the access system by which you want to filter the list of Access Grants. */
@@ -11950,6 +11954,15 @@ export type Routes = {
11950
11954
  /** ID of the customization profile associated with the Access Grant. */
11951
11955
  customization_profile_id?: string | undefined;
11952
11956
  }[];
11957
+ /** Information about the current page of results. */
11958
+ pagination: {
11959
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
11960
+ next_page_cursor: string | null;
11961
+ /** Indicates whether there is another page of results after this one. */
11962
+ has_next_page: boolean;
11963
+ /** URL to get the next page of results. */
11964
+ next_page_url: string | null;
11965
+ };
11953
11966
  };
11954
11967
  maxDuration: undefined;
11955
11968
  };
@@ -31456,6 +31469,20 @@ export type Routes = {
31456
31469
  starts_at?: string | undefined;
31457
31470
  /** The new end time for the access grant. */
31458
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;
31459
31486
  } | {
31460
31487
  /** ID of the event. */
31461
31488
  event_id: string;
@@ -32975,9 +33002,9 @@ export type Routes = {
32975
33002
  /** IDs of the access codes for which you want to list events. */
32976
33003
  access_code_ids?: string[] | undefined;
32977
33004
  /** Type of the events that you want to list. */
32978
- 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;
32979
33006
  /** Types of the events that you want to list. */
32980
- 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;
32981
33008
  /** ID of the connected account for which you want to list events. */
32982
33009
  connected_account_id?: string | undefined;
32983
33010
  /** ID of the Connect Webview for which you want to list events. */
@@ -33492,6 +33519,20 @@ export type Routes = {
33492
33519
  starts_at?: string | undefined;
33493
33520
  /** The new end time for the access grant. */
33494
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;
33495
33536
  } | {
33496
33537
  /** ID of the event. */
33497
33538
  event_id: string;
@@ -52934,9 +52975,9 @@ export type Routes = {
52934
52975
  /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
52935
52976
  between?: (string | Date)[] | undefined;
52936
52977
  /** Type of the events that you want to list. */
52937
- 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;
52938
52979
  /** Types of the events that you want to list. */
52939
- 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;
52940
52981
  /** Numerical limit on the number of events to return. */
52941
52982
  limit?: number;
52942
52983
  };
@@ -53439,6 +53480,20 @@ export type Routes = {
53439
53480
  starts_at?: string | undefined;
53440
53481
  /** The new end time for the access grant. */
53441
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;
53442
53497
  } | {
53443
53498
  /** ID of the event. */
53444
53499
  event_id: string;
@@ -82222,6 +82277,20 @@ export type Routes = {
82222
82277
  starts_at?: string | undefined;
82223
82278
  /** The new end time for the access grant. */
82224
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;
82225
82294
  } | {
82226
82295
  /** ID of the event. */
82227
82296
  event_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.700.0",
3
+ "version": "1.702.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -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: {
@@ -29856,6 +29910,27 @@ export default {
29856
29910
  type: 'string',
29857
29911
  },
29858
29912
  },
29913
+ {
29914
+ in: 'query',
29915
+ name: 'limit',
29916
+ schema: {
29917
+ default: 500,
29918
+ description:
29919
+ 'Numerical limit on the number of access grants to return.',
29920
+ format: 'float',
29921
+ type: 'number',
29922
+ },
29923
+ },
29924
+ {
29925
+ in: 'query',
29926
+ name: 'page_cursor',
29927
+ schema: {
29928
+ description:
29929
+ "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
29930
+ nullable: true,
29931
+ type: 'string',
29932
+ },
29933
+ },
29859
29934
  {
29860
29935
  in: 'query',
29861
29936
  name: 'user_identity_id',
@@ -29934,8 +30009,9 @@ export default {
29934
30009
  type: 'array',
29935
30010
  },
29936
30011
  ok: { type: 'boolean' },
30012
+ pagination: { $ref: '#/components/schemas/pagination' },
29937
30013
  },
29938
- required: ['access_grants', 'ok'],
30014
+ required: ['access_grants', 'pagination', 'ok'],
29939
30015
  type: 'object',
29940
30016
  },
29941
30017
  },
@@ -29989,12 +30065,25 @@ export default {
29989
30065
  'Customer key for which you want to list access grants.',
29990
30066
  type: 'string',
29991
30067
  },
30068
+ limit: {
30069
+ default: 500,
30070
+ description:
30071
+ 'Numerical limit on the number of access grants to return.',
30072
+ format: 'float',
30073
+ type: 'number',
30074
+ },
29992
30075
  location_id: {
29993
30076
  deprecated: true,
29994
30077
  format: 'uuid',
29995
30078
  type: 'string',
29996
30079
  'x-deprecated': 'Use `space_id`.',
29997
30080
  },
30081
+ page_cursor: {
30082
+ description:
30083
+ "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
30084
+ nullable: true,
30085
+ type: 'string',
30086
+ },
29998
30087
  reservation_key: {
29999
30088
  description: 'Filter Access Grants by reservation_key.',
30000
30089
  type: 'string',
@@ -30028,8 +30117,9 @@ export default {
30028
30117
  type: 'array',
30029
30118
  },
30030
30119
  ok: { type: 'boolean' },
30120
+ pagination: { $ref: '#/components/schemas/pagination' },
30031
30121
  },
30032
- required: ['access_grants', 'ok'],
30122
+ required: ['access_grants', 'pagination', 'ok'],
30033
30123
  type: 'object',
30034
30124
  },
30035
30125
  },
@@ -47750,6 +47840,7 @@ export default {
47750
47840
  'access_grant.access_granted_to_door',
47751
47841
  'access_grant.access_to_door_lost',
47752
47842
  'access_grant.access_times_changed',
47843
+ 'access_grant.could_not_create_requested_access_methods',
47753
47844
  'access_method.issued',
47754
47845
  'access_method.revoked',
47755
47846
  'access_method.card_encoding_required',
@@ -47856,6 +47947,7 @@ export default {
47856
47947
  'access_grant.access_granted_to_door',
47857
47948
  'access_grant.access_to_door_lost',
47858
47949
  'access_grant.access_times_changed',
47950
+ 'access_grant.could_not_create_requested_access_methods',
47859
47951
  'access_method.issued',
47860
47952
  'access_method.revoked',
47861
47953
  'access_method.card_encoding_required',
@@ -48159,6 +48251,7 @@ export default {
48159
48251
  'access_grant.access_granted_to_door',
48160
48252
  'access_grant.access_to_door_lost',
48161
48253
  'access_grant.access_times_changed',
48254
+ 'access_grant.could_not_create_requested_access_methods',
48162
48255
  'access_method.issued',
48163
48256
  'access_method.revoked',
48164
48257
  'access_method.card_encoding_required',
@@ -48261,6 +48354,7 @@ export default {
48261
48354
  'access_grant.access_granted_to_door',
48262
48355
  'access_grant.access_to_door_lost',
48263
48356
  'access_grant.access_times_changed',
48357
+ 'access_grant.could_not_create_requested_access_methods',
48264
48358
  'access_method.issued',
48265
48359
  'access_method.revoked',
48266
48360
  'access_method.card_encoding_required',
@@ -55308,6 +55402,7 @@ export default {
55308
55402
  'access_grant.access_granted_to_door',
55309
55403
  'access_grant.access_to_door_lost',
55310
55404
  'access_grant.access_times_changed',
55405
+ 'access_grant.could_not_create_requested_access_methods',
55311
55406
  'access_method.issued',
55312
55407
  'access_method.revoked',
55313
55408
  'access_method.card_encoding_required',
@@ -55415,6 +55510,7 @@ export default {
55415
55510
  'access_grant.access_granted_to_door',
55416
55511
  'access_grant.access_to_door_lost',
55417
55512
  'access_grant.access_times_changed',
55513
+ 'access_grant.could_not_create_requested_access_methods',
55418
55514
  'access_method.issued',
55419
55515
  'access_method.revoked',
55420
55516
  'access_method.card_encoding_required',
@@ -55585,6 +55681,7 @@ export default {
55585
55681
  'access_grant.access_granted_to_door',
55586
55682
  'access_grant.access_to_door_lost',
55587
55683
  'access_grant.access_times_changed',
55684
+ 'access_grant.could_not_create_requested_access_methods',
55588
55685
  'access_method.issued',
55589
55686
  'access_method.revoked',
55590
55687
  'access_method.card_encoding_required',
@@ -55687,6 +55784,7 @@ export default {
55687
55784
  'access_grant.access_granted_to_door',
55688
55785
  'access_grant.access_to_door_lost',
55689
55786
  'access_grant.access_times_changed',
55787
+ 'access_grant.could_not_create_requested_access_methods',
55690
55788
  'access_method.issued',
55691
55789
  'access_method.revoked',
55692
55790
  'access_method.card_encoding_required',
@@ -13611,6 +13611,10 @@ export type Routes = {
13611
13611
  commonParams: {
13612
13612
  /** Customer key for which you want to list access grants. */
13613
13613
  customer_key?: string | undefined
13614
+ /** Numerical limit on the number of access grants to return. */
13615
+ limit?: number
13616
+ /** Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`. */
13617
+ page_cursor?: (string | undefined) | null
13614
13618
  /** ID of user identity by which you want to filter the list of Access Grants. */
13615
13619
  user_identity_id?: string | undefined
13616
13620
  /** ID of the access system by which you want to filter the list of Access Grants. */
@@ -13695,6 +13699,15 @@ export type Routes = {
13695
13699
  /** ID of the customization profile associated with the Access Grant. */
13696
13700
  customization_profile_id?: string | undefined
13697
13701
  }[]
13702
+ /** Information about the current page of results. */
13703
+ pagination: {
13704
+ /** Opaque value that can be used to select the next page of results via the `page_cursor` parameter. */
13705
+ next_page_cursor: string | null
13706
+ /** Indicates whether there is another page of results after this one. */
13707
+ has_next_page: boolean
13708
+ /** URL to get the next page of results. */
13709
+ next_page_url: string | null
13710
+ }
13698
13711
  }
13699
13712
  maxDuration: undefined
13700
13713
  }
@@ -37491,6 +37504,21 @@ export type Routes = {
37491
37504
  /** The new end time for the access grant. */
37492
37505
  ends_at?: string | undefined
37493
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
+ }
37494
37522
  | {
37495
37523
  /** ID of the event. */
37496
37524
  event_id: string
@@ -39287,6 +39315,7 @@ export type Routes = {
39287
39315
  | 'access_grant.access_granted_to_door'
39288
39316
  | 'access_grant.access_to_door_lost'
39289
39317
  | 'access_grant.access_times_changed'
39318
+ | 'access_grant.could_not_create_requested_access_methods'
39290
39319
  | 'access_method.issued'
39291
39320
  | 'access_method.revoked'
39292
39321
  | 'access_method.card_encoding_required'
@@ -39387,6 +39416,7 @@ export type Routes = {
39387
39416
  | 'access_grant.access_granted_to_door'
39388
39417
  | 'access_grant.access_to_door_lost'
39389
39418
  | 'access_grant.access_times_changed'
39419
+ | 'access_grant.could_not_create_requested_access_methods'
39390
39420
  | 'access_method.issued'
39391
39421
  | 'access_method.revoked'
39392
39422
  | 'access_method.card_encoding_required'
@@ -40067,6 +40097,21 @@ export type Routes = {
40067
40097
  /** The new end time for the access grant. */
40068
40098
  ends_at?: string | undefined
40069
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
+ }
40070
40115
  | {
40071
40116
  /** ID of the event. */
40072
40117
  event_id: string
@@ -63296,6 +63341,7 @@ export type Routes = {
63296
63341
  | 'access_grant.access_granted_to_door'
63297
63342
  | 'access_grant.access_to_door_lost'
63298
63343
  | 'access_grant.access_times_changed'
63344
+ | 'access_grant.could_not_create_requested_access_methods'
63299
63345
  | 'access_method.issued'
63300
63346
  | 'access_method.revoked'
63301
63347
  | 'access_method.card_encoding_required'
@@ -63396,6 +63442,7 @@ export type Routes = {
63396
63442
  | 'access_grant.access_granted_to_door'
63397
63443
  | 'access_grant.access_to_door_lost'
63398
63444
  | 'access_grant.access_times_changed'
63445
+ | 'access_grant.could_not_create_requested_access_methods'
63399
63446
  | 'access_method.issued'
63400
63447
  | 'access_method.revoked'
63401
63448
  | 'access_method.card_encoding_required'
@@ -64064,6 +64111,21 @@ export type Routes = {
64064
64111
  /** The new end time for the access grant. */
64065
64112
  ends_at?: string | undefined
64066
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
+ }
64067
64129
  | {
64068
64130
  /** ID of the event. */
64069
64131
  event_id: string
@@ -98185,6 +98247,21 @@ export type Routes = {
98185
98247
  /** The new end time for the access grant. */
98186
98248
  ends_at?: string | undefined
98187
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
+ }
98188
98265
  | {
98189
98266
  /** ID of the event. */
98190
98267
  event_id: string