docusign_esign 1.0.2 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (496) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile.lock +16 -14
  3. data/README.md +44 -19
  4. data/docusign_esign.gemspec +5 -5
  5. data/lib/.DS_Store +0 -0
  6. data/lib/docusign_esign.rb +69 -6
  7. data/lib/docusign_esign/.DS_Store +0 -0
  8. data/lib/docusign_esign/api/accounts_api.rb +786 -74
  9. data/lib/docusign_esign/api/billing_api.rb +51 -2
  10. data/lib/docusign_esign/api/bulk_envelopes_api.rb +3 -1
  11. data/lib/docusign_esign/api/comments_api.rb +89 -0
  12. data/lib/docusign_esign/api/connect_api.rb +0 -151
  13. data/lib/docusign_esign/api/envelopes_api.rb +578 -195
  14. data/lib/docusign_esign/api/folders_api.rb +5 -14
  15. data/lib/docusign_esign/api/groups_api.rb +0 -4
  16. data/lib/docusign_esign/api/notary_api.rb +89 -0
  17. data/lib/docusign_esign/api/power_forms_api.rb +4 -0
  18. data/lib/docusign_esign/api/templates_api.rb +465 -6
  19. data/lib/docusign_esign/api/trust_service_providers_api.rb +73 -0
  20. data/lib/docusign_esign/api/users_api.rb +89 -10
  21. data/{tests → lib/docusign_esign/client}/.DS_Store +0 -0
  22. data/lib/docusign_esign/{api_client.rb → client/api_client.rb} +187 -34
  23. data/lib/docusign_esign/{api_error.rb → client/api_error.rb} +0 -0
  24. data/lib/docusign_esign/client/auth/oauth.rb +1061 -0
  25. data/lib/docusign_esign/configuration.rb +7 -0
  26. data/lib/docusign_esign/models/account_address.rb +1 -1
  27. data/lib/docusign_esign/models/account_billing_plan_response.rb +10 -1
  28. data/lib/docusign_esign/models/account_identity_verification_response.rb +190 -0
  29. data/lib/docusign_esign/models/{view_link_request.rb → account_identity_verification_step.rb} +14 -14
  30. data/lib/docusign_esign/models/account_identity_verification_workflow.rb +210 -0
  31. data/lib/docusign_esign/models/account_information.rb +11 -1
  32. data/lib/docusign_esign/models/account_minimum_password_length.rb +198 -0
  33. data/lib/docusign_esign/models/{post_transactions_response.rb → account_password_expire_password_days.rb} +14 -14
  34. data/lib/docusign_esign/models/account_password_lockout_duration_minutes.rb +198 -0
  35. data/lib/docusign_esign/models/account_password_lockout_duration_type.rb +190 -0
  36. data/lib/docusign_esign/models/account_password_minimum_password_age_days.rb +198 -0
  37. data/lib/docusign_esign/models/account_password_questions_required.rb +198 -0
  38. data/lib/docusign_esign/models/account_password_rules.rb +371 -0
  39. data/lib/docusign_esign/models/account_password_strength_type.rb +190 -0
  40. data/lib/docusign_esign/models/account_password_strength_type_option.rb +248 -0
  41. data/lib/docusign_esign/models/account_role_settings.rb +39 -1
  42. data/lib/docusign_esign/models/account_seals.rb +190 -0
  43. data/lib/docusign_esign/models/agent.rb +33 -3
  44. data/lib/docusign_esign/models/approve.rb +25 -3
  45. data/lib/docusign_esign/models/authentication_status.rb +10 -1
  46. data/lib/docusign_esign/models/billing_charge.rb +1 -1
  47. data/lib/docusign_esign/models/billing_plan_information.rb +10 -1
  48. data/lib/docusign_esign/models/billing_plan_update_response.rb +11 -1
  49. data/lib/docusign_esign/models/bulk_recipient.rb +1 -1
  50. data/lib/docusign_esign/models/carbon_copy.rb +53 -3
  51. data/lib/docusign_esign/models/certified_delivery.rb +53 -3
  52. data/lib/docusign_esign/models/checkbox.rb +25 -3
  53. data/lib/docusign_esign/models/chunked_upload_response.rb +21 -1
  54. data/lib/docusign_esign/models/company.rb +25 -3
  55. data/lib/docusign_esign/models/complete_sign_hash_response.rb +210 -0
  56. data/lib/docusign_esign/models/complete_sign_request.rb +220 -0
  57. data/lib/docusign_esign/models/composite_template.rb +1 -1
  58. data/lib/docusign_esign/models/connect_custom_configuration.rb +14 -4
  59. data/lib/docusign_esign/models/consumer_disclosure.rb +19 -1
  60. data/lib/docusign_esign/models/contact.rb +13 -1
  61. data/lib/docusign_esign/models/contact_phone_number.rb +198 -0
  62. data/lib/docusign_esign/models/credential.rb +198 -0
  63. data/lib/docusign_esign/models/{offline_attributes.rb → custom_field.rb} +65 -44
  64. data/lib/docusign_esign/models/date.rb +26 -4
  65. data/lib/docusign_esign/models/date_signed.rb +25 -3
  66. data/lib/docusign_esign/models/{post_transactions_request.rb → date_stamp_properties.rb} +26 -26
  67. data/lib/docusign_esign/models/decline.rb +25 -3
  68. data/lib/docusign_esign/models/dob_information_input.rb +1 -1
  69. data/lib/docusign_esign/models/document.rb +31 -2
  70. data/lib/docusign_esign/models/document_fields_information.rb +1 -1
  71. data/lib/docusign_esign/models/document_html_collapsible_display_settings.rb +278 -0
  72. data/lib/docusign_esign/models/document_html_definition.rb +290 -0
  73. data/lib/docusign_esign/models/document_html_definition_original.rb +207 -0
  74. data/lib/docusign_esign/models/document_html_definition_originals.rb +190 -0
  75. data/lib/docusign_esign/models/document_html_definitions.rb +190 -0
  76. data/lib/docusign_esign/models/document_html_display_anchor.rb +237 -0
  77. data/lib/docusign_esign/models/document_html_display_settings.rb +287 -0
  78. data/lib/docusign_esign/models/document_security_store.rb +214 -0
  79. data/lib/docusign_esign/models/document_update_info.rb +248 -0
  80. data/lib/docusign_esign/models/editor.rb +33 -3
  81. data/lib/docusign_esign/models/email.rb +26 -4
  82. data/lib/docusign_esign/models/email_address.rb +35 -3
  83. data/lib/docusign_esign/models/email_settings.rb +1 -1
  84. data/lib/docusign_esign/models/envelope.rb +32 -2
  85. data/lib/docusign_esign/models/envelope_definition.rb +33 -3
  86. data/lib/docusign_esign/models/envelope_document.rb +11 -21
  87. data/lib/docusign_esign/models/envelope_id.rb +25 -3
  88. data/lib/docusign_esign/models/envelope_template.rb +32 -2
  89. data/lib/docusign_esign/models/envelope_template_definition.rb +11 -1
  90. data/lib/docusign_esign/models/envelope_template_result.rb +42 -2
  91. data/lib/docusign_esign/models/envelopes_information.rb +21 -1
  92. data/lib/docusign_esign/models/first_name.rb +35 -3
  93. data/lib/docusign_esign/models/formula_tab.rb +36 -4
  94. data/lib/docusign_esign/models/full_name.rb +35 -3
  95. data/lib/docusign_esign/models/id_check_information_input.rb +1 -1
  96. data/lib/docusign_esign/models/in_person_signer.rb +45 -3
  97. data/lib/docusign_esign/models/initial_here.rb +26 -4
  98. data/lib/docusign_esign/models/intermediary.rb +33 -3
  99. data/lib/docusign_esign/models/jurisdiction.rb +278 -0
  100. data/lib/docusign_esign/models/last_name.rb +35 -3
  101. data/lib/docusign_esign/models/list.rb +25 -3
  102. data/lib/docusign_esign/models/new_account_definition.rb +10 -1
  103. data/lib/docusign_esign/models/notarize.rb +448 -0
  104. data/lib/docusign_esign/models/notary_host.rb +12 -21
  105. data/lib/docusign_esign/models/notary_journal.rb +236 -0
  106. data/lib/docusign_esign/models/notary_journal_credible_witness.rb +208 -0
  107. data/lib/docusign_esign/models/notary_journal_list.rb +250 -0
  108. data/lib/docusign_esign/models/notary_journal_meta_data.rb +220 -0
  109. data/lib/docusign_esign/models/note.rb +25 -3
  110. data/lib/docusign_esign/models/number.rb +26 -4
  111. data/lib/docusign_esign/models/payment_details.rb +53 -1
  112. data/lib/docusign_esign/models/payment_gateway_account.rb +218 -0
  113. data/lib/docusign_esign/models/payment_gateway_accounts_info.rb +190 -0
  114. data/lib/docusign_esign/models/payment_processor_information.rb +207 -0
  115. data/lib/docusign_esign/models/power_form.rb +11 -1
  116. data/lib/docusign_esign/models/power_form_recipient.rb +1 -1
  117. data/lib/docusign_esign/models/radio.rb +2 -2
  118. data/lib/docusign_esign/models/radio_group.rb +34 -4
  119. data/lib/docusign_esign/models/recipient_signature_provider.rb +21 -1
  120. data/lib/docusign_esign/models/recipients.rb +28 -4
  121. data/lib/docusign_esign/models/revision.rb +228 -0
  122. data/lib/docusign_esign/models/seal.rb +200 -0
  123. data/lib/docusign_esign/models/seal_identifier.rb +198 -0
  124. data/lib/docusign_esign/models/seal_sign.rb +560 -0
  125. data/lib/docusign_esign/models/sender.rb +198 -0
  126. data/lib/docusign_esign/models/sender_email_notifications.rb +21 -1
  127. data/lib/docusign_esign/models/sign_hash_document.rb +250 -0
  128. data/lib/docusign_esign/models/sign_hash_session_info_response.rb +248 -0
  129. data/lib/docusign_esign/models/sign_here.rb +45 -4
  130. data/lib/docusign_esign/models/sign_session_info_request.rb +208 -0
  131. data/lib/docusign_esign/models/signature_data_info.rb +207 -0
  132. data/lib/docusign_esign/models/signer.rb +54 -4
  133. data/lib/docusign_esign/models/signer_attachment.rb +26 -4
  134. data/lib/docusign_esign/models/signer_email_notifications.rb +21 -1
  135. data/lib/docusign_esign/models/smart_section.rb +505 -0
  136. data/lib/docusign_esign/models/smart_section_anchor_position.rb +208 -0
  137. data/lib/docusign_esign/models/smart_section_collapsible_display_settings.rb +278 -0
  138. data/lib/docusign_esign/models/smart_section_display_settings.rb +287 -0
  139. data/lib/docusign_esign/models/ssn.rb +26 -4
  140. data/lib/docusign_esign/models/supported_languages.rb +190 -0
  141. data/lib/docusign_esign/models/tab_metadata.rb +63 -4
  142. data/lib/docusign_esign/models/tabs.rb +27 -3
  143. data/lib/docusign_esign/models/template_recipients.rb +28 -4
  144. data/lib/docusign_esign/models/template_role.rb +15 -3
  145. data/lib/docusign_esign/models/template_tabs.rb +27 -3
  146. data/lib/docusign_esign/models/text.rb +26 -4
  147. data/lib/docusign_esign/models/time_stamp_field.rb +207 -0
  148. data/lib/docusign_esign/models/title.rb +25 -3
  149. data/lib/docusign_esign/models/tsp_health_check_request.rb +230 -0
  150. data/lib/docusign_esign/models/tsp_health_check_status_description.rb +238 -0
  151. data/lib/docusign_esign/models/update_transaction_request.rb +208 -0
  152. data/lib/docusign_esign/models/update_transaction_response.rb +188 -0
  153. data/lib/docusign_esign/models/usage_history.rb +1 -1
  154. data/lib/docusign_esign/models/user.rb +220 -0
  155. data/lib/docusign_esign/models/user_account_management_granular_information.rb +77 -1
  156. data/lib/docusign_esign/models/user_info_response.rb +225 -0
  157. data/lib/docusign_esign/models/user_information.rb +46 -6
  158. data/lib/docusign_esign/models/user_password_rules.rb +197 -0
  159. data/lib/docusign_esign/models/user_signature.rb +83 -4
  160. data/lib/docusign_esign/models/view.rb +25 -3
  161. data/lib/docusign_esign/models/watermark.rb +268 -0
  162. data/lib/docusign_esign/models/witness.rb +812 -0
  163. data/lib/docusign_esign/models/zip.rb +26 -4
  164. data/lib/docusign_esign/version.rb +1 -1
  165. data/tests/Gemfile +1 -1
  166. data/tests/Gemfile.lock +24 -20
  167. data/tests/{rsa_keys → docs}/private.pem +0 -0
  168. data/tests/spec/unit_tests_spec.rb +6 -8
  169. data/tests/spec/unit_tests_using_jwt_spec.rb +37 -35
  170. metadata +122 -672
  171. data/spec/api/accounts_api_spec.rb +0 -556
  172. data/spec/api/authentication_api_spec.rb +0 -125
  173. data/spec/api/billing_api_spec.rb +0 -178
  174. data/spec/api/bulk_envelopes_api_spec.rb +0 -110
  175. data/spec/api/cloud_storage_api_spec.rb +0 -146
  176. data/spec/api/connect_api_spec.rb +0 -261
  177. data/spec/api/custom_tabs_api_spec.rb +0 -100
  178. data/spec/api/diagnostics_api_spec.rb +0 -114
  179. data/spec/api/envelopes_api_spec.rb +0 -1171
  180. data/spec/api/folders_api_spec.rb +0 -107
  181. data/spec/api/groups_api_spec.rb +0 -174
  182. data/spec/api/power_forms_api_spec.rb +0 -144
  183. data/spec/api/signing_groups_api_spec.rb +0 -155
  184. data/spec/api/templates_api_spec.rb +0 -649
  185. data/spec/api/users_api_spec.rb +0 -442
  186. data/spec/api/workspaces_api_spec.rb +0 -201
  187. data/spec/api_client_spec.rb +0 -225
  188. data/spec/configuration_spec.rb +0 -41
  189. data/spec/models/account_address_spec.rb +0 -107
  190. data/spec/models/account_billing_plan_response_spec.rb +0 -71
  191. data/spec/models/account_billing_plan_spec.rb +0 -155
  192. data/spec/models/account_information_spec.rb +0 -221
  193. data/spec/models/account_role_settings_spec.rb +0 -419
  194. data/spec/models/account_settings_information_spec.rb +0 -41
  195. data/spec/models/account_shared_access_spec.rb +0 -89
  196. data/spec/models/account_signature_provider_option_spec.rb +0 -53
  197. data/spec/models/account_signature_provider_spec.rb +0 -77
  198. data/spec/models/account_signature_providers_spec.rb +0 -41
  199. data/spec/models/add_on_spec.rb +0 -59
  200. data/spec/models/address_information_input_spec.rb +0 -53
  201. data/spec/models/address_information_spec.rb +0 -83
  202. data/spec/models/address_information_v2_spec.rb +0 -83
  203. data/spec/models/agent_spec.rb +0 -287
  204. data/spec/models/api_request_log_spec.rb +0 -59
  205. data/spec/models/api_request_logs_result_spec.rb +0 -41
  206. data/spec/models/app_store_product_spec.rb +0 -47
  207. data/spec/models/app_store_receipt_spec.rb +0 -47
  208. data/spec/models/approve_spec.rb +0 -233
  209. data/spec/models/attachment_spec.rb +0 -77
  210. data/spec/models/authentication_method_spec.rb +0 -59
  211. data/spec/models/authentication_status_spec.rb +0 -137
  212. data/spec/models/bcc_email_address_spec.rb +0 -47
  213. data/spec/models/billing_charge_response_spec.rb +0 -41
  214. data/spec/models/billing_charge_spec.rb +0 -113
  215. data/spec/models/billing_discount_spec.rb +0 -53
  216. data/spec/models/billing_invoice_item_spec.rb +0 -65
  217. data/spec/models/billing_invoice_spec.rb +0 -95
  218. data/spec/models/billing_invoices_response_spec.rb +0 -53
  219. data/spec/models/billing_invoices_summary_spec.rb +0 -53
  220. data/spec/models/billing_payment_item_spec.rb +0 -65
  221. data/spec/models/billing_payment_request_spec.rb +0 -41
  222. data/spec/models/billing_payment_response_spec.rb +0 -41
  223. data/spec/models/billing_payment_spec.rb +0 -53
  224. data/spec/models/billing_payments_response_spec.rb +0 -53
  225. data/spec/models/billing_plan_information_spec.rb +0 -125
  226. data/spec/models/billing_plan_preview_spec.rb +0 -71
  227. data/spec/models/billing_plan_response_spec.rb +0 -47
  228. data/spec/models/billing_plan_spec.rb +0 -125
  229. data/spec/models/billing_plan_update_response_spec.rb +0 -77
  230. data/spec/models/billing_plans_response_spec.rb +0 -41
  231. data/spec/models/billing_price_spec.rb +0 -53
  232. data/spec/models/brand_email_content_spec.rb +0 -59
  233. data/spec/models/brand_link_spec.rb +0 -59
  234. data/spec/models/brand_logos_spec.rb +0 -53
  235. data/spec/models/brand_request_spec.rb +0 -41
  236. data/spec/models/brand_resource_urls_spec.rb +0 -59
  237. data/spec/models/brand_resources_list_spec.rb +0 -41
  238. data/spec/models/brand_resources_spec.rb +0 -77
  239. data/spec/models/brand_spec.rb +0 -113
  240. data/spec/models/brands_request_spec.rb +0 -41
  241. data/spec/models/brands_response_spec.rb +0 -53
  242. data/spec/models/bulk_envelope_spec.rb +0 -89
  243. data/spec/models/bulk_envelope_status_spec.rb +0 -119
  244. data/spec/models/bulk_envelopes_response_spec.rb +0 -77
  245. data/spec/models/bulk_recipient_signature_provider_spec.rb +0 -47
  246. data/spec/models/bulk_recipient_spec.rb +0 -95
  247. data/spec/models/bulk_recipient_tab_label_spec.rb +0 -47
  248. data/spec/models/bulk_recipients_request_spec.rb +0 -41
  249. data/spec/models/bulk_recipients_response_spec.rb +0 -77
  250. data/spec/models/bulk_recipients_summary_response_spec.rb +0 -59
  251. data/spec/models/bulk_recipients_update_response_spec.rb +0 -41
  252. data/spec/models/captive_recipient_information_spec.rb +0 -41
  253. data/spec/models/captive_recipient_spec.rb +0 -59
  254. data/spec/models/carbon_copy_spec.rb +0 -287
  255. data/spec/models/certified_delivery_spec.rb +0 -287
  256. data/spec/models/checkbox_spec.rb +0 -215
  257. data/spec/models/chunked_upload_part_spec.rb +0 -47
  258. data/spec/models/chunked_upload_request_spec.rb +0 -47
  259. data/spec/models/chunked_upload_response_spec.rb +0 -77
  260. data/spec/models/cloud_storage_provider_spec.rb +0 -65
  261. data/spec/models/cloud_storage_providers_spec.rb +0 -41
  262. data/spec/models/company_spec.rb +0 -269
  263. data/spec/models/composite_template_spec.rb +0 -65
  264. data/spec/models/connect_config_results_spec.rb +0 -47
  265. data/spec/models/connect_custom_configuration_spec.rb +0 -161
  266. data/spec/models/connect_debug_log_spec.rb +0 -65
  267. data/spec/models/connect_failure_filter_spec.rb +0 -47
  268. data/spec/models/connect_failure_result_spec.rb +0 -65
  269. data/spec/models/connect_failure_results_spec.rb +0 -41
  270. data/spec/models/connect_log_spec.rb +0 -143
  271. data/spec/models/connect_logs_spec.rb +0 -59
  272. data/spec/models/console_view_request_spec.rb +0 -47
  273. data/spec/models/consumer_disclosure_spec.rb +0 -215
  274. data/spec/models/contact_get_response_spec.rb +0 -77
  275. data/spec/models/contact_mod_request_spec.rb +0 -41
  276. data/spec/models/contact_spec.rb +0 -89
  277. data/spec/models/contact_update_response_spec.rb +0 -41
  278. data/spec/models/correct_view_request_spec.rb +0 -47
  279. data/spec/models/country_spec.rb +0 -59
  280. data/spec/models/credit_card_information_spec.rb +0 -71
  281. data/spec/models/credit_card_types_spec.rb +0 -41
  282. data/spec/models/currency_feature_set_price_spec.rb +0 -65
  283. data/spec/models/currency_plan_price_spec.rb +0 -71
  284. data/spec/models/custom_field_v2_spec.rb +0 -77
  285. data/spec/models/custom_fields_envelope_spec.rb +0 -47
  286. data/spec/models/custom_fields_spec.rb +0 -47
  287. data/spec/models/custom_settings_information_spec.rb +0 -41
  288. data/spec/models/date_signed_spec.rb +0 -227
  289. data/spec/models/date_spec.rb +0 -305
  290. data/spec/models/decline_spec.rb +0 -239
  291. data/spec/models/diagnostics_settings_information_spec.rb +0 -53
  292. data/spec/models/dob_information_input_spec.rb +0 -53
  293. data/spec/models/document_fields_information_spec.rb +0 -41
  294. data/spec/models/document_spec.rb +0 -155
  295. data/spec/models/document_template_list_spec.rb +0 -41
  296. data/spec/models/document_template_spec.rb +0 -65
  297. data/spec/models/document_visibility_list_spec.rb +0 -41
  298. data/spec/models/document_visibility_spec.rb +0 -65
  299. data/spec/models/e_note_configuration_spec.rb +0 -65
  300. data/spec/models/editor_spec.rb +0 -281
  301. data/spec/models/email_address_spec.rb +0 -221
  302. data/spec/models/email_settings_spec.rb +0 -53
  303. data/spec/models/email_spec.rb +0 -305
  304. data/spec/models/envelope_attachment_spec.rb +0 -71
  305. data/spec/models/envelope_attachments_request_spec.rb +0 -41
  306. data/spec/models/envelope_attachments_result_spec.rb +0 -41
  307. data/spec/models/envelope_audit_event_response_spec.rb +0 -41
  308. data/spec/models/envelope_audit_event_spec.rb +0 -41
  309. data/spec/models/envelope_definition_spec.rb +0 -371
  310. data/spec/models/envelope_document_spec.rb +0 -137
  311. data/spec/models/envelope_documents_result_spec.rb +0 -47
  312. data/spec/models/envelope_event_spec.rb +0 -47
  313. data/spec/models/envelope_form_data_spec.rb +0 -71
  314. data/spec/models/envelope_id_spec.rb +0 -221
  315. data/spec/models/envelope_ids_request_spec.rb +0 -47
  316. data/spec/models/envelope_notification_request_spec.rb +0 -53
  317. data/spec/models/envelope_spec.rb +0 -317
  318. data/spec/models/envelope_summary_spec.rb +0 -59
  319. data/spec/models/envelope_template_definition_spec.rb +0 -125
  320. data/spec/models/envelope_template_result_spec.rb +0 -401
  321. data/spec/models/envelope_template_results_spec.rb +0 -83
  322. data/spec/models/envelope_template_spec.rb +0 -329
  323. data/spec/models/envelope_transaction_status_spec.rb +0 -59
  324. data/spec/models/envelope_update_summary_spec.rb +0 -83
  325. data/spec/models/envelopes_information_spec.rb +0 -83
  326. data/spec/models/error_details_spec.rb +0 -47
  327. data/spec/models/event_notification_spec.rb +0 -125
  328. data/spec/models/event_result_spec.rb +0 -59
  329. data/spec/models/expirations_spec.rb +0 -53
  330. data/spec/models/external_doc_service_error_details_spec.rb +0 -53
  331. data/spec/models/external_file_spec.rb +0 -83
  332. data/spec/models/external_folder_spec.rb +0 -95
  333. data/spec/models/feature_set_spec.rb +0 -89
  334. data/spec/models/file_type_list_spec.rb +0 -41
  335. data/spec/models/file_type_spec.rb +0 -47
  336. data/spec/models/filter_spec.rb +0 -101
  337. data/spec/models/first_name_spec.rb +0 -221
  338. data/spec/models/folder_item_response_spec.rb +0 -77
  339. data/spec/models/folder_item_spec.rb +0 -161
  340. data/spec/models/folder_item_v2_spec.rb +0 -155
  341. data/spec/models/folder_items_response_spec.rb +0 -77
  342. data/spec/models/folder_spec.rb +0 -107
  343. data/spec/models/folders_request_spec.rb +0 -47
  344. data/spec/models/folders_response_spec.rb +0 -41
  345. data/spec/models/forgotten_password_information_spec.rb +0 -83
  346. data/spec/models/formula_tab_spec.rb +0 -329
  347. data/spec/models/full_name_spec.rb +0 -221
  348. data/spec/models/group_information_spec.rb +0 -77
  349. data/spec/models/group_spec.rb +0 -71
  350. data/spec/models/id_check_information_input_spec.rb +0 -59
  351. data/spec/models/in_person_signer_spec.rb +0 -365
  352. data/spec/models/initial_here_spec.rb +0 -197
  353. data/spec/models/inline_template_spec.rb +0 -65
  354. data/spec/models/integrated_user_info_list_spec.rb +0 -83
  355. data/spec/models/intermediary_spec.rb +0 -287
  356. data/spec/models/last_name_spec.rb +0 -221
  357. data/spec/models/list_custom_field_spec.rb +0 -83
  358. data/spec/models/list_item_spec.rb +0 -53
  359. data/spec/models/list_spec.rb +0 -269
  360. data/spec/models/lock_information_spec.rb +0 -83
  361. data/spec/models/lock_request_spec.rb +0 -65
  362. data/spec/models/login_account_spec.rb +0 -101
  363. data/spec/models/login_information_spec.rb +0 -47
  364. data/spec/models/match_box_spec.rb +0 -65
  365. data/spec/models/member_group_shared_item_spec.rb +0 -53
  366. data/spec/models/member_shared_items_spec.rb +0 -59
  367. data/spec/models/merge_field_spec.rb +0 -65
  368. data/spec/models/mobile_notifier_configuration_information_spec.rb +0 -41
  369. data/spec/models/mobile_notifier_configuration_spec.rb +0 -53
  370. data/spec/models/money_spec.rb +0 -53
  371. data/spec/models/name_value_spec.rb +0 -59
  372. data/spec/models/new_account_definition_spec.rb +0 -95
  373. data/spec/models/new_account_summary_spec.rb +0 -77
  374. data/spec/models/new_user_spec.rb +0 -95
  375. data/spec/models/new_users_definition_spec.rb +0 -41
  376. data/spec/models/new_users_summary_spec.rb +0 -41
  377. data/spec/models/notary_host_spec.rb +0 -275
  378. data/spec/models/note_spec.rb +0 -245
  379. data/spec/models/notification_spec.rb +0 -53
  380. data/spec/models/number_spec.rb +0 -317
  381. data/spec/models/oauth_access_spec.rb +0 -71
  382. data/spec/models/offline_attributes_spec.rb +0 -71
  383. data/spec/models/page_images_spec.rb +0 -77
  384. data/spec/models/page_request_spec.rb +0 -47
  385. data/spec/models/page_spec.rb +0 -83
  386. data/spec/models/payment_details_spec.rb +0 -65
  387. data/spec/models/payment_line_item_spec.rb +0 -59
  388. data/spec/models/permission_profile_information_spec.rb +0 -41
  389. data/spec/models/permission_profile_spec.rb +0 -77
  390. data/spec/models/plan_information_spec.rb +0 -71
  391. data/spec/models/post_transactions_request_spec.rb +0 -59
  392. data/spec/models/post_transactions_response_spec.rb +0 -47
  393. data/spec/models/power_form_form_data_envelope_spec.rb +0 -47
  394. data/spec/models/power_form_form_data_recipient_spec.rb +0 -59
  395. data/spec/models/power_form_recipient_spec.rb +0 -113
  396. data/spec/models/power_form_senders_response_spec.rb +0 -77
  397. data/spec/models/power_form_spec.rb +0 -179
  398. data/spec/models/power_forms_form_data_response_spec.rb +0 -41
  399. data/spec/models/power_forms_request_spec.rb +0 -41
  400. data/spec/models/power_forms_response_spec.rb +0 -77
  401. data/spec/models/property_metadata_spec.rb +0 -47
  402. data/spec/models/province_spec.rb +0 -47
  403. data/spec/models/provisioning_information_spec.rb +0 -77
  404. data/spec/models/purchased_envelopes_information_spec.rb +0 -89
  405. data/spec/models/radio_group_spec.rb +0 -89
  406. data/spec/models/radio_spec.rb +0 -143
  407. data/spec/models/recipient_attachment_spec.rb +0 -71
  408. data/spec/models/recipient_domain_spec.rb +0 -59
  409. data/spec/models/recipient_email_notification_spec.rb +0 -53
  410. data/spec/models/recipient_event_spec.rb +0 -47
  411. data/spec/models/recipient_form_data_spec.rb +0 -83
  412. data/spec/models/recipient_names_response_spec.rb +0 -53
  413. data/spec/models/recipient_phone_authentication_spec.rb +0 -59
  414. data/spec/models/recipient_saml_authentication_spec.rb +0 -41
  415. data/spec/models/recipient_signature_information_spec.rb +0 -53
  416. data/spec/models/recipient_signature_provider_options_spec.rb +0 -59
  417. data/spec/models/recipient_signature_provider_spec.rb +0 -47
  418. data/spec/models/recipient_sms_authentication_spec.rb +0 -41
  419. data/spec/models/recipient_update_response_spec.rb +0 -53
  420. data/spec/models/recipient_view_request_spec.rb +0 -119
  421. data/spec/models/recipients_spec.rb +0 -95
  422. data/spec/models/recipients_update_summary_spec.rb +0 -41
  423. data/spec/models/referral_information_spec.rb +0 -143
  424. data/spec/models/reminders_spec.rb +0 -53
  425. data/spec/models/resource_information_spec.rb +0 -41
  426. data/spec/models/return_url_request_spec.rb +0 -41
  427. data/spec/models/saml_assertion_attribute_spec.rb +0 -59
  428. data/spec/models/seat_discount_spec.rb +0 -53
  429. data/spec/models/sender_email_notifications_spec.rb +0 -77
  430. data/spec/models/server_template_spec.rb +0 -47
  431. data/spec/models/service_information_spec.rb +0 -71
  432. data/spec/models/service_version_spec.rb +0 -47
  433. data/spec/models/settings_metadata_spec.rb +0 -71
  434. data/spec/models/shared_item_spec.rb +0 -53
  435. data/spec/models/sign_here_spec.rb +0 -197
  436. data/spec/models/signature_provider_required_option_spec.rb +0 -47
  437. data/spec/models/signature_type_spec.rb +0 -47
  438. data/spec/models/signer_attachment_spec.rb +0 -197
  439. data/spec/models/signer_email_notifications_spec.rb +0 -119
  440. data/spec/models/signer_spec.rb +0 -371
  441. data/spec/models/signing_group_information_spec.rb +0 -41
  442. data/spec/models/signing_group_spec.rb +0 -95
  443. data/spec/models/signing_group_user_spec.rb +0 -53
  444. data/spec/models/signing_group_users_spec.rb +0 -41
  445. data/spec/models/social_account_information_spec.rb +0 -65
  446. data/spec/models/social_authentication_spec.rb +0 -41
  447. data/spec/models/ssn4_information_input_spec.rb +0 -53
  448. data/spec/models/ssn9_information_input_spec.rb +0 -47
  449. data/spec/models/ssn_spec.rb +0 -305
  450. data/spec/models/tab_account_settings_spec.rb +0 -263
  451. data/spec/models/tab_metadata_list_spec.rb +0 -41
  452. data/spec/models/tab_metadata_spec.rb +0 -269
  453. data/spec/models/tabs_spec.rb +0 -185
  454. data/spec/models/template_custom_fields_spec.rb +0 -47
  455. data/spec/models/template_document_visibility_list_spec.rb +0 -41
  456. data/spec/models/template_documents_result_spec.rb +0 -47
  457. data/spec/models/template_information_spec.rb +0 -41
  458. data/spec/models/template_match_spec.rb +0 -53
  459. data/spec/models/template_notification_request_spec.rb +0 -59
  460. data/spec/models/template_recipients_spec.rb +0 -95
  461. data/spec/models/template_role_spec.rb +0 -107
  462. data/spec/models/template_shared_item_spec.rb +0 -77
  463. data/spec/models/template_summary_spec.rb +0 -77
  464. data/spec/models/template_tabs_spec.rb +0 -185
  465. data/spec/models/template_update_summary_spec.rb +0 -83
  466. data/spec/models/text_custom_field_spec.rb +0 -77
  467. data/spec/models/text_spec.rb +0 -323
  468. data/spec/models/title_spec.rb +0 -269
  469. data/spec/models/usage_history_spec.rb +0 -59
  470. data/spec/models/user_account_management_granular_information_spec.rb +0 -83
  471. data/spec/models/user_info_list_spec.rb +0 -41
  472. data/spec/models/user_info_spec.rb +0 -95
  473. data/spec/models/user_information_list_spec.rb +0 -77
  474. data/spec/models/user_information_spec.rb +0 -239
  475. data/spec/models/user_password_information_spec.rb +0 -59
  476. data/spec/models/user_profile_spec.rb +0 -107
  477. data/spec/models/user_settings_information_spec.rb +0 -59
  478. data/spec/models/user_shared_item_spec.rb +0 -53
  479. data/spec/models/user_signature_definition_spec.rb +0 -59
  480. data/spec/models/user_signature_spec.rb +0 -113
  481. data/spec/models/user_signatures_information_spec.rb +0 -41
  482. data/spec/models/user_social_id_result_spec.rb +0 -47
  483. data/spec/models/users_response_spec.rb +0 -77
  484. data/spec/models/view_link_request_spec.rb +0 -47
  485. data/spec/models/view_spec.rb +0 -245
  486. data/spec/models/view_url_spec.rb +0 -41
  487. data/spec/models/workspace_folder_contents_spec.rb +0 -83
  488. data/spec/models/workspace_item_list_spec.rb +0 -41
  489. data/spec/models/workspace_item_spec.rb +0 -149
  490. data/spec/models/workspace_list_spec.rb +0 -65
  491. data/spec/models/workspace_spec.rb +0 -101
  492. data/spec/models/workspace_user_authorization_spec.rb +0 -101
  493. data/spec/models/workspace_user_spec.rb +0 -131
  494. data/spec/models/zip_spec.rb +0 -311
  495. data/spec/spec_helper.rb +0 -110
  496. data/tests/keys/docusign_private_key.txt.enc +0 -0
