Get an Item and decrypt all of its Slots. Works for both owned and shared Items.
ItemId
duplicating method from share-service to avoid circular dependencies A shared Item may be either encrypted with a shared data-encryption key (DEK) or with the user's personal DEK. This method inspects the share record and returns the appropriate key.
Behaves like list but chains DecryptedItem constructor and preserves response metadata. Item attachments, thumbnails and associations are added to the appropriate Item and so are not present in the result.
If you want to pull all pages, use the following snippet
const allItems: DecryptedItems =
await getAllPaged(cursor => listDecrypted(credentials, filterOpts, { nextPageAfter: cursor })).then(reducePages);
True if the Item was received via a Share from another user. In that case, it must be decrypted with the Share DEK, not the user's own DEK.
Generated using TypeDoc
Used for fetching and sending
Items
to and from the Vault.