@seamapi/types 1.696.0 → 1.697.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.
@@ -28862,6 +28862,70 @@ declare const batch: z.ZodObject<{
28862
28862
  device_ids: string[];
28863
28863
  acs_entrance_ids: string[];
28864
28864
  space_key?: string | undefined;
28865
+ }>, z.ZodObject<{
28866
+ event_id: z.ZodString;
28867
+ workspace_id: z.ZodString;
28868
+ created_at: z.ZodString;
28869
+ occurred_at: z.ZodString;
28870
+ } & {
28871
+ space_id: z.ZodString;
28872
+ } & {
28873
+ event_type: z.ZodLiteral<"space.created">;
28874
+ space_key: z.ZodOptional<z.ZodString>;
28875
+ device_ids: z.ZodArray<z.ZodString, "many">;
28876
+ acs_entrance_ids: z.ZodArray<z.ZodString, "many">;
28877
+ }, "strip", z.ZodTypeAny, {
28878
+ workspace_id: string;
28879
+ created_at: string;
28880
+ event_id: string;
28881
+ occurred_at: string;
28882
+ event_type: "space.created";
28883
+ space_id: string;
28884
+ device_ids: string[];
28885
+ acs_entrance_ids: string[];
28886
+ space_key?: string | undefined;
28887
+ }, {
28888
+ workspace_id: string;
28889
+ created_at: string;
28890
+ event_id: string;
28891
+ occurred_at: string;
28892
+ event_type: "space.created";
28893
+ space_id: string;
28894
+ device_ids: string[];
28895
+ acs_entrance_ids: string[];
28896
+ space_key?: string | undefined;
28897
+ }>, z.ZodObject<{
28898
+ event_id: z.ZodString;
28899
+ workspace_id: z.ZodString;
28900
+ created_at: z.ZodString;
28901
+ occurred_at: z.ZodString;
28902
+ } & {
28903
+ space_id: z.ZodString;
28904
+ } & {
28905
+ event_type: z.ZodLiteral<"space.deleted">;
28906
+ space_key: z.ZodOptional<z.ZodString>;
28907
+ device_ids: z.ZodArray<z.ZodString, "many">;
28908
+ acs_entrance_ids: z.ZodArray<z.ZodString, "many">;
28909
+ }, "strip", z.ZodTypeAny, {
28910
+ workspace_id: string;
28911
+ created_at: string;
28912
+ event_id: string;
28913
+ occurred_at: string;
28914
+ event_type: "space.deleted";
28915
+ space_id: string;
28916
+ device_ids: string[];
28917
+ acs_entrance_ids: string[];
28918
+ space_key?: string | undefined;
28919
+ }, {
28920
+ workspace_id: string;
28921
+ created_at: string;
28922
+ event_id: string;
28923
+ occurred_at: string;
28924
+ event_type: "space.deleted";
28925
+ space_id: string;
28926
+ device_ids: string[];
28927
+ acs_entrance_ids: string[];
28928
+ space_key?: string | undefined;
28865
28929
  }>]>, "many">>;
28866
28930
  instant_keys: z.ZodOptional<z.ZodArray<z.ZodObject<{
28867
28931
  instant_key_id: z.ZodString;
@@ -35582,6 +35646,26 @@ declare const batch: z.ZodObject<{
35582
35646
  device_ids: string[];
35583
35647
  acs_entrance_ids: string[];
35584
35648
  space_key?: string | undefined;
35649
+ } | {
35650
+ workspace_id: string;
35651
+ created_at: string;
35652
+ event_id: string;
35653
+ occurred_at: string;
35654
+ event_type: "space.created";
35655
+ space_id: string;
35656
+ device_ids: string[];
35657
+ acs_entrance_ids: string[];
35658
+ space_key?: string | undefined;
35659
+ } | {
35660
+ workspace_id: string;
35661
+ created_at: string;
35662
+ event_id: string;
35663
+ occurred_at: string;
35664
+ event_type: "space.deleted";
35665
+ space_id: string;
35666
+ device_ids: string[];
35667
+ acs_entrance_ids: string[];
35668
+ space_key?: string | undefined;
35585
35669
  })[] | undefined;
