Successful response
import { FieldCreateDocumentFieldResponseBody } from "@documenso/sdk-typescript/models/operations";
let value: FieldCreateDocumentFieldResponseBody = {
type: "DATE",
id: 914864,
secondaryId: "<id>",
documentId: 49348,
templateId: 292888,
recipientId: 715053,
page: 4181.09,
customText: "<value>",
inserted: false,
fieldMeta: {
type: "name",
},
};
Field | Type | Required | Description |
---|---|---|---|
type |
operations.FieldCreateDocumentFieldType | ✔️ | N/A |
id |
number | ✔️ | N/A |
secondaryId |
string | ✔️ | N/A |
documentId |
number | ✔️ | N/A |
templateId |
number | ✔️ | N/A |
recipientId |
number | ✔️ | N/A |
page |
number | ✔️ | The page number of the field on the document. Starts from 1. |
positionX |
any | ➖ | N/A |
positionY |
any | ➖ | N/A |
width |
any | ➖ | N/A |
height |
any | ➖ | N/A |
customText |
string | ✔️ | N/A |
inserted |
boolean | ✔️ | N/A |
fieldMeta |
operations.FieldCreateDocumentFieldFieldMeta | ✔️ | N/A |