@@ -0,0 +1,207 @@
1
+ =begin
2
+ #DocuSign REST API
3
+
4
+ #The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
5
+
6
+ OpenAPI spec version: v2
7
+ Contact: devcenter@docusign.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+
10
+ =end
11
+
12
+ require 'date'
13
+
14
+ module DocuSign_eSign
15
+
16
+ class SignatureDataInfo
17
+ attr_accessor :document_security_store
18
+
19
+ #
20
+ attr_accessor :signature_data
21
+
22
+ #
23
+ attr_accessor :signature_field_name
24
+
25
+
26
+ # Attribute mapping from ruby-style variable name to JSON key.
27
+ def self.attribute_map
28
+ {
29
+ :'document_security_store' => :'documentSecurityStore',
30
+ :'signature_data' => :'signatureData',
31
+ :'signature_field_name' => :'signatureFieldName'
32
+ }
33
+ end
34
+
35
+ # Attribute type mapping.
36
+ def self.swagger_types
37
+ {
38
+ :'document_security_store' => :'DocumentSecurityStore',
39
+ :'signature_data' => :'String',
40
+ :'signature_field_name' => :'String'
41
+ }
42
+ end
43
+
44
+ # Initializes the object
45
+ # @param [Hash] attributes Model attributes in the form of hash
46
+ def initialize(attributes = {})
47
+ return unless attributes.is_a?(Hash)
48
+
49
+ # convert string to symbol for hash key
50
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
51
+
52
+ if attributes.has_key?(:'documentSecurityStore')
53
+ self.document_security_store = attributes[:'documentSecurityStore']
54
+ end
55
+
56
+ if attributes.has_key?(:'signatureData')
57
+ self.signature_data = attributes[:'signatureData']
58
+ end
59
+
60
+ if attributes.has_key?(:'signatureFieldName')
61
+ self.signature_field_name = attributes[:'signatureFieldName']
62
+ end
63
+
64
+ end
65
+
66
+ # Show invalid properties with the reasons. Usually used together with valid?
67
+ # @return Array for valid properies with the reasons
68
+ def list_invalid_properties
69
+ invalid_properties = Array.new
70
+ return invalid_properties
71
+ end
72
+
73
+ # Check to see if the all the properties in the model are valid
74
+ # @return true if the model is valid
75
+ def valid?
76
+ return true
77
+ end
78
+
79
+ # Checks equality by comparing each attribute.
80
+ # @param [Object] Object to be compared
81
+ def ==(o)
82
+ return true if self.equal?(o)
83
+ self.class == o.class &&
84
+ document_security_store == o.document_security_store &&
85
+ signature_data == o.signature_data &&
86
+ signature_field_name == o.signature_field_name
87
+ end
88
+
89
+ # @see the `==` method
90
+ # @param [Object] Object to be compared
91
+ def eql?(o)
92
+ self == o
93
+ end
94
+
95
+ # Calculates hash code according to all attributes.
96
+ # @return [Fixnum] Hash code
97
+ def hash
98
+ [document_security_store, signature_data, signature_field_name].hash
99
+ end
100
+
101
+ # Builds the object from hash
102
+ # @param [Hash] attributes Model attributes in the form of hash
103
+ # @return [Object] Returns the model itself
104
+ def build_from_hash(attributes)
105
+ return nil unless attributes.is_a?(Hash)
106
+ self.class.swagger_types.each_pair do |key, type|
107
+ if type =~ /\AArray<(.*)>/i
108
+ # check to ensure the input is an array given that the the attribute
109
+ # is documented as an array but the input is not
110
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
111
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
112
+ end
113
+ elsif !attributes[self.class.attribute_map[key]].nil?
114
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
115
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
116
+ end
117
+
118
+ self
119
+ end
120
+
121
+ # Deserializes the data based on type
122
+ # @param string type Data type
123
+ # @param string value Value to be deserialized
124
+ # @return [Object] Deserialized data
125
+ def _deserialize(type, value)
126
+ case type.to_sym
127
+ when :DateTime
128
+ DateTime.parse(value)
129
+ when :Date
130
+ Date.parse(value)
131
+ when :String
132
+ value.to_s
133
+ when :Integer
134
+ value.to_i
135
+ when :Float
136
+ value.to_f
137
+ when :BOOLEAN
138
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
139
+ true
140
+ else
141
+ false
142
+ end
143
+ when :Object
144
+ # generic object (usually a Hash), return directly
145
+ value
146
+ when /\AArray<(?<inner_type>.+)>\z/
147
+ inner_type = Regexp.last_match[:inner_type]
148
+ value.map { |v| _deserialize(inner_type, v) }
149
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
150
+ k_type = Regexp.last_match[:k_type]
151
+ v_type = Regexp.last_match[:v_type]
152
+ {}.tap do |hash|
153
+ value.each do |k, v|
154
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
155
+ end
156
+ end
157
+ else # model
158
+ temp_model = DocuSign_eSign.const_get(type).new
159
+ temp_model.build_from_hash(value)
160
+ end
161
+ end
162
+
163
+ # Returns the string representation of the object
164
+ # @return [String] String presentation of the object
165
+ def to_s
166
+ to_hash.to_s
167
+ end
168
+
169
+ # to_body is an alias to to_hash (backward compatibility)
170
+ # @return [Hash] Returns the object in the form of hash
171
+ def to_body
172
+ to_hash
173
+ end
174
+
175
+ # Returns the object in the form of hash
176
+ # @return [Hash] Returns the object in the form of hash
177
+ def to_hash
178
+ hash = {}
179
+ self.class.attribute_map.each_pair do |attr, param|
180
+ value = self.send(attr)
181
+ next if value.nil?
182
+ hash[param] = _to_hash(value)
183
+ end
184
+ hash
185
+ end
186
+
187
+ # Outputs non-array value in the form of hash
188
+ # For object, use to_hash. Otherwise, just return the value
189
+ # @param [Object] value Any valid value
190
+ # @return [Hash] Returns the value in the form of hash
191
+ def _to_hash(value)
192
+ if value.is_a?(Array)
193
+ value.compact.map{ |v| _to_hash(v) }
194
+ elsif value.is_a?(Hash)
195
+ {}.tap do |hash|
196
+ value.each { |k, v| hash[k] = _to_hash(v) }
197
+ end
198
+ elsif value.respond_to? :to_hash
199
+ value.to_hash
200
+ else
201
+ value
202
+ end
203
+ end
204
+
205
+ end
206
+
207
+ end
@@ -14,12 +14,18 @@ require 'date'
14
14
  module DocuSign_eSign
