diff --git a/examples/SignatureRequestCreateEmbeddedExample.cs b/examples/SignatureRequestCreateEmbeddedExample.cs
index b9e866cce..4cfdff972 100644
--- a/examples/SignatureRequestCreateEmbeddedExample.cs
+++ b/examples/SignatureRequestCreateEmbeddedExample.cs
@@ -22,7 +22,8 @@ public static void Run()
draw: true,
phone: false,
type: true,
- upload: true
+ upload: true,
+ force_advanced_signature_details: false
);
var signerExperience = new SubSignerExperience(
diff --git a/examples/SignatureRequestCreateEmbeddedExample.java b/examples/SignatureRequestCreateEmbeddedExample.java
index c3fbe6976..f36cbd7e9 100644
--- a/examples/SignatureRequestCreateEmbeddedExample.java
+++ b/examples/SignatureRequestCreateEmbeddedExample.java
@@ -29,6 +29,7 @@ public static void main(String[] args)
signingOptions.phone(false);
signingOptions.type(true);
signingOptions.upload(true);
+ signingOptions.forceAdvancedSignatureDetails(false);
var signerExperience = new SubSignerExperience();
signerExperience.formView(SubSignerExperience.FormViewEnum.DISABLED);
diff --git a/examples/SignatureRequestCreateEmbeddedExample.php b/examples/SignatureRequestCreateEmbeddedExample.php
index 95a76666d..95f731502 100644
--- a/examples/SignatureRequestCreateEmbeddedExample.php
+++ b/examples/SignatureRequestCreateEmbeddedExample.php
@@ -16,7 +16,8 @@
->setDraw(true)
->setPhone(false)
->setType(true)
- ->setUpload(true);
+ ->setUpload(true)
+ ->setForceAdvancedSignatureDetails(false);
$signer_experience = (new Dropbox\Sign\Model\SubSignerExperience())
->setFormView(Dropbox\Sign\Model\SubSignerExperience::FORM_VIEW_DISABLED);
diff --git a/examples/SignatureRequestCreateEmbeddedExample.py b/examples/SignatureRequestCreateEmbeddedExample.py
index 982aed695..0e9bc371a 100644
--- a/examples/SignatureRequestCreateEmbeddedExample.py
+++ b/examples/SignatureRequestCreateEmbeddedExample.py
@@ -16,6 +16,7 @@
phone=False,
type=True,
upload=True,
+ force_advanced_signature_details=False,
)
signer_experience = models.SubSignerExperience(
diff --git a/examples/SignatureRequestCreateEmbeddedExample.rb b/examples/SignatureRequestCreateEmbeddedExample.rb
index 75ff50551..6252a09c4 100644
--- a/examples/SignatureRequestCreateEmbeddedExample.rb
+++ b/examples/SignatureRequestCreateEmbeddedExample.rb
@@ -12,6 +12,7 @@
signing_options.phone = false
signing_options.type = true
signing_options.upload = true
+signing_options.force_advanced_signature_details = false
signer_experience = Dropbox::Sign::SubSignerExperience.new
signer_experience.form_view = "disabled"
diff --git a/examples/SignatureRequestCreateEmbeddedExample.sh b/examples/SignatureRequestCreateEmbeddedExample.sh
index 1ef8303f3..58b8708aa 100644
--- a/examples/SignatureRequestCreateEmbeddedExample.sh
+++ b/examples/SignatureRequestCreateEmbeddedExample.sh
@@ -18,4 +18,5 @@ curl -X POST 'https://api.hellosign.com/v3/signature_request/create_embedded' \
-F 'signing_options[upload]=1' \
-F 'signing_options[phone]=1' \
-F 'signing_options[default_type]=draw' \
+ -F 'signing_options[force_advanced_signature_details]=0' \
-F 'test_mode=1'
diff --git a/examples/SignatureRequestCreateEmbeddedExample.ts b/examples/SignatureRequestCreateEmbeddedExample.ts
index 815b0b0e6..cff763e4d 100644
--- a/examples/SignatureRequestCreateEmbeddedExample.ts
+++ b/examples/SignatureRequestCreateEmbeddedExample.ts
@@ -12,6 +12,7 @@ const signingOptions: models.SubSigningOptions = {
phone: false,
type: true,
upload: true,
+ force_advanced_signature_details: false,
};
const signerExperience: models.SubSignerExperience = {
diff --git a/examples/SignatureRequestCreateEmbeddedWithTemplateExample.cs b/examples/SignatureRequestCreateEmbeddedWithTemplateExample.cs
index fc664d969..3e3d26982 100644
--- a/examples/SignatureRequestCreateEmbeddedWithTemplateExample.cs
+++ b/examples/SignatureRequestCreateEmbeddedWithTemplateExample.cs
@@ -22,7 +22,8 @@ public static void Run()
draw: true,
phone: false,
type: true,
- upload: true
+ upload: true,
+ force_advanced_signature_details: false
);
var signerExperience = new SubSignerExperience(
diff --git a/examples/SignatureRequestCreateEmbeddedWithTemplateExample.java b/examples/SignatureRequestCreateEmbeddedWithTemplateExample.java
index 62b553852..6e957118e 100644
--- a/examples/SignatureRequestCreateEmbeddedWithTemplateExample.java
+++ b/examples/SignatureRequestCreateEmbeddedWithTemplateExample.java
@@ -29,6 +29,7 @@ public static void main(String[] args)
signingOptions.phone(false);
signingOptions.type(true);
signingOptions.upload(true);
+ signingOptions.forceAdvancedSignatureDetails(false);
var signerExperience = new SubSignerExperience();
signerExperience.formView(SubSignerExperience.FormViewEnum.DISABLED);
diff --git a/examples/SignatureRequestCreateEmbeddedWithTemplateExample.php b/examples/SignatureRequestCreateEmbeddedWithTemplateExample.php
index 7c5ca74d7..598636c01 100644
--- a/examples/SignatureRequestCreateEmbeddedWithTemplateExample.php
+++ b/examples/SignatureRequestCreateEmbeddedWithTemplateExample.php
@@ -16,7 +16,8 @@
->setDraw(true)
->setPhone(false)
->setType(true)
- ->setUpload(true);
+ ->setUpload(true)
+ ->setForceAdvancedSignatureDetails(false);
$signer_experience = (new Dropbox\Sign\Model\SubSignerExperience())
->setFormView(Dropbox\Sign\Model\SubSignerExperience::FORM_VIEW_DISABLED);
diff --git a/examples/SignatureRequestCreateEmbeddedWithTemplateExample.py b/examples/SignatureRequestCreateEmbeddedWithTemplateExample.py
index 351f8afa5..ecb367eca 100644
--- a/examples/SignatureRequestCreateEmbeddedWithTemplateExample.py
+++ b/examples/SignatureRequestCreateEmbeddedWithTemplateExample.py
@@ -16,6 +16,7 @@
phone=False,
type=True,
upload=True,
+ force_advanced_signature_details=False,
)
signer_experience = models.SubSignerExperience(
diff --git a/examples/SignatureRequestCreateEmbeddedWithTemplateExample.rb b/examples/SignatureRequestCreateEmbeddedWithTemplateExample.rb
index e66a8e4c2..5f37d4834 100644
--- a/examples/SignatureRequestCreateEmbeddedWithTemplateExample.rb
+++ b/examples/SignatureRequestCreateEmbeddedWithTemplateExample.rb
@@ -12,6 +12,7 @@
signing_options.phone = false
signing_options.type = true
signing_options.upload = true
+signing_options.force_advanced_signature_details = false
signer_experience = Dropbox::Sign::SubSignerExperience.new
signer_experience.form_view = "disabled"
diff --git a/examples/SignatureRequestCreateEmbeddedWithTemplateExample.sh b/examples/SignatureRequestCreateEmbeddedWithTemplateExample.sh
index 91e0a48ec..0a247f007 100644
--- a/examples/SignatureRequestCreateEmbeddedWithTemplateExample.sh
+++ b/examples/SignatureRequestCreateEmbeddedWithTemplateExample.sh
@@ -12,4 +12,5 @@ curl -X POST 'https://api.hellosign.com/v3/signature_request/create_embedded_wit
-F 'signing_options[upload]=1' \
-F 'signing_options[phone]=1' \
-F 'signing_options[default_type]=draw' \
+ -F 'signing_options[force_advanced_signature_details]=0' \
-F 'test_mode=1'
diff --git a/examples/SignatureRequestCreateEmbeddedWithTemplateExample.ts b/examples/SignatureRequestCreateEmbeddedWithTemplateExample.ts
index b9ab4c01e..64cfb72d6 100644
--- a/examples/SignatureRequestCreateEmbeddedWithTemplateExample.ts
+++ b/examples/SignatureRequestCreateEmbeddedWithTemplateExample.ts
@@ -12,6 +12,7 @@ const signingOptions: models.SubSigningOptions = {
phone: false,
type: true,
upload: true,
+ force_advanced_signature_details: false,
};
const signerExperience: models.SubSignerExperience = {
diff --git a/examples/SignatureRequestSendExample.cs b/examples/SignatureRequestSendExample.cs
index 2958c264c..d5e8ad896 100644
--- a/examples/SignatureRequestSendExample.cs
+++ b/examples/SignatureRequestSendExample.cs
@@ -26,7 +26,8 @@ public static void Run()
draw: true,
phone: false,
type: true,
- upload: true
+ upload: true,
+ force_advanced_signature_details: false,
);
var signers1 = new SubSignatureRequestSigner(
diff --git a/examples/SignatureRequestSendExample.java b/examples/SignatureRequestSendExample.java
index 313b895b7..7db66e606 100644
--- a/examples/SignatureRequestSendExample.java
+++ b/examples/SignatureRequestSendExample.java
@@ -32,6 +32,7 @@ public static void main(String[] args)
signingOptions.phone(false);
signingOptions.type(true);
signingOptions.upload(true);
+ signingOptions.forceAdvancedSignatureDetails(false);
var signers1 = new SubSignatureRequestSigner();
signers1.name("Jack");
diff --git a/examples/SignatureRequestSendExample.php b/examples/SignatureRequestSendExample.php
index f922a579e..f8ab05ef0 100644
--- a/examples/SignatureRequestSendExample.php
+++ b/examples/SignatureRequestSendExample.php
@@ -19,7 +19,8 @@
->setDraw(true)
->setPhone(false)
->setType(true)
- ->setUpload(true);
+ ->setUpload(true)
+ ->setForceAdvancedSignatureDetails(false);
$signers_1 = (new Dropbox\Sign\Model\SubSignatureRequestSigner())
->setName("Jack")
diff --git a/examples/SignatureRequestSendExample.py b/examples/SignatureRequestSendExample.py
index 21b1bfc26..033e973fe 100644
--- a/examples/SignatureRequestSendExample.py
+++ b/examples/SignatureRequestSendExample.py
@@ -20,6 +20,7 @@
phone=False,
type=True,
upload=True,
+ force_advanced_signature_details=False,
)
signers_1 = models.SubSignatureRequestSigner(
diff --git a/examples/SignatureRequestSendExample.rb b/examples/SignatureRequestSendExample.rb
index 28905902d..45958b7a3 100644
--- a/examples/SignatureRequestSendExample.rb
+++ b/examples/SignatureRequestSendExample.rb
@@ -15,6 +15,7 @@
signing_options.phone = false
signing_options.type = true
signing_options.upload = true
+signing_options.force_advanced_signature_details = false
signers_1 = Dropbox::Sign::SubSignatureRequestSigner.new
signers_1.name = "Jack"
diff --git a/examples/SignatureRequestSendExample.sh b/examples/SignatureRequestSendExample.sh
index 089a2c6be..6f1e15a7f 100644
--- a/examples/SignatureRequestSendExample.sh
+++ b/examples/SignatureRequestSendExample.sh
@@ -19,5 +19,6 @@ curl -X POST 'https://api.hellosign.com/v3/signature_request/send' \
-F 'signing_options[upload]=1' \
-F 'signing_options[phone]=1' \
-F 'signing_options[default_type]=draw' \
+ -F 'signing_options[force_advanced_signature_details]=0' \
-F 'field_options[date_format]=DD - MM - YYYY' \
-F 'test_mode=1'
diff --git a/examples/SignatureRequestSendExample.ts b/examples/SignatureRequestSendExample.ts
index 910a66743..064e68ad3 100644
--- a/examples/SignatureRequestSendExample.ts
+++ b/examples/SignatureRequestSendExample.ts
@@ -16,6 +16,7 @@ const signingOptions: models.SubSigningOptions = {
phone: false,
type: true,
upload: true,
+ force_advanced_signature_details: false,
};
const signers1: models.SubSignatureRequestSigner = {
diff --git a/examples/SignatureRequestSendWithTemplateExample.cs b/examples/SignatureRequestSendWithTemplateExample.cs
index 024b92ce8..72d43c3d3 100644
--- a/examples/SignatureRequestSendWithTemplateExample.cs
+++ b/examples/SignatureRequestSendWithTemplateExample.cs
@@ -22,7 +22,8 @@ public static void Run()
draw: true,
phone: false,
type: true,
- upload: true
+ upload: true,
+ force_advanced_signature_details: false,
);
var signers1 = new SubSignatureRequestTemplateSigner(
diff --git a/examples/SignatureRequestSendWithTemplateExample.java b/examples/SignatureRequestSendWithTemplateExample.java
index f44a67ed9..5c6bd8d6b 100644
--- a/examples/SignatureRequestSendWithTemplateExample.java
+++ b/examples/SignatureRequestSendWithTemplateExample.java
@@ -29,6 +29,7 @@ public static void main(String[] args)
signingOptions.phone(false);
signingOptions.type(true);
signingOptions.upload(true);
+ signingOptions.forceAdvancedSignatureDetails(false);
var signers1 = new SubSignatureRequestTemplateSigner();
signers1.role("Client");
diff --git a/examples/SignatureRequestSendWithTemplateExample.php b/examples/SignatureRequestSendWithTemplateExample.php
index d68205392..747882e76 100644
--- a/examples/SignatureRequestSendWithTemplateExample.php
+++ b/examples/SignatureRequestSendWithTemplateExample.php
@@ -16,7 +16,8 @@
->setDraw(true)
->setPhone(false)
->setType(true)
- ->setUpload(true);
+ ->setUpload(true)
+ ->setForceAdvancedSignatureDetails(false);
$signers_1 = (new Dropbox\Sign\Model\SubSignatureRequestTemplateSigner())
->setRole("Client")
diff --git a/examples/SignatureRequestSendWithTemplateExample.py b/examples/SignatureRequestSendWithTemplateExample.py
index 468a6b101..7c94fedc6 100644
--- a/examples/SignatureRequestSendWithTemplateExample.py
+++ b/examples/SignatureRequestSendWithTemplateExample.py
@@ -16,6 +16,7 @@
phone=False,
type=True,
upload=True,
+ force_advanced_signature_details=False,
)
signers_1 = models.SubSignatureRequestTemplateSigner(
diff --git a/examples/SignatureRequestSendWithTemplateExample.rb b/examples/SignatureRequestSendWithTemplateExample.rb
index 4ee78fded..237c12fe5 100644
--- a/examples/SignatureRequestSendWithTemplateExample.rb
+++ b/examples/SignatureRequestSendWithTemplateExample.rb
@@ -12,6 +12,7 @@
signing_options.phone = false
signing_options.type = true
signing_options.upload = true
+signing_options.force_advanced_signature_details = false
signers_1 = Dropbox::Sign::SubSignatureRequestTemplateSigner.new
signers_1.role = "Client"
diff --git a/examples/SignatureRequestSendWithTemplateExample.sh b/examples/SignatureRequestSendWithTemplateExample.sh
index 520089167..e59ee1b24 100644
--- a/examples/SignatureRequestSendWithTemplateExample.sh
+++ b/examples/SignatureRequestSendWithTemplateExample.sh
@@ -18,4 +18,5 @@ curl -X POST 'https://api.hellosign.com/v3/signature_request/send_with_template'
-F 'signing_options[upload]=1' \
-F 'signing_options[phone]=1' \
-F 'signing_options[default_type]=draw' \
+ -F 'signing_options[force_advanced_signature_details]=0' \
-F 'test_mode=1'
diff --git a/examples/SignatureRequestSendWithTemplateExample.ts b/examples/SignatureRequestSendWithTemplateExample.ts
index 88219107a..d327aec9b 100644
--- a/examples/SignatureRequestSendWithTemplateExample.ts
+++ b/examples/SignatureRequestSendWithTemplateExample.ts
@@ -12,6 +12,7 @@ const signingOptions: models.SubSigningOptions = {
phone: false,
type: true,
upload: true,
+ force_advanced_signature_details: false,
};
const signers1: models.SubSignatureRequestTemplateSigner = {
diff --git a/examples/json/SignatureRequestCreateEmbeddedRequest.json b/examples/json/SignatureRequestCreateEmbeddedRequest.json
index 5570d6864..d28f87ac1 100644
--- a/examples/json/SignatureRequestCreateEmbeddedRequest.json
+++ b/examples/json/SignatureRequestCreateEmbeddedRequest.json
@@ -27,7 +27,8 @@
"type": true,
"upload": true,
"phone": false,
- "default_type": "draw"
+ "default_type": "draw",
+ "force_advanced_signature_details": false
},
"test_mode": true,
"signer_experience": {
diff --git a/examples/json/SignatureRequestCreateEmbeddedWithTemplateRequest.json b/examples/json/SignatureRequestCreateEmbeddedWithTemplateRequest.json
index 7d5cc961e..d23b790f7 100644
--- a/examples/json/SignatureRequestCreateEmbeddedWithTemplateRequest.json
+++ b/examples/json/SignatureRequestCreateEmbeddedWithTemplateRequest.json
@@ -17,7 +17,8 @@
"type": true,
"upload": true,
"phone": false,
- "default_type": "draw"
+ "default_type": "draw",
+ "force_advanced_signature_details": false
},
"test_mode": true,
"signer_experience": {
diff --git a/examples/json/SignatureRequestSendRequest.json b/examples/json/SignatureRequestSendRequest.json
index adfda81ec..96d61af2f 100644
--- a/examples/json/SignatureRequestSendRequest.json
+++ b/examples/json/SignatureRequestSendRequest.json
@@ -30,7 +30,8 @@
"type": true,
"upload": true,
"phone": false,
- "default_type": "draw"
+ "default_type": "draw",
+ "force_advanced_signature_details": false
},
"field_options": {
"date_format": "DD - MM - YYYY"
diff --git a/examples/json/SignatureRequestSendWithTemplateRequest.json b/examples/json/SignatureRequestSendWithTemplateRequest.json
index a79d1c35b..5ee34fe05 100644
--- a/examples/json/SignatureRequestSendWithTemplateRequest.json
+++ b/examples/json/SignatureRequestSendWithTemplateRequest.json
@@ -30,7 +30,8 @@
"type": true,
"upload": true,
"phone": false,
- "default_type": "draw"
+ "default_type": "draw",
+ "force_advanced_signature_details": false
},
"test_mode": true
}
diff --git a/openapi-raw.yaml b/openapi-raw.yaml
index a66a55e6b..970c09a78 100644
--- a/openapi-raw.yaml
+++ b/openapi-raw.yaml
@@ -9989,6 +9989,10 @@ components:
description: '_t__Sub::SigningOptions::UPLOAD'
type: boolean
default: false
+ force_advanced_signature_details:
+ description: '_t__Sub::SigningOptions::FORCE_ADVANCED_SIGNATURE_DETAILS'
+ type: boolean
+ default: false
type: object
SubWhiteLabelingOptions:
description: '_t__Sub::WhiteLabelingOptions::DESCRIPTION'
diff --git a/openapi-sdk.yaml b/openapi-sdk.yaml
index efdcb02cd..b713b0cb7 100644
--- a/openapi-sdk.yaml
+++ b/openapi-sdk.yaml
@@ -10518,9 +10518,11 @@ components:
type: object
SubSigningOptions:
description: |-
- This allows the requester to specify the types allowed for creating a signature.
+ This allows the requester to specify the types allowed for creating a signature and specify another signing options.
**NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings.
+
+ **NOTE:** If `force_advanced_signature_details` is set, allowed types has to be defined too.
required:
- default_type
properties:
@@ -10548,6 +10550,10 @@ components:
description: 'Allows uploading the signature'
type: boolean
default: false
+ force_advanced_signature_details:
+ description: 'Turning on advanced signature details for the signature request'
+ type: boolean
+ default: false
type: object
SubWhiteLabelingOptions:
description: |-
diff --git a/openapi.yaml b/openapi.yaml
index 12ab27def..9ac3cf10c 100644
--- a/openapi.yaml
+++ b/openapi.yaml
@@ -10381,9 +10381,11 @@ components:
type: object
SubSigningOptions:
description: |-
- This allows the requester to specify the types allowed for creating a signature.
+ This allows the requester to specify the types allowed for creating a signature and specify another signing options.
**NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings.
+
+ **NOTE:** If `force_advanced_signature_details` is set, allowed types has to be defined too.
required:
- default_type
properties:
@@ -10411,6 +10413,10 @@ components:
description: 'Allows uploading the signature'
type: boolean
default: false
+ force_advanced_signature_details:
+ description: 'Turning on advanced signature details for the signature request'
+ type: boolean
+ default: false
type: object
SubWhiteLabelingOptions:
description: |-
diff --git a/sandbox/dotnet/src/Dropbox.SignSandbox/SignatureRequestCreateEmbeddedExample.cs b/sandbox/dotnet/src/Dropbox.SignSandbox/SignatureRequestCreateEmbeddedExample.cs
index b9e866cce..4cfdff972 100644
--- a/sandbox/dotnet/src/Dropbox.SignSandbox/SignatureRequestCreateEmbeddedExample.cs
+++ b/sandbox/dotnet/src/Dropbox.SignSandbox/SignatureRequestCreateEmbeddedExample.cs
@@ -22,7 +22,8 @@ public static void Run()
draw: true,
phone: false,
type: true,
- upload: true
+ upload: true,
+ force_advanced_signature_details: false
);
var signerExperience = new SubSignerExperience(
diff --git a/sandbox/dotnet/src/Dropbox.SignSandbox/SignatureRequestCreateEmbeddedWithTemplateExample.cs b/sandbox/dotnet/src/Dropbox.SignSandbox/SignatureRequestCreateEmbeddedWithTemplateExample.cs
index fc664d969..3e3d26982 100644
--- a/sandbox/dotnet/src/Dropbox.SignSandbox/SignatureRequestCreateEmbeddedWithTemplateExample.cs
+++ b/sandbox/dotnet/src/Dropbox.SignSandbox/SignatureRequestCreateEmbeddedWithTemplateExample.cs
@@ -22,7 +22,8 @@ public static void Run()
draw: true,
phone: false,
type: true,
- upload: true
+ upload: true,
+ force_advanced_signature_details: false
);
var signerExperience = new SubSignerExperience(
diff --git a/sandbox/dotnet/src/Dropbox.SignSandbox/SignatureRequestSendExample.cs b/sandbox/dotnet/src/Dropbox.SignSandbox/SignatureRequestSendExample.cs
index 2958c264c..d5e8ad896 100644
--- a/sandbox/dotnet/src/Dropbox.SignSandbox/SignatureRequestSendExample.cs
+++ b/sandbox/dotnet/src/Dropbox.SignSandbox/SignatureRequestSendExample.cs
@@ -26,7 +26,8 @@ public static void Run()
draw: true,
phone: false,
type: true,
- upload: true
+ upload: true,
+ force_advanced_signature_details: false,
);
var signers1 = new SubSignatureRequestSigner(
diff --git a/sandbox/dotnet/src/Dropbox.SignSandbox/SignatureRequestSendWithTemplateExample.cs b/sandbox/dotnet/src/Dropbox.SignSandbox/SignatureRequestSendWithTemplateExample.cs
index 024b92ce8..72d43c3d3 100644
--- a/sandbox/dotnet/src/Dropbox.SignSandbox/SignatureRequestSendWithTemplateExample.cs
+++ b/sandbox/dotnet/src/Dropbox.SignSandbox/SignatureRequestSendWithTemplateExample.cs
@@ -22,7 +22,8 @@ public static void Run()
draw: true,
phone: false,
type: true,
- upload: true
+ upload: true,
+ force_advanced_signature_details: false,
);
var signers1 = new SubSignatureRequestTemplateSigner(
diff --git a/sandbox/java/src/main/java/com/dropbox/sign_sandbox/SignatureRequestCreateEmbeddedExample.java b/sandbox/java/src/main/java/com/dropbox/sign_sandbox/SignatureRequestCreateEmbeddedExample.java
index c3fbe6976..f36cbd7e9 100644
--- a/sandbox/java/src/main/java/com/dropbox/sign_sandbox/SignatureRequestCreateEmbeddedExample.java
+++ b/sandbox/java/src/main/java/com/dropbox/sign_sandbox/SignatureRequestCreateEmbeddedExample.java
@@ -29,6 +29,7 @@ public static void main(String[] args)
signingOptions.phone(false);
signingOptions.type(true);
signingOptions.upload(true);
+ signingOptions.forceAdvancedSignatureDetails(false);
var signerExperience = new SubSignerExperience();
signerExperience.formView(SubSignerExperience.FormViewEnum.DISABLED);
diff --git a/sandbox/java/src/main/java/com/dropbox/sign_sandbox/SignatureRequestCreateEmbeddedWithTemplateExample.java b/sandbox/java/src/main/java/com/dropbox/sign_sandbox/SignatureRequestCreateEmbeddedWithTemplateExample.java
index 62b553852..6e957118e 100644
--- a/sandbox/java/src/main/java/com/dropbox/sign_sandbox/SignatureRequestCreateEmbeddedWithTemplateExample.java
+++ b/sandbox/java/src/main/java/com/dropbox/sign_sandbox/SignatureRequestCreateEmbeddedWithTemplateExample.java
@@ -29,6 +29,7 @@ public static void main(String[] args)
signingOptions.phone(false);
signingOptions.type(true);
signingOptions.upload(true);
+ signingOptions.forceAdvancedSignatureDetails(false);
var signerExperience = new SubSignerExperience();
signerExperience.formView(SubSignerExperience.FormViewEnum.DISABLED);
diff --git a/sandbox/java/src/main/java/com/dropbox/sign_sandbox/SignatureRequestSendExample.java b/sandbox/java/src/main/java/com/dropbox/sign_sandbox/SignatureRequestSendExample.java
index 313b895b7..7db66e606 100644
--- a/sandbox/java/src/main/java/com/dropbox/sign_sandbox/SignatureRequestSendExample.java
+++ b/sandbox/java/src/main/java/com/dropbox/sign_sandbox/SignatureRequestSendExample.java
@@ -32,6 +32,7 @@ public static void main(String[] args)
signingOptions.phone(false);
signingOptions.type(true);
signingOptions.upload(true);
+ signingOptions.forceAdvancedSignatureDetails(false);
var signers1 = new SubSignatureRequestSigner();
signers1.name("Jack");
diff --git a/sandbox/java/src/main/java/com/dropbox/sign_sandbox/SignatureRequestSendWithTemplateExample.java b/sandbox/java/src/main/java/com/dropbox/sign_sandbox/SignatureRequestSendWithTemplateExample.java
index f44a67ed9..5c6bd8d6b 100644
--- a/sandbox/java/src/main/java/com/dropbox/sign_sandbox/SignatureRequestSendWithTemplateExample.java
+++ b/sandbox/java/src/main/java/com/dropbox/sign_sandbox/SignatureRequestSendWithTemplateExample.java
@@ -29,6 +29,7 @@ public static void main(String[] args)
signingOptions.phone(false);
signingOptions.type(true);
signingOptions.upload(true);
+ signingOptions.forceAdvancedSignatureDetails(false);
var signers1 = new SubSignatureRequestTemplateSigner();
signers1.role("Client");
diff --git a/sandbox/node/src/SignatureRequestCreateEmbeddedExample.ts b/sandbox/node/src/SignatureRequestCreateEmbeddedExample.ts
index 815b0b0e6..cff763e4d 100644
--- a/sandbox/node/src/SignatureRequestCreateEmbeddedExample.ts
+++ b/sandbox/node/src/SignatureRequestCreateEmbeddedExample.ts
@@ -12,6 +12,7 @@ const signingOptions: models.SubSigningOptions = {
phone: false,
type: true,
upload: true,
+ force_advanced_signature_details: false,
};
const signerExperience: models.SubSignerExperience = {
diff --git a/sandbox/node/src/SignatureRequestCreateEmbeddedWithTemplateExample.ts b/sandbox/node/src/SignatureRequestCreateEmbeddedWithTemplateExample.ts
index b9ab4c01e..64cfb72d6 100644
--- a/sandbox/node/src/SignatureRequestCreateEmbeddedWithTemplateExample.ts
+++ b/sandbox/node/src/SignatureRequestCreateEmbeddedWithTemplateExample.ts
@@ -12,6 +12,7 @@ const signingOptions: models.SubSigningOptions = {
phone: false,
type: true,
upload: true,
+ force_advanced_signature_details: false,
};
const signerExperience: models.SubSignerExperience = {
diff --git a/sandbox/node/src/SignatureRequestSendExample.ts b/sandbox/node/src/SignatureRequestSendExample.ts
index 910a66743..064e68ad3 100644
--- a/sandbox/node/src/SignatureRequestSendExample.ts
+++ b/sandbox/node/src/SignatureRequestSendExample.ts
@@ -16,6 +16,7 @@ const signingOptions: models.SubSigningOptions = {
phone: false,
type: true,
upload: true,
+ force_advanced_signature_details: false,
};
const signers1: models.SubSignatureRequestSigner = {
diff --git a/sandbox/node/src/SignatureRequestSendWithTemplateExample.ts b/sandbox/node/src/SignatureRequestSendWithTemplateExample.ts
index 88219107a..d327aec9b 100644
--- a/sandbox/node/src/SignatureRequestSendWithTemplateExample.ts
+++ b/sandbox/node/src/SignatureRequestSendWithTemplateExample.ts
@@ -12,6 +12,7 @@ const signingOptions: models.SubSigningOptions = {
phone: false,
type: true,
upload: true,
+ force_advanced_signature_details: false,
};
const signers1: models.SubSignatureRequestTemplateSigner = {
diff --git a/sandbox/php/src/SignatureRequestCreateEmbeddedExample.php b/sandbox/php/src/SignatureRequestCreateEmbeddedExample.php
index 95a76666d..95f731502 100644
--- a/sandbox/php/src/SignatureRequestCreateEmbeddedExample.php
+++ b/sandbox/php/src/SignatureRequestCreateEmbeddedExample.php
@@ -16,7 +16,8 @@
->setDraw(true)
->setPhone(false)
->setType(true)
- ->setUpload(true);
+ ->setUpload(true)
+ ->setForceAdvancedSignatureDetails(false);
$signer_experience = (new Dropbox\Sign\Model\SubSignerExperience())
->setFormView(Dropbox\Sign\Model\SubSignerExperience::FORM_VIEW_DISABLED);
diff --git a/sandbox/php/src/SignatureRequestCreateEmbeddedWithTemplateExample.php b/sandbox/php/src/SignatureRequestCreateEmbeddedWithTemplateExample.php
index 7c5ca74d7..598636c01 100644
--- a/sandbox/php/src/SignatureRequestCreateEmbeddedWithTemplateExample.php
+++ b/sandbox/php/src/SignatureRequestCreateEmbeddedWithTemplateExample.php
@@ -16,7 +16,8 @@
->setDraw(true)
->setPhone(false)
->setType(true)
- ->setUpload(true);
+ ->setUpload(true)
+ ->setForceAdvancedSignatureDetails(false);
$signer_experience = (new Dropbox\Sign\Model\SubSignerExperience())
->setFormView(Dropbox\Sign\Model\SubSignerExperience::FORM_VIEW_DISABLED);
diff --git a/sandbox/php/src/SignatureRequestSendExample.php b/sandbox/php/src/SignatureRequestSendExample.php
index f922a579e..f8ab05ef0 100644
--- a/sandbox/php/src/SignatureRequestSendExample.php
+++ b/sandbox/php/src/SignatureRequestSendExample.php
@@ -19,7 +19,8 @@
->setDraw(true)
->setPhone(false)
->setType(true)
- ->setUpload(true);
+ ->setUpload(true)
+ ->setForceAdvancedSignatureDetails(false);
$signers_1 = (new Dropbox\Sign\Model\SubSignatureRequestSigner())
->setName("Jack")
diff --git a/sandbox/php/src/SignatureRequestSendWithTemplateExample.php b/sandbox/php/src/SignatureRequestSendWithTemplateExample.php
index d68205392..747882e76 100644
--- a/sandbox/php/src/SignatureRequestSendWithTemplateExample.php
+++ b/sandbox/php/src/SignatureRequestSendWithTemplateExample.php
@@ -16,7 +16,8 @@
->setDraw(true)
->setPhone(false)
->setType(true)
- ->setUpload(true);
+ ->setUpload(true)
+ ->setForceAdvancedSignatureDetails(false);
$signers_1 = (new Dropbox\Sign\Model\SubSignatureRequestTemplateSigner())
->setRole("Client")
diff --git a/sandbox/python/src/SignatureRequestCreateEmbeddedExample.py b/sandbox/python/src/SignatureRequestCreateEmbeddedExample.py
index 982aed695..0e9bc371a 100644
--- a/sandbox/python/src/SignatureRequestCreateEmbeddedExample.py
+++ b/sandbox/python/src/SignatureRequestCreateEmbeddedExample.py
@@ -16,6 +16,7 @@
phone=False,
type=True,
upload=True,
+ force_advanced_signature_details=False,
)
signer_experience = models.SubSignerExperience(
diff --git a/sandbox/python/src/SignatureRequestCreateEmbeddedWithTemplateExample.py b/sandbox/python/src/SignatureRequestCreateEmbeddedWithTemplateExample.py
index 351f8afa5..ecb367eca 100644
--- a/sandbox/python/src/SignatureRequestCreateEmbeddedWithTemplateExample.py
+++ b/sandbox/python/src/SignatureRequestCreateEmbeddedWithTemplateExample.py
@@ -16,6 +16,7 @@
phone=False,
type=True,
upload=True,
+ force_advanced_signature_details=False,
)
signer_experience = models.SubSignerExperience(
diff --git a/sandbox/python/src/SignatureRequestSendExample.py b/sandbox/python/src/SignatureRequestSendExample.py
index 21b1bfc26..033e973fe 100644
--- a/sandbox/python/src/SignatureRequestSendExample.py
+++ b/sandbox/python/src/SignatureRequestSendExample.py
@@ -20,6 +20,7 @@
phone=False,
type=True,
upload=True,
+ force_advanced_signature_details=False,
)
signers_1 = models.SubSignatureRequestSigner(
diff --git a/sandbox/python/src/SignatureRequestSendWithTemplateExample.py b/sandbox/python/src/SignatureRequestSendWithTemplateExample.py
index 468a6b101..7c94fedc6 100644
--- a/sandbox/python/src/SignatureRequestSendWithTemplateExample.py
+++ b/sandbox/python/src/SignatureRequestSendWithTemplateExample.py
@@ -16,6 +16,7 @@
phone=False,
type=True,
upload=True,
+ force_advanced_signature_details=False,
)
signers_1 = models.SubSignatureRequestTemplateSigner(
diff --git a/sandbox/ruby/src/SignatureRequestCreateEmbeddedExample.rb b/sandbox/ruby/src/SignatureRequestCreateEmbeddedExample.rb
index 75ff50551..6252a09c4 100644
--- a/sandbox/ruby/src/SignatureRequestCreateEmbeddedExample.rb
+++ b/sandbox/ruby/src/SignatureRequestCreateEmbeddedExample.rb
@@ -12,6 +12,7 @@
signing_options.phone = false
signing_options.type = true
signing_options.upload = true
+signing_options.force_advanced_signature_details = false
signer_experience = Dropbox::Sign::SubSignerExperience.new
signer_experience.form_view = "disabled"
diff --git a/sandbox/ruby/src/SignatureRequestCreateEmbeddedWithTemplateExample.rb b/sandbox/ruby/src/SignatureRequestCreateEmbeddedWithTemplateExample.rb
index e66a8e4c2..5f37d4834 100644
--- a/sandbox/ruby/src/SignatureRequestCreateEmbeddedWithTemplateExample.rb
+++ b/sandbox/ruby/src/SignatureRequestCreateEmbeddedWithTemplateExample.rb
@@ -12,6 +12,7 @@
signing_options.phone = false
signing_options.type = true
signing_options.upload = true
+signing_options.force_advanced_signature_details = false
signer_experience = Dropbox::Sign::SubSignerExperience.new
signer_experience.form_view = "disabled"
diff --git a/sandbox/ruby/src/SignatureRequestSendExample.rb b/sandbox/ruby/src/SignatureRequestSendExample.rb
index 28905902d..45958b7a3 100644
--- a/sandbox/ruby/src/SignatureRequestSendExample.rb
+++ b/sandbox/ruby/src/SignatureRequestSendExample.rb
@@ -15,6 +15,7 @@
signing_options.phone = false
signing_options.type = true
signing_options.upload = true
+signing_options.force_advanced_signature_details = false
signers_1 = Dropbox::Sign::SubSignatureRequestSigner.new
signers_1.name = "Jack"
diff --git a/sandbox/ruby/src/SignatureRequestSendWithTemplateExample.rb b/sandbox/ruby/src/SignatureRequestSendWithTemplateExample.rb
index 4ee78fded..237c12fe5 100644
--- a/sandbox/ruby/src/SignatureRequestSendWithTemplateExample.rb
+++ b/sandbox/ruby/src/SignatureRequestSendWithTemplateExample.rb
@@ -12,6 +12,7 @@
signing_options.phone = false
signing_options.type = true
signing_options.upload = true
+signing_options.force_advanced_signature_details = false
signers_1 = Dropbox::Sign::SubSignatureRequestTemplateSigner.new
signers_1.role = "Client"
diff --git a/sdks/dotnet/docs/SignatureRequestApi.md b/sdks/dotnet/docs/SignatureRequestApi.md
index 025b2005b..d3d402058 100644
--- a/sdks/dotnet/docs/SignatureRequestApi.md
+++ b/sdks/dotnet/docs/SignatureRequestApi.md
@@ -504,7 +504,8 @@ public class SignatureRequestCreateEmbeddedExample
draw: true,
phone: false,
type: true,
- upload: true
+ upload: true,
+ force_advanced_signature_details: false
);
var signerExperience = new SubSignerExperience(
@@ -652,7 +653,8 @@ public class SignatureRequestCreateEmbeddedWithTemplateExample
draw: true,
phone: false,
type: true,
- upload: true
+ upload: true,
+ force_advanced_signature_details: false
);
var signerExperience = new SubSignerExperience(
@@ -2162,7 +2164,8 @@ public class SignatureRequestSendExample
draw: true,
phone: false,
type: true,
- upload: true
+ upload: true,
+ force_advanced_signature_details: false,
);
var signers1 = new SubSignatureRequestSigner(
@@ -2311,7 +2314,8 @@ public class SignatureRequestSendWithTemplateExample
draw: true,
phone: false,
type: true,
- upload: true
+ upload: true,
+ force_advanced_signature_details: false,
);
var signers1 = new SubSignatureRequestTemplateSigner(
diff --git a/sdks/dotnet/docs/SubSigningOptions.md b/sdks/dotnet/docs/SubSigningOptions.md
index a65674196..7ae5fa9fb 100644
--- a/sdks/dotnet/docs/SubSigningOptions.md
+++ b/sdks/dotnet/docs/SubSigningOptions.md
@@ -1,11 +1,11 @@
# Dropbox.Sign.Model.SubSigningOptions
-This allows the requester to specify the types allowed for creating a signature. **NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings.
+This allows the requester to specify the types allowed for creating a signature and specify another signing options. **NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings. **NOTE:** If `force_advanced_signature_details` is set, allowed types has to be defined too.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**DefaultType** | **string** | The default type shown (limited to the listed types) | **Draw** | **bool** | Allows drawing the signature | [optional] [default to false]**Phone** | **bool** | Allows using a smartphone to email the signature | [optional] [default to false]**Type** | **bool** | Allows typing the signature | [optional] [default to false]**Upload** | **bool** | Allows uploading the signature | [optional] [default to false]
+**DefaultType** | **string** | The default type shown (limited to the listed types) | **Draw** | **bool** | Allows drawing the signature | [optional] [default to false]**Phone** | **bool** | Allows using a smartphone to email the signature | [optional] [default to false]**Type** | **bool** | Allows typing the signature | [optional] [default to false]**Upload** | **bool** | Allows uploading the signature | [optional] [default to false]**ForceAdvancedSignatureDetails** | **bool** | Turning on advanced signature details for the signature request | [optional] [default to false]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/dotnet/src/Dropbox.Sign/Model/SubSigningOptions.cs b/sdks/dotnet/src/Dropbox.Sign/Model/SubSigningOptions.cs
index 03e60af0b..da27f470b 100644
--- a/sdks/dotnet/src/Dropbox.Sign/Model/SubSigningOptions.cs
+++ b/sdks/dotnet/src/Dropbox.Sign/Model/SubSigningOptions.cs
@@ -27,7 +27,7 @@
namespace Dropbox.Sign.Model
{
///
- /// This allows the requester to specify the types allowed for creating a signature. **NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings.
+ /// This allows the requester to specify the types allowed for creating a signature and specify another signing options. **NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings. **NOTE:** If `force_advanced_signature_details` is set, allowed types has to be defined too.
///
[DataContract(Name = "SubSigningOptions")]
[JsonObject(ItemNullValueHandling = NullValueHandling.Ignore)]
@@ -85,7 +85,8 @@ protected SubSigningOptions() { }
/// Allows using a smartphone to email the signature (default to false).
/// Allows typing the signature (default to false).
/// Allows uploading the signature (default to false).
- public SubSigningOptions(DefaultTypeEnum defaultType = default(DefaultTypeEnum), bool draw = false, bool phone = false, bool type = false, bool upload = false)
+ /// Turning on advanced signature details for the signature request (default to false).
+ public SubSigningOptions(DefaultTypeEnum defaultType = default(DefaultTypeEnum), bool draw = false, bool phone = false, bool type = false, bool upload = false, bool forceAdvancedSignatureDetails = false)
{
this.DefaultType = defaultType;
@@ -93,6 +94,7 @@ protected SubSigningOptions() { }
this.Phone = phone;
this.Type = type;
this.Upload = upload;
+ this.ForceAdvancedSignatureDetails = forceAdvancedSignatureDetails;
}
///
@@ -139,6 +141,13 @@ public static SubSigningOptions Init(string jsonData)
[DataMember(Name = "upload", EmitDefaultValue = true)]
public bool Upload { get; set; }
+ ///
+ /// Turning on advanced signature details for the signature request
+ ///
+ /// Turning on advanced signature details for the signature request
+ [DataMember(Name = "force_advanced_signature_details", EmitDefaultValue = true)]
+ public bool ForceAdvancedSignatureDetails { get; set; }
+
///
/// Returns the string presentation of the object
///
@@ -152,6 +161,7 @@ public override string ToString()
sb.Append(" Phone: ").Append(Phone).Append("\n");
sb.Append(" Type: ").Append(Type).Append("\n");
sb.Append(" Upload: ").Append(Upload).Append("\n");
+ sb.Append(" ForceAdvancedSignatureDetails: ").Append(ForceAdvancedSignatureDetails).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -206,6 +216,10 @@ public bool Equals(SubSigningOptions input)
(
this.Upload == input.Upload ||
this.Upload.Equals(input.Upload)
+ ) &&
+ (
+ this.ForceAdvancedSignatureDetails == input.ForceAdvancedSignatureDetails ||
+ this.ForceAdvancedSignatureDetails.Equals(input.ForceAdvancedSignatureDetails)
);
}
@@ -223,6 +237,7 @@ public override int GetHashCode()
hashCode = (hashCode * 59) + this.Phone.GetHashCode();
hashCode = (hashCode * 59) + this.Type.GetHashCode();
hashCode = (hashCode * 59) + this.Upload.GetHashCode();
+ hashCode = (hashCode * 59) + this.ForceAdvancedSignatureDetails.GetHashCode();
return hashCode;
}
}
@@ -274,6 +289,13 @@ public List GetOpenApiTypes()
Type = "bool",
Value = Upload,
});
+ types.Add(new OpenApiType()
+ {
+ Name = "force_advanced_signature_details",
+ Property = "ForceAdvancedSignatureDetails",
+ Type = "bool",
+ Value = ForceAdvancedSignatureDetails,
+ });
return types;
}
diff --git a/sdks/java-v1/docs/SignatureRequestApi.md b/sdks/java-v1/docs/SignatureRequestApi.md
index 61258f2e4..90685cbf0 100644
--- a/sdks/java-v1/docs/SignatureRequestApi.md
+++ b/sdks/java-v1/docs/SignatureRequestApi.md
@@ -459,6 +459,7 @@ public class SignatureRequestCreateEmbeddedExample
signingOptions.phone(false);
signingOptions.type(true);
signingOptions.upload(true);
+ signingOptions.forceAdvancedSignatureDetails(false);
var signerExperience = new SubSignerExperience();
signerExperience.formView(SubSignerExperience.FormViewEnum.DISABLED);
@@ -583,6 +584,7 @@ public class SignatureRequestCreateEmbeddedWithTemplateExample
signingOptions.phone(false);
signingOptions.type(true);
signingOptions.upload(true);
+ signingOptions.forceAdvancedSignatureDetails(false);
var signerExperience = new SubSignerExperience();
signerExperience.formView(SubSignerExperience.FormViewEnum.DISABLED);
@@ -1894,6 +1896,7 @@ public class SignatureRequestSendExample
signingOptions.phone(false);
signingOptions.type(true);
signingOptions.upload(true);
+ signingOptions.forceAdvancedSignatureDetails(false);
var signers1 = new SubSignatureRequestSigner();
signers1.name("Jack");
@@ -2020,6 +2023,7 @@ public class SignatureRequestSendWithTemplateExample
signingOptions.phone(false);
signingOptions.type(true);
signingOptions.upload(true);
+ signingOptions.forceAdvancedSignatureDetails(false);
var signers1 = new SubSignatureRequestTemplateSigner();
signers1.role("Client");
diff --git a/sdks/java-v1/docs/SubSigningOptions.md b/sdks/java-v1/docs/SubSigningOptions.md
index bca116053..6f419c3a2 100644
--- a/sdks/java-v1/docs/SubSigningOptions.md
+++ b/sdks/java-v1/docs/SubSigningOptions.md
@@ -2,10 +2,12 @@
# SubSigningOptions
-This allows the requester to specify the types allowed for creating a signature.
+This allows the requester to specify the types allowed for creating a signature and specify another signing options.
**NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings.
+**NOTE:** If `force_advanced_signature_details` is set, allowed types has to be defined too.
+
## Properties
| Name | Type | Description | Notes |
@@ -15,6 +17,7 @@ This allows the requester to specify the types allowed for creating a signature.
| `phone` | ```Boolean``` | Allows using a smartphone to email the signature | |
| `type` | ```Boolean``` | Allows typing the signature | |
| `upload` | ```Boolean``` | Allows uploading the signature | |
+| `forceAdvancedSignatureDetails` | ```Boolean``` | Turning on advanced signature details for the signature request | |
diff --git a/sdks/java-v1/src/main/java/com/dropbox/sign/model/SubSigningOptions.java b/sdks/java-v1/src/main/java/com/dropbox/sign/model/SubSigningOptions.java
index 0dea6a670..6b9c493da 100644
--- a/sdks/java-v1/src/main/java/com/dropbox/sign/model/SubSigningOptions.java
+++ b/sdks/java-v1/src/main/java/com/dropbox/sign/model/SubSigningOptions.java
@@ -26,16 +26,18 @@
import java.util.Objects;
/**
- * This allows the requester to specify the types allowed for creating a signature. **NOTE:** If
- * `signing_options` are not defined in the request, the allowed types will default to
- * those specified in the account settings.
+ * This allows the requester to specify the types allowed for creating a signature and specify
+ * another signing options. **NOTE:** If `signing_options` are not defined in the request,
+ * the allowed types will default to those specified in the account settings. **NOTE:** If
+ * `force_advanced_signature_details` is set, allowed types has to be defined too.
*/
@JsonPropertyOrder({
SubSigningOptions.JSON_PROPERTY_DEFAULT_TYPE,
SubSigningOptions.JSON_PROPERTY_DRAW,
SubSigningOptions.JSON_PROPERTY_PHONE,
SubSigningOptions.JSON_PROPERTY_TYPE,
- SubSigningOptions.JSON_PROPERTY_UPLOAD
+ SubSigningOptions.JSON_PROPERTY_UPLOAD,
+ SubSigningOptions.JSON_PROPERTY_FORCE_ADVANCED_SIGNATURE_DETAILS
})
@javax.annotation.Generated(
value = "org.openapitools.codegen.languages.JavaClientCodegen",
@@ -94,6 +96,10 @@ public static DefaultTypeEnum fromValue(String value) {
public static final String JSON_PROPERTY_UPLOAD = "upload";
@javax.annotation.Nullable private Boolean upload = false;
+ public static final String JSON_PROPERTY_FORCE_ADVANCED_SIGNATURE_DETAILS =
+ "force_advanced_signature_details";
+ @javax.annotation.Nullable private Boolean forceAdvancedSignatureDetails = false;
+
public SubSigningOptions() {}
/**
@@ -221,6 +227,30 @@ public void setUpload(@javax.annotation.Nullable Boolean upload) {
this.upload = upload;
}
+ public SubSigningOptions forceAdvancedSignatureDetails(
+ @javax.annotation.Nullable Boolean forceAdvancedSignatureDetails) {
+ this.forceAdvancedSignatureDetails = forceAdvancedSignatureDetails;
+ return this;
+ }
+
+ /**
+ * Turning on advanced signature details for the signature request
+ *
+ * @return forceAdvancedSignatureDetails
+ */
+ @javax.annotation.Nullable @JsonProperty(JSON_PROPERTY_FORCE_ADVANCED_SIGNATURE_DETAILS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public Boolean getForceAdvancedSignatureDetails() {
+ return forceAdvancedSignatureDetails;
+ }
+
+ @JsonProperty(JSON_PROPERTY_FORCE_ADVANCED_SIGNATURE_DETAILS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setForceAdvancedSignatureDetails(
+ @javax.annotation.Nullable Boolean forceAdvancedSignatureDetails) {
+ this.forceAdvancedSignatureDetails = forceAdvancedSignatureDetails;
+ }
+
/** Return true if this SubSigningOptions object is equal to o. */
@Override
public boolean equals(Object o) {
@@ -235,12 +265,15 @@ public boolean equals(Object o) {
&& Objects.equals(this.draw, subSigningOptions.draw)
&& Objects.equals(this.phone, subSigningOptions.phone)
&& Objects.equals(this.type, subSigningOptions.type)
- && Objects.equals(this.upload, subSigningOptions.upload);
+ && Objects.equals(this.upload, subSigningOptions.upload)
+ && Objects.equals(
+ this.forceAdvancedSignatureDetails,
+ subSigningOptions.forceAdvancedSignatureDetails);
}
@Override
public int hashCode() {
- return Objects.hash(defaultType, draw, phone, type, upload);
+ return Objects.hash(defaultType, draw, phone, type, upload, forceAdvancedSignatureDetails);
}
@Override
@@ -252,6 +285,9 @@ public String toString() {
sb.append(" phone: ").append(toIndentedString(phone)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" upload: ").append(toIndentedString(upload)).append("\n");
+ sb.append(" forceAdvancedSignatureDetails: ")
+ .append(toIndentedString(forceAdvancedSignatureDetails))
+ .append("\n");
sb.append("}");
return sb.toString();
}
@@ -352,6 +388,30 @@ public Map createFormData() throws ApiException {
map.put("upload", JSON.getDefault().getMapper().writeValueAsString(upload));
}
}
+ if (forceAdvancedSignatureDetails != null) {
+ if (isFileTypeOrListOfFiles(forceAdvancedSignatureDetails)) {
+ fileTypeFound = true;
+ }
+
+ if (forceAdvancedSignatureDetails.getClass().equals(java.io.File.class)
+ || forceAdvancedSignatureDetails.getClass().equals(Integer.class)
+ || forceAdvancedSignatureDetails.getClass().equals(String.class)
+ || forceAdvancedSignatureDetails.getClass().isEnum()) {
+ map.put("force_advanced_signature_details", forceAdvancedSignatureDetails);
+ } else if (isListOfFile(forceAdvancedSignatureDetails)) {
+ for (int i = 0; i < getListSize(forceAdvancedSignatureDetails); i++) {
+ map.put(
+ "force_advanced_signature_details[" + i + "]",
+ getFromList(forceAdvancedSignatureDetails, i));
+ }
+ } else {
+ map.put(
+ "force_advanced_signature_details",
+ JSON.getDefault()
+ .getMapper()
+ .writeValueAsString(forceAdvancedSignatureDetails));
+ }
+ }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/java-v2/docs/SignatureRequestApi.md b/sdks/java-v2/docs/SignatureRequestApi.md
index 61258f2e4..90685cbf0 100644
--- a/sdks/java-v2/docs/SignatureRequestApi.md
+++ b/sdks/java-v2/docs/SignatureRequestApi.md
@@ -459,6 +459,7 @@ public class SignatureRequestCreateEmbeddedExample
signingOptions.phone(false);
signingOptions.type(true);
signingOptions.upload(true);
+ signingOptions.forceAdvancedSignatureDetails(false);
var signerExperience = new SubSignerExperience();
signerExperience.formView(SubSignerExperience.FormViewEnum.DISABLED);
@@ -583,6 +584,7 @@ public class SignatureRequestCreateEmbeddedWithTemplateExample
signingOptions.phone(false);
signingOptions.type(true);
signingOptions.upload(true);
+ signingOptions.forceAdvancedSignatureDetails(false);
var signerExperience = new SubSignerExperience();
signerExperience.formView(SubSignerExperience.FormViewEnum.DISABLED);
@@ -1894,6 +1896,7 @@ public class SignatureRequestSendExample
signingOptions.phone(false);
signingOptions.type(true);
signingOptions.upload(true);
+ signingOptions.forceAdvancedSignatureDetails(false);
var signers1 = new SubSignatureRequestSigner();
signers1.name("Jack");
@@ -2020,6 +2023,7 @@ public class SignatureRequestSendWithTemplateExample
signingOptions.phone(false);
signingOptions.type(true);
signingOptions.upload(true);
+ signingOptions.forceAdvancedSignatureDetails(false);
var signers1 = new SubSignatureRequestTemplateSigner();
signers1.role("Client");
diff --git a/sdks/java-v2/docs/SubSigningOptions.md b/sdks/java-v2/docs/SubSigningOptions.md
index bca116053..6f419c3a2 100644
--- a/sdks/java-v2/docs/SubSigningOptions.md
+++ b/sdks/java-v2/docs/SubSigningOptions.md
@@ -2,10 +2,12 @@
# SubSigningOptions
-This allows the requester to specify the types allowed for creating a signature.
+This allows the requester to specify the types allowed for creating a signature and specify another signing options.
**NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings.
+**NOTE:** If `force_advanced_signature_details` is set, allowed types has to be defined too.
+
## Properties
| Name | Type | Description | Notes |
@@ -15,6 +17,7 @@ This allows the requester to specify the types allowed for creating a signature.
| `phone` | ```Boolean``` | Allows using a smartphone to email the signature | |
| `type` | ```Boolean``` | Allows typing the signature | |
| `upload` | ```Boolean``` | Allows uploading the signature | |
+| `forceAdvancedSignatureDetails` | ```Boolean``` | Turning on advanced signature details for the signature request | |
diff --git a/sdks/java-v2/src/main/java/com/dropbox/sign/model/SubSigningOptions.java b/sdks/java-v2/src/main/java/com/dropbox/sign/model/SubSigningOptions.java
index 8a194e4bf..2fe79900b 100644
--- a/sdks/java-v2/src/main/java/com/dropbox/sign/model/SubSigningOptions.java
+++ b/sdks/java-v2/src/main/java/com/dropbox/sign/model/SubSigningOptions.java
@@ -30,14 +30,15 @@
import com.dropbox.sign.ApiException;
/**
- * This allows the requester to specify the types allowed for creating a signature. **NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings.
+ * This allows the requester to specify the types allowed for creating a signature and specify another signing options. **NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings. **NOTE:** If `force_advanced_signature_details` is set, allowed types has to be defined too.
*/
@JsonPropertyOrder({
SubSigningOptions.JSON_PROPERTY_DEFAULT_TYPE,
SubSigningOptions.JSON_PROPERTY_DRAW,
SubSigningOptions.JSON_PROPERTY_PHONE,
SubSigningOptions.JSON_PROPERTY_TYPE,
- SubSigningOptions.JSON_PROPERTY_UPLOAD
+ SubSigningOptions.JSON_PROPERTY_UPLOAD,
+ SubSigningOptions.JSON_PROPERTY_FORCE_ADVANCED_SIGNATURE_DETAILS
})
@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.12.0")
@JsonIgnoreProperties(ignoreUnknown=true)
@@ -101,6 +102,10 @@ public static DefaultTypeEnum fromValue(String value) {
@jakarta.annotation.Nullable
private Boolean upload = false;
+ public static final String JSON_PROPERTY_FORCE_ADVANCED_SIGNATURE_DETAILS = "force_advanced_signature_details";
+ @jakarta.annotation.Nullable
+ private Boolean forceAdvancedSignatureDetails = false;
+
public SubSigningOptions() {
}
@@ -244,6 +249,31 @@ public void setUpload(@jakarta.annotation.Nullable Boolean upload) {
}
+ public SubSigningOptions forceAdvancedSignatureDetails(@jakarta.annotation.Nullable Boolean forceAdvancedSignatureDetails) {
+ this.forceAdvancedSignatureDetails = forceAdvancedSignatureDetails;
+ return this;
+ }
+
+ /**
+ * Turning on advanced signature details for the signature request
+ * @return forceAdvancedSignatureDetails
+ */
+ @jakarta.annotation.Nullable
+ @JsonProperty(JSON_PROPERTY_FORCE_ADVANCED_SIGNATURE_DETAILS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+
+ public Boolean getForceAdvancedSignatureDetails() {
+ return forceAdvancedSignatureDetails;
+ }
+
+
+ @JsonProperty(JSON_PROPERTY_FORCE_ADVANCED_SIGNATURE_DETAILS)
+ @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
+ public void setForceAdvancedSignatureDetails(@jakarta.annotation.Nullable Boolean forceAdvancedSignatureDetails) {
+ this.forceAdvancedSignatureDetails = forceAdvancedSignatureDetails;
+ }
+
+
/**
* Return true if this SubSigningOptions object is equal to o.
*/
@@ -260,12 +290,13 @@ public boolean equals(Object o) {
Objects.equals(this.draw, subSigningOptions.draw) &&
Objects.equals(this.phone, subSigningOptions.phone) &&
Objects.equals(this.type, subSigningOptions.type) &&
- Objects.equals(this.upload, subSigningOptions.upload);
+ Objects.equals(this.upload, subSigningOptions.upload) &&
+ Objects.equals(this.forceAdvancedSignatureDetails, subSigningOptions.forceAdvancedSignatureDetails);
}
@Override
public int hashCode() {
- return Objects.hash(defaultType, draw, phone, type, upload);
+ return Objects.hash(defaultType, draw, phone, type, upload, forceAdvancedSignatureDetails);
}
@Override
@@ -277,6 +308,7 @@ public String toString() {
sb.append(" phone: ").append(toIndentedString(phone)).append("\n");
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" upload: ").append(toIndentedString(upload)).append("\n");
+ sb.append(" forceAdvancedSignatureDetails: ").append(toIndentedString(forceAdvancedSignatureDetails)).append("\n");
sb.append("}");
return sb.toString();
}
@@ -380,6 +412,25 @@ public Map createFormData() throws ApiException {
map.put("upload", JSON.getDefault().getMapper().writeValueAsString(upload));
}
}
+ if (forceAdvancedSignatureDetails != null) {
+ if (isFileTypeOrListOfFiles(forceAdvancedSignatureDetails)) {
+ fileTypeFound = true;
+ }
+
+ if (forceAdvancedSignatureDetails.getClass().equals(java.io.File.class) ||
+ forceAdvancedSignatureDetails.getClass().equals(Integer.class) ||
+ forceAdvancedSignatureDetails.getClass().equals(String.class) ||
+ forceAdvancedSignatureDetails.getClass().isEnum()) {
+ map.put("force_advanced_signature_details", forceAdvancedSignatureDetails);
+ } else if (isListOfFile(forceAdvancedSignatureDetails)) {
+ for(int i = 0; i< getListSize(forceAdvancedSignatureDetails); i++) {
+ map.put("force_advanced_signature_details[" + i + "]", getFromList(forceAdvancedSignatureDetails, i));
+ }
+ }
+ else {
+ map.put("force_advanced_signature_details", JSON.getDefault().getMapper().writeValueAsString(forceAdvancedSignatureDetails));
+ }
+ }
} catch (Exception e) {
throw new ApiException(e);
}
diff --git a/sdks/node/dist/api.js b/sdks/node/dist/api.js
index 3b7fe64ed..f202bb629 100644
--- a/sdks/node/dist/api.js
+++ b/sdks/node/dist/api.js
@@ -23254,6 +23254,10 @@ var SubSigningOptions = class _SubSigningOptions {
* Allows uploading the signature
*/
this["upload"] = false;
+ /**
+ * Turning on advanced signature details for the signature request
+ */
+ this["forceAdvancedSignatureDetails"] = false;
}
static {
this.discriminator = void 0;
@@ -23284,6 +23288,11 @@ var SubSigningOptions = class _SubSigningOptions {
name: "upload",
baseName: "upload",
type: "boolean"
+ },
+ {
+ name: "forceAdvancedSignatureDetails",
+ baseName: "force_advanced_signature_details",
+ type: "boolean"
}
];
}
diff --git a/sdks/node/docs/api/SignatureRequestApi.md b/sdks/node/docs/api/SignatureRequestApi.md
index 58a4ac40c..20ddaf56f 100644
--- a/sdks/node/docs/api/SignatureRequestApi.md
+++ b/sdks/node/docs/api/SignatureRequestApi.md
@@ -366,6 +366,7 @@ const signingOptions: models.SubSigningOptions = {
phone: false,
type: true,
upload: true,
+ force_advanced_signature_details: false,
};
const signerExperience: models.SubSignerExperience = {
@@ -468,6 +469,7 @@ const signingOptions: models.SubSigningOptions = {
phone: false,
type: true,
upload: true,
+ force_advanced_signature_details: false,
};
const signerExperience: models.SubSignerExperience = {
@@ -1431,6 +1433,7 @@ const signingOptions: models.SubSigningOptions = {
phone: false,
type: true,
upload: true,
+ force_advanced_signature_details: false,
};
const signers1: models.SubSignatureRequestSigner = {
@@ -1532,6 +1535,7 @@ const signingOptions: models.SubSigningOptions = {
phone: false,
type: true,
upload: true,
+ force_advanced_signature_details: false,
};
const signers1: models.SubSignatureRequestTemplateSigner = {
diff --git a/sdks/node/docs/model/SubSigningOptions.md b/sdks/node/docs/model/SubSigningOptions.md
index 1e1c670f6..d795c194b 100644
--- a/sdks/node/docs/model/SubSigningOptions.md
+++ b/sdks/node/docs/model/SubSigningOptions.md
@@ -1,9 +1,11 @@
# # SubSigningOptions
-This allows the requester to specify the types allowed for creating a signature.
+This allows the requester to specify the types allowed for creating a signature and specify another signing options.
**NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings.
+**NOTE:** If `force_advanced_signature_details` is set, allowed types has to be defined too.
+
## Properties
Name | Type | Description | Notes
@@ -13,5 +15,6 @@ Name | Type | Description | Notes
| `phone` | ```boolean``` | Allows using a smartphone to email the signature | [default to false] |
| `type` | ```boolean``` | Allows typing the signature | [default to false] |
| `upload` | ```boolean``` | Allows uploading the signature | [default to false] |
+| `forceAdvancedSignatureDetails` | ```boolean``` | Turning on advanced signature details for the signature request | [default to false] |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/node/model/subSigningOptions.ts b/sdks/node/model/subSigningOptions.ts
index 886d611c7..3e983dd78 100644
--- a/sdks/node/model/subSigningOptions.ts
+++ b/sdks/node/model/subSigningOptions.ts
@@ -25,7 +25,7 @@
import { AttributeTypeMap, ObjectSerializer } from "./";
/**
- * This allows the requester to specify the types allowed for creating a signature. **NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings.
+ * This allows the requester to specify the types allowed for creating a signature and specify another signing options. **NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings. **NOTE:** If `force_advanced_signature_details` is set, allowed types has to be defined too.
*/
export class SubSigningOptions {
/**
@@ -48,6 +48,10 @@ export class SubSigningOptions {
* Allows uploading the signature
*/
"upload"?: boolean = false;
+ /**
+ * Turning on advanced signature details for the signature request
+ */
+ "forceAdvancedSignatureDetails"?: boolean = false;
static discriminator: string | undefined = undefined;
@@ -77,6 +81,11 @@ export class SubSigningOptions {
baseName: "upload",
type: "boolean",
},
+ {
+ name: "forceAdvancedSignatureDetails",
+ baseName: "force_advanced_signature_details",
+ type: "boolean",
+ },
];
static getAttributeTypeMap(): AttributeTypeMap {
diff --git a/sdks/node/types/model/subSigningOptions.d.ts b/sdks/node/types/model/subSigningOptions.d.ts
index c81b643d3..865ccf317 100644
--- a/sdks/node/types/model/subSigningOptions.d.ts
+++ b/sdks/node/types/model/subSigningOptions.d.ts
@@ -5,6 +5,7 @@ export declare class SubSigningOptions {
"phone"?: boolean;
"type"?: boolean;
"upload"?: boolean;
+ "forceAdvancedSignatureDetails"?: boolean;
static discriminator: string | undefined;
static attributeTypeMap: AttributeTypeMap;
static getAttributeTypeMap(): AttributeTypeMap;
diff --git a/sdks/php/docs/Api/SignatureRequestApi.md b/sdks/php/docs/Api/SignatureRequestApi.md
index 626120a2b..a2828587d 100644
--- a/sdks/php/docs/Api/SignatureRequestApi.md
+++ b/sdks/php/docs/Api/SignatureRequestApi.md
@@ -368,7 +368,8 @@ $signing_options = (new Dropbox\Sign\Model\SubSigningOptions())
->setDraw(true)
->setPhone(false)
->setType(true)
- ->setUpload(true);
+ ->setUpload(true)
+ ->setForceAdvancedSignatureDetails(false);
$signer_experience = (new Dropbox\Sign\Model\SubSignerExperience())
->setFormView(Dropbox\Sign\Model\SubSignerExperience::FORM_VIEW_DISABLED);
@@ -469,7 +470,8 @@ $signing_options = (new Dropbox\Sign\Model\SubSigningOptions())
->setDraw(true)
->setPhone(false)
->setType(true)
- ->setUpload(true);
+ ->setUpload(true)
+ ->setForceAdvancedSignatureDetails(false);
$signer_experience = (new Dropbox\Sign\Model\SubSignerExperience())
->setFormView(Dropbox\Sign\Model\SubSignerExperience::FORM_VIEW_DISABLED);
@@ -1469,7 +1471,8 @@ $signing_options = (new Dropbox\Sign\Model\SubSigningOptions())
->setDraw(true)
->setPhone(false)
->setType(true)
- ->setUpload(true);
+ ->setUpload(true)
+ ->setForceAdvancedSignatureDetails(false);
$signers_1 = (new Dropbox\Sign\Model\SubSignatureRequestSigner())
->setName("Jack")
@@ -1572,7 +1575,8 @@ $signing_options = (new Dropbox\Sign\Model\SubSigningOptions())
->setDraw(true)
->setPhone(false)
->setType(true)
- ->setUpload(true);
+ ->setUpload(true)
+ ->setForceAdvancedSignatureDetails(false);
$signers_1 = (new Dropbox\Sign\Model\SubSignatureRequestTemplateSigner())
->setRole("Client")
diff --git a/sdks/php/docs/Model/SubSigningOptions.md b/sdks/php/docs/Model/SubSigningOptions.md
index e2a1b1660..0a3d3a40e 100644
--- a/sdks/php/docs/Model/SubSigningOptions.md
+++ b/sdks/php/docs/Model/SubSigningOptions.md
@@ -1,9 +1,11 @@
# # SubSigningOptions
-This allows the requester to specify the types allowed for creating a signature.
+This allows the requester to specify the types allowed for creating a signature and specify another signing options.
**NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings.
+**NOTE:** If `force_advanced_signature_details` is set, allowed types has to be defined too.
+
## Properties
Name | Type | Description | Notes
@@ -13,5 +15,6 @@ Name | Type | Description | Notes
| `phone` | ```bool``` | Allows using a smartphone to email the signature | [default to false] |
| `type` | ```bool``` | Allows typing the signature | [default to false] |
| `upload` | ```bool``` | Allows uploading the signature | [default to false] |
+| `force_advanced_signature_details` | ```bool``` | Turning on advanced signature details for the signature request | [default to false] |
[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
diff --git a/sdks/php/src/Model/SubSigningOptions.php b/sdks/php/src/Model/SubSigningOptions.php
index 51185a7ac..445065b20 100644
--- a/sdks/php/src/Model/SubSigningOptions.php
+++ b/sdks/php/src/Model/SubSigningOptions.php
@@ -37,7 +37,7 @@
* SubSigningOptions Class Doc Comment
*
* @category Class
- * @description This allows the requester to specify the types allowed for creating a signature. **NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings.
+ * @description This allows the requester to specify the types allowed for creating a signature and specify another signing options. **NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings. **NOTE:** If `force_advanced_signature_details` is set, allowed types has to be defined too.
* @see https://openapi-generator.tech
* @implements ArrayAccess
*/
@@ -63,6 +63,7 @@ class SubSigningOptions implements ModelInterface, ArrayAccess, JsonSerializable
'phone' => 'bool',
'type' => 'bool',
'upload' => 'bool',
+ 'force_advanced_signature_details' => 'bool',
];
/**
@@ -78,6 +79,7 @@ class SubSigningOptions implements ModelInterface, ArrayAccess, JsonSerializable
'phone' => null,
'type' => null,
'upload' => null,
+ 'force_advanced_signature_details' => null,
];
/**
@@ -91,6 +93,7 @@ class SubSigningOptions implements ModelInterface, ArrayAccess, JsonSerializable
'phone' => false,
'type' => false,
'upload' => false,
+ 'force_advanced_signature_details' => false,
];
/**
@@ -176,6 +179,7 @@ public function isNullableSetToNull(string $property): bool
'phone' => 'phone',
'type' => 'type',
'upload' => 'upload',
+ 'force_advanced_signature_details' => 'force_advanced_signature_details',
];
/**
@@ -189,6 +193,7 @@ public function isNullableSetToNull(string $property): bool
'phone' => 'setPhone',
'type' => 'setType',
'upload' => 'setUpload',
+ 'force_advanced_signature_details' => 'setForceAdvancedSignatureDetails',
];
/**
@@ -202,6 +207,7 @@ public function isNullableSetToNull(string $property): bool
'phone' => 'getPhone',
'type' => 'getType',
'upload' => 'getUpload',
+ 'force_advanced_signature_details' => 'getForceAdvancedSignatureDetails',
];
/**
@@ -285,6 +291,7 @@ public function __construct(?array $data = null)
$this->setIfExists('phone', $data ?? [], false);
$this->setIfExists('type', $data ?? [], false);
$this->setIfExists('upload', $data ?? [], false);
+ $this->setIfExists('force_advanced_signature_details', $data ?? [], false);
}
/**
@@ -503,6 +510,33 @@ public function setUpload(?bool $upload)
return $this;
}
+ /**
+ * Gets force_advanced_signature_details
+ *
+ * @return bool|null
+ */
+ public function getForceAdvancedSignatureDetails()
+ {
+ return $this->container['force_advanced_signature_details'];
+ }
+
+ /**
+ * Sets force_advanced_signature_details
+ *
+ * @param bool|null $force_advanced_signature_details Turning on advanced signature details for the signature request
+ *
+ * @return self
+ */
+ public function setForceAdvancedSignatureDetails(?bool $force_advanced_signature_details)
+ {
+ if (is_null($force_advanced_signature_details)) {
+ throw new InvalidArgumentException('non-nullable force_advanced_signature_details cannot be null');
+ }
+ $this->container['force_advanced_signature_details'] = $force_advanced_signature_details;
+
+ return $this;
+ }
+
/**
* Returns true if offset exists. False otherwise.
*
diff --git a/sdks/python/docs/SignatureRequestApi.md b/sdks/python/docs/SignatureRequestApi.md
index 9034d8d98..7abc6d33a 100644
--- a/sdks/python/docs/SignatureRequestApi.md
+++ b/sdks/python/docs/SignatureRequestApi.md
@@ -425,6 +425,7 @@ with ApiClient(configuration) as api_client:
phone=False,
type=True,
upload=True,
+ force_advanced_signature_details=False,
)
signer_experience = models.SubSignerExperience(
@@ -541,6 +542,7 @@ with ApiClient(configuration) as api_client:
phone=False,
type=True,
upload=True,
+ force_advanced_signature_details=False,
)
signer_experience = models.SubSignerExperience(
@@ -1696,6 +1698,7 @@ with ApiClient(configuration) as api_client:
phone=False,
type=True,
upload=True,
+ force_advanced_signature_details=False,
)
signers_1 = models.SubSignatureRequestSigner(
@@ -1811,6 +1814,7 @@ with ApiClient(configuration) as api_client:
phone=False,
type=True,
upload=True,
+ force_advanced_signature_details=False,
)
signers_1 = models.SubSignatureRequestTemplateSigner(
diff --git a/sdks/python/docs/SubSigningOptions.md b/sdks/python/docs/SubSigningOptions.md
index 9584478ec..23ddf9135 100644
--- a/sdks/python/docs/SubSigningOptions.md
+++ b/sdks/python/docs/SubSigningOptions.md
@@ -1,9 +1,11 @@
# SubSigningOptions
-This allows the requester to specify the types allowed for creating a signature.
+This allows the requester to specify the types allowed for creating a signature and specify another signing options.
**NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings.
+**NOTE:** If `force_advanced_signature_details` is set, allowed types has to be defined too.
+
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
@@ -12,6 +14,7 @@ Name | Type | Description | Notes
| `phone` | ```bool``` | Allows using a smartphone to email the signature | [default to False] |
| `type` | ```bool``` | Allows typing the signature | [default to False] |
| `upload` | ```bool``` | Allows uploading the signature | [default to False] |
+| `force_advanced_signature_details` | ```bool``` | Turning on advanced signature details for the signature request | [default to False] |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/sdks/python/dropbox_sign/models/sub_signing_options.py b/sdks/python/dropbox_sign/models/sub_signing_options.py
index 3454dad8e..e1416ed82 100644
--- a/sdks/python/dropbox_sign/models/sub_signing_options.py
+++ b/sdks/python/dropbox_sign/models/sub_signing_options.py
@@ -35,7 +35,7 @@
class SubSigningOptions(BaseModel):
"""
- This allows the requester to specify the types allowed for creating a signature. **NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings.
+ This allows the requester to specify the types allowed for creating a signature and specify another signing options. **NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings. **NOTE:** If `force_advanced_signature_details` is set, allowed types has to be defined too.
""" # noqa: E501
default_type: StrictStr = Field(
@@ -53,12 +53,17 @@ class SubSigningOptions(BaseModel):
upload: Optional[StrictBool] = Field(
default=False, description="Allows uploading the signature"
)
+ force_advanced_signature_details: Optional[StrictBool] = Field(
+ default=False,
+ description="Turning on advanced signature details for the signature request",
+ )
__properties: ClassVar[List[str]] = [
"default_type",
"draw",
"phone",
"type",
"upload",
+ "force_advanced_signature_details",
]
@field_validator("default_type")
@@ -138,6 +143,11 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"phone": obj.get("phone") if obj.get("phone") is not None else False,
"type": obj.get("type") if obj.get("type") is not None else False,
"upload": obj.get("upload") if obj.get("upload") is not None else False,
+ "force_advanced_signature_details": (
+ obj.get("force_advanced_signature_details")
+ if obj.get("force_advanced_signature_details") is not None
+ else False
+ ),
}
)
return _obj
@@ -160,6 +170,7 @@ def openapi_types(cls) -> Dict[str, str]:
"phone": "(bool,)",
"type": "(bool,)",
"upload": "(bool,)",
+ "force_advanced_signature_details": "(bool,)",
}
@classmethod
diff --git a/sdks/ruby/docs/SignatureRequestApi.md b/sdks/ruby/docs/SignatureRequestApi.md
index 782ede630..a351a2e6e 100644
--- a/sdks/ruby/docs/SignatureRequestApi.md
+++ b/sdks/ruby/docs/SignatureRequestApi.md
@@ -390,6 +390,7 @@ signing_options.draw = true
signing_options.phone = false
signing_options.type = true
signing_options.upload = true
+signing_options.force_advanced_signature_details = false
signer_experience = Dropbox::Sign::SubSignerExperience.new
signer_experience.form_view = "disabled"
@@ -501,6 +502,7 @@ signing_options.draw = true
signing_options.phone = false
signing_options.type = true
signing_options.upload = true
+signing_options.force_advanced_signature_details = false
signer_experience = Dropbox::Sign::SubSignerExperience.new
signer_experience.form_view = "disabled"
@@ -1629,6 +1631,7 @@ signing_options.draw = true
signing_options.phone = false
signing_options.type = true
signing_options.upload = true
+signing_options.force_advanced_signature_details = false
signers_1 = Dropbox::Sign::SubSignatureRequestSigner.new
signers_1.name = "Jack"
@@ -1743,6 +1746,7 @@ signing_options.draw = true
signing_options.phone = false
signing_options.type = true
signing_options.upload = true
+signing_options.force_advanced_signature_details = false
signers_1 = Dropbox::Sign::SubSignatureRequestTemplateSigner.new
signers_1.role = "Client"
diff --git a/sdks/ruby/docs/SubSigningOptions.md b/sdks/ruby/docs/SubSigningOptions.md
index d2eb449f7..026659a88 100644
--- a/sdks/ruby/docs/SubSigningOptions.md
+++ b/sdks/ruby/docs/SubSigningOptions.md
@@ -1,9 +1,11 @@
# Dropbox::Sign::SubSigningOptions
-This allows the requester to specify the types allowed for creating a signature.
+This allows the requester to specify the types allowed for creating a signature and specify another signing options.
**NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings.
+**NOTE:** If `force_advanced_signature_details` is set, allowed types has to be defined too.
+
## Properties
| Name | Type | Description | Notes |
@@ -13,4 +15,5 @@ This allows the requester to specify the types allowed for creating a signature.
| `phone` | ```Boolean``` | Allows using a smartphone to email the signature | [default to false] |
| `type` | ```Boolean``` | Allows typing the signature | [default to false] |
| `upload` | ```Boolean``` | Allows uploading the signature | [default to false] |
+| `force_advanced_signature_details` | ```Boolean``` | Turning on advanced signature details for the signature request | [default to false] |
diff --git a/sdks/ruby/lib/dropbox-sign/models/sub_signing_options.rb b/sdks/ruby/lib/dropbox-sign/models/sub_signing_options.rb
index 26a6406f7..7d0969ded 100644
--- a/sdks/ruby/lib/dropbox-sign/models/sub_signing_options.rb
+++ b/sdks/ruby/lib/dropbox-sign/models/sub_signing_options.rb
@@ -17,7 +17,7 @@ module Dropbox
end
module Dropbox::Sign
- # This allows the requester to specify the types allowed for creating a signature. **NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings.
+ # This allows the requester to specify the types allowed for creating a signature and specify another signing options. **NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings. **NOTE:** If `force_advanced_signature_details` is set, allowed types has to be defined too.
class SubSigningOptions
# The default type shown (limited to the listed types)
# @return [String]
@@ -39,6 +39,10 @@ class SubSigningOptions
# @return [Boolean]
attr_accessor :upload
+ # Turning on advanced signature details for the signature request
+ # @return [Boolean]
+ attr_accessor :force_advanced_signature_details
+
class EnumAttributeValidator
attr_reader :datatype
attr_reader :allowable_values
@@ -68,7 +72,8 @@ def self.attribute_map
:'draw' => :'draw',
:'phone' => :'phone',
:'type' => :'type',
- :'upload' => :'upload'
+ :'upload' => :'upload',
+ :'force_advanced_signature_details' => :'force_advanced_signature_details'
}
end
@@ -89,7 +94,8 @@ def self.openapi_types
:'draw' => :'Boolean',
:'phone' => :'Boolean',
:'type' => :'Boolean',
- :'upload' => :'Boolean'
+ :'upload' => :'Boolean',
+ :'force_advanced_signature_details' => :'Boolean'
}
end
@@ -167,6 +173,12 @@ def initialize(attributes = {})
else
self.upload = false
end
+
+ if attributes.key?(:'force_advanced_signature_details')
+ self.force_advanced_signature_details = attributes[:'force_advanced_signature_details']
+ else
+ self.force_advanced_signature_details = false
+ end
end
# Show invalid properties with the reasons. Usually used together with valid?
@@ -208,7 +220,8 @@ def ==(o)
draw == o.draw &&
phone == o.phone &&
type == o.type &&
- upload == o.upload
+ upload == o.upload &&
+ force_advanced_signature_details == o.force_advanced_signature_details
end
# @see the `==` method
@@ -220,7 +233,7 @@ def eql?(o)
# Calculates hash code according to all attributes.
# @return [Integer] Hash code
def hash
- [default_type, draw, phone, type, upload].hash
+ [default_type, draw, phone, type, upload, force_advanced_signature_details].hash
end
# Builds the object from hash
diff --git a/test_fixtures/SignatureRequestCreateEmbeddedRequest.json b/test_fixtures/SignatureRequestCreateEmbeddedRequest.json
index 1f506686a..37bc79c81 100644
--- a/test_fixtures/SignatureRequestCreateEmbeddedRequest.json
+++ b/test_fixtures/SignatureRequestCreateEmbeddedRequest.json
@@ -119,7 +119,8 @@
"type": true,
"upload": true,
"phone": false,
- "default_type": "draw"
+ "default_type": "draw",
+ "force_advanced_signature_details": false
},
"subject": "The NDA we talked about",
"test_mode": true,
@@ -258,7 +259,8 @@
"type": true,
"upload": true,
"phone": false,
- "default_type": "draw"
+ "default_type": "draw",
+ "force_advanced_signature_details": false
},
"subject": "The NDA we talked about",
"test_mode": true,
diff --git a/test_fixtures/SignatureRequestCreateEmbeddedWithTemplateRequest.json b/test_fixtures/SignatureRequestCreateEmbeddedWithTemplateRequest.json
index a9597ea64..f997b281e 100644
--- a/test_fixtures/SignatureRequestCreateEmbeddedWithTemplateRequest.json
+++ b/test_fixtures/SignatureRequestCreateEmbeddedWithTemplateRequest.json
@@ -54,7 +54,8 @@
"type": true,
"upload": true,
"phone": false,
- "default_type": "draw"
+ "default_type": "draw",
+ "force_advanced_signature_details": false
},
"subject": "Purchase Order",
"template_ids": [
diff --git a/test_fixtures/SignatureRequestSendRequest.json b/test_fixtures/SignatureRequestSendRequest.json
index cfc2f4f33..f0d7b9df0 100644
--- a/test_fixtures/SignatureRequestSendRequest.json
+++ b/test_fixtures/SignatureRequestSendRequest.json
@@ -232,7 +232,8 @@
"type": true,
"upload": true,
"phone": false,
- "default_type": "draw"
+ "default_type": "draw",
+ "force_advanced_signature_details": false
},
"signing_redirect_url": "https://example.com/redirect",
"subject": "The NDA we talked about",
@@ -474,7 +475,8 @@
"type": true,
"upload": true,
"phone": false,
- "default_type": "draw"
+ "default_type": "draw",
+ "force_advanced_signature_details": false
},
"signing_redirect_url": "https://example.com/redirect",
"subject": "The NDA we talked about",
diff --git a/test_fixtures/SignatureRequestSendWithTemplateRequest.json b/test_fixtures/SignatureRequestSendWithTemplateRequest.json
index 4d1cc8665..df8e207c7 100644
--- a/test_fixtures/SignatureRequestSendWithTemplateRequest.json
+++ b/test_fixtures/SignatureRequestSendWithTemplateRequest.json
@@ -42,7 +42,8 @@
"type": true,
"upload": true,
"phone": false,
- "default_type": "draw"
+ "default_type": "draw",
+ "force_advanced_signature_details": false
},
"signing_redirect_url": "https://example.com/redirect",
"subject": "Purchase Order",
diff --git a/test_fixtures/UnclaimedDraftCreateEmbeddedRequest.json b/test_fixtures/UnclaimedDraftCreateEmbeddedRequest.json
index e18890b74..addbe6ac5 100644
--- a/test_fixtures/UnclaimedDraftCreateEmbeddedRequest.json
+++ b/test_fixtures/UnclaimedDraftCreateEmbeddedRequest.json
@@ -127,7 +127,8 @@
"type": true,
"upload": true,
"phone": false,
- "default_type": "draw"
+ "default_type": "draw",
+ "force_advanced_signature_details": false
},
"signing_redirect_url": "https://example.com/redirect",
"show_progress_stepper": true,
diff --git a/test_fixtures/UnclaimedDraftCreateEmbeddedWithTemplateRequest.json b/test_fixtures/UnclaimedDraftCreateEmbeddedWithTemplateRequest.json
index 7c7264948..d4f26cd76 100644
--- a/test_fixtures/UnclaimedDraftCreateEmbeddedWithTemplateRequest.json
+++ b/test_fixtures/UnclaimedDraftCreateEmbeddedWithTemplateRequest.json
@@ -58,7 +58,8 @@
"type": true,
"upload": true,
"phone": false,
- "default_type": "draw"
+ "default_type": "draw",
+ "force_advanced_signature_details": false
},
"show_progress_stepper": true,
"skip_me_now": true,
diff --git a/test_fixtures/UnclaimedDraftCreateRequest.json b/test_fixtures/UnclaimedDraftCreateRequest.json
index 56aa4a024..cc17e68ac 100644
--- a/test_fixtures/UnclaimedDraftCreateRequest.json
+++ b/test_fixtures/UnclaimedDraftCreateRequest.json
@@ -117,7 +117,8 @@
"type": true,
"upload": true,
"phone": false,
- "default_type": "draw"
+ "default_type": "draw",
+ "force_advanced_signature_details": false
},
"signing_redirect_url": "https://example.com/redirect",
"subject": "The NDA we talked about",
diff --git a/translations/en.yaml b/translations/en.yaml
index ee217cf9d..f38094d08 100644
--- a/translations/en.yaml
+++ b/translations/en.yaml
@@ -1236,14 +1236,17 @@
"Sub::SignerRole::ORDER": The order in which this signer role is required to sign.
"Sub::SigningOptions::DESCRIPTION": |-
- This allows the requester to specify the types allowed for creating a signature.
+ This allows the requester to specify the types allowed for creating a signature and specify another signing options.
**NOTE:** If `signing_options` are not defined in the request, the allowed types will default to those specified in the account settings.
+
+ **NOTE:** If `force_advanced_signature_details` is set, allowed types has to be defined too.
"Sub::SigningOptions::DEFAULT": The default type shown (limited to the listed types)
"Sub::SigningOptions::DRAW": Allows drawing the signature
"Sub::SigningOptions::PHONE": Allows using a smartphone to email the signature
"Sub::SigningOptions::TYPE": Allows typing the signature
"Sub::SigningOptions::UPLOAD": Allows uploading the signature
+"Sub::SigningOptions::FORCE_ADVANCED_SIGNATURE_DETAILS": Turning on advanced signature details for the signature request
"Sub::UpdateFormField::API_ID": The unique ID for this field. The endpoint will update an existing field with matching `api_id`, and warn you if no matches are found
"Sub::UpdateFormField::NAME": The new name of the field. If not passed the name will remain unchanged.