35586
35670
  instant_keys?: {
35587
35671
  workspace_id: string;
@@ -39664,6 +39748,26 @@ declare const batch: z.ZodObject<{
39664
39748
  device_ids: string[];
39665
39749
  acs_entrance_ids: string[];
39666
39750
  space_key?: string | undefined;
39751
+ } | {
39752
+ workspace_id: string;
39753
+ created_at: string;
39754
+ event_id: string;
39755
+ occurred_at: string;
39756
+ event_type: "space.created";
39757
+ space_id: string;
39758
+ device_ids: string[];
39759
+ acs_entrance_ids: string[];
39760
+ space_key?: string | undefined;
39761
+ } | {
39762
+ workspace_id: string;
39763
+ created_at: string;
39764
+ event_id: string;
39765
+ occurred_at: string;
39766
+ event_type: "space.deleted";
39767
+ space_id: string;
39768
+ device_ids: string[];
39769
+ acs_entrance_ids: string[];
39770
+ space_key?: string | undefined;
39667
39771
  })[] | undefined;
39668
39772
  instant_keys?: {
39669
39773
  workspace_id: string;
@@ -52768,6 +52872,70 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<{
52768
52872
  device_ids: string[];
52769
52873
  acs_entrance_ids: string[];
52770
52874
  space_key?: string | undefined;
52875
+ }>, z.ZodObject<{
52876
+ event_id: z.ZodString;
52877
+ workspace_id: z.ZodString;
52878
+ created_at: z.ZodString;
52879
+ occurred_at: z.ZodString;
52880
+ } & {
52881
+ space_id: z.ZodString;
52882
+ } & {
52883
+ event_type: z.ZodLiteral<"space.created">;
52884
+ space_key: z.ZodOptional<z.ZodString>;
52885
+ device_ids: z.ZodArray<z.ZodString, "many">;
52886
+ acs_entrance_ids: z.ZodArray<z.ZodString, "many">;
52887
+ }, "strip", z.ZodTypeAny, {
52888
+ workspace_id: string;
52889
+ created_at: string;
52890
+ event_id: string;
52891
+ occurred_at: string;
52892
+ event_type: "space.created";
52893
+ space_id: string;
52894
+ device_ids: string[];
52895
+ acs_entrance_ids: string[];
52896
+ space_key?: string | undefined;
52897
+ }, {
52898
+ workspace_id: string;
52899
+ created_at: string;
52900
+ event_id: string;
52901
+ occurred_at: string;
52902
+ event_type: "space.created";
52903
+ space_id: string;
52904
+ device_ids: string[];
52905
+ acs_entrance_ids: string[];
52906
+ space_key?: string | undefined;
52907
+ }>, z.ZodObject<{
52908
+ event_id: z.ZodString;
52909
+ workspace_id: z.ZodString;
52910
+ created_at: z.ZodString;
52911
+ occurred_at: z.ZodString;
52912
+ } & {
52913
+ space_id: z.ZodString;
52914
+ } & {
52915
+ event_type: z.ZodLiteral<"space.deleted">;
52916
+ space_key: z.ZodOptional<z.ZodString>;
52917
+ device_ids: z.ZodArray<z.ZodString, "many">;
52918
+ acs_entrance_ids: z.ZodArray<z.ZodString, "many">;
52919
+ }, "strip", z.ZodTypeAny, {
52920
+ workspace_id: string;
52921
+ created_at: string;
52922
+ event_id: string;
52923
+ occurred_at: string;
52924
+ event_type: "space.deleted";
52925
+ space_id: string;
52926
+ device_ids: string[];
52927
+ acs_entrance_ids: string[];
52928
+ space_key?: string | undefined;
52929
+ }, {
52930
+ workspace_id: string;
52931
+ created_at: string;
52932
+ event_id: string;
52933
+ occurred_at: string;
52934
+ event_type: "space.deleted";
52935
+ space_id: string;
52936
+ device_ids: string[];
52937
+ acs_entrance_ids: string[];
52938
+ space_key?: string | undefined;
52771
52939
  }>]>;
52772
52940
  type SeamEvent = z.infer<typeof seam_event>;
52773
52941
  type SeamEventType = SeamEvent['event_type'];
