@seamapi/types 1.167.0 → 1.169.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 +12 -6
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +12 -3
- package/lib/seam/connect/openapi.d.ts +8 -0
- package/lib/seam/connect/openapi.js +8 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +4 -3
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +8 -2
- package/src/lib/seam/connect/route-types.ts +6 -1
|
@@ -1064,7 +1064,8 @@ export interface Routes {
|
|
|
1064
1064
|
queryParams: {};
|
|
1065
1065
|
jsonBody: {
|
|
1066
1066
|
acs_credential_id: string;
|
|
1067
|
-
code
|
|
1067
|
+
code?: string | undefined;
|
|
1068
|
+
ends_at?: string | undefined;
|
|
1068
1069
|
};
|
|
1069
1070
|
commonParams: {};
|
|
1070
1071
|
formData: {};
|
|
@@ -3427,8 +3428,8 @@ export interface Routes {
|
|
|
3427
3428
|
device_ids?: string[] | undefined;
|
|
3428
3429
|
access_code_id?: string | undefined;
|
|
3429
3430
|
access_code_ids?: string[] | undefined;
|
|
3430
|
-
event_type?: ('device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | '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' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed') | undefined;
|
|
3431
|
-
event_types?: Array<'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | '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' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed'> | undefined;
|
|
3431
|
+
event_type?: ('device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | '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' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed') | undefined;
|
|
3432
|
+
event_types?: Array<'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | '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' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_user.deleted' | 'acs_credential.deleted' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed'> | undefined;
|
|
3432
3433
|
connected_account_id?: string | undefined;
|
|
3433
3434
|
limit?: number;
|
|
3434
3435
|
};
|
package/package.json
CHANGED
|
@@ -4728,8 +4728,9 @@ export default {
|
|
|
4728
4728
|
properties: {
|
|
4729
4729
|
acs_credential_id: { type: 'string' },
|
|
4730
4730
|
code: { pattern: '^\\d+$', type: 'string' },
|
|
4731
|
+
ends_at: { format: 'date-time', type: 'string' },
|
|
4731
4732
|
},
|
|
4732
|
-
required: ['acs_credential_id'
|
|
4733
|
+
required: ['acs_credential_id'],
|
|
4733
4734
|
type: 'object',
|
|
4734
4735
|
},
|
|
4735
4736
|
},
|
|
@@ -4774,8 +4775,9 @@ export default {
|
|
|
4774
4775
|
properties: {
|
|
4775
4776
|
acs_credential_id: { type: 'string' },
|
|
4776
4777
|
code: { pattern: '^\\d+$', type: 'string' },
|
|
4778
|
+
ends_at: { format: 'date-time', type: 'string' },
|
|
4777
4779
|
},
|
|
4778
|
-
required: ['acs_credential_id'
|
|
4780
|
+
required: ['acs_credential_id'],
|
|
4779
4781
|
type: 'object',
|
|
4780
4782
|
},
|
|
4781
4783
|
},
|
|
@@ -7946,6 +7948,8 @@ export default {
|
|
|
7946
7948
|
'client_session.deleted',
|
|
7947
7949
|
'action_attempt.lock_door.succeeded',
|
|
7948
7950
|
'action_attempt.lock_door.failed',
|
|
7951
|
+
'action_attempt.unlock_door.succeeded',
|
|
7952
|
+
'action_attempt.unlock_door.failed',
|
|
7949
7953
|
],
|
|
7950
7954
|
type: 'string',
|
|
7951
7955
|
},
|
|
@@ -8007,6 +8011,8 @@ export default {
|
|
|
8007
8011
|
'client_session.deleted',
|
|
8008
8012
|
'action_attempt.lock_door.succeeded',
|
|
8009
8013
|
'action_attempt.lock_door.failed',
|
|
8014
|
+
'action_attempt.unlock_door.succeeded',
|
|
8015
|
+
'action_attempt.unlock_door.failed',
|
|
8010
8016
|
],
|
|
8011
8017
|
type: 'string',
|
|
8012
8018
|
},
|
|
@@ -1156,7 +1156,8 @@ export interface Routes {
|
|
|
1156
1156
|
queryParams: {}
|
|
1157
1157
|
jsonBody: {
|
|
1158
1158
|
acs_credential_id: string
|
|
1159
|
-
code
|
|
1159
|
+
code?: string | undefined
|
|
1160
|
+
ends_at?: string | undefined
|
|
1160
1161
|
}
|
|
1161
1162
|
commonParams: {}
|
|
1162
1163
|
formData: {}
|
|
@@ -4609,6 +4610,8 @@ export interface Routes {
|
|
|
4609
4610
|
| 'client_session.deleted'
|
|
4610
4611
|
| 'action_attempt.lock_door.succeeded'
|
|
4611
4612
|
| 'action_attempt.lock_door.failed'
|
|
4613
|
+
| 'action_attempt.unlock_door.succeeded'
|
|
4614
|
+
| 'action_attempt.unlock_door.failed'
|
|
4612
4615
|
)
|
|
4613
4616
|
| undefined
|
|
4614
4617
|
event_types?:
|
|
@@ -4668,6 +4671,8 @@ export interface Routes {
|
|
|
4668
4671
|
| 'client_session.deleted'
|
|
4669
4672
|
| 'action_attempt.lock_door.succeeded'
|
|
4670
4673
|
| 'action_attempt.lock_door.failed'
|
|
4674
|
+
| 'action_attempt.unlock_door.succeeded'
|
|
4675
|
+
| 'action_attempt.unlock_door.failed'
|
|
4671
4676
|
>
|
|
4672
4677
|
| undefined
|
|
4673
4678
|
connected_account_id?: string | undefined
|