docusign_esign 3.12.0 → 3.19.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (355) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +54 -0
  3. data/docusign_esign.gemspec +5 -5
  4. data/lib/docusign_esign/api/accounts_api.rb +83 -433
  5. data/lib/docusign_esign/api/billing_api.rb +12 -4
  6. data/lib/docusign_esign/api/bulk_envelopes_api.rb +93 -26
  7. data/lib/docusign_esign/api/bulk_process_data_api.rb +412 -0
  8. data/lib/docusign_esign/api/bulk_process_data_send_api.rb +252 -0
  9. data/lib/docusign_esign/api/connect_api.rb +239 -5
  10. data/lib/docusign_esign/api/email_archive_api.rb +8 -8
  11. data/lib/docusign_esign/api/envelopes_api.rb +1435 -207
  12. data/lib/docusign_esign/api/notary_api.rb +16 -16
  13. data/lib/docusign_esign/api/organizations_api.rb +8 -60
  14. data/lib/docusign_esign/api/power_forms_api.rb +24 -16
  15. data/lib/docusign_esign/api/templates_api.rb +20 -79
  16. data/lib/docusign_esign/api/users_api.rb +22 -14
  17. data/lib/docusign_esign/api/workspaces_api.rb +4 -4
  18. data/lib/docusign_esign/client/api_client.rb +16 -10
  19. data/lib/docusign_esign/client/api_error.rb +1 -1
  20. data/lib/docusign_esign/client/auth/oauth.rb +1 -1
  21. data/lib/docusign_esign/models/access_code_format.rb +6 -0
  22. data/lib/docusign_esign/models/account_billing_plan.rb +25 -4
  23. data/lib/docusign_esign/models/account_billing_plan_response.rb +37 -10
  24. data/lib/docusign_esign/models/account_identity_verification_step.rb +1 -0
  25. data/lib/docusign_esign/models/account_identity_verification_workflow.rb +2 -0
  26. data/lib/docusign_esign/models/account_information.rb +11 -1
  27. data/lib/docusign_esign/models/account_notification.rb +3 -0
  28. data/lib/docusign_esign/models/account_password_questions_required.rb +1 -0
  29. data/lib/docusign_esign/models/account_password_rules.rb +7 -0
  30. data/lib/docusign_esign/models/account_role_settings.rb +81 -4
  31. data/lib/docusign_esign/models/account_settings_information.rb +1075 -13
  32. data/lib/docusign_esign/models/account_shared_access.rb +1 -0
  33. data/lib/docusign_esign/models/account_signature.rb +2 -0
  34. data/lib/docusign_esign/models/account_signature_definition.rb +1 -0
  35. data/lib/docusign_esign/models/account_signature_provider.rb +1 -0
  36. data/lib/docusign_esign/models/account_signature_provider_option.rb +1 -0
  37. data/lib/docusign_esign/models/account_ui_settings.rb +28 -13
  38. data/lib/docusign_esign/models/address_information_input.rb +1 -0
  39. data/lib/docusign_esign/models/agent.rb +45 -1
  40. data/lib/docusign_esign/models/app_store_receipt.rb +21 -1
  41. data/lib/docusign_esign/models/approve.rb +65 -1
  42. data/lib/docusign_esign/models/authentication_status.rb +19 -0
  43. data/lib/docusign_esign/models/bcc_email_archive.rb +3 -0
  44. data/lib/docusign_esign/models/bcc_email_archive_history.rb +2 -0
  45. data/lib/docusign_esign/models/bcc_email_archive_list.rb +1 -0
  46. data/lib/docusign_esign/models/billing_charge.rb +1 -1
  47. data/lib/docusign_esign/models/billing_entity_information_response.rb +214 -0
  48. data/lib/docusign_esign/models/billing_invoice_item.rb +21 -1
  49. data/lib/docusign_esign/models/billing_invoices_summary.rb +21 -1
  50. data/lib/docusign_esign/models/billing_plan_information.rb +52 -4
  51. data/lib/docusign_esign/models/billing_plan_preview.rb +1 -0
  52. data/lib/docusign_esign/models/billing_plan_response.rb +1 -0
  53. data/lib/docusign_esign/models/billing_plan_update_response.rb +1 -0
  54. data/lib/docusign_esign/models/brand.rb +4 -0
  55. data/lib/docusign_esign/models/brand_email_content.rb +1 -0
  56. data/lib/docusign_esign/models/brand_link.rb +1 -0
  57. data/lib/docusign_esign/models/brand_logos.rb +1 -0
  58. data/lib/docusign_esign/models/brand_request.rb +1 -0
  59. data/lib/docusign_esign/models/brand_resource_urls.rb +1 -0
  60. data/lib/docusign_esign/models/brand_resources.rb +3 -0
  61. data/lib/docusign_esign/models/brands_request.rb +1 -0
  62. data/lib/docusign_esign/models/bulk_envelope.rb +1 -0
  63. data/lib/docusign_esign/models/bulk_process_request.rb +194 -0
  64. data/lib/docusign_esign/models/bulk_process_response.rb +248 -0
  65. data/lib/docusign_esign/models/bulk_process_result.rb +206 -0
  66. data/lib/docusign_esign/models/bulk_processing_list_summaries.rb +186 -0
  67. data/lib/docusign_esign/models/bulk_processing_list_summary.rb +214 -0
  68. data/lib/docusign_esign/models/bulk_processing_lists.rb +186 -0
  69. data/lib/docusign_esign/models/bulk_recipients_update_response.rb +1 -0
  70. data/lib/docusign_esign/models/bulk_send_batch_action_request.rb +204 -0
  71. data/lib/docusign_esign/models/bulk_send_batch_error.rb +194 -0
  72. data/lib/docusign_esign/models/bulk_send_batch_status.rb +42 -1
  73. data/lib/docusign_esign/models/bulk_send_batch_summaries.rb +22 -1
  74. data/lib/docusign_esign/models/bulk_send_batch_summary.rb +1 -0
  75. data/lib/docusign_esign/models/bulk_send_envelopes_info.rb +304 -0
  76. data/lib/docusign_esign/models/bulk_send_error_status.rb +12 -1
  77. data/lib/docusign_esign/models/bulk_send_request.rb +1 -0
  78. data/lib/docusign_esign/models/bulk_send_response.rb +1 -0
  79. data/lib/docusign_esign/models/bulk_send_test_response.rb +1 -0
  80. data/lib/docusign_esign/models/bulk_sending_copy.rb +1 -0
  81. data/lib/docusign_esign/models/bulk_sending_copy_custom_field.rb +1 -0
  82. data/lib/docusign_esign/models/bulk_sending_copy_recipient.rb +5 -0
  83. data/lib/docusign_esign/models/bulk_sending_copy_tab.rb +1 -0
  84. data/lib/docusign_esign/models/bulk_sending_list.rb +1 -0
  85. data/lib/docusign_esign/models/bulk_sending_list_summaries.rb +1 -0
  86. data/lib/docusign_esign/models/bulk_sending_list_summary.rb +1 -0
  87. data/lib/docusign_esign/models/captive_recipient.rb +2 -0
  88. data/lib/docusign_esign/models/captive_recipient_information.rb +1 -0
  89. data/lib/docusign_esign/models/carbon_copy.rb +48 -1
  90. data/lib/docusign_esign/models/certified_delivery.rb +47 -1
  91. data/lib/docusign_esign/models/checkbox.rb +109 -1
  92. data/lib/docusign_esign/models/chunked_upload_part.rb +1 -0
  93. data/lib/docusign_esign/models/chunked_upload_request.rb +1 -0
  94. data/lib/docusign_esign/models/chunked_upload_response.rb +1 -0
  95. data/lib/docusign_esign/models/cloud_storage_provider.rb +2 -0
  96. data/lib/docusign_esign/models/comment_thread.rb +63 -1
  97. data/lib/docusign_esign/models/commission_county.rb +72 -1
  98. data/lib/docusign_esign/models/commission_expiration.rb +72 -1
  99. data/lib/docusign_esign/models/commission_number.rb +72 -1
  100. data/lib/docusign_esign/models/commission_state.rb +72 -1
  101. data/lib/docusign_esign/models/company.rb +72 -1
  102. data/lib/docusign_esign/models/composite_template.rb +2 -0
  103. data/lib/docusign_esign/models/conditional_recipient_rule.rb +2 -0
  104. data/lib/docusign_esign/models/connect_config_results.rb +1 -0
  105. data/lib/docusign_esign/models/connect_custom_configuration.rb +60 -4
  106. data/lib/docusign_esign/models/connect_debug_log.rb +1 -0
  107. data/lib/docusign_esign/models/connect_delete_failure_result.rb +174 -0
  108. data/lib/docusign_esign/models/connect_event_data.rb +1 -0
  109. data/lib/docusign_esign/models/connect_failure_filter.rb +1 -0
  110. data/lib/docusign_esign/models/connect_failure_result.rb +1 -0
  111. data/lib/docusign_esign/models/connect_historical_envelope_republish.rb +195 -0
  112. data/lib/docusign_esign/models/connect_log.rb +1 -0
  113. data/lib/docusign_esign/models/connect_o_auth_config.rb +214 -0
  114. data/lib/docusign_esign/models/connect_salesforce_field.rb +1 -0
  115. data/lib/docusign_esign/models/connect_salesforce_object.rb +1 -0
  116. data/lib/docusign_esign/models/connect_user_info.rb +214 -0
  117. data/lib/docusign_esign/models/consent_details.rb +204 -0
  118. data/lib/docusign_esign/models/console_view_request.rb +1 -0
  119. data/lib/docusign_esign/models/consumer_disclosure.rb +3 -0
  120. data/lib/docusign_esign/models/contact.rb +12 -1
  121. data/lib/docusign_esign/models/contact_get_response.rb +1 -0
  122. data/lib/docusign_esign/models/contact_mod_request.rb +1 -0
  123. data/lib/docusign_esign/models/contact_phone_number.rb +1 -0
  124. data/lib/docusign_esign/models/contact_update_response.rb +1 -0
  125. data/lib/docusign_esign/models/correct_view_request.rb +12 -1
  126. data/lib/docusign_esign/models/credit_card_information.rb +2 -0
  127. data/lib/docusign_esign/models/currency.rb +95 -1
  128. data/lib/docusign_esign/models/currency_feature_set_price.rb +1 -0
  129. data/lib/docusign_esign/models/currency_plan_price.rb +1 -0
  130. data/lib/docusign_esign/models/custom_field.rb +2 -0
  131. data/lib/docusign_esign/models/date.rb +98 -1
  132. data/lib/docusign_esign/models/date_signed.rb +66 -1
  133. data/lib/docusign_esign/models/date_stamp_properties.rb +1 -0
  134. data/lib/docusign_esign/models/decline.rb +66 -1
  135. data/lib/docusign_esign/models/delayed_routing.rb +206 -0
  136. data/lib/docusign_esign/models/delayed_routing_api_model.rb +206 -0
  137. data/lib/docusign_esign/models/delegation_info.rb +214 -0
  138. data/lib/docusign_esign/models/direct_debit_processor_information.rb +1 -0
  139. data/lib/docusign_esign/models/document.rb +3 -0
  140. data/lib/docusign_esign/models/document_html_collapsible_display_settings.rb +1 -0
  141. data/lib/docusign_esign/models/document_html_definition.rb +1 -0
  142. data/lib/docusign_esign/models/document_html_definition_original.rb +1 -0
  143. data/lib/docusign_esign/models/document_html_display_anchor.rb +1 -0
  144. data/lib/docusign_esign/models/document_html_display_settings.rb +1 -0
  145. data/lib/docusign_esign/models/document_template.rb +1 -0
  146. data/lib/docusign_esign/models/document_visibility.rb +2 -0
  147. data/lib/docusign_esign/models/document_visibility_list.rb +1 -0
  148. data/lib/docusign_esign/models/downgrad_request_billing_info_response.rb +1 -0
  149. data/lib/docusign_esign/models/downgrade_billing_plan_information.rb +1 -0
  150. data/lib/docusign_esign/models/downgrade_plan_update_response.rb +11 -1
  151. data/lib/docusign_esign/models/downgrade_request_information.rb +204 -0
  152. data/lib/docusign_esign/models/draw.rb +60 -1
  153. data/lib/docusign_esign/models/e_note_configuration.rb +1 -0
  154. data/lib/docusign_esign/models/editor.rb +46 -1
  155. data/lib/docusign_esign/models/email.rb +98 -1
  156. data/lib/docusign_esign/models/email_address.rb +66 -1
  157. data/lib/docusign_esign/models/envelope.rb +20 -1
  158. data/lib/docusign_esign/models/envelope_attachment.rb +1 -0
  159. data/lib/docusign_esign/models/envelope_custom_metadata.rb +186 -0
  160. data/lib/docusign_esign/models/envelope_definition.rb +23 -1
  161. data/lib/docusign_esign/models/envelope_delay_rule.rb +194 -0
  162. data/lib/docusign_esign/models/envelope_delay_rule_api_model.rb +195 -0
  163. data/lib/docusign_esign/models/envelope_document.rb +7 -0
  164. data/lib/docusign_esign/models/envelope_event.rb +1 -0
  165. data/lib/docusign_esign/models/envelope_form_data.rb +2 -0
  166. data/lib/docusign_esign/models/envelope_id.rb +65 -1
  167. data/lib/docusign_esign/models/envelope_ids_request.rb +1 -0
  168. data/lib/docusign_esign/models/envelope_notification_request.rb +3 -0
  169. data/lib/docusign_esign/models/envelope_publish_transaction.rb +307 -0
  170. data/lib/docusign_esign/models/envelope_publish_transaction_error_rollup.rb +194 -0
  171. data/lib/docusign_esign/models/envelope_purge_configuration.rb +1 -0
  172. data/lib/docusign_esign/models/envelope_summary.rb +3 -0
  173. data/lib/docusign_esign/models/envelope_template.rb +22 -1
  174. data/lib/docusign_esign/models/envelope_template_results.rb +1 -0
  175. data/lib/docusign_esign/models/envelope_transaction_status.rb +1 -0
  176. data/lib/docusign_esign/models/envelope_transfer_rule.rb +6 -0
  177. data/lib/docusign_esign/models/envelope_transfer_rule_request.rb +4 -0
  178. data/lib/docusign_esign/models/envelope_update_summary.rb +4 -0
  179. data/lib/docusign_esign/models/envelopes_information.rb +1 -0
  180. data/lib/docusign_esign/models/event_notification.rb +24 -1
  181. data/lib/docusign_esign/models/event_result.rb +1 -0
  182. data/lib/docusign_esign/models/external_document_sources.rb +6 -0
  183. data/lib/docusign_esign/models/external_file.rb +1 -0
  184. data/lib/docusign_esign/models/external_folder.rb +1 -0
  185. data/lib/docusign_esign/models/external_primary_account_recipient_auth_requirements.rb +214 -0
  186. data/lib/docusign_esign/models/favorite_templates_content_item.rb +1 -0
  187. data/lib/docusign_esign/models/favorite_templates_info.rb +1 -0
  188. data/lib/docusign_esign/models/feature_set.rb +1 -0
  189. data/lib/docusign_esign/models/filter.rb +1 -0
  190. data/lib/docusign_esign/models/first_name.rb +66 -1
  191. data/lib/docusign_esign/models/folder.rb +4 -0
  192. data/lib/docusign_esign/models/folder_item_response.rb +1 -0
  193. data/lib/docusign_esign/models/folder_item_v2.rb +13 -1
  194. data/lib/docusign_esign/models/folder_shared_item.rb +3 -0
  195. data/lib/docusign_esign/models/folders_request.rb +1 -0
  196. data/lib/docusign_esign/models/form_data_item.rb +1 -0
  197. data/lib/docusign_esign/models/formula_tab.rb +103 -1
  198. data/lib/docusign_esign/models/full_name.rb +66 -1
  199. data/lib/docusign_esign/models/group.rb +13 -1
  200. data/lib/docusign_esign/models/id_check_configuration.rb +1 -0
  201. data/lib/docusign_esign/models/id_check_information_input.rb +4 -0
  202. data/lib/docusign_esign/models/id_evidence_resource_token.rb +194 -0
  203. data/lib/docusign_esign/models/id_evidence_view_link.rb +184 -0
  204. data/lib/docusign_esign/models/in_person_signer.rb +31 -0
  205. data/lib/docusign_esign/models/initial_here.rb +60 -1
  206. data/lib/docusign_esign/models/inline_template.rb +3 -0
  207. data/lib/docusign_esign/models/integrated_connect_user_info_list.rb +246 -0
  208. data/lib/docusign_esign/models/intermediary.rb +46 -1
  209. data/lib/docusign_esign/models/jurisdiction.rb +1 -0
  210. data/lib/docusign_esign/models/last_name.rb +66 -1
  211. data/lib/docusign_esign/models/linked_external_primary_account.rb +21 -1
  212. data/lib/docusign_esign/models/list.rb +112 -1
  213. data/lib/docusign_esign/models/list_custom_field.rb +2 -0
  214. data/lib/docusign_esign/models/list_item.rb +4 -0
  215. data/lib/docusign_esign/models/locale_policy.rb +13 -0
  216. data/lib/docusign_esign/models/lock_information.rb +2 -0
  217. data/lib/docusign_esign/models/lock_request.rb +1 -0
  218. data/lib/docusign_esign/models/member_group_shared_item.rb +3 -0
  219. data/lib/docusign_esign/models/member_shared_items.rb +3 -0
  220. data/lib/docusign_esign/models/merge_field.rb +6 -0
  221. data/lib/docusign_esign/models/mobile_notifier_configuration.rb +1 -0
  222. data/lib/docusign_esign/models/money.rb +1 -0
  223. data/lib/docusign_esign/models/name_value.rb +2 -0
  224. data/lib/docusign_esign/models/new_account_definition.rb +53 -4
  225. data/lib/docusign_esign/models/new_account_summary.rb +1 -0
  226. data/lib/docusign_esign/models/new_user.rb +2 -0
  227. data/lib/docusign_esign/models/new_users_summary.rb +1 -0
  228. data/lib/docusign_esign/models/notarize.rb +58 -1
  229. data/lib/docusign_esign/models/notary.rb +1 -0
  230. data/lib/docusign_esign/models/notary_host.rb +20 -0
  231. data/lib/docusign_esign/models/notary_journal.rb +2 -0
  232. data/lib/docusign_esign/models/notary_jurisdiction.rb +3 -0
  233. data/lib/docusign_esign/models/notary_jurisdiction_list.rb +1 -0
  234. data/lib/docusign_esign/models/notary_recipient.rb +93 -1
  235. data/lib/docusign_esign/models/notary_result.rb +2 -0
  236. data/lib/docusign_esign/models/notary_seal.rb +59 -1
  237. data/lib/docusign_esign/models/note.rb +67 -1
  238. data/lib/docusign_esign/models/notification.rb +2 -0
  239. data/lib/docusign_esign/models/notification_default_settings.rb +3 -0
  240. data/lib/docusign_esign/models/notification_defaults.rb +2 -0
  241. data/lib/docusign_esign/models/number.rb +100 -1
  242. data/lib/docusign_esign/models/page.rb +1 -0
  243. data/lib/docusign_esign/models/participant.rb +908 -0
  244. data/lib/docusign_esign/models/payment_details.rb +16 -1
  245. data/lib/docusign_esign/models/payment_gateway_account.rb +3 -0
  246. data/lib/docusign_esign/models/payment_gateway_accounts_info.rb +1 -0
  247. data/lib/docusign_esign/models/payment_line_item.rb +1 -0
  248. data/lib/docusign_esign/models/payment_method_with_options.rb +1 -0
  249. data/lib/docusign_esign/models/payment_processor_information.rb +1 -0
  250. data/lib/docusign_esign/models/permission_profile.rb +2 -0
  251. data/lib/docusign_esign/models/permission_profile_information.rb +1 -0
  252. data/lib/docusign_esign/models/phone_number.rb +72 -1
  253. data/lib/docusign_esign/models/poly_line_overlay.rb +60 -1
  254. data/lib/docusign_esign/models/power_form.rb +2 -0
  255. data/lib/docusign_esign/models/power_form_recipient.rb +1 -0
  256. data/lib/docusign_esign/models/power_form_senders_response.rb +1 -0
  257. data/lib/docusign_esign/models/power_forms_response.rb +1 -0
  258. data/lib/docusign_esign/models/prefill_tabs.rb +65 -4
  259. data/lib/docusign_esign/models/property_metadata.rb +1 -0
  260. data/lib/docusign_esign/models/radio.rb +48 -1
  261. data/lib/docusign_esign/models/radio_group.rb +78 -4
  262. data/lib/docusign_esign/models/recipient_additional_notification.rb +3 -0
  263. data/lib/docusign_esign/models/recipient_email_notification.rb +3 -0
  264. data/lib/docusign_esign/models/recipient_group.rb +1 -0
  265. data/lib/docusign_esign/models/recipient_identity_phone_number.rb +44 -4
  266. data/lib/docusign_esign/models/recipient_identity_verification.rb +15 -4
  267. data/lib/docusign_esign/models/recipient_names_response.rb +1 -0
  268. data/lib/docusign_esign/models/recipient_option.rb +1 -0
  269. data/lib/docusign_esign/models/recipient_phone_authentication.rb +4 -0
  270. data/lib/docusign_esign/models/recipient_phone_number.rb +3 -0
  271. data/lib/docusign_esign/models/recipient_preview_request.rb +2 -0
  272. data/lib/docusign_esign/models/recipient_proof_file.rb +1 -0
  273. data/lib/docusign_esign/models/recipient_routing.rb +2 -0
  274. data/lib/docusign_esign/models/recipient_signature_provider.rb +3 -0
  275. data/lib/docusign_esign/models/recipient_signature_provider_options.rb +5 -0
  276. data/lib/docusign_esign/models/recipient_sms_authentication.rb +1 -0
  277. data/lib/docusign_esign/models/recipient_token_client_ur_ls.rb +102 -2
  278. data/lib/docusign_esign/models/recipient_update_response.rb +3 -0
  279. data/lib/docusign_esign/models/recipient_view_request.rb +2 -0
  280. data/lib/docusign_esign/models/recipients.rb +14 -1
  281. data/lib/docusign_esign/models/recipients_update_summary.rb +1 -0
  282. data/lib/docusign_esign/models/reserved_domain_existence.rb +194 -0
  283. data/lib/docusign_esign/models/return_url_request.rb +1 -0
  284. data/lib/docusign_esign/models/scheduled_sending.rb +216 -0
  285. data/lib/docusign_esign/models/scheduled_sending_api_model.rb +206 -0
  286. data/lib/docusign_esign/models/seal_sign.rb +17 -0
  287. data/lib/docusign_esign/models/seat_discount.rb +1 -0
  288. data/lib/docusign_esign/models/sender_company.rb +65 -1
  289. data/lib/docusign_esign/models/sender_email_notifications.rb +12 -1
  290. data/lib/docusign_esign/models/sender_name.rb +65 -1
  291. data/lib/docusign_esign/models/settings_metadata.rb +1 -0
  292. data/lib/docusign_esign/models/shared_item.rb +3 -0
  293. data/lib/docusign_esign/models/sign_here.rb +62 -1
  294. data/lib/docusign_esign/models/signature_provider_required_option.rb +1 -0
  295. data/lib/docusign_esign/models/signature_type.rb +1 -0
  296. data/lib/docusign_esign/models/signer.rb +84 -1
  297. data/lib/docusign_esign/models/signer_attachment.rb +60 -1
  298. data/lib/docusign_esign/models/signing_group.rb +2 -0
  299. data/lib/docusign_esign/models/signing_group_user.rb +1 -0
  300. data/lib/docusign_esign/models/smart_section.rb +61 -1
  301. data/lib/docusign_esign/models/smart_section_display_settings.rb +2 -0
  302. data/lib/docusign_esign/models/social_account_information.rb +1 -0
  303. data/lib/docusign_esign/models/ssn.rb +98 -1
  304. data/lib/docusign_esign/models/stamp.rb +2 -0
  305. data/lib/docusign_esign/models/supported_languages.rb +1 -0
  306. data/lib/docusign_esign/models/tab_account_settings.rb +42 -1
  307. data/lib/docusign_esign/models/tab_group.rb +61 -1
  308. data/lib/docusign_esign/models/tab_metadata.rb +34 -1
  309. data/lib/docusign_esign/models/tabs.rb +2 -0
  310. data/lib/docusign_esign/models/template_document_visibility_list.rb +1 -0
  311. data/lib/docusign_esign/models/template_notification_request.rb +2 -0
  312. data/lib/docusign_esign/models/template_recipients.rb +14 -1
  313. data/lib/docusign_esign/models/template_role.rb +4 -0
  314. data/lib/docusign_esign/models/template_shared_item.rb +3 -0
  315. data/lib/docusign_esign/models/template_summary.rb +3 -0
  316. data/lib/docusign_esign/models/template_tabs.rb +1 -0
  317. data/lib/docusign_esign/models/template_update_summary.rb +4 -0
  318. data/lib/docusign_esign/models/text.rb +100 -1
  319. data/lib/docusign_esign/models/text_custom_field.rb +2 -0
  320. data/lib/docusign_esign/models/title.rb +72 -1
  321. data/lib/docusign_esign/models/user_account_management_granular_information.rb +70 -1
  322. data/lib/docusign_esign/models/user_info.rb +1 -0
  323. data/lib/docusign_esign/models/user_information.rb +17 -1
  324. data/lib/docusign_esign/models/user_information_list.rb +1 -0
  325. data/lib/docusign_esign/models/user_password_information.rb +1 -0
  326. data/lib/docusign_esign/models/user_password_rules.rb +2 -0
  327. data/lib/docusign_esign/models/user_profile.rb +3 -0
  328. data/lib/docusign_esign/models/user_settings_information.rb +103 -4
  329. data/lib/docusign_esign/models/user_shared_item.rb +3 -0
  330. data/lib/docusign_esign/models/user_signature.rb +2 -0
  331. data/lib/docusign_esign/models/user_signature_definition.rb +1 -0
  332. data/lib/docusign_esign/models/view.rb +66 -1
  333. data/lib/docusign_esign/models/witness.rb +84 -1
  334. data/lib/docusign_esign/models/workflow.rb +32 -1
  335. data/lib/docusign_esign/models/workflow_step.rb +13 -1
  336. data/lib/docusign_esign/models/workspace.rb +4 -0
  337. data/lib/docusign_esign/models/workspace_folder_contents.rb +1 -0
  338. data/lib/docusign_esign/models/workspace_item.rb +5 -0
  339. data/lib/docusign_esign/models/workspace_settings.rb +1 -0
  340. data/lib/docusign_esign/models/workspace_user.rb +1 -0
  341. data/lib/docusign_esign/models/workspace_user_authorization.rb +2 -0
  342. data/lib/docusign_esign/models/zip.rb +99 -1
  343. data/lib/docusign_esign/version.rb +1 -1
  344. data/lib/docusign_esign.rb +30 -17
  345. data/tests/spec/unit_tests_using_jwt_spec.rb +605 -449
  346. metadata +70 -44
  347. data/Gemfile.lock +0 -73
  348. data/docusign_esign-2.12.0.rc1.gem +0 -0
  349. data/docusign_esign-3.12.0.rc1.gem +0 -0
  350. data/lib/docusign_esign/.DS_Store +0 -0
  351. data/lib/docusign_esign/api/.DS_Store +0 -0
  352. data/lib/docusign_esign/client/.DS_Store +0 -0
  353. data/tests/.DS_Store +0 -0
  354. data/tests/Gemfile.lock +0 -46
  355. data/tests/docs/private.pem +0 -27