15
15
 
16
16
  class Signer
17
- # If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the accounts access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.
17
+ # If a value is provided, the recipient must enter the value as the access code to view and sign the envelope. Maximum Length: 50 characters and it must conform to the account's access code format setting. If blank, but the signer `accessCode` property is set in the envelope, then that value is used. If blank and the signer `accessCode` property is not set, then the access code is not required.
18
18
  attr_accessor :access_code
19
19
 
20
20
  # This Optional attribute indicates that the access code will be added to the email sent to the recipient; this nullifies the Security measure of Access Code on the recipient.
21
21
  attr_accessor :add_access_code_to_email
22
22
 
23
+ #
24
+ attr_accessor :agent_can_edit_email
25
+
26
+ #
27
+ attr_accessor :agent_can_edit_name
28
+
23
29
  #
24
30
  attr_accessor :auto_navigation
25
31
 
@@ -64,7 +70,7 @@ module DocuSign_eSign
64
70
  #
65
71
  attr_accessor :email_recipient_post_signing_url
66
72
 
67
- # Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the senders system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipients identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]`
73
+ # Specifies a sender provided valid URL string for redirecting an embedded recipient. When using this option, the embedded recipient still receives an email from DocuSign, just as a remote recipient would. When the document link in the email is clicked the recipient is redirected, through DocuSign, to the supplied URL to complete their actions. When routing to the URL, the sender's system (the server responding to the URL) must request a recipient token to launch a signing session. If set to `SIGN_AT_DOCUSIGN`, the recipient is directed to an embedded signing or viewing process directly at DocuSign. The signing or viewing action is initiated by the DocuSign system and the transaction activity and Certificate of Completion records will reflect this. In all other ways the process is identical to an embedded signing or viewing operation that is launched by any partner. It is important to remember that in a typical embedded workflow the authentication of an embedded recipient is the responsibility of the sending application, DocuSign expects that senders will follow their own process for establishing the recipient's identity. In this workflow the recipient goes through the sending application before the embedded signing or viewing process in initiated. However, when the sending application sets `EmbeddedRecipientStartURL=SIGN_AT_DOCUSIGN`, the recipient goes directly to the embedded signing or viewing process bypassing the sending application and any authentication steps the sending application would use. In this case, DocuSign recommends that you use one of the normal DocuSign authentication features (Access Code, Phone Authentication, SMS Authentication, etc.) to verify the identity of the recipient. If the `clientUserId` property is NOT set, and the `embeddedRecipientStartURL` is set, DocuSign will ignore the redirect URL and launch the standard signing process for the email recipient. Information can be appended to the embedded recipient start URL using merge fields. The available merge fields items are: envelopeId, recipientId, recipientName, recipientEmail, and customFields. The `customFields` property must be set fort the recipient or envelope. The merge fields are enclosed in double brackets. *Example*: `http://senderHost/[[mergeField1]]/ beginSigningSession? [[mergeField2]]&[[mergeField3]]`
68
74
  attr_accessor :embedded_recipient_start_url
