Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion examples/SignatureRequestCreateEmbeddedExample.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
1 change: 1 addition & 0 deletions examples/SignatureRequestCreateEmbeddedExample.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 2 additions & 1 deletion examples/SignatureRequestCreateEmbeddedExample.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions examples/SignatureRequestCreateEmbeddedExample.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
phone=False,
type=True,
upload=True,
force_advanced_signature_details=False,
)

signer_experience = models.SubSignerExperience(
Expand Down
1 change: 1 addition & 0 deletions examples/SignatureRequestCreateEmbeddedExample.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions examples/SignatureRequestCreateEmbeddedExample.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
1 change: 1 addition & 0 deletions examples/SignatureRequestCreateEmbeddedExample.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const signingOptions: models.SubSigningOptions = {
phone: false,
type: true,
upload: true,
force_advanced_signature_details: false,
};

const signerExperience: models.SubSignerExperience = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
phone=False,
type=True,
upload=True,
force_advanced_signature_details=False,
)

signer_experience = models.SubSignerExperience(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const signingOptions: models.SubSigningOptions = {
phone: false,
type: true,
upload: true,
force_advanced_signature_details: false,
};

const signerExperience: models.SubSignerExperience = {
Expand Down
3 changes: 2 additions & 1 deletion examples/SignatureRequestSendExample.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
1 change: 1 addition & 0 deletions examples/SignatureRequestSendExample.java
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
3 changes: 2 additions & 1 deletion examples/SignatureRequestSendExample.php
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
1 change: 1 addition & 0 deletions examples/SignatureRequestSendExample.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
phone=False,
type=True,
upload=True,
force_advanced_signature_details=False,
)

signers_1 = models.SubSignatureRequestSigner(
Expand Down
1 change: 1 addition & 0 deletions examples/SignatureRequestSendExample.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions examples/SignatureRequestSendExample.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
1 change: 1 addition & 0 deletions examples/SignatureRequestSendExample.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const signingOptions: models.SubSigningOptions = {
phone: false,
type: true,
upload: true,
force_advanced_signature_details: false,
};

const signers1: models.SubSignatureRequestSigner = {
Expand Down
3 changes: 2 additions & 1 deletion examples/SignatureRequestSendWithTemplateExample.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
1 change: 1 addition & 0 deletions examples/SignatureRequestSendWithTemplateExample.java
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
3 changes: 2 additions & 1 deletion examples/SignatureRequestSendWithTemplateExample.php
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
1 change: 1 addition & 0 deletions examples/SignatureRequestSendWithTemplateExample.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
phone=False,
type=True,
upload=True,
force_advanced_signature_details=False,
)

signers_1 = models.SubSignatureRequestTemplateSigner(
Expand Down
1 change: 1 addition & 0 deletions examples/SignatureRequestSendWithTemplateExample.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions examples/SignatureRequestSendWithTemplateExample.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'
1 change: 1 addition & 0 deletions examples/SignatureRequestSendWithTemplateExample.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const signingOptions: models.SubSigningOptions = {
phone: false,
type: true,
upload: true,
force_advanced_signature_details: false,
};

const signers1: models.SubSignatureRequestTemplateSigner = {
Expand Down
3 changes: 2 additions & 1 deletion examples/json/SignatureRequestCreateEmbeddedRequest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
3 changes: 2 additions & 1 deletion examples/json/SignatureRequestSendRequest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion examples/json/SignatureRequestSendWithTemplateRequest.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"type": true,
"upload": true,
"phone": false,
"default_type": "draw"
"default_type": "draw",
"force_advanced_signature_details": false
},
"test_mode": true
}
11 changes: 11 additions & 0 deletions openapi-raw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6859,6 +6859,13 @@ paths:
schema:
type: string
example: f57db65d3f933b5316d398057a36176831451a35
-
name: shallow
in: query
description: '_t__TemplateGet::SHALLOW'
schema:
type: boolean
x-hideOn: doc
responses:
'200':
description: 'successful operation'
Expand Down Expand Up @@ -9989,6 +9996,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'
Expand Down
15 changes: 14 additions & 1 deletion openapi-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6929,6 +6929,13 @@ paths:
schema:
type: string
example: f57db65d3f933b5316d398057a36176831451a35
-
name: shallow
in: query
description: '_t__TemplateGet::SHALLOW'
schema:
type: boolean
x-hideOn: doc
responses:
'200':
description: 'successful operation'
Expand Down Expand Up @@ -10513,9 +10520,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:
Expand Down Expand Up @@ -10543,6 +10552,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: |-
Expand Down
8 changes: 7 additions & 1 deletion openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10376,9 +10376,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:
Expand Down Expand Up @@ -10406,6 +10408,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: |-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Loading