@@ -16,6 +16,7 @@ module DocuSign_eSign
16
16
  #
17
17
  attr_accessor :device_id
18
18
 
19
+ # This object describes errors that occur. It is only valid for responses and ignored in requests.
19
20
  attr_accessor :error_details
20
21
 
21
22
  #
@@ -12,6 +12,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
12
12
  require 'date'
13
13
 
14
14
  module DocuSign_eSign
15
+ # Describes information about the `total` of a payment.
15
16
  class Money
16
17
  #
17
18
  attr_accessor :amount_in_base_unit
@@ -12,7 +12,9 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
12
12
  require 'date'
13
13
 
14
14
  module DocuSign_eSign
15
+ # A name-value pair that describes an item and provides a value for the item.
15
16
  class NameValue
17
+ # This object describes errors that occur. It is only valid for responses and ignored in requests.
16
18
  attr_accessor :error_details
17
19
 
18
20
  # The name or key of a name/value pair.
@@ -16,12 +16,16 @@ module DocuSign_eSign
16
16
  # The account name for the new account.
17
17
  attr_accessor :account_name
18
18
 
19
+ # The list of account settings accountsettings that determine the features available for the account. Note that some features are determined by the plan used to create the account and cannot be overridden.
19
20
  attr_accessor :account_settings
