Successful response
import { DocumentUpdateDocumentResponse } from "@documenso/sdk-typescript/models/operations";
let value: DocumentUpdateDocumentResponse = {
visibility: "MANAGER_AND_ABOVE",
status: "DRAFT",
source: "TEMPLATE_DIRECT_LINK",
id: 6952.37,
externalId: "<id>",
userId: 4918.15,
authOptions: {
globalAccessAuth: "ACCOUNT",
globalActionAuth: "TWO_FACTOR_AUTH",
},
formValues: {
"key": 7173.77,
},
title: "<value>",
documentDataId: "<id>",
createdAt: "1719529127846",
updatedAt: "1744046959438",
completedAt: "<value>",
deletedAt: "<value>",
teamId: 8913.64,
templateId: 9922.73,
};
Field | Type | Required | Description |
---|---|---|---|
visibility |
operations.DocumentUpdateDocumentVisibilityResponse | ✔️ | N/A |
status |
operations.DocumentUpdateDocumentStatus | ✔️ | N/A |
source |
operations.DocumentUpdateDocumentSource | ✔️ | 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.DocumentUpdateDocumentAuthOptions | ✔️ | N/A |
formValues |
Record<string, operations.DocumentUpdateDocumentFormValues> | ✔️ | 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 |