@@ -147925,6 +148093,44 @@ type Routes = {
147925
148093
  device_ids: string[];
147926
148094
  /** IDs of all ACS entrances currently attached to the space. */
147927
148095
  acs_entrance_ids: string[];
148096
+ } | {
148097
+ /** ID of the event. */
148098
+ event_id: string;
148099
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
148100
+ workspace_id: string;
148101
+ /** Date and time at which the event was created. */
148102
+ created_at: string;
148103
+ /** Date and time at which the event occurred. */
148104
+ occurred_at: string;
148105
+ /** ID of the affected space. */
148106
+ space_id: string;
148107
+ /** Type of the event. */
148108
+ event_type: 'space.created';
148109
+ /** Unique key for the space within the workspace. */
148110
+ space_key?: string | undefined;
148111
+ /** IDs of all devices attached to the space when it was created. */
148112
+ device_ids: string[];
148113
+ /** IDs of all ACS entrances attached to the space when it was created. */
148114
+ acs_entrance_ids: string[];
148115
+ } | {
148116
+ /** ID of the event. */
148117
+ event_id: string;
148118
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
148119
+ workspace_id: string;
148120
+ /** Date and time at which the event was created. */
148121
+ created_at: string;
148122
+ /** Date and time at which the event occurred. */
148123
+ occurred_at: string;
148124
+ /** ID of the affected space. */
148125
+ space_id: string;
148126
+ /** Type of the event. */
148127
+ event_type: 'space.deleted';
148128
+ /** Unique key for the space within the workspace. */
148129
+ space_key?: string | undefined;
148130
+ /** IDs of all devices attached to the space when it was deleted. */
148131
+ device_ids: string[];
148132
+ /** IDs of all ACS entrances currently attached to the space when it was deleted. */
148133
+ acs_entrance_ids: string[];
147928
148134
  }) | undefined;
147929
148135
  message?: string | undefined;
147930
148136
  };
@@ -147957,9 +148163,9 @@ type Routes = {
147957
148163
  /** IDs of the access codes for which you want to list events. */
147958
148164
  access_code_ids?: string[] | undefined;
147959
148165
  /** Type of the events that you want to list. */
147960
- 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') | undefined;
148166
+ 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;
147961
148167
  /** Types of the events that you want to list. */
147962
- 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')[] | undefined;
148168
+ 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;
147963
148169
  /** ID of the connected account for which you want to list events. */
147964
148170
  connected_account_id?: string | undefined;
147965
148171
  /** ID of the Connect Webview for which you want to list events. */
@@ -149923,6 +150129,44 @@ type Routes = {
149923
150129
  device_ids: string[];
149924
150130
  /** IDs of all ACS entrances currently attached to the space. */
149925
150131
  acs_entrance_ids: string[];
150132
+ } | {
150133
+ /** ID of the event. */
150134
+ event_id: string;
150135
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
150136
+ workspace_id: string;
150137
+ /** Date and time at which the event was created. */
150138
+ created_at: string;
150139
+ /** Date and time at which the event occurred. */
150140
+ occurred_at: string;
150141
+ /** ID of the affected space. */
150142
+ space_id: string;
150143
+ /** Type of the event. */
150144
+ event_type: 'space.created';
150145
+ /** Unique key for the space within the workspace. */
150146
+ space_key?: string | undefined;
150147
+ /** IDs of all devices attached to the space when it was created. */
150148
+ device_ids: string[];
150149
+ /** IDs of all ACS entrances attached to the space when it was created. */
150150
+ acs_entrance_ids: string[];
150151
+ } | {
150152
+ /** ID of the event. */
150153
+ event_id: string;
150154
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
150155
+ workspace_id: string;
150156
+ /** Date and time at which the event was created. */
150157
+ created_at: string;
150158
+ /** Date and time at which the event occurred. */
150159
+ occurred_at: string;
150160
+ /** ID of the affected space. */
150161
+ space_id: string;
150162
+ /** Type of the event. */
150163
+ event_type: 'space.deleted';
150164
+ /** Unique key for the space within the workspace. */
150165
+ space_key?: string | undefined;
150166
+ /** IDs of all devices attached to the space when it was deleted. */
150167
+ device_ids: string[];
150168
+ /** IDs of all ACS entrances currently attached to the space when it was deleted. */
150169
+ acs_entrance_ids: string[];
149926
150170
  })[];
149927
150171
  };
149928
150172
  maxDuration: undefined;
