@seamapi/types 1.419.0 → 1.420.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.
@@ -3640,6 +3640,8 @@ declare const access_grant: z.ZodObject<{
3640
3640
  access_method_ids: z.ZodArray<z.ZodString, "many">;
3641
3641
  display_name: z.ZodString;
3642
3642
  created_at: z.ZodString;
3643
+ starts_at: z.ZodOptional<z.ZodString>;
3644
+ ends_at: z.ZodOptional<z.ZodString>;
3643
3645
  }, "strip", z.ZodTypeAny, {
3644
3646
  display_name: string;
3645
3647
  workspace_id: string;
@@ -3655,6 +3657,8 @@ declare const access_grant: z.ZodObject<{
3655
3657
  created_access_method_ids: string[];
3656
3658
  }[];
3657
3659
  access_method_ids: string[];
3660
+ starts_at?: string | undefined;
3661
+ ends_at?: string | undefined;
3658
3662
  }, {
3659
3663
  display_name: string;
3660
3664
  workspace_id: string;
@@ -3670,6 +3674,8 @@ declare const access_grant: z.ZodObject<{
3670
3674
  created_access_method_ids: string[];
3671
3675
  }[];
3672
3676
  access_method_ids: string[];
3677
+ starts_at?: string | undefined;
3678
+ ends_at?: string | undefined;
3673
3679
  }>;
3674
3680
  type AccessGrant = z.infer<typeof access_grant>;
3675
3681
 
@@ -19492,6 +19498,29 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
19492
19498
  event_id: string;
19493
19499
  occurred_at: string;
19494
19500
  event_type: "access_method.deleted";