20
21
 
22
+ # A complex type that contains the following information for the new account: `Street1`, `Street2`, `City`, `State`, `Zip`, `Phone`, and `Fax`.
21
23
  attr_accessor :address_information
22
24
 
25
+ # A complex type that has information about the credit card used to pay for this account.
23
26
  attr_accessor :credit_card_information
24
27
 
28
+ # Information about the bank that processes direct debits for the payment plan.
25
29
  attr_accessor :direct_debit_processor_information
26
30
 
27
31
  # The code that identifies the billing plan groups and plans for the new account.
@@ -30,22 +34,39 @@ module DocuSign_eSign
30
34
  # The password for the distributorCode.
31
35
  attr_accessor :distributor_password
32
36
 
37
+ #
38
+ attr_accessor :enable_pre_auth
39
+
33
40
  #
34
41
  attr_accessor :envelope_partition_id
35
42
 
43
+ # A complex type with the initial user information for the new account. Note that some user information is set internally based on the plan and cannot be overridden.
36
44
  attr_accessor :initial_user
37
45
 
38
46
  #
39
47
  attr_accessor :payment_method
40
48
 
49
+ #
50
+ attr_accessor :payment_processor
51
+
52
+ # Information about the entity that processes payments for the billing plan.
41
53
  attr_accessor :payment_processor_information
