@seamapi/types 1.696.0 → 1.698.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'];
@@ -98955,6 +99123,10 @@ declare const _default: {
98955
99123
  refresh_token?: never;
98956
99124
  api_key?: never;
98957
99125
  base_api_url?: never;
99126
+ hotel_id?: never;
99127
+ id?: never;
99128
+ is_staging?: never;
99129
+ secret?: never;
98958
99130
  };
98959
99131
  type: string;
98960
99132
  required?: never;
@@ -98994,6 +99166,10 @@ declare const _default: {
98994
99166
  refresh_token?: never;
98995
99167
  api_key?: never;
98996
99168
  base_api_url?: never;
99169
+ hotel_id?: never;
99170
+ id?: never;
99171
+ is_staging?: never;
99172
+ secret?: never;
98997
99173
  };
98998
99174
  type: string;
98999
99175
  required?: never;
@@ -99032,6 +99208,10 @@ declare const _default: {
99032
99208
  refresh_token?: never;
99033
99209
  api_key?: never;
99034
99210
  base_api_url?: never;
99211
+ hotel_id?: never;
99212
+ id?: never;
99213
+ is_staging?: never;
99214
+ secret?: never;
99035
99215
  };
99036
99216
  required: string[];
99037
99217
  type: string;
@@ -99062,6 +99242,10 @@ declare const _default: {
99062
99242
  client_password?: never;
99063
99243
  api_key?: never;
99064
99244
  base_api_url?: never;
99245
+ hotel_id?: never;
99246
+ id?: never;
99247
+ is_staging?: never;
99248
+ secret?: never;
99065
99249
  };
99066
99250
  type: string;
99067
99251
  required?: never;
@@ -99087,6 +99271,53 @@ declare const _default: {
99087
99271
  client_password?: never;
99088
99272
  property_id?: never;
99089
99273
  refresh_token?: never;
99274
+ hotel_id?: never;
99275
+ id?: never;
99276
+ is_staging?: never;
99277
+ secret?: never;
99278
+ };
99279
+ required: string[];
99280
+ type: string;
99281
+ } | {
99282
+ properties: {
99283
+ api_key: {
99284
+ description: string;
99285
+ minLength: number;
99286
+ type: string;
99287
+ };
99288
+ auth_token: {
99289
+ type: string;
99290
+ };
99291
+ hotel_id: {
99292
+ description: string;
99293
+ type: string;
99294
+ };
99295
+ id: {
99296
+ description: string;
99297
+ minLength: number;
99298
+ type: string;
99299
+ };
99300
+ is_staging: {
99301
+ default: boolean;
99302
+ description: string;
99303
+ type: string;
99304
+ };
99305
+ secret: {
99306
+ description: string;
99307
+ minLength: number;
99308
+ type: string;
99309
+ };
99310
+ access_token?: never;
99311
+ client?: never;
99312
+ client_token?: never;
99313
+ enterprise_id?: never;
99314
+ enterprise_ids?: never;
99315
+ is_demo?: never;
99316
+ client_id?: never;
99317
+ client_password?: never;
99318
+ property_id?: never;
99319
+ refresh_token?: never;
99320
+ base_api_url?: never;
99090
99321
  };
99091
99322
  required: string[];
99092
99323
  type: string;
@@ -147925,6 +148156,44 @@ type Routes = {
147925
148156
  device_ids: string[];
147926
148157
  /** IDs of all ACS entrances currently attached to the space. */
147927
148158
  acs_entrance_ids: string[];
148159
+ } | {
148160
+ /** ID of the event. */
148161
+ event_id: string;
148162
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
148163
+ workspace_id: string;
148164
+ /** Date and time at which the event was created. */
148165
+ created_at: string;
148166
+ /** Date and time at which the event occurred. */
148167
+ occurred_at: string;
148168
+ /** ID of the affected space. */
148169
+ space_id: string;
148170
+ /** Type of the event. */
148171
+ event_type: 'space.created';
148172
+ /** Unique key for the space within the workspace. */
148173
+ space_key?: string | undefined;
148174
+ /** IDs of all devices attached to the space when it was created. */
148175
+ device_ids: string[];
148176
+ /** IDs of all ACS entrances attached to the space when it was created. */
148177
+ acs_entrance_ids: string[];
148178
+ } | {
148179
+ /** ID of the event. */
148180
+ event_id: string;
148181
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
148182
+ workspace_id: string;
148183
+ /** Date and time at which the event was created. */
148184
+ created_at: string;
148185
+ /** Date and time at which the event occurred. */
148186
+ occurred_at: string;
148187
+ /** ID of the affected space. */
148188
+ space_id: string;
148189
+ /** Type of the event. */
148190
+ event_type: 'space.deleted';
148191
+ /** Unique key for the space within the workspace. */
148192
+ space_key?: string | undefined;
148193
+ /** IDs of all devices attached to the space when it was deleted. */
148194
+ device_ids: string[];
148195
+ /** IDs of all ACS entrances currently attached to the space when it was deleted. */
148196
+ acs_entrance_ids: string[];
147928
148197
  }) | undefined;