69
75
 
70
76
  attr_accessor :error_details
@@ -75,6 +81,12 @@ module DocuSign_eSign
75
81
  # Reserved:
76
82
  attr_accessor :fax_number
77
83
 
84
+ # The user's first name. Maximum Length: 50 characters.
85
+ attr_accessor :first_name
86
+
87
+ #
88
+ attr_accessor :full_name
89
+
78
90
  # Specifies authentication check by name. The names used here must be the same as the authentication type names used by the account (these name can also be found in the web console sending interface in the Identify list for a recipient,) This overrides any default authentication setting. *Example*: Your account has ID Check and SMS Authentication available and in the web console Identify list these appear as 'ID Check $' and 'SMS Auth $'. To use ID check in an envelope, the idCheckConfigurationName should be 'ID Check '. If you wanted to use SMS, it would be 'SMS Auth $' and you would need to add you would need to add phone number information to the `smsAuthentication` node.
79
91
  attr_accessor :id_check_configuration_name
80
92
 
@@ -86,6 +98,9 @@ module DocuSign_eSign
86
98
  # When set to **true**, this signer is a bulk recipient and the recipient information is contained in a bulk recipient file. Note that when this is true the email and name for the recipient becomes bulk@recipient.com and \"Bulk Recipient\". These fields can not be changed for the bulk recipient.
