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.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +26 -9
  4. data/VERSION +1 -1
  5. data/docs/BulkSendJobApi.md +5 -3
  6. data/docs/TeamResponse.md +1 -0
  7. data/docs/TemplateResponse.md +2 -2
  8. data/docs/TemplateResponseDocument.md +3 -3
  9. data/docs/{TemplateResponseCustomField.md → TemplateResponseDocumentCustomFieldBase.md} +6 -8
  10. data/docs/TemplateResponseDocumentCustomFieldCheckbox.md +10 -0
  11. data/docs/TemplateResponseDocumentCustomFieldText.md +14 -0
  12. data/docs/TemplateResponseDocumentFieldGroup.md +1 -1
  13. data/docs/TemplateResponseDocumentFieldGroupRule.md +11 -0
  14. data/docs/{TemplateResponseDocumentFormField.md → TemplateResponseDocumentFormFieldBase.md} +5 -8
  15. data/docs/TemplateResponseDocumentFormFieldCheckbox.md +10 -0
  16. data/docs/TemplateResponseDocumentFormFieldDateSigned.md +10 -0
  17. data/docs/TemplateResponseDocumentFormFieldDropdown.md +10 -0
  18. data/docs/TemplateResponseDocumentFormFieldHyperlink.md +14 -0
  19. data/docs/TemplateResponseDocumentFormFieldInitials.md +10 -0
  20. data/docs/TemplateResponseDocumentFormFieldRadio.md +10 -0
  21. data/docs/TemplateResponseDocumentFormFieldSignature.md +10 -0
  22. data/docs/TemplateResponseDocumentFormFieldText.md +15 -0
  23. data/docs/{TemplateResponseDocumentStaticField.md → TemplateResponseDocumentStaticFieldBase.md} +6 -5
  24. data/docs/TemplateResponseDocumentStaticFieldCheckbox.md +10 -0
  25. data/docs/TemplateResponseDocumentStaticFieldDateSigned.md +10 -0
  26. data/docs/TemplateResponseDocumentStaticFieldDropdown.md +10 -0
  27. data/docs/TemplateResponseDocumentStaticFieldHyperlink.md +10 -0
  28. data/docs/TemplateResponseDocumentStaticFieldInitials.md +10 -0
  29. data/docs/TemplateResponseDocumentStaticFieldRadio.md +10 -0
  30. data/docs/TemplateResponseDocumentStaticFieldSignature.md +10 -0
  31. data/docs/TemplateResponseDocumentStaticFieldText.md +10 -0
  32. data/docs/TemplateResponseFieldAvgTextLength.md +1 -1
  33. data/lib/dropbox-sign/api/bulk_send_job_api.rb +6 -0
  34. data/lib/dropbox-sign/models/team_response.rb +17 -4
  35. data/lib/dropbox-sign/models/template_response.rb +5 -5
  36. data/lib/dropbox-sign/models/template_response_document.rb +9 -9
  37. data/lib/dropbox-sign/models/{template_response_document_static_field.rb → template_response_document_custom_field_base.rb} +75 -43
  38. data/lib/dropbox-sign/models/template_response_document_custom_field_checkbox.rb +263 -0
  39. data/lib/dropbox-sign/models/template_response_document_custom_field_text.rb +306 -0
  40. data/lib/dropbox-sign/models/template_response_document_field_group.rb +2 -3
  41. data/lib/dropbox-sign/models/template_response_document_field_group_rule.rb +263 -0
  42. data/lib/dropbox-sign/models/{template_response_named_form_field.rb → template_response_document_form_field_base.rb} +82 -79
  43. data/lib/dropbox-sign/models/template_response_document_form_field_checkbox.rb +263 -0
  44. data/lib/dropbox-sign/models/template_response_document_form_field_date_signed.rb +263 -0
  45. data/lib/dropbox-sign/models/template_response_document_form_field_dropdown.rb +263 -0
  46. data/lib/dropbox-sign/models/template_response_document_form_field_hyperlink.rb +306 -0
  47. data/lib/dropbox-sign/models/template_response_document_form_field_initials.rb +263 -0
  48. data/lib/dropbox-sign/models/template_response_document_form_field_radio.rb +263 -0
  49. data/lib/dropbox-sign/models/template_response_document_form_field_signature.rb +263 -0
  50. data/lib/dropbox-sign/models/{template_response_document_form_field.rb → template_response_document_form_field_text.rb} +53 -132
  51. data/lib/dropbox-sign/models/{template_response_custom_field.rb → template_response_document_static_field_base.rb} +94 -112
  52. data/lib/dropbox-sign/models/template_response_document_static_field_checkbox.rb +263 -0
  53. data/lib/dropbox-sign/models/template_response_document_static_field_date_signed.rb +263 -0
  54. data/lib/dropbox-sign/models/template_response_document_static_field_dropdown.rb +263 -0
  55. data/lib/dropbox-sign/models/template_response_document_static_field_hyperlink.rb +263 -0
  56. data/lib/dropbox-sign/models/template_response_document_static_field_initials.rb +263 -0
  57. data/lib/dropbox-sign/models/template_response_document_static_field_radio.rb +263 -0
  58. data/lib/dropbox-sign/models/template_response_document_static_field_signature.rb +263 -0
  59. data/lib/dropbox-sign/models/template_response_document_static_field_text.rb +263 -0
  60. data/lib/dropbox-sign/models/template_response_field_avg_text_length.rb +1 -1
  61. data/lib/dropbox-sign/version.rb +1 -1
  62. data/lib/dropbox-sign.rb +22 -5
  63. data/openapi-config.yaml +1 -1
  64. data/openapi-sdk.yaml +592 -176
  65. data/test_fixtures/AccountCreateResponse.json +1 -0
  66. data/test_fixtures/ApiAppGetResponse.json +1 -0
  67. data/test_fixtures/ApiAppListResponse.json +1 -0
  68. data/test_fixtures/BulkSendJobGetResponse.json +8 -3
  69. data/test_fixtures/SignatureRequestGetResponse.json +65 -65
  70. data/test_fixtures/SignatureRequestListResponse.json +11 -4
  71. data/test_fixtures/TemplateGetResponse.json +1064 -41
  72. data/test_fixtures/TemplateListResponse.json +513 -44
  73. metadata +52 -18
  74. data/docs/TemplateResponseDocumentCustomField.md +0 -25
  75. data/docs/TemplateResponseNamedFormField.md +0 -23
  76. data/lib/dropbox-sign/models/template_response_document_custom_field.rb +0 -454
@@ -5,6 +5,7 @@
5
5
  "email_address": "newuser@dropboxsign.com",
6
6
  "is_paid_hs": false,
7
7
  "is_paid_hf": false,
8
+ "is_locked": false,
8
9
  "quotas": {
9
10
  "templates_left": 0,
10
11
  "api_signature_requests_left": 0,
@@ -12,6 +12,7 @@
12
12
  "basic_account_info",
13
13
  "request_signature"
14
14
  ],
15
+ "charges_users": false,
15
16
  "secret": "98891a1b59f312d04cd88e4e0c498d75"
16
17
  },
17
18
  "owner_account": {
@@ -13,6 +13,7 @@
13
13
  "basic_account_info",
14
14
  "request_signature"
15
15
  ],
16
+ "charges_users": false,
16
17
  "secret": "98891a1b59f312d04cd88e4e0c498d75"
17
18
  },
18
19
  "owner_account": {
@@ -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
- "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
- }
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": [],