147929
148198
  message?: string | undefined;
147930
148199
  };
@@ -147957,9 +148226,9 @@ type Routes = {
147957
148226
  /** IDs of the access codes for which you want to list events. */
147958
148227
  access_code_ids?: string[] | undefined;
147959
148228
  /** 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;
148229
+ 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
148230
  /** 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;
148231
+ 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
148232
  /** ID of the connected account for which you want to list events. */
147964
148233
  connected_account_id?: string | undefined;
147965
148234
  /** ID of the Connect Webview for which you want to list events. */
@@ -149923,6 +150192,44 @@ type Routes = {
149923
150192
  device_ids: string[];
149924
150193
  /** IDs of all ACS entrances currently attached to the space. */
149925
150194
  acs_entrance_ids: string[];
150195
+ } | {
150196
+ /** ID of the event. */
150197
+ event_id: string;
150198
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
150199
+ workspace_id: string;
150200
+ /** Date and time at which the event was created. */
150201
+ created_at: string;
150202
+ /** Date and time at which the event occurred. */
150203
+ occurred_at: string;
150204
+ /** ID of the affected space. */
150205
+ space_id: string;
150206
+ /** Type of the event. */
150207
+ event_type: 'space.created';
150208
+ /** Unique key for the space within the workspace. */
150209
+ space_key?: string | undefined;
150210
+ /** IDs of all devices attached to the space when it was created. */
150211
+ device_ids: string[];
150212
+ /** IDs of all ACS entrances attached to the space when it was created. */
150213
+ acs_entrance_ids: string[];
150214
+ } | {
150215
+ /** ID of the event. */
150216
+ event_id: string;
150217
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
150218
+ workspace_id: string;
150219
+ /** Date and time at which the event was created. */
150220
+ created_at: string;
150221
+ /** Date and time at which the event occurred. */
150222
+ occurred_at: string;
150223
+ /** ID of the affected space. */
150224
+ space_id: string;
150225
+ /** Type of the event. */
150226
+ event_type: 'space.deleted';
150227
+ /** Unique key for the space within the workspace. */
150228
+ space_key?: string | undefined;
150229
+ /** IDs of all devices attached to the space when it was deleted. */
150230
+ device_ids: string[];
150231
+ /** IDs of all ACS entrances currently attached to the space when it was deleted. */
150232
+ acs_entrance_ids: string[];
149926
150233
  })[];
149927
150234
  };
149928
150235
  maxDuration: undefined;
@@ -167769,6 +168076,18 @@ type Routes = {
167769
168076
  api_key: string;
167770
168077
  /** Optional base API URL (defaults to https://api.smoobu.com/api) */
167771
168078
  base_api_url?: string | undefined;
168079
+ } | {
168080
+ /** Zonal API key for X-API-Key header (required) */
168081
+ api_key: string;
168082
+ /** Zonal ID used as 'token' in login request body (required) */
168083
+ id: string;
168084
+ /** Zonal Secret for login request body (required) */
168085
+ secret: string;
168086
+ /** Optional hotel ID for single-property mode */
168087
+ hotel_id?: string | undefined;
168088
+ /** Use staging API instead of production */
168089
+ is_staging?: boolean;
168090
+ auth_token?: string | undefined;
167772
168091
  };
167773
168092
  };
167774
168093
  commonParams: {};