42
54
 
55
+ # An object used to identify the features and attributes of the account being created.
43
56
  attr_accessor :plan_information
44
57
 
58
+ #
59
+ attr_accessor :process_payment
60
+
61
+ # A complex type that contains properties for entering referral and discount information.
45
62
  attr_accessor :referral_information
46
63
 
64
+ # Contains properties that map a DocuSign user to a social account such as Facebook or Yahoo.
47
65
  attr_accessor :social_account_information
48
66
 
67
+ #
68
+ attr_accessor :tax_exempt_id
69
+
49
70
  # Attribute mapping from ruby-style variable name to JSON key.
50
71
  def self.attribute_map
51
72
  {
@@ -56,13 +77,17 @@ module DocuSign_eSign
56
77
  :'direct_debit_processor_information' => :'directDebitProcessorInformation',
57
78
  :'distributor_code' => :'distributorCode',
58
79
  :'distributor_password' => :'distributorPassword',
80
+ :'enable_pre_auth' => :'enablePreAuth',
59
81
  :'envelope_partition_id' => :'envelopePartitionId',
60
82
  :'initial_user' => :'initialUser',
61
83
  :'payment_method' => :'paymentMethod',
84
+ :'payment_processor' => :'paymentProcessor',
62
85
  :'payment_processor_information' => :'paymentProcessorInformation',
63
86
  :'plan_information' => :'planInformation',
87
+ :'process_payment' => :'processPayment',
64
88
  :'referral_information' => :'referralInformation',
65
- :'social_account_information' => :'socialAccountInformation'
89
+ :'social_account_information' => :'socialAccountInformation',
90
+ :'tax_exempt_id' => :'taxExemptId'
66
91
  }