19501
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
19502
+ event_id: z.ZodString;
19503
+ workspace_id: z.ZodString;
19504
+ created_at: z.ZodString;
19505
+ occurred_at: z.ZodString;
19506
+ }, {
19507
+ access_method_id: z.ZodString;
19508
+ }>, {
19509
+ event_type: z.ZodLiteral<"access_method.reissued">;
19510
+ }>, "strip", z.ZodTypeAny, {
19511
+ workspace_id: string;
19512
+ created_at: string;
19513
+ access_method_id: string;
19514
+ event_id: string;
19515
+ occurred_at: string;
19516
+ event_type: "access_method.reissued";
19517
+ }, {
19518
+ workspace_id: string;
19519
+ created_at: string;
19520
+ access_method_id: string;
19521
+ event_id: string;
19522
+ occurred_at: string;
19523
+ event_type: "access_method.reissued";
19495
19524
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
19496
19525
  event_id: z.ZodString;
19497
19526
  workspace_id: z.ZodString;
@@ -22137,6 +22166,11 @@ declare const _default: {
22137
22166
  description: string;
22138
22167
  type: string;
22139
22168
  };
22169
+ ends_at: {
22170
+ description: string;
22171
+ format: string;
22172
+ type: string;
22173
+ };
22140
22174
  location_ids: {
22141
22175
  deprecated: boolean;
22142
22176
  items: {
@@ -22186,6 +22220,11 @@ declare const _default: {
22186
22220
  };
22187
22221
  type: string;
22188
22222
  };
22223
+ starts_at: {
22224
+ description: string;
22225
+ format: string;
22226
+ type: string;
22227
+ };
22189
22228
  user_identity_id: {
22190
22229
  description: string;
22191
22230
  format: string;
@@ -37355,6 +37394,177 @@ declare const _default: {
37355
37394
  'x-title': string;
37356
37395
  };
37357
37396
  };
37397
+ '/access_grants/update': {
37398
+ patch: {
37399
+ description: string;
37400
+ operationId: string;
37401
+ requestBody: {
37402
+ content: {
37403
+ 'application/json': {
37404
+ schema: {
37405
+ properties: {
37406
+ access_grant_id: {
37407
+ description: string;
37408
+ format: string;
37409
+ type: string;
37410
+ };
37411
+ ends_at: {
37412
+ description: string;
37413
+ format: string;
37414
+ nullable: boolean;
37415
+ type: string;
37416
+ };
37417
+ starts_at: {
37418
+ description: string;
37419
+ format: string;
37420
+ nullable: boolean;
37421
+ type: string;
37422
+ };
37423
+ };
37424
+ required: string[];
37425
+ type: string;
37426
+ };
37427
+ };
37428
+ };
37429
+ };
37430
+ responses: {
37431
+ 200: {
37432
+ content: {
37433
+ 'application/json': {
37434
+ schema: {
37435
+ properties: {
37436
+ ok: {
37437
+ type: string;
37438
+ };
37439
+ };
37440
+ required: string[];
37441
+ type: string;
37442
+ };
37443
+ };
37444
+ };
37445
+ description: string;
37446
+ };
37447
+ 400: {
37448
+ description: string;
37449
+ };
37450
+ 401: {
37451
+ description: string;
37452
+ };
37453
+ };
37454
+ security: ({
37455
+ pat_with_workspace: never[];
37456
+ console_session_with_workspace?: never;
37457
+ api_key?: never;
37458
+ client_session_with_customer?: never;
37459
+ } | {
37460
+ console_session_with_workspace: never[];
37461
+ pat_with_workspace?: never;
37462
+ api_key?: never;
37463
+ client_session_with_customer?: never;
37464
+ } | {
37465
+ api_key: never[];
37466
+ pat_with_workspace?: never;
37467
+ console_session_with_workspace?: never;
37468
+ client_session_with_customer?: never;
37469
+ } | {
37470
+ client_session_with_customer: never[];
37471
+ pat_with_workspace?: never;
37472
+ console_session_with_workspace?: never;
37473
+ api_key?: never;
37474
+ })[];
37475
+ summary: string;
37476
+ tags: never[];
37477
+ 'x-draft': string;
37478
+ 'x-fern-ignore': boolean;
37479
+ 'x-response-key': null;
37480
+ 'x-title': string;
37481
+ };
37482
+ post: {
37483
+ description: string;
37484
+ operationId: string;
37485
+ requestBody: {
37486
+ content: {
37487
+ 'application/json': {
37488
+ schema: {
37489
+ properties: {
37490
+ access_grant_id: {
37491
+ description: string;
37492
+ format: string;
37493
+ type: string;
37494
+ };
37495
+ ends_at: {
37496
+ description: string;
37497
+ format: string;
37498
+ nullable: boolean;
37499
+ type: string;
37500
+ };
37501
+ starts_at: {
37502
+ description: string;
37503
+ format: string;
37504
+ nullable: boolean;
37505
+ type: string;
37506
+ };
37507
+ };
37508
+ required: string[];
37509
+ type: string;
37510
+ };
37511
+ };
37512
+ };
37513
+ };
37514
+ responses: {
37515
+ 200: {
37516
+ content: {
37517
+ 'application/json': {
37518
+ schema: {
37519
+ properties: {
37520
+ ok: {
37521
+ type: string;
37522
+ };
37523
+ };
37524
+ required: string[];
37525
+ type: string;
37526
+ };
37527
+ };
37528
+ };
37529
+ description: string;
37530
+ };
37531
+ 400: {
37532
+ description: string;
37533
+ };
37534
+ 401: {
37535
+ description: string;
37536
+ };
37537
+ };
37538
+ security: ({
37539
+ pat_with_workspace: never[];
37540
+ console_session_with_workspace?: never;
37541
+ api_key?: never;
37542
+ client_session_with_customer?: never;
37543
+ } | {
37544
+ console_session_with_workspace: never[];
37545
+ pat_with_workspace?: never;
37546
+ api_key?: never;
37547
+ client_session_with_customer?: never;
37548
+ } | {
37549
+ api_key: never[];
37550
+ pat_with_workspace?: never;
37551
+ console_session_with_workspace?: never;
37552
+ client_session_with_customer?: never;
37553
+ } | {
37554
+ client_session_with_customer: never[];
37555
+ pat_with_workspace?: never;
37556
+ console_session_with_workspace?: never;
37557
+ api_key?: never;
37558
+ })[];
37559
+ summary: string;
37560
+ tags: never[];
37561
+ 'x-draft': string;
37562
+ 'x-fern-sdk-group-name': string[];
37563
+ 'x-fern-sdk-method-name': string;
37564
+ 'x-response-key': null;
37565
+ 'x-title': string;
37566
+ };
37567
+ };
37358
37568
  '/access_methods/delete': {
37359
37569
  post: {
37360
37570
  description: string;
@@ -67769,6 +67979,10 @@ interface Routes {
67769
67979
  display_name: string;
67770
67980
  /** Date and time at which the access grant was created. */
67771
67981
  created_at: string;
67982
+ /** Date and time at which the access grant starts. */
67983
+ starts_at?: string | undefined;
67984
+ /** Date and time at which the access grant ends. */
67985
+ ends_at?: string | undefined;
67772
67986
  };
67773
67987
  };
67774
67988
  };
@@ -67825,6 +68039,10 @@ interface Routes {
67825
68039
  display_name: string;
67826
68040
  /** Date and time at which the access grant was created. */
67827
68041
  created_at: string;
68042
+ /** Date and time at which the access grant starts. */
68043
+ starts_at?: string | undefined;
68044
+ /** Date and time at which the access grant ends. */
68045
+ ends_at?: string | undefined;
67828
68046
  };
67829
68047
  };
67830
68048
  };