@@ -167866,9 +168185,9 @@ type Routes = {
167866
168185
  /** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
167867
168186
  between?: (string | Date)[] | undefined;
167868
168187
  /** 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;
168188
+ 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
168189
  /** 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;
168190
+ 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
168191
  /** Numerical limit on the number of events to return. */
167873
168192
  limit?: number;
167874
168193
  };
@@ -169820,6 +170139,44 @@ type Routes = {
169820
170139
  device_ids: string[];
169821
170140
  /** IDs of all ACS entrances currently attached to the space. */
169822
170141
  acs_entrance_ids: string[];
170142
+ } | {
170143
+ /** ID of the event. */
170144
+ event_id: string;
170145
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
170146
+ workspace_id: string;
170147
+ /** Date and time at which the event was created. */
170148
+ created_at: string;
170149
+ /** Date and time at which the event occurred. */
170150
+ occurred_at: string;
170151
+ /** ID of the affected space. */
170152
+ space_id: string;
170153
+ /** Type of the event. */
170154
+ event_type: 'space.created';
170155
+ /** Unique key for the space within the workspace. */
170156
+ space_key?: string | undefined;
170157
+ /** IDs of all devices attached to the space when it was created. */
170158
+ device_ids: string[];
170159
+ /** IDs of all ACS entrances attached to the space when it was created. */
170160
+ acs_entrance_ids: string[];
170161
+ } | {
170162
+ /** ID of the event. */
170163
+ event_id: string;
170164
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
170165
+ workspace_id: string;
170166
+ /** Date and time at which the event was created. */
170167
+ created_at: string;
170168
+ /** Date and time at which the event occurred. */
170169
+ occurred_at: string;
170170
+ /** ID of the affected space. */
170171
+ space_id: string;
170172
+ /** Type of the event. */
170173
+ event_type: 'space.deleted';
170174
+ /** Unique key for the space within the workspace. */
170175
+ space_key?: string | undefined;
170176
+ /** IDs of all devices attached to the space when it was deleted. */
170177
+ device_ids: string[];
170178
+ /** IDs of all ACS entrances currently attached to the space when it was deleted. */
170179
+ acs_entrance_ids: string[];
169823
170180
  })[];
169824
170181
  };
169825
170182
  maxDuration: undefined;
@@ -198565,6 +198922,44 @@ type Routes = {
198565
198922
  device_ids: string[];
198566
198923
  /** IDs of all ACS entrances currently attached to the space. */
198567
198924
  acs_entrance_ids: string[];
198925
+ } | {
198926
+ /** ID of the event. */
198927
+ event_id: string;
198928
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
198929
+ workspace_id: string;
198930
+ /** Date and time at which the event was created. */
198931
+ created_at: string;
198932
+ /** Date and time at which the event occurred. */
198933
+ occurred_at: string;
198934
+ /** ID of the affected space. */
198935
+ space_id: string;
198936
+ /** Type of the event. */
198937
+ event_type: 'space.created';
198938
+ /** Unique key for the space within the workspace. */
198939
+ space_key?: string | undefined;
198940
+ /** IDs of all devices attached to the space when it was created. */
198941
+ device_ids: string[];
198942
+ /** IDs of all ACS entrances attached to the space when it was created. */
198943
+ acs_entrance_ids: string[];
198944
+ } | {
198945
+ /** ID of the event. */
198946
+ event_id: string;
198947
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
198948
+ workspace_id: string;
198949
+ /** Date and time at which the event was created. */
198950
+ created_at: string;
198951
+ /** Date and time at which the event occurred. */
198952
+ occurred_at: string;
198953
+ /** ID of the affected space. */
198954
+ space_id: string;
198955
+ /** Type of the event. */
198956
+ event_type: 'space.deleted';
198957
+ /** Unique key for the space within the workspace. */
198958
+ space_key?: string | undefined;
198959
+ /** IDs of all devices attached to the space when it was deleted. */
198960
+ device_ids: string[];
198961
+ /** IDs of all ACS entrances currently attached to the space when it was deleted. */
198962
+ acs_entrance_ids: string[];
198568
198963
  })[] | undefined;
198569
198964
  instant_keys?: {
198570
198965
  /** ID of the Instant Key. */