67
92
  end
68
93
 
@@ -76,13 +101,17 @@ module DocuSign_eSign
76
101
  :'direct_debit_processor_information' => :'DirectDebitProcessorInformation',
77
102
  :'distributor_code' => :'String',
78
103
  :'distributor_password' => :'String',
104
+ :'enable_pre_auth' => :'String',
79
105
  :'envelope_partition_id' => :'String',
80
106
  :'initial_user' => :'UserInformation',
81
107
  :'payment_method' => :'String',
108
+ :'payment_processor' => :'String',
82
109
  :'payment_processor_information' => :'PaymentProcessorInformation',
83
110
  :'plan_information' => :'PlanInformation',
111
+ :'process_payment' => :'String',
84
112
  :'referral_information' => :'ReferralInformation',
85
- :'social_account_information' => :'SocialAccountInformation'
113
+ :'social_account_information' => :'SocialAccountInformation',
114
+ :'tax_exempt_id' => :'String'
86
115
  }
87
116
  end
88
117
 
@@ -122,6 +151,10 @@ module DocuSign_eSign
122
151
  self.distributor_password = attributes[:'distributorPassword']
123
152
  end
124
153
 
154
+ if attributes.has_key?(:'enablePreAuth')
155
+ self.enable_pre_auth = attributes[:'enablePreAuth']
156
+ end
157
+
125
158
  if attributes.has_key?(:'envelopePartitionId')
126
159
  self.envelope_partition_id = attributes[:'envelopePartitionId']
127
160
  end
@@ -134,6 +167,10 @@ module DocuSign_eSign
134
167
  self.payment_method = attributes[:'paymentMethod']
135
168
  end
136
169
 
170
+ if attributes.has_key?(:'paymentProcessor')
171
+ self.payment_processor = attributes[:'paymentProcessor']
172
+ end
173
+
137
174
  if attributes.has_key?(:'paymentProcessorInformation')
138
175
  self.payment_processor_information = attributes[:'paymentProcessorInformation']
139
176
  end
@@ -142,6 +179,10 @@ module DocuSign_eSign
142
179
  self.plan_information = attributes[:'planInformation']
143
180
  end
144
181
 
182
+ if attributes.has_key?(:'processPayment')
183
+ self.process_payment = attributes[:'processPayment']
184
+ end
185
+
145
186
  if attributes.has_key?(:'referralInformation')
146
187
  self.referral_information = attributes[:'referralInformation']
147
188
  end
@@ -149,6 +190,10 @@ module DocuSign_eSign
149
190
  if attributes.has_key?(:'socialAccountInformation')
150
191
  self.social_account_information = attributes[:'socialAccountInformation']
151
192
  end
193
+
194
+ if attributes.has_key?(:'taxExemptId')
195
+ self.tax_exempt_id = attributes[:'taxExemptId']
196
+ end
152
197
  end
153
198
 
154
199
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -176,13 +221,17 @@ module DocuSign_eSign
176
221
  direct_debit_processor_information == o.direct_debit_processor_information &&
177
222
  distributor_code == o.distributor_code &&
178
223
  distributor_password == o.distributor_password &&
224
+ enable_pre_auth == o.enable_pre_auth &&
179
225
  envelope_partition_id == o.envelope_partition_id &&
180
226
  initial_user == o.initial_user &&
181
227
  payment_method == o.payment_method &&
228
+ payment_processor == o.payment_processor &&
182
229
  payment_processor_information == o.payment_processor_information &&
183
230
  plan_information == o.plan_information &&
231
+ process_payment == o.process_payment &&
184
232
  referral_information == o.referral_information &&
185
- social_account_information == o.social_account_information
233
+ social_account_information == o.social_account_information &&
234
+ tax_exempt_id == o.tax_exempt_id
186
235
  end
187
236
 
188
237
  # @see the `==` method
@@ -194,7 +243,7 @@ module DocuSign_eSign
194
243
  # Calculates hash code according to all attributes.
195
244
  # @return [Fixnum] Hash code
196
245
  def hash
197
- [account_name, account_settings, address_information, credit_card_information, direct_debit_processor_information, distributor_code, distributor_password, envelope_partition_id, initial_user, payment_method, payment_processor_information, plan_information, referral_information, social_account_information].hash
246
+ [account_name, account_settings, address_information, credit_card_information, direct_debit_processor_information, distributor_code, distributor_password, enable_pre_auth, envelope_partition_id, initial_user, payment_method, payment_processor, payment_processor_information, plan_information, process_payment, referral_information, social_account_information, tax_exempt_id].hash
198
247
  end
199
248
 
200
249
  # Builds the object from hash
@@ -28,6 +28,7 @@ module DocuSign_eSign
28
28
  # The URL that should be used for successive calls to this account. It includes the protocal (https), the DocuSign server where the account is located, and the account number. Use this Url to make API calls against this account. Many of the API calls provide Uri's that are relative to this baseUrl.
29
29
  attr_accessor :base_url
30
30
 
31
+ #
31
32
  attr_accessor :billing_plan_preview
32
33
 
33
34
  # Specifies the user ID of the new user.
@@ -12,6 +12,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
12
12
  require 'date'
13
13
 
14
14
  module DocuSign_eSign
15
+ # Object representing a new user.
15
16
  class NewUser
16
17
  # Contains a token that can be used for authentication in API calls instead of using the user name and password.
17
18
  attr_accessor :api_password
@@ -22,6 +23,7 @@ module DocuSign_eSign
22
23
  #
23
24
  attr_accessor :email
24
25
 
26
+ # This object describes errors that occur. It is only valid for responses and ignored in requests.
25
27
  attr_accessor :error_details
26
28
 
27
29
  #
@@ -12,6 +12,7 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
12
12
  require 'date'
13
13
 
14
14
  module DocuSign_eSign
15
+ # Object representing a summary of data for new users.
15
16
  class NewUsersSummary
16
17
  #
17
18
  attr_accessor :new_users
@@ -12,104 +12,131 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
12
12
  require 'date'
13
13
 
14
14
  module DocuSign_eSign
15
+ # A tab that alerts notary recipients that they must take action on the page. Only one notarize tab can appear on a page.
15
16
  class Notarize
16
17
  #
17
18
  attr_accessor :anchor_allow_white_space_in_characters
18
19
 
20
+ # Metadata that indicates whether the `anchorAllowWhiteSpaceInCharacters` property is editable.
19
21
  attr_accessor :anchor_allow_white_space_in_characters_metadata
