docusign_esign 3.2.1 → 3.5.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (470) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +5 -0
  3. data/Gemfile.lock +11 -11
  4. data/README.md +7 -5
  5. data/docusign_esign-2.6.0.rc1.gem +0 -0
  6. data/lib/docusign_esign.rb +30 -3
  7. data/lib/docusign_esign/.DS_Store +0 -0
  8. data/lib/docusign_esign/api/accounts_api.rb +364 -1
  9. data/lib/docusign_esign/api/authentication_api.rb +2 -1
  10. data/lib/docusign_esign/api/billing_api.rb +51 -1
  11. data/lib/docusign_esign/api/bulk_envelopes_api.rb +130 -7
  12. data/lib/docusign_esign/api/cloud_storage_api.rb +2 -1
  13. data/lib/docusign_esign/api/connect_api.rb +2 -1
  14. data/lib/docusign_esign/api/custom_tabs_api.rb +2 -1
  15. data/lib/docusign_esign/api/data_feed_api.rb +2 -1
  16. data/lib/docusign_esign/api/diagnostics_api.rb +2 -1
  17. data/lib/docusign_esign/api/email_archive_api.rb +14 -13
  18. data/lib/docusign_esign/api/envelopes_api.rb +352 -7
  19. data/lib/docusign_esign/api/folders_api.rb +2 -1
  20. data/lib/docusign_esign/api/groups_api.rb +2 -1
  21. data/lib/docusign_esign/api/notary_api.rb +2 -1
  22. data/lib/docusign_esign/api/organizations_api.rb +2 -1
  23. data/lib/docusign_esign/api/power_forms_api.rb +2 -1
  24. data/lib/docusign_esign/api/signing_groups_api.rb +2 -1
  25. data/lib/docusign_esign/api/templates_api.rb +2 -1
  26. data/lib/docusign_esign/api/trust_service_providers_api.rb +74 -0
  27. data/lib/docusign_esign/api/users_api.rb +2 -1
  28. data/lib/docusign_esign/api/workspaces_api.rb +2 -1
  29. data/lib/{.DS_Store → docusign_esign/client/.DS_Store} +0 -0
  30. data/lib/docusign_esign/configuration.rb +3 -2
  31. data/lib/docusign_esign/models/access_code_format.rb +8 -11
  32. data/lib/docusign_esign/models/account_address.rb +8 -10
  33. data/lib/docusign_esign/models/account_billing_plan.rb +8 -10
  34. data/lib/docusign_esign/models/account_billing_plan_response.rb +8 -10
  35. data/lib/docusign_esign/models/account_identity_input_option.rb +8 -11
  36. data/lib/docusign_esign/models/account_identity_verification_response.rb +8 -11
  37. data/lib/docusign_esign/models/account_identity_verification_step.rb +8 -11
  38. data/lib/docusign_esign/models/account_identity_verification_workflow.rb +8 -11
  39. data/lib/docusign_esign/models/account_information.rb +9 -11
  40. data/lib/docusign_esign/models/account_minimum_password_length.rb +8 -11
  41. data/lib/docusign_esign/models/account_notification.rb +8 -11
  42. data/lib/docusign_esign/models/account_password_expire_password_days.rb +8 -11
  43. data/lib/docusign_esign/models/account_password_lockout_duration_minutes.rb +8 -11
  44. data/lib/docusign_esign/models/account_password_lockout_duration_type.rb +8 -11
  45. data/lib/docusign_esign/models/account_password_minimum_password_age_days.rb +8 -11
  46. data/lib/docusign_esign/models/account_password_questions_required.rb +8 -11
  47. data/lib/docusign_esign/models/account_password_rules.rb +8 -11
  48. data/lib/docusign_esign/models/account_password_strength_type.rb +8 -11
  49. data/lib/docusign_esign/models/account_password_strength_type_option.rb +8 -11
  50. data/lib/docusign_esign/models/account_role_settings.rb +8 -11
  51. data/lib/docusign_esign/models/account_seals.rb +8 -11
  52. data/lib/docusign_esign/models/account_settings_information.rb +19 -11
  53. data/lib/docusign_esign/models/account_shared_access.rb +8 -10
  54. data/lib/docusign_esign/models/account_signature_provider.rb +8 -11
  55. data/lib/docusign_esign/models/account_signature_provider_option.rb +8 -11
  56. data/lib/docusign_esign/models/account_signature_providers.rb +8 -11
  57. data/lib/docusign_esign/models/account_ui_settings.rb +8 -11
  58. data/lib/docusign_esign/models/add_on.rb +8 -10
  59. data/lib/docusign_esign/models/address_information.rb +20 -12
  60. data/lib/docusign_esign/models/address_information_input.rb +8 -10
  61. data/lib/docusign_esign/models/admin_message.rb +8 -11
  62. data/lib/docusign_esign/models/agent.rb +39 -11
  63. data/lib/docusign_esign/models/api_request_log.rb +8 -10
  64. data/lib/docusign_esign/models/api_request_logs_result.rb +8 -10
  65. data/lib/docusign_esign/models/app_store_product.rb +8 -10
  66. data/lib/docusign_esign/models/app_store_receipt.rb +8 -10
  67. data/lib/docusign_esign/models/approve.rb +8 -11
  68. data/lib/docusign_esign/models/ask_an_admin.rb +8 -11
  69. data/lib/docusign_esign/models/attachment.rb +8 -10
  70. data/lib/docusign_esign/models/authentication_method.rb +8 -10
  71. data/lib/docusign_esign/models/authentication_status.rb +8 -10
  72. data/lib/docusign_esign/models/bcc_email_address.rb +8 -10
  73. data/lib/docusign_esign/models/bcc_email_archive.rb +8 -11
  74. data/lib/docusign_esign/models/bcc_email_archive_history.rb +8 -11
  75. data/lib/docusign_esign/models/bcc_email_archive_history_list.rb +8 -11
  76. data/lib/docusign_esign/models/bcc_email_archive_list.rb +8 -11
  77. data/lib/docusign_esign/models/billing_charge.rb +8 -10
  78. data/lib/docusign_esign/models/billing_charge_response.rb +8 -10
  79. data/lib/docusign_esign/models/billing_discount.rb +8 -11
  80. data/lib/docusign_esign/models/billing_invoice.rb +8 -10
  81. data/lib/docusign_esign/models/billing_invoice_item.rb +8 -10
  82. data/lib/docusign_esign/models/billing_invoices_response.rb +8 -10
  83. data/lib/docusign_esign/models/billing_invoices_summary.rb +8 -11
  84. data/lib/docusign_esign/models/billing_payment.rb +8 -10
  85. data/lib/docusign_esign/models/billing_payment_item.rb +8 -10
  86. data/lib/docusign_esign/models/billing_payment_request.rb +8 -11
  87. data/lib/docusign_esign/models/billing_payment_response.rb +8 -10
  88. data/lib/docusign_esign/models/billing_payments_response.rb +8 -10
  89. data/lib/docusign_esign/models/billing_plan.rb +8 -10
  90. data/lib/docusign_esign/models/billing_plan_information.rb +8 -11
  91. data/lib/docusign_esign/models/billing_plan_preview.rb +8 -10
  92. data/lib/docusign_esign/models/billing_plan_response.rb +8 -10
  93. data/lib/docusign_esign/models/billing_plan_update_response.rb +8 -10
  94. data/lib/docusign_esign/models/billing_plans_response.rb +8 -10
  95. data/lib/docusign_esign/models/billing_price.rb +8 -11
  96. data/lib/docusign_esign/models/brand.rb +8 -11
  97. data/lib/docusign_esign/models/brand_email_content.rb +8 -11
  98. data/lib/docusign_esign/models/brand_link.rb +8 -11
  99. data/lib/docusign_esign/models/brand_logos.rb +8 -11
  100. data/lib/docusign_esign/models/brand_request.rb +8 -11
  101. data/lib/docusign_esign/models/brand_resource_urls.rb +8 -11
  102. data/lib/docusign_esign/models/brand_resources.rb +8 -11
  103. data/lib/docusign_esign/models/brand_resources_list.rb +8 -11
  104. data/lib/docusign_esign/models/brands_request.rb +8 -11
  105. data/lib/docusign_esign/models/brands_response.rb +8 -11
  106. data/lib/docusign_esign/models/bulk_envelope.rb +8 -11
  107. data/lib/docusign_esign/models/bulk_envelope_status.rb +8 -11
  108. data/lib/docusign_esign/models/bulk_envelopes_response.rb +8 -11
  109. data/lib/docusign_esign/models/bulk_recipient.rb +8 -11
  110. data/lib/docusign_esign/models/bulk_recipient_signature_provider.rb +8 -11
  111. data/lib/docusign_esign/models/bulk_recipient_tab_label.rb +8 -11
  112. data/lib/docusign_esign/models/bulk_recipients_request.rb +8 -11
  113. data/lib/docusign_esign/models/bulk_recipients_response.rb +8 -11
  114. data/lib/docusign_esign/models/bulk_recipients_summary_response.rb +8 -11
  115. data/lib/docusign_esign/models/bulk_recipients_update_response.rb +8 -11
  116. data/lib/docusign_esign/models/bulk_send_batch_status.rb +287 -0
  117. data/lib/docusign_esign/models/bulk_send_batch_summaries.rb +277 -0
  118. data/lib/docusign_esign/models/bulk_send_batch_summary.rb +255 -0
  119. data/lib/docusign_esign/models/bulk_send_error_status.rb +207 -0
  120. data/lib/docusign_esign/models/bulk_send_request.rb +8 -11
  121. data/lib/docusign_esign/models/bulk_send_response.rb +40 -13
  122. data/lib/docusign_esign/models/bulk_send_test_response.rb +8 -11
  123. data/lib/docusign_esign/models/bulk_sending_copy.rb +8 -11
  124. data/lib/docusign_esign/models/bulk_sending_copy_custom_field.rb +8 -11
  125. data/lib/docusign_esign/models/bulk_sending_copy_recipient.rb +8 -11
  126. data/lib/docusign_esign/models/bulk_sending_copy_tab.rb +8 -11
  127. data/lib/docusign_esign/models/bulk_sending_list.rb +8 -11
  128. data/lib/docusign_esign/models/bulk_sending_list_summaries.rb +8 -11
  129. data/lib/docusign_esign/models/bulk_sending_list_summary.rb +8 -11
  130. data/lib/docusign_esign/models/captive_recipient.rb +8 -11
  131. data/lib/docusign_esign/models/captive_recipient_information.rb +8 -11
  132. data/lib/docusign_esign/models/carbon_copy.rb +30 -12
  133. data/lib/docusign_esign/models/certified_delivery.rb +30 -12
  134. data/lib/docusign_esign/models/checkbox.rb +8 -11
  135. data/lib/docusign_esign/models/chunked_upload_part.rb +8 -11
  136. data/lib/docusign_esign/models/chunked_upload_request.rb +8 -11
  137. data/lib/docusign_esign/models/chunked_upload_response.rb +8 -11
  138. data/lib/docusign_esign/models/cloud_storage_provider.rb +8 -11
  139. data/lib/docusign_esign/models/cloud_storage_providers.rb +8 -11
  140. data/lib/docusign_esign/models/comment.rb +8 -11
  141. data/lib/docusign_esign/models/comment_history_result.rb +8 -11
  142. data/lib/docusign_esign/models/comment_publish.rb +9 -12
  143. data/lib/docusign_esign/models/comment_thread.rb +8 -11
  144. data/lib/docusign_esign/models/comments_publish.rb +8 -11
  145. data/lib/docusign_esign/models/company.rb +8 -11
  146. data/lib/docusign_esign/models/composite_template.rb +8 -11
  147. data/lib/docusign_esign/models/conditional_recipient_rule.rb +216 -0
  148. data/lib/docusign_esign/models/conditional_recipient_rule_condition.rb +207 -0
  149. data/lib/docusign_esign/models/conditional_recipient_rule_filter.rb +235 -0
  150. data/lib/docusign_esign/models/connect_config_results.rb +8 -11
  151. data/lib/docusign_esign/models/connect_custom_configuration.rb +8 -11
  152. data/lib/docusign_esign/models/connect_debug_log.rb +8 -11
  153. data/lib/docusign_esign/models/connect_event_data.rb +8 -11
  154. data/lib/docusign_esign/models/connect_failure_filter.rb +8 -11
  155. data/lib/docusign_esign/models/connect_failure_result.rb +8 -11
  156. data/lib/docusign_esign/models/connect_failure_results.rb +8 -11
  157. data/lib/docusign_esign/models/connect_log.rb +8 -11
  158. data/lib/docusign_esign/models/connect_logs.rb +8 -11
  159. data/lib/docusign_esign/models/connect_salesforce_field.rb +8 -11
  160. data/lib/docusign_esign/models/connect_salesforce_object.rb +8 -11
  161. data/lib/docusign_esign/models/connect_user_object.rb +8 -11
  162. data/lib/docusign_esign/models/console_view_request.rb +8 -11
  163. data/lib/docusign_esign/models/consumer_disclosure.rb +8 -11
  164. data/lib/docusign_esign/models/contact.rb +8 -11
  165. data/lib/docusign_esign/models/contact_get_response.rb +8 -11
  166. data/lib/docusign_esign/models/contact_mod_request.rb +8 -11
  167. data/lib/docusign_esign/models/contact_phone_number.rb +8 -11
  168. data/lib/docusign_esign/models/contact_update_response.rb +8 -11
  169. data/lib/docusign_esign/models/correct_view_request.rb +8 -11
  170. data/lib/docusign_esign/models/country.rb +8 -11
  171. data/lib/docusign_esign/models/credit_card_information.rb +8 -11
  172. data/lib/docusign_esign/models/credit_card_types.rb +8 -11
  173. data/lib/docusign_esign/models/currency_feature_set_price.rb +8 -11
  174. data/lib/docusign_esign/models/currency_plan_price.rb +8 -11
  175. data/lib/docusign_esign/models/custom_field.rb +8 -11
  176. data/lib/docusign_esign/models/custom_fields.rb +8 -10
  177. data/lib/docusign_esign/models/custom_fields_envelope.rb +8 -11
  178. data/lib/docusign_esign/models/custom_settings_information.rb +8 -11
  179. data/lib/docusign_esign/models/date.rb +8 -11
  180. data/lib/docusign_esign/models/date_signed.rb +8 -11
  181. data/lib/docusign_esign/models/date_stamp_properties.rb +8 -11
  182. data/lib/docusign_esign/models/decline.rb +8 -11
  183. data/lib/docusign_esign/models/diagnostics_settings_information.rb +8 -11
  184. data/lib/docusign_esign/models/direct_debit_processor_information.rb +8 -11
  185. data/lib/docusign_esign/models/dob_information_input.rb +8 -10
  186. data/lib/docusign_esign/models/document.rb +9 -86
  187. data/lib/docusign_esign/models/document_fields_information.rb +8 -11
  188. data/lib/docusign_esign/models/document_html_collapsible_display_settings.rb +8 -11
  189. data/lib/docusign_esign/models/document_html_definition.rb +8 -11
  190. data/lib/docusign_esign/models/document_html_definition_original.rb +8 -11
  191. data/lib/docusign_esign/models/document_html_definition_originals.rb +8 -11
  192. data/lib/docusign_esign/models/document_html_definitions.rb +8 -11
  193. data/lib/docusign_esign/models/document_html_display_anchor.rb +8 -11
  194. data/lib/docusign_esign/models/document_html_display_settings.rb +8 -11
  195. data/lib/docusign_esign/models/document_template.rb +8 -11
  196. data/lib/docusign_esign/models/document_template_list.rb +8 -11
  197. data/lib/docusign_esign/models/document_visibility.rb +8 -11
  198. data/lib/docusign_esign/models/document_visibility_list.rb +8 -11
  199. data/lib/docusign_esign/models/downgrad_request_billing_info_response.rb +194 -0
  200. data/lib/docusign_esign/models/downgrade_billing_plan_information.rb +8 -11
  201. data/lib/docusign_esign/models/downgrade_plan_update_response.rb +8 -11
  202. data/lib/docusign_esign/models/draw.rb +8 -11
  203. data/lib/docusign_esign/models/e_note_configuration.rb +19 -12
  204. data/lib/docusign_esign/models/editor.rb +39 -12
  205. data/lib/docusign_esign/models/email.rb +8 -11
  206. data/lib/docusign_esign/models/email_address.rb +8 -11
  207. data/lib/docusign_esign/models/email_settings.rb +8 -10
  208. data/lib/docusign_esign/models/envelope.rb +19 -13
  209. data/lib/docusign_esign/models/envelope_attachment.rb +8 -11
  210. data/lib/docusign_esign/models/envelope_attachments_request.rb +8 -11
  211. data/lib/docusign_esign/models/envelope_attachments_result.rb +8 -11
  212. data/lib/docusign_esign/models/envelope_audit_event.rb +8 -11
  213. data/lib/docusign_esign/models/envelope_audit_event_response.rb +8 -11
  214. data/lib/docusign_esign/models/envelope_definition.rb +19 -13
  215. data/lib/docusign_esign/models/envelope_document.rb +8 -11
  216. data/lib/docusign_esign/models/envelope_documents_result.rb +8 -11
  217. data/lib/docusign_esign/models/envelope_event.rb +8 -11
  218. data/lib/docusign_esign/models/envelope_form_data.rb +8 -11
  219. data/lib/docusign_esign/models/envelope_id.rb +8 -11
  220. data/lib/docusign_esign/models/envelope_ids_request.rb +8 -11
  221. data/lib/docusign_esign/models/envelope_metadata.rb +8 -11
  222. data/lib/docusign_esign/models/envelope_notification_request.rb +8 -11
  223. data/lib/docusign_esign/models/envelope_purge_configuration.rb +8 -11
  224. data/lib/docusign_esign/models/envelope_summary.rb +8 -11
  225. data/lib/docusign_esign/models/envelope_template.rb +19 -13
  226. data/lib/docusign_esign/models/envelope_template_results.rb +8 -11
  227. data/lib/docusign_esign/models/envelope_transaction_status.rb +8 -11
  228. data/lib/docusign_esign/models/envelope_transfer_rule.rb +8 -11
  229. data/lib/docusign_esign/models/envelope_transfer_rule_information.rb +8 -11
  230. data/lib/docusign_esign/models/envelope_transfer_rule_request.rb +8 -11
  231. data/lib/docusign_esign/models/envelope_update_summary.rb +8 -11
  232. data/lib/docusign_esign/models/envelopes_information.rb +8 -11
  233. data/lib/docusign_esign/models/error_details.rb +8 -10
  234. data/lib/docusign_esign/models/event_notification.rb +8 -10
  235. data/lib/docusign_esign/models/event_result.rb +8 -11
  236. data/lib/docusign_esign/models/expirations.rb +8 -10
  237. data/lib/docusign_esign/models/external_doc_service_error_details.rb +8 -11
  238. data/lib/docusign_esign/models/external_document_sources.rb +8 -11
  239. data/lib/docusign_esign/models/external_file.rb +8 -11
  240. data/lib/docusign_esign/models/external_folder.rb +8 -11
  241. data/lib/docusign_esign/models/favorite_templates_content_item.rb +8 -11
  242. data/lib/docusign_esign/models/favorite_templates_info.rb +8 -11
  243. data/lib/docusign_esign/models/feature_available_metadata.rb +8 -11
  244. data/lib/docusign_esign/models/feature_set.rb +8 -11
  245. data/lib/docusign_esign/models/file_type.rb +8 -11
  246. data/lib/docusign_esign/models/file_type_list.rb +8 -11
  247. data/lib/docusign_esign/models/filter.rb +8 -11
  248. data/lib/docusign_esign/models/first_name.rb +8 -11
  249. data/lib/docusign_esign/models/folder.rb +8 -11
  250. data/lib/docusign_esign/models/folder_item_response.rb +8 -11
  251. data/lib/docusign_esign/models/folder_item_v2.rb +8 -11
  252. data/lib/docusign_esign/models/folder_items_response.rb +8 -11
  253. data/lib/docusign_esign/models/folder_shared_item.rb +8 -11
  254. data/lib/docusign_esign/models/folders_request.rb +8 -11
  255. data/lib/docusign_esign/models/folders_response.rb +8 -11
  256. data/lib/docusign_esign/models/forgotten_password_information.rb +8 -10
  257. data/lib/docusign_esign/models/form_data_item.rb +8 -11
  258. data/lib/docusign_esign/models/formula_tab.rb +8 -11
  259. data/lib/docusign_esign/models/full_name.rb +8 -11
  260. data/lib/docusign_esign/models/graphics_context.rb +8 -11
  261. data/lib/docusign_esign/models/group.rb +8 -11
  262. data/lib/docusign_esign/models/group_information.rb +8 -11
  263. data/lib/docusign_esign/models/id_check_configuration.rb +8 -11
  264. data/lib/docusign_esign/models/id_check_information_input.rb +8 -10
  265. data/lib/docusign_esign/models/id_check_security_step.rb +8 -11
  266. data/lib/docusign_esign/models/in_person_signer.rb +18 -12
  267. data/lib/docusign_esign/models/initial_here.rb +8 -11
  268. data/lib/docusign_esign/models/inline_template.rb +8 -11
  269. data/lib/docusign_esign/models/integrated_user_info_list.rb +8 -11
  270. data/lib/docusign_esign/models/intermediary.rb +39 -12
  271. data/lib/docusign_esign/models/jurisdiction.rb +8 -11
  272. data/lib/docusign_esign/models/last_name.rb +8 -11
  273. data/lib/docusign_esign/models/list.rb +8 -11
  274. data/lib/docusign_esign/models/list_custom_field.rb +8 -11
  275. data/lib/docusign_esign/models/list_item.rb +8 -11
  276. data/lib/docusign_esign/models/locale_policy.rb +8 -11
  277. data/lib/docusign_esign/models/locale_policy_tab.rb +8 -11
  278. data/lib/docusign_esign/models/lock_information.rb +8 -11
  279. data/lib/docusign_esign/models/lock_request.rb +8 -11
  280. data/lib/docusign_esign/models/login_account.rb +8 -11
  281. data/lib/docusign_esign/models/login_information.rb +8 -11
  282. data/lib/docusign_esign/models/match_box.rb +8 -11
  283. data/lib/docusign_esign/models/member_group_shared_item.rb +8 -11
  284. data/lib/docusign_esign/models/member_shared_items.rb +8 -11
  285. data/lib/docusign_esign/models/merge_field.rb +8 -10
  286. data/lib/docusign_esign/models/mobile_notifier_configuration.rb +8 -11
  287. data/lib/docusign_esign/models/mobile_notifier_configuration_information.rb +8 -11
  288. data/lib/docusign_esign/models/money.rb +8 -11
  289. data/lib/docusign_esign/models/name_value.rb +8 -11
  290. data/lib/docusign_esign/models/new_account_definition.rb +8 -11
  291. data/lib/docusign_esign/models/new_account_summary.rb +8 -11
  292. data/lib/docusign_esign/models/new_user.rb +19 -12
  293. data/lib/docusign_esign/models/new_users_definition.rb +8 -11
  294. data/lib/docusign_esign/models/new_users_summary.rb +8 -11
  295. data/lib/docusign_esign/models/notarize.rb +8 -11
  296. data/lib/docusign_esign/models/notary.rb +8 -11
  297. data/lib/docusign_esign/models/notary_host.rb +18 -12
  298. data/lib/docusign_esign/models/notary_journal.rb +8 -11
  299. data/lib/docusign_esign/models/notary_journal_credible_witness.rb +8 -11
  300. data/lib/docusign_esign/models/notary_journal_list.rb +8 -11
  301. data/lib/docusign_esign/models/notary_journal_meta_data.rb +8 -11
  302. data/lib/docusign_esign/models/notary_jurisdiction.rb +8 -11
  303. data/lib/docusign_esign/models/notary_jurisdiction_list.rb +8 -11
  304. data/lib/docusign_esign/models/notary_result.rb +8 -11
  305. data/lib/docusign_esign/models/note.rb +8 -11
  306. data/lib/docusign_esign/models/notification.rb +8 -10
  307. data/lib/docusign_esign/models/notification_default_settings.rb +8 -11
  308. data/lib/docusign_esign/models/notification_defaults.rb +8 -11
  309. data/lib/docusign_esign/models/number.rb +8 -11
  310. data/lib/docusign_esign/models/oauth_access.rb +8 -11
  311. data/lib/docusign_esign/models/offline_attributes.rb +8 -10
  312. data/lib/docusign_esign/models/page.rb +8 -10
  313. data/lib/docusign_esign/models/page_images.rb +8 -11
  314. data/lib/docusign_esign/models/page_request.rb +8 -11
  315. data/lib/docusign_esign/models/path_extended_element.rb +8 -11
  316. data/lib/docusign_esign/models/pay_pal_legacy_settings.rb +8 -11
  317. data/lib/docusign_esign/models/payment_details.rb +8 -11
  318. data/lib/docusign_esign/models/payment_gateway_account.rb +22 -13
  319. data/lib/docusign_esign/models/payment_gateway_account_setting.rb +8 -11
  320. data/lib/docusign_esign/models/payment_gateway_accounts_info.rb +8 -11
  321. data/lib/docusign_esign/models/payment_line_item.rb +8 -11
  322. data/lib/docusign_esign/models/payment_method_with_options.rb +8 -11
  323. data/lib/docusign_esign/models/payment_processor_information.rb +8 -11
  324. data/lib/docusign_esign/models/permission_profile.rb +8 -11
  325. data/lib/docusign_esign/models/permission_profile_information.rb +8 -11
  326. data/lib/docusign_esign/models/plan_information.rb +8 -10
  327. data/lib/docusign_esign/models/poly_line.rb +8 -11
  328. data/lib/docusign_esign/models/poly_line_overlay.rb +8 -11
  329. data/lib/docusign_esign/models/power_form.rb +8 -11
  330. data/lib/docusign_esign/models/power_form_form_data_envelope.rb +8 -11
  331. data/lib/docusign_esign/models/power_form_form_data_recipient.rb +8 -11
  332. data/lib/docusign_esign/models/power_form_recipient.rb +8 -11
  333. data/lib/docusign_esign/models/power_form_senders_response.rb +8 -11
  334. data/lib/docusign_esign/models/power_forms_form_data_response.rb +8 -11
  335. data/lib/docusign_esign/models/power_forms_request.rb +8 -11
  336. data/lib/docusign_esign/models/power_forms_response.rb +8 -11
  337. data/lib/docusign_esign/models/proof_service_resource_token.rb +21 -14
  338. data/lib/docusign_esign/models/proof_service_view_link.rb +8 -11
  339. data/lib/docusign_esign/models/property_metadata.rb +8 -11
  340. data/lib/docusign_esign/models/province.rb +8 -11
  341. data/lib/docusign_esign/models/provisioning_information.rb +8 -11
  342. data/lib/docusign_esign/models/purchased_envelopes_information.rb +8 -11
  343. data/lib/docusign_esign/models/radio.rb +8 -11
  344. data/lib/docusign_esign/models/radio_group.rb +8 -11
  345. data/lib/docusign_esign/models/recipient_additional_notification.rb +213 -0
  346. data/lib/docusign_esign/models/recipient_attachment.rb +8 -11
  347. data/lib/docusign_esign/models/recipient_domain.rb +8 -11
  348. data/lib/docusign_esign/models/recipient_email_notification.rb +8 -11
  349. data/lib/docusign_esign/models/recipient_event.rb +8 -11
  350. data/lib/docusign_esign/models/recipient_form_data.rb +8 -11
  351. data/lib/docusign_esign/models/recipient_group.rb +207 -0
  352. data/lib/docusign_esign/models/recipient_identity_input_option.rb +8 -11
  353. data/lib/docusign_esign/models/recipient_identity_phone_number.rb +8 -11
  354. data/lib/docusign_esign/models/recipient_identity_verification.rb +8 -11
  355. data/lib/docusign_esign/models/recipient_names_response.rb +8 -11
  356. data/lib/docusign_esign/models/recipient_option.rb +225 -0
  357. data/lib/docusign_esign/models/recipient_phone_authentication.rb +8 -10
  358. data/lib/docusign_esign/models/recipient_phone_number.rb +213 -0
  359. data/lib/docusign_esign/models/recipient_preview_request.rb +8 -11
  360. data/lib/docusign_esign/models/recipient_proof_file.rb +8 -11
  361. data/lib/docusign_esign/models/recipient_routing.rb +184 -0
  362. data/lib/docusign_esign/models/recipient_rules.rb +187 -0
  363. data/lib/docusign_esign/models/recipient_signature_information.rb +8 -10
  364. data/lib/docusign_esign/models/recipient_signature_provider.rb +8 -11
  365. data/lib/docusign_esign/models/recipient_signature_provider_options.rb +8 -11
  366. data/lib/docusign_esign/models/recipient_sms_authentication.rb +8 -10
  367. data/lib/docusign_esign/models/recipient_update_response.rb +8 -11
  368. data/lib/docusign_esign/models/recipient_view_request.rb +33 -12
  369. data/lib/docusign_esign/models/recipients.rb +8 -10
  370. data/lib/docusign_esign/models/recipients_update_summary.rb +8 -11
  371. data/lib/docusign_esign/models/referral_information.rb +8 -10
  372. data/lib/docusign_esign/models/reminders.rb +8 -10
  373. data/lib/docusign_esign/models/report_in_product_csv_run_request.rb +437 -0
  374. data/lib/docusign_esign/models/report_in_product_field.rb +215 -0
  375. data/lib/docusign_esign/models/report_in_product_get.rb +466 -0
  376. data/lib/docusign_esign/models/report_in_product_list.rb +187 -0
  377. data/lib/docusign_esign/models/report_in_product_list_item.rb +315 -0
  378. data/lib/docusign_esign/models/report_in_product_run_request.rb +397 -0
  379. data/lib/docusign_esign/models/report_in_product_run_response.rb +247 -0
  380. data/lib/docusign_esign/models/report_in_product_run_response_row.rb +194 -0
  381. data/lib/docusign_esign/models/report_in_product_run_response_row_fields.rb +1395 -0
  382. data/lib/docusign_esign/models/report_in_product_save_response.rb +185 -0
  383. data/lib/docusign_esign/models/report_in_product_sent_by_details.rb +199 -0
  384. data/lib/docusign_esign/models/resource_information.rb +8 -11
  385. data/lib/docusign_esign/models/return_url_request.rb +8 -11
  386. data/lib/docusign_esign/models/seal_identifier.rb +8 -11
  387. data/lib/docusign_esign/models/seal_sign.rb +18 -12
  388. data/lib/docusign_esign/models/seat_discount.rb +8 -11
  389. data/lib/docusign_esign/models/sender_email_notifications.rb +19 -12
  390. data/lib/docusign_esign/models/server_template.rb +8 -11
  391. data/lib/docusign_esign/models/service_information.rb +8 -11
  392. data/lib/docusign_esign/models/service_version.rb +8 -11
  393. data/lib/docusign_esign/models/settings_metadata.rb +8 -11
  394. data/lib/docusign_esign/models/shared_item.rb +8 -11
  395. data/lib/docusign_esign/models/sign_here.rb +8 -11
  396. data/lib/docusign_esign/models/signature_provider_required_option.rb +8 -11
  397. data/lib/docusign_esign/models/signature_type.rb +8 -11
  398. data/lib/docusign_esign/models/signer.rb +30 -12
  399. data/lib/docusign_esign/models/signer_attachment.rb +8 -11
  400. data/lib/docusign_esign/models/signer_email_notifications.rb +8 -10
  401. data/lib/docusign_esign/models/signing_group.rb +8 -11
  402. data/lib/docusign_esign/models/signing_group_information.rb +8 -11
  403. data/lib/docusign_esign/models/signing_group_user.rb +8 -11
  404. data/lib/docusign_esign/models/signing_group_users.rb +8 -11
  405. data/lib/docusign_esign/models/smart_contract_information.rb +8 -11
  406. data/lib/docusign_esign/models/smart_section.rb +8 -11
  407. data/lib/docusign_esign/models/smart_section_anchor_position.rb +8 -11
  408. data/lib/docusign_esign/models/smart_section_collapsible_display_settings.rb +8 -11
  409. data/lib/docusign_esign/models/smart_section_display_settings.rb +8 -11
  410. data/lib/docusign_esign/models/social_account_information.rb +8 -11
  411. data/lib/docusign_esign/models/social_authentication.rb +8 -11
  412. data/lib/docusign_esign/models/ssn.rb +8 -11
  413. data/lib/docusign_esign/models/ssn4_information_input.rb +8 -11
  414. data/lib/docusign_esign/models/ssn9_information_input.rb +8 -11
  415. data/lib/docusign_esign/models/stamp.rb +8 -11
  416. data/lib/docusign_esign/models/supported_languages.rb +8 -11
  417. data/lib/docusign_esign/models/tab_account_settings.rb +8 -11
  418. data/lib/docusign_esign/models/tab_group.rb +8 -11
  419. data/lib/docusign_esign/models/tab_metadata.rb +39 -12
  420. data/lib/docusign_esign/models/tab_metadata_list.rb +8 -11
  421. data/lib/docusign_esign/models/tabs.rb +8 -11
  422. data/lib/docusign_esign/models/template_custom_fields.rb +8 -11
  423. data/lib/docusign_esign/models/template_document_visibility_list.rb +8 -11
  424. data/lib/docusign_esign/models/template_documents_result.rb +8 -11
  425. data/lib/docusign_esign/models/template_information.rb +8 -11
  426. data/lib/docusign_esign/models/template_match.rb +8 -11
  427. data/lib/docusign_esign/models/template_notification_request.rb +8 -11
  428. data/lib/docusign_esign/models/template_recipients.rb +8 -11
  429. data/lib/docusign_esign/models/template_role.rb +8 -11
  430. data/lib/docusign_esign/models/template_shared_item.rb +8 -11
  431. data/lib/docusign_esign/models/template_summary.rb +8 -11
  432. data/lib/docusign_esign/models/template_tabs.rb +8 -11
  433. data/lib/docusign_esign/models/template_update_summary.rb +8 -11
  434. data/lib/docusign_esign/models/text.rb +8 -11
  435. data/lib/docusign_esign/models/text_custom_field.rb +8 -11
  436. data/lib/docusign_esign/models/title.rb +8 -11
  437. data/lib/docusign_esign/models/usage_history.rb +8 -10
  438. data/lib/docusign_esign/models/user_account_management_granular_information.rb +20 -13
  439. data/lib/docusign_esign/models/user_info.rb +8 -11
  440. data/lib/docusign_esign/models/user_info_list.rb +8 -11
  441. data/lib/docusign_esign/models/user_information.rb +8 -11
  442. data/lib/docusign_esign/models/user_information_list.rb +8 -11
  443. data/lib/docusign_esign/models/user_password_information.rb +8 -11
  444. data/lib/docusign_esign/models/user_password_rules.rb +8 -11
  445. data/lib/docusign_esign/models/user_profile.rb +8 -11
  446. data/lib/docusign_esign/models/user_settings_information.rb +8 -11
  447. data/lib/docusign_esign/models/user_shared_item.rb +8 -11
  448. data/lib/docusign_esign/models/user_signature.rb +8 -11
  449. data/lib/docusign_esign/models/user_signature_definition.rb +8 -11
  450. data/lib/docusign_esign/models/user_signatures_information.rb +8 -11
  451. data/lib/docusign_esign/models/user_social_id_result.rb +8 -11
  452. data/lib/docusign_esign/models/users_response.rb +8 -11
  453. data/lib/docusign_esign/models/view.rb +8 -11
  454. data/lib/docusign_esign/models/view_url.rb +8 -11
  455. data/lib/docusign_esign/models/watermark.rb +8 -11
  456. data/lib/docusign_esign/models/witness.rb +30 -12
  457. data/lib/docusign_esign/models/workflow.rb +207 -0
  458. data/lib/docusign_esign/models/workflow_step.rb +254 -0
  459. data/lib/docusign_esign/models/workspace.rb +8 -10
  460. data/lib/docusign_esign/models/workspace_folder_contents.rb +8 -10
  461. data/lib/docusign_esign/models/workspace_item.rb +8 -10
  462. data/lib/docusign_esign/models/workspace_item_list.rb +8 -10
  463. data/lib/docusign_esign/models/workspace_list.rb +8 -10
  464. data/lib/docusign_esign/models/workspace_settings.rb +8 -11
  465. data/lib/docusign_esign/models/workspace_user.rb +8 -10
  466. data/lib/docusign_esign/models/workspace_user_authorization.rb +8 -10
  467. data/lib/docusign_esign/models/zip.rb +8 -11
  468. data/lib/docusign_esign/version.rb +2 -1
  469. data/tests/Gemfile.lock +10 -10
  470. metadata +59 -31
