@seamapi/types 1.555.0 → 1.557.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.
- package/dist/connect.cjs +30 -93
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +62 -294
- package/dist/index.cjs +30 -93
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +24 -110
- package/lib/seam/connect/models/events/access-methods.d.ts +4 -71
- package/lib/seam/connect/models/events/access-methods.js +2 -22
- package/lib/seam/connect/models/events/access-methods.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +3 -36
- package/lib/seam/connect/models/workspaces/workspace.d.ts +6 -0
- package/lib/seam/connect/models/workspaces/workspace.js +7 -0
- package/lib/seam/connect/models/workspaces/workspace.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +16 -110
- package/lib/seam/connect/openapi.js +18 -69
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +26 -94
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/access-methods.ts +2 -29
- package/src/lib/seam/connect/models/workspaces/workspace.ts +11 -0
- package/src/lib/seam/connect/openapi.ts +22 -74
- package/src/lib/seam/connect/route-types.ts +22 -99
|
@@ -13354,6 +13354,10 @@ export type Routes = {
|
|
|
13354
13354
|
/**
|
|
13355
13355
|
* @deprecated Use `company_name` instead.*/
|
|
13356
13356
|
connect_partner_name: (string | null) | null;
|
|
13357
|
+
/** Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */
|
|
13358
|
+
publishable_key?: string | undefined;
|
|
13359
|
+
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
13360
|
+
is_publishable_key_auth_enabled: boolean;
|
|
13357
13361
|
}[] | undefined;
|
|
13358
13362
|
spaces?: {
|
|
13359
13363
|
/** ID of the space. */
|
|
@@ -17971,24 +17975,6 @@ export type Routes = {
|
|
|
17971
17975
|
code?: string | undefined;
|
|
17972
17976
|
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
17973
17977
|
is_backup_code?: boolean | undefined;
|
|
17974
|
-
} | {
|
|
17975
|
-
/** ID of the event. */
|
|
17976
|
-
event_id: string;
|
|
17977
|
-
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
17978
|
-
workspace_id: string;
|
|
17979
|
-
/** Date and time at which the event was created. */
|
|
17980
|
-
created_at: string;
|
|
17981
|
-
/** Date and time at which the event occurred. */
|
|
17982
|
-
occurred_at: string;
|
|
17983
|
-
/** ID of the affected access method. */
|
|
17984
|
-
access_method_id: string;
|
|
17985
|
-
/** IDs of the access grants associated with this access method. */
|
|
17986
|
-
access_grant_ids: string[];
|
|
17987
|
-
/** Keys of the access grants associated with this access method (if present). */
|
|
17988
|
-
access_grant_keys?: string[] | undefined;
|
|
17989
|
-
event_type: 'access_method.code_changed';
|
|
17990
|
-
/** The new PIN code for code access methods (only present when mode is 'code'). */
|
|
17991
|
-
code: string;
|
|
17992
17978
|
} | {
|
|
17993
17979
|
/** ID of the event. */
|
|
17994
17980
|
event_id: string;
|
|
@@ -35976,24 +35962,6 @@ export type Routes = {
|
|
|
35976
35962
|
code?: string | undefined;
|
|
35977
35963
|
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
35978
35964
|
is_backup_code?: boolean | undefined;
|
|
35979
|
-
} | {
|
|
35980
|
-
/** ID of the event. */
|
|
35981
|
-
event_id: string;
|
|
35982
|
-
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
35983
|
-
workspace_id: string;
|
|
35984
|
-
/** Date and time at which the event was created. */
|
|
35985
|
-
created_at: string;
|
|
35986
|
-
/** Date and time at which the event occurred. */
|
|
35987
|
-
occurred_at: string;
|
|
35988
|
-
/** ID of the affected access method. */
|
|
35989
|
-
access_method_id: string;
|
|
35990
|
-
/** IDs of the access grants associated with this access method. */
|
|
35991
|
-
access_grant_ids: string[];
|
|
35992
|
-
/** Keys of the access grants associated with this access method (if present). */
|
|
35993
|
-
access_grant_keys?: string[] | undefined;
|
|
35994
|
-
event_type: 'access_method.code_changed';
|
|
35995
|
-
/** The new PIN code for code access methods (only present when mode is 'code'). */
|
|
35996
|
-
code: string;
|
|
35997
35965
|
} | {
|
|
35998
35966
|
/** ID of the event. */
|
|
35999
35967
|
event_id: string;
|
|
@@ -37319,9 +37287,9 @@ export type Routes = {
|
|
|
37319
37287
|
/** IDs of the access codes for which you want to list events. */
|
|
37320
37288
|
access_code_ids?: string[] | undefined;
|
|
37321
37289
|
/** Type of the events that you want to list. */
|
|
37322
|
-
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_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | '
|
|
37290
|
+
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_grant.access_times_changed' | '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;
|
|
37323
37291
|
/** Types of the events that you want to list. */
|
|
37324
|
-
event_types?: ('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_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | '
|
|
37292
|
+
event_types?: ('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_grant.access_times_changed' | '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;
|
|
37325
37293
|
/** ID of the connected account for which you want to list events. */
|
|
37326
37294
|
connected_account_id?: string | undefined;
|
|
37327
37295
|
/** ID of the Connect Webview for which you want to list events. */
|
|
@@ -37918,24 +37886,6 @@ export type Routes = {
|
|
|
37918
37886
|
code?: string | undefined;
|
|
37919
37887
|
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
37920
37888
|
is_backup_code?: boolean | undefined;
|
|
37921
|
-
} | {
|
|
37922
|
-
/** ID of the event. */
|
|
37923
|
-
event_id: string;
|
|
37924
|
-
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
37925
|
-
workspace_id: string;
|
|
37926
|
-
/** Date and time at which the event was created. */
|
|
37927
|
-
created_at: string;
|
|
37928
|
-
/** Date and time at which the event occurred. */
|
|
37929
|
-
occurred_at: string;
|
|
37930
|
-
/** ID of the affected access method. */
|
|
37931
|
-
access_method_id: string;
|
|
37932
|
-
/** IDs of the access grants associated with this access method. */
|
|
37933
|
-
access_grant_ids: string[];
|
|
37934
|
-
/** Keys of the access grants associated with this access method (if present). */
|
|
37935
|
-
access_grant_keys?: string[] | undefined;
|
|
37936
|
-
event_type: 'access_method.code_changed';
|
|
37937
|
-
/** The new PIN code for code access methods (only present when mode is 'code'). */
|
|
37938
|
-
code: string;
|
|
37939
37889
|
} | {
|
|
37940
37890
|
/** ID of the event. */
|
|
37941
37891
|
event_id: string;
|
|
@@ -56430,9 +56380,9 @@ export type Routes = {
|
|
|
56430
56380
|
/** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
|
|
56431
56381
|
between?: (string | Date)[] | undefined;
|
|
56432
56382
|
/** Type of the events that you want to list. */
|
|
56433
|
-
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_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | '
|
|
56383
|
+
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_grant.access_times_changed' | '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;
|
|
56434
56384
|
/** Types of the events that you want to list. */
|
|
56435
|
-
event_types?: ('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_grant.access_times_changed' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | '
|
|
56385
|
+
event_types?: ('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_grant.access_times_changed' | '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;
|
|
56436
56386
|
/** Numerical limit on the number of events to return. */
|
|
56437
56387
|
limit?: number;
|
|
56438
56388
|
};
|
|
@@ -57023,24 +56973,6 @@ export type Routes = {
|
|
|
57023
56973
|
code?: string | undefined;
|
|
57024
56974
|
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
57025
56975
|
is_backup_code?: boolean | undefined;
|
|
57026
|
-
} | {
|
|
57027
|
-
/** ID of the event. */
|
|
57028
|
-
event_id: string;
|
|
57029
|
-
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
57030
|
-
workspace_id: string;
|
|
57031
|
-
/** Date and time at which the event was created. */
|
|
57032
|
-
created_at: string;
|
|
57033
|
-
/** Date and time at which the event occurred. */
|
|
57034
|
-
occurred_at: string;
|
|
57035
|
-
/** ID of the affected access method. */
|
|
57036
|
-
access_method_id: string;
|
|
57037
|
-
/** IDs of the access grants associated with this access method. */
|
|
57038
|
-
access_grant_ids: string[];
|
|
57039
|
-
/** Keys of the access grants associated with this access method (if present). */
|
|
57040
|
-
access_grant_keys?: string[] | undefined;
|
|
57041
|
-
event_type: 'access_method.code_changed';
|
|
57042
|
-
/** The new PIN code for code access methods (only present when mode is 'code'). */
|
|
57043
|
-
code: string;
|
|
57044
56976
|
} | {
|
|
57045
56977
|
/** ID of the event. */
|
|
57046
56978
|
event_id: string;
|
|
@@ -79917,6 +79849,10 @@ export type Routes = {
|
|
|
79917
79849
|
/**
|
|
79918
79850
|
* @deprecated Use `company_name` instead.*/
|
|
79919
79851
|
connect_partner_name: (string | null) | null;
|
|
79852
|
+
/** Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */
|
|
79853
|
+
publishable_key?: string | undefined;
|
|
79854
|
+
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
79855
|
+
is_publishable_key_auth_enabled: boolean;
|
|
79920
79856
|
};
|
|
79921
79857
|
};
|
|
79922
79858
|
};
|
|
@@ -80097,6 +80033,10 @@ export type Routes = {
|
|
|
80097
80033
|
/**
|
|
80098
80034
|
* @deprecated Use `company_name` instead.*/
|
|
80099
80035
|
connect_partner_name: (string | null) | null;
|
|
80036
|
+
/** Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */
|
|
80037
|
+
publishable_key?: string | undefined;
|
|
80038
|
+
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
80039
|
+
is_publishable_key_auth_enabled: boolean;
|
|
80100
80040
|
}[] | undefined;
|
|
80101
80041
|
spaces?: {
|
|
80102
80042
|
/** ID of the space. */
|
|
@@ -84714,24 +84654,6 @@ export type Routes = {
|
|
|
84714
84654
|
code?: string | undefined;
|
|
84715
84655
|
/** Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used). */
|
|
84716
84656
|
is_backup_code?: boolean | undefined;
|
|
84717
|
-
} | {
|
|
84718
|
-
/** ID of the event. */
|
|
84719
|
-
event_id: string;
|
|
84720
|
-
/** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event. */
|
|
84721
|
-
workspace_id: string;
|
|
84722
|
-
/** Date and time at which the event was created. */
|
|
84723
|
-
created_at: string;
|
|
84724
|
-
/** Date and time at which the event occurred. */
|
|
84725
|
-
occurred_at: string;
|
|
84726
|
-
/** ID of the affected access method. */
|
|
84727
|
-
access_method_id: string;
|
|
84728
|
-
/** IDs of the access grants associated with this access method. */
|
|
84729
|
-
access_grant_ids: string[];
|
|
84730
|
-
/** Keys of the access grants associated with this access method (if present). */
|
|
84731
|
-
access_grant_keys?: string[] | undefined;
|
|
84732
|
-
event_type: 'access_method.code_changed';
|
|
84733
|
-
/** The new PIN code for code access methods (only present when mode is 'code'). */
|
|
84734
|
-
code: string;
|
|
84735
84657
|
} | {
|
|
84736
84658
|
/** ID of the event. */
|
|
84737
84659
|
event_id: string;
|
|
@@ -87161,6 +87083,10 @@ export type Routes = {
|
|
|
87161
87083
|
/**
|
|
87162
87084
|
* @deprecated Use `company_name` instead.*/
|
|
87163
87085
|
connect_partner_name: (string | null) | null;
|
|
87086
|
+
/** Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */
|
|
87087
|
+
publishable_key?: string | undefined;
|
|
87088
|
+
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
87089
|
+
is_publishable_key_auth_enabled: boolean;
|
|
87164
87090
|
};
|
|
87165
87091
|
};
|
|
87166
87092
|
};
|
|
@@ -87198,6 +87124,10 @@ export type Routes = {
|
|
|
87198
87124
|
/**
|
|
87199
87125
|
* @deprecated Use `company_name` instead.*/
|
|
87200
87126
|
connect_partner_name: (string | null) | null;
|
|
87127
|
+
/** Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications. */
|
|
87128
|
+
publishable_key?: string | undefined;
|
|
87129
|
+
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
87130
|
+
is_publishable_key_auth_enabled: boolean;
|
|
87201
87131
|
}[];
|
|
87202
87132
|
};
|
|
87203
87133
|
};
|
|
@@ -88476,6 +88406,8 @@ export type Routes = {
|
|
|
88476
88406
|
/** Logo shape for [Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews) in the workspace. See also [Customize the Look and Feel of Your Connect Webviews](https://docs.seam.co/latest/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-look-and-feel-of-your-connect-webviews). */
|
|
88477
88407
|
logo_shape?: (('circle' | 'square') | null) | undefined;
|
|
88478
88408
|
} | undefined;
|
|
88409
|
+
/** Indicates whether publishable key authentication is enabled for this workspace. */
|
|
88410
|
+
is_publishable_key_auth_enabled?: boolean | undefined;
|
|
88479
88411
|
/** Indicates whether the workspace is suspended. */
|
|
88480
88412
|
is_suspended?: boolean | undefined;
|
|
88481
88413
|
};
|
package/package.json
CHANGED
|
@@ -73,39 +73,13 @@ export const access_method_deleted_event = access_method_event.extend({
|
|
|
73
73
|
An access method was deleted.
|
|
74
74
|
`)
|
|
75
75
|
|
|
76
|
-
export const access_method_reissued_event =
|
|
76
|
+
export const access_method_reissued_event = access_method_issued_event.extend({
|
|
77
77
|
event_type: z.literal('access_method.reissued'),
|
|
78
|
-
code: z
|
|
79
|
-
.string()
|
|
80
|
-
.optional()
|
|
81
|
-
.describe(
|
|
82
|
-
"The actual PIN code for code access methods (only present when mode is 'code').",
|
|
83
|
-
),
|
|
84
|
-
is_backup_code: z
|
|
85
|
-
.boolean()
|
|
86
|
-
.optional()
|
|
87
|
-
.describe(
|
|
88
|
-
"Indicates whether the code is a backup code (only present when mode is 'code' and a backup code was used).",
|
|
89
|
-
),
|
|
90
|
-
}).describe(`
|
|
91
|
-
---
|
|
92
|
-
route_path: /access_methods
|
|
93
|
-
---
|
|
94
|
-
An access method was reissued due to an Access Grant update.
|
|
95
|
-
`)
|
|
96
|
-
|
|
97
|
-
export const access_method_code_changed_event = access_method_event.extend({
|
|
98
|
-
event_type: z.literal('access_method.code_changed'),
|
|
99
|
-
code: z
|
|
100
|
-
.string()
|
|
101
|
-
.describe(
|
|
102
|
-
"The new PIN code for code access methods (only present when mode is 'code').",
|
|
103
|
-
),
|
|
104
78
|
}).describe(`
|
|
105
79
|
---
|
|
106
80
|
route_path: /access_methods
|
|
107
81
|
---
|
|
108
|
-
An access method
|
|
82
|
+
An access method was reissued.
|
|
109
83
|
`)
|
|
110
84
|
|
|
111
85
|
export type AccessMethodRevokedEvent = z.infer<
|
|
@@ -118,5 +92,4 @@ export const access_method_events = [
|
|
|
118
92
|
access_method_card_encoding_required_event,
|
|
119
93
|
access_method_deleted_event,
|
|
120
94
|
access_method_reissued_event,
|
|
121
|
-
access_method_code_changed_event,
|
|
122
95
|
] as const
|
|
@@ -70,6 +70,17 @@ export const workspace = z.object({
|
|
|
70
70
|
`,
|
|
71
71
|
)
|
|
72
72
|
.nullable(),
|
|
73
|
+
publishable_key: z
|
|
74
|
+
.string()
|
|
75
|
+
.optional()
|
|
76
|
+
.describe(
|
|
77
|
+
'Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications.',
|
|
78
|
+
),
|
|
79
|
+
is_publishable_key_auth_enabled: z
|
|
80
|
+
.boolean()
|
|
81
|
+
.describe(
|
|
82
|
+
'Indicates whether publishable key authentication is enabled for this workspace.',
|
|
83
|
+
),
|
|
73
84
|
}).describe(`
|
|
74
85
|
---
|
|
75
86
|
route_path: /workspaces
|
|
@@ -15104,8 +15104,7 @@ export default {
|
|
|
15104
15104
|
'x-route-path': '/access_methods',
|
|
15105
15105
|
},
|
|
15106
15106
|
{
|
|
15107
|
-
description:
|
|
15108
|
-
'An access method was reissued due to an Access Grant update.',
|
|
15107
|
+
description: 'An access method was reissued.',
|
|
15109
15108
|
properties: {
|
|
15110
15109
|
access_grant_ids: {
|
|
15111
15110
|
description:
|
|
@@ -15169,70 +15168,6 @@ export default {
|
|
|
15169
15168
|
type: 'object',
|
|
15170
15169
|
'x-route-path': '/access_methods',
|
|
15171
15170
|
},
|
|
15172
|
-
{
|
|
15173
|
-
description: "An access method's PIN code was changed.",
|
|
15174
|
-
properties: {
|
|
15175
|
-
access_grant_ids: {
|
|
15176
|
-
description:
|
|
15177
|
-
'IDs of the access grants associated with this access method.',
|
|
15178
|
-
items: { format: 'uuid', type: 'string' },
|
|
15179
|
-
type: 'array',
|
|
15180
|
-
},
|
|
15181
|
-
access_grant_keys: {
|
|
15182
|
-
description:
|
|
15183
|
-
'Keys of the access grants associated with this access method (if present).',
|
|
15184
|
-
items: { type: 'string' },
|
|
15185
|
-
type: 'array',
|
|
15186
|
-
},
|
|
15187
|
-
access_method_id: {
|
|
15188
|
-
description: 'ID of the affected access method.',
|
|
15189
|
-
format: 'uuid',
|
|
15190
|
-
type: 'string',
|
|
15191
|
-
},
|
|
15192
|
-
code: {
|
|
15193
|
-
description:
|
|
15194
|
-
"The new PIN code for code access methods (only present when mode is 'code').",
|
|
15195
|
-
type: 'string',
|
|
15196
|
-
},
|
|
15197
|
-
created_at: {
|
|
15198
|
-
description: 'Date and time at which the event was created.',
|
|
15199
|
-
format: 'date-time',
|
|
15200
|
-
type: 'string',
|
|
15201
|
-
},
|
|
15202
|
-
event_id: {
|
|
15203
|
-
description: 'ID of the event.',
|
|
15204
|
-
format: 'uuid',
|
|
15205
|
-
type: 'string',
|
|
15206
|
-
},
|
|
15207
|
-
event_type: {
|
|
15208
|
-
enum: ['access_method.code_changed'],
|
|
15209
|
-
type: 'string',
|
|
15210
|
-
},
|
|
15211
|
-
occurred_at: {
|
|
15212
|
-
description: 'Date and time at which the event occurred.',
|
|
15213
|
-
format: 'date-time',
|
|
15214
|
-
type: 'string',
|
|
15215
|
-
},
|
|
15216
|
-
workspace_id: {
|
|
15217
|
-
description:
|
|
15218
|
-
'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the event.',
|
|
15219
|
-
format: 'uuid',
|
|
15220
|
-
type: 'string',
|
|
15221
|
-
},
|
|
15222
|
-
},
|
|
15223
|
-
required: [
|
|
15224
|
-
'event_id',
|
|
15225
|
-
'workspace_id',
|
|
15226
|
-
'created_at',
|
|
15227
|
-
'occurred_at',
|
|
15228
|
-
'access_method_id',
|
|
15229
|
-
'access_grant_ids',
|
|
15230
|
-
'event_type',
|
|
15231
|
-
'code',
|
|
15232
|
-
],
|
|
15233
|
-
type: 'object',
|
|
15234
|
-
'x-route-path': '/access_methods',
|
|
15235
|
-
},
|
|
15236
15171
|
{
|
|
15237
15172
|
description:
|
|
15238
15173
|
'An [access system](https://docs.seam.co/latest/capability-guides/access-systems) was connected.',
|
|
@@ -25704,6 +25639,11 @@ export default {
|
|
|
25704
25639
|
},
|
|
25705
25640
|
type: 'object',
|
|
25706
25641
|
},
|
|
25642
|
+
is_publishable_key_auth_enabled: {
|
|
25643
|
+
description:
|
|
25644
|
+
'Indicates whether publishable key authentication is enabled for this workspace.',
|
|
25645
|
+
type: 'boolean',
|
|
25646
|
+
},
|
|
25707
25647
|
is_sandbox: {
|
|
25708
25648
|
description:
|
|
25709
25649
|
'Indicates whether the workspace is a [sandbox workspace](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces).',
|
|
@@ -25719,6 +25659,11 @@ export default {
|
|
|
25719
25659
|
'Name of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces).',
|
|
25720
25660
|
type: 'string',
|
|
25721
25661
|
},
|
|
25662
|
+
publishable_key: {
|
|
25663
|
+
description:
|
|
25664
|
+
'Publishable key for the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). This key is used to identify the workspace in client-side applications.',
|
|
25665
|
+
type: 'string',
|
|
25666
|
+
},
|
|
25722
25667
|
workspace_id: {
|
|
25723
25668
|
description:
|
|
25724
25669
|
'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces).',
|
|
@@ -25734,6 +25679,7 @@ export default {
|
|
|
25734
25679
|
'connect_webview_customization',
|
|
25735
25680
|
'is_suspended',
|
|
25736
25681
|
'connect_partner_name',
|
|
25682
|
+
'is_publishable_key_auth_enabled',
|
|
25737
25683
|
],
|
|
25738
25684
|
type: 'object',
|
|
25739
25685
|
'x-route-path': '/workspaces',
|
|
@@ -43621,7 +43567,6 @@ export default {
|
|
|
43621
43567
|
'access_method.card_encoding_required',
|
|
43622
43568
|
'access_method.deleted',
|
|
43623
43569
|
'access_method.reissued',
|
|
43624
|
-
'access_method.code_changed',
|
|
43625
43570
|
'acs_system.connected',
|
|
43626
43571
|
'acs_system.added',
|
|
43627
43572
|
'acs_system.disconnected',
|
|
@@ -43724,7 +43669,6 @@ export default {
|
|
|
43724
43669
|
'access_method.card_encoding_required',
|
|
43725
43670
|
'access_method.deleted',
|
|
43726
43671
|
'access_method.reissued',
|
|
43727
|
-
'access_method.code_changed',
|
|
43728
43672
|
'acs_system.connected',
|
|
43729
43673
|
'acs_system.added',
|
|
43730
43674
|
'acs_system.disconnected',
|
|
@@ -43982,7 +43926,6 @@ export default {
|
|
|
43982
43926
|
'access_method.card_encoding_required',
|
|
43983
43927
|
'access_method.deleted',
|
|
43984
43928
|
'access_method.reissued',
|
|
43985
|
-
'access_method.code_changed',
|
|
43986
43929
|
'acs_system.connected',
|
|
43987
43930
|
'acs_system.added',
|
|
43988
43931
|
'acs_system.disconnected',
|
|
@@ -44081,7 +44024,6 @@ export default {
|
|
|
44081
44024
|
'access_method.card_encoding_required',
|
|
44082
44025
|
'access_method.deleted',
|
|
44083
44026
|
'access_method.reissued',
|
|
44084
|
-
'access_method.code_changed',
|
|
44085
44027
|
'acs_system.connected',
|
|
44086
44028
|
'acs_system.added',
|
|
44087
44029
|
'acs_system.disconnected',
|
|
@@ -49257,7 +49199,6 @@ export default {
|
|
|
49257
49199
|
'access_method.card_encoding_required',
|
|
49258
49200
|
'access_method.deleted',
|
|
49259
49201
|
'access_method.reissued',
|
|
49260
|
-
'access_method.code_changed',
|
|
49261
49202
|
'acs_system.connected',
|
|
49262
49203
|
'acs_system.added',
|
|
49263
49204
|
'acs_system.disconnected',
|
|
@@ -49361,7 +49302,6 @@ export default {
|
|
|
49361
49302
|
'access_method.card_encoding_required',
|
|
49362
49303
|
'access_method.deleted',
|
|
49363
49304
|
'access_method.reissued',
|
|
49364
|
-
'access_method.code_changed',
|
|
49365
49305
|
'acs_system.connected',
|
|
49366
49306
|
'acs_system.added',
|
|
49367
49307
|
'acs_system.disconnected',
|
|
@@ -49528,7 +49468,6 @@ export default {
|
|
|
49528
49468
|
'access_method.card_encoding_required',
|
|
49529
49469
|
'access_method.deleted',
|
|
49530
49470
|
'access_method.reissued',
|
|
49531
|
-
'access_method.code_changed',
|
|
49532
49471
|
'acs_system.connected',
|
|
49533
49472
|
'acs_system.added',
|
|
49534
49473
|
'acs_system.disconnected',
|
|
@@ -49627,7 +49566,6 @@ export default {
|
|
|
49627
49566
|
'access_method.card_encoding_required',
|
|
49628
49567
|
'access_method.deleted',
|
|
49629
49568
|
'access_method.reissued',
|
|
49630
|
-
'access_method.code_changed',
|
|
49631
49569
|
'acs_system.connected',
|
|
49632
49570
|
'acs_system.added',
|
|
49633
49571
|
'acs_system.disconnected',
|
|
@@ -59413,6 +59351,11 @@ export default {
|
|
|
59413
59351
|
},
|
|
59414
59352
|
type: 'object',
|
|
59415
59353
|
},
|
|
59354
|
+
is_publishable_key_auth_enabled: {
|
|
59355
|
+
description:
|
|
59356
|
+
'Indicates whether publishable key authentication is enabled for this workspace.',
|
|
59357
|
+
type: 'boolean',
|
|
59358
|
+
},
|
|
59416
59359
|
is_suspended: {
|
|
59417
59360
|
description:
|
|
59418
59361
|
'Indicates whether the workspace is suspended.',
|
|
@@ -59490,6 +59433,11 @@ export default {
|
|
|
59490
59433
|
},
|
|
59491
59434
|
type: 'object',
|
|
59492
59435
|
},
|
|
59436
|
+
is_publishable_key_auth_enabled: {
|
|
59437
|
+
description:
|
|
59438
|
+
'Indicates whether publishable key authentication is enabled for this workspace.',
|
|
59439
|
+
type: 'boolean',
|
|
59440
|
+
},
|
|
59493
59441
|
is_suspended: {
|
|
59494
59442
|
description:
|
|
59495
59443
|
'Indicates whether the workspace is suspended.',
|