20
22
 
21
23
  # When set to **true**, the anchor string does not consider case when matching strings in the document. The default value is **true**.
22
24
  attr_accessor :anchor_case_sensitive
23
25
 
26
+ # Metadata that indicates whether the `anchorCaseSensitive` property is editable.
24
27
  attr_accessor :anchor_case_sensitive_metadata
25
28
 
26
29
  # Specifies the alignment of anchor tabs with anchor strings. Possible values are **left** or **right**. The default value is **left**.
27
30
  attr_accessor :anchor_horizontal_alignment
28
31
 
32
+ # Metadata that indicates whether the `anchorHorizontalAlignment` property is editable.
29
33
  attr_accessor :anchor_horizontal_alignment_metadata
30
34
 
31
35
  # When set to **true**, this tab is ignored if anchorString is not found in the document.
32
36
  attr_accessor :anchor_ignore_if_not_present
33
37
 
38
+ # Metadata that indicates whether the `anchorIgnoreIfNotPresent` property is editable.
34
39
  attr_accessor :anchor_ignore_if_not_present_metadata
35
40
 
36
41
  # When set to **true**, the anchor string in this tab matches whole words only (strings embedded in other strings are ignored.) The default value is **true**.
37
42
  attr_accessor :anchor_match_whole_word
38
43
 
44
+ # Metadata that indicates whether the `anchorMatchWholeWord` property is editable.
39
45
  attr_accessor :anchor_match_whole_word_metadata
40
46
 
41
47
  # Anchor text information for a radio button.
42
48
  attr_accessor :anchor_string
43
49
 
50
+ # Metadata that indicates whether the `anchorString` property is editable.
44
51
  attr_accessor :anchor_string_metadata
45
52
 
46
53
  #
47
54
  attr_accessor :anchor_tab_processor_version
48
55
 
56
+ # Reserved for DocuSign.
49
57
  attr_accessor :anchor_tab_processor_version_metadata
50
58
 
51
59
  # Specifies units of the X and Y offset. Units could be pixels, millimeters, centimeters, or inches.
52
60
  attr_accessor :anchor_units
53
61
 
62
+ # Metadata that indicates whether the `anchorUnits` property is editable.
54
63
  attr_accessor :anchor_units_metadata
55
64
 
56
65
  # Specifies the X axis location of the tab, in anchorUnits, relative to the anchorString.
57
66
  attr_accessor :anchor_x_offset
58
67
 
68
+ # Metadata that indicates whether the `anchorXOffset` property is editable.
59
69
  attr_accessor :anchor_x_offset_metadata
60
70
 
61
71
  # Specifies the Y axis location of the tab, in anchorUnits, relative to the anchorString.
62
72
  attr_accessor :anchor_y_offset
63
73
 
74
+ # Metadata that indicates whether the `anchorYOffset` property is editable.
64
75
  attr_accessor :anchor_y_offset_metadata
65
76
 
77
+ #
78
+ attr_accessor :caption
79
+
80
+ attr_accessor :caption_metadata
81
+
66
82
  # For conditional fields this is the TabLabel of the parent tab that controls this tab's visibility.
67
83
  attr_accessor :conditional_parent_label
68
84
 
85
+ # Metadata that indicates whether the `conditionalParentLabel` property is editable.
69
86
  attr_accessor :conditional_parent_label_metadata
70
87
 
71
88
  # For conditional fields, this is the value of the parent tab that controls the tab's visibility. If the parent tab is a Checkbox, Radio button, Optional Signature, or Optional Initial use \"on\" as the value to show that the parent tab is active.
72
89
  attr_accessor :conditional_parent_value
73
90
 
91
+ # Metadata that indicates whether the `conditionalParentValue` property is editable.
74
92
  attr_accessor :conditional_parent_value_metadata
75
93
 
76
94
  # The DocuSign generated custom tab ID for the custom tab to be applied. This can only be used when adding new tabs for a recipient. When used, the new tab inherits all the custom tab properties.
77
95
  attr_accessor :custom_tab_id
78
96
 
97
+ # Metadata that indicates whether the `customTabId` property is editable.
79
98
  attr_accessor :custom_tab_id_metadata
80
99
 
81
100
  # Specifies the document ID number that the tab is placed on. This must refer to an existing Document's ID attribute.
82
101
  attr_accessor :document_id
83
102
 
103
+ # Metadata that indicates whether the `documentId` property is editable.
84
104
  attr_accessor :document_id_metadata
85
105
 
106
+ # This object describes errors that occur. It is only valid for responses and ignored in requests.
86
107
  attr_accessor :error_details
87
108
 
88
109
  #
89
110
  attr_accessor :form_order
90
111
 
112
+ # Metadata that indicates whether the `formOrder` property is editable.
91
113
  attr_accessor :form_order_metadata
92
114
 
93
115
  #
94
116
  attr_accessor :form_page_label
95
117
 
118
+ # Metadata that indicates whether the `formPageLabel` property is editable.
96
119
  attr_accessor :form_page_label_metadata
97
120
 
98
121
  #
99
122
  attr_accessor :form_page_number
100
123
 
124
+ # Metadata that indicates whether the `fromPageNumber` property is editable.
101
125
  attr_accessor :form_page_number_metadata
102
126
 
103
127
  # Height of the tab in pixels.
104
128
  attr_accessor :height
105
129
 
130
+ # Metadata that indicates whether the `height` property is editable.
106
131
  attr_accessor :height_metadata
107
132
 
108
133
  # When set to **true**, the signer cannot change the data of the custom tab.
109
134
  attr_accessor :locked
110
135
 
136
+ # Metadata that indicates whether the `locked` property is editable.
111
137
  attr_accessor :locked_metadata
112
138
 
139
+ # Contains the information necessary to map the tab to a field in SalesForce.
113
140
  attr_accessor :merge_field
114
141
 
115
142
  #
@@ -118,6 +145,7 @@ module DocuSign_eSign
118
145
  # Specifies the page number on which the tab is located.
119
146
  attr_accessor :page_number
120
147
 
148
+ # Metadata that indicates whether the `pageNumber` property is editable.
121
149
  attr_accessor :page_number_metadata
122
150
 
123
151
  # Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.
@@ -126,15 +154,19 @@ module DocuSign_eSign
126
154
  #
127
155
  attr_accessor :recipient_id_guid
128
156
 
157
+ # Metadata that indicates whether the `recipientIdGuid` property is editable.
129
158
  attr_accessor :recipient_id_guid_metadata
130
159
 
160
+ # Metadata that indicates whether the `recipientId` property is editable.
131
161
  attr_accessor :recipient_id_metadata
132
162
 
133
163
  # When set to **true**, the signer is required to fill out this tab
134
164
  attr_accessor :required
135
165
 
166
+ # Metadata that indicates whether the `required` property is editable.
136
167
  attr_accessor :required_metadata
137
168
 
169
+ # Reserved for DocuSign.
138
170
  attr_accessor :smart_contract_information
139
171
 
140
172
  #
@@ -143,56 +175,67 @@ module DocuSign_eSign
143
175
  # 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.
144
176
  attr_accessor :status
145
177
 
178
+ # Metadata that indicates whether the `status` property is editable.
146
179
  attr_accessor :status_metadata
147
180
 
148
181
  #
149
182
  attr_accessor :tab_group_labels
150
183
 
184
+ # Metadata that indicates whether the `tabGroupLabels` property is editable.
151
185
  attr_accessor :tab_group_labels_metadata
152
186
 
153
187
  # The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call].
154
188
  attr_accessor :tab_id
155
189
 
190
+ # Metadata that indicates whether the `tabId` property is editable.
156
191
  attr_accessor :tab_id_metadata
157
192
 
158
193
  #
159
194
  attr_accessor :tab_order
