dropbox-sign 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +26 -9
- data/VERSION +1 -1
- data/docs/BulkSendJobApi.md +5 -3
- data/docs/TeamResponse.md +1 -0
- data/docs/TemplateResponse.md +2 -2
- data/docs/TemplateResponseDocument.md +3 -3
- data/docs/{TemplateResponseCustomField.md → TemplateResponseDocumentCustomFieldBase.md} +6 -8
- data/docs/TemplateResponseDocumentCustomFieldCheckbox.md +10 -0
- data/docs/TemplateResponseDocumentCustomFieldText.md +14 -0
- data/docs/TemplateResponseDocumentFieldGroup.md +1 -1
- data/docs/TemplateResponseDocumentFieldGroupRule.md +11 -0
- data/docs/{TemplateResponseDocumentFormField.md → TemplateResponseDocumentFormFieldBase.md} +5 -8
- data/docs/TemplateResponseDocumentFormFieldCheckbox.md +10 -0
- data/docs/TemplateResponseDocumentFormFieldDateSigned.md +10 -0
- data/docs/TemplateResponseDocumentFormFieldDropdown.md +10 -0
- data/docs/TemplateResponseDocumentFormFieldHyperlink.md +14 -0
- data/docs/TemplateResponseDocumentFormFieldInitials.md +10 -0
- data/docs/TemplateResponseDocumentFormFieldRadio.md +10 -0
- data/docs/TemplateResponseDocumentFormFieldSignature.md +10 -0
- data/docs/TemplateResponseDocumentFormFieldText.md +15 -0
- data/docs/{TemplateResponseDocumentStaticField.md → TemplateResponseDocumentStaticFieldBase.md} +6 -5
- data/docs/TemplateResponseDocumentStaticFieldCheckbox.md +10 -0
- data/docs/TemplateResponseDocumentStaticFieldDateSigned.md +10 -0
- data/docs/TemplateResponseDocumentStaticFieldDropdown.md +10 -0
- data/docs/TemplateResponseDocumentStaticFieldHyperlink.md +10 -0
- data/docs/TemplateResponseDocumentStaticFieldInitials.md +10 -0
- data/docs/TemplateResponseDocumentStaticFieldRadio.md +10 -0
- data/docs/TemplateResponseDocumentStaticFieldSignature.md +10 -0
- data/docs/TemplateResponseDocumentStaticFieldText.md +10 -0
- data/docs/TemplateResponseFieldAvgTextLength.md +1 -1
- data/lib/dropbox-sign/api/bulk_send_job_api.rb +6 -0
- data/lib/dropbox-sign/models/team_response.rb +17 -4
- data/lib/dropbox-sign/models/template_response.rb +5 -5
- data/lib/dropbox-sign/models/template_response_document.rb +9 -9
- data/lib/dropbox-sign/models/{template_response_document_static_field.rb → template_response_document_custom_field_base.rb} +75 -43
- data/lib/dropbox-sign/models/template_response_document_custom_field_checkbox.rb +263 -0
- data/lib/dropbox-sign/models/template_response_document_custom_field_text.rb +306 -0
- data/lib/dropbox-sign/models/template_response_document_field_group.rb +2 -3
- data/lib/dropbox-sign/models/template_response_document_field_group_rule.rb +263 -0
- data/lib/dropbox-sign/models/{template_response_named_form_field.rb → template_response_document_form_field_base.rb} +82 -79
- data/lib/dropbox-sign/models/template_response_document_form_field_checkbox.rb +263 -0
- data/lib/dropbox-sign/models/template_response_document_form_field_date_signed.rb +263 -0
- data/lib/dropbox-sign/models/template_response_document_form_field_dropdown.rb +263 -0
- data/lib/dropbox-sign/models/template_response_document_form_field_hyperlink.rb +306 -0
- data/lib/dropbox-sign/models/template_response_document_form_field_initials.rb +263 -0
- data/lib/dropbox-sign/models/template_response_document_form_field_radio.rb +263 -0
- data/lib/dropbox-sign/models/template_response_document_form_field_signature.rb +263 -0
- data/lib/dropbox-sign/models/{template_response_document_form_field.rb → template_response_document_form_field_text.rb} +53 -132
- data/lib/dropbox-sign/models/{template_response_custom_field.rb → template_response_document_static_field_base.rb} +94 -112
- data/lib/dropbox-sign/models/template_response_document_static_field_checkbox.rb +263 -0
- data/lib/dropbox-sign/models/template_response_document_static_field_date_signed.rb +263 -0
- data/lib/dropbox-sign/models/template_response_document_static_field_dropdown.rb +263 -0
- data/lib/dropbox-sign/models/template_response_document_static_field_hyperlink.rb +263 -0
- data/lib/dropbox-sign/models/template_response_document_static_field_initials.rb +263 -0
- data/lib/dropbox-sign/models/template_response_document_static_field_radio.rb +263 -0
- data/lib/dropbox-sign/models/template_response_document_static_field_signature.rb +263 -0
- data/lib/dropbox-sign/models/template_response_document_static_field_text.rb +263 -0
- data/lib/dropbox-sign/models/template_response_field_avg_text_length.rb +1 -1
- data/lib/dropbox-sign/version.rb +1 -1
- data/lib/dropbox-sign.rb +22 -5
- data/openapi-config.yaml +1 -1
- data/openapi-sdk.yaml +592 -176
- data/test_fixtures/AccountCreateResponse.json +1 -0
- data/test_fixtures/ApiAppGetResponse.json +1 -0
- data/test_fixtures/ApiAppListResponse.json +1 -0
- data/test_fixtures/BulkSendJobGetResponse.json +8 -3
- data/test_fixtures/SignatureRequestGetResponse.json +65 -65
- data/test_fixtures/SignatureRequestListResponse.json +11 -4
- data/test_fixtures/TemplateGetResponse.json +1064 -41
- data/test_fixtures/TemplateListResponse.json +513 -44
- metadata +52 -18
- data/docs/TemplateResponseDocumentCustomField.md +0 -25
- data/docs/TemplateResponseNamedFormField.md +0 -23
- data/lib/dropbox-sign/models/template_response_document_custom_field.rb +0 -454
@@ -22,27 +22,32 @@
|
|
22
22
|
"is_declined": false,
|
23
23
|
"has_error": false,
|
24
24
|
"custom_fields": [],
|
25
|
+
"created_at": 0,
|
26
|
+
"expires_at": 0,
|
25
27
|
"response_data": [
|
26
28
|
{
|
27
29
|
"api_id": "80c678_1",
|
28
30
|
"name": "Needs Express Shipping",
|
29
31
|
"signature_id": "78caf2a1d01cd39cea2bc1cbb340dac3",
|
30
32
|
"value": true,
|
31
|
-
"type": "checkbox"
|
33
|
+
"type": "checkbox",
|
34
|
+
"required": false
|
32
35
|
},
|
33
36
|
{
|
34
37
|
"api_id": "80c678_2",
|
35
38
|
"name": "Shipping Address",
|
36
39
|
"signature_id": "78caf2a1d01cd39cea2bc1cbb340dac3",
|
37
40
|
"value": "1212 Park Avenue",
|
38
|
-
"type": "text"
|
41
|
+
"type": "text",
|
42
|
+
"required": false
|
39
43
|
},
|
40
44
|
{
|
41
45
|
"api_id": "80c678_3",
|
42
46
|
"name": "DateSigned",
|
43
47
|
"signature_id": "78caf2a1d01cd39cea2bc1cbb340dac3",
|
44
48
|
"value": "09/01/2012",
|
45
|
-
"type": "text"
|
49
|
+
"type": "text",
|
50
|
+
"required": false
|
46
51
|
}
|
47
52
|
],
|
48
53
|
"details_url": "https://app.hellosign.com/home/manage?guid=fa5c8a0b0f492d768749333ad6fcc214c111e967",
|
@@ -11,6 +11,7 @@
|
|
11
11
|
"is_complete": false,
|
12
12
|
"is_declined": false,
|
13
13
|
"has_error": false,
|
14
|
+
"expires_at": 0,
|
14
15
|
"custom_fields": [
|
15
16
|
{
|
16
17
|
"name": "textbox1",
|
@@ -44,71 +45,70 @@
|
|
44
45
|
}
|
45
46
|
],
|
46
47
|
"response_data": [
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
}
|
48
|
+
{
|
49
|
+
"name": "Dropdown1",
|
50
|
+
"type": "dropdown",
|
51
|
+
"required": true,
|
52
|
+
"api_id": "dropdown__1",
|
53
|
+
"value": "1",
|
54
|
+
"signature_id": "a9f4825edef25f47e7b4c14ce8100d81d1693160"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"name": "Checkbox1",
|
58
|
+
"type": "checkbox",
|
59
|
+
"required": false,
|
60
|
+
"api_id": "checkbox__1",
|
61
|
+
"value": true,
|
62
|
+
"signature_id": "a9f4825edef25f47e7b4c14ce8100d81d1693160"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"name": "Textbox1",
|
66
|
+
"type": "text",
|
67
|
+
"required": true,
|
68
|
+
"api_id": "textbox__1",
|
69
|
+
"value": "Signature required below",
|
70
|
+
"signature_id": "a9f4825edef25f47e7b4c14ce8100d81d1693160"
|
71
|
+
},
|
72
|
+
{
|
73
|
+
"name": "DateSigned1",
|
74
|
+
"type": "date_signed",
|
75
|
+
"required": false,
|
76
|
+
"api_id": "datesigned__1",
|
77
|
+
"value": "06 / 29 / 2022",
|
78
|
+
"signature_id": "a9f4825edef25f47e7b4c14ce8100d81d1693160"
|
79
|
+
},
|
80
|
+
{
|
81
|
+
"name": "RadioItem1",
|
82
|
+
"type": "radio",
|
83
|
+
"required": false,
|
84
|
+
"api_id": "radio__1",
|
85
|
+
"value": true,
|
86
|
+
"signature_id": "a9f4825edef25f47e7b4c14ce8100d81d1693160"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"name": "Initial1",
|
90
|
+
"type": "initials",
|
91
|
+
"required": true,
|
92
|
+
"api_id": "initial__1",
|
93
|
+
"value": "YM",
|
94
|
+
"signature_id": "a9f4825edef25f47e7b4c14ce8100d81d1693160"
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"name": "RadioItem2",
|
98
|
+
"type": "radio",
|
99
|
+
"required": false,
|
100
|
+
"api_id": "radio__2",
|
101
|
+
"value": false,
|
102
|
+
"signature_id": "a9f4825edef25f47e7b4c14ce8100d81d1693160"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"name": "Signature1",
|
106
|
+
"type": "signature",
|
107
|
+
"required": true,
|
108
|
+
"api_id": "signature__1",
|
109
|
+
"value": "John Doe",
|
110
|
+
"signature_id": "a9f4825edef25f47e7b4c14ce8100d81d1693160"
|
111
|
+
}
|
112
112
|
],
|
113
113
|
"signing_url": "https://app.hellosign.com/sign/a9f4825edef25f47e7b4c14ce8100d81d1693160",
|
114
114
|
"details_url": "https://app.hellosign.com/home/manage?guid=a9f4825edef25f47e7b4c14ce8100d81d1693160",
|
@@ -15,6 +15,7 @@
|
|
15
15
|
"message": "Let me know if you two have any questions.",
|
16
16
|
"metadata": {},
|
17
17
|
"created_at": 1570471067,
|
18
|
+
"expires_at": 0,
|
18
19
|
"is_complete": false,
|
19
20
|
"is_declined": false,
|
20
21
|
"has_error": false,
|
@@ -55,6 +56,8 @@
|
|
55
56
|
"subject": "Purchase Agreement",
|
56
57
|
"message": "Please sign and return.",
|
57
58
|
"metadata": {},
|
59
|
+
"created_at": 1570471067,
|
60
|
+
"expires_at": 0,
|
58
61
|
"is_complete": true,
|
59
62
|
"is_declined": false,
|
60
63
|
"has_error": false,
|
@@ -65,21 +68,24 @@
|
|
65
68
|
"name": "Needs Express Shipping",
|
66
69
|
"signature_id": "5687fb7bd5aaacb1689728762b600c74",
|
67
70
|
"value": true,
|
68
|
-
"type": "checkbox"
|
71
|
+
"type": "checkbox",
|
72
|
+
"required": false
|
69
73
|
},
|
70
74
|
{
|
71
75
|
"api_id": "uniqueIdHere_2",
|
72
76
|
"name": "Shipping Address",
|
73
77
|
"signature_id": "5687fb7bd5aaacb1689728762b600c74",
|
74
78
|
"value": "1212 Park Avenue",
|
75
|
-
"type": "text"
|
79
|
+
"type": "text",
|
80
|
+
"required": false
|
76
81
|
},
|
77
82
|
{
|
78
83
|
"api_id": "uniqueIdHere_3",
|
79
84
|
"name": "DateSigned",
|
80
85
|
"signature_id": "5687fb7bd5aaacb1689728762b600c74",
|
81
86
|
"value": "09/01/2012",
|
82
|
-
"type": "date_signed"
|
87
|
+
"type": "date_signed",
|
88
|
+
"required": false
|
83
89
|
}
|
84
90
|
],
|
85
91
|
"details_url": "https://app.hellosign.com/home/manage?guid=fa5c8a0b0f492d768749333a",
|
@@ -91,7 +97,8 @@
|
|
91
97
|
"signer_name": "John Doe",
|
92
98
|
"status_code": "signed",
|
93
99
|
"signed_at": 1346521550,
|
94
|
-
"last_viewed_at": 1346521483
|
100
|
+
"last_viewed_at": 1346521483,
|
101
|
+
"has_pin": false
|
95
102
|
}
|
96
103
|
],
|
97
104
|
"cc_email_addresses": [],
|