feat: add get recipient route (#1553)

This commit is contained in:
David Nguyen
2024-12-26 17:25:14 +11:00
committed by GitHub
parent 8a7ec7e982
commit 74382e21e7
7 changed files with 119 additions and 18 deletions

View File

@ -33,7 +33,8 @@ export const fieldRouter = router({
method: 'GET',
path: '/field/{fieldId}',
summary: 'Get field',
description: 'Returns a document or template field',
description:
'Returns a single field. If you want to retrieve all the fields for a document or template, use the "Get Document" or "Get Template" request.',
tags: ['Fields'],
},
})
@ -119,7 +120,7 @@ export const fieldRouter = router({
}),
/**
* @internal
* @private
*/
signFieldWithToken: procedure
.input(ZSignFieldWithTokenMutationSchema)
@ -138,7 +139,7 @@ export const fieldRouter = router({
}),
/**
* @internal
* @private
*/
removeSignedFieldWithToken: procedure
.input(ZRemovedSignedFieldWithTokenMutationSchema)