87
99
  attr_accessor :is_bulk_recipient
88
100
 
101
+ #
102
+ attr_accessor :last_name
103
+
89
104
  #
90
105
  attr_accessor :name
91
106
 
@@ -116,7 +131,7 @@ module DocuSign_eSign
116
131
  # When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity.
117
132
  attr_accessor :require_id_lookup
118
133
 
119
- # Sets the type of signer certificate required for signing. If left blank, no certificate is required. Only one type of certificate can be set for a signer. The possible values are: * docusign_express Requires a DocuSign Express certificate. * safe Requires a SAFE-BioPharma certificate. * open_trust Requires an OpenTrust certificate. **Important**: There are certain rules and restrictions that must be followed when requiring OpenTrust digital signatures. See [ML:OpenTrust Rules and Restrictions] for more information.
134
+ # Sets the type of signer certificate required for signing. If left blank, no certificate is required. Only one type of certificate can be set for a signer. The possible values are: * docusign_express - Requires a DocuSign Express certificate. * safe - Requires a SAFE-BioPharma certificate. * open_trust - Requires an OpenTrust certificate. **Important**: There are certain rules and restrictions that must be followed when requiring OpenTrust digital signatures. See [ML:OpenTrust Rules and Restrictions] for more information.
120
135
  attr_accessor :require_signer_certificate
