@seamapi/types 1.380.1 → 1.382.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.
@@ -18018,6 +18018,36 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18018
18018
  acs_system_id: z.ZodString;
18019
18019
  }>, {
18020
18020
  acs_user_id: z.ZodString;
18021
+ }>, {
18022
+ event_type: z.ZodLiteral<"acs_user.created">;
18023
+ }>, "strip", z.ZodTypeAny, {
18024
+ created_at: string;
18025
+ workspace_id: string;
18026
+ acs_system_id: string;
18027
+ acs_user_id: string;
18028
+ event_id: string;
18029
+ occurred_at: string;
18030
+ event_type: "acs_user.created";
18031
+ connected_account_id?: string | undefined;
18032
+ }, {
18033
+ created_at: string;
18034
+ workspace_id: string;
18035
+ acs_system_id: string;
18036
+ acs_user_id: string;
18037
+ event_id: string;
18038
+ occurred_at: string;
18039
+ event_type: "acs_user.created";
18040
+ connected_account_id?: string | undefined;
18041
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
18042
+ event_id: z.ZodString;
18043
+ workspace_id: z.ZodString;
18044
+ created_at: z.ZodString;
18045
+ occurred_at: z.ZodString;
18046
+ }, {
18047
+ connected_account_id: z.ZodOptional<z.ZodString>;
18048
+ acs_system_id: z.ZodString;
18049
+ }>, {
18050
+ acs_user_id: z.ZodString;
18021
18051
  }>, {
18022
18052
  event_type: z.ZodLiteral<"acs_user.deleted">;
18023
18053
  }>, "strip", z.ZodTypeAny, {
@@ -41537,6 +41567,66 @@ declare const _default: {
41537
41567
  'x-undocumented': string;
41538
41568
  };
41539
41569
  };
