@seamapi/types 1.381.0 → 1.383.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.
@@ -9610,6 +9610,9 @@ declare const bridge_client_session: z.ZodObject<{
9610
9610
  created_at: string;
9611
9611
  error_code: "no_communication_from_bridge";
9612
9612
  }>]>, "many">;
9613
+ telemetry_token: z.ZodNullable<z.ZodString>;
9614
+ telemetry_token_expires_at: z.ZodNullable<z.ZodString>;
9615
+ telemetry_url: z.ZodNullable<z.ZodString>;
9613
9616
  }, "strip", z.ZodTypeAny, {
9614
9617
  created_at: string;
9615
9618
  errors: ({
@@ -9635,6 +9638,9 @@ declare const bridge_client_session: z.ZodObject<{
9635
9638
  bridge_client_name: string;
9636
9639
  bridge_client_time_zone: string;
9637
9640
  bridge_client_machine_identifier_key: string;
9641
+ telemetry_token: string | null;
9642
+ telemetry_token_expires_at: string | null;
9643
+ telemetry_url: string | null;
9638
9644
  }, {
9639
9645
  created_at: string;
9640
9646
  errors: ({
@@ -9660,6 +9666,9 @@ declare const bridge_client_session: z.ZodObject<{
9660
9666
  bridge_client_name: string;
9661
9667
  bridge_client_time_zone: string;
9662
9668
  bridge_client_machine_identifier_key: string;
9669
+ telemetry_token: string | null;
9670
+ telemetry_token_expires_at: string | null;
9671
+ telemetry_url: string | null;
9663
9672
  }>;
9664
9673
 
9665
9674
  declare const client_session: z.ZodObject<{
@@ -18018,6 +18027,36 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
18018
18027
  acs_system_id: z.ZodString;
18019
18028
  }>, {
18020
18029
  acs_user_id: z.ZodString;
18030
+ }>, {
18031
+ event_type: z.ZodLiteral<"acs_user.created">;
18032
+ }>, "strip", z.ZodTypeAny, {
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
+ }, {
18042
+ created_at: string;
18043
+ workspace_id: string;
18044
+ acs_system_id: string;
18045
+ acs_user_id: string;
18046
+ event_id: string;
18047
+ occurred_at: string;
18048
+ event_type: "acs_user.created";
18049
+ connected_account_id?: string | undefined;
18050
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
18051
+ event_id: z.ZodString;
18052
+ workspace_id: z.ZodString;
18053
+ created_at: z.ZodString;
18054
+ occurred_at: z.ZodString;
18055
+ }, {
18056
+ connected_account_id: z.ZodOptional<z.ZodString>;
18057
+ acs_system_id: z.ZodString;
18058
+ }>, {
18059
+ acs_user_id: z.ZodString;
18021
18060
  }>, {
18022
18061
  event_type: z.ZodLiteral<"acs_user.deleted">;
18023
18062
  }>, "strip", z.ZodTypeAny, {
@@ -41021,6 +41060,19 @@ declare const _default: {
41021
41060
  tailscale_hostname: {
41022
41061
  type: string;
41023
41062
  };
41063
+ telemetry_token: {
41064
+ nullable: boolean;
41065
+ type: string;
41066
+ };
41067
+ telemetry_token_expires_at: {
41068
+ format: string;
41069
+ nullable: boolean;
41070
+ type: string;
41071
+ };
41072
+ telemetry_url: {
41073
+ nullable: boolean;
41074
+ type: string;
41075
+ };
41024
41076
  };
41025
41077
  required: string[];
41026
41078
  type: string;
@@ -41182,6 +41234,19 @@ declare const _default: {
41182
41234
  tailscale_hostname: {
41183
41235
  type: string;
41184
41236
  };
41237
+ telemetry_token: {
41238
+ nullable: boolean;
41239
+ type: string;
41240
+ };
41241
+ telemetry_token_expires_at: {
41242
+ format: string;
41243
+ nullable: boolean;
41244
+ type: string;
41245
+ };
41246
+ telemetry_url: {
41247
+ nullable: boolean;
41248
+ type: string;
41249
+ };
41185
41250
  };
41186
41251
  required: string[];
41187
41252
  type: string;
@@ -41339,6 +41404,193 @@ declare const _default: {
41339
41404
  tailscale_hostname: {
41340
41405
  type: string;
41341
41406
  };
41407
+ telemetry_token: {
41408
+ nullable: boolean;
41409
+ type: string;
41410
+ };
41411
+ telemetry_token_expires_at: {
41412
+ format: string;
41413
+ nullable: boolean;
41414
+ type: string;
41415
+ };
41416
+ telemetry_url: {
41417
+ nullable: boolean;
41418
+ type: string;
41419
+ };
41420
+ };
41421
+ required: string[];
41422
+ type: string;
41423
+ 'x-route-path': string;
41424
+ 'x-undocumented': string;
41425
+ };
41426
+ ok: {
41427
+ type: string;
41428
+ };
41429
+ };
41430
+ required: string[];
41431
+ type: string;
41432
+ };
41433
+ };
41434
+ };
41435
+ description: string;
41436
+ };
41437
+ 400: {
41438
+ description: string;
41439
+ };
41440
+ 401: {
41441
+ description: string;
41442
+ };
41443
+ };
41444
+ security: {
41445
+ bridge_client_session: never[];
41446
+ }[];
41447
+ summary: string;
41448
+ tags: never[];
41449
+ 'x-fern-sdk-group-name': string[];
41450
+ 'x-fern-sdk-method-name': string;
41451
+ 'x-fern-sdk-return-value': string;
41452
+ 'x-response-key': string;
41453
+ 'x-title': string;
41454
+ 'x-undocumented': string;
41455
+ };
41456
+ };
41457
+ '/seam/bridge/v1/bridge_client_sessions/refresh_telemetry_token': {
41458
+ post: {
41459
+ description: string;
41460
+ operationId: string;
41461
+ responses: {
41462
+ 200: {
41463
+ content: {
41464
+ 'application/json': {
41465
+ schema: {
41466
+ properties: {
41467
+ bridge_client_session: {
41468
+ properties: {
41469
+ bridge_client_machine_identifier_key: {
41470
+ type: string;
41471
+ };
41472
+ bridge_client_name: {
41473
+ type: string;
41474
+ };
41475
+ bridge_client_session_id: {
41476
+ format: string;
41477
+ type: string;
41478
+ };
41479
+ bridge_client_session_token: {
41480
+ type: string;
41481
+ };
41482
+ bridge_client_time_zone: {
41483
+ type: string;
41484
+ };
41485
+ created_at: {
41486
+ format: string;
41487
+ type: string;
41488
+ };
41489
+ errors: {
41490
+ items: {
41491
+ description: string;
41492
+ discriminator: {
41493
+ propertyName: string;
41494
+ };
41495
+ oneOf: ({
41496
+ description: string;
41497
+ properties: {
41498
+ can_tailscale_proxy_reach_bridge: {
41499
+ description: string;
41500
+ nullable: boolean;
41501
+ type: string;
41502
+ };
41503
+ can_tailscale_proxy_reach_tailscale_network: {
41504
+ description: string;
41505
+ nullable: boolean;
41506
+ type: string;
41507
+ };
41508
+ created_at: {
41509
+ format: string;
41510
+ type: string;
41511
+ };
41512
+ error_code: {
41513
+ description: string;
41514
+ enum: string[];
41515
+ type: string;
41516
+ };
41517
+ is_bridge_socks_server_healthy: {
41518
+ description: string;
41519
+ nullable: boolean;
41520
+ type: string;
41521
+ };
41522
+ is_tailscale_proxy_reachable: {
41523
+ description: string;
41524
+ nullable: boolean;
41525
+ type: string;
41526
+ };
41527
+ is_tailscale_proxy_socks_server_healthy: {
41528
+ description: string;
41529
+ nullable: boolean;
41530
+ type: string;
41531
+ };
41532
+ message: {
41533
+ type: string;
41534
+ };
41535
+ };
41536
+ required: string[];
41537
+ type: string;
41538
+ } | {
41539
+ description: string;
41540
+ properties: {
41541
+ created_at: {
41542
+ format: string;
41543
+ type: string;
41544
+ };
41545
+ error_code: {
41546
+ description: string;
41547
+ enum: string[];
41548
+ type: string;
41549
+ };
41550
+ message: {
41551
+ type: string;
41552
+ };
41553
+ can_tailscale_proxy_reach_bridge?: never;
41554
+ can_tailscale_proxy_reach_tailscale_network?: never;
41555
+ is_bridge_socks_server_healthy?: never;
41556
+ is_tailscale_proxy_reachable?: never;
41557
+ is_tailscale_proxy_socks_server_healthy?: never;
41558
+ };
41559
+ required: string[];
41560
+ type: string;
41561
+ })[];
41562
+ };
41563
+ type: string;
41564
+ };
41565
+ pairing_code: {
41566
+ maxLength: number;
41567
+ minLength: number;
41568
+ type: string;
41569
+ };
41570
+ pairing_code_expires_at: {
41571
+ format: string;
41572
+ type: string;
41573
+ };
41574
+ tailscale_auth_key: {
41575
+ nullable: boolean;
41576
+ type: string;
41577
+ };
41578
+ tailscale_hostname: {
41579
+ type: string;
41580
+ };
41581
+ telemetry_token: {
41582
+ nullable: boolean;
41583
+ type: string;
41584
+ };
41585
+ telemetry_token_expires_at: {
41586
+ format: string;
41587
+ nullable: boolean;
41588
+ type: string;
41589
+ };
41590
+ telemetry_url: {
41591
+ nullable: boolean;
41592
+ type: string;
41593
+ };
41342
41594
  };
41343
41595
  required: string[];
41344
41596
  type: string;
@@ -41500,6 +41752,19 @@ declare const _default: {
41500
41752
  tailscale_hostname: {
41501
41753
  type: string;
41502
41754
  };
41755
+ telemetry_token: {
41756
+ nullable: boolean;
41757
+ type: string;
41758
+ };
41759
+ telemetry_token_expires_at: {
41760
+ format: string;
41761
+ nullable: boolean;
41762
+ type: string;
41763
+ };
41764
+ telemetry_url: {
41765
+ nullable: boolean;
41766
+ type: string;
41767
+ };
41503
41768
  };
41504
41769
  required: string[];
41505
41770
  type: string;
@@ -67136,6 +67401,21 @@ interface Routes {
67136
67401
  acs_system_id: string;
67137
67402
  acs_credential_id: string;
67138
67403
  event_type: 'acs_credential.invalidated';
67404
+ } | {
67405
+ /** ID of the event. */
67406
+ event_id: string;
67407
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
67408
+ workspace_id: string;
67409
+ /** Date and time at which the event was created. */
67410
+ created_at: string;
67411
+ /** Date and time at which the event occurred. */
67412
+ occurred_at: string;
67413
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
67414
+ connected_account_id?: string | undefined;
67415
+ /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
67416
+ acs_system_id: string;
67417
+ acs_user_id: string;
67418
+ event_type: 'acs_user.created';
67139
67419
  } | {
67140
67420
  /** ID of the event. */
67141
67421
  event_id: string;
@@ -68019,8 +68299,8 @@ interface Routes {
68019
68299
  acs_system_ids?: string[] | undefined;
68020
68300
  access_code_id?: string | undefined;
68021
68301
  access_code_ids?: string[] | undefined;
68022
- 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;
68023
- 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;
68302
+ 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;
68303
+ 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;
68024
68304
  connected_account_id?: string | undefined;
68025
68305
  connect_webview_id?: string | undefined;
68026
68306
  limit?: number;
@@ -68409,6 +68689,21 @@ interface Routes {
68409
68689
  acs_system_id: string;
68410
68690
  acs_credential_id: string;
68411
68691
  event_type: 'acs_credential.invalidated';
68692
+ } | {
68693
+ /** ID of the event. */
68694
+ event_id: string;
68695
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
68696
+ workspace_id: string;
68697
+ /** Date and time at which the event was created. */
68698
+ created_at: string;
68699
+ /** Date and time at which the event occurred. */
68700
+ occurred_at: string;
68701
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
68702
+ connected_account_id?: string | undefined;
68703
+ /** ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems). */
68704
+ acs_system_id: string;
68705
+ acs_user_id: string;
68706
+ event_type: 'acs_user.created';
68412
68707
  } | {
68413
68708
  /** ID of the event. */
68414
68709
  event_id: string;
@@ -78774,6 +79069,9 @@ interface Routes {
78774
79069
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
78775
79070
  error_code: 'no_communication_from_bridge';
78776
79071
  }>;
79072
+ telemetry_token: string | null;
79073
+ telemetry_token_expires_at: string | null;
79074
+ telemetry_url: string | null;
78777
79075
  };
78778
79076
  };
78779
79077
  };
@@ -78818,6 +79116,56 @@ interface Routes {
78818
79116
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
78819
79117
  error_code: 'no_communication_from_bridge';
78820
79118
  }>;
79119
+ telemetry_token: string | null;
79120
+ telemetry_token_expires_at: string | null;
79121
+ telemetry_url: string | null;
79122
+ };
79123
+ };
79124
+ };
79125
+ '/seam/bridge/v1/bridge_client_sessions/refresh_telemetry_token': {
79126
+ route: '/seam/bridge/v1/bridge_client_sessions/refresh_telemetry_token';
79127
+ method: 'POST';
79128
+ queryParams: {};
79129
+ jsonBody: {};
79130
+ commonParams: {};
79131
+ formData: {};
79132
+ jsonResponse: {
79133
+ /** */
79134
+ bridge_client_session: {
79135
+ created_at: string;
79136
+ bridge_client_session_id: string;
79137
+ bridge_client_session_token: string;
79138
+ pairing_code: string;
79139
+ pairing_code_expires_at: string;
79140
+ tailscale_hostname: string;
79141
+ tailscale_auth_key: string | null;
79142
+ bridge_client_name: string;
79143
+ bridge_client_time_zone: string;
79144
+ bridge_client_machine_identifier_key: string;
79145
+ errors: Array<{
79146
+ message: string;
79147
+ created_at: string;
79148
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
79149
+ error_code: 'bridge_lan_unreachable';
79150
+ /** Seam cannot reach the tailscale proxy */
79151
+ is_tailscale_proxy_reachable: boolean | null;
79152
+ /** Tailscale proxy's SOCKS server is unhealthy */
79153
+ is_tailscale_proxy_socks_server_healthy: boolean | null;
79154
+ /** Tailscale proxy cannot reach the Tailscale network */
79155
+ can_tailscale_proxy_reach_tailscale_network: boolean | null;
79156
+ /** Tailscale proxy cannot reach the bridge */
79157
+ can_tailscale_proxy_reach_bridge: boolean | null;
79158
+ /** Bridge's SOCKS server is unhealthy */
79159
+ is_bridge_socks_server_healthy: boolean | null;
79160
+ } | {
79161
+ message: string;
79162
+ created_at: string;
79163
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
79164
+ error_code: 'no_communication_from_bridge';
79165
+ }>;
79166
+ telemetry_token: string | null;
79167
+ telemetry_token_expires_at: string | null;
79168
+ telemetry_url: string | null;
78821
79169
  };
78822
79170
  };
78823
79171
  };
@@ -78862,6 +79210,9 @@ interface Routes {
78862
79210
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
78863
79211
  error_code: 'no_communication_from_bridge';
78864
79212
  }>;
79213
+ telemetry_token: string | null;
79214
+ telemetry_token_expires_at: string | null;
79215
+ telemetry_url: string | null;
78865
79216
  };
78866
79217
  };
78867
79218
  };
@@ -216,6 +216,9 @@ export declare const bridge_client_session: z.ZodObject<{
216
216
  created_at: string;
217
217
  error_code: "no_communication_from_bridge";
218
218
  }>]>, "many">;
219
+ telemetry_token: z.ZodNullable<z.ZodString>;
220
+ telemetry_token_expires_at: z.ZodNullable<z.ZodString>;
221
+ telemetry_url: z.ZodNullable<z.ZodString>;
219
222
  }, "strip", z.ZodTypeAny, {
220
223
  created_at: string;
221
224
  errors: ({
@@ -241,6 +244,9 @@ export declare const bridge_client_session: z.ZodObject<{
241
244
  bridge_client_name: string;
242
245
  bridge_client_time_zone: string;
243
246
  bridge_client_machine_identifier_key: string;
247
+ telemetry_token: string | null;
248
+ telemetry_token_expires_at: string | null;
249
+ telemetry_url: string | null;
244
250
  }, {
245
251
  created_at: string;
246
252
  errors: ({
@@ -266,6 +272,9 @@ export declare const bridge_client_session: z.ZodObject<{
266
272
  bridge_client_name: string;
267
273
  bridge_client_time_zone: string;
268
274
  bridge_client_machine_identifier_key: string;
275
+ telemetry_token: string | null;
276
+ telemetry_token_expires_at: string | null;
277
+ telemetry_url: string | null;
269
278
  }>;
270
279
  export type BridgeClientSession = z.infer<typeof bridge_client_session>;
271
280
  export {};
@@ -62,6 +62,9 @@ export const bridge_client_session = z.object({
62
62
  bridge_client_time_zone: z.string(),
63
63
  bridge_client_machine_identifier_key: z.string(),
64
64
  errors: z.array(bridge_client_session_error),
65
+ telemetry_token: z.string().nullable(),
66
+ telemetry_token_expires_at: z.string().datetime().nullable(),
67
+ telemetry_url: z.string().nullable(),
65
68
  }).describe(`
66
69
  ---
67
70
  route_path: /seam/bridge/v1/bridge_client_sessions
@@ -1 +1 @@
1
- {"version":3,"file":"bridge-client-session.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/bridges/bridge-client-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA;AAEF,MAAM,sBAAsB,GAC1B,oGAAoG,CAAA;AAEtG,MAAM,CAAC,MAAM,sBAAsB,GAAG,kCAAkC;KACrE,MAAM,CAAC;IACN,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,wBAAwB,CAAC;SACjC,QAAQ,CAAC,sBAAsB,CAAC;IACnC,4BAA4B,EAAE,CAAC;SAC5B,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,uCAAuC,CAAC;IACpD,uCAAuC,EAAE,CAAC;SACvC,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,6CAA6C,CAAC;IAC1D,2CAA2C,EAAE,CAAC;SAC3C,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,oDAAoD,CAAC;IACjE,gCAAgC,EAAE,CAAC;SAChC,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,yCAAyC,CAAC;IACtD,8BAA8B,EAAE,CAA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AAE,CAAC,CAAC,MAAM,EAAE;IACnC,oCAAoC,EAAE,CAAC,CAAC,MAAM,EAAE;IAChD,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC;CAC7C,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
1
+ {"version":3,"file":"bridge-client-session.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/bridges/bridge-client-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA;AAEF,MAAM,sBAAsB,GAC1B,oGAAoG,CAAA;AAEtG,MAAM,CAAC,MAAM,sBAAsB,GAAG,kCAAkC;KACrE,MAAM,CAAC;IACN,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,wBAAwB,CAAC;SACjC,QAAQ,CAAC,sBAAsB,CAAC;IACnC,4BAA4B,EAAE,CAAC;SAC5B,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,uCAAuC,CAAC;IACpD,uCAAuC,EAAE,CAAC;SACvC,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,6CAA6C,CAAC;IAC1D,2CAA2C,EAAE,CAAC;SAC3C,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,oDAAoD,CAAC;IACjE,gCAAgC,EAAE,CAAC;SAChC,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,yCAAyC,CAAC;IACtD,8BAA8B,EAAE,CAAC;SAC9B,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CAAC,oCAAoC,CAAC;CAClD,CAAC;KACD,QAAQ,CAAC,oCAAoC,CAAC,CAA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2B,CAAC;IAC5C,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACtC,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC5D,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACrC,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
@@ -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