121
136
 
122
137
  # When set to **true**, the signer must print, sign, and upload or fax the signed documents to DocuSign.
@@ -178,6 +193,8 @@ module DocuSign_eSign
178
193
  {
179
194
  :'access_code' => :'accessCode',
180
195
  :'add_access_code_to_email' => :'addAccessCodeToEmail',
196
+ :'agent_can_edit_email' => :'agentCanEditEmail',
197
+ :'agent_can_edit_name' => :'agentCanEditName',
181
198
  :'auto_navigation' => :'autoNavigation',
182
199
  :'bulk_recipients_uri' => :'bulkRecipientsUri',
183
200
  :'can_sign_offline' => :'canSignOffline',
@@ -197,10 +214,13 @@ module DocuSign_eSign
197
214
  :'error_details' => :'errorDetails',
198
215
  :'excluded_documents' => :'excludedDocuments',
199
216
  :'fax_number' => :'faxNumber',
217
+ :'first_name' => :'firstName',
218
+ :'full_name' => :'fullName',
200
219
  :'id_check_configuration_name' => :'idCheckConfigurationName',
201
220
  :'id_check_information_input' => :'idCheckInformationInput',
202
221
  :'inherit_email_notification_configuration' => :'inheritEmailNotificationConfiguration',
203
222
  :'is_bulk_recipient' => :'isBulkRecipient',
223
+ :'last_name' => :'lastName',
204
224
  :'name' => :'name',
205
225
  :'note' => :'note',
206
226
  :'offline_attributes' => :'offlineAttributes',
@@ -240,6 +260,8 @@ module DocuSign_eSign
240
260
  {
241
261
  :'access_code' => :'String',
242
262
  :'add_access_code_to_email' => :'String',
263
+ :'agent_can_edit_email' => :'String',
264
+ :'agent_can_edit_name' => :'String',
243
265
  :'auto_navigation' => :'String',
244
266
  :'bulk_recipients_uri' => :'String',
245
267
  :'can_sign_offline' => :'String',
@@ -259,10 +281,13 @@ module DocuSign_eSign
259
281
  :'error_details' => :'ErrorDetails',
260
282
  :'excluded_documents' => :'Array<String>',
261
283
  :'fax_number' => :'String',
284
+ :'first_name' => :'String',
285
+ :'full_name' => :'String',
262
286
  :'id_check_configuration_name' => :'String',
263
287
  :'id_check_information_input' => :'IdCheckInformationInput',
264
288
  :'inherit_email_notification_configuration' => :'String',
265
289
  :'is_bulk_recipient' => :'String',
290
+ :'last_name' => :'String',
266
291
  :'name' => :'String',
267
292
  :'note' => :'String',
268
293
  :'offline_attributes' => :'OfflineAttributes',
@@ -313,6 +338,14 @@ module DocuSign_eSign
313
338
  self.add_access_code_to_email = attributes[:'addAccessCodeToEmail']
314
339
  end
315
340
 
341
+ if attributes.has_key?(:'agentCanEditEmail')
342
+ self.agent_can_edit_email = attributes[:'agentCanEditEmail']
343
+ end
344
+
345
+ if attributes.has_key?(:'agentCanEditName')
346
+ self.agent_can_edit_name = attributes[:'agentCanEditName']
347
+ end
348
+
316
349
  if attributes.has_key?(:'autoNavigation')
317
350
  self.auto_navigation = attributes[:'autoNavigation']
318
351
  end
@@ -395,6 +428,14 @@ module DocuSign_eSign
395
428
  self.fax_number = attributes[:'faxNumber']
396
429
  end
397
430
 
431
+ if attributes.has_key?(:'firstName')
432
+ self.first_name = attributes[:'firstName']
433
+ end
434
+
435
+ if attributes.has_key?(:'fullName')
436
+ self.full_name = attributes[:'fullName']
437
+ end
438
+
398
439
  if attributes.has_key?(:'idCheckConfigurationName')
399
440
  self.id_check_configuration_name = attributes[:'idCheckConfigurationName']
400
441
  end
@@ -411,6 +452,10 @@ module DocuSign_eSign
411
452
  self.is_bulk_recipient = attributes[:'isBulkRecipient']
412
453
  end
413
454
 
455
+ if attributes.has_key?(:'lastName')
456
+ self.last_name = attributes[:'lastName']
457
+ end
458
+
414
459
  if attributes.has_key?(:'name')
415
460
  self.name = attributes[:'name']
416
461
  end
@@ -565,6 +610,8 @@ module DocuSign_eSign
565
610
  self.class == o.class &&
566
611
  access_code == o.access_code &&
567
612
  add_access_code_to_email == o.add_access_code_to_email &&
613
+ agent_can_edit_email == o.agent_can_edit_email &&
614
+ agent_can_edit_name == o.agent_can_edit_name &&
568
615
  auto_navigation == o.auto_navigation &&
569
616
  bulk_recipients_uri == o.bulk_recipients_uri &&
570
617
  can_sign_offline == o.can_sign_offline &&
@@ -584,10 +631,13 @@ module DocuSign_eSign
584
631
  error_details == o.error_details &&
585
632
  excluded_documents == o.excluded_documents &&
586
633
  fax_number == o.fax_number &&
634
+ first_name == o.first_name &&
635
+ full_name == o.full_name &&
587
636
  id_check_configuration_name == o.id_check_configuration_name &&
588
637
  id_check_information_input == o.id_check_information_input &&
589
638
  inherit_email_notification_configuration == o.inherit_email_notification_configuration &&
590
639
  is_bulk_recipient == o.is_bulk_recipient &&
640
+ last_name == o.last_name &&
591
641
  name == o.name &&
592
642
  note == o.note &&
593
643
  offline_attributes == o.offline_attributes &&
@@ -630,7 +680,7 @@ module DocuSign_eSign
630
680
  # Calculates hash code according to all attributes.
631
681
  # @return [Fixnum] Hash code
632
682
  def hash
633
- [access_code, add_access_code_to_email, auto_navigation, bulk_recipients_uri, can_sign_offline, client_user_id, creation_reason, custom_fields, declined_date_time, declined_reason, default_recipient, delivered_date_time, delivery_method, document_visibility, email, email_notification, email_recipient_post_signing_url, embedded_recipient_start_url, error_details, excluded_documents, fax_number, id_check_configuration_name, id_check_information_input, inherit_email_notification_configuration, is_bulk_recipient, name, note, offline_attributes, phone_authentication, recipient_attachments, recipient_authentication_status, recipient_id, recipient_id_guid, recipient_signature_providers, recipient_supplies_tabs, require_id_lookup, require_signer_certificate, require_sign_on_paper, role_name, routing_order, saml_authentication, sent_date_time, signature_info, signed_date_time, sign_in_each_location, signing_group_id, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, tabs, template_locked, template_required, total_tab_count, user_id].hash
683
+ [access_code, add_access_code_to_email, agent_can_edit_email, agent_can_edit_name, auto_navigation, bulk_recipients_uri, can_sign_offline, client_user_id, creation_reason, custom_fields, declined_date_time, declined_reason, default_recipient, delivered_date_time, delivery_method, document_visibility, email, email_notification, email_recipient_post_signing_url, embedded_recipient_start_url, error_details, excluded_documents, fax_number, first_name, full_name, id_check_configuration_name, id_check_information_input, inherit_email_notification_configuration, is_bulk_recipient, last_name, name, note, offline_attributes, phone_authentication, recipient_attachments, recipient_authentication_status, recipient_id, recipient_id_guid, recipient_signature_providers, recipient_supplies_tabs, require_id_lookup, require_signer_certificate, require_sign_on_paper, role_name, routing_order, saml_authentication, sent_date_time, signature_info, signed_date_time, sign_in_each_location, signing_group_id, signing_group_name, signing_group_users, sms_authentication, social_authentications, status, tabs, template_locked, template_required, total_tab_count, user_id].hash
634
684
  end
635
685
 
636
686
  # Builds the object from hash
@@ -32,10 +32,10 @@ module DocuSign_eSign
32
32
  # Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.
33
33
  attr_accessor :anchor_units
34
34
 
35
- # Specifies the X axis location of the tab, in achorUnits, relative to the anchorString.
35
+ # Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.
36
36
  attr_accessor :anchor_x_offset
37
37
 
38
- # Specifies the Y axis location of the tab, in achorUnits, relative to the anchorString.
38
+ # Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.
39
39
  attr_accessor :anchor_y_offset
40
40
 
41
41
  # For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.
@@ -72,6 +72,9 @@ module DocuSign_eSign
72
72
  # Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.
73
73
  attr_accessor :status
74
74
 
75
+ #
76
+ attr_accessor :tab_group_labels
77
+
75
78
  # The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call].
76
79
  attr_accessor :tab_id
77
80
 
@@ -87,6 +90,9 @@ module DocuSign_eSign
87
90
  # When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.
88
91
  attr_accessor :template_required
89
92
 
93
+ #
94
+ attr_accessor :tooltip
95
+
90
96
  # This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.
91
97
  attr_accessor :x_position
92
98
 
@@ -117,11 +123,13 @@ module DocuSign_eSign
117
123
  :'recipient_id' => :'recipientId',
118
124
  :'scale_value' => :'scaleValue',
119
125
  :'status' => :'status',
126
+ :'tab_group_labels' => :'tabGroupLabels',
120
127
  :'tab_id' => :'tabId',
121
128
  :'tab_label' => :'tabLabel',
122
129
  :'tab_order' => :'tabOrder',
123
130
  :'template_locked' => :'templateLocked',
124
131
  :'template_required' => :'templateRequired',
132
+ :'tooltip' => :'tooltip',
125
133
  :'x_position' => :'xPosition',
126
134
  :'y_position' => :'yPosition'
127
135
  }
@@ -148,13 +156,15 @@ module DocuSign_eSign
148
156
  :'optional' => :'String',
149
157
  :'page_number' => :'String',
150
158
  :'recipient_id' => :'String',
151
- :'scale_value' => :'Number',
159
+ :'scale_value' => :'Float',
152
160
  :'status' => :'String',
161
+ :'tab_group_labels' => :'Array<String>',
153
162
  :'tab_id' => :'String',
154
163
  :'tab_label' => :'String',
155
164
  :'tab_order' => :'String',
156
165
  :'template_locked' => :'String',
157
166
  :'template_required' => :'String',
167
+ :'tooltip' => :'String',
158
168
  :'x_position' => :'String',
159
169
  :'y_position' => :'String'
160
170
  }
