Successful response
import { DocumentSendDocumentResponse } from "@documenso/sdk-typescript/models/operations";
let value: DocumentSendDocumentResponse = {
visibility: "MANAGER_AND_ABOVE",
status: "REJECTED",
source: "TEMPLATE_DIRECT_LINK",
id: 5679.36,
externalId: "<id>",
userId: 1995.85,
authOptions: {
globalAccessAuth: "ACCOUNT",
globalActionAuth: "TWO_FACTOR_AUTH",
},
formValues: {
"key": false,
},
title: "<value>",
documentDataId: "<id>",
createdAt: "1731473538977",
updatedAt: "1743990348429",
completedAt: "<value>",
deletedAt: "<value>",
teamId: 9044.23,
templateId: 7809.65,
};
Field | Type | Required | Description |
---|---|---|---|
visibility |
operations.DocumentSendDocumentVisibility | ✔️ | N/A |
status |
operations.DocumentSendDocumentStatus | ✔️ | N/A |
source |
operations.DocumentSendDocumentSource | ✔️ | N/A |
id |
number | ✔️ | N/A |
externalId |
string | ✔️ | A custom external ID you can use to identify the document. |
userId |
number | ✔️ | The ID of the user that created this document. |
authOptions |
operations.DocumentSendDocumentAuthOptions | ✔️ | N/A |
formValues |
Record<string, operations.DocumentSendDocumentFormValues> | ✔️ | N/A |
title |
string | ✔️ | N/A |
documentDataId |
string | ✔️ | N/A |
createdAt |
string | ✔️ | N/A |
updatedAt |
string | ✔️ | N/A |
completedAt |
string | ✔️ | N/A |
deletedAt |
string | ✔️ | N/A |
teamId |
number | ✔️ | N/A |
templateId |
number | ✔️ | N/A |