41570
+ '/seam/bridge/v1/bridge_client_sessions/report_status': {
41571
+ post: {
41572
+ description: string;
41573
+ operationId: string;
41574
+ requestBody: {
41575
+ content: {
41576
+ 'application/json': {
41577
+ schema: {
41578
+ properties: {
41579
+ is_tailscale_connected: {
41580
+ nullable: boolean;
41581
+ type: string;
41582
+ };
41583
+ tailscale_ip_v4: {
41584
+ nullable: boolean;
41585
+ type: string;
41586
+ };
41587
+ };
41588
+ required: string[];
41589
+ type: string;
41590
+ };
41591
+ };
41592
+ };
41593
+ };
41594
+ responses: {
41595
+ 200: {
41596
+ content: {
41597
+ 'application/json': {
41598
+ schema: {
41599
+ properties: {
41600
+ ok: {
41601
+ type: string;
41602
+ };
41603
+ };
41604
+ required: string[];
41605
+ type: string;
41606
+ };
41607
+ };
41608
+ };
41609
+ description: string;
41610
+ };
41611
+ 400: {
41612
+ description: string;
41613
+ };
41614
+ 401: {
41615
+ description: string;
41616
+ };
41617
+ };
41618
+ security: {
41619
+ bridge_client_session: never[];
41620
+ }[];
41621
+ summary: string;
41622
+ tags: never[];
41623
+ 'x-fern-sdk-group-name': string[];
41624
+ 'x-fern-sdk-method-name': string;
41625
+ 'x-response-key': null;
41626
+ 'x-title': string;
41627
+ 'x-undocumented': string;
41628
+ };
41629
+ };
41540
41630
  '/seam/bridge/v1/bridge_connected_systems/list': {
41541
41631
  get: {
41542
41632
  description: string;
@@ -67076,6 +67166,21 @@ interface Routes {
67076
67166
  acs_system_id: string;
67077
67167
  acs_credential_id: string;
67078
67168
  event_type: 'acs_credential.invalidated';
67169
+ } | {
67170
+ /** ID of the event. */
67171
+ event_id: string;
67172
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
67173
+ workspace_id: string;
67174
+ /** Date and time at which the event was created. */
67175
+ created_at: string;
67176
+ /** Date and time at which the event occurred. */
67177
+ occurred_at: string;
67178
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
67179
+ connected_account_id?: string | undefined;
67180
+ /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
67181
+ acs_system_id: string;
67182
+ acs_user_id: string;
67183
+ event_type: 'acs_user.created';
67079
67184
  } | {
67080
67185
  /** ID of the event. */
67081
67186
  event_id: string;
@@ -67959,8 +68064,8 @@ interface Routes {
67959
68064
  acs_system_ids?: string[] | undefined;
67960
68065
  access_code_id?: string | undefined;
67961
68066
  access_code_ids?: string[] | undefined;
67962
- event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
67963
- event_types?: Array<'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated'> | undefined;
68067
+ event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated') | undefined;
68068
+ event_types?: Array<'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.removed_from_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_set_on_device' | 'access_code.deleted' | 'access_code.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'acs_system.connected' | 'acs_system.added' | 'acs_system.disconnected' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_credential.reissued' | 'acs_credential.invalidated' | 'acs_user.created' | 'acs_user.deleted' | 'acs_encoder.added' | 'acs_encoder.removed' | 'acs_access_group.deleted' | 'acs_entrance.added' | 'acs_entrance.removed' | 'client_session.deleted' | 'connected_account.connected' | 'connected_account.created' | 'connected_account.successful_login' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.deleted' | 'connected_account.completed_first_sync_after_reconnection' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'device.connected' | 'device.added' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.removed' | 'device.deleted' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'noise_sensor.noise_threshold_triggered' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point' | 'thermostat.temperature_changed' | 'device.name_changed' | 'enrollment_automation.deleted' | 'phone.deactivated'> | undefined;
67964
68069
  connected_account_id?: string | undefined;
67965
68070
  connect_webview_id?: string | undefined;
67966
68071
  limit?: number;
@@ -68349,6 +68454,21 @@ interface Routes {
68349
68454
  acs_system_id: string;
68350
68455
  acs_credential_id: string;
68351
68456
  event_type: 'acs_credential.invalidated';
68457
+ } | {
68458
+ /** ID of the event. */
68459
+ event_id: string;
68460
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
68461
+ workspace_id: string;
68462
+ /** Date and time at which the event was created. */
68463
+ created_at: string;
68464
+ /** Date and time at which the event occurred. */
68465
+ occurred_at: string;
68466
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
68467
+ connected_account_id?: string | undefined;
68468
+ /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
68469
+ acs_system_id: string;
68470
+ acs_user_id: string;
68471
+ event_type: 'acs_user.created';
68352
68472
  } | {
68353
68473
  /** ID of the event. */
68354
68474
  event_id: string;
@@ -78805,6 +78925,18 @@ interface Routes {
78805
78925
  };
78806
78926
  };
78807
78927
  };
78928
+ '/seam/bridge/v1/bridge_client_sessions/report_status': {
78929
+ route: '/seam/bridge/v1/bridge_client_sessions/report_status';
78930
+ method: 'POST';
78931
+ queryParams: {};
78932
+ jsonBody: {
78933
+ is_tailscale_connected: boolean | null;
78934
+ tailscale_ip_v4: string | null;
78935
+ };
78936
+ commonParams: {};
78937
+ formData: {};
78938
+ jsonResponse: {};
78939
+ };
78808
78940
  '/seam/bridge/v1/bridge_connected_systems/list': {
78809
78941
  route: '/seam/bridge/v1/bridge_connected_systems/list';
78810
78942
  method: 'GET' | 'POST';
@@ -206,6 +206,36 @@ export declare const acs_events: readonly [import("zod").ZodObject<import("zod")
206
206
  acs_system_id: import("zod").ZodString;
207
207
  }>, {
208
208
  acs_user_id: import("zod").ZodString;
209
+ }>, {
210
+ event_type: import("zod").ZodLiteral<"acs_user.created">;
211
+ }>, "strip", import("zod").ZodTypeAny, {
212
+ created_at: string;
213
+ workspace_id: string;
214
+ acs_system_id: string;
215
+ acs_user_id: string;
216
+ event_id: string;
217
+ occurred_at: string;
218
+ event_type: "acs_user.created";
219
+ connected_account_id?: string | undefined;
220
+ }, {
221
+ created_at: string;
222
+ workspace_id: string;
223
+ acs_system_id: string;
224
+ acs_user_id: string;
225
+ event_id: string;
226
+ occurred_at: string;
227
+ event_type: "acs_user.created";
228
+ connected_account_id?: string | undefined;
229
+ }>, import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
230
+ event_id: import("zod").ZodString;
231
+ workspace_id: import("zod").ZodString;
232
+ created_at: import("zod").ZodString;
233
+ occurred_at: import("zod").ZodString;
234
+ }, {
235
+ connected_account_id: import("zod").ZodOptional<import("zod").ZodString>;
236
+ acs_system_id: import("zod").ZodString;
237
+ }>, {
238
+ acs_user_id: import("zod").ZodString;
209
239
  }>, {
210
240
  event_type: import("zod").ZodLiteral<"acs_user.deleted">;
211
241
  }>, "strip", import("zod").ZodTypeAny, {
@@ -31,6 +31,38 @@ export declare const acs_user_deleted_event: z.ZodObject<z.objectUtil.extendShap
31
31
  connected_account_id?: string | undefined;
32
32
  }>;
33
33
  export type AcsUserDeletedEvent = z.infer<typeof acs_user_deleted_event>;
34
+ export declare const acs_user_created_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
35
+ event_id: z.ZodString;
36
+ workspace_id: z.ZodString;
37
+ created_at: z.ZodString;
38
+ occurred_at: z.ZodString;
39
+ }, {
40
+ connected_account_id: z.ZodOptional<z.ZodString>;
41
+ acs_system_id: z.ZodString;
42
+ }>, {
43
+ acs_user_id: z.ZodString;
44
+ }>, {
45
+ event_type: z.ZodLiteral<"acs_user.created">;
46
+ }>, "strip", z.ZodTypeAny, {
47
+ created_at: string;
48
+ workspace_id: string;
49
+ acs_system_id: string;
50
+ acs_user_id: string;
51
+ event_id: string;
52
+ occurred_at: string;
53
+ event_type: "acs_user.created";
54
+ connected_account_id?: string | undefined;
55
+ }, {
56
+ created_at: string;
57
+ workspace_id: string;
58
+ acs_system_id: string;
59
+ acs_user_id: string;
60
+ event_id: string;
61
+ occurred_at: string;
62
+ event_type: "acs_user.created";
63
+ connected_account_id?: string | undefined;
64
+ }>;
65
+ export type AcsUserCreatedEvent = z.infer<typeof acs_user_created_event>;
34
66
  export declare const acs_user_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
35
67
  event_id: z.ZodString;
36
68
  workspace_id: z.ZodString;
@@ -41,6 +73,36 @@ export declare const acs_user_events: readonly [z.ZodObject<z.objectUtil.extendS
41
73
  acs_system_id: z.ZodString;
42
74
  }>, {
43
75
  acs_user_id: z.ZodString;
76
+ }>, {
77
+ event_type: z.ZodLiteral<"acs_user.created">;
78
+ }>, "strip", z.ZodTypeAny, {
79
+ created_at: string;
80
+ workspace_id: string;
81
+ acs_system_id: string;
82
+ acs_user_id: string;
83
+ event_id: string;
84
+ occurred_at: string;
85
+ event_type: "acs_user.created";
86
+ connected_account_id?: string | undefined;
87
+ }, {
88
+ created_at: string;
89
+ workspace_id: string;
90
+ acs_system_id: string;
91
+ acs_user_id: string;
92
+ event_id: string;
93
+ occurred_at: string;
94
+ event_type: "acs_user.created";
95
+ connected_account_id?: string | undefined;
96
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
97
+ event_id: z.ZodString;
98
+ workspace_id: z.ZodString;
99
+ created_at: z.ZodString;
100
+ occurred_at: z.ZodString;
101
+ }, {
102
+ connected_account_id: z.ZodOptional<z.ZodString>;
103
+ acs_system_id: z.ZodString;
104
+ }>, {
105
+ acs_user_id: z.ZodString;
44
106
  }>, {
45
107
  event_type: z.ZodLiteral<"acs_user.deleted">;
46
108
  }>, "strip", z.ZodTypeAny, {
@@ -13,5 +13,16 @@ export const acs_user_deleted_event = acs_user_event.extend({
13
13
  ---
14
14
  An [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was deleted.
15
15
  `);
16
- export const acs_user_events = [acs_user_deleted_event];
16
+ export const acs_user_created_event = acs_user_event.extend({
17
+ event_type: z.literal('acs_user.created'),
18
+ }).describe(`
19
+ ---
20
+ route_path: /acs/users
21
+ ---
22
+ An [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created.
23
+ `);
24
+ export const acs_user_events = [
25
+ acs_user_created_event,
26
+ acs_user_deleted_event,
27
+ ];
17
28
  //# sourceMappingURL=users.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"users.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/users.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,cAAc,GAAG,gBAAgB;KACpC,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAC/B,CAAC;KACD,QAAQ,CACP,qGAAqG,CACtG,CAAA;AAEH,MAAM,CAAC,MAAM,sBAAsB,GAAG,cAAc,CAAC,MAAM,CAAC;IAC1D,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;CAC1C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAIJ,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,sBAAsB,CAAU,CAAA"}
1
+ {"version":3,"file":"users.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/users.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,cAAc,GAAG,gBAAgB;KACpC,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAC/B,CAAC;KACD,QAAQ,CACP,qGAAqG,CACtG,CAAA;AAEH,MAAM,CAAC,MAAM,sBAAsB,GAAG,cAAc,CAAC,MAAM,CAAC;IAC1D,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;CAC1C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAIJ,MAAM,CAAC,MAAM,sBAAsB,GAAG,cAAc,CAAC,MAAM,CAAC;IAC1D,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;CAC1C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAIJ,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,sBAAsB;IACtB,sBAAsB;CACd,CAAA"}
@@ -712,6 +712,36 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
712
712
  acs_system_id: z.ZodString;
713
713
  }>, {
714
714
  acs_user_id: z.ZodString;
715
+ }>, {
716
+ event_type: z.ZodLiteral<"acs_user.created">;
717
+ }>, "strip", z.ZodTypeAny, {
718
+ created_at: string;
719
+ workspace_id: string;
720
+ acs_system_id: string;
721
+ acs_user_id: string;
722
+ event_id: string;
723
+ occurred_at: string;
724
+ event_type: "acs_user.created";
725
+ connected_account_id?: string | undefined;
726
+ }, {
727
+ created_at: string;
728
+ workspace_id: string;
729
+ acs_system_id: string;
730
+ acs_user_id: string;
731
+ event_id: string;
732
+ occurred_at: string;
733
+ event_type: "acs_user.created";
734
+ connected_account_id?: string | undefined;
735
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
736
+ event_id: z.ZodString;
737
+ workspace_id: z.ZodString;
738
+ created_at: z.ZodString;
739
+ occurred_at: z.ZodString;
740
+ }, {
741
+ connected_account_id: z.ZodOptional<z.ZodString>;
742
+ acs_system_id: z.ZodString;
743
+ }>, {
744
+ acs_user_id: z.ZodString;
715
745
  }>, {
716
746
  event_type: z.ZodLiteral<"acs_user.deleted">;
717
747
  }>, "strip", z.ZodTypeAny, {
@@ -2294,5 +2324,5 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
2294
2324
  event_type: "phone.deactivated";
2295
2325
  }>]>;
2296
2326
  export type SeamEvent = z.infer<typeof seam_event>;
2297
- export declare const seam_event_type: z.ZodEnum<["access_code.created" | "access_code.changed" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "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" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "client_session.deleted" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "device.name_changed" | "enrollment_automation.deleted" | "phone.deactivated" | "connect_webview.login_succeeded" | "connect_webview.login_failed", ...("access_code.created" | "access_code.changed" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "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" | "action_attempt.lock_door.succeeded" | "action_attempt.lock_door.failed" | "action_attempt.unlock_door.succeeded" | "action_attempt.unlock_door.failed" | "client_session.deleted" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "device.name_changed" | "enrollment_automation.deleted" | "phone.deactivated" | "connect_webview.login_succeeded" | "connect_webview.login_failed")[]]>;
2327
+ export declare const seam_event_type: z.ZodEnum<["access_code.created" | "access_code.changed" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "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" | "client_session.deleted" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "device.name_changed" | "enrollment_automation.deleted" | "phone.deactivated" | "connect_webview.login_succeeded" | "connect_webview.login_failed", ...("access_code.created" | "access_code.changed" | "access_code.scheduled_on_device" | "access_code.set_on_device" | "access_code.removed_from_device" | "access_code.delay_in_setting_on_device" | "access_code.failed_to_set_on_device" | "access_code.deleted" | "access_code.delay_in_removing_from_device" | "access_code.failed_to_remove_from_device" | "access_code.modified_external_to_seam" | "access_code.deleted_external_to_seam" | "access_code.backup_access_code_pulled" | "access_code.unmanaged.converted_to_managed" | "access_code.unmanaged.failed_to_convert_to_managed" | "access_code.unmanaged.created" | "access_code.unmanaged.removed" | "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" | "client_session.deleted" | "connected_account.connected" | "connected_account.created" | "connected_account.successful_login" | "connected_account.disconnected" | "connected_account.completed_first_sync" | "connected_account.deleted" | "connected_account.completed_first_sync_after_reconnection" | "device.connected" | "device.added" | "device.converted_to_unmanaged" | "device.unmanaged.converted_to_managed" | "device.unmanaged.connected" | "device.disconnected" | "device.unmanaged.disconnected" | "device.tampered" | "device.low_battery" | "device.battery_status_changed" | "device.removed" | "device.deleted" | "device.third_party_integration_detected" | "device.third_party_integration_no_longer_detected" | "device.salto.privacy_mode_activated" | "device.salto.privacy_mode_deactivated" | "device.connection_became_flaky" | "device.connection_stabilized" | "device.error.subscription_required" | "device.error.subscription_required.resolved" | "device.accessory_keypad_connected" | "device.accessory_keypad_disconnected" | "noise_sensor.noise_threshold_triggered" | "lock.locked" | "lock.unlocked" | "lock.access_denied" | "thermostat.climate_preset_activated" | "thermostat.manually_adjusted" | "thermostat.temperature_threshold_exceeded" | "thermostat.temperature_threshold_no_longer_exceeded" | "thermostat.temperature_reached_set_point" | "thermostat.temperature_changed" | "device.name_changed" | "enrollment_automation.deleted" | "phone.deactivated" | "connect_webview.login_succeeded" | "connect_webview.login_failed")[]]>;
2298
2328
  export type SeamEventType = SeamEvent['event_type'];
@@ -21734,6 +21734,66 @@ declare const _default: {
21734
21734
  'x-undocumented': string;
21735
21735
  };
21736
21736
  };
21737
+ '/seam/bridge/v1/bridge_client_sessions/report_status': {
21738
+ post: {
21739
+ description: string;
21740
+ operationId: string;
21741
+ requestBody: {
21742
+ content: {
21743
+ 'application/json': {
21744
+ schema: {
21745
+ properties: {
21746
+ is_tailscale_connected: {
21747
+ nullable: boolean;
21748
+ type: string;
21749
+ };
21750
+ tailscale_ip_v4: {
21751
+ nullable: boolean;
21752
+ type: string;
21753
+ };
21754
+ };
21755
+ required: string[];
21756
+ type: string;
21757
+ };
21758
+ };
21759
+ };
21760
+ };
21761
+ responses: {
21762
+ 200: {
21763
+ content: {
21764
+ 'application/json': {
21765
+ schema: {
21766
+ properties: {
21767
+ ok: {
21768
+ type: string;
21769
+ };
21770
+ };
21771
+ required: string[];
21772
+ type: string;
21773
+ };
21774
+ };
21775
+ };
21776
+ description: string;
21777
+ };
21778
+ 400: {
21779
+ description: string;
21780
+ };
21781
+ 401: {
21782
+ description: string;
21783
+ };
21784
+ };
21785
+ security: {
21786
+ bridge_client_session: never[];
21787
+ }[];
21788
+ summary: string;
21789
+ tags: never[];
21790
+ 'x-fern-sdk-group-name': string[];
21791
+ 'x-fern-sdk-method-name': string;
21792
+ 'x-response-key': null;
21793
+ 'x-title': string;
21794
+ 'x-undocumented': string;
21795
+ };
21796
+ };
21737
21797
  '/seam/bridge/v1/bridge_connected_systems/list': {
21738
21798
  get: {
21739
21799
  description: string;
@@ -9513,6 +9513,54 @@ export default {
9513
9513
  type: 'object',
9514
9514
  'x-route-path': '/acs/credentials',
9515
9515
  },
9516
+ {
9517
+ description: 'An [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created.',
9518
+ properties: {
9519
+ acs_system_id: {
9520
+ description: 'ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems).',
9521
+ format: 'uuid',
9522
+ type: 'string',
9523
+ },
9524
+ acs_user_id: { format: 'uuid', type: 'string' },
9525
+ connected_account_id: {
9526
+ description: 'ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts).',
9527
+ format: 'uuid',
9528
+ type: 'string',
9529
+ },
9530
+ created_at: {
9531
+ description: 'Date and time at which the event was created.',
9532
+ format: 'date-time',
9533
+ type: 'string',
9534
+ },
9535
+ event_id: {
9536
+ description: 'ID of the event.',
9537
+ format: 'uuid',
9538
+ type: 'string',
9539
+ },
9540
+ event_type: { enum: ['acs_user.created'], type: 'string' },
9541
+ occurred_at: {
9542
+ description: 'Date and time at which the event occurred.',
9543
+ format: 'date-time',
9544
+ type: 'string',
9545
+ },
9546
+ workspace_id: {
9547
+ description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces).',
9548
+ format: 'uuid',
9549
+ type: 'string',
9550
+ },
9551
+ },
9552
+ required: [
9553
+ 'event_id',
9554
+ 'workspace_id',
9555
+ 'created_at',
9556
+ 'occurred_at',
9557
+ 'acs_system_id',
9558
+ 'acs_user_id',
9559
+ 'event_type',
9560
+ ],
9561
+ type: 'object',
9562
+ 'x-route-path': '/acs/users',
9563
+ },
9516
9564
  {
9517
9565
  description: 'An [ACS user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was deleted.',
9518
9566
  properties: {
@@ -23712,6 +23760,7 @@ export default {
23712
23760
  'acs_credential.issued',
23713
23761
  'acs_credential.reissued',
23714
23762
  'acs_credential.invalidated',
23763
+ 'acs_user.created',
23715
23764
  'acs_user.deleted',
23716
23765
  'acs_encoder.added',
23717
23766
  'acs_encoder.removed',
@@ -23797,6 +23846,7 @@ export default {
23797
23846
  'acs_credential.issued',
23798
23847
  'acs_credential.reissued',
23799
23848
  'acs_credential.invalidated',
23849
+ 'acs_user.created',
23800
23850
  'acs_user.deleted',
23801
23851
  'acs_encoder.added',
23802
23852
  'acs_encoder.removed',
@@ -25917,6 +25967,55 @@ export default {
25917
25967
  'x-undocumented': 'Seam Bridge Client only.',
25918
25968
  },
25919
25969
  },
25970
+ '/seam/bridge/v1/bridge_client_sessions/report_status': {
25971
+ post: {
25972
+ description: "Report a Seam Bridge Bridge client's status.",
25973
+ operationId: 'seamBridgeV1BridgeClientSessionsReportStatusPost',
25974
+ requestBody: {
25975
+ content: {
25976
+ 'application/json': {
25977
+ schema: {
25978
+ properties: {
25979
+ is_tailscale_connected: { nullable: true, type: 'boolean' },
25980
+ tailscale_ip_v4: { nullable: true, type: 'string' },
25981
+ },
25982
+ required: ['is_tailscale_connected', 'tailscale_ip_v4'],
25983
+ type: 'object',
25984
+ },
25985
+ },
25986
+ },
25987
+ },
25988
+ responses: {
25989
+ 200: {
25990
+ content: {
25991
+ 'application/json': {
25992
+ schema: {
25993
+ properties: { ok: { type: 'boolean' } },
25994
+ required: ['ok'],
25995
+ type: 'object',
25996
+ },
25997
+ },
25998
+ },
25999
+ description: 'OK',
26000
+ },
26001
+ 400: { description: 'Bad Request' },
26002
+ 401: { description: 'Unauthorized' },
26003
+ },
26004
+ security: [{ bridge_client_session: [] }],
26005
+ summary: '/seam/bridge/v1/bridge_client_sessions/report_status',
26006
+ tags: [],
26007
+ 'x-fern-sdk-group-name': [
26008
+ 'seam',
26009
+ 'bridge',
26010
+ 'v1',
26011
+ 'bridge_client_sessions',
26012
+ ],
26013
+ 'x-fern-sdk-method-name': 'report_status',
26014
+ 'x-response-key': null,
26015
+ 'x-title': "Report a Bridge Client's Status",
26016
+ 'x-undocumented': 'Seam Bridge Client only.',
26017
+ },
26018
+ },
25920
26019
  '/seam/bridge/v1/bridge_connected_systems/list': {
25921
26020
  get: {
25922
26021
  description: 'Returns the bridge connected systems associated with the session token used.',