@@ -248,6 +258,12 @@ module DocuSign_eSign
248
258
  self.status = attributes[:'status']
249
259
  end
250
260
 
261
+ if attributes.has_key?(:'tabGroupLabels')
262
+ if (value = attributes[:'tabGroupLabels']).is_a?(Array)
263
+ self.tab_group_labels = value
264
+ end
265
+ end
266
+
251
267
  if attributes.has_key?(:'tabId')
252
268
  self.tab_id = attributes[:'tabId']
253
269
  end
@@ -268,6 +284,10 @@ module DocuSign_eSign
268
284
  self.template_required = attributes[:'templateRequired']
269
285
  end
270
286
 
287
+ if attributes.has_key?(:'tooltip')
288
+ self.tooltip = attributes[:'tooltip']
289
+ end
290
+
271
291
  if attributes.has_key?(:'xPosition')
272
292
  self.x_position = attributes[:'xPosition']
273
293
  end
@@ -316,11 +336,13 @@ module DocuSign_eSign
316
336
  recipient_id == o.recipient_id &&
317
337
  scale_value == o.scale_value &&
318
338
  status == o.status &&
339
+ tab_group_labels == o.tab_group_labels &&
319
340
  tab_id == o.tab_id &&
320
341
  tab_label == o.tab_label &&
