@seamapi/types 1.1078.1 → 1.1080.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/lib/seam/connect/models/access-codes/managed-access-code.d.ts +16 -16
- package/lib/seam/connect/models/access-codes/managed-access-code.js +5 -5
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +5 -5
- package/lib/seam/connect/models/events/access-codes.d.ts +8 -8
- package/lib/seam/connect/models/events/access-codes.js +4 -4
- package/lib/seam/connect/models/events/seam-event.d.ts +4 -4
- package/lib/seam/connect/openapi.js +17 -15
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +28 -28
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +5 -5
- package/src/lib/seam/connect/models/events/access-codes.ts +6 -6
- package/src/lib/seam/connect/openapi.ts +17 -15
- package/src/lib/seam/connect/route-types.ts +28 -25
|
@@ -1988,7 +1988,7 @@ export type Routes = {
|
|
|
1988
1988
|
/** Date and time at which Seam created the error. */
|
|
1989
1989
|
created_at?: string | undefined;
|
|
1990
1990
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
1991
|
-
error_code: '
|
|
1991
|
+
error_code: 'failed_to_delete';
|
|
1992
1992
|
} | {
|
|
1993
1993
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
1994
1994
|
message: string;
|
|
@@ -2522,7 +2522,7 @@ export type Routes = {
|
|
|
2522
2522
|
/** Date and time at which Seam created the error. */
|
|
2523
2523
|
created_at?: string | undefined;
|
|
2524
2524
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
2525
|
-
error_code: '
|
|
2525
|
+
error_code: 'failed_to_delete';
|
|
2526
2526
|
} | {
|
|
2527
2527
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
2528
2528
|
message: string;
|
|
@@ -4874,7 +4874,7 @@ export type Routes = {
|
|
|
4874
4874
|
/** Date and time at which Seam created the error. */
|
|
4875
4875
|
created_at?: string | undefined;
|
|
4876
4876
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
4877
|
-
error_code: '
|
|
4877
|
+
error_code: 'failed_to_delete';
|
|
4878
4878
|
} | {
|
|
4879
4879
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
4880
4880
|
message: string;
|
|
@@ -5250,7 +5250,7 @@ export type Routes = {
|
|
|
5250
5250
|
/** Only return events that occurred after this timestamp (ISO 8601 format). */
|
|
5251
5251
|
after?: string | undefined;
|
|
5252
5252
|
/** Filter to only return specific event types. */
|
|
5253
|
-
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.deleted' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.
|
|
5253
|
+
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.deleted' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_delete' | '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.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'internal.access_code.programming_started' | 'internal.access_code.programming_finished' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed')[] | undefined;
|
|
5254
5254
|
};
|
|
5255
5255
|
formData: {};
|
|
5256
5256
|
jsonResponse: {
|
|
@@ -5258,7 +5258,7 @@ export type Routes = {
|
|
|
5258
5258
|
/** Unique identifier for this timeline event. */
|
|
5259
5259
|
timeline_event_id: string;
|
|
5260
5260
|
/** The type of timeline event. */
|
|
5261
|
-
event_type: 'access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.deleted' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.
|
|
5261
|
+
event_type: 'access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | 'access_code.deleted' | 'access_code.modified_external_to_seam' | 'access_code.deleted_external_to_seam' | 'access_code.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_delete' | '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.delay_in_removing_from_device' | 'access_code.failed_to_remove_from_device' | 'internal.access_code.programming_started' | 'internal.access_code.programming_finished' | 'access_code.backup_access_code_pulled' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed';
|
|
5262
5262
|
/** ISO 8601 timestamp when the event occurred. */
|
|
5263
5263
|
occurred_at: string;
|
|
5264
5264
|
/** Human-readable description of what happened. */
|
|
@@ -5456,7 +5456,7 @@ export type Routes = {
|
|
|
5456
5456
|
/** Date and time at which Seam created the error. */
|
|
5457
5457
|
created_at?: string | undefined;
|
|
5458
5458
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5459
|
-
error_code: '
|
|
5459
|
+
error_code: 'failed_to_delete';
|
|
5460
5460
|
} | {
|
|
5461
5461
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5462
5462
|
message: string;
|
|
@@ -5981,7 +5981,7 @@ export type Routes = {
|
|
|
5981
5981
|
/** Date and time at which Seam created the error. */
|
|
5982
5982
|
created_at?: string | undefined;
|
|
5983
5983
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
5984
|
-
error_code: '
|
|
5984
|
+
error_code: 'failed_to_delete';
|
|
5985
5985
|
} | {
|
|
5986
5986
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
5987
5987
|
message: string;
|
|
@@ -6483,7 +6483,7 @@ export type Routes = {
|
|
|
6483
6483
|
/** Date and time at which Seam created the error. */
|
|
6484
6484
|
created_at?: string | undefined;
|
|
6485
6485
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
6486
|
-
error_code: '
|
|
6486
|
+
error_code: 'failed_to_delete';
|
|
6487
6487
|
} | {
|
|
6488
6488
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
6489
6489
|
message: string;
|
|
@@ -7018,7 +7018,7 @@ export type Routes = {
|
|
|
7018
7018
|
/** Date and time at which Seam created the error. */
|
|
7019
7019
|
created_at?: string | undefined;
|
|
7020
7020
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
7021
|
-
error_code: '
|
|
7021
|
+
error_code: 'failed_to_delete';
|
|
7022
7022
|
} | {
|
|
7023
7023
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
7024
7024
|
message: string;
|
|
@@ -9279,7 +9279,7 @@ export type Routes = {
|
|
|
9279
9279
|
/** Date and time at which Seam created the error. */
|
|
9280
9280
|
created_at?: string | undefined;
|
|
9281
9281
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9282
|
-
error_code: '
|
|
9282
|
+
error_code: 'failed_to_delete';
|
|
9283
9283
|
} | {
|
|
9284
9284
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9285
9285
|
message: string;
|
|
@@ -9700,7 +9700,7 @@ export type Routes = {
|
|
|
9700
9700
|
/** Date and time at which Seam created the error. */
|
|
9701
9701
|
created_at?: string | undefined;
|
|
9702
9702
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
9703
|
-
error_code: '
|
|
9703
|
+
error_code: 'failed_to_delete';
|
|
9704
9704
|
} | {
|
|
9705
9705
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
9706
9706
|
message: string;
|
|
@@ -45174,7 +45174,7 @@ export type Routes = {
|
|
|
45174
45174
|
/** Array of device types for which you want to list devices. */
|
|
45175
45175
|
device_types?: (('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock' | 'akiles_lock' | 'ultraloq_lock' | 'yacan_lock' | 'keyincode_lock' | 'omnitec_lock' | 'kisi_lock' | 'aqara_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone') | ('ring_camera' | 'tapo_camera'))[] | undefined;
|
|
45176
45176
|
/** Manufacturer for which you want to list devices. */
|
|
45177
|
-
manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'two_n' | 'ttlock' | 'igloohome' | 'controlbyweb' | 'tedee' | 'keyincode' | 'akiles' | 'aqara' | 'ecobee' | 'dormakaba_oracode' | 'dormakaba_oracode_iho' | 'honeywell_resideo' | 'keynest' | 'korelock' | 'lockly' | 'minut' | 'nest' | 'noiseaware' | 'sensi' | 'smartthings' | 'tado' | 'ultraloq' | 'ring' | 'tapo' | 'ical' | 'lodgify' | 'hostaway' | 'guesty' | 'acuity_scheduling' | 'omnitec' | 'kisi' | 'slack' | 'yacan') | undefined;
|
|
45177
|
+
manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'two_n' | 'ttlock' | 'igloohome' | 'controlbyweb' | 'tedee' | 'keyincode' | 'akiles' | 'aqara' | 'ecobee' | 'eufy' | 'dormakaba_oracode' | 'dormakaba_oracode_iho' | 'honeywell_resideo' | 'keynest' | 'korelock' | 'lockly' | 'minut' | 'nest' | 'noiseaware' | 'sensi' | 'smartthings' | 'tado' | 'ultraloq' | 'ring' | 'tapo' | 'ical' | 'lodgify' | 'hostaway' | 'guesty' | 'acuity_scheduling' | 'omnitec' | 'kisi' | 'slack' | 'yacan') | undefined;
|
|
45178
45178
|
/** Array of device IDs for which you want to list devices. */
|
|
45179
45179
|
device_ids?: string[] | undefined;
|
|
45180
45180
|
/** Numerical limit on the number of devices to return. */
|
|
@@ -47430,7 +47430,7 @@ export type Routes = {
|
|
|
47430
47430
|
/** Array of device types for which you want to list devices. */
|
|
47431
47431
|
device_types?: (('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock' | 'akiles_lock' | 'ultraloq_lock' | 'yacan_lock' | 'keyincode_lock' | 'omnitec_lock' | 'kisi_lock' | 'aqara_lock') | 'keynest_key' | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat' | 'tado_thermostat' | 'sensi_thermostat' | 'smartthings_thermostat') | ('ios_phone' | 'android_phone') | ('ring_camera' | 'tapo_camera'))[] | undefined;
|
|
47432
47432
|
/** Manufacturer for which you want to list devices. */
|
|
47433
|
-
manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'two_n' | 'ttlock' | 'igloohome' | 'controlbyweb' | 'tedee' | 'keyincode' | 'akiles' | 'aqara' | 'ecobee' | 'dormakaba_oracode' | 'dormakaba_oracode_iho' | 'honeywell_resideo' | 'keynest' | 'korelock' | 'lockly' | 'minut' | 'nest' | 'noiseaware' | 'sensi' | 'smartthings' | 'tado' | 'ultraloq' | 'ring' | 'tapo' | 'ical' | 'lodgify' | 'hostaway' | 'guesty' | 'acuity_scheduling' | 'omnitec' | 'kisi' | 'slack' | 'yacan') | undefined;
|
|
47433
|
+
manufacturer?: ('akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'doorking' | 'four_suites' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'wyze' | 'yale' | 'two_n' | 'ttlock' | 'igloohome' | 'controlbyweb' | 'tedee' | 'keyincode' | 'akiles' | 'aqara' | 'ecobee' | 'eufy' | 'dormakaba_oracode' | 'dormakaba_oracode_iho' | 'honeywell_resideo' | 'keynest' | 'korelock' | 'lockly' | 'minut' | 'nest' | 'noiseaware' | 'sensi' | 'smartthings' | 'tado' | 'ultraloq' | 'ring' | 'tapo' | 'ical' | 'lodgify' | 'hostaway' | 'guesty' | 'acuity_scheduling' | 'omnitec' | 'kisi' | 'slack' | 'yacan') | undefined;
|
|
47434
47434
|
/** Array of device IDs for which you want to list devices. */
|
|
47435
47435
|
device_ids?: string[] | undefined;
|
|
47436
47436
|
/** Timestamp by which to limit returned devices. Returns devices created before this timestamp. */
|
|
@@ -48768,7 +48768,7 @@ export type Routes = {
|
|
|
48768
48768
|
connected_account_custom_metadata?: {
|
|
48769
48769
|
[x: string]: string | boolean;
|
|
48770
48770
|
} | undefined;
|
|
48771
|
-
event_type: 'access_code.
|
|
48771
|
+
event_type: 'access_code.failed_to_delete';
|
|
48772
48772
|
/** Errors associated with the connected account. */
|
|
48773
48773
|
connected_account_errors: {
|
|
48774
48774
|
/** Date and time at which Seam created the error. */
|
|
@@ -51606,9 +51606,9 @@ export type Routes = {
|
|
|
51606
51606
|
/** IDs of the access codes for which you want to list events. */
|
|
51607
51607
|
access_code_ids?: string[] | undefined;
|
|
51608
51608
|
/** Type of the events that you want to list. */
|
|
51609
|
-
event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | '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.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.
|
|
51609
|
+
event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | '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.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_delete' | '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_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | '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' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.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' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
|
|
51610
51610
|
/** Types of the events that you want to list. */
|
|
51611
|
-
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | '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.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.
|
|
51611
|
+
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | '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.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_delete' | '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_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | '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' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.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' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
|
|
51612
51612
|
/** ID of the connected account for which you want to list events. */
|
|
51613
51613
|
connected_account_id?: string | undefined;
|
|
51614
51614
|
/** ID of the Connect Webview for which you want to list events. */
|
|
@@ -52399,7 +52399,7 @@ export type Routes = {
|
|
|
52399
52399
|
connected_account_custom_metadata?: {
|
|
52400
52400
|
[x: string]: string | boolean;
|
|
52401
52401
|
} | undefined;
|
|
52402
|
-
event_type: 'access_code.
|
|
52402
|
+
event_type: 'access_code.failed_to_delete';
|
|
52403
52403
|
/** Errors associated with the connected account. */
|
|
52404
52404
|
connected_account_errors: {
|
|
52405
52405
|
/** Date and time at which Seam created the error. */
|
|
@@ -60192,7 +60192,7 @@ export type Routes = {
|
|
|
60192
60192
|
/** Device types of the locks that you want to list. */
|
|
60193
60193
|
device_types?: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock' | 'akiles_lock' | 'ultraloq_lock' | 'yacan_lock' | 'keyincode_lock' | 'omnitec_lock' | 'kisi_lock' | 'aqara_lock')[] | undefined;
|
|
60194
60194
|
/** Manufacturer of the locks that you want to list. */
|
|
60195
|
-
manufacturer?: ('akuvox' | 'august' | 'brivo' | 'butterflymx' | 'avigilon_alta' | 'doorking' | 'genie' | 'igloo' | 'linear' | 'kwikset' | 'nuki' | 'salto' | 'schlage' | 'seam' | 'wyze' | 'yale' | 'two_n' | 'controlbyweb' | 'ttlock' | 'igloohome' | 'four_suites' | 'tedee' | 'keyincode' | 'akiles' | 'aqara' | 'dormakaba_oracode' | 'dormakaba_oracode_iho' | 'korelock' | 'lockly' | 'smartthings' | 'ultraloq' | 'omnitec' | 'kisi' | 'yacan') | undefined;
|
|
60195
|
+
manufacturer?: ('akuvox' | 'august' | 'brivo' | 'butterflymx' | 'avigilon_alta' | 'doorking' | 'genie' | 'igloo' | 'linear' | 'kwikset' | 'nuki' | 'salto' | 'schlage' | 'seam' | 'wyze' | 'yale' | 'two_n' | 'controlbyweb' | 'ttlock' | 'igloohome' | 'four_suites' | 'tedee' | 'keyincode' | 'akiles' | 'aqara' | 'eufy' | 'dormakaba_oracode' | 'dormakaba_oracode_iho' | 'korelock' | 'lockly' | 'smartthings' | 'ultraloq' | 'omnitec' | 'kisi' | 'yacan') | undefined;
|
|
60196
60196
|
};
|
|
60197
60197
|
formData: {};
|
|
60198
60198
|
jsonResponse: {
|
|
@@ -83593,9 +83593,9 @@ export type Routes = {
|
|
|
83593
83593
|
/** Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include `since` or `between`. */
|
|
83594
83594
|
between?: string[] | undefined;
|
|
83595
83595
|
/** Type of the events that you want to list. */
|
|
83596
|
-
event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | '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.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.
|
|
83596
|
+
event_type?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | '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.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_delete' | '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_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | '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' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.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' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted') | undefined;
|
|
83597
83597
|
/** Types of the events that you want to list. */
|
|
83598
|
-
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | '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.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.
|
|
83598
|
+
event_types?: ('access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | '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.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_delete' | '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_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | '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' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.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' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted')[] | undefined;
|
|
83599
83599
|
/** Numerical limit on the number of events to return. */
|
|
83600
83600
|
limit?: number;
|
|
83601
83601
|
};
|
|
@@ -84356,7 +84356,7 @@ export type Routes = {
|
|
|
84356
84356
|
connected_account_custom_metadata?: {
|
|
84357
84357
|
[x: string]: string | boolean;
|
|
84358
84358
|
} | undefined;
|
|
84359
|
-
event_type: 'access_code.
|
|
84359
|
+
event_type: 'access_code.failed_to_delete';
|
|
84360
84360
|
/** Errors associated with the connected account. */
|
|
84361
84361
|
connected_account_errors: {
|
|
84362
84362
|
/** Date and time at which Seam created the error. */
|
|
@@ -89200,7 +89200,7 @@ export type Routes = {
|
|
|
89200
89200
|
route: '/seam/webhooks/[provider]/[subscription_id]';
|
|
89201
89201
|
method: 'POST';
|
|
89202
89202
|
queryParams: {};
|
|
89203
|
-
jsonBody:
|
|
89203
|
+
jsonBody: {};
|
|
89204
89204
|
commonParams: {};
|
|
89205
89205
|
formData: {};
|
|
89206
89206
|
jsonResponse: {};
|
|
@@ -89212,7 +89212,7 @@ export type Routes = {
|
|
|
89212
89212
|
queryParams: {};
|
|
89213
89213
|
jsonBody: {
|
|
89214
89214
|
/** Type of the event that you want to preview. */
|
|
89215
|
-
event_type: 'access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | '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.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.
|
|
89215
|
+
event_type: 'access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | '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.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_delete' | '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_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | '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' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.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' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted';
|
|
89216
89216
|
/** Event payload fields that you want to set explicitly. Each field that you provide overrides the value that Seam would otherwise fill in. */
|
|
89217
89217
|
payload?: {
|
|
89218
89218
|
[x: string]: unknown;
|
|
@@ -89240,7 +89240,7 @@ export type Routes = {
|
|
|
89240
89240
|
queryParams: {};
|
|
89241
89241
|
jsonBody: {
|
|
89242
89242
|
/** Type of the event that you want to send to your webhooks. */
|
|
89243
|
-
event_type: 'access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | '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.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.
|
|
89243
|
+
event_type: 'access_code.created' | 'access_code.changed' | 'access_code.name_changed' | 'access_code.code_changed' | 'access_code.time_frame_changed' | 'access_code.mutations_requested' | '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.issued' | 'access_code.delay_in_issuing' | 'access_code.failed_to_issue' | 'access_code.failed_to_update' | 'access_code.failed_to_delete' | '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_grant.could_not_create_requested_access_methods' | 'access_method.issued' | 'access_method.revoked' | 'access_method.card_encoding_required' | 'access_method.deleted' | 'access_method.reissued' | 'access_method.created' | 'access_method.delay_in_issuing' | 'access_method.failed_to_issue' | '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' | 'connected_account.reauthorization_requested' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'action_attempt.simulate_keypad_code_entry.succeeded' | 'action_attempt.simulate_keypad_code_entry.failed' | 'action_attempt.simulate_manual_lock_via_keypad.succeeded' | 'action_attempt.simulate_manual_lock_via_keypad.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' | 'camera.activated' | 'device.doorbell_rang' | 'enrollment_automation.deleted' | 'phone.deactivated' | 'space.device_membership_changed' | 'space.created' | 'space.deleted';
|
|
89244
89244
|
/** Event payload fields that you want to set explicitly. Each field that you provide overrides the value that Seam would otherwise fill in. */
|
|
89245
89245
|
payload?: {
|
|
89246
89246
|
[x: string]: unknown;
|
|
@@ -90007,7 +90007,7 @@ export type Routes = {
|
|
|
90007
90007
|
connected_account_custom_metadata?: {
|
|
90008
90008
|
[x: string]: string | boolean;
|
|
90009
90009
|
} | undefined;
|
|
90010
|
-
event_type: 'access_code.
|
|
90010
|
+
event_type: 'access_code.failed_to_delete';
|
|
90011
90011
|
/** Errors associated with the connected account. */
|
|
90012
90012
|
connected_account_errors: {
|
|
90013
90013
|
/** Date and time at which Seam created the error. */
|
|
@@ -128344,7 +128344,7 @@ export type Routes = {
|
|
|
128344
128344
|
connected_account_custom_metadata?: {
|
|
128345
128345
|
[x: string]: string | boolean;
|
|
128346
128346
|
} | undefined;
|
|
128347
|
-
event_type: 'access_code.
|
|
128347
|
+
event_type: 'access_code.failed_to_delete';
|
|
128348
128348
|
/** Errors associated with the connected account. */
|
|
128349
128349
|
connected_account_errors: {
|
|
128350
128350
|
/** Date and time at which Seam created the error. */
|
|
@@ -131608,7 +131608,7 @@ export type Routes = {
|
|
|
131608
131608
|
/** Date and time at which Seam created the error. */
|
|
131609
131609
|
created_at?: string | undefined;
|
|
131610
131610
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
131611
|
-
error_code: '
|
|
131611
|
+
error_code: 'failed_to_delete';
|
|
131612
131612
|
} | {
|
|
131613
131613
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
131614
131614
|
message: string;
|
|
@@ -132013,7 +132013,7 @@ export type Routes = {
|
|
|
132013
132013
|
/** Date and time at which Seam created the error. */
|
|
132014
132014
|
created_at?: string | undefined;
|
|
132015
132015
|
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
|
|
132016
|
-
error_code: '
|
|
132016
|
+
error_code: 'failed_to_delete';
|
|
132017
132017
|
} | {
|
|
132018
132018
|
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
132019
132019
|
message: string;
|
package/package.json
CHANGED
|
@@ -143,14 +143,14 @@ const failed_to_update = common_access_code_error.extend({
|
|
|
143
143
|
Seam was unable to apply this access code's requested update to the device, so the code on the device does not match its requested state. Seam keeps retrying, and this error clears automatically once the update is applied.
|
|
144
144
|
`)
|
|
145
145
|
|
|
146
|
-
const
|
|
147
|
-
error_code: z.literal('
|
|
146
|
+
const failed_to_delete = common_access_code_error.extend({
|
|
147
|
+
error_code: z.literal('failed_to_delete').describe(error_code_description),
|
|
148
148
|
}).describe(`
|
|
149
149
|
---
|
|
150
150
|
resource_type: access_code
|
|
151
151
|
undocumented: Unreleased.
|
|
152
152
|
---
|
|
153
|
-
This access code is still active on the device even though its \`ends_at\` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to
|
|
153
|
+
This access code is still active on the device even though its \`ends_at\` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to delete it, and this error clears automatically once the access code is no longer active.
|
|
154
154
|
`)
|
|
155
155
|
|
|
156
156
|
const access_code_inactive_error = common_access_code_error.extend({
|
|
@@ -187,7 +187,7 @@ const access_code_error = z
|
|
|
187
187
|
code_constraints_violated,
|
|
188
188
|
failed_to_issue,
|
|
189
189
|
failed_to_update,
|
|
190
|
-
|
|
190
|
+
failed_to_delete,
|
|
191
191
|
])
|
|
192
192
|
.describe(
|
|
193
193
|
'Errors associated with the [access code](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes).',
|
|
@@ -212,7 +212,7 @@ const _access_code_error_map = z.object({
|
|
|
212
212
|
code_constraints_violated: code_constraints_violated.optional().nullable(),
|
|
213
213
|
failed_to_issue: failed_to_issue.optional().nullable(),
|
|
214
214
|
failed_to_update: failed_to_update.optional().nullable(),
|
|
215
|
-
|
|
215
|
+
failed_to_delete: failed_to_delete.optional().nullable(),
|
|
216
216
|
})
|
|
217
217
|
|
|
218
218
|
export type AccessCodeErrorMap = z.infer<typeof _access_code_error_map>
|
|
@@ -361,20 +361,20 @@ export type AccessCodeFailedToUpdateEvent = z.infer<
|
|
|
361
361
|
typeof access_code_failed_to_update_event
|
|
362
362
|
>
|
|
363
363
|
|
|
364
|
-
export const
|
|
364
|
+
export const access_code_failed_to_delete_event = access_code_event
|
|
365
365
|
.extend({
|
|
366
|
-
event_type: z.literal('access_code.
|
|
366
|
+
event_type: z.literal('access_code.failed_to_delete'),
|
|
367
367
|
})
|
|
368
368
|
.extend(access_code_event_issue_properties).describe(`
|
|
369
369
|
---
|
|
370
370
|
route_path: /access_codes
|
|
371
371
|
undocumented: Unreleased.
|
|
372
372
|
---
|
|
373
|
-
An [access code](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes) is still active on the device even though its \`ends_at\` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to
|
|
373
|
+
An [access code](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes) is still active on the device even though its \`ends_at\` has passed, so the recipient may still be able to unlock the device after their access window ended. Seam is attempting to delete it, and the accompanying \`failed_to_delete\` error clears automatically once the access code is no longer active.
|
|
374
374
|
`)
|
|
375
375
|
|
|
376
|
-
export type
|
|
377
|
-
typeof
|
|
376
|
+
export type AccessCodeFailedToDeleteEvent = z.infer<
|
|
377
|
+
typeof access_code_failed_to_delete_event
|
|
378
378
|
>
|
|
379
379
|
|
|
380
380
|
export const access_code_deleted_event = access_code_event.extend({
|
|
@@ -541,7 +541,7 @@ export const access_code_events = [
|
|
|
541
541
|
access_code_delay_in_issuing_event,
|
|
542
542
|
access_code_failed_to_issue_event,
|
|
543
543
|
access_code_failed_to_update_event,
|
|
544
|
-
|
|
544
|
+
access_code_failed_to_delete_event,
|
|
545
545
|
access_code_deleted_event,
|
|
546
546
|
access_code_delay_in_removing_from_device_event,
|
|
547
547
|
access_code_failed_to_remove_from_device_event,
|