@seamapi/types 1.253.1 → 1.254.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +30 -7
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +138 -2
- package/lib/seam/connect/models/events/devices.d.ts +91 -1
- package/lib/seam/connect/models/events/devices.js +5 -2
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +86 -0
- package/lib/seam/connect/models/thermostats/climate-preset.d.ts +29 -0
- package/lib/seam/connect/models/thermostats/climate-preset.js +8 -0
- package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +32 -0
- package/lib/seam/connect/openapi.js +13 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +20 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/devices.ts +5 -2
- package/src/lib/seam/connect/models/thermostats/climate-preset.ts +11 -0
- package/src/lib/seam/connect/openapi.ts +13 -0
- package/src/lib/seam/connect/route-types.ts +22 -0
package/dist/connect.d.cts
CHANGED
|
@@ -9265,6 +9265,92 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
|
|
|
9265
9265
|
workspace_id: z.ZodString;
|
|
9266
9266
|
created_at: z.ZodString;
|
|
9267
9267
|
occurred_at: z.ZodString;
|
|
9268
|
+
}, {
|
|
9269
|
+
device_id: z.ZodString;
|
|
9270
|
+
connected_account_id: z.ZodString;
|
|
9271
|
+
}>, {
|
|
9272
|
+
event_type: z.ZodLiteral<"thermostat.climate_preset_activated">;
|
|
9273
|
+
thermostat_schedule_id: z.ZodNullable<z.ZodString>;
|
|
9274
|
+
climate_preset_key: z.ZodString;
|
|
9275
|
+
is_fallback_climate_preset: z.ZodBoolean;
|
|
9276
|
+
}>, "strip", z.ZodTypeAny, {
|
|
9277
|
+
connected_account_id: string;
|
|
9278
|
+
created_at: string;
|
|
9279
|
+
climate_preset_key: string;
|
|
9280
|
+
thermostat_schedule_id: string | null;
|
|
9281
|
+
device_id: string;
|
|
9282
|
+
workspace_id: string;
|
|
9283
|
+
event_id: string;
|
|
9284
|
+
occurred_at: string;
|
|
9285
|
+
event_type: "thermostat.climate_preset_activated";
|
|
9286
|
+
is_fallback_climate_preset: boolean;
|
|
9287
|
+
}, {
|
|
9288
|
+
connected_account_id: string;
|
|
9289
|
+
created_at: string;
|
|
9290
|
+
climate_preset_key: string;
|
|
9291
|
+
thermostat_schedule_id: string | null;
|
|
9292
|
+
device_id: string;
|
|
9293
|
+
workspace_id: string;
|
|
9294
|
+
event_id: string;
|
|
9295
|
+
occurred_at: string;
|
|
9296
|
+
event_type: "thermostat.climate_preset_activated";
|
|
9297
|
+
is_fallback_climate_preset: boolean;
|
|
9298
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
9299
|
+
event_id: z.ZodString;
|
|
9300
|
+
workspace_id: z.ZodString;
|
|
9301
|
+
created_at: z.ZodString;
|
|
9302
|
+
occurred_at: z.ZodString;
|
|
9303
|
+
}, {
|
|
9304
|
+
device_id: z.ZodString;
|
|
9305
|
+
connected_account_id: z.ZodString;
|
|
9306
|
+
}>, {
|
|
9307
|
+
event_type: z.ZodLiteral<"thermostat.manually_adjusted">;
|
|
9308
|
+
}>, Pick<{
|
|
9309
|
+
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
9310
|
+
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
9311
|
+
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
9312
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>>;
|
|
9313
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
9314
|
+
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>>;
|
|
9315
|
+
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
9316
|
+
cooling_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
9317
|
+
heating_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
9318
|
+
cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
9319
|
+
heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
9320
|
+
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
9321
|
+
}, "fan_mode_setting" | "hvac_mode_setting" | "cooling_set_point_celsius" | "heating_set_point_celsius" | "cooling_set_point_fahrenheit" | "heating_set_point_fahrenheit">>, "strip", z.ZodTypeAny, {
|
|
9322
|
+
connected_account_id: string;
|
|
9323
|
+
created_at: string;
|
|
9324
|
+
device_id: string;
|
|
9325
|
+
workspace_id: string;
|
|
9326
|
+
event_id: string;
|
|
9327
|
+
occurred_at: string;
|
|
9328
|
+
event_type: "thermostat.manually_adjusted";
|
|
9329
|
+
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
9330
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
9331
|
+
cooling_set_point_celsius?: number | undefined;
|
|
9332
|
+
heating_set_point_celsius?: number | undefined;
|
|
9333
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
9334
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
9335
|
+
}, {
|
|
9336
|
+
connected_account_id: string;
|
|
9337
|
+
created_at: string;
|
|
9338
|
+
device_id: string;
|
|
9339
|
+
workspace_id: string;
|
|
9340
|
+
event_id: string;
|
|
9341
|
+
occurred_at: string;
|
|
9342
|
+
event_type: "thermostat.manually_adjusted";
|
|
9343
|
+
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
9344
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
9345
|
+
cooling_set_point_celsius?: number | undefined;
|
|
9346
|
+
heating_set_point_celsius?: number | undefined;
|
|
9347
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
9348
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
9349
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
9350
|
+
event_id: z.ZodString;
|
|
9351
|
+
workspace_id: z.ZodString;
|
|
9352
|
+
created_at: z.ZodString;
|
|
9353
|
+
occurred_at: z.ZodString;
|
|
9268
9354
|
}, {
|
|
9269
9355
|
enrollment_automation_id: z.ZodString;
|
|
9270
9356
|
}>, {
|
|
@@ -12408,6 +12494,17 @@ declare const _default: {
|
|
|
12408
12494
|
format: string;
|
|
12409
12495
|
type: string;
|
|
12410
12496
|
};
|
|
12497
|
+
climate_preset_key: {
|
|
12498
|
+
type: string;
|
|
12499
|
+
};
|
|
12500
|
+
cooling_set_point_celsius: {
|
|
12501
|
+
format: string;
|
|
12502
|
+
type: string;
|
|
12503
|
+
};
|
|
12504
|
+
cooling_set_point_fahrenheit: {
|
|
12505
|
+
format: string;
|
|
12506
|
+
type: string;
|
|
12507
|
+
};
|
|
12411
12508
|
created_at: {
|
|
12412
12509
|
format: string;
|
|
12413
12510
|
type: string;
|
|
@@ -12430,10 +12527,31 @@ declare const _default: {
|
|
|
12430
12527
|
event_type: {
|
|
12431
12528
|
type: string;
|
|
12432
12529
|
};
|
|
12530
|
+
fan_mode_setting: {
|
|
12531
|
+
type: string;
|
|
12532
|
+
};
|
|
12533
|
+
heating_set_point_celsius: {
|
|
12534
|
+
format: string;
|
|
12535
|
+
type: string;
|
|
12536
|
+
};
|
|
12537
|
+
heating_set_point_fahrenheit: {
|
|
12538
|
+
format: string;
|
|
12539
|
+
type: string;
|
|
12540
|
+
};
|
|
12541
|
+
hvac_mode_setting: {
|
|
12542
|
+
type: string;
|
|
12543
|
+
};
|
|
12544
|
+
is_fallback_climate_preset: {
|
|
12545
|
+
type: string;
|
|
12546
|
+
};
|
|
12433
12547
|
occurred_at: {
|
|
12434
12548
|
format: string;
|
|
12435
12549
|
type: string;
|
|
12436
12550
|
};
|
|
12551
|
+
thermostat_schedule_id: {
|
|
12552
|
+
format: string;
|
|
12553
|
+
type: string;
|
|
12554
|
+
};
|
|
12437
12555
|
workspace_id: {
|
|
12438
12556
|
format: string;
|
|
12439
12557
|
type: string;
|
|
@@ -34938,6 +35056,15 @@ interface Routes {
|
|
|
34938
35056
|
created_at: string;
|
|
34939
35057
|
occurred_at: string;
|
|
34940
35058
|
event_description: string;
|
|
35059
|
+
thermostat_schedule_id?: string | undefined;
|
|
35060
|
+
is_fallback_climate_preset?: boolean | undefined;
|
|
35061
|
+
climate_preset_key?: string | undefined;
|
|
35062
|
+
hvac_mode_setting?: string | undefined;
|
|
35063
|
+
fan_mode_setting?: string | undefined;
|
|
35064
|
+
cooling_set_point_celsius?: number | undefined;
|
|
35065
|
+
heating_set_point_celsius?: number | undefined;
|
|
35066
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
35067
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
34941
35068
|
} | undefined;
|
|
34942
35069
|
message?: string | undefined;
|
|
34943
35070
|
};
|
|
@@ -34954,8 +35081,8 @@ interface Routes {
|
|
|
34954
35081
|
device_ids?: string[] | undefined;
|
|
34955
35082
|
access_code_id?: string | undefined;
|
|
34956
35083
|
access_code_ids?: string[] | undefined;
|
|
34957
|
-
event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | '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' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed') | undefined;
|
|
34958
|
-
event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | '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' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed'> | undefined;
|
|
35084
|
+
event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | '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' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted') | undefined;
|
|
35085
|
+
event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | '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' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted'> | undefined;
|
|
34959
35086
|
connected_account_id?: string | undefined;
|
|
34960
35087
|
connect_webview_id?: string | undefined;
|
|
34961
35088
|
limit?: number;
|
|
@@ -34976,6 +35103,15 @@ interface Routes {
|
|
|
34976
35103
|
created_at: string;
|
|
34977
35104
|
occurred_at: string;
|
|
34978
35105
|
event_description: string;
|
|
35106
|
+
thermostat_schedule_id?: string | undefined;
|
|
35107
|
+
is_fallback_climate_preset?: boolean | undefined;
|
|
35108
|
+
climate_preset_key?: string | undefined;
|
|
35109
|
+
hvac_mode_setting?: string | undefined;
|
|
35110
|
+
fan_mode_setting?: string | undefined;
|
|
35111
|
+
cooling_set_point_celsius?: number | undefined;
|
|
35112
|
+
heating_set_point_celsius?: number | undefined;
|
|
35113
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
35114
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
34979
35115
|
}>;
|
|
34980
35116
|
};
|
|
34981
35117
|
};
|
|
@@ -792,7 +792,7 @@ export declare const thermostat_climate_preset_activated_event: z.ZodObject<z.ob
|
|
|
792
792
|
is_fallback_climate_preset: boolean;
|
|
793
793
|
}>;
|
|
794
794
|
export type ThermostatClimatePresetActivatedEvent = z.infer<typeof thermostat_climate_preset_activated_event>;
|
|
795
|
-
export declare const thermostat_manually_adjusted_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
795
|
+
export declare const thermostat_manually_adjusted_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
796
796
|
event_id: z.ZodString;
|
|
797
797
|
workspace_id: z.ZodString;
|
|
798
798
|
created_at: z.ZodString;
|
|
@@ -800,6 +800,8 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<z.objectUti
|
|
|
800
800
|
}, {
|
|
801
801
|
device_id: z.ZodString;
|
|
802
802
|
connected_account_id: z.ZodString;
|
|
803
|
+
}>, {
|
|
804
|
+
event_type: z.ZodLiteral<"thermostat.manually_adjusted">;
|
|
803
805
|
}>, Pick<{
|
|
804
806
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
805
807
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -820,6 +822,7 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<z.objectUti
|
|
|
820
822
|
workspace_id: string;
|
|
821
823
|
event_id: string;
|
|
822
824
|
occurred_at: string;
|
|
825
|
+
event_type: "thermostat.manually_adjusted";
|
|
823
826
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
824
827
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
825
828
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -833,6 +836,7 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<z.objectUti
|
|
|
833
836
|
workspace_id: string;
|
|
834
837
|
event_id: string;
|
|
835
838
|
occurred_at: string;
|
|
839
|
+
event_type: "thermostat.manually_adjusted";
|
|
836
840
|
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
837
841
|
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
838
842
|
cooling_set_point_celsius?: number | undefined;
|
|
@@ -1545,4 +1549,90 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1545
1549
|
occurred_at: string;
|
|
1546
1550
|
event_type: "lock.access_denied";
|
|
1547
1551
|
access_code_id?: string | undefined;
|
|
1552
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1553
|
+
event_id: z.ZodString;
|
|
1554
|
+
workspace_id: z.ZodString;
|
|
1555
|
+
created_at: z.ZodString;
|
|
1556
|
+
occurred_at: z.ZodString;
|
|
1557
|
+
}, {
|
|
1558
|
+
device_id: z.ZodString;
|
|
1559
|
+
connected_account_id: z.ZodString;
|
|
1560
|
+
}>, {
|
|
1561
|
+
event_type: z.ZodLiteral<"thermostat.climate_preset_activated">;
|
|
1562
|
+
thermostat_schedule_id: z.ZodNullable<z.ZodString>;
|
|
1563
|
+
climate_preset_key: z.ZodString;
|
|
1564
|
+
is_fallback_climate_preset: z.ZodBoolean;
|
|
1565
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1566
|
+
connected_account_id: string;
|
|
1567
|
+
created_at: string;
|
|
1568
|
+
climate_preset_key: string;
|
|
1569
|
+
thermostat_schedule_id: string | null;
|
|
1570
|
+
device_id: string;
|
|
1571
|
+
workspace_id: string;
|
|
1572
|
+
event_id: string;
|
|
1573
|
+
occurred_at: string;
|
|
1574
|
+
event_type: "thermostat.climate_preset_activated";
|
|
1575
|
+
is_fallback_climate_preset: boolean;
|
|
1576
|
+
}, {
|
|
1577
|
+
connected_account_id: string;
|
|
1578
|
+
created_at: string;
|
|
1579
|
+
climate_preset_key: string;
|
|
1580
|
+
thermostat_schedule_id: string | null;
|
|
1581
|
+
device_id: string;
|
|
1582
|
+
workspace_id: string;
|
|
1583
|
+
event_id: string;
|
|
1584
|
+
occurred_at: string;
|
|
1585
|
+
event_type: "thermostat.climate_preset_activated";
|
|
1586
|
+
is_fallback_climate_preset: boolean;
|
|
1587
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1588
|
+
event_id: z.ZodString;
|
|
1589
|
+
workspace_id: z.ZodString;
|
|
1590
|
+
created_at: z.ZodString;
|
|
1591
|
+
occurred_at: z.ZodString;
|
|
1592
|
+
}, {
|
|
1593
|
+
device_id: z.ZodString;
|
|
1594
|
+
connected_account_id: z.ZodString;
|
|
1595
|
+
}>, {
|
|
1596
|
+
event_type: z.ZodLiteral<"thermostat.manually_adjusted">;
|
|
1597
|
+
}>, Pick<{
|
|
1598
|
+
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
1599
|
+
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
1600
|
+
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
1601
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>>;
|
|
1602
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
1603
|
+
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>>;
|
|
1604
|
+
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
1605
|
+
cooling_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1606
|
+
heating_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1607
|
+
cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1608
|
+
heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1609
|
+
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
1610
|
+
}, "fan_mode_setting" | "hvac_mode_setting" | "cooling_set_point_celsius" | "heating_set_point_celsius" | "cooling_set_point_fahrenheit" | "heating_set_point_fahrenheit">>, "strip", z.ZodTypeAny, {
|
|
1611
|
+
connected_account_id: string;
|
|
1612
|
+
created_at: string;
|
|
1613
|
+
device_id: string;
|
|
1614
|
+
workspace_id: string;
|
|
1615
|
+
event_id: string;
|
|
1616
|
+
occurred_at: string;
|
|
1617
|
+
event_type: "thermostat.manually_adjusted";
|
|
1618
|
+
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
1619
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1620
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1621
|
+
heating_set_point_celsius?: number | undefined;
|
|
1622
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1623
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1624
|
+
}, {
|
|
1625
|
+
connected_account_id: string;
|
|
1626
|
+
created_at: string;
|
|
1627
|
+
device_id: string;
|
|
1628
|
+
workspace_id: string;
|
|
1629
|
+
event_id: string;
|
|
1630
|
+
occurred_at: string;
|
|
1631
|
+
event_type: "thermostat.manually_adjusted";
|
|
1632
|
+
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
1633
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1634
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1635
|
+
heating_set_point_celsius?: number | undefined;
|
|
1636
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1637
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1548
1638
|
}>];
|
|
@@ -213,6 +213,9 @@ export const thermostat_climate_preset_activated_event = device_event
|
|
|
213
213
|
})
|
|
214
214
|
.describe('A thermostat climate preset was activated.');
|
|
215
215
|
export const thermostat_manually_adjusted_event = device_event
|
|
216
|
+
.extend({
|
|
217
|
+
event_type: z.literal('thermostat.manually_adjusted'),
|
|
218
|
+
})
|
|
216
219
|
.merge(climate_setting.pick({
|
|
217
220
|
fan_mode_setting: true,
|
|
218
221
|
hvac_mode_setting: true,
|
|
@@ -248,7 +251,7 @@ export const device_events = [
|
|
|
248
251
|
lock_locked_event,
|
|
249
252
|
lock_unlocked_event,
|
|
250
253
|
lock_access_denied_event,
|
|
251
|
-
|
|
252
|
-
|
|
254
|
+
thermostat_climate_preset_activated_event,
|
|
255
|
+
thermostat_manually_adjusted_event,
|
|
253
256
|
];
|
|
254
257
|
//# sourceMappingURL=devices.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"devices.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/devices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,YAAY,GAAG,YAAY,CAAC,MAAM,CAAC;IACvC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC;;;;;GAKrC,CAAC;IACF,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC;;;;;GAKhD,CAAC;CACH,CAAC,CAAA;AAEF,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;;;;;CAKvD,CAAC,CAAA;AAEF,MAAM,qBAAqB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;KACtE,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA;AAEF,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IACtC,sBAAsB;IACtB,kBAAkB;IAClB,qBAAqB;CACtB,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,WAAW,GAA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EAAE,IAAI;IACvB,yBAAyB,EAAE,IAAI;IAC/B,yBAAyB,EAAE,IAAI;IAC/B,4BAA4B,EAAE,IAAI;IAClC,4BAA4B,EAAE,IAAI;CACnC,CAAC,CACH;KACA,QAAQ,CAAC,qCAAqC,CAAC,CAAA;AAMlD,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,sBAAsB;IACtB,mCAAmC;IACnC,2CAA2C;IAC3C,gCAAgC;IAChC,yBAAyB;IACzB,mCAAmC;IACnC,qBAAqB;IACrB,wBAAwB;IACxB,mCAAmC;IACnC,oBAAoB;IACpB,oBAAoB;IACpB,6CAA6C;IAC7C,uDAAuD;IACvD,yCAAyC;IACzC,2CAA2C;IAC3C,oCAAoC;IACpC,kCAAkC;IAClC,wCAAwC;IACxC,iDAAiD;IACjD,uCAAuC;IACvC,0CAA0C;IAC1C,4CAA4C;IAC5C,iBAAiB;IACjB,mBAAmB;IACnB,wBAAwB;IACxB,yCAAyC;IACzC,kCAAkC;CAC1B,CAAA"}
|
|
@@ -1567,6 +1567,92 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
|
|
|
1567
1567
|
workspace_id: z.ZodString;
|
|
1568
1568
|
created_at: z.ZodString;
|
|
1569
1569
|
occurred_at: z.ZodString;
|
|
1570
|
+
}, {
|
|
1571
|
+
device_id: z.ZodString;
|
|
1572
|
+
connected_account_id: z.ZodString;
|
|
1573
|
+
}>, {
|
|
1574
|
+
event_type: z.ZodLiteral<"thermostat.climate_preset_activated">;
|
|
1575
|
+
thermostat_schedule_id: z.ZodNullable<z.ZodString>;
|
|
1576
|
+
climate_preset_key: z.ZodString;
|
|
1577
|
+
is_fallback_climate_preset: z.ZodBoolean;
|
|
1578
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1579
|
+
connected_account_id: string;
|
|
1580
|
+
created_at: string;
|
|
1581
|
+
climate_preset_key: string;
|
|
1582
|
+
thermostat_schedule_id: string | null;
|
|
1583
|
+
device_id: string;
|
|
1584
|
+
workspace_id: string;
|
|
1585
|
+
event_id: string;
|
|
1586
|
+
occurred_at: string;
|
|
1587
|
+
event_type: "thermostat.climate_preset_activated";
|
|
1588
|
+
is_fallback_climate_preset: boolean;
|
|
1589
|
+
}, {
|
|
1590
|
+
connected_account_id: string;
|
|
1591
|
+
created_at: string;
|
|
1592
|
+
climate_preset_key: string;
|
|
1593
|
+
thermostat_schedule_id: string | null;
|
|
1594
|
+
device_id: string;
|
|
1595
|
+
workspace_id: string;
|
|
1596
|
+
event_id: string;
|
|
1597
|
+
occurred_at: string;
|
|
1598
|
+
event_type: "thermostat.climate_preset_activated";
|
|
1599
|
+
is_fallback_climate_preset: boolean;
|
|
1600
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1601
|
+
event_id: z.ZodString;
|
|
1602
|
+
workspace_id: z.ZodString;
|
|
1603
|
+
created_at: z.ZodString;
|
|
1604
|
+
occurred_at: z.ZodString;
|
|
1605
|
+
}, {
|
|
1606
|
+
device_id: z.ZodString;
|
|
1607
|
+
connected_account_id: z.ZodString;
|
|
1608
|
+
}>, {
|
|
1609
|
+
event_type: z.ZodLiteral<"thermostat.manually_adjusted">;
|
|
1610
|
+
}>, Pick<{
|
|
1611
|
+
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
1612
|
+
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
1613
|
+
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
1614
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>>;
|
|
1615
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
1616
|
+
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>>;
|
|
1617
|
+
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
1618
|
+
cooling_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1619
|
+
heating_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1620
|
+
cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1621
|
+
heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1622
|
+
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
1623
|
+
}, "fan_mode_setting" | "hvac_mode_setting" | "cooling_set_point_celsius" | "heating_set_point_celsius" | "cooling_set_point_fahrenheit" | "heating_set_point_fahrenheit">>, "strip", z.ZodTypeAny, {
|
|
1624
|
+
connected_account_id: string;
|
|
1625
|
+
created_at: string;
|
|
1626
|
+
device_id: string;
|
|
1627
|
+
workspace_id: string;
|
|
1628
|
+
event_id: string;
|
|
1629
|
+
occurred_at: string;
|
|
1630
|
+
event_type: "thermostat.manually_adjusted";
|
|
1631
|
+
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
1632
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1633
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1634
|
+
heating_set_point_celsius?: number | undefined;
|
|
1635
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1636
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1637
|
+
}, {
|
|
1638
|
+
connected_account_id: string;
|
|
1639
|
+
created_at: string;
|
|
1640
|
+
device_id: string;
|
|
1641
|
+
workspace_id: string;
|
|
1642
|
+
event_id: string;
|
|
1643
|
+
occurred_at: string;
|
|
1644
|
+
event_type: "thermostat.manually_adjusted";
|
|
1645
|
+
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
1646
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1647
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1648
|
+
heating_set_point_celsius?: number | undefined;
|
|
1649
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1650
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1651
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1652
|
+
event_id: z.ZodString;
|
|
1653
|
+
workspace_id: z.ZodString;
|
|
1654
|
+
created_at: z.ZodString;
|
|
1655
|
+
occurred_at: z.ZodString;
|
|
1570
1656
|
}, {
|
|
1571
1657
|
enrollment_automation_id: z.ZodString;
|
|
1572
1658
|
}>, {
|
|
@@ -81,3 +81,32 @@ export declare const climate_setting: z.ZodObject<{
|
|
|
81
81
|
manual_override_allowed?: boolean | undefined;
|
|
82
82
|
}>;
|
|
83
83
|
export type ClimateSetting = z.infer<typeof climate_setting>;
|
|
84
|
+
export declare const climate_setting_manual: z.ZodObject<Pick<{
|
|
85
|
+
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
86
|
+
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
87
|
+
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>>;
|
|
89
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
90
|
+
fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>>;
|
|
91
|
+
hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
|
|
92
|
+
cooling_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
93
|
+
heating_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
94
|
+
cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
95
|
+
heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
96
|
+
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
97
|
+
}, "fan_mode_setting" | "hvac_mode_setting" | "cooling_set_point_celsius" | "heating_set_point_celsius" | "cooling_set_point_fahrenheit" | "heating_set_point_fahrenheit">, "strip", z.ZodTypeAny, {
|
|
98
|
+
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
99
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
100
|
+
cooling_set_point_celsius?: number | undefined;
|
|
101
|
+
heating_set_point_celsius?: number | undefined;
|
|
102
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
103
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
104
|
+
}, {
|
|
105
|
+
fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
|
|
106
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
107
|
+
cooling_set_point_celsius?: number | undefined;
|
|
108
|
+
heating_set_point_celsius?: number | undefined;
|
|
109
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
110
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
111
|
+
}>;
|
|
112
|
+
export type ClimateSettingManual = z.infer<typeof climate_setting_manual>;
|
|
@@ -15,4 +15,12 @@ export const climate_preset = z.object({
|
|
|
15
15
|
manual_override_allowed: z.boolean(),
|
|
16
16
|
});
|
|
17
17
|
export const climate_setting = climate_preset.partial();
|
|
18
|
+
export const climate_setting_manual = climate_setting.pick({
|
|
19
|
+
fan_mode_setting: true,
|
|
20
|
+
hvac_mode_setting: true,
|
|
21
|
+
cooling_set_point_celsius: true,
|
|
22
|
+
heating_set_point_celsius: true,
|
|
23
|
+
cooling_set_point_fahrenheit: true,
|
|
24
|
+
heating_set_point_fahrenheit: true,
|
|
25
|
+
});
|
|
18
26
|
//# sourceMappingURL=climate-preset.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"climate-preset.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/climate-preset.ts"],"names":[],"mappings":"AAAA,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AAE,CAAC,CAAC,MAAM,EAAE;IAC9B,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE;IACrB,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;IACpD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,gBAAgB,EAAE,gBAAgB,CAAC,QAAQ,EAAE;IAC7C,iBAAiB,EAAE,iBAAiB,CAAC,QAAQ,EAAE;IAC/C,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChD,yBAAyB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChD,4BAA4B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnD,4BAA4B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnD,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE;CACrC,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC,OAAO,EAAE,CAAA;AAIvD,MAAM,CAAC,MAAM,sBAAsB,GAAG,eAAe,CAAC,IAAI,CAAC;IACzD,gBAAgB,EAAE,IAAI;IACtB,iBAAiB,EAAE,IAAI;IACvB,yBAAyB,EAAE,IAAI;IAC/B,yBAAyB,EAAE,IAAI;IAC/B,4BAA4B,EAAE,IAAI;IAClC,4BAA4B,EAAE,IAAI;CACnC,CAAC,CAAA"}
|
|
@@ -2939,6 +2939,17 @@ declare const _default: {
|
|
|
2939
2939
|
format: string;
|
|
2940
2940
|
type: string;
|
|
2941
2941
|
};
|
|
2942
|
+
climate_preset_key: {
|
|
2943
|
+
type: string;
|
|
2944
|
+
};
|
|
2945
|
+
cooling_set_point_celsius: {
|
|
2946
|
+
format: string;
|
|
2947
|
+
type: string;
|
|
2948
|
+
};
|
|
2949
|
+
cooling_set_point_fahrenheit: {
|
|
2950
|
+
format: string;
|
|
2951
|
+
type: string;
|
|
2952
|
+
};
|
|
2942
2953
|
created_at: {
|
|
2943
2954
|
format: string;
|
|
2944
2955
|
type: string;
|
|
@@ -2961,10 +2972,31 @@ declare const _default: {
|
|
|
2961
2972
|
event_type: {
|
|
2962
2973
|
type: string;
|
|
2963
2974
|
};
|
|
2975
|
+
fan_mode_setting: {
|
|
2976
|
+
type: string;
|
|
2977
|
+
};
|
|
2978
|
+
heating_set_point_celsius: {
|
|
2979
|
+
format: string;
|
|
2980
|
+
type: string;
|
|
2981
|
+
};
|
|
2982
|
+
heating_set_point_fahrenheit: {
|
|
2983
|
+
format: string;
|
|
2984
|
+
type: string;
|
|
2985
|
+
};
|
|
2986
|
+
hvac_mode_setting: {
|
|
2987
|
+
type: string;
|
|
2988
|
+
};
|
|
2989
|
+
is_fallback_climate_preset: {
|
|
2990
|
+
type: string;
|
|
2991
|
+
};
|
|
2964
2992
|
occurred_at: {
|
|
2965
2993
|
format: string;
|
|
2966
2994
|
type: string;
|
|
2967
2995
|
};
|
|
2996
|
+
thermostat_schedule_id: {
|
|
2997
|
+
format: string;
|
|
2998
|
+
type: string;
|
|
2999
|
+
};
|
|
2968
3000
|
workspace_id: {
|
|
2969
3001
|
format: string;
|
|
2970
3002
|
type: string;
|
|
@@ -3715,13 +3715,22 @@ export default {
|
|
|
3715
3715
|
acs_user_id: { format: 'uuid', type: 'string' },
|
|
3716
3716
|
action_attempt_id: { format: 'uuid', type: 'string' },
|
|
3717
3717
|
client_session_id: { format: 'uuid', type: 'string' },
|
|
3718
|
+
climate_preset_key: { type: 'string' },
|
|
3719
|
+
cooling_set_point_celsius: { format: 'float', type: 'number' },
|
|
3720
|
+
cooling_set_point_fahrenheit: { format: 'float', type: 'number' },
|
|
3718
3721
|
created_at: { format: 'date-time', type: 'string' },
|
|
3719
3722
|
device_id: { format: 'uuid', type: 'string' },
|
|
3720
3723
|
enrollment_automation_id: { format: 'uuid', type: 'string' },
|
|
3721
3724
|
event_description: { type: 'string' },
|
|
3722
3725
|
event_id: { format: 'uuid', type: 'string' },
|
|
3723
3726
|
event_type: { type: 'string' },
|
|
3727
|
+
fan_mode_setting: { type: 'string' },
|
|
3728
|
+
heating_set_point_celsius: { format: 'float', type: 'number' },
|
|
3729
|
+
heating_set_point_fahrenheit: { format: 'float', type: 'number' },
|
|
3730
|
+
hvac_mode_setting: { type: 'string' },
|
|
3731
|
+
is_fallback_climate_preset: { type: 'boolean' },
|
|
3724
3732
|
occurred_at: { format: 'date-time', type: 'string' },
|
|
3733
|
+
thermostat_schedule_id: { format: 'uuid', type: 'string' },
|
|
3725
3734
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
3726
3735
|
},
|
|
3727
3736
|
required: [
|
|
@@ -11422,6 +11431,8 @@ export default {
|
|
|
11422
11431
|
'action_attempt.lock_door.failed',
|
|
11423
11432
|
'action_attempt.unlock_door.succeeded',
|
|
11424
11433
|
'action_attempt.unlock_door.failed',
|
|
11434
|
+
'thermostat.climate_preset_activated',
|
|
11435
|
+
'thermostat.manually_adjusted',
|
|
11425
11436
|
],
|
|
11426
11437
|
type: 'string',
|
|
11427
11438
|
},
|
|
@@ -11490,6 +11501,8 @@ export default {
|
|
|
11490
11501
|
'action_attempt.lock_door.failed',
|
|
11491
11502
|
'action_attempt.unlock_door.succeeded',
|
|
11492
11503
|
'action_attempt.unlock_door.failed',
|
|
11504
|
+
'thermostat.climate_preset_activated',
|
|
11505
|
+
'thermostat.manually_adjusted',
|
|
11493
11506
|
],
|
|
11494
11507
|
type: 'string',
|
|
11495
11508
|
},
|