@@ -6,13 +6,13 @@
6
6
  OpenAPI spec version: v2.1
7
7
  Contact: devcenter@docusign.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.13-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
12
13
  require 'date'
13
14
 
14
15
  module DocuSign_eSign
15
-
16
16
  class TabMetadata
17
17
  # An optional string that is used to auto-match tabs to strings located in the documents of an envelope.
18
18
  attr_accessor :anchor
@@ -41,6 +41,9 @@ module DocuSign_eSign
41
41
  # When set to **true**, the information in the tab is bold.
42
42
  attr_accessor :bold
43
43
 
44
+ #
45
+ attr_accessor :collaborative
46
+
44
47
  # When set to **true**, the field appears normally while the recipient is adding or modifying the information in the field, but the data is not visible (the characters are hidden by asterisks) to any other signer or the sender. When an envelope is completed the information is available to the sender through the Form Data link in the DocuSign Console. This setting applies only to text boxes and does not affect list boxes, radio buttons, or check boxes.
45
48
  attr_accessor :conceal_value_on_document
46
49
 
@@ -112,9 +115,15 @@ module DocuSign_eSign
112
115
  #
113
116
  attr_accessor :payment_item_name
114
117
 
118
+ # When set to **true** and shared is true, information must be entered in this field to complete the envelope.
119
+ attr_accessor :require_all
120
+
115
121
  # When set to **true**, the signer is required to fill out this tab
