@seamapi/types 1.1209.2 → 1.1211.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.
@@ -4351,7 +4351,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
4351
4351
  connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
4352
4352
  } & {
4353
4353
  event_type: z.ZodLiteral<"device.disconnected">;
4354
- error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
4354
+ error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected", "bridge_disconnected"]>;
4355
4355
  } & {
4356
4356
  connected_account_errors: z.ZodArray<z.ZodObject<{
4357
4357
  created_at: z.ZodString;
@@ -4409,7 +4409,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
4409
4409
  device_id: string;
4410
4410
  workspace_id: string;
4411
4411
  created_at: string;
4412
- error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
4412
+ error_code: "account_disconnected" | "bridge_disconnected" | "hub_disconnected" | "device_disconnected";
4413
4413
  connected_account_id: string;
4414
4414
  event_id: string;
4415
4415
  occurred_at: string;
@@ -4442,7 +4442,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
4442
4442
  device_id: string;
4443
4443
  workspace_id: string;
4444
4444
  created_at: string;
4445
- error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
4445
+ error_code: "account_disconnected" | "bridge_disconnected" | "hub_disconnected" | "device_disconnected";
4446
4446
  connected_account_id: string;
4447
4447
  event_id: string;
4448
4448
  occurred_at: string;
@@ -4485,7 +4485,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
4485
4485
  connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
4486
4486
  } & {
4487
4487
  event_type: z.ZodLiteral<"device.unmanaged.disconnected">;
4488
- error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
4488
+ error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected", "bridge_disconnected"]>;
4489
4489
  } & {
4490
4490
  connected_account_errors: z.ZodArray<z.ZodObject<{
4491
4491
  created_at: z.ZodString;
@@ -4543,7 +4543,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
4543
4543
  device_id: string;
4544
4544
  workspace_id: string;
4545
4545
  created_at: string;
4546
- error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
4546
+ error_code: "account_disconnected" | "bridge_disconnected" | "hub_disconnected" | "device_disconnected";
4547
4547
  connected_account_id: string;
4548
4548
  event_id: string;
4549
4549
  occurred_at: string;
@@ -4576,7 +4576,7 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
4576
4576
  device_id: string;
4577
4577
  workspace_id: string;
4578
4578
  created_at: string;
4579
- error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
4579
+ error_code: "account_disconnected" | "bridge_disconnected" | "hub_disconnected" | "device_disconnected";
4580
4580
  connected_account_id: string;
4581
4581
  event_id: string;
4582
4582
  occurred_at: string;
@@ -6199,6 +6199,150 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
6199
6199
  customer_key: z.ZodOptional<z.ZodString>;
6200
6200
  device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
6201
6201
  connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
6202
+ } & {
6203
+ event_type: z.ZodLiteral<"pool.temperature_changed">;
6204
+ temperature_celsius: z.ZodNumber;
6205
+ temperature_fahrenheit: z.ZodNumber;
6206
+ }, "strip", z.ZodTypeAny, {
6207
+ device_id: string;
6208
+ workspace_id: string;
6209
+ created_at: string;
6210
+ temperature_fahrenheit: number;
6211
+ temperature_celsius: number;
6212
+ connected_account_id: string;
6213
+ event_id: string;
6214
+ occurred_at: string;
6215
+ event_type: "pool.temperature_changed";
6216
+ customer_key?: string | undefined;
6217
+ event_description?: string | undefined;
6218
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
6219
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
6220
+ }, {
6221
+ device_id: string;
6222
+ workspace_id: string;
6223
+ created_at: string;
6224
+ temperature_fahrenheit: number;
6225
+ temperature_celsius: number;
6226
+ connected_account_id: string;
6227
+ event_id: string;
6228
+ occurred_at: string;
6229
+ event_type: "pool.temperature_changed";
6230
+ customer_key?: string | undefined;
6231
+ event_description?: string | undefined;
6232
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
6233
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
6234
+ }>, z.ZodObject<{
6235
+ event_id: z.ZodString;
6236
+ workspace_id: z.ZodString;
6237
+ created_at: z.ZodString;
6238
+ occurred_at: z.ZodString;
6239
+ event_description: z.ZodOptional<z.ZodString>;
6240
+ } & {
6241
+ device_id: z.ZodString;
6242
+ connected_account_id: z.ZodString;
6243
+ customer_key: z.ZodOptional<z.ZodString>;
6244
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
6245
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
6246
+ } & {
6247
+ event_type: z.ZodLiteral<"pool.temperature_reached_set_point">;
6248
+ temperature_celsius: z.ZodNumber;
6249
+ temperature_fahrenheit: z.ZodNumber;
6250
+ desired_temperature_celsius: z.ZodNumber;
6251
+ desired_temperature_fahrenheit: z.ZodNumber;
6252
+ }, "strip", z.ZodTypeAny, {
6253
+ device_id: string;
6254
+ workspace_id: string;
6255
+ created_at: string;
6256
+ temperature_fahrenheit: number;
6257
+ temperature_celsius: number;
6258
+ connected_account_id: string;
6259
+ event_id: string;
6260
+ occurred_at: string;
6261
+ event_type: "pool.temperature_reached_set_point";
6262
+ desired_temperature_celsius: number;
6263
+ desired_temperature_fahrenheit: number;
6264
+ customer_key?: string | undefined;
6265
+ event_description?: string | undefined;
6266
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
6267
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
6268
+ }, {
6269
+ device_id: string;
6270
+ workspace_id: string;
6271
+ created_at: string;
6272
+ temperature_fahrenheit: number;
6273
+ temperature_celsius: number;
6274
+ connected_account_id: string;
6275
+ event_id: string;
6276
+ occurred_at: string;
6277
+ event_type: "pool.temperature_reached_set_point";
6278
+ desired_temperature_celsius: number;
6279
+ desired_temperature_fahrenheit: number;
6280
+ customer_key?: string | undefined;
6281
+ event_description?: string | undefined;
6282
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
6283
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
6284
+ }>, z.ZodObject<{
6285
+ event_id: z.ZodString;
6286
+ workspace_id: z.ZodString;
6287
+ created_at: z.ZodString;
6288
+ occurred_at: z.ZodString;
6289
+ event_description: z.ZodOptional<z.ZodString>;
6290
+ } & {
6291
+ device_id: z.ZodString;
6292
+ connected_account_id: z.ZodString;
6293
+ customer_key: z.ZodOptional<z.ZodString>;
6294
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
6295
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
6296
+ } & {
6297
+ event_type: z.ZodLiteral<"pool.manually_adjusted">;
6298
+ method: z.ZodEnum<["seam", "external"]>;
6299
+ controller_mode: z.ZodOptional<z.ZodEnum<["heat", "off"]>>;
6300
+ heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
6301
+ heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
6302
+ }, "strip", z.ZodTypeAny, {
6303
+ device_id: string;
6304
+ workspace_id: string;
6305
+ created_at: string;
6306
+ connected_account_id: string;
6307
+ event_id: string;
6308
+ occurred_at: string;
6309
+ event_type: "pool.manually_adjusted";
6310
+ method: "seam" | "external";
6311
+ heating_set_point_celsius?: number | undefined;
6312
+ heating_set_point_fahrenheit?: number | undefined;
6313
+ customer_key?: string | undefined;
6314
+ controller_mode?: "off" | "heat" | undefined;
6315
+ event_description?: string | undefined;
6316
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
6317
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
6318
+ }, {
6319
+ device_id: string;
6320
+ workspace_id: string;
6321
+ created_at: string;
6322
+ connected_account_id: string;
6323
+ event_id: string;
6324
+ occurred_at: string;
6325
+ event_type: "pool.manually_adjusted";
6326
+ method: "seam" | "external";
6327
+ heating_set_point_celsius?: number | undefined;
6328
+ heating_set_point_fahrenheit?: number | undefined;
6329
+ customer_key?: string | undefined;
6330
+ controller_mode?: "off" | "heat" | undefined;
6331
+ event_description?: string | undefined;
6332
+ device_custom_metadata?: Record<string, string | boolean> | undefined;
6333
+ connected_account_custom_metadata?: Record<string, string | boolean> | undefined;
6334
+ }>, z.ZodObject<{
6335
+ event_id: z.ZodString;
6336
+ workspace_id: z.ZodString;
6337
+ created_at: z.ZodString;
6338
+ occurred_at: z.ZodString;
6339
+ event_description: z.ZodOptional<z.ZodString>;
6340
+ } & {
6341
+ device_id: z.ZodString;
6342
+ connected_account_id: z.ZodString;
6343
+ customer_key: z.ZodOptional<z.ZodString>;
6344
+ device_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
6345
+ connected_account_custom_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>>;
6202
6346
  } & {
6203
6347
  event_type: z.ZodLiteral<"device.name_changed">;
6204
6348
  device_name: z.ZodString;
@@ -6490,5 +6634,5 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
6490
6634
  event_description?: string | undefined;
6491
6635
  }>]>;
6492
6636
  export type SeamEvent = z.infer<typeof seam_event>;
6493
- export declare const seam_event_type: z.ZodEnum<["access_code.created" | "access_code.changed" | "access_code.name_changed" | "access_code.code_changed" | "access_code.time_frame_changed" | "access_code.mutations_requested" | "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.issued" | "access_code.delay_in_issuing" | "access_code.failed_to_issue" | "access_code.failed_to_update" | "access_code.failed_to_delete" | "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.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "access_method.created" | "access_method.delay_in_issuing" | "access_method.failed_to_issue" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "action_attempt.simulate_keypad_code_entry.succeeded" | "action_attempt.simulate_keypad_code_entry.failed" | "action_attempt.simulate_manual_lock_via_keypad.succeeded" | "action_attempt.simulate_manual_lock_via_keypad.failed" | "client_session.deleted" | "connect_webview.login_succeeded" | "connect_webview.login_failed" | "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" | "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" | "lock.jammed" | "lock.door_opened" | "lock.door_closed" | "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" | "camera.activated" | "device.doorbell_rang" | "enrollment_automation.deleted" | "phone.deactivated" | "space.device_membership_changed" | "space.created" | "space.deleted", ...("access_code.created" | "access_code.changed" | "access_code.name_changed" | "access_code.code_changed" | "access_code.time_frame_changed" | "access_code.mutations_requested" | "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.issued" | "access_code.delay_in_issuing" | "access_code.failed_to_issue" | "access_code.failed_to_update" | "access_code.failed_to_delete" | "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.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "access_method.created" | "access_method.delay_in_issuing" | "access_method.failed_to_issue" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "action_attempt.simulate_keypad_code_entry.succeeded" | "action_attempt.simulate_keypad_code_entry.failed" | "action_attempt.simulate_manual_lock_via_keypad.succeeded" | "action_attempt.simulate_manual_lock_via_keypad.failed" | "client_session.deleted" | "connect_webview.login_succeeded" | "connect_webview.login_failed" | "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" | "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" | "lock.jammed" | "lock.door_opened" | "lock.door_closed" | "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" | "camera.activated" | "device.doorbell_rang" | "enrollment_automation.deleted" | "phone.deactivated" | "space.device_membership_changed" | "space.created" | "space.deleted")[]]>;
6637
+ export declare const seam_event_type: z.ZodEnum<["access_code.created" | "access_code.changed" | "access_code.name_changed" | "access_code.code_changed" | "access_code.time_frame_changed" | "access_code.mutations_requested" | "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.issued" | "access_code.delay_in_issuing" | "access_code.failed_to_issue" | "access_code.failed_to_update" | "access_code.failed_to_delete" | "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.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "access_method.created" | "access_method.delay_in_issuing" | "access_method.failed_to_issue" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "action_attempt.simulate_keypad_code_entry.succeeded" | "action_attempt.simulate_keypad_code_entry.failed" | "action_attempt.simulate_manual_lock_via_keypad.succeeded" | "action_attempt.simulate_manual_lock_via_keypad.failed" | "client_session.deleted" | "connect_webview.login_succeeded" | "connect_webview.login_failed" | "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" | "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" | "lock.jammed" | "lock.door_opened" | "lock.door_closed" | "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" | "pool.temperature_changed" | "pool.temperature_reached_set_point" | "pool.manually_adjusted" | "device.name_changed" | "camera.activated" | "device.doorbell_rang" | "enrollment_automation.deleted" | "phone.deactivated" | "space.device_membership_changed" | "space.created" | "space.deleted", ...("access_code.created" | "access_code.changed" | "access_code.name_changed" | "access_code.code_changed" | "access_code.time_frame_changed" | "access_code.mutations_requested" | "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.issued" | "access_code.delay_in_issuing" | "access_code.failed_to_issue" | "access_code.failed_to_update" | "access_code.failed_to_delete" | "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.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "access_method.created" | "access_method.delay_in_issuing" | "access_method.failed_to_issue" | "acs_access_group.deleted" | "acs_credential.deleted" | "acs_credential.issued" | "acs_credential.reissued" | "acs_credential.invalidated" | "acs_encoder.added" | "acs_encoder.removed" | "acs_entrance.added" | "acs_entrance.removed" | "acs_system.connected" | "acs_system.disconnected" | "acs_system.added" | "acs_user.deleted" | "acs_user.created" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "action_attempt.simulate_keypad_code_entry.succeeded" | "action_attempt.simulate_keypad_code_entry.failed" | "action_attempt.simulate_manual_lock_via_keypad.succeeded" | "action_attempt.simulate_manual_lock_via_keypad.failed" | "client_session.deleted" | "connect_webview.login_succeeded" | "connect_webview.login_failed" | "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" | "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" | "lock.jammed" | "lock.door_opened" | "lock.door_closed" | "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" | "pool.temperature_changed" | "pool.temperature_reached_set_point" | "pool.manually_adjusted" | "device.name_changed" | "camera.activated" | "device.doorbell_rang" | "enrollment_automation.deleted" | "phone.deactivated" | "space.device_membership_changed" | "space.created" | "space.deleted")[]]>;
6494
6638
  export type SeamEventType = SeamEvent['event_type'];