@@ -167866,9 +168110,9 @@ type Routes = {
167866
168110
  /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
167867
168111
  between?: (string | Date)[] | undefined;
167868
168112
  /** Type of the events that you want to list. */
167869
- 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') | undefined;
168113
+ 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;
167870
168114
  /** Types of the events that you want to list. */
167871
- 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')[] | undefined;
168115
+ 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;
167872
168116
  /** Numerical limit on the number of events to return. */
167873
168117
  limit?: number;
167874
168118
  };
@@ -169820,6 +170064,44 @@ type Routes = {
169820
170064
  device_ids: string[];
169821
170065
  /** IDs of all ACS entrances currently attached to the space. */
169822
170066
  acs_entrance_ids: string[];
170067
+ } | {
170068
+ /** ID of the event. */
170069
+ event_id: string;
170070
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
170071
+ workspace_id: string;
170072
+ /** Date and time at which the event was created. */
170073
+ created_at: string;
170074
+ /** Date and time at which the event occurred. */
170075
+ occurred_at: string;
170076
+ /** ID of the affected space. */
170077
+ space_id: string;
170078
+ /** Type of the event. */
170079
+ event_type: 'space.created';
170080
+ /** Unique key for the space within the workspace. */
170081
+ space_key?: string | undefined;
170082
+ /** IDs of all devices attached to the space when it was created. */
170083
+ device_ids: string[];
170084
+ /** IDs of all ACS entrances attached to the space when it was created. */
170085
+ acs_entrance_ids: string[];
170086
+ } | {
170087
+ /** ID of the event. */
170088
+ event_id: string;
170089
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
170090
+ workspace_id: string;
170091
+ /** Date and time at which the event was created. */
170092
+ created_at: string;
170093
+ /** Date and time at which the event occurred. */
170094
+ occurred_at: string;
170095
+ /** ID of the affected space. */
170096
+ space_id: string;
170097
+ /** Type of the event. */
170098
+ event_type: 'space.deleted';
170099
+ /** Unique key for the space within the workspace. */
170100
+ space_key?: string | undefined;
170101
+ /** IDs of all devices attached to the space when it was deleted. */
170102
+ device_ids: string[];
170103
+ /** IDs of all ACS entrances currently attached to the space when it was deleted. */
170104
+ acs_entrance_ids: string[];
169823
170105
  })[];
169824
170106
  };
169825
170107
  maxDuration: undefined;
@@ -198565,6 +198847,44 @@ type Routes = {
198565
198847
  device_ids: string[];
198566
198848
  /** IDs of all ACS entrances currently attached to the space. */
198567
198849
  acs_entrance_ids: string[];
198850
+ } | {
198851
+ /** ID of the event. */
198852
+ event_id: string;
198853
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
198854
+ workspace_id: string;
198855
+ /** Date and time at which the event was created. */
198856
+ created_at: string;
198857
+ /** Date and time at which the event occurred. */
198858
+ occurred_at: string;
198859
+ /** ID of the affected space. */
198860
+ space_id: string;
198861
+ /** Type of the event. */
198862
+ event_type: 'space.created';
198863
+ /** Unique key for the space within the workspace. */
198864
+ space_key?: string | undefined;
198865
+ /** IDs of all devices attached to the space when it was created. */
198866
+ device_ids: string[];
198867
+ /** IDs of all ACS entrances attached to the space when it was created. */
198868
+ acs_entrance_ids: string[];
198869
+ } | {
198870
+ /** ID of the event. */
198871
+ event_id: string;
198872
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
198873
+ workspace_id: string;
198874
+ /** Date and time at which the event was created. */
198875
+ created_at: string;
198876
+ /** Date and time at which the event occurred. */
198877
+ occurred_at: string;
198878
+ /** ID of the affected space. */
198879
+ space_id: string;
198880
+ /** Type of the event. */
198881
+ event_type: 'space.deleted';
198882
+ /** Unique key for the space within the workspace. */
198883
+ space_key?: string | undefined;
198884
+ /** IDs of all devices attached to the space when it was deleted. */
198885
+ device_ids: string[];
198886
+ /** IDs of all ACS entrances currently attached to the space when it was deleted. */
198887
+ acs_entrance_ids: string[];
198568
198888
  })[] | undefined;
198569
198889
  instant_keys?: {
198570
198890
  /** ID of the Instant Key. */