Skip to content
Merged
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
16 changes: 13 additions & 3 deletions sandbox/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,43 @@ dotnet/*
!dotnet/hellosign_sandbox.csproj
!dotnet/NuGet.Config
!dotnet/Program.cs
!dotnet/src/Dropbox.SignSandbox.Test
!dotnet/test_fixtures

java-v1/*
!java-v1/pom.xml
!java-v1/src
java-v1/src/main/java/com/dropbox/sign_sandbox/*
!java-v1/src/main/java/com/dropbox/sign_sandbox/Main.java
!java-v1/test_fixtures

java-v2/*
!java-v2/pom.xml
!java-v2/src
java-v2/src/main/java/com/dropbox/sign_sandbox/*
!java-v2/src/main/java/com/dropbox/sign_sandbox/Main.java
!java-v2/test_fixtures

node/*
!node/Example.ts
!node/package.json
!node/tests
!node/test_fixtures

php/*
!php/Example.php
!php/composer.json
!php/Example.php
!php/test
!php/test_fixtures

python/*
!python/Example.py
!python/requirements.txt
!python/tests
!python/test_fixtures

ruby/*
!ruby/Example.rb
!ruby/Gemfile

!**/pdf-sample.pdf
!ruby/spec
!ruby/test_fixtures
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
{
"allow_decline": true,
"allow_reassign": true,
"attachments": [
{
"name": "Attachment1",
"signer_index": 1,
"instructions": "Upload your Driver's License",
"required": true
}
],
"cc_email_addresses": [
"lawyer1@example.com",
"lawyer2@example.com"
],
"field_options": {
"date_format": "MM / DD / YYYY"
},
"form_field_groups": [
{
"group_id": "radio_group_1",
"group_label": "Radio Group 1",
"requirement": "require_0-1"
}
],
"form_field_rules": [
{
"id": "rule_1",
"trigger_operator": "AND",
"triggers": [
{
"id": "api_id_1",
"operator": "is",
"value": "foo"
}
],
"actions": [
{
"field_id": "api_id_2",
"hidden": true,
"type": "change-field-visibility"
}
]
}
],
"form_fields_per_document": [
{
"document_index": 0,
"api_id": "api_id_1",
"name": "field_1",
"type": "text",
"x": 0,
"y": 0,
"width": 120,
"height": 30,
"required": true,
"signer": "0",
"page": 1,
"font_family": "roboto",
"font_size": 11
},
{
"document_index": 0,
"api_id": "api_id_2",
"name": "field_2",
"type": "text",
"x": 300,
"y": 0,
"width": 120,
"height": 30,
"required": true,
"signer": 0,
"page": 1,
"font_size": 12
},
{
"document_index": 0,
"api_id": "api_id_3",
"name": "field_3",
"type": "dropdown",
"options": [
"Option 1",
"Option 2",
"Option 3"
],
"x": 0,
"y": 200,
"width": 120,
"height": 30,
"required": true,
"signer": 1,
"page": 1,
"font_size": 12
},
{
"document_index": 0,
"api_id": "api_id_4",
"name": "field_4",
"type": "text",
"x": 300,
"y": 200,
"width": 120,
"height": 30,
"required": true,
"signer": "1",
"page": 1,
"font_size": 12
},
{
"document_index": 0,
"api_id": "api_id_5",
"name": "field_5",
"type": "radio",
"group": "radio_group_1",
"is_checked": true,
"x": 0,
"y": 400,
"width": 100,
"height": 16,
"required": false,
"signer": "2",
"page": 1
},
{
"document_index": 0,
"api_id": "api_id_6",
"name": "field_6",
"type": "radio",
"group": "radio_group_1",
"is_checked": false,
"x": 300,
"y": 400,
"width": 100,
"height": 16,
"required": false,
"signer": "2",
"page": 1
}
],
"message": "Please sign this NDA and then we can discuss more. Let me know if you have any questions.",
"metadata": {
"custom_id": 1234,
"custom_text": "NDA #9"
},
"signers": [
{
"email_address": "s1@example.com",
"name": "Signer 1",
"order": 0
},
{
"email_address": "s2@example.com",
"name": "Signer 2",
"order": 1
},
{
"email_address": "s3@example.com",
"name": "Signer 3",
"order": 2
}
],
"test_mode": true
}
163 changes: 163 additions & 0 deletions sandbox/dotnet/test_fixtures/SignatureRequestSendRequest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
{
"allow_decline": true,
"allow_reassign": true,
"attachments": [
{
"name": "Attachment1",
"signer_index": 1,
"instructions": "Upload your Driver's License",
"required": true
}
],
"cc_email_addresses": [
"lawyer1@example.com",
"lawyer2@example.com"
],
"field_options": {
"date_format": "DD - MM - YYYY"
},
"form_field_groups": [
{
"group_id": "radio_group_1",
"group_label": "Radio Group 1",
"requirement": "require_0-1"
}
],
"form_field_rules": [
{
"id": "rule_1",
"trigger_operator": "AND",
"triggers": [
{
"id": "api_id_1",
"operator": "is",
"value": "foo"
}
],
"actions": [
{
"field_id": "api_id_2",
"hidden": true,
"type": "change-field-visibility"
}
]
}
],
"form_fields_per_document": [
{
"document_index": 0,
"api_id": "api_id_1",
"name": "field_1",
"type": "text",
"x": 0,
"y": 0,
"width": 120,
"height": 30,
"required": true,
"signer": "0",
"page": 1,
"font_family": "roboto",
"font_size": 11
},
{
"document_index": 0,
"api_id": "api_id_2",
"name": "field_2",
"type": "text",
"x": 300,
"y": 0,
"width": 120,
"height": 30,
"required": true,
"signer": 0,
"page": 1,
"font_size": 12
},
{
"document_index": 0,
"api_id": "api_id_3",
"name": "field_3",
"type": "dropdown",
"options": [
"Option 1",
"Option 2",
"Option 3"
],
"x": 0,
"y": 200,
"width": 120,
"height": 30,
"required": true,
"signer": 1,
"page": 1,
"font_size": 12
},
{
"document_index": 0,
"api_id": "api_id_4",
"name": "field_4",
"type": "text",
"x": 300,
"y": 200,
"width": 120,
"height": 30,
"required": true,
"signer": "1",
"page": 1,
"font_size": 12
},
{
"document_index": 0,
"api_id": "api_id_5",
"name": "field_5",
"type": "radio",
"group": "radio_group_1",
"is_checked": true,
"x": 0,
"y": 400,
"width": 100,
"height": 16,
"required": false,
"signer": "2",
"page": 1
},
{
"document_index": 0,
"api_id": "api_id_6",
"name": "field_6",
"type": "radio",
"group": "radio_group_1",
"is_checked": false,
"x": 300,
"y": 400,
"width": 100,
"height": 16,
"required": false,
"signer": "2",
"page": 1
}
],
"message": "Please sign this NDA and then we can discuss more. Let me know if you\nhave any questions.",
"metadata": {
"custom_id": 1234,
"custom_text": "NDA #9"
},
"signers": [
{
"email_address": "s1@example.com",
"name": "Signer 1",
"order": 0
},
{
"email_address": "s2@example.com",
"name": "Signer 2",
"order": 1
},
{
"email_address": "s3@example.com",
"name": "Signer 3",
"order": 2
}
],
"test_mode": true
}
Loading