@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.
@@ -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'];
@@ -21218,6 +21218,19 @@ declare const _default: {
21218
21218
  tailscale_hostname: {
21219
21219
  type: string;
21220
21220
  };
21221
+ telemetry_token: {
21222
+ nullable: boolean;
21223
+ type: string;
21224
+ };
21225
+ telemetry_token_expires_at: {
21226
+ format: string;
21227
+ nullable: boolean;
21228
+ type: string;
21229
+ };
21230
+ telemetry_url: {
21231
+ nullable: boolean;
21232
+ type: string;
21233
+ };
21221
21234
  };
21222
21235
  required: string[];
21223
21236
  type: string;
@@ -21379,6 +21392,19 @@ declare const _default: {
21379
21392
  tailscale_hostname: {
21380
21393
  type: string;
21381
21394
  };
21395
+ telemetry_token: {
21396
+ nullable: boolean;
21397
+ type: string;
21398
+ };
21399
+ telemetry_token_expires_at: {
21400
+ format: string;
21401
+ nullable: boolean;
21402
+ type: string;
21403
+ };
21404
+ telemetry_url: {
21405
+ nullable: boolean;
21406
+ type: string;
21407
+ };
21382
21408
  };
21383
21409
  required: string[];
21384
21410
  type: string;
@@ -21536,6 +21562,193 @@ declare const _default: {
21536
21562
  tailscale_hostname: {
21537
21563
  type: string;
21538
21564
  };
21565
+ telemetry_token: {
21566
+ nullable: boolean;
21567
+ type: string;
21568
+ };
21569
+ telemetry_token_expires_at: {
21570
+ format: string;
21571
+ nullable: boolean;
21572
+ type: string;
21573
+ };
21574
+ telemetry_url: {
21575
+ nullable: boolean;
21576
+ type: string;
21577
+ };
21578
+ };
21579
+ required: string[];
21580
+ type: string;
21581
+ 'x-route-path': string;
21582
+ 'x-undocumented': string;
21583
+ };
21584
+ ok: {
21585
+ type: string;
21586
+ };
21587
+ };
21588
+ required: string[];
21589
+ type: string;
21590
+ };
21591
+ };
21592
+ };
21593
+ description: string;
21594
+ };
21595
+ 400: {
21596
+ description: string;
21597
+ };
21598
+ 401: {
21599
+ description: string;
21600
+ };
21601
+ };
21602
+ security: {
21603
+ bridge_client_session: never[];
21604
+ }[];
21605
+ summary: string;
21606
+ tags: never[];
21607
+ 'x-fern-sdk-group-name': string[];
21608
+ 'x-fern-sdk-method-name': string;
21609
+ 'x-fern-sdk-return-value': string;
21610
+ 'x-response-key': string;
21611
+ 'x-title': string;
21612
+ 'x-undocumented': string;
21613
+ };
21614
+ };
21615
+ '/seam/bridge/v1/bridge_client_sessions/refresh_telemetry_token': {
21616
+ post: {
21617
+ description: string;
21618
+ operationId: string;
21619
+ responses: {
21620
+ 200: {
21621
+ content: {
21622
+ 'application/json': {
21623
+ schema: {
21624
+ properties: {
21625
+ bridge_client_session: {
21626
+ properties: {
21627
+ bridge_client_machine_identifier_key: {
21628
+ type: string;
21629
+ };
21630
+ bridge_client_name: {
21631
+ type: string;
21632
+ };
21633
+ bridge_client_session_id: {
21634
+ format: string;
21635
+ type: string;
21636
+ };
21637
+ bridge_client_session_token: {
21638
+ type: string;
21639
+ };
21640
+ bridge_client_time_zone: {
21641
+ type: string;
21642
+ };
21643
+ created_at: {
21644
+ format: string;
21645
+ type: string;
21646
+ };
21647
+ errors: {
21648
+ items: {
21649
+ description: string;
21650
+ discriminator: {
21651
+ propertyName: string;
21652
+ };
21653
+ oneOf: ({
21654
+ description: string;
21655
+ properties: {
21656
+ can_tailscale_proxy_reach_bridge: {
21657
+ description: string;
21658
+ nullable: boolean;
21659
+ type: string;
21660
+ };
21661
+ can_tailscale_proxy_reach_tailscale_network: {
21662
+ description: string;
21663
+ nullable: boolean;
21664
+ type: string;
21665
+ };
21666
+ created_at: {
21667
+ format: string;
21668
+ type: string;
21669
+ };
21670
+ error_code: {
21671
+ description: string;
21672
+ enum: string[];
21673
+ type: string;
21674
+ };
21675
+ is_bridge_socks_server_healthy: {
21676
+ description: string;
21677
+ nullable: boolean;
21678
+ type: string;
21679
+ };
21680
+ is_tailscale_proxy_reachable: {
21681
+ description: string;
21682
+ nullable: boolean;
21683
+ type: string;
21684
+ };
21685
+ is_tailscale_proxy_socks_server_healthy: {
21686
+ description: string;
21687
+ nullable: boolean;
21688
+ type: string;
21689
+ };
21690
+ message: {
21691
+ type: string;
21692
+ };
21693
+ };
21694
+ required: string[];
21695
+ type: string;
21696
+ } | {
21697
+ description: string;
21698
+ properties: {
21699
+ created_at: {
21700
+ format: string;
21701
+ type: string;
21702
+ };
21703
+ error_code: {
21704
+ description: string;
21705
+ enum: string[];
21706
+ type: string;
21707
+ };
21708
+ message: {
21709
+ type: string;
21710
+ };
21711
+ can_tailscale_proxy_reach_bridge?: never;
21712
+ can_tailscale_proxy_reach_tailscale_network?: never;
21713
+ is_bridge_socks_server_healthy?: never;
21714
+ is_tailscale_proxy_reachable?: never;
21715
+ is_tailscale_proxy_socks_server_healthy?: never;
21716
+ };
21717
+ required: string[];
21718
+ type: string;
21719
+ })[];
21720
+ };
21721
+ type: string;
21722
+ };
21723
+ pairing_code: {
21724
+ maxLength: number;
21725
+ minLength: number;
21726
+ type: string;
21727
+ };
21728
+ pairing_code_expires_at: {
21729
+ format: string;
21730
+ type: string;
21731
+ };
21732
+ tailscale_auth_key: {
21733
+ nullable: boolean;
21734
+ type: string;
21735
+ };
21736
+ tailscale_hostname: {
21737
+ type: string;
21738
+ };
21739
+ telemetry_token: {
21740
+ nullable: boolean;
21741
+ type: string;
21742
+ };
21743
+ telemetry_token_expires_at: {
21744
+ format: string;
21745
+ nullable: boolean;
21746
+ type: string;
21747
+ };
21748
+ telemetry_url: {
21749
+ nullable: boolean;
21750
+ type: string;
21751
+ };
21539
21752
  };
21540
21753
  required: string[];
21541
21754
  type: string;
@@ -21697,6 +21910,19 @@ declare const _default: {
21697
21910
  tailscale_hostname: {
21698
21911
  type: string;
21699
21912
  };
21913
+ telemetry_token: {
21914
+ nullable: boolean;
21915
+ type: string;
21916
+ };
21917
+ telemetry_token_expires_at: {
21918
+ format: string;
21919
+ nullable: boolean;
21920
+ type: string;
21921
+ };
21922
+ telemetry_url: {
21923
+ nullable: boolean;
21924
+ type: string;
21925
+ };
21700
21926
  };
21701
21927
  required: string[];
21702
21928
  type: string;