@seamapi/types 1.249.0 → 1.251.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.
@@ -8083,40 +8083,65 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
8083
8083
  created_at: z.ZodString;
8084
8084
  occurred_at: z.ZodString;
8085
8085
  }, {
8086
- connected_account_id: z.ZodString;
8086
+ connected_account_id: z.ZodOptional<z.ZodString>;
8087
8087
  acs_system_id: z.ZodString;
8088
8088
  }>, {}>, {
8089
8089
  event_type: z.ZodLiteral<"acs_system.connected">;
8090
8090
  }>, "strip", z.ZodTypeAny, {
8091
- connected_account_id: string;
8092
8091
  created_at: string;
8093
8092
  workspace_id: string;
8094
8093
  acs_system_id: string;
8095
8094
  event_id: string;
8096
8095
  occurred_at: string;
8097
8096
  event_type: "acs_system.connected";
8097
+ connected_account_id?: string | undefined;
8098
8098
  }, {
8099
- connected_account_id: string;
8100
8099
  created_at: string;
8101
8100
  workspace_id: string;
8102
8101
  acs_system_id: string;
8103
8102
  event_id: string;
8104
8103
  occurred_at: string;
8105
8104
  event_type: "acs_system.connected";
8105
+ connected_account_id?: string | undefined;
8106
8106
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8107
8107
  event_id: z.ZodString;
8108
8108
  workspace_id: z.ZodString;
8109
8109
  created_at: z.ZodString;
8110
8110
  occurred_at: z.ZodString;
8111
8111
  }, {
8112
- connected_account_id: z.ZodString;
8112
+ connected_account_id: z.ZodOptional<z.ZodString>;
8113
+ acs_system_id: z.ZodString;
8114
+ }>, {}>, {
8115
+ event_type: z.ZodLiteral<"acs_system.added">;
8116
+ }>, "strip", z.ZodTypeAny, {
8117
+ created_at: string;
8118
+ workspace_id: string;
8119
+ acs_system_id: string;
8120
+ event_id: string;
8121
+ occurred_at: string;
8122
+ event_type: "acs_system.added";
8123
+ connected_account_id?: string | undefined;
8124
+ }, {
8125
+ created_at: string;
8126
+ workspace_id: string;
8127
+ acs_system_id: string;
8128
+ event_id: string;
8129
+ occurred_at: string;
8130
+ event_type: "acs_system.added";
8131
+ connected_account_id?: string | undefined;
8132
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8133
+ event_id: z.ZodString;
8134
+ workspace_id: z.ZodString;
8135
+ created_at: z.ZodString;
8136
+ occurred_at: z.ZodString;
8137
+ }, {
8138
+ connected_account_id: z.ZodOptional<z.ZodString>;
8113
8139
  acs_system_id: z.ZodString;
8114
8140
  }>, {
8115
8141
  acs_credential_id: z.ZodString;
8116
8142
  }>, {
8117
8143
  event_type: z.ZodLiteral<"acs_credential.deleted">;
8118
8144
  }>, "strip", z.ZodTypeAny, {
8119
- connected_account_id: string;
8120
8145
  created_at: string;
8121
8146
  workspace_id: string;
8122
8147
  acs_system_id: string;
@@ -8124,8 +8149,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
8124
8149
  event_id: string;
8125
8150
  occurred_at: string;
8126
8151
  event_type: "acs_credential.deleted";
8152
+ connected_account_id?: string | undefined;
8127
8153
  }, {
8128
- connected_account_id: string;
8129
8154
  created_at: string;
8130
8155
  workspace_id: string;
8131
8156
  acs_system_id: string;
@@ -8133,20 +8158,20 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
8133
8158
  event_id: string;
8134
8159
  occurred_at: string;
8135
8160
  event_type: "acs_credential.deleted";
8161
+ connected_account_id?: string | undefined;
8136
8162
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8137
8163
  event_id: z.ZodString;
8138
8164
  workspace_id: z.ZodString;
8139
8165
  created_at: z.ZodString;
8140
8166
  occurred_at: z.ZodString;
8141
8167
  }, {
8142
- connected_account_id: z.ZodString;
8168
+ connected_account_id: z.ZodOptional<z.ZodString>;
8143
8169
  acs_system_id: z.ZodString;
8144
8170
  }>, {
8145
8171
  acs_user_id: z.ZodString;
8146
8172
  }>, {
8147
8173
  event_type: z.ZodLiteral<"acs_user.deleted">;
8148
8174
  }>, "strip", z.ZodTypeAny, {
8149
- connected_account_id: string;
8150
8175
  created_at: string;
8151
8176
  workspace_id: string;
8152
8177
  acs_system_id: string;
@@ -8154,8 +8179,8 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
8154
8179
  event_id: string;
8155
8180
  occurred_at: string;
8156
8181
  event_type: "acs_user.deleted";
8182
+ connected_account_id?: string | undefined;
8157
8183
  }, {
8158
- connected_account_id: string;
8159
8184
  created_at: string;
8160
8185
  workspace_id: string;
8161
8186
  acs_system_id: string;
@@ -8163,6 +8188,7 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
8163
8188
  event_id: string;
8164
8189
  occurred_at: string;
8165
8190
  event_type: "acs_user.deleted";
8191
+ connected_account_id?: string | undefined;
8166
8192
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8167
8193
  event_id: z.ZodString;
8168
8194
  workspace_id: z.ZodString;
@@ -34048,8 +34074,8 @@ interface Routes {
34048
34074
  device_ids?: string[] | undefined;
34049
34075
  access_code_id?: string | undefined;
34050
34076
  access_code_ids?: string[] | undefined;
34051
- 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.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;
34052
- 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.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;
34077
+ 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;
34078
+ 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;
34053
34079
  connected_account_id?: string | undefined;
34054
34080
  connect_webview_id?: string | undefined;
34055
34081
  limit?: number;
@@ -5,20 +5,20 @@ export declare const common_acs_event: z.ZodObject<z.objectUtil.extendShape<{
5
5
  created_at: z.ZodString;
6
6
  occurred_at: z.ZodString;
7
7
  }, {
8
- connected_account_id: z.ZodString;
8
+ connected_account_id: z.ZodOptional<z.ZodString>;
9
9
  acs_system_id: z.ZodString;
10
10
  }>, "strip", z.ZodTypeAny, {
11
- connected_account_id: string;
12
11
  created_at: string;
13
12
  workspace_id: string;
14
13
  acs_system_id: string;
15
14
  event_id: string;
16
15
  occurred_at: string;
16
+ connected_account_id?: string | undefined;
17
17
  }, {
18
- connected_account_id: string;
19
18
  created_at: string;
20
19
  workspace_id: string;
21
20
  acs_system_id: string;
22
21
  event_id: string;
23
22
  occurred_at: string;
23
+ connected_account_id?: string | undefined;
24
24
  }>;
@@ -1,9 +1,10 @@
1
1
  import { z } from 'zod';
2
2
  import { common_event } from '../common.js';
3
3
  export const common_acs_event = common_event.extend({
4
- connected_account_id: z.string().uuid().describe(`
4
+ connected_account_id: z.string().uuid().optional().describe(`
5
5
  ---
6
6
  title: Connected Account ID
7
+ deprecated: Will be removed.
7
8
  ---
8
9
  ID of the connected account.
9
10
  `),
@@ -1 +1 @@
1
- {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAE3C,MAAM,CAAC,MAAM,gBAAgB,GAAG,YAAY,CAAC,MAAM,CAAC;IAClD,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC;;;;;GAKhD,CAAC;IACF,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC;;;;;GAKzC,CAAC;CACH,CAAC,CAAA"}
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAE3C,MAAM,CAAC,MAAM,gBAAgB,GAAG,YAAY,CAAC,MAAM,CAAC;IAClD,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;;;GAM3D,CAAC;IACF,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC;;;;;GAKzC,CAAC;CACH,CAAC,CAAA"}
@@ -5,14 +5,13 @@ export declare const acs_credential_deleted_event: z.ZodObject<z.objectUtil.exte
5
5
  created_at: z.ZodString;
6
6
  occurred_at: z.ZodString;
7
7
  }, {
8
- connected_account_id: z.ZodString;
8
+ connected_account_id: z.ZodOptional<z.ZodString>;
9
9
  acs_system_id: z.ZodString;
10
10
  }>, {
11
11
  acs_credential_id: z.ZodString;
12
12
  }>, {
13
13
  event_type: z.ZodLiteral<"acs_credential.deleted">;
14
14
  }>, "strip", z.ZodTypeAny, {
15
- connected_account_id: string;
16
15
  created_at: string;
17
16
  workspace_id: string;
18
17
  acs_system_id: string;
@@ -20,8 +19,8 @@ export declare const acs_credential_deleted_event: z.ZodObject<z.objectUtil.exte
20
19
  event_id: string;
21
20
  occurred_at: string;
22
21
  event_type: "acs_credential.deleted";
22
+ connected_account_id?: string | undefined;
23
23
  }, {
24
- connected_account_id: string;
25
24
  created_at: string;
26
25
  workspace_id: string;
27
26
  acs_system_id: string;
@@ -29,6 +28,7 @@ export declare const acs_credential_deleted_event: z.ZodObject<z.objectUtil.exte
29
28
  event_id: string;
30
29
  occurred_at: string;
31
30
  event_type: "acs_credential.deleted";
31
+ connected_account_id?: string | undefined;
32
32
  }>;
33
33
  export type AcsCredentialDeletedEvent = z.infer<typeof acs_credential_deleted_event>;
34
34
  export declare const acs_credential_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -37,14 +37,13 @@ export declare const acs_credential_events: readonly [z.ZodObject<z.objectUtil.e
37
37
  created_at: z.ZodString;
38
38
  occurred_at: z.ZodString;
39
39
  }, {
40
- connected_account_id: z.ZodString;
40
+ connected_account_id: z.ZodOptional<z.ZodString>;
41
41
  acs_system_id: z.ZodString;
42
42
  }>, {
43
43
  acs_credential_id: z.ZodString;
44
44
  }>, {
45
45
  event_type: z.ZodLiteral<"acs_credential.deleted">;
46
46
  }>, "strip", z.ZodTypeAny, {
47
- connected_account_id: string;
48
47
  created_at: string;
49
48
  workspace_id: string;
50
49
  acs_system_id: string;
@@ -52,8 +51,8 @@ export declare const acs_credential_events: readonly [z.ZodObject<z.objectUtil.e
52
51
  event_id: string;
53
52
  occurred_at: string;
54
53
  event_type: "acs_credential.deleted";
54
+ connected_account_id?: string | undefined;
55
55
  }, {
56
- connected_account_id: string;
57
56
  created_at: string;
58
57
  workspace_id: string;
59
58
  acs_system_id: string;
@@ -61,4 +60,5 @@ export declare const acs_credential_events: readonly [z.ZodObject<z.objectUtil.e
61
60
  event_id: string;
62
61
  occurred_at: string;
63
62
  event_type: "acs_credential.deleted";
63
+ connected_account_id?: string | undefined;
64
64
  }>];
@@ -4,40 +4,65 @@ export declare const acs_events: readonly [import("zod").ZodObject<import("zod")
4
4
  created_at: import("zod").ZodString;
5
5
  occurred_at: import("zod").ZodString;
6
6
  }, {
7
- connected_account_id: import("zod").ZodString;
7
+ connected_account_id: import("zod").ZodOptional<import("zod").ZodString>;
8
8
  acs_system_id: import("zod").ZodString;
9
9
  }>, {}>, {
10
10
  event_type: import("zod").ZodLiteral<"acs_system.connected">;
11
11
  }>, "strip", import("zod").ZodTypeAny, {
12
- connected_account_id: string;
13
12
  created_at: string;
14
13
  workspace_id: string;
15
14
  acs_system_id: string;
16
15
  event_id: string;
17
16
  occurred_at: string;
18
17
  event_type: "acs_system.connected";
18
+ connected_account_id?: string | undefined;
19
19
  }, {
20
- connected_account_id: string;
21
20
  created_at: string;
22
21
  workspace_id: string;
23
22
  acs_system_id: string;
24
23
  event_id: string;
25
24
  occurred_at: string;
26
25
  event_type: "acs_system.connected";
26
+ connected_account_id?: string | undefined;
27
27
  }>, import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
28
28
  event_id: import("zod").ZodString;
29
29
  workspace_id: import("zod").ZodString;
30
30
  created_at: import("zod").ZodString;
31
31
  occurred_at: import("zod").ZodString;
32
32
  }, {
33
- connected_account_id: import("zod").ZodString;
33
+ connected_account_id: import("zod").ZodOptional<import("zod").ZodString>;
34
+ acs_system_id: import("zod").ZodString;
35
+ }>, {}>, {
36
+ event_type: import("zod").ZodLiteral<"acs_system.added">;
37
+ }>, "strip", import("zod").ZodTypeAny, {
38
+ created_at: string;
39
+ workspace_id: string;
40
+ acs_system_id: string;
41
+ event_id: string;
42
+ occurred_at: string;
43
+ event_type: "acs_system.added";
44
+ connected_account_id?: string | undefined;
45
+ }, {
46
+ created_at: string;
47
+ workspace_id: string;
48
+ acs_system_id: string;
49
+ event_id: string;
50
+ occurred_at: string;
51
+ event_type: "acs_system.added";
52
+ connected_account_id?: string | undefined;
53
+ }>, import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
54
+ event_id: import("zod").ZodString;
55
+ workspace_id: import("zod").ZodString;
56
+ created_at: import("zod").ZodString;
57
+ occurred_at: import("zod").ZodString;
58
+ }, {
59
+ connected_account_id: import("zod").ZodOptional<import("zod").ZodString>;
34
60
  acs_system_id: import("zod").ZodString;
35
61
  }>, {
36
62
  acs_credential_id: import("zod").ZodString;
37
63
  }>, {
38
64
  event_type: import("zod").ZodLiteral<"acs_credential.deleted">;
39
65
  }>, "strip", import("zod").ZodTypeAny, {
40
- connected_account_id: string;
41
66
  created_at: string;
42
67
  workspace_id: string;
43
68
  acs_system_id: string;
@@ -45,8 +70,8 @@ export declare const acs_events: readonly [import("zod").ZodObject<import("zod")
45
70
  event_id: string;
46
71
  occurred_at: string;
47
72
  event_type: "acs_credential.deleted";
73
+ connected_account_id?: string | undefined;
48
74
  }, {
49
- connected_account_id: string;
50
75
  created_at: string;
51
76
  workspace_id: string;
52
77
  acs_system_id: string;
@@ -54,20 +79,20 @@ export declare const acs_events: readonly [import("zod").ZodObject<import("zod")
54
79
  event_id: string;
55
80
  occurred_at: string;
56
81
  event_type: "acs_credential.deleted";
82
+ connected_account_id?: string | undefined;
57
83
  }>, import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
58
84
  event_id: import("zod").ZodString;
59
85
  workspace_id: import("zod").ZodString;
60
86
  created_at: import("zod").ZodString;
61
87
  occurred_at: import("zod").ZodString;
62
88
  }, {
63
- connected_account_id: import("zod").ZodString;
89
+ connected_account_id: import("zod").ZodOptional<import("zod").ZodString>;
64
90
  acs_system_id: import("zod").ZodString;
65
91
  }>, {
66
92
  acs_user_id: import("zod").ZodString;
67
93
  }>, {
68
94
  event_type: import("zod").ZodLiteral<"acs_user.deleted">;
69
95
  }>, "strip", import("zod").ZodTypeAny, {
70
- connected_account_id: string;
71
96
  created_at: string;
72
97
  workspace_id: string;
73
98
  acs_system_id: string;
@@ -75,8 +100,8 @@ export declare const acs_events: readonly [import("zod").ZodObject<import("zod")
75
100
  event_id: string;
76
101
  occurred_at: string;
77
102
  event_type: "acs_user.deleted";
103
+ connected_account_id?: string | undefined;
78
104
  }, {
79
- connected_account_id: string;
80
105
  created_at: string;
81
106
  workspace_id: string;
82
107
  acs_system_id: string;
@@ -84,4 +109,5 @@ export declare const acs_events: readonly [import("zod").ZodObject<import("zod")
84
109
  event_id: string;
85
110
  occurred_at: string;
86
111
  event_type: "acs_user.deleted";
112
+ connected_account_id?: string | undefined;
87
113
  }>];
@@ -5,52 +5,106 @@ export declare const acs_system_connected_event: z.ZodObject<z.objectUtil.extend
5
5
  created_at: z.ZodString;
6
6
  occurred_at: z.ZodString;
7
7
  }, {
8
- connected_account_id: z.ZodString;
8
+ connected_account_id: z.ZodOptional<z.ZodString>;
9
9
  acs_system_id: z.ZodString;
10
10
  }>, {}>, {
11
11
  event_type: z.ZodLiteral<"acs_system.connected">;
12
12
  }>, "strip", z.ZodTypeAny, {
13
- connected_account_id: string;
14
13
  created_at: string;
15
14
  workspace_id: string;
16
15
  acs_system_id: string;
17
16
  event_id: string;
18
17
  occurred_at: string;
19
18
  event_type: "acs_system.connected";
19
+ connected_account_id?: string | undefined;
20
20
  }, {
21
- connected_account_id: string;
22
21
  created_at: string;
23
22
  workspace_id: string;
24
23
  acs_system_id: string;
25
24
  event_id: string;
26
25
  occurred_at: string;
27
26
  event_type: "acs_system.connected";
27
+ connected_account_id?: string | undefined;
28
28
  }>;
29
29
  export type AcsSystemConnectedEvent = z.infer<typeof acs_system_connected_event>;
30
+ export declare const acs_system_added_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
31
+ event_id: z.ZodString;
32
+ workspace_id: z.ZodString;
33
+ created_at: z.ZodString;
34
+ occurred_at: z.ZodString;
35
+ }, {
36
+ connected_account_id: z.ZodOptional<z.ZodString>;
37
+ acs_system_id: z.ZodString;
38
+ }>, {}>, {
39
+ event_type: z.ZodLiteral<"acs_system.added">;
40
+ }>, "strip", z.ZodTypeAny, {
41
+ created_at: string;
42
+ workspace_id: string;
43
+ acs_system_id: string;
44
+ event_id: string;
45
+ occurred_at: string;
46
+ event_type: "acs_system.added";
47
+ connected_account_id?: string | undefined;
48
+ }, {
49
+ created_at: string;
50
+ workspace_id: string;
51
+ acs_system_id: string;
52
+ event_id: string;
53
+ occurred_at: string;
54
+ event_type: "acs_system.added";
55
+ connected_account_id?: string | undefined;
56
+ }>;
57
+ export type AcsSystemAddedEvent = z.infer<typeof acs_system_added_event>;
30
58
  export declare const acs_system_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
31
59
  event_id: z.ZodString;
32
60
  workspace_id: z.ZodString;
33
61
  created_at: z.ZodString;
34
62
  occurred_at: z.ZodString;
35
63
  }, {
36
- connected_account_id: z.ZodString;
64
+ connected_account_id: z.ZodOptional<z.ZodString>;
37
65
  acs_system_id: z.ZodString;
38
66
  }>, {}>, {
39
67
  event_type: z.ZodLiteral<"acs_system.connected">;
40
68
  }>, "strip", z.ZodTypeAny, {
41
- connected_account_id: string;
42
69
  created_at: string;
43
70
  workspace_id: string;
44
71
  acs_system_id: string;
45
72
  event_id: string;
46
73
  occurred_at: string;
47
74
  event_type: "acs_system.connected";
75
+ connected_account_id?: string | undefined;
48
76
  }, {
49
- connected_account_id: string;
50
77
  created_at: string;
51
78
  workspace_id: string;
52
79
  acs_system_id: string;
53
80
  event_id: string;
54
81
  occurred_at: string;
55
82
  event_type: "acs_system.connected";
83
+ connected_account_id?: string | undefined;
84
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
85
+ event_id: z.ZodString;
86
+ workspace_id: z.ZodString;
87
+ created_at: z.ZodString;
88
+ occurred_at: z.ZodString;
89
+ }, {
90
+ connected_account_id: z.ZodOptional<z.ZodString>;
91
+ acs_system_id: z.ZodString;
92
+ }>, {}>, {
93
+ event_type: z.ZodLiteral<"acs_system.added">;
94
+ }>, "strip", z.ZodTypeAny, {
95
+ created_at: string;
96
+ workspace_id: string;
97
+ acs_system_id: string;
98
+ event_id: string;
99
+ occurred_at: string;
100
+ event_type: "acs_system.added";
101
+ connected_account_id?: string | undefined;
102
+ }, {
103
+ created_at: string;
104
+ workspace_id: string;
105
+ acs_system_id: string;
106
+ event_id: string;
107
+ occurred_at: string;
108
+ event_type: "acs_system.added";
109
+ connected_account_id?: string | undefined;
56
110
  }>];
@@ -6,5 +6,13 @@ export const acs_system_connected_event = acs_system_event
6
6
  event_type: z.literal('acs_system.connected'),
7
7
  })
8
8
  .describe('An ACS system was connected.');
9
- export const acs_system_events = [acs_system_connected_event];
9
+ export const acs_system_added_event = acs_system_event
10
+ .extend({
11
+ event_type: z.literal('acs_system.added'),
12
+ })
13
+ .describe('An ACS system was added.');
14
+ export const acs_system_events = [
15
+ acs_system_connected_event,
16
+ acs_system_added_event,
17
+ ];
10
18
  //# sourceMappingURL=systems.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"systems.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/systems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;AAEpD,MAAM,CAAC,MAAM,0BAA0B,GAAG,gBAAgB;KACvD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;CAC9C,CAAC;KACD,QAAQ,CAAC,8BAA8B,CAAC,CAAA;AAI3C,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,0BAA0B,CAAU,CAAA"}
1
+ {"version":3,"file":"systems.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/systems.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;AAEpD,MAAM,CAAC,MAAM,0BAA0B,GAAG,gBAAgB;KACvD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;CAC9C,CAAC;KACD,QAAQ,CAAC,8BAA8B,CAAC,CAAA;AAI3C,MAAM,CAAC,MAAM,sBAAsB,GAAG,gBAAgB;KACnD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;CAC1C,CAAC;KACD,QAAQ,CAAC,0BAA0B,CAAC,CAAA;AAIvC,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,0BAA0B;IAC1B,sBAAsB;CACd,CAAA"}
@@ -5,14 +5,13 @@ export declare const acs_user_deleted_event: z.ZodObject<z.objectUtil.extendShap
5
5
  created_at: z.ZodString;
6
6
  occurred_at: z.ZodString;
7
7
  }, {
8
- connected_account_id: z.ZodString;
8
+ connected_account_id: z.ZodOptional<z.ZodString>;
9
9
  acs_system_id: z.ZodString;
10
10
  }>, {
11
11
  acs_user_id: z.ZodString;
12
12
  }>, {
13
13
  event_type: z.ZodLiteral<"acs_user.deleted">;
14
14
  }>, "strip", z.ZodTypeAny, {
15
- connected_account_id: string;
16
15
  created_at: string;
17
16
  workspace_id: string;
18
17
  acs_system_id: string;
@@ -20,8 +19,8 @@ export declare const acs_user_deleted_event: z.ZodObject<z.objectUtil.extendShap
20
19
  event_id: string;
21
20
  occurred_at: string;
22
21
  event_type: "acs_user.deleted";
22
+ connected_account_id?: string | undefined;
23
23
  }, {
24
- connected_account_id: string;
25
24
  created_at: string;
26
25
  workspace_id: string;
27
26
  acs_system_id: string;
@@ -29,6 +28,7 @@ export declare const acs_user_deleted_event: z.ZodObject<z.objectUtil.extendShap
29
28
  event_id: string;
30
29
  occurred_at: string;
31
30
  event_type: "acs_user.deleted";
31
+ connected_account_id?: string | undefined;
32
32
  }>;
33
33
  export type AcsUserDeletedEvent = z.infer<typeof acs_user_deleted_event>;
34
34
  export declare const acs_user_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -37,14 +37,13 @@ export declare const acs_user_events: readonly [z.ZodObject<z.objectUtil.extendS
37
37
  created_at: z.ZodString;
38
38
  occurred_at: z.ZodString;
39
39
  }, {
40
- connected_account_id: z.ZodString;
40
+ connected_account_id: z.ZodOptional<z.ZodString>;
41
41
  acs_system_id: z.ZodString;
42
42
  }>, {
43
43
  acs_user_id: z.ZodString;
44
44
  }>, {
45
45
  event_type: z.ZodLiteral<"acs_user.deleted">;
46
46
  }>, "strip", z.ZodTypeAny, {
47
- connected_account_id: string;
48
47
  created_at: string;
49
48
  workspace_id: string;
50
49
  acs_system_id: string;
@@ -52,8 +51,8 @@ export declare const acs_user_events: readonly [z.ZodObject<z.objectUtil.extendS
52
51
  event_id: string;
53
52
  occurred_at: string;
54
53
  event_type: "acs_user.deleted";
54
+ connected_account_id?: string | undefined;
55
55
  }, {
56
- connected_account_id: string;
57
56
  created_at: string;
58
57
  workspace_id: string;
59
58
  acs_system_id: string;
@@ -61,4 +60,5 @@ export declare const acs_user_events: readonly [z.ZodObject<z.objectUtil.extendS
61
60
  event_id: string;
62
61
  occurred_at: string;
63
62
  event_type: "acs_user.deleted";
63
+ connected_account_id?: string | undefined;
64
64
  }>];
@@ -755,6 +755,92 @@ export declare const lock_access_denied_event: z.ZodObject<z.objectUtil.extendSh
755
755
  access_code_id?: string | undefined;
756
756
  }>;
757
757
  export type LockAccessDeniedEvent = z.infer<typeof lock_access_denied_event>;
758
+ export declare const thermostat_climate_preset_activated_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
759
+ event_id: z.ZodString;
760
+ workspace_id: z.ZodString;
761
+ created_at: z.ZodString;
762
+ occurred_at: z.ZodString;
763
+ }, {
764
+ device_id: z.ZodString;
765
+ connected_account_id: z.ZodString;
766
+ }>, {
767
+ event_type: z.ZodLiteral<"thermostat.climate_preset_activated">;
768
+ thermostat_schedule_id: z.ZodNullable<z.ZodString>;
769
+ climate_preset_key: z.ZodString;
770
+ is_fallback_climate_preset: z.ZodBoolean;
771
+ }>, "strip", z.ZodTypeAny, {
772
+ connected_account_id: string;
773
+ created_at: string;
774
+ climate_preset_key: string;
775
+ thermostat_schedule_id: string | null;
776
+ device_id: string;
777
+ workspace_id: string;
778
+ event_id: string;
779
+ occurred_at: string;
780
+ event_type: "thermostat.climate_preset_activated";
781
+ is_fallback_climate_preset: boolean;
782
+ }, {
783
+ connected_account_id: string;
784
+ created_at: string;
785
+ climate_preset_key: string;
786
+ thermostat_schedule_id: string | null;
787
+ device_id: string;
788
+ workspace_id: string;
789
+ event_id: string;
790
+ occurred_at: string;
791
+ event_type: "thermostat.climate_preset_activated";
792
+ is_fallback_climate_preset: boolean;
793
+ }>;
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<{
796
+ event_id: z.ZodString;
797
+ workspace_id: z.ZodString;
798
+ created_at: z.ZodString;
799
+ occurred_at: z.ZodString;
800
+ }, {
801
+ device_id: z.ZodString;
802
+ connected_account_id: z.ZodString;
803
+ }>, Pick<{
804
+ climate_preset_key: z.ZodOptional<z.ZodString>;
805
+ can_edit: z.ZodOptional<z.ZodBoolean>;
806
+ can_delete: z.ZodOptional<z.ZodBoolean>;
807
+ name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
808
+ display_name: z.ZodOptional<z.ZodString>;
809
+ fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>>;
810
+ hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
811
+ cooling_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
812
+ heating_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
813
+ cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
814
+ heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
815
+ manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
816
+ }, "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, {
817
+ connected_account_id: string;
818
+ created_at: string;
819
+ device_id: string;
820
+ workspace_id: string;
821
+ event_id: string;
822
+ occurred_at: string;
823
+ fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
824
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
825
+ cooling_set_point_celsius?: number | undefined;
826
+ heating_set_point_celsius?: number | undefined;
827
+ cooling_set_point_fahrenheit?: number | undefined;
828
+ heating_set_point_fahrenheit?: number | undefined;
829
+ }, {
830
+ connected_account_id: string;
831
+ created_at: string;
832
+ device_id: string;
833
+ workspace_id: string;
834
+ event_id: string;
835
+ occurred_at: string;
836
+ fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
837
+ hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
838
+ cooling_set_point_celsius?: number | undefined;
839
+ heating_set_point_celsius?: number | undefined;
840
+ cooling_set_point_fahrenheit?: number | undefined;
841
+ heating_set_point_fahrenheit?: number | undefined;
842
+ }>;
843
+ export type ThermostatManuallyAdjustedEvent = z.infer<typeof thermostat_manually_adjusted_event>;
758
844
  export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
759
845
  event_id: z.ZodString;
760
846
  workspace_id: z.ZodString;