321
342
  tab_order == o.tab_order &&
322
343
  template_locked == o.template_locked &&
323
344
  template_required == o.template_required &&
345
+ tooltip == o.tooltip &&
324
346
  x_position == o.x_position &&
325
347
  y_position == o.y_position
326
348
  end
@@ -334,7 +356,7 @@ module DocuSign_eSign
334
356
  # Calculates hash code according to all attributes.
335
357
  # @return [Fixnum] Hash code
336
358
  def hash
337
- [anchor_case_sensitive, anchor_horizontal_alignment, anchor_ignore_if_not_present, anchor_match_whole_word, anchor_string, anchor_units, anchor_x_offset, anchor_y_offset, conditional_parent_label, conditional_parent_value, custom_tab_id, document_id, error_details, merge_field, name, optional, page_number, recipient_id, scale_value, status, tab_id, tab_label, tab_order, template_locked, template_required, x_position, y_position].hash
359
+ [anchor_case_sensitive, anchor_horizontal_alignment, anchor_ignore_if_not_present, anchor_match_whole_word, anchor_string, anchor_units, anchor_x_offset, anchor_y_offset, conditional_parent_label, conditional_parent_value, custom_tab_id, document_id, error_details, merge_field, name, optional, page_number, recipient_id, scale_value, status, tab_group_labels, tab_id, tab_label, tab_order, template_locked, template_required, tooltip, x_position, y_position].hash
338
360
  end
339
361
 
340
362
  # Builds the object from hash