diff --git a/package-lock.json b/package-lock.json index a29da54..14b109d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1307,9 +1307,9 @@ "license": "MIT" }, "node_modules/@seamapi/types": { - "version": "1.821.0", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.821.0.tgz", - "integrity": "sha512-1u/iv5iOSGc7C7BpDK37xq9eaL8kJPKBMUa3k8TsXlB3u9p4/1txmeet3sYO8qoIZ/KjSzsc+4G+aCN1YVsPiw==", + "version": "1.827.0", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.827.0.tgz", + "integrity": "sha512-6O00BEPCobbqKnNYm5948p+bA6LKk1N3QJaZBXILLOK2hu06QscpB9XxmLl1bhHANQMehtXGPAjA/bDccpMQtA==", "dev": true, "license": "MIT", "engines": { diff --git a/test/snapshots/seam-blueprint.test.ts.md b/test/snapshots/seam-blueprint.test.ts.md index cda0f78..3f3dda6 100644 --- a/test/snapshots/seam-blueprint.test.ts.md +++ b/test/snapshots/seam-blueprint.test.ts.md @@ -21223,7 +21223,7 @@ Generated by [AVA](https://avajs.dev). }, { deprecationMessage: '', - description: 'ID of the action attempt associated with the lock action.', + description: 'ID of the Seam action attempt that triggered this lock. Present only when the lock was initiated through Seam (via a `LOCK_DOOR` action attempt).', draftMessage: '', format: 'id', isDeprecated: false, @@ -21359,13 +21359,26 @@ Generated by [AVA](https://avajs.dev). isDraft: false, isUndocumented: false, jsonType: 'boolean', - name: 'is_bluetooth_action', + name: 'is_via_bluetooth', propertyGroupKey: null, undocumentedMessage: '', }, { deprecationMessage: '', - description: 'Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device.', + description: 'Whether the lock action was performed by an NFC credential tap (such as an Apple Home Key or an NFC key fob) presented to the lock, rather than a direct physical interaction or a Seam-initiated remote action.', + draftMessage: '', + format: 'boolean', + isDeprecated: false, + isDraft: false, + isUndocumented: false, + jsonType: 'boolean', + name: 'is_via_nfc', + propertyGroupKey: null, + undocumentedMessage: '', + }, + { + deprecationMessage: '', + description: 'Method by which the lock was locked. `keycode`: an access code was used (see `access_code_id`). `manual`: a physical action such as a thumbturn or button press. `remote`: a remote action via an app, Bluetooth, or the Seam API (see `action_attempt_id` if Seam-initiated; see `is_via_bluetooth` or `is_via_nfc` for the transport). `automatic`: triggered automatically, for example by an auto-relock timer. `unknown`: could not be determined.', draftMessage: '', format: 'enum', isDeprecated: false, @@ -21543,7 +21556,7 @@ Generated by [AVA](https://avajs.dev). }, { deprecationMessage: '', - description: 'ID of the action attempt associated with the unlock action.', + description: 'ID of the Seam action attempt that triggered this unlock. Present only when the unlock was initiated through Seam (via an `UNLOCK_DOOR` action attempt).', draftMessage: '', format: 'id', isDeprecated: false, @@ -21679,13 +21692,26 @@ Generated by [AVA](https://avajs.dev). isDraft: false, isUndocumented: false, jsonType: 'boolean', - name: 'is_bluetooth_action', + name: 'is_via_bluetooth', + propertyGroupKey: null, + undocumentedMessage: '', + }, + { + deprecationMessage: '', + description: 'Whether the unlock action was performed by an NFC credential tap (such as an Apple Home Key or an NFC key fob) presented to the lock, rather than a direct physical interaction or a Seam-initiated remote action.', + draftMessage: '', + format: 'boolean', + isDeprecated: false, + isDraft: false, + isUndocumented: false, + jsonType: 'boolean', + name: 'is_via_nfc', propertyGroupKey: null, undocumentedMessage: '', }, { deprecationMessage: '', - description: 'Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device.', + description: 'Method by which the lock was unlocked. `keycode`: an [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) was used (see `access_code_id`). `manual`: a physical action such as a thumbturn or handle press. `remote`: a remote action via an app, Bluetooth, or the Seam API (see `action_attempt_id` if Seam-initiated; see `is_via_bluetooth` or `is_via_nfc` for the transport). `automatic`: triggered automatically, for example by a time-based schedule. `unknown`: could not be determined.', draftMessage: '', format: 'enum', isDeprecated: false, @@ -25452,6 +25478,19 @@ Generated by [AVA](https://avajs.dev). propertyGroupKey: null, undocumentedMessage: '', }, + { + deprecationMessage: '', + description: 'ID of the managed access code that conflicts with this managed access code, when Seam can identify it.', + draftMessage: '', + format: 'id', + isDeprecated: false, + isDraft: false, + isUndocumented: false, + jsonType: 'string', + name: 'managed_access_code_id', + propertyGroupKey: null, + undocumentedMessage: '', + }, { deprecationMessage: '', description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.', @@ -25465,6 +25504,19 @@ Generated by [AVA](https://avajs.dev). propertyGroupKey: null, undocumentedMessage: '', }, + { + deprecationMessage: '', + description: 'ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it.', + draftMessage: '', + format: 'id', + isDeprecated: false, + isDraft: false, + isUndocumented: false, + jsonType: 'string', + name: 'unmanaged_access_code_id', + propertyGroupKey: null, + undocumentedMessage: '', + }, ], variantGroupKey: null, }, @@ -57861,6 +57913,19 @@ Generated by [AVA](https://avajs.dev). propertyGroupKey: null, undocumentedMessage: '', }, + { + deprecationMessage: '', + description: 'ID of the managed access code that conflicts with this managed access code, when Seam can identify it.', + draftMessage: '', + format: 'id', + isDeprecated: false, + isDraft: false, + isUndocumented: false, + jsonType: 'string', + name: 'managed_access_code_id', + propertyGroupKey: null, + undocumentedMessage: '', + }, { deprecationMessage: '', description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.', @@ -57874,6 +57939,19 @@ Generated by [AVA](https://avajs.dev). propertyGroupKey: null, undocumentedMessage: '', }, + { + deprecationMessage: '', + description: 'ID of the unmanaged access code that conflicts with this managed access code, when Seam can identify it.', + draftMessage: '', + format: 'id', + isDeprecated: false, + isDraft: false, + isUndocumented: false, + jsonType: 'string', + name: 'unmanaged_access_code_id', + propertyGroupKey: null, + undocumentedMessage: '', + }, ], variantGroupKey: null, }, @@ -60129,7 +60207,7 @@ Generated by [AVA](https://avajs.dev). }, { deprecationMessage: '', - description: 'Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational.', + description: 'Current status of the access code within the operational lifecycle. `set` indicates that the code is active and operational. `unset` indicates that the code exists on the provider but is not usable on the device.', draftMessage: '', format: 'enum', isDeprecated: false, @@ -60150,6 +60228,16 @@ Generated by [AVA](https://avajs.dev). name: 'set', undocumentedMessage: '', }, + { + deprecationMessage: '', + description: '', + draftMessage: '', + isDeprecated: false, + isDraft: false, + isUndocumented: false, + name: 'unset', + undocumentedMessage: '', + }, ], }, { diff --git a/test/snapshots/seam-blueprint.test.ts.snap b/test/snapshots/seam-blueprint.test.ts.snap index d39f177..c0f0d5c 100644 Binary files a/test/snapshots/seam-blueprint.test.ts.snap and b/test/snapshots/seam-blueprint.test.ts.snap differ