update docs

This commit is contained in:
Pete Matsyburka
2025-06-26 17:15:08 +03:00
parent 7eba4865bc
commit bf2f5b24dc
19 changed files with 14582 additions and 54 deletions
+1203
View File
File diff suppressed because it is too large Load Diff
+1272
View File
File diff suppressed because it is too large Load Diff
+1200
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+1290
View File
File diff suppressed because it is too large Load Diff
+1266
View File
File diff suppressed because it is too large Load Diff
+1275
View File
File diff suppressed because it is too large Load Diff
+1275
View File
File diff suppressed because it is too large Load Diff
+1200
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+21 -1
View File
@@ -132,7 +132,27 @@ const token = jwt.sign({
"fieldTypes": { "fieldTypes": {
"type": "array", "type": "array",
"required": false, "required": false,
"description": "Field type names to be used in the form builder. All field types are used by default." "description": "Field type names to be used in the form builder. All field types are used by default.",
"enum": [
"heading",
"text",
"signature",
"initials",
"date",
"datenow",
"number",
"image",
"checkbox",
"multiple",
"file",
"radio",
"select",
"cells",
"stamp",
"payment",
"phone",
"verification"
]
}, },
"drawFieldType": { "drawFieldType": {
"type": "string", "type": "string",
+21 -1
View File
@@ -317,7 +317,27 @@
"type": "string", "type": "string",
"required": false, "required": false,
"description": "Comma separated field type names to be used in the form builder. All field types are used by default.", "description": "Comma separated field type names to be used in the form builder. All field types are used by default.",
"example": "text,date" "example": "text,date",
"enum": [
"heading",
"text",
"signature",
"initials",
"date",
"datenow",
"number",
"image",
"checkbox",
"multiple",
"file",
"radio",
"select",
"cells",
"stamp",
"payment",
"phone",
"verification"
]
}, },
"data-draw-field-type": { "data-draw-field-type": {
"type": "string", "type": "string",
+21 -1
View File
@@ -123,7 +123,27 @@ const token = jwt.sign({
"fieldTypes": { "fieldTypes": {
"type": "array", "type": "array",
"required": false, "required": false,
"description": "Field type names to be used in the form builder. All field types are used by default." "description": "Field type names to be used in the form builder. All field types are used by default.",
"enum": [
"heading",
"text",
"signature",
"initials",
"date",
"datenow",
"number",
"image",
"checkbox",
"multiple",
"file",
"radio",
"select",
"cells",
"stamp",
"payment",
"phone",
"verification"
]
}, },
"drawFieldType": { "drawFieldType": {
"type": "string", "type": "string",
+21 -1
View File
@@ -144,7 +144,27 @@ const token = jwt.sign({
"field-types": { "field-types": {
"type": "array", "type": "array",
"required": false, "required": false,
"description": "Field type names to be used in the form builder. All field types are used by default." "description": "Field type names to be used in the form builder. All field types are used by default.",
"enum": [
"heading",
"text",
"signature",
"initials",
"date",
"datenow",
"number",
"image",
"checkbox",
"multiple",
"file",
"radio",
"select",
"cells",
"stamp",
"payment",
"phone",
"verification"
]
}, },
"draw-field-type": { "draw-field-type": {
"type": "string", "type": "string",
+40 -11
View File
@@ -48,6 +48,41 @@ export class AppComponent {}
"description": "The role name or title of the signer.", "description": "The role name or title of the signer.",
"example": "First Party" "example": "First Party"
}, },
"token": {
"type": "string",
"doc_type": "object",
"description": "JSON Web Token (JWT HS256) with a payload signed using the API key. <b>JWT can be generated only on the backend.</b>.",
"required": false,
"properties": {
"slug": {
"type": "string",
"required": true,
"description": "Template or Submitter slug. When Submitter slug is used no need to pass additional email param."
},
"email": {
"type": "string",
"required": false,
"description": "Email address of the signer. Additional email form step will be displayed if the email attribute is not specified with Template slug."
},
"external_id": {
"type": "string",
"required": false,
"description": "Your application-specific unique string key to identify signer within your app."
},
"preview": {
"type": "boolean",
"required": false,
"default": false,
"description": "Show form in preview mode without ability to submit it."
}
}
},
"preview": {
"type": "boolean",
"required": false,
"default": false,
"description": "Show form in preview mode without ability to submit it. Completed documents embedded in preview mode require `data-token` authentication."
},
"expand": { "expand": {
"type": "boolean", "type": "boolean",
"required": false, "required": false,
@@ -66,11 +101,6 @@ export class AppComponent {}
"default": false, "default": false,
"description": "Order form fields based on their position on the pages." "description": "Order form fields based on their position on the pages."
}, },
"externalId": {
"type": "string",
"required": false,
"description": "Your application-specific unique string key to identify signer within your app."
},
"logo": { "logo": {
"type": "string", "type": "string",
"required": false, "required": false,
@@ -87,12 +117,6 @@ export class AppComponent {}
"default": "{}", "default": "{}",
"description": "Object that contains i18n keys to replace the default UI text with custom values. See <a href=\"https://github.com/docusealco/docuseal/blob/master/app/javascript/submission_form/i18n.js\" class=\"link\" target=\"_blank\" rel=\"nofollow\">submission_form/i18n.js</a> for available i18n keys." "description": "Object that contains i18n keys to replace the default UI text with custom values. See <a href=\"https://github.com/docusealco/docuseal/blob/master/app/javascript/submission_form/i18n.js\" class=\"link\" target=\"_blank\" rel=\"nofollow\">submission_form/i18n.js</a> for available i18n keys."
}, },
"preview": {
"type": "boolean",
"required": false,
"default": false,
"description": "Show form in preview mode without ability to submit it."
},
"goToLast": { "goToLast": {
"type": "boolean", "type": "boolean",
"required": false, "required": false,
@@ -242,6 +266,11 @@ export class AppComponent {}
"description": "Pre-assigned values for form fields.", "description": "Pre-assigned values for form fields.",
"example": "{ 'First Name': 'Jon', 'Last Name': 'Doe' }" "example": "{ 'First Name': 'Jon', 'Last Name': 'Doe' }"
}, },
"externalId": {
"type": "string",
"required": false,
"description": "Your application-specific unique string key to identify signer within your app."
},
"metadata": { "metadata": {
"type": "object", "type": "object",
"required": false, "required": false,
+35 -6
View File
@@ -42,6 +42,41 @@
"description": "The role name or title of the signer.", "description": "The role name or title of the signer.",
"example": "First Party" "example": "First Party"
}, },
"data-token": {
"type": "string",
"doc_type": "object",
"description": "JSON Web Token (JWT HS256) with a payload signed using the API key. <b>JWT can be generated only on the backend.</b>.",
"required": false,
"properties": {
"slug": {
"type": "string",
"required": true,
"description": "Template or Submitter slug. When Submitter slug is used no need to pass additional email param."
},
"email": {
"type": "string",
"required": false,
"description": "Email address of the signer. Additional email form step will be displayed if the email attribute is not specified with Template slug."
},
"external_id": {
"type": "string",
"required": false,
"description": "Your application-specific unique string key to identify signer within your app."
},
"preview": {
"type": "boolean",
"required": false,
"default": false,
"description": "Show form in preview mode without ability to submit it."
}
}
},
"data-preview": {
"type": "boolean",
"required": false,
"default": false,
"description": "Show form in preview mode without ability to submit it. Completed documents embedded in preview mode require `data-token` authentication."
},
"data-expand": { "data-expand": {
"type": "boolean", "type": "boolean",
"required": false, "required": false,
@@ -60,12 +95,6 @@
"default": false, "default": false,
"description": "Order form fields based on their position on the pages." "description": "Order form fields based on their position on the pages."
}, },
"data-preview": {
"type": "boolean",
"required": false,
"default": false,
"description": "Show form in preview mode without ability to submit it."
},
"data-logo": { "data-logo": {
"type": "string", "type": "string",
"required": false, "required": false,
+40 -11
View File
@@ -45,6 +45,41 @@ export function App() {
"description": "The role name or title of the signer.", "description": "The role name or title of the signer.",
"example": "First Party" "example": "First Party"
}, },
"token": {
"type": "string",
"doc_type": "object",
"description": "JSON Web Token (JWT HS256) with a payload signed using the API key. <b>JWT can be generated only on the backend.</b>.",
"required": false,
"properties": {
"slug": {
"type": "string",
"required": true,
"description": "Template or Submitter slug. When Submitter slug is used no need to pass additional email param."
},
"email": {
"type": "string",
"required": false,
"description": "Email address of the signer. Additional email form step will be displayed if the email attribute is not specified with Template slug."
},
"external_id": {
"type": "string",
"required": false,
"description": "Your application-specific unique string key to identify signer within your app."
},
"preview": {
"type": "boolean",
"required": false,
"default": false,
"description": "Show form in preview mode without ability to submit it."
}
}
},
"preview": {
"type": "boolean",
"required": false,
"default": false,
"description": "Show form in preview mode without ability to submit it. Completed documents embedded in preview mode require `token` authentication."
},
"expand": { "expand": {
"type": "boolean", "type": "boolean",
"required": false, "required": false,
@@ -63,11 +98,6 @@ export function App() {
"default": false, "default": false,
"description": "Order form fields based on their position on the pages." "description": "Order form fields based on their position on the pages."
}, },
"externalId": {
"type": "string",
"required": false,
"description": "Your application-specific unique string key to identify signer within your app."
},
"logo": { "logo": {
"type": "string", "type": "string",
"required": false, "required": false,
@@ -84,12 +114,6 @@ export function App() {
"default": "{}", "default": "{}",
"description": "Object that contains i18n keys to replace the default UI text with custom values. See <a href=\"https://github.com/docusealco/docuseal/blob/master/app/javascript/submission_form/i18n.js\" class=\"link\" target=\"_blank\" rel=\"nofollow\">submission_form/i18n.js</a> for available i18n keys." "description": "Object that contains i18n keys to replace the default UI text with custom values. See <a href=\"https://github.com/docusealco/docuseal/blob/master/app/javascript/submission_form/i18n.js\" class=\"link\" target=\"_blank\" rel=\"nofollow\">submission_form/i18n.js</a> for available i18n keys."
}, },
"preview": {
"type": "boolean",
"required": false,
"default": false,
"description": "Show form in preview mode without ability to submit it."
},
"goToLast": { "goToLast": {
"type": "boolean", "type": "boolean",
"required": false, "required": false,
@@ -239,6 +263,11 @@ export function App() {
"description": "Pre-assigned values for form fields.", "description": "Pre-assigned values for form fields.",
"example": "{ 'First Name': 'Jon', 'Last Name': 'Doe' }" "example": "{ 'First Name': 'Jon', 'Last Name': 'Doe' }"
}, },
"externalId": {
"type": "string",
"required": false,
"description": "Your application-specific unique string key to identify signer within your app."
},
"metadata": { "metadata": {
"type": "object", "type": "object",
"required": false, "required": false,
+37 -8
View File
@@ -54,10 +54,40 @@ export default {
"description": "The role name or title of the signer.", "description": "The role name or title of the signer.",
"example": "First Party" "example": "First Party"
}, },
"external-id": { "token": {
"type": "string", "type": "string",
"doc_type": "object",
"description": "JSON Web Token (JWT HS256) with a payload signed using the API key. <b>JWT can be generated only on the backend.</b>.",
"required": false, "required": false,
"description": "Your application-specific unique string key to identify signer within your app." "properties": {
"slug": {
"type": "string",
"required": true,
"description": "Template or Submitter slug. When Submitter slug is used no need to pass additional email param."
},
"email": {
"type": "string",
"required": false,
"description": "Email address of the signer. Additional email form step will be displayed if the email attribute is not specified with Template slug."
},
"external_id": {
"type": "string",
"required": false,
"description": "Your application-specific unique string key to identify signer within your app."
},
"preview": {
"type": "boolean",
"required": false,
"default": false,
"description": "Show form in preview mode without ability to submit it."
}
}
},
"preview": {
"type": "boolean",
"required": false,
"default": false,
"description": "Show form in preview mode without ability to submit it. Completed documents embedded in preview mode require `data-token` authentication."
}, },
"expand": { "expand": {
"type": "boolean", "type": "boolean",
@@ -93,12 +123,6 @@ export default {
"default": "{}", "default": "{}",
"description": "Object that contains i18n keys to replace the default UI text with custom values. See <a href=\"https://github.com/docusealco/docuseal/blob/master/app/javascript/submission_form/i18n.js\" class=\"link\" target=\"_blank\" rel=\"nofollow\">submission_form/i18n.js</a> for available i18n keys." "description": "Object that contains i18n keys to replace the default UI text with custom values. See <a href=\"https://github.com/docusealco/docuseal/blob/master/app/javascript/submission_form/i18n.js\" class=\"link\" target=\"_blank\" rel=\"nofollow\">submission_form/i18n.js</a> for available i18n keys."
}, },
"preview": {
"type": "boolean",
"required": false,
"default": false,
"description": "Show form in preview mode without ability to submit it."
},
"go-to-last": { "go-to-last": {
"type": "boolean", "type": "boolean",
"required": false, "required": false,
@@ -249,6 +273,11 @@ export default {
"description": "Pre-assigned values for form fields.", "description": "Pre-assigned values for form fields.",
"example": "{ 'First Name': 'Jon', 'Last Name': 'Doe' }" "example": "{ 'First Name': 'Jon', 'Last Name': 'Doe' }"
}, },
"external-id": {
"type": "string",
"required": false,
"description": "Your application-specific unique string key to identify signer within your app."
},
"metadata": { "metadata": {
"type": "object", "type": "object",
"required": false, "required": false,
+1821 -14
View File
File diff suppressed because it is too large Load Diff