@@ -26115,6 +26115,7 @@ const openapi = {
26115
26115
  'account_disconnected',
26116
26116
  'hub_disconnected',
26117
26117
  'device_disconnected',
26118
+ 'bridge_disconnected',
26118
26119
  ],
26119
26120
  type: 'string',
26120
26121
  },
@@ -26294,6 +26295,7 @@ const openapi = {
26294
26295
  'account_disconnected',
26295
26296
  'hub_disconnected',
26296
26297
  'device_disconnected',
26298
+ 'bridge_disconnected',
26297
26299
  ],
26298
26300
  type: 'string',
26299
26301
  },
@@ -29043,6 +29045,279 @@ const openapi = {
29043
29045
  type: 'object',
29044
29046
  'x-route-path': '/thermostats',
29045
29047
  },
29048
+ {
29049
+ description: 'The water temperature of a pool or spa changed by at least 1 °C. Seam reports water temperature only while the water is circulating.',
29050
+ properties: {
29051
+ connected_account_custom_metadata: {
29052
+ additionalProperties: {
29053
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
29054
+ },
29055
+ description: 'Custom metadata of the connected account, present when connected_account_id is provided.',
29056
+ type: 'object',
29057
+ },
29058
+ connected_account_id: {
29059
+ description: 'ID of the connected account associated with the event.',
29060
+ format: 'uuid',
29061
+ type: 'string',
29062
+ },
29063
+ created_at: {
29064
+ description: 'Date and time at which the event was created.',
29065
+ format: 'date-time',
29066
+ type: 'string',
29067
+ },
29068
+ customer_key: {
29069
+ description: 'The customer key associated with the device, if any.',
29070
+ type: 'string',
29071
+ },
29072
+ device_custom_metadata: {
29073
+ additionalProperties: {
29074
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
29075
+ },
29076
+ description: 'Custom metadata of the device, present when device_id is provided.',
29077
+ type: 'object',
29078
+ },
29079
+ device_id: {
29080
+ description: 'ID of the affected device.',
29081
+ format: 'uuid',
29082
+ type: 'string',
29083
+ },
29084
+ event_description: {
29085
+ description: 'Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.',
29086
+ type: 'string',
29087
+ },
29088
+ event_id: {
29089
+ description: 'ID of the event.',
29090
+ format: 'uuid',
29091
+ type: 'string',
29092
+ },
29093
+ event_type: {
29094
+ enum: ['pool.temperature_changed'],
29095
+ type: 'string',
29096
+ },
29097
+ occurred_at: {
29098
+ description: 'Date and time at which the event occurred.',
29099
+ format: 'date-time',
29100
+ type: 'string',
29101
+ },
29102
+ temperature_celsius: {
29103
+ description: 'Water temperature, in °C, reported by the affected pool or spa.',
29104
+ format: 'float',
29105
+ type: 'number',
29106
+ },
29107
+ temperature_fahrenheit: {
29108
+ description: 'Water temperature, in °F, reported by the affected pool or spa.',
29109
+ format: 'float',
29110
+ type: 'number',
29111
+ },
29112
+ workspace_id: {
29113
+ description: 'ID of the workspace associated with the event.',
29114
+ format: 'uuid',
29115
+ type: 'string',
29116
+ },
29117
+ },
29118
+ required: [
29119
+ 'event_id',
29120
+ 'workspace_id',
29121
+ 'created_at',
29122
+ 'occurred_at',
29123
+ 'device_id',
29124
+ 'connected_account_id',
29125
+ 'event_type',
29126
+ 'temperature_celsius',
29127
+ 'temperature_fahrenheit',
29128
+ ],
29129
+ type: 'object',
29130
+ 'x-route-path': '/pools',
29131
+ 'x-undocumented': 'Unreleased.',
29132
+ },
29133
+ {
29134
+ description: 'A heated pool or spa reached its heating set point: heating is on and the water temperature is within 1 °C of the set point or above it. Fires again only after the water falls more than 1 °C below the set point or heating is turned off.',
29135
+ properties: {
29136
+ connected_account_custom_metadata: {
29137
+ additionalProperties: {
29138
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
29139
+ },
29140
+ description: 'Custom metadata of the connected account, present when connected_account_id is provided.',
29141
+ type: 'object',
29142
+ },
29143
+ connected_account_id: {
29144
+ description: 'ID of the connected account associated with the event.',
29145
+ format: 'uuid',
29146
+ type: 'string',
29147
+ },
29148
+ created_at: {
29149
+ description: 'Date and time at which the event was created.',
29150
+ format: 'date-time',
29151
+ type: 'string',
29152
+ },
29153
+ customer_key: {
29154
+ description: 'The customer key associated with the device, if any.',
29155
+ type: 'string',
29156
+ },
29157
+ desired_temperature_celsius: {
29158
+ description: 'Desired water temperature, in °C, defined by the heating set point of the affected pool or spa.',
29159
+ format: 'float',
29160
+ type: 'number',
29161
+ },
29162
+ desired_temperature_fahrenheit: {
29163
+ description: 'Desired water temperature, in °F, defined by the heating set point of the affected pool or spa.',
29164
+ format: 'float',
29165
+ type: 'number',
29166
+ },
29167
+ device_custom_metadata: {
29168
+ additionalProperties: {
29169
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
29170
+ },
29171
+ description: 'Custom metadata of the device, present when device_id is provided.',
29172
+ type: 'object',
29173
+ },
29174
+ device_id: {
29175
+ description: 'ID of the affected device.',
29176
+ format: 'uuid',
29177
+ type: 'string',
29178
+ },
29179
+ event_description: {
29180
+ description: 'Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.',
29181
+ type: 'string',
29182
+ },
29183
+ event_id: {
29184
+ description: 'ID of the event.',
29185
+ format: 'uuid',
29186
+ type: 'string',
29187
+ },
29188
+ event_type: {
29189
+ enum: ['pool.temperature_reached_set_point'],
29190
+ type: 'string',
29191
+ },
29192
+ occurred_at: {
29193
+ description: 'Date and time at which the event occurred.',
29194
+ format: 'date-time',
29195
+ type: 'string',
29196
+ },
29197
+ temperature_celsius: {
29198
+ description: 'Water temperature, in °C, reported by the affected pool or spa.',
29199
+ format: 'float',
29200
+ type: 'number',
29201
+ },
29202
+ temperature_fahrenheit: {
29203
+ description: 'Water temperature, in °F, reported by the affected pool or spa.',
29204
+ format: 'float',
29205
+ type: 'number',
29206
+ },
29207
+ workspace_id: {
29208
+ description: 'ID of the workspace associated with the event.',
29209
+ format: 'uuid',
29210
+ type: 'string',
29211
+ },
29212
+ },
29213
+ required: [
29214
+ 'event_id',
29215
+ 'workspace_id',
29216
+ 'created_at',
29217
+ 'occurred_at',
29218
+ 'device_id',
29219
+ 'connected_account_id',
29220
+ 'event_type',
29221
+ 'temperature_celsius',
29222
+ 'temperature_fahrenheit',
29223
+ 'desired_temperature_celsius',
29224
+ 'desired_temperature_fahrenheit',
29225
+ ],
29226
+ type: 'object',
29227
+ 'x-route-path': '/pools',
29228
+ 'x-undocumented': 'Unreleased.',
29229
+ },
29230
+ {
29231
+ description: 'The heating mode or heating set point of a pool or spa changed.',
29232
+ properties: {
29233
+ connected_account_custom_metadata: {
29234
+ additionalProperties: {
29235
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
29236
+ },
29237
+ description: 'Custom metadata of the connected account, present when connected_account_id is provided.',
29238
+ type: 'object',
29239
+ },
29240
+ connected_account_id: {
29241
+ description: 'ID of the connected account associated with the event.',
29242
+ format: 'uuid',
29243
+ type: 'string',
29244
+ },
29245
+ controller_mode: {
29246
+ description: 'New heating mode of the affected pool or spa. Present only if the mode changed.',
29247
+ enum: ['heat', 'off'],
29248
+ type: 'string',
29249
+ },
29250
+ created_at: {
29251
+ description: 'Date and time at which the event was created.',
29252
+ format: 'date-time',
29253
+ type: 'string',
29254
+ },
29255
+ customer_key: {
29256
+ description: 'The customer key associated with the device, if any.',
29257
+ type: 'string',
29258
+ },
29259
+ device_custom_metadata: {
29260
+ additionalProperties: {
29261
+ oneOf: [{ type: 'string' }, { type: 'boolean' }],
29262
+ },
29263
+ description: 'Custom metadata of the device, present when device_id is provided.',
29264
+ type: 'object',
29265
+ },
29266
+ device_id: {
29267
+ description: 'ID of the affected device.',
29268
+ format: 'uuid',
29269
+ type: 'string',
29270
+ },
29271
+ event_description: {
29272
+ description: 'Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.',
29273
+ type: 'string',
29274
+ },
29275
+ event_id: {
29276
+ description: 'ID of the event.',
29277
+ format: 'uuid',
29278
+ type: 'string',
29279
+ },
29280
+ event_type: { enum: ['pool.manually_adjusted'], type: 'string' },
29281
+ heating_set_point_celsius: {
29282
+ description: 'New heating set point, in °C, of the affected pool or spa. Present only if the set point changed.',
29283
+ format: 'float',
29284
+ type: 'number',
29285
+ },
29286
+ heating_set_point_fahrenheit: {
29287
+ description: 'New heating set point, in °F, of the affected pool or spa. Present only if the set point changed.',
29288
+ format: 'float',
29289
+ type: 'number',
29290
+ },
29291
+ method: {
29292
+ description: "Method used to adjust the affected pool or spa. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used. `external` indicates a change made outside Seam, such as in the manufacturer's app or on the controller panel.",
29293
+ enum: ['seam', 'external'],
29294
+ type: 'string',
29295
+ },
29296
+ occurred_at: {
29297
+ description: 'Date and time at which the event occurred.',
29298
+ format: 'date-time',
29299
+ type: 'string',
29300
+ },
29301
+ workspace_id: {
29302
+ description: 'ID of the workspace associated with the event.',
29303
+ format: 'uuid',
29304
+ type: 'string',
29305
+ },
29306
+ },
29307
+ required: [
29308
+ 'event_id',
29309
+ 'workspace_id',
29310
+ 'created_at',
29311
+ 'occurred_at',
29312
+ 'device_id',
29313
+ 'connected_account_id',
29314
+ 'event_type',
29315
+ 'method',
29316
+ ],
29317
+ type: 'object',
29318
+ 'x-route-path': '/pools',
29319
+ 'x-undocumented': 'Unreleased.',
29320
+ },
29046
29321
  {
29047
29322
  description: 'The name of a device was changed.',
29048
29323
  properties: {
@@ -54663,6 +54938,9 @@ const openapi = {
54663
54938
  'thermostat.temperature_threshold_no_longer_exceeded',
54664
54939
  'thermostat.temperature_reached_set_point',
54665
54940
  'thermostat.temperature_changed',
54941
+ 'pool.temperature_changed',
54942
+ 'pool.temperature_reached_set_point',
54943
+ 'pool.manually_adjusted',
54666
54944
  'device.name_changed',
54667
54945
  'camera.activated',
54668
54946
  'device.doorbell_rang',
@@ -54791,6 +55069,9 @@ const openapi = {
54791
55069
  'thermostat.temperature_threshold_no_longer_exceeded',
54792
55070
  'thermostat.temperature_reached_set_point',
54793
55071
  'thermostat.temperature_changed',
55072
+ 'pool.temperature_changed',
55073
+ 'pool.temperature_reached_set_point',
55074
+ 'pool.manually_adjusted',
54794
55075
  'device.name_changed',
54795
55076
  'camera.activated',
54796
55077
  'device.doorbell_rang',
@@ -66661,6 +66942,9 @@ const openapi = {
66661
66942
  'thermostat.temperature_threshold_no_longer_exceeded',
66662
66943
  'thermostat.temperature_reached_set_point',
66663
66944
  'thermostat.temperature_changed',
66945
+ 'pool.temperature_changed',
66946
+ 'pool.temperature_reached_set_point',
66947
+ 'pool.manually_adjusted',
66664
66948
  'device.name_changed',
66665
66949
  'camera.activated',
66666
66950
  'device.doorbell_rang',
@@ -66790,6 +67074,9 @@ const openapi = {
66790
67074
  'thermostat.temperature_threshold_no_longer_exceeded',
66791
67075
  'thermostat.temperature_reached_set_point',
66792
67076
  'thermostat.temperature_changed',
67077
+ 'pool.temperature_changed',
67078
+ 'pool.temperature_reached_set_point',
67079
+ 'pool.manually_adjusted',
66793
67080
  'device.name_changed',
66794
67081
  'camera.activated',
66795
67082
  'device.doorbell_rang',
@@ -70314,6 +70601,9 @@ const openapi = {
70314
70601
  'thermostat.temperature_threshold_no_longer_exceeded',
70315
70602
  'thermostat.temperature_reached_set_point',
70316
70603
  'thermostat.temperature_changed',
70604
+ 'pool.temperature_changed',
70605
+ 'pool.temperature_reached_set_point',
70606
+ 'pool.manually_adjusted',
70317
70607
  'device.name_changed',
70318
70608
  'camera.activated',
70319
70609
  'device.doorbell_rang',
@@ -70520,6 +70810,9 @@ const openapi = {
70520
70810
  'thermostat.temperature_threshold_no_longer_exceeded',
70521
70811
  'thermostat.temperature_reached_set_point',
70522
70812
  'thermostat.temperature_changed',
70813
+ 'pool.temperature_changed',
70814
+ 'pool.temperature_reached_set_point',
70815
+ 'pool.manually_adjusted',
70523
70816
  'device.name_changed',
70524
70817
  'camera.activated',
70525
70818
  'device.doorbell_rang',