160
195
 
196
+ # Metadata that indicates whether the `tabOrder` property is editable.
161
197
  attr_accessor :tab_order_metadata
162
198
 
163
199
  #
164
200
  attr_accessor :tab_type
165
201
 
202
+ # Metadata that indicates whether the `tabType` property is editable.
166
203
  attr_accessor :tab_type_metadata
167
204
 
168
205
  # When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients.
169
206
  attr_accessor :template_locked
170
207
 
208
+ # Metadata that indicates whether the `templateLocked` property is editable.
171
209
  attr_accessor :template_locked_metadata
172
210
 
173
211
  # When set to **true**, the sender may not remove the recipient. Used only when working with template recipients.
174
212
  attr_accessor :template_required
175
213
 
214
+ # Metadata that indicates whether the `templateRequired` property is editable.
176
215
  attr_accessor :template_required_metadata
177
216
 
178
217
  #
179
218
  attr_accessor :tooltip
180
219
 
220
+ # Metadata that indicates whether the `toolTip` property is editable.
181
221
  attr_accessor :tool_tip_metadata
182
222
 
183
223
  # Width of the tab in pixels.
184
224
  attr_accessor :width
185
225
 
226
+ # Metadata that indicates whether the `width` property is editable.
186
227
  attr_accessor :width_metadata
187
228
 
188
229
  # This indicates the horizontal offset of the object on the page. DocuSign uses 72 DPI when determining position.
189
230
  attr_accessor :x_position
190
231
 
232
+ # Metadata that indicates whether the `xPosition` property is editable.
191
233
  attr_accessor :x_position_metadata
192
234
 
193
235
  # This indicates the vertical offset of the object on the page. DocuSign uses 72 DPI when determining position.
194
236
  attr_accessor :y_position
195
237
 
238
+ # Metadata that indicates whether the `yPosition` property is editable.
196
239
  attr_accessor :y_position_metadata
197
240
 
198
241
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -218,6 +261,8 @@ module DocuSign_eSign
218
261
  :'anchor_x_offset_metadata' => :'anchorXOffsetMetadata',
219
262
  :'anchor_y_offset' => :'anchorYOffset',
220
263
  :'anchor_y_offset_metadata' => :'anchorYOffsetMetadata',
264
+ :'caption' => :'caption',
265
+ :'caption_metadata' => :'captionMetadata',
221
266
  :'conditional_parent_label' => :'conditionalParentLabel',
222
267
  :'conditional_parent_label_metadata' => :'conditionalParentLabelMetadata',
223
268
  :'conditional_parent_value' => :'conditionalParentValue',
@@ -297,6 +342,8 @@ module DocuSign_eSign
297
342
  :'anchor_x_offset_metadata' => :'PropertyMetadata',
298
343
  :'anchor_y_offset' => :'String',
299
344
  :'anchor_y_offset_metadata' => :'PropertyMetadata',
345
+ :'caption' => :'String',
346
+ :'caption_metadata' => :'PropertyMetadata',
300
347
  :'conditional_parent_label' => :'String',
301
348
  :'conditional_parent_label_metadata' => :'PropertyMetadata',
302
349
  :'conditional_parent_value' => :'String',
@@ -441,6 +488,14 @@ module DocuSign_eSign
441
488
  self.anchor_y_offset_metadata = attributes[:'anchorYOffsetMetadata']
442
489
  end
443
490
 
491
+ if attributes.has_key?(:'caption')
492
+ self.caption = attributes[:'caption']
493
+ end
494
+
495
+ if attributes.has_key?(:'captionMetadata')
496
+ self.caption_metadata = attributes[:'captionMetadata']
497
+ end
498
+
444
499
  if attributes.has_key?(:'conditionalParentLabel')
445
500
  self.conditional_parent_label = attributes[:'conditionalParentLabel']
446
501
  end
@@ -694,6 +749,8 @@ module DocuSign_eSign
694
749
  anchor_x_offset_metadata == o.anchor_x_offset_metadata &&
695
750
  anchor_y_offset == o.anchor_y_offset &&
696
751
  anchor_y_offset_metadata == o.anchor_y_offset_metadata &&
752
+ caption == o.caption &&
753
+ caption_metadata == o.caption_metadata &&
697
754
  conditional_parent_label == o.conditional_parent_label &&
698
755
  conditional_parent_label_metadata == o.conditional_parent_label_metadata &&
699
756
  conditional_parent_value == o.conditional_parent_value &&
@@ -758,7 +815,7 @@ module DocuSign_eSign
758
815
  # Calculates hash code according to all attributes.
759
816
  # @return [Fixnum] Hash code
760
817
  def hash