@@ -67877,9 +68095,29 @@ interface Routes {
67877
68095
  display_name: string;
67878
68096
  /** Date and time at which the access grant was created. */
67879
68097
  created_at: string;
68098
+ /** Date and time at which the access grant starts. */
68099
+ starts_at?: string | undefined;
68100
+ /** Date and time at which the access grant ends. */
68101
+ ends_at?: string | undefined;
67880
68102
  }>;
67881
68103
  };
67882
68104
  };
68105
+ '/access_grants/update': {
68106
+ route: '/access_grants/update';
68107
+ method: 'POST' | 'PATCH';
68108
+ queryParams: {};
68109
+ jsonBody: {};
68110
+ commonParams: {
68111
+ /** ID of the access grant to update. */
68112
+ access_grant_id: string;
68113
+ /** Date and time at which the validity of the grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. */
68114
+ starts_at?: (string | null) | undefined;
68115
+ /** Date and time at which the validity of the grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`. */
68116
+ ends_at?: (string | null) | undefined;
68117
+ };
68118
+ formData: {};
68119
+ jsonResponse: {};
68120
+ };
67883
68121
  '/access_methods/delete': {
67884
68122
  route: '/access_methods/delete';
67885
68123
  method: 'GET' | 'POST';
@@ -83694,6 +83932,18 @@ interface Routes {
83694
83932
  created_at: string;
83695
83933
  /** Date and time at which the event occurred. */
83696
83934
  occurred_at: string;
83935
+ /** ID of the affected access method. */
83936
+ access_method_id: string;
83937
+ event_type: 'access_method.reissued';
83938
+ } | {
83939
+ /** ID of the event. */
83940
+ event_id: string;
83941
+ /** ID of the workspace associated with the event. */
83942
+ workspace_id: string;
83943
+ /** Date and time at which the event was created. */
83944
+ created_at: string;
83945
+ /** Date and time at which the event occurred. */
83946
+ occurred_at: string;
83697
83947
  /** ID of the connected account. */
83698
83948
  connected_account_id?: string | undefined;
83699
83949
  /** ID of the access system. */
@@ -84700,9 +84950,9 @@ interface Routes {
84700
84950
  /** IDs of the access codes for which you want to list events. */
84701
84951
  access_code_ids?: string[] | undefined;
84702
84952
  /** Type of the events that you want to list. */
84703
- 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' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | '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;
84953
+ 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' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | '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;
84704
84954
  /** Types of the events that you want to list. */
84705
- 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' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | '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;
84955
+ 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' | 'access_grant.created' | 'access_grant.deleted' | 'access_grant.access_granted_to_all_doors' | 'access_grant.access_granted_to_door' | 'access_grant.access_to_door_lost' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | '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;
84706
84956
  /** ID of the connected account for which you want to list events. */
84707
84957
  connected_account_id?: string | undefined;
84708
84958
  /** IDs of the connected accounts for which you want to list events. */
@@ -85116,6 +85366,18 @@ interface Routes {
85116
85366
  created_at: string;
85117
85367
  /** Date and time at which the event occurred. */
85118
85368
  occurred_at: string;
85369
+ /** ID of the affected access method. */
85370
+ access_method_id: string;
85371
+ event_type: 'access_method.reissued';
85372
+ } | {
85373
+ /** ID of the event. */
85374
+ event_id: string;
85375
+ /** ID of the workspace associated with the event. */
85376
+ workspace_id: string;
85377
+ /** Date and time at which the event was created. */
85378
+ created_at: string;
85379
+ /** Date and time at which the event occurred. */
85380
+ occurred_at: string;
85119
85381
  /** ID of the connected account. */
85120
85382
  connected_account_id?: string | undefined;
85121
85383
  /** ID of the access system. */
@@ -119201,6 +119463,10 @@ interface Routes {
119201
119463
  display_name: string;
119202
119464
  /** Date and time at which the access grant was created. */
119203
119465
  created_at: string;
119466
+ /** Date and time at which the access grant starts. */
119467
+ starts_at?: string | undefined;
119468
+ /** Date and time at which the access grant ends. */
119469
+ ends_at?: string | undefined;
119204
119470
  };
119205
119471
  };
119206
119472
  };
@@ -119257,6 +119523,10 @@ interface Routes {
119257
119523
  display_name: string;
119258
119524
  /** Date and time at which the access grant was created. */
119259
119525
  created_at: string;
119526
+ /** Date and time at which the access grant starts. */
119527
+ starts_at?: string | undefined;
119528
+ /** Date and time at which the access grant ends. */
119529
+ ends_at?: string | undefined;
119260
119530
  };
119261
119531
  };
119262
119532
  };
