dropbox-sign 1.0.1 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) 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/SignatureRequestCreateEmbeddedRequest.md +1 -1
  7. data/docs/TeamResponse.md +1 -0
  8. data/docs/TemplateResponse.md +2 -2
  9. data/docs/TemplateResponseDocument.md +3 -3
  10. data/docs/{TemplateResponseCustomField.md → TemplateResponseDocumentCustomFieldBase.md} +5 -8
  11. data/docs/TemplateResponseDocumentCustomFieldCheckbox.md +10 -0
  12. data/docs/TemplateResponseDocumentCustomFieldText.md +14 -0
  13. data/docs/TemplateResponseDocumentFieldGroup.md +1 -1
  14. data/docs/TemplateResponseDocumentFieldGroupRule.md +11 -0
  15. data/docs/{TemplateResponseDocumentFormField.md → TemplateResponseDocumentFormFieldBase.md} +4 -8
  16. data/docs/TemplateResponseDocumentFormFieldCheckbox.md +10 -0
  17. data/docs/TemplateResponseDocumentFormFieldDateSigned.md +10 -0
  18. data/docs/TemplateResponseDocumentFormFieldDropdown.md +10 -0
  19. data/docs/TemplateResponseDocumentFormFieldHyperlink.md +14 -0
  20. data/docs/TemplateResponseDocumentFormFieldInitials.md +10 -0
  21. data/docs/TemplateResponseDocumentFormFieldRadio.md +10 -0
  22. data/docs/TemplateResponseDocumentFormFieldSignature.md +10 -0
  23. data/docs/TemplateResponseDocumentFormFieldText.md +15 -0
  24. data/docs/{TemplateResponseDocumentStaticField.md → TemplateResponseDocumentStaticFieldBase.md} +5 -5
  25. data/docs/TemplateResponseDocumentStaticFieldCheckbox.md +10 -0
  26. data/docs/TemplateResponseDocumentStaticFieldDateSigned.md +10 -0
  27. data/docs/TemplateResponseDocumentStaticFieldDropdown.md +10 -0
  28. data/docs/TemplateResponseDocumentStaticFieldHyperlink.md +10 -0
  29. data/docs/TemplateResponseDocumentStaticFieldInitials.md +10 -0
  30. data/docs/TemplateResponseDocumentStaticFieldRadio.md +10 -0
  31. data/docs/TemplateResponseDocumentStaticFieldSignature.md +10 -0
  32. data/docs/TemplateResponseDocumentStaticFieldText.md +10 -0
  33. data/docs/TemplateResponseFieldAvgTextLength.md +1 -1
  34. data/lib/dropbox-sign/api/bulk_send_job_api.rb +6 -0
  35. data/lib/dropbox-sign/models/signature_request_create_embedded_request.rb +1 -1
  36. data/lib/dropbox-sign/models/team_response.rb +17 -4
  37. data/lib/dropbox-sign/models/template_response.rb +5 -5
  38. data/lib/dropbox-sign/models/template_response_document.rb +9 -9
  39. data/lib/dropbox-sign/models/{template_response_document_static_field.rb → template_response_document_custom_field_base.rb} +60 -39
  40. data/lib/dropbox-sign/models/template_response_document_custom_field_checkbox.rb +263 -0
  41. data/lib/dropbox-sign/models/template_response_document_custom_field_text.rb +306 -0
  42. data/lib/dropbox-sign/models/template_response_document_field_group.rb +2 -3
  43. data/lib/dropbox-sign/models/template_response_document_field_group_rule.rb +263 -0
  44. data/lib/dropbox-sign/models/{template_response_named_form_field.rb → template_response_document_form_field_base.rb} +78 -86
  45. data/lib/dropbox-sign/models/template_response_document_form_field_checkbox.rb +263 -0
  46. data/lib/dropbox-sign/models/template_response_document_form_field_date_signed.rb +263 -0
  47. data/lib/dropbox-sign/models/template_response_document_form_field_dropdown.rb +263 -0
  48. data/lib/dropbox-sign/models/template_response_document_form_field_hyperlink.rb +306 -0
  49. data/lib/dropbox-sign/models/template_response_document_form_field_initials.rb +263 -0
  50. data/lib/dropbox-sign/models/template_response_document_form_field_radio.rb +263 -0
  51. data/lib/dropbox-sign/models/template_response_document_form_field_signature.rb +263 -0
  52. data/lib/dropbox-sign/models/{template_response_document_form_field.rb → template_response_document_form_field_text.rb} +53 -132
  53. data/lib/dropbox-sign/models/{template_response_custom_field.rb → template_response_document_static_field_base.rb} +90 -119
  54. data/lib/dropbox-sign/models/template_response_document_static_field_checkbox.rb +263 -0
  55. data/lib/dropbox-sign/models/template_response_document_static_field_date_signed.rb +263 -0
  56. data/lib/dropbox-sign/models/template_response_document_static_field_dropdown.rb +263 -0
  57. data/lib/dropbox-sign/models/template_response_document_static_field_hyperlink.rb +263 -0
  58. data/lib/dropbox-sign/models/template_response_document_static_field_initials.rb +263 -0
  59. data/lib/dropbox-sign/models/template_response_document_static_field_radio.rb +263 -0
  60. data/lib/dropbox-sign/models/template_response_document_static_field_signature.rb +263 -0
  61. data/lib/dropbox-sign/models/template_response_document_static_field_text.rb +263 -0
  62. data/lib/dropbox-sign/models/template_response_field_avg_text_length.rb +1 -1
  63. data/lib/dropbox-sign/version.rb +1 -1
  64. data/lib/dropbox-sign.rb +22 -5
  65. data/openapi-config.yaml +1 -1
  66. data/openapi-sdk.yaml +586 -182
  67. data/test_fixtures/AccountCreateResponse.json +1 -0
  68. data/test_fixtures/ApiAppGetResponse.json +1 -0
  69. data/test_fixtures/ApiAppListResponse.json +1 -0
  70. data/test_fixtures/BulkSendJobGetResponse.json +8 -3
  71. data/test_fixtures/SignatureRequestGetResponse.json +65 -65
  72. data/test_fixtures/SignatureRequestListResponse.json +11 -4
  73. data/test_fixtures/TemplateGetResponse.json +1002 -41
  74. data/test_fixtures/TemplateListResponse.json +483 -44
  75. metadata +52 -18
  76. data/docs/TemplateResponseDocumentCustomField.md +0 -25
  77. data/docs/TemplateResponseNamedFormField.md +0 -23
  78. 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": [],