761
- [anchor_allow_white_space_in_characters, anchor_allow_white_space_in_characters_metadata, anchor_case_sensitive, anchor_case_sensitive_metadata, anchor_horizontal_alignment, anchor_horizontal_alignment_metadata, anchor_ignore_if_not_present, anchor_ignore_if_not_present_metadata, anchor_match_whole_word, anchor_match_whole_word_metadata, anchor_string, anchor_string_metadata, anchor_tab_processor_version, anchor_tab_processor_version_metadata, anchor_units, anchor_units_metadata, anchor_x_offset, anchor_x_offset_metadata, anchor_y_offset, anchor_y_offset_metadata, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_metadata, document_id, document_id_metadata, error_details, form_order, form_order_metadata, form_page_label, form_page_label_metadata, form_page_number, form_page_number_metadata, height, height_metadata, locked, locked_metadata, merge_field, merge_field_xml, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, required, required_metadata, smart_contract_information, source, status, status_metadata, tab_group_labels, tab_group_labels_metadata, tab_id, tab_id_metadata, tab_order, tab_order_metadata, tab_type, tab_type_metadata, template_locked, template_locked_metadata, template_required, template_required_metadata, tooltip, tool_tip_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
818
+ [anchor_allow_white_space_in_characters, anchor_allow_white_space_in_characters_metadata, anchor_case_sensitive, anchor_case_sensitive_metadata, anchor_horizontal_alignment, anchor_horizontal_alignment_metadata, anchor_ignore_if_not_present, anchor_ignore_if_not_present_metadata, anchor_match_whole_word, anchor_match_whole_word_metadata, anchor_string, anchor_string_metadata, anchor_tab_processor_version, anchor_tab_processor_version_metadata, anchor_units, anchor_units_metadata, anchor_x_offset, anchor_x_offset_metadata, anchor_y_offset, anchor_y_offset_metadata, caption, caption_metadata, conditional_parent_label, conditional_parent_label_metadata, conditional_parent_value, conditional_parent_value_metadata, custom_tab_id, custom_tab_id_metadata, document_id, document_id_metadata, error_details, form_order, form_order_metadata, form_page_label, form_page_label_metadata, form_page_number, form_page_number_metadata, height, height_metadata, locked, locked_metadata, merge_field, merge_field_xml, page_number, page_number_metadata, recipient_id, recipient_id_guid, recipient_id_guid_metadata, recipient_id_metadata, required, required_metadata, smart_contract_information, source, status, status_metadata, tab_group_labels, tab_group_labels_metadata, tab_id, tab_id_metadata, tab_order, tab_order_metadata, tab_type, tab_type_metadata, template_locked, template_locked_metadata, template_required, template_required_metadata, tooltip, tool_tip_metadata, width, width_metadata, x_position, x_position_metadata, y_position, y_position_metadata].hash
762
819
  end
763
820
 
764
821
  # Builds the object from hash
@@ -22,6 +22,7 @@ module DocuSign_eSign
22
22
  #
23
23
  attr_accessor :searchable
24
24
 
25
+ # Information about the user registering to be a notary.
25
26
  attr_accessor :user_info
26
27
 
27
28
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -12,10 +12,12 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
12
12
  require 'date'
13
13
 
14
14
  module DocuSign_eSign
15
+ # This object is used only when `inPersonSigningType` in the `inPersonSigner` object is `notary`. It describes information about the notary host. The following information is required when using the eNotary in-person signing flow: * `name`: Specifies the notary's full legal name. * `email`: Specifies the notary's email address. * `recipientId`: A unique ID number for the notary signing host.
15
16
  class NotaryHost
16
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.
17
18
  attr_accessor :access_code
18
19
 
20
+ # Metadata that indicates whether the `accessCode` property is editable. This property is read-only.
19
21
  attr_accessor :access_code_metadata
20
22
 
21
23
  # 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.
@@ -48,6 +50,7 @@ module DocuSign_eSign
48
50
  # Reserved: For DocuSign use only.
49
51
  attr_accessor :delivery_method
50
52
 
53
+ # Reserved for DocuSign.
51
54
  attr_accessor :delivery_method_metadata
52
55
 
53
56
  #
@@ -62,18 +65,22 @@ module DocuSign_eSign
62
65
  #
63
66
  attr_accessor :email
64
67
 
68
+ # Metadata that indicates whether the `email` property is editable. This property is read-only.
65
69
  attr_accessor :email_metadata
66
70
 
71
+ # An optional complex type that sets a specific email subject and body for this recipient's notification email. **Note:** You can set the `emailNotification` property separately for each recipient. If you set the value only for certain recipients, the other recipients will inherit the this value from the top-level `emailSubject` and `emailBlurb`.
67
72
  attr_accessor :email_notification
68
73
 
69
74
  # 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]]`
70
75
  attr_accessor :embedded_recipient_start_url
71
76
 
77
+ # This object describes errors that occur. It is only valid for responses and ignored in requests.
72
78
  attr_accessor :error_details
73
79
 
74
80
  # Reserved:
75
81
  attr_accessor :fax_number
76
82
 
83
+ # Reserved for DocuSign.
77
84
  attr_accessor :fax_number_metadata
78
85
 
79
86
  #
@@ -82,10 +89,13 @@ module DocuSign_eSign
82
89
  # 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.
83
90
  attr_accessor :id_check_configuration_name
84
91
 
92
+ # Metadata that indicates whether the `idCheckConfigurationName` property is editable. This property is read-only.
85
93
  attr_accessor :id_check_configuration_name_metadata
86
94
 
95
+ # An object that contains input information related to a recipient ID check.
87
96
  attr_accessor :id_check_information_input
88
97
 
98
+ # Specifies the ID Verification workflow applied on an envelope by workflow ID. <br/>See the [list](/docs/esign-rest-api/reference/accounts/identityverifications/list/) method in the [IdentityVerifications](/docs/esign-rest-api/reference/accounts/identityverifications/) resource for more information on how to retrieve workflow IDs available for an account. <br/>This can be used in addition to other [recipient authentication](https://support.docusign.com/en/guides/ndse-user-guide-recipient-authentication) methods. <br/>Note that ID Verification and ID Check are two distinct methods. ID Verification checks recipients' identity by verifying their ID while ID Check relies on data available on public records (such as current and former address).
89
99
  attr_accessor :identity_verification
90
100
 
91
101
  # When set to **true** and the envelope recipient creates a DocuSign account after signing, the Manage Account Email Notification settings are used as the default settings for the recipient's account.
@@ -100,18 +110,22 @@ module DocuSign_eSign
100
110
  #
101
111
  attr_accessor :name
102
112
 
113
+ # Metadata that indicates whether the `name` property is editable. This property is read-only.
103
114
  attr_accessor :name_metadata
104
115
 
105
116
  # Specifies a note that is unique to this recipient. This note is sent to the recipient via the signing email. The note displays in the signing UI near the upper left corner of the document on the signing screen. Maximum Length: 1000 characters.
106
117
  attr_accessor :note
107
118
 
119
+ # Metadata that indicates whether the `note` property is editable. This property is read-only.
108
120
  attr_accessor :note_metadata
109
121
 
122
+ # When `idCheckConfigurationName` is set to `Phone Auth $`, you use this complex type to provide the recipient authentication method details. It contains the following elements: * `recipMayProvideNumber`: Boolean. When **true,** the recipient can use whatever phone number they choose. * `senderProvidedNumbers`: ArrayOfStrings. A list of phone numbers the recipient can use. * `recordVoicePrint`: Reserved for DocuSign. * `validateRecipProvidedNumber`: Reserved for DocuSign.
110
123
  attr_accessor :phone_authentication
111
124
 
112
125
  # Reserved:
113
126
  attr_accessor :recipient_attachments
114
127
 
128
+ # Information about the recipient's authentication status. This property is read-only.
115
129
  attr_accessor :recipient_authentication_status
116
130
 
117
131
  #
@@ -126,11 +140,13 @@ module DocuSign_eSign
126
140
  #
127
141
  attr_accessor :recipient_type
128
142
 
143
+ # Metadata that indicates whether the `recipientType` property is editable. This property is read-only.
129
144
  attr_accessor :recipient_type_metadata
130
145
 
131
146
  # When set to **true**, the recipient is required to use the specified ID check method (including Phone and SMS authentication) to validate their identity.
132
147
  attr_accessor :require_id_lookup
133
148
 
149
+ # Metadata that indicates whether the `requireIdLookup` property is editable. This property is read-only.
134
150
  attr_accessor :require_id_lookup_metadata
135
151
 
136
152
  # Optional element. Specifies the role name associated with the recipient.<br/><br/>This is required when working with template recipients.
@@ -139,6 +155,7 @@ module DocuSign_eSign
139
155
  # Specifies the routing order of the recipient in the envelope.
140
156
  attr_accessor :routing_order
141
157
 
158
+ # Metadata that indicates whether the `routingOrder` property is editable. This property is read-only.
142
159
  attr_accessor :routing_order_metadata
143
160
 
144
161
  # The date and time the envelope was sent.
@@ -150,6 +167,7 @@ module DocuSign_eSign
150
167
  # When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).
151
168
  attr_accessor :signing_group_id
152
169
 
170
+ # Metadata that indicates whether the `signingGroupId` property is editable. This property is read-only.
153
171
  attr_accessor :signing_group_id_metadata
154
172
 
155
173
  # The display name for the signing group. Maximum Length: 100 characters.
@@ -158,6 +176,7 @@ module DocuSign_eSign
158
176
  # A complex type that contains information about users in the signing group.
159
177
  attr_accessor :signing_group_users
160
178
 
179
+ # When `idCheckConfigurationName` is set to `SMS Auth $`, you use this complex type to provide the recipient authentication method details. It contains the element `senderProvidedNumbers`, which is an array of phone numbers that the recipient can use for SMS text authentication.
161
180
  attr_accessor :sms_authentication
162
181
 
163
182
  # Lists the social ID type that can be used for recipient authentication.
@@ -172,6 +191,7 @@ module DocuSign_eSign
172
191
  #
173
192
  attr_accessor :suppress_emails
174
193
 
194
+ # A list of tabs, which are represented graphically as symbols on documents at the time of signing. Tabs show recipients where to sign, initial, or enter data. They may also display data to the recipients.
175
195
  attr_accessor :tabs
176
196
 
177
197
  # When set to **true**, the sender cannot change any attributes of the recipient. Used only when working with template recipients.
@@ -19,11 +19,13 @@ module DocuSign_eSign
19
19
  #
20
20
  attr_accessor :document_name
21
21
 
22
+ # The notary's jurisdiction.
22
23
  attr_accessor :jurisdiction
23
24
 
24
25
  #
25
26
  attr_accessor :notary_journal_id
26
27
 
28
+ # Additional journal data such as the witness list and signature image.
27
29
  attr_accessor :notary_journal_meta_data
28
30
 
29
31
  #