@@ -119309,6 +119579,10 @@ interface Routes {
119309
119579
  display_name: string;
119310
119580
  /** Date and time at which the access grant was created. */
119311
119581
  created_at: string;
119582
+ /** Date and time at which the access grant starts. */
119583
+ starts_at?: string | undefined;
119584
+ /** Date and time at which the access grant ends. */
119585
+ ends_at?: string | undefined;
119312
119586
  }>;
119313
119587
  };
119314
119588
  };
@@ -24,6 +24,8 @@ export declare const access_grant: z.ZodObject<{
24
24
  access_method_ids: z.ZodArray<z.ZodString, "many">;
25
25
  display_name: z.ZodString;
26
26
  created_at: z.ZodString;
27
+ starts_at: z.ZodOptional<z.ZodString>;
28
+ ends_at: z.ZodOptional<z.ZodString>;
27
29
  }, "strip", z.ZodTypeAny, {
28
30
  display_name: string;
29
31
  workspace_id: string;
@@ -39,6 +41,8 @@ export declare const access_grant: z.ZodObject<{
39
41
  created_access_method_ids: string[];
40
42
  }[];
41
43
  access_method_ids: string[];
44
+ starts_at?: string | undefined;
45
+ ends_at?: string | undefined;
42
46
  }, {
43
47
  display_name: string;
44
48
  workspace_id: string;
@@ -54,5 +58,7 @@ export declare const access_grant: z.ZodObject<{
54
58
  created_access_method_ids: string[];
55
59
  }[];
56
60
  access_method_ids: string[];
61
+ starts_at?: string | undefined;
62
+ ends_at?: string | undefined;
57
63
  }>;
58
64
  export type AccessGrant = z.infer<typeof access_grant>;