116
122
  attr_accessor :required
117
123
 
124
+ # Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.
125
+ attr_accessor :require_initial_on_shared_change
126
+
118
127
  #
119
128
  attr_accessor :scale_value
120
129
 
@@ -147,7 +156,6 @@ module DocuSign_eSign
147
156
  # Width of the tab in pixels.
148
157
  attr_accessor :width
149
158
 
150
-
151
159
  # Attribute mapping from ruby-style variable name to JSON key.
152
160
  def self.attribute_map
153
161
  {
@@ -160,6 +168,7 @@ module DocuSign_eSign
160
168
  :'anchor_x_offset' => :'anchorXOffset',
161
169
  :'anchor_y_offset' => :'anchorYOffset',
162
170
  :'bold' => :'bold',
171
+ :'collaborative' => :'collaborative',
163
172
  :'conceal_value_on_document' => :'concealValueOnDocument',
164
173
  :'created_by_display_name' => :'createdByDisplayName',
165
174
  :'created_by_user_id' => :'createdByUserId',
@@ -184,7 +193,9 @@ module DocuSign_eSign
184
193
  :'payment_item_code' => :'paymentItemCode',
185
194
  :'payment_item_description' => :'paymentItemDescription',
186
195
  :'payment_item_name' => :'paymentItemName',
196
+ :'require_all' => :'requireAll',
187
197
  :'required' => :'required',
198
+ :'require_initial_on_shared_change' => :'requireInitialOnSharedChange',
188
199
  :'scale_value' => :'scaleValue',
189
200
  :'selected' => :'selected',
190
201
  :'shared' => :'shared',
@@ -211,6 +222,7 @@ module DocuSign_eSign
211
222
  :'anchor_x_offset' => :'String',
212
223
  :'anchor_y_offset' => :'String',
213
224
  :'bold' => :'String',
225
+ :'collaborative' => :'String',
214
226
  :'conceal_value_on_document' => :'String',
215
227
  :'created_by_display_name' => :'String',
216
228
  :'created_by_user_id' => :'String',
@@ -235,7 +247,9 @@ module DocuSign_eSign
235
247
  :'payment_item_code' => :'String',
236
248
  :'payment_item_description' => :'String',
237
249
  :'payment_item_name' => :'String',
250
+ :'require_all' => :'String',
238
251
  :'required' => :'String',
252
+ :'require_initial_on_shared_change' => :'String',
239
253
  :'scale_value' => :'String',
240
254
  :'selected' => :'String',
241
255
  :'shared' => :'String',
@@ -256,7 +270,7 @@ module DocuSign_eSign
256
270
  return unless attributes.is_a?(Hash)
257
271
 
258
272
  # convert string to symbol for hash key
259
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
273
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
260
274
 
261
275
  if attributes.has_key?(:'anchor')
262
276
  self.anchor = attributes[:'anchor']
@@ -294,6 +308,10 @@ module DocuSign_eSign
294
308
  self.bold = attributes[:'bold']
295
309
  end
296
310
 
311
+ if attributes.has_key?(:'collaborative')
312
+ self.collaborative = attributes[:'collaborative']
313
+ end
314
+
297
315
  if attributes.has_key?(:'concealValueOnDocument')
298
316
  self.conceal_value_on_document = attributes[:'concealValueOnDocument']
299
317
  end
@@ -392,10 +410,18 @@ module DocuSign_eSign
392
410
  self.payment_item_name = attributes[:'paymentItemName']
393
411
  end
394
412
 
413
+ if attributes.has_key?(:'requireAll')
414
+ self.require_all = attributes[:'requireAll']
415
+ end
416
+
395
417
  if attributes.has_key?(:'required')
396
418
  self.required = attributes[:'required']
397
419
  end
398
420
 
421
+ if attributes.has_key?(:'requireInitialOnSharedChange')
422
+ self.require_initial_on_shared_change = attributes[:'requireInitialOnSharedChange']
423
+ end
424
+
399
425
  if attributes.has_key?(:'scaleValue')
400
426
  self.scale_value = attributes[:'scaleValue']
401
427
  end
@@ -439,20 +465,19 @@ module DocuSign_eSign
439
465
  if attributes.has_key?(:'width')
440
466
  self.width = attributes[:'width']
441
467
  end
442
-
443
468
  end
444
469
 
445
470
  # Show invalid properties with the reasons. Usually used together with valid?
446
- # @return Array for valid properies with the reasons
471
+ # @return Array for valid properties with the reasons
447
472
  def list_invalid_properties
448
473
  invalid_properties = Array.new
449
- return invalid_properties
474
+ invalid_properties
450
475
  end
451
476
 
452
477
  # Check to see if the all the properties in the model are valid
453
478
  # @return true if the model is valid
454
479
  def valid?
455
- return true
480
+ true
456
481
  end
457
482
 
458
483
  # Checks equality by comparing each attribute.
@@ -469,6 +494,7 @@ module DocuSign_eSign
469
494
  anchor_x_offset == o.anchor_x_offset &&
470
495
  anchor_y_offset == o.anchor_y_offset &&
471
496
  bold == o.bold &&
497
+ collaborative == o.collaborative &&
472
498
  conceal_value_on_document == o.conceal_value_on_document &&
473
499
  created_by_display_name == o.created_by_display_name &&
474
500
  created_by_user_id == o.created_by_user_id &&
@@ -493,7 +519,9 @@ module DocuSign_eSign
493
519
  payment_item_code == o.payment_item_code &&
494
520
  payment_item_description == o.payment_item_description &&
495
521
  payment_item_name == o.payment_item_name &&
522
+ require_all == o.require_all &&
496
523
  required == o.required &&
524
+ require_initial_on_shared_change == o.require_initial_on_shared_change &&
497
525
  scale_value == o.scale_value &&
498
526
  selected == o.selected &&
499
527
  shared == o.shared &&
@@ -516,7 +544,7 @@ module DocuSign_eSign
516
544
  # Calculates hash code according to all attributes.
517
545
  # @return [Fixnum] Hash code
518
546
  def hash
519
- [anchor, anchor_case_sensitive, anchor_horizontal_alignment, anchor_ignore_if_not_present, anchor_match_whole_word, anchor_units, anchor_x_offset, anchor_y_offset, bold, conceal_value_on_document, created_by_display_name, created_by_user_id, custom_tab_id, disable_auto_size, editable, font, font_color, font_size, height, included_in_email, initial_value, italic, items, last_modified, last_modified_by_display_name, last_modified_by_user_id, locked, maximum_length, merge_field, name, payment_item_code, payment_item_description, payment_item_name, required, scale_value, selected, shared, stamp_type, stamp_type_metadata, tab_label, type, underline, validation_message, validation_pattern, width].hash
547
+ [anchor, anchor_case_sensitive, anchor_horizontal_alignment, anchor_ignore_if_not_present, anchor_match_whole_word, anchor_units, anchor_x_offset, anchor_y_offset, bold, collaborative, conceal_value_on_document, created_by_display_name, created_by_user_id, custom_tab_id, disable_auto_size, editable, font, font_color, font_size, height, included_in_email, initial_value, italic, items, last_modified, last_modified_by_display_name, last_modified_by_user_id, locked, maximum_length, merge_field, name, payment_item_code, payment_item_description, payment_item_name, require_all, required, require_initial_on_shared_change, scale_value, selected, shared, stamp_type, stamp_type_metadata, tab_label, type, underline, validation_message, validation_pattern, width].hash
520
548
  end
521
549
 
522
550
  # Builds the object from hash
@@ -526,10 +554,10 @@ module DocuSign_eSign
526
554
  return nil unless attributes.is_a?(Hash)
527
555
  self.class.swagger_types.each_pair do |key, type|
528
556
  if type =~ /\AArray<(.*)>/i
529
- # check to ensure the input is an array given that the the attribute
557
+ # check to ensure the input is an array given that the attribute
530
558
  # is documented as an array but the input is not
531
559
  if attributes[self.class.attribute_map[key]].is_a?(Array)
532
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
560
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
533
561
  end
534
562
  elsif !attributes[self.class.attribute_map[key]].nil?
535
563
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -611,7 +639,7 @@ module DocuSign_eSign
611
639
  # @return [Hash] Returns the value in the form of hash
612
640
  def _to_hash(value)
613
641
  if value.is_a?(Array)
614
- value.compact.map{ |v| _to_hash(v) }
642
+ value.compact.map { |v| _to_hash(v) }
615
643
  elsif value.is_a?(Hash)
616
644
  {}.tap do |hash|
617
645
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -624,5 +652,4 @@ module DocuSign_eSign
624
652
  end
625
653
 
626
654
  end
627
-
628
655
  end
@@ -6,18 +6,17 @@
6
6
  OpenAPI spec version: v2.1
7
7
  Contact: devcenter@docusign.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.13-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
12
13
  require 'date'
13
14
 
14
15
  module DocuSign_eSign
15
-
16
16
  class TabMetadataList
17
17
  #
18
18
  attr_accessor :tabs
19
19
 
20
-
21
20
  # Attribute mapping from ruby-style variable name to JSON key.
22
21
  def self.attribute_map
23
22
  {
@@ -38,27 +37,26 @@ module DocuSign_eSign
38
37
  return unless attributes.is_a?(Hash)
39
38
 
40
39
  # convert string to symbol for hash key
41
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
40
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
42
41
 
43
42
  if attributes.has_key?(:'tabs')
44
43
  if (value = attributes[:'tabs']).is_a?(Array)
45
44
  self.tabs = value
46
45
  end
47
46
  end
48
-
49
47
  end
50
48
 
51
49
  # Show invalid properties with the reasons. Usually used together with valid?
52
- # @return Array for valid properies with the reasons
50
+ # @return Array for valid properties with the reasons
53
51
  def list_invalid_properties
54
52
  invalid_properties = Array.new
55
- return invalid_properties
53
+ invalid_properties
56
54
  end
57
55
 
58
56
  # Check to see if the all the properties in the model are valid
59
57
  # @return true if the model is valid
60
58
  def valid?
61
- return true
59
+ true
62
60
  end
63
61
 
64
62
  # Checks equality by comparing each attribute.
@@ -88,10 +86,10 @@ module DocuSign_eSign
88
86
  return nil unless attributes.is_a?(Hash)
89
87
  self.class.swagger_types.each_pair do |key, type|
90
88
  if type =~ /\AArray<(.*)>/i
91
- # check to ensure the input is an array given that the the attribute
89
+ # check to ensure the input is an array given that the attribute
92
90
  # is documented as an array but the input is not
93
91
  if attributes[self.class.attribute_map[key]].is_a?(Array)
94
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
92
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
95
93
  end
96
94
  elsif !attributes[self.class.attribute_map[key]].nil?
97
95
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -173,7 +171,7 @@ module DocuSign_eSign
173
171
  # @return [Hash] Returns the value in the form of hash
174
172
  def _to_hash(value)
175
173
  if value.is_a?(Array)
176
- value.compact.map{ |v| _to_hash(v) }
174
+ value.compact.map { |v| _to_hash(v) }
177
175
  elsif value.is_a?(Hash)
178
176
  {}.tap do |hash|
179
177
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -186,5 +184,4 @@ module DocuSign_eSign
186
184
  end
187
185
 
188
186
  end
189
-
190
187
  end
@@ -6,13 +6,13 @@
6
6
  OpenAPI spec version: v2.1
7
7
  Contact: devcenter@docusign.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.13-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
12
13
  require 'date'
13
14
 
14
15
  module DocuSign_eSign
15
-
16
16
  class Tabs
17
17
  # Specifies a tag on the document where you want the recipient to approve documents in an envelope without placing a signature or initials on the document. If the recipient clicks the Approve tag during the signing process, the recipient is considered to have signed the document. No information is shown on the document for the approval, but it is recorded as a signature in the envelope history.
18
18
  attr_accessor :approve_tabs
@@ -107,7 +107,6 @@ module DocuSign_eSign
107
107
  # Specifies a tag on the document where you want the recipient to enter a ZIP code. The ZIP code can be a five numbers or the ZIP+4 format with nine numbers. The zip code can be typed with or without dashes. It uses the same parameters as a Text tab, with the validation message and pattern set for ZIP code information. When getting information that includes this tab type, the original value of the tab when the associated envelope was sent is included in the response.
108
108
  attr_accessor :zip_tabs
109
109
 
110
-
111
110
  # Attribute mapping from ruby-style variable name to JSON key.
112
111
  def self.attribute_map
113
112
  {
@@ -188,7 +187,7 @@ module DocuSign_eSign
188
187
  return unless attributes.is_a?(Hash)
189
188
 
190
189
  # convert string to symbol for hash key
191
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
190
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
192
191
 
193
192
  if attributes.has_key?(:'approveTabs')
194
193
  if (value = attributes[:'approveTabs']).is_a?(Array)
@@ -375,20 +374,19 @@ module DocuSign_eSign
375
374
  self.zip_tabs = value
376
375
  end
377
376
  end
378
-
379
377
  end
380
378
 
381
379
  # Show invalid properties with the reasons. Usually used together with valid?
382
- # @return Array for valid properies with the reasons
380
+ # @return Array for valid properties with the reasons
383
381
  def list_invalid_properties
384
382
  invalid_properties = Array.new
385
- return invalid_properties
383
+ invalid_properties
386
384
  end
387
385
 
388
386
  # Check to see if the all the properties in the model are valid
389
387
  # @return true if the model is valid
390
388
  def valid?
391
- return true
389
+ true
392
390
  end
393
391
 
394
392
  # Checks equality by comparing each attribute.
@@ -448,10 +446,10 @@ module DocuSign_eSign
448
446
  return nil unless attributes.is_a?(Hash)
449
447
  self.class.swagger_types.each_pair do |key, type|
450
448
  if type =~ /\AArray<(.*)>/i
451
- # check to ensure the input is an array given that the the attribute
449
+ # check to ensure the input is an array given that the attribute
452
450
  # is documented as an array but the input is not
453
451
  if attributes[self.class.attribute_map[key]].is_a?(Array)
454
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
452
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
455
453
  end
456
454
  elsif !attributes[self.class.attribute_map[key]].nil?
457
455
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -533,7 +531,7 @@ module DocuSign_eSign
533
531
  # @return [Hash] Returns the value in the form of hash
534
532
  def _to_hash(value)
535
533
  if value.is_a?(Array)
536
- value.compact.map{ |v| _to_hash(v) }
534
+ value.compact.map { |v| _to_hash(v) }
537
535
  elsif value.is_a?(Hash)
538
536
  {}.tap do |hash|
539
537
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -546,5 +544,4 @@ module DocuSign_eSign
546
544
  end
547
545
 
548
546
  end
549
-
550
547
  end
@@ -6,13 +6,13 @@
6
6
  OpenAPI spec version: v2.1
7
7
  Contact: devcenter@docusign.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.13-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
12
13
  require 'date'
13
14
 
14
15
  module DocuSign_eSign
15
-
16
16
  class TemplateCustomFields
17
17
  # An array of list custom fields.
18
18
  attr_accessor :list_custom_fields
@@ -20,7 +20,6 @@ module DocuSign_eSign
20
20
  # An array of text custom fields.
21
21
  attr_accessor :text_custom_fields
22
22
 
23
-
24
23
  # Attribute mapping from ruby-style variable name to JSON key.
25
24
  def self.attribute_map
26
25
  {
@@ -43,7 +42,7 @@ module DocuSign_eSign
43
42
  return unless attributes.is_a?(Hash)
44
43
 
45
44
  # convert string to symbol for hash key
46
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
45
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
47
46
 
48
47
  if attributes.has_key?(:'listCustomFields')
49
48
  if (value = attributes[:'listCustomFields']).is_a?(Array)
@@ -56,20 +55,19 @@ module DocuSign_eSign
56
55
  self.text_custom_fields = value
57
56
  end
58
57
  end
59
-
60
58
  end
61
59
 
62
60
  # Show invalid properties with the reasons. Usually used together with valid?
63
- # @return Array for valid properies with the reasons
61
+ # @return Array for valid properties with the reasons
64
62
  def list_invalid_properties
65
63
  invalid_properties = Array.new
66
- return invalid_properties
64
+ invalid_properties
67
65
  end
68
66
 
69
67
  # Check to see if the all the properties in the model are valid
70
68
  # @return true if the model is valid
71
69
  def valid?
72
- return true
70
+ true
73
71
  end
74
72
 
75
73
  # Checks equality by comparing each attribute.
@@ -100,10 +98,10 @@ module DocuSign_eSign
100
98
  return nil unless attributes.is_a?(Hash)
101
99
  self.class.swagger_types.each_pair do |key, type|
102
100
  if type =~ /\AArray<(.*)>/i
103
- # check to ensure the input is an array given that the the attribute
101
+ # check to ensure the input is an array given that the attribute
104
102
  # is documented as an array but the input is not
105
103
  if attributes[self.class.attribute_map[key]].is_a?(Array)
106
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
104
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
107
105
  end
108
106
  elsif !attributes[self.class.attribute_map[key]].nil?
109
107
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -185,7 +183,7 @@ module DocuSign_eSign
185
183
  # @return [Hash] Returns the value in the form of hash
186
184
  def _to_hash(value)
187
185
  if value.is_a?(Array)
188
- value.compact.map{ |v| _to_hash(v) }
186
+ value.compact.map { |v| _to_hash(v) }
189
187
  elsif value.is_a?(Hash)
190
188
  {}.tap do |hash|
191
189
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -198,5 +196,4 @@ module DocuSign_eSign
198
196
  end
199
197
 
200
198
  end
201
-
202
199
  end
@@ -6,18 +6,17 @@
6
6
  OpenAPI spec version: v2.1
7
7
  Contact: devcenter@docusign.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.13-SNAPSHOT
9
10
 
10
11
  =end
11
12
 
12
13
  require 'date'
13
14
 
14
15
  module DocuSign_eSign
15
-
16
16
  class TemplateDocumentVisibilityList
17
17
  #
18
18
  attr_accessor :document_visibility
19
19
 
20
-
21
20
  # Attribute mapping from ruby-style variable name to JSON key.
22
21
  def self.attribute_map
23
22
  {
@@ -38,27 +37,26 @@ module DocuSign_eSign
38
37
  return unless attributes.is_a?(Hash)
39
38
 
40
39
  # convert string to symbol for hash key
41
- attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
40
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
42
41
 
43
42
  if attributes.has_key?(:'documentVisibility')
44
43
  if (value = attributes[:'documentVisibility']).is_a?(Array)
45
44
  self.document_visibility = value
46
45
  end
47
46
  end
48
-
49
47
  end
50
48
 
51
49
  # Show invalid properties with the reasons. Usually used together with valid?
52
- # @return Array for valid properies with the reasons
50
+ # @return Array for valid properties with the reasons
53
51
  def list_invalid_properties
54
52
  invalid_properties = Array.new
55
- return invalid_properties
53
+ invalid_properties
56
54
  end
57
55
 
58
56
  # Check to see if the all the properties in the model are valid
59
57
  # @return true if the model is valid
60
58
  def valid?
61
- return true
59
+ true
62
60
  end
63
61
 
64
62
  # Checks equality by comparing each attribute.
@@ -88,10 +86,10 @@ module DocuSign_eSign
88
86
  return nil unless attributes.is_a?(Hash)
89
87
  self.class.swagger_types.each_pair do |key, type|
90
88
  if type =~ /\AArray<(.*)>/i
91
- # check to ensure the input is an array given that the the attribute
89
+ # check to ensure the input is an array given that the attribute
92
90
  # is documented as an array but the input is not
93
91
  if attributes[self.class.attribute_map[key]].is_a?(Array)
94
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
92
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
95
93
  end
96
94
  elsif !attributes[self.class.attribute_map[key]].nil?
97
95
  self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
@@ -173,7 +171,7 @@ module DocuSign_eSign
173
171
  # @return [Hash] Returns the value in the form of hash
174
172
  def _to_hash(value)
175
173
  if value.is_a?(Array)
176
- value.compact.map{ |v| _to_hash(v) }
174
+ value.compact.map { |v| _to_hash(v) }
177
175
  elsif value.is_a?(Hash)
178
176
  {}.tap do |hash|
179
177
  value.each { |k, v| hash[k] = _to_hash(v) }
@@ -186,5 +184,4 @@ module DocuSign_eSign
186
184
  end
187
185
 
188
186
  end
189
-
190
187
  end