@@ -29,6 +29,16 @@ export const access_grant = z.object({
29
29
  .string()
30
30
  .datetime()
31
31
  .describe('Date and time at which the access grant was created.'),
32
+ starts_at: z
33
+ .string()
34
+ .datetime()
35
+ .optional()
36
+ .describe('Date and time at which the access grant starts.'),
37
+ ends_at: z
38
+ .string()
39
+ .datetime()
40
+ .optional()
41
+ .describe('Date and time at which the access grant ends.'),
32
42
  }).describe(`
33
43
  ---
34
44
  draft: Early access.
@@ -1 +1 @@
1
- {"version":3,"file":"access-grant.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-grants/access-grant.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAA;AAEtE,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,4DAA4D,CAAC;IACzE,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAA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,CAAC,QAAQ,CAAC,yBAAyB,CAAC;IACtE,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,6DAA6D,CAAC;IAC1E,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC;;;;GAIjD,CAAC;IACF,SAAS,EAAE,CAAC;SACT,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CAAC,2DAA2D,CAAC;IACxE,wBAAwB,EAAE,CAAC;SACxB,KAAK,CAAC,uBAAuB,CAAC;SAC9B,QAAQ,CAAC,8DAA8D,CAAC;IAC3E,iBAAiB,EAAE,CAAC;SACjB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CAAC,yDAAyD,CAAC;IACtE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,mCAAmC,CAAC;IACtE,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,sDAAsD,CAAC;IACnE,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,iDAAiD,CAAC;IAC9D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;CAC7D,CAAC,CAAC,QAAQ,CAAC;;;;;;GAMT,CAAC,CAAA"}
@@ -23,7 +23,6 @@ export declare const access_grant_created_event: z.ZodObject<z.objectUtil.extend
23
23
  occurred_at: string;
24
24
  event_type: "access_grant.created";
25
25
  }>;
26
- export type AccessGrantCreatedEvent = z.infer<typeof access_grant_created_event>;
27
26
  export declare const access_grant_deleted_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
28
27
  event_id: z.ZodString;
29
28
  workspace_id: z.ZodString;
@@ -48,7 +47,6 @@ export declare const access_grant_deleted_event: z.ZodObject<z.objectUtil.extend
48
47
  occurred_at: string;
49
48
  event_type: "access_grant.deleted";
50
49
  }>;
51
- export type AccessGrantDeleteddEvent = z.infer<typeof access_grant_deleted_event>;
52
50
  export declare const access_grant_access_granted_to_all_doors_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
53
51
  event_id: z.ZodString;
54
52
  workspace_id: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"access-grants.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/access-grants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,kBAAkB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC7C,eAAe,EAAE,CAAC;SACf,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,kCAAkC,CAAC;CAChD,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,kBAAkB,CAAC,MAAM,CAAC;IAClE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;CAC9C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAIJ,MAAM,CAAC,MAAM,0BAA0B,GAAG,kBAAkB,CAAC,MAAM,CAAC;IAClE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;CAC9C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,8CAA8C,GACzD,kBAAkB,CAAC,MAAM,CAAC;IACxB,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,0CAA0C,CAAC;CAClE,CAAC,CAAC,QAAQ,CAAC;;;;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U,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;CAC9C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,8CAA8C,GACzD,kBAAkB,CAAC,MAAM,CAAC;IACxB,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,0CAA0C,CAAC;CAClE,CAAC,CAAC,QAAQ,CAAC;;;;;GAKX,CAAC,CAAA;AAMJ,MAAM,eAAe,GAAG,CAAC;KACtB,MAAM,EAAE;KACR,IAAI,EAAE;KACN,QAAQ,CACP,2GAA2G,CAC5G,CAAA;AAEH,MAAM,CAAC,MAAM,yCAAyC,GACpD,kBAAkB,CAAC,MAAM,CAAC;IACxB,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,qCAAqC,CAAC;IAC5D,eAAe;CAChB,CAAC,CAAC,QAAQ,CAAC;;;;;GAKX,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,sCAAsC,GAAG,kBAAkB,CAAC,MAAM,CAC7E;IACE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,kCAAkC,CAAC;IACzD,eAAe;CAChB,CACF,CAAC,QAAQ,CAAC;;;;;GAKR,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,0BAA0B;IAC1B,0BAA0B;IAC1B,8CAA8C;IAC9C,yCAAyC;IACzC,sCAAsC;CAC9B,CAAA"}
@@ -97,6 +97,30 @@ export declare const access_method_deleted_event: z.ZodObject<z.objectUtil.exten
97
97
  occurred_at: string;
98
98
  event_type: "access_method.deleted";
99
99
  }>;
100
+ export declare const access_method_reissued_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
101
+ event_id: z.ZodString;
102
+ workspace_id: z.ZodString;
103
+ created_at: z.ZodString;
104
+ occurred_at: z.ZodString;
105
+ }, {
106
+ access_method_id: z.ZodString;
107
+ }>, {
108
+ event_type: z.ZodLiteral<"access_method.reissued">;
109
+ }>, "strip", z.ZodTypeAny, {
110
+ workspace_id: string;
111
+ created_at: string;
112
+ access_method_id: string;
113
+ event_id: string;
114
+ occurred_at: string;
115
+ event_type: "access_method.reissued";
116
+ }, {
117
+ workspace_id: string;
118
+ created_at: string;
119
+ access_method_id: string;
120
+ event_id: string;
121
+ occurred_at: string;
122
+ event_type: "access_method.reissued";
123
+ }>;
100
124
  export type AccessMethodRevokedEvent = z.infer<typeof access_method_revoked_event>;
101
125
  export declare const access_method_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
102
126
  event_id: z.ZodString;
@@ -190,4 +214,27 @@ export declare const access_method_events: readonly [z.ZodObject<z.objectUtil.ex
190
214
  event_id: string;
191
215
  occurred_at: string;
192
216
  event_type: "access_method.deleted";
217
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
218
+ event_id: z.ZodString;
219
+ workspace_id: z.ZodString;
220
+ created_at: z.ZodString;
221
+ occurred_at: z.ZodString;
222
+ }, {
223
+ access_method_id: z.ZodString;
224
+ }>, {
225
+ event_type: z.ZodLiteral<"access_method.reissued">;
226
+ }>, "strip", z.ZodTypeAny, {
227
+ workspace_id: string;
228
+ created_at: string;
229
+ access_method_id: string;
230
+ event_id: string;
231
+ occurred_at: string;
232
+ event_type: "access_method.reissued";
233
+ }, {
234
+ workspace_id: string;
235
+ created_at: string;
236
+ access_method_id: string;
237
+ event_id: string;
238
+ occurred_at: string;
239
+ event_type: "access_method.reissued";
193
240
  }>];
@@ -38,10 +38,19 @@ export const access_method_deleted_event = access_method_event.extend({
38
38
  ---
39
39
  An access method was deleted.
40
40
  `);
41
+ export const access_method_reissued_event = access_method_event.extend({
42
+ event_type: z.literal('access_method.reissued'),
43
+ }).describe(`
44
+ ---
45
+ route_path: /access_methods
46
+ ---
47
+ An access method was reissued due to an access grant update.
48
+ `);
41
49
  export const access_method_events = [
42
50
  access_method_issued_event,
43
51
  access_method_revoked_event,
44
52
  access_method_card_encoding_required_event,
45
53
  access_method_deleted_event,
54
+ access_method_reissued_event,
46
55
  ];
47
56
  //# sourceMappingURL=access-methods.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"access-methods.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/access-methods.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,mBAAmB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC9C,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,mCAAmC,CAAC;CACjD,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,mBAAmB,CAAC,MAAM,CAAC;IACnE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;CAC9C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAIJ,MAAM,CAAC,MAAM,0CAA0C,GACrD,mBAAmB,CAAC,MAAM,CAAC;IACzB,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sCAAsC,CAAC;CAC9D,CAAC,CAAC,QAAQ,CAAC;;;;;GAKX,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,2BAA2B,GAAG,mBAAmB,CAAC,MAAM,CAAC;IACpE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC;CAC/C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,2BAA2B,GAAG,mBAAmB,CAAC,MAAM,CAAC;IACpE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC;CAC/C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,0BAA0B;IAC1B,2BAA2B;IAC3B,0CAA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AAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,0BAA0B;IAC1B,2BAA2B;IAC3B,0CAA0C;IAC1C,2BAA2B;IAC3B,4BAA4B;CACpB,CAAA"}
@@ -717,6 +717,29 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
717
717
  event_id: string;
718
718
  occurred_at: string;
719
719
  event_type: "access_method.deleted";
720
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
721
+ event_id: z.ZodString;
722
+ workspace_id: z.ZodString;
723
+ created_at: z.ZodString;
724
+ occurred_at: z.ZodString;
725
+ }, {
726
+ access_method_id: z.ZodString;
727
+ }>, {
728
+ event_type: z.ZodLiteral<"access_method.reissued">;
729
+ }>, "strip", z.ZodTypeAny, {
730
+ workspace_id: string;
731
+ created_at: string;
732
+ access_method_id: string;
733
+ event_id: string;
734
+ occurred_at: string;
735
+ event_type: "access_method.reissued";
736
+ }, {
737
+ workspace_id: string;
738
+ created_at: string;
739
+ access_method_id: string;
740
+ event_id: string;
741
+ occurred_at: string;
742
+ event_type: "access_method.reissued";
720
743
  }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
721
744
  event_id: z.ZodString;
722
745
  workspace_id: z.ZodString;
@@ -2538,5 +2561,5 @@ export declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObj
2538
2561
  event_type: "phone.deactivated";
2539
2562
  }>]>;
2540
2563
  export type SeamEvent = z.infer<typeof seam_event>;
2541
- 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" | "access_grant.created" | "access_grant.deleted" | "access_grant.access_granted_to_all_doors" | "access_grant.access_granted_to_door" | "access_grant.access_to_door_lost" | "access_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "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" | "access_grant.created" | "access_grant.deleted" | "access_grant.access_granted_to_all_doors" | "access_grant.access_granted_to_door" | "access_grant.access_to_door_lost" | "access_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "connect_webview.login_succeeded" | "connect_webview.login_failed")[]]>;
2564
+ 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" | "access_grant.created" | "access_grant.deleted" | "access_grant.access_granted_to_all_doors" | "access_grant.access_granted_to_door" | "access_grant.access_to_door_lost" | "access_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "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" | "access_grant.created" | "access_grant.deleted" | "access_grant.access_granted_to_all_doors" | "access_grant.access_granted_to_door" | "access_grant.access_to_door_lost" | "access_method.issued" | "access_method.card_encoding_required" | "access_method.revoked" | "access_method.deleted" | "access_method.reissued" | "connect_webview.login_succeeded" | "connect_webview.login_failed")[]]>;
2542
2565
  export type SeamEventType = SeamEvent['event_type'];