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
@@ -46,7 +46,7 @@ module DocuSign_eSign
46
46
  end
47
47
 
48
48
  # Add a notary to the system
49
- #
49
+ # Registers the current user as a notary.
50
50
  # @param notary (optional parameter)
51
51
  # @return [Notary]
52
52
  def create_notary(notary)
@@ -55,7 +55,7 @@ module DocuSign_eSign
55
55
  end
56
56
 
57
57
  # Add a notary to the system
58
- #
58
+ # Registers the current user as a notary.
59
59
  # @param notary (optional parameter)
60
60
  # @return [Array<(Notary, Fixnum, Hash)>] Notary data, response status code and response headers
61
61
  def create_notary_with_http_info(notary)
@@ -93,7 +93,7 @@ module DocuSign_eSign
93
93
  end
94
94
 
95
95
  # Add a notary jurisdiction to the system
96
- #
96
+ # Creates a jurisdiction object.
97
97
  # @param notary_jurisdiction (optional parameter)
98
98
  # @return [NotaryJurisdiction]
99
99
  def create_notary_jurisdictions(notary_jurisdiction)
@@ -102,7 +102,7 @@ module DocuSign_eSign
102
102
  end
103
103
 
104
104
  # Add a notary jurisdiction to the system
105
- #
105
+ # Creates a jurisdiction object.
106
106
  # @param notary_jurisdiction (optional parameter)
107
107
  # @return [Array<(NotaryJurisdiction, Fixnum, Hash)>] NotaryJurisdiction data, response status code and response headers
108
108
  def create_notary_jurisdictions_with_http_info(notary_jurisdiction)
@@ -140,7 +140,7 @@ module DocuSign_eSign
140
140
  end
141
141
 
142
142
  # Delete a notary jurisdiction a specified user.
143
- #
143
+ # Deletes the specified jurisdiction.
144
144
  # @param jurisdiction_id
145
145
  # @return [nil]
146
146
  def delete_notary_jurisdiction(jurisdiction_id)
@@ -149,7 +149,7 @@ module DocuSign_eSign
149
149
  end
150
150
 
151
151
  # Delete a notary jurisdiction a specified user.
152
- #
152
+ # Deletes the specified jurisdiction.
153
153
  # @param jurisdiction_id
154
154
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
155
155
  def delete_notary_jurisdiction_with_http_info(jurisdiction_id)
@@ -188,7 +188,7 @@ module DocuSign_eSign
188
188
  end
189
189
 
190
190
  # Get notary settings for a user
191
- #
191
+ # Gets settings for a notary user. The current user must be a notary.
192
192
  # @param DocuSign_eSign::GetNotaryOptions Options for modifying the behavior of the function.
193
193
  # @return [NotaryResult]
194
194
  def get_notary(options = DocuSign_eSign::GetNotaryOptions.default)
@@ -197,7 +197,7 @@ module DocuSign_eSign
197
197
  end
198
198
 
199
199
  # Get notary settings for a user
200
- #
200
+ # Gets settings for a notary user. The current user must be a notary.
201
201
  # @param DocuSign_eSign::GetNotaryOptions Options for modifying the behavior of the function.
202
202
  # @return [Array<(NotaryResult, Fixnum, Hash)>] NotaryResult data, response status code and response headers
203
203
  def get_notary_with_http_info(options = DocuSign_eSign::GetNotaryOptions.default)
@@ -236,7 +236,7 @@ module DocuSign_eSign
236
236
  end
237
237
 
238
238
  # Get notary a jurisdiction for a user
239
- #
239
+ # Gets a jurisdiction object for the current user. The following restrictions apply: - The current user must be a notary. - The `jurisdictionId` must be a jurisdiction that the notary is registered for.
240
240
  # @param jurisdiction_id
241
241
  # @return [NotaryJurisdiction]
242
242
  def get_notary_jurisdiction(jurisdiction_id)
@@ -245,7 +245,7 @@ module DocuSign_eSign
245
245
  end
246
246
 
247
247
  # Get notary a jurisdiction for a user
248
- #
248
+ # Gets a jurisdiction object for the current user. The following restrictions apply: - The current user must be a notary. - The &#x60;jurisdictionId&#x60; must be a jurisdiction that the notary is registered for.
249
249
  # @param jurisdiction_id
250
250
  # @return [Array<(NotaryJurisdiction, Fixnum, Hash)>] NotaryJurisdiction data, response status code and response headers
251
251
  def get_notary_jurisdiction_with_http_info(jurisdiction_id)
@@ -333,7 +333,7 @@ module DocuSign_eSign
333
333
  end
334
334
 
335
335
  # Get notary jurisdictions for a user
336
- #
336
+ # Returns a list of jurisdictions that the notary is registered in. The current user must be a notary.
337
337
  # @return [NotaryJurisdictionList]
338
338
  def get_notary_jurisdictions()
339
339
  data, _status_code, _headers = get_notary_jurisdictions_with_http_info()
@@ -341,7 +341,7 @@ module DocuSign_eSign
341
341
  end
342
342
 
343
343
  # Get notary jurisdictions for a user
344
- #
344
+ # Returns a list of jurisdictions that the notary is registered in. The current user must be a notary.
345
345
  # @return [Array<(NotaryJurisdictionList, Fixnum, Hash)>] NotaryJurisdictionList data, response status code and response headers
346
346
  def get_notary_jurisdictions_with_http_info()
347
347
  if @api_client.config.debugging
@@ -428,7 +428,7 @@ module DocuSign_eSign
428
428
  end
429
429
 
430
430
  # Update a notary
431
- #
431
+ # Updates notary information for the current user.
432
432
  # @param notary (optional parameter)
433
433
  # @return [Notary]
434
434
  def update_notary(notary)
@@ -437,7 +437,7 @@ module DocuSign_eSign
437
437
  end
438
438
 
439
439
  # Update a notary
440
- #
440
+ # Updates notary information for the current user.
441
441
  # @param notary (optional parameter)
442
442
  # @return [Array<(Notary, Fixnum, Hash)>] Notary data, response status code and response headers
443
443
  def update_notary_with_http_info(notary)
@@ -475,7 +475,7 @@ module DocuSign_eSign
475
475
  end
476
476
 
477
477
  # Update a notary jurisdiction
478
- #
478
+ # Updates the jurisdiction information about a notary. The following restrictions apply: - The current user must be a notary. - The `jurisdictionId` path parameter must be a jurisdiction that the notary is registered for. - The `jurisdictionId` path parameter must match the request body's `jurisdiction.jurisdictionId`. The request body must have a full `jurisdiction` object for the jurisdiction property. The best way to do this is to use `getNotaryJurisdiction` to obtain the current values and update the properties you want to change. For example, assume `getNotaryJurisdiction` returns this: ``` { \"jurisdiction\": { \"jurisdictionId\": \"15\", \"name\": \"Iowa\", \"county\": \"\", \"enabled\": \"true\", \"countyInSeal\": \"false\", \"commissionIdInSeal\": \"true\", \"stateNameInSeal\": \"true\", \"notaryPublicInSeal\": \"true\", \"allowSystemCreatedSeal\": \"true\", \"allowUserUploadedSeal\": \"false\" }, \"commissionId\": \"123456\", \"commissionExpiration\": \"2020-08-31T07:00:00.0000000Z\", \"registeredName\": \"Bob Notary\", \"county\": \"Adams\", \"sealType\": \"system_created\" } ``` If you want to change the name of the notary from \"Bob Notary\" to \"Robert Notary\", your request body would be: ``` { \"jurisdiction\": { \"jurisdictionId\": \"15\", \"name\": \"Iowa\", \"county\": \"\", \"enabled\": \"true\", \"countyInSeal\": \"false\", \"commissionIdInSeal\": \"true\", \"stateNameInSeal\": \"true\", \"notaryPublicInSeal\": \"true\", \"allowSystemCreatedSeal\": \"true\", \"allowUserUploadedSeal\": \"false\" }, \"commissionId\": \"123456\", \"commissionExpiration\": \"2020-08-31T07:00:00.0000000Z\", \"registeredName\": \"Robert Notary\", \"county\": \"Adams\", \"sealType\": \"system_created\" } ```
479
479
  # @param jurisdiction_id
480
480
  # @param notary_jurisdiction (optional parameter)
481
481
  # @return [NotaryJurisdiction]
@@ -485,7 +485,7 @@ module DocuSign_eSign
485
485
  end
486
486
 
487
487
  # Update a notary jurisdiction
488
- #
488
+ # Updates the jurisdiction information about a notary. The following restrictions apply: - The current user must be a notary. - The &#x60;jurisdictionId&#x60; path parameter must be a jurisdiction that the notary is registered for. - The &#x60;jurisdictionId&#x60; path parameter must match the request body&#39;s &#x60;jurisdiction.jurisdictionId&#x60;. The request body must have a full &#x60;jurisdiction&#x60; object for the jurisdiction property. The best way to do this is to use &#x60;getNotaryJurisdiction&#x60; to obtain the current values and update the properties you want to change. For example, assume &#x60;getNotaryJurisdiction&#x60; returns this: &#x60;&#x60;&#x60; { \&quot;jurisdiction\&quot;: { \&quot;jurisdictionId\&quot;: \&quot;15\&quot;, \&quot;name\&quot;: \&quot;Iowa\&quot;, \&quot;county\&quot;: \&quot;\&quot;, \&quot;enabled\&quot;: \&quot;true\&quot;, \&quot;countyInSeal\&quot;: \&quot;false\&quot;, \&quot;commissionIdInSeal\&quot;: \&quot;true\&quot;, \&quot;stateNameInSeal\&quot;: \&quot;true\&quot;, \&quot;notaryPublicInSeal\&quot;: \&quot;true\&quot;, \&quot;allowSystemCreatedSeal\&quot;: \&quot;true\&quot;, \&quot;allowUserUploadedSeal\&quot;: \&quot;false\&quot; }, \&quot;commissionId\&quot;: \&quot;123456\&quot;, \&quot;commissionExpiration\&quot;: \&quot;2020-08-31T07:00:00.0000000Z\&quot;, \&quot;registeredName\&quot;: \&quot;Bob Notary\&quot;, \&quot;county\&quot;: \&quot;Adams\&quot;, \&quot;sealType\&quot;: \&quot;system_created\&quot; } &#x60;&#x60;&#x60; If you want to change the name of the notary from \&quot;Bob Notary\&quot; to \&quot;Robert Notary\&quot;, your request body would be: &#x60;&#x60;&#x60; { \&quot;jurisdiction\&quot;: { \&quot;jurisdictionId\&quot;: \&quot;15\&quot;, \&quot;name\&quot;: \&quot;Iowa\&quot;, \&quot;county\&quot;: \&quot;\&quot;, \&quot;enabled\&quot;: \&quot;true\&quot;, \&quot;countyInSeal\&quot;: \&quot;false\&quot;, \&quot;commissionIdInSeal\&quot;: \&quot;true\&quot;, \&quot;stateNameInSeal\&quot;: \&quot;true\&quot;, \&quot;notaryPublicInSeal\&quot;: \&quot;true\&quot;, \&quot;allowSystemCreatedSeal\&quot;: \&quot;true\&quot;, \&quot;allowUserUploadedSeal\&quot;: \&quot;false\&quot; }, \&quot;commissionId\&quot;: \&quot;123456\&quot;, \&quot;commissionExpiration\&quot;: \&quot;2020-08-31T07:00:00.0000000Z\&quot;, \&quot;registeredName\&quot;: \&quot;Robert Notary\&quot;, \&quot;county\&quot;: \&quot;Adams\&quot;, \&quot;sealType\&quot;: \&quot;system_created\&quot; } &#x60;&#x60;&#x60;
489
489
  # @param jurisdiction_id
490
490
  # @param notary_jurisdiction (optional parameter)
491
491
  # @return [Array<(NotaryJurisdiction, Fixnum, Hash)>] NotaryJurisdiction data, response status code and response headers
@@ -26,8 +26,8 @@ module DocuSign_eSign
26
26
  # @param organization_id
27
27
  # @param report_correlation_id
28
28
  # @return [nil]
29
- def delete_report(organization_id, report_correlation_id)
30
- delete_report_with_http_info(organization_id, report_correlation_id)
29
+ def get_report_v2(organization_id, report_correlation_id)
30
+ get_report_v2_with_http_info(organization_id, report_correlation_id)
31
31
  return nil
32
32
  end
33
33
 
@@ -36,68 +36,16 @@ module DocuSign_eSign
36
36
  # @param organization_id
37
37
  # @param report_correlation_id
38
38
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
39
- def delete_report_with_http_info(organization_id, report_correlation_id)
39
+ def get_report_v2_with_http_info(organization_id, report_correlation_id)
40
40
  if @api_client.config.debugging
41
- @api_client.config.logger.debug "Calling API: OrganizationsApi.delete_report ..."
41
+ @api_client.config.logger.debug "Calling API: OrganizationsApi.get_report_v2 ..."
42
42
  end
43
43
  # verify the required parameter 'organization_id' is set
44
- fail ArgumentError, "Missing the required parameter 'organization_id' when calling OrganizationsApi.delete_report" if organization_id.nil?
44
+ fail ArgumentError, "Missing the required parameter 'organization_id' when calling OrganizationsApi.get_report_v2" if organization_id.nil?
45
45
  # verify the required parameter 'report_correlation_id' is set
46
- fail ArgumentError, "Missing the required parameter 'report_correlation_id' when calling OrganizationsApi.delete_report" if report_correlation_id.nil?
46
+ fail ArgumentError, "Missing the required parameter 'report_correlation_id' when calling OrganizationsApi.get_report_v2" if report_correlation_id.nil?
47
47
  # resource path
48
- local_var_path = "/v2.1/organization_reporting/{organizationId}/reports/{reportCorrelationId}".sub('{format}','json').sub('{' + 'organizationId' + '}', organization_id.to_s).sub('{' + 'reportCorrelationId' + '}', report_correlation_id.to_s)
49
-
50
- # query parameters
51
- query_params = {}
52
-
53
- # header parameters
54
- header_params = {}
55
- # HTTP header 'Accept' (if needed)
56
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
57
-
58
- # form parameters
59
- form_params = {}
60
-
61
- # http body (model)
62
- post_body = nil
63
- auth_names = []
64
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
65
- :header_params => header_params,
66
- :query_params => query_params,
67
- :form_params => form_params,
68
- :body => post_body,
69
- :auth_names => auth_names)
70
- if @api_client.config.debugging
71
- @api_client.config.logger.debug "API called: OrganizationsApi#delete_report\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
72
- end
73
- return data, status_code, headers
74
- end
75
-
76
- # Retrieves org level report by correlation id and site.
77
- #
78
- # @param organization_id
79
- # @param report_correlation_id
80
- # @return [nil]
81
- def get_report(organization_id, report_correlation_id)
82
- get_report_with_http_info(organization_id, report_correlation_id)
83
- return nil
84
- end
85
-
86
- # Retrieves org level report by correlation id and site.
87
- #
88
- # @param organization_id
89
- # @param report_correlation_id
90
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
91
- def get_report_with_http_info(organization_id, report_correlation_id)
92
- if @api_client.config.debugging
93
- @api_client.config.logger.debug "Calling API: OrganizationsApi.get_report ..."
94
- end
95
- # verify the required parameter 'organization_id' is set
96
- fail ArgumentError, "Missing the required parameter 'organization_id' when calling OrganizationsApi.get_report" if organization_id.nil?
97
- # verify the required parameter 'report_correlation_id' is set
98
- fail ArgumentError, "Missing the required parameter 'report_correlation_id' when calling OrganizationsApi.get_report" if report_correlation_id.nil?
99
- # resource path
100
- local_var_path = "/v2.1/organization_reporting/{organizationId}/reports/{reportCorrelationId}".sub('{format}','json').sub('{' + 'organizationId' + '}', organization_id.to_s).sub('{' + 'reportCorrelationId' + '}', report_correlation_id.to_s)
48
+ local_var_path = "/v2.1/organization_reporting/{organizationId}/reportsv2/{reportCorrelationId}".sub('{format}','json').sub('{' + 'organizationId' + '}', organization_id.to_s).sub('{' + 'reportCorrelationId' + '}', report_correlation_id.to_s)
101
49
 
102
50
  # query parameters
103
51
  query_params = {}
@@ -120,7 +68,7 @@ module DocuSign_eSign
120
68
  :body => post_body,
121
69
  :auth_names => auth_names)
122
70
  if @api_client.config.debugging
123
- @api_client.config.logger.debug "API called: OrganizationsApi#get_report\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
71
+ @api_client.config.logger.debug "API called: OrganizationsApi#get_report_v2\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
124
72
  end
125
73
  return data, status_code, headers
126
74
  end
@@ -47,6 +47,12 @@ module DocuSign_eSign
47
47
  #
48
48
  attr_accessor :order_by
49
49
 
50
+ #
51
+ attr_accessor :search_fields
52
+
53
+ #
54
+ attr_accessor :search_text
55
+
50
56
  #
51
57
  attr_accessor :to_date
52
58
 
@@ -64,7 +70,7 @@ module DocuSign_eSign
64
70
  end
65
71
 
66
72
  # Creates a new PowerForm.
67
- #
73
+ # This method creates a new PowerForm. You create a PowerForm from an existing DocuSign [template](/docs/esign-rest-api/reference/templates/templates/create/), based on the `templateId` in the request body. PowerForms that you create from a template are referred to as *web PowerForms*. **Note:** The DocuSign Admin console also supports creating a PowerForm by uploading a PDF file that has active form fields (referred to as a *PDF PowerForm*). However, PDF PowerForms are deprecated and are not supported in the API. **Note:** A PowerForm can have only one sender. (Because PowerForms are not necessarily sent by email, this user is also referred to as the PowerForm *initiator*.) If you need to associate multiple senders with a PowerForm, create multiple copies of the PowerForm by using the same template (one copy for each sender). By default, the sender is the PowerForm Administrator who creates the PowerForm. ### Signing modes You can use one of the following signing modes for a PowerForm: **`email`** This mode verifies the recipient's identity by using email authentication before the recipient can sign a document. The recipient enters their email address on the landing page and then clicks **Begin Signing** to begin the signing process. The system then sends an email message with a validation code to the recipient. If the recipient does not provide a valid email address, they do not receive the email message containing the access code and are not able to open and sign the document. Alternatively, you can make the process easier for signers by using email authentication only and omitting the access code. To do this, you append the `activateonly` flag to the PowerForm URL and set it to true by passing in the value `1`. When the flag is active, the first recipient receives an email with a link that initiates the signing session without having to enter access code. Example: `activateonly=1` **`direct`** This mode does not require any verification. After a recipient enters their email address on the landing page and clicks **Begin Signing,** a new browser tab opens and the recipient can immediately begin the signing process. Because the `direct` signing mode does not verify the recipient's identity by using email authentication, we strongly recommend that you use this mode only when the PowerForm is accessible behind a secure portal where the recipient's identity is already authenticated, or where another form of authentication is specified for the recipient in the DocuSign template (for example, an access code, phone authentication, or ID check). **Note:** In the account settings, `enablePowerFormDirect` must be **true** to use `direct` as the `signingMode`. ### Redirect URLs You can control the URL to which signers are redirected after signing your PowerForm. However, the URL is specified elsewhere, outside of the PowerForm creation process. For details, see [How do I specify a URL to redirect to when a PowerForm is completed?](https://support.docusign.com/en/articles/How-do-I-specify-a-URL-to-redirect-to-when-a-Powerform-is-completed). ### More information For more information about creating PowerForms, see [Create a PowerForm](https://support.docusign.com/en/guides/ndse-user-guide-create-a-powerform).
68
74
  # @param account_id The external account number (int) or account ID Guid.
69
75
  # @param power_form (optional parameter)
70
76
  # @return [PowerForm]
@@ -74,7 +80,7 @@ module DocuSign_eSign
74
80
  end
75
81
 
76
82
  # Creates a new PowerForm.
77
- #
83
+ # This method creates a new PowerForm. You create a PowerForm from an existing DocuSign [template](/docs/esign-rest-api/reference/templates/templates/create/), based on the &#x60;templateId&#x60; in the request body. PowerForms that you create from a template are referred to as *web PowerForms*. **Note:** The DocuSign Admin console also supports creating a PowerForm by uploading a PDF file that has active form fields (referred to as a *PDF PowerForm*). However, PDF PowerForms are deprecated and are not supported in the API. **Note:** A PowerForm can have only one sender. (Because PowerForms are not necessarily sent by email, this user is also referred to as the PowerForm *initiator*.) If you need to associate multiple senders with a PowerForm, create multiple copies of the PowerForm by using the same template (one copy for each sender). By default, the sender is the PowerForm Administrator who creates the PowerForm. ### Signing modes You can use one of the following signing modes for a PowerForm: **&#x60;email&#x60;** This mode verifies the recipient&#39;s identity by using email authentication before the recipient can sign a document. The recipient enters their email address on the landing page and then clicks **Begin Signing** to begin the signing process. The system then sends an email message with a validation code to the recipient. If the recipient does not provide a valid email address, they do not receive the email message containing the access code and are not able to open and sign the document. Alternatively, you can make the process easier for signers by using email authentication only and omitting the access code. To do this, you append the &#x60;activateonly&#x60; flag to the PowerForm URL and set it to true by passing in the value &#x60;1&#x60;. When the flag is active, the first recipient receives an email with a link that initiates the signing session without having to enter access code. Example: &#x60;activateonly&#x3D;1&#x60; **&#x60;direct&#x60;** This mode does not require any verification. After a recipient enters their email address on the landing page and clicks **Begin Signing,** a new browser tab opens and the recipient can immediately begin the signing process. Because the &#x60;direct&#x60; signing mode does not verify the recipient&#39;s identity by using email authentication, we strongly recommend that you use this mode only when the PowerForm is accessible behind a secure portal where the recipient&#39;s identity is already authenticated, or where another form of authentication is specified for the recipient in the DocuSign template (for example, an access code, phone authentication, or ID check). **Note:** In the account settings, &#x60;enablePowerFormDirect&#x60; must be **true** to use &#x60;direct&#x60; as the &#x60;signingMode&#x60;. ### Redirect URLs You can control the URL to which signers are redirected after signing your PowerForm. However, the URL is specified elsewhere, outside of the PowerForm creation process. For details, see [How do I specify a URL to redirect to when a PowerForm is completed?](https://support.docusign.com/en/articles/How-do-I-specify-a-URL-to-redirect-to-when-a-Powerform-is-completed). ### More information For more information about creating PowerForms, see [Create a PowerForm](https://support.docusign.com/en/guides/ndse-user-guide-create-a-powerform).
78
84
  # @param account_id The external account number (int) or account ID Guid.
79
85
  # @param power_form (optional parameter)
80
86
  # @return [Array<(PowerForm, Fixnum, Hash)>] PowerForm data, response status code and response headers
@@ -115,7 +121,7 @@ module DocuSign_eSign
115
121
  end
116
122
 
117
123
  # Delete a PowerForm.
118
- #
124
+ # This method deletes a PowerForm.
119
125
  # @param account_id The external account number (int) or account ID Guid.
120
126
  # @param power_form_id
121
127
  # @return [nil]
@@ -125,7 +131,7 @@ module DocuSign_eSign
125
131
  end
126
132
 
127
133
  # Delete a PowerForm.
128
- #
134
+ # This method deletes a PowerForm.
129
135
  # @param account_id The external account number (int) or account ID Guid.
130
136
  # @param power_form_id
131
137
  # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
@@ -167,7 +173,7 @@ module DocuSign_eSign
167
173
  end
168
174
 
169
175
  # Deletes one or more PowerForms
170
- #
176
+ # This method deletes one or more PowerForms. The request body takes an array of PowerForm objects that are deleted based on the `powerFormId`.
171
177
  # @param account_id The external account number (int) or account ID Guid.
172
178
  # @param power_forms_request (optional parameter)
173
179
  # @return [PowerFormsResponse]
@@ -177,7 +183,7 @@ module DocuSign_eSign
177
183
  end
178
184
 
179
185
  # Deletes one or more PowerForms
180
- #
186
+ # This method deletes one or more PowerForms. The request body takes an array of PowerForm objects that are deleted based on the &#x60;powerFormId&#x60;.
181
187
  # @param account_id The external account number (int) or account ID Guid.
182
188
  # @param power_forms_request (optional parameter)
183
189
  # @return [Array<(PowerFormsResponse, Fixnum, Hash)>] PowerFormsResponse data, response status code and response headers
@@ -218,7 +224,7 @@ module DocuSign_eSign
218
224
  end
219
225
 
220
226
  # Returns a single PowerForm.
221
- #
227
+ # This method returns detailed information about a specific PowerForm.
222
228
  # @param account_id The external account number (int) or account ID Guid.
223
229
  # @param power_form_id
224
230
  # @return [PowerForm]
@@ -228,7 +234,7 @@ module DocuSign_eSign
228
234
  end
229
235
 
230
236
  # Returns a single PowerForm.
231
- #
237
+ # This method returns detailed information about a specific PowerForm.
232
238
  # @param account_id The external account number (int) or account ID Guid.
233
239
  # @param power_form_id
234
240
  # @return [Array<(PowerForm, Fixnum, Hash)>] PowerForm data, response status code and response headers
@@ -271,7 +277,7 @@ module DocuSign_eSign
271
277
  end
272
278
 
273
279
  # Returns the form data associated with the usage of a PowerForm.
274
- #
280
+ # This method enables Powerform Administrators or the sender of a PowerForm to download the data that recipients have entered into a PowerForm. You specify the format in which you want to retrieve the data in the `Accept` header. This header accepts the following values: - `application/json`: JSON format - `application/xml`: XML format - `text/csv`: Comma-separated value (CSV) format **Note:** Only PowerForm Administrators or the PowerForm Sender can download the data associated with a PowerForm.
275
281
  # @param account_id The external account number (int) or account ID Guid.
276
282
  # @param power_form_id
277
283
  # @param DocuSign_eSign::GetPowerFormDataOptions Options for modifying the behavior of the function.
@@ -282,7 +288,7 @@ module DocuSign_eSign
282
288
  end
283
289
 
284
290
  # Returns the form data associated with the usage of a PowerForm.
285
- #
291
+ # This method enables Powerform Administrators or the sender of a PowerForm to download the data that recipients have entered into a PowerForm. You specify the format in which you want to retrieve the data in the &#x60;Accept&#x60; header. This header accepts the following values: - &#x60;application/json&#x60;: JSON format - &#x60;application/xml&#x60;: XML format - &#x60;text/csv&#x60;: Comma-separated value (CSV) format **Note:** Only PowerForm Administrators or the PowerForm Sender can download the data associated with a PowerForm.
286
292
  # @param account_id The external account number (int) or account ID Guid.
287
293
  # @param power_form_id
288
294
  # @param DocuSign_eSign::GetPowerFormDataOptions Options for modifying the behavior of the function.
@@ -329,7 +335,7 @@ module DocuSign_eSign
329
335
  end
330
336
 
331
337
  # Returns the list of PowerForms available to the user.
332
- #
338
+ # This method returns a list of users who have sent PowerForms.
333
339
  # @param account_id The external account number (int) or account ID Guid.
334
340
  # @param DocuSign_eSign::ListPowerFormSendersOptions Options for modifying the behavior of the function.
335
341
  # @return [PowerFormSendersResponse]
@@ -339,7 +345,7 @@ module DocuSign_eSign
339
345
  end
340
346
 
341
347
  # Returns the list of PowerForms available to the user.
342
- #
348
+ # This method returns a list of users who have sent PowerForms.
343
349
  # @param account_id The external account number (int) or account ID Guid.
344
350
  # @param DocuSign_eSign::ListPowerFormSendersOptions Options for modifying the behavior of the function.
345
351
  # @return [Array<(PowerFormSendersResponse, Fixnum, Hash)>] PowerFormSendersResponse data, response status code and response headers
@@ -381,7 +387,7 @@ module DocuSign_eSign
381
387
  end
382
388
 
383
389
  # Returns the list of PowerForms available to the user.
384
- #
390
+ # This method returns a list of PowerForms that are available to the user.
385
391
  # @param account_id The external account number (int) or account ID Guid.
386
392
  # @param DocuSign_eSign::ListPowerFormsOptions Options for modifying the behavior of the function.
387
393
  # @return [PowerFormsResponse]
@@ -391,7 +397,7 @@ module DocuSign_eSign
391
397
  end
392
398
 
393
399
  # Returns the list of PowerForms available to the user.
394
- #
400
+ # This method returns a list of PowerForms that are available to the user.
395
401
  # @param account_id The external account number (int) or account ID Guid.
396
402
  # @param DocuSign_eSign::ListPowerFormsOptions Options for modifying the behavior of the function.
397
403
  # @return [Array<(PowerFormsResponse, Fixnum, Hash)>] PowerFormsResponse data, response status code and response headers
@@ -409,6 +415,8 @@ module DocuSign_eSign
409
415
  query_params[:'from_date'] = options.from_date if !options.from_date.nil?
410
416
  query_params[:'order'] = options.order if !options.order.nil?
411
417
  query_params[:'order_by'] = options.order_by if !options.order_by.nil?
418
+ query_params[:'search_fields'] = options.search_fields if !options.search_fields.nil?
419
+ query_params[:'search_text'] = options.search_text if !options.search_text.nil?
412
420
  query_params[:'to_date'] = options.to_date if !options.to_date.nil?
413
421
 
414
422
  # header parameters
@@ -436,7 +444,7 @@ module DocuSign_eSign
436
444
  end
437
445
 
438
446
  # Creates a new PowerForm.
439
- #
447
+ # This method updates an existing PowerForm.
440
448
  # @param account_id The external account number (int) or account ID Guid.
441
449
  # @param power_form_id
442
450
  # @param power_form (optional parameter)
@@ -447,7 +455,7 @@ module DocuSign_eSign
447
455
  end
448
456
 
449
457
  # Creates a new PowerForm.
450
- #
458
+ # This method updates an existing PowerForm.
451
459
  # @param account_id The external account number (int) or account ID Guid.
452
460
  # @param power_form_id
453
461
  # @param power_form (optional parameter)
@@ -361,7 +361,7 @@ module DocuSign_eSign
361
361
  end
362
362
 
363
363
  # Provides a URL to start an edit view of the Template UI
364
- #
364
+ # This method returns a URL for starting an edit view of a template that uses the DocuSign Template UI.
365
365
  # @param account_id The external account number (int) or account ID Guid.
366
366
  # @param template_id The ID of the template being accessed.
367
367
  # @param return_url_request (optional parameter)
@@ -372,7 +372,7 @@ module DocuSign_eSign
372
372
  end
373
373
 
374
374
  # Provides a URL to start an edit view of the Template UI
375
- #
375
+ # This method returns a URL for starting an edit view of a template that uses the DocuSign Template UI.
376
376
  # @param account_id The external account number (int) or account ID Guid.
377
377
  # @param template_id The ID of the template being accessed.
378
378
  # @param return_url_request (optional parameter)
@@ -639,7 +639,7 @@ module DocuSign_eSign
639
639
  end
640
640
 
641
641
  # Post Responsive HTML Preview for a document in a template.
642
- #
642
+ # Creates a preview of the [responsive](/docs/esign-rest-api/esign101/concepts/responsive/), HTML version of a specific template document. This method enables you to preview a PDF document conversion to responsive HTML across device types prior to sending. The request body is a `documentHtmlDefinition` object, which holds the responsive signing parameters that define how to generate the HTML version of the signing document.
643
643
  # @param account_id The external account number (int) or account ID Guid.
644
644
  # @param document_id The ID of the document being accessed.
645
645
  # @param template_id The ID of the template being accessed.
@@ -651,7 +651,7 @@ module DocuSign_eSign
651
651
  end
652
652
 
653
653
  # Post Responsive HTML Preview for a document in a template.
654
- #
654
+ # Creates a preview of the [responsive](/docs/esign-rest-api/esign101/concepts/responsive/), HTML version of a specific template document. This method enables you to preview a PDF document conversion to responsive HTML across device types prior to sending. The request body is a &#x60;documentHtmlDefinition&#x60; object, which holds the responsive signing parameters that define how to generate the HTML version of the signing document.
655
655
  # @param account_id The external account number (int) or account ID Guid.
656
656
  # @param document_id The ID of the document being accessed.
657
657
  # @param template_id The ID of the template being accessed.
@@ -698,7 +698,7 @@ module DocuSign_eSign
698
698
  end
699
699
 
700
700
  # Adds the tabs to a tempate
701
- #
701
+ # Adds tabs to the document specified by `documentId` in the template specified by `templateId`. In the request body, you only need to specify the tabs that your are adding. For example, to add a text [prefill tab](/docs/esign-rest-api/reference/templates/templatedocumenttabs/create/#definition__templatetabs_prefilltabs), your request body might look like this: ``` { \"prefillTabs\": { \"textTabs\": [ { \"value\": \"a prefill text tab\", \"pageNumber\": \"1\", \"documentId\": \"1\", \"xPosition\": 316, \"yPosition\": 97 } ] } } ```
702
702
  # @param account_id The external account number (int) or account ID Guid.
703
703
  # @param document_id The ID of the document being accessed.
704
704
  # @param template_id The ID of the template being accessed.
@@ -710,7 +710,7 @@ module DocuSign_eSign
710
710
  end
711
711
 
712
712
  # Adds the tabs to a tempate
713
- #
713
+ # Adds tabs to the document specified by &#x60;documentId&#x60; in the template specified by &#x60;templateId&#x60;. In the request body, you only need to specify the tabs that your are adding. For example, to add a text [prefill tab](/docs/esign-rest-api/reference/templates/templatedocumenttabs/create/#definition__templatetabs_prefilltabs), your request body might look like this: &#x60;&#x60;&#x60; { \&quot;prefillTabs\&quot;: { \&quot;textTabs\&quot;: [ { \&quot;value\&quot;: \&quot;a prefill text tab\&quot;, \&quot;pageNumber\&quot;: \&quot;1\&quot;, \&quot;documentId\&quot;: \&quot;1\&quot;, \&quot;xPosition\&quot;: 316, \&quot;yPosition\&quot;: 97 } ] } } &#x60;&#x60;&#x60;
714
714
  # @param account_id The external account number (int) or account ID Guid.
715
715
  # @param document_id The ID of the document being accessed.
716
716
  # @param template_id The ID of the template being accessed.
@@ -757,7 +757,7 @@ module DocuSign_eSign
757
757
  end
758
758
 
759
759
  # Provides a URL to start a recipient view of the Envelope UI
760
- #
760
+ # This method returns a URL for a template recipient preview in the DocuSign UI that you can embed in your application. You use this method to enable the sender to preview the recipients' experience. For more information, see [Preview and Send](https://support.docusign.com/en/guides/ndse-user-guide-send-your-documents).
761
761
  # @param account_id The external account number (int) or account ID Guid.
762
762
  # @param template_id The ID of the template being accessed.
763
763
  # @param recipient_preview_request (optional parameter)
@@ -768,7 +768,7 @@ module DocuSign_eSign
768
768
  end
769
769
 
770
770
  # Provides a URL to start a recipient view of the Envelope UI
771
- #
771
+ # This method returns a URL for a template recipient preview in the DocuSign UI that you can embed in your application. You use this method to enable the sender to preview the recipients&#39; experience. For more information, see [Preview and Send](https://support.docusign.com/en/guides/ndse-user-guide-send-your-documents).
772
772
  # @param account_id The external account number (int) or account ID Guid.
773
773
  # @param template_id The ID of the template being accessed.
774
774
  # @param recipient_preview_request (optional parameter)
@@ -812,7 +812,7 @@ module DocuSign_eSign
812
812
  end
813
813
 
814
814
  # Get Responsive HTML Preview for all documents in a template.
815
- #
815
+ # Creates a preview of the [responsive](/docs/esign-rest-api/esign101/concepts/responsive/), HTML versions of all of the documents associated with a template. This method enables you to preview the PDF document conversions to responsive HTML across device types prior to sending. The request body is a `documentHtmlDefinition` object, which holds the responsive signing parameters that define how to generate the HTML version of the documents.
816
816
  # @param account_id The external account number (int) or account ID Guid.
817
817
  # @param template_id The ID of the template being accessed.
818
818
  # @param document_html_definition (optional parameter)
@@ -823,7 +823,7 @@ module DocuSign_eSign
823
823
  end
824
824
 
825
825
  # Get Responsive HTML Preview for all documents in a template.
826
- #
826
+ # Creates a preview of the [responsive](/docs/esign-rest-api/esign101/concepts/responsive/), HTML versions of all of the documents associated with a template. This method enables you to preview the PDF document conversions to responsive HTML across device types prior to sending. The request body is a &#x60;documentHtmlDefinition&#x60; object, which holds the responsive signing parameters that define how to generate the HTML version of the documents.
827
827
  # @param account_id The external account number (int) or account ID Guid.
828
828
  # @param template_id The ID of the template being accessed.
829
829
  # @param document_html_definition (optional parameter)
@@ -1442,7 +1442,7 @@ module DocuSign_eSign
1442
1442
  end
1443
1443
 
1444
1444
  # Deletes tabs from an envelope document
1445
- #
1445
+ # Deletes tabs from the document specified by `documentId` in the template specified by `templateId`.
1446
1446
  # @param account_id The external account number (int) or account ID Guid.
1447
1447
  # @param document_id The ID of the document being accessed.
1448
1448
  # @param template_id The ID of the template being accessed.
@@ -1454,7 +1454,7 @@ module DocuSign_eSign
1454
1454
  end
1455
1455
 
1456
1456
  # Deletes tabs from an envelope document
1457
- #
1457
+ # Deletes tabs from the document specified by &#x60;documentId&#x60; in the template specified by &#x60;templateId&#x60;.
1458
1458
  # @param account_id The external account number (int) or account ID Guid.
1459
1459
  # @param document_id The ID of the document being accessed.
1460
1460
  # @param template_id The ID of the template being accessed.
@@ -1685,7 +1685,7 @@ module DocuSign_eSign
1685
1685
  end
1686
1686
 
1687
1687
  # Returns tabs on the document.
1688
- #
1688
+ # Returns the tabs on the document specified by `documentId` in the template specified by `templateId`.
1689
1689
  # @param account_id The external account number (int) or account ID Guid.
1690
1690
  # @param document_id The ID of the document being accessed.
1691
1691
  # @param template_id The ID of the template being accessed.
@@ -1697,7 +1697,7 @@ module DocuSign_eSign
1697
1697
  end
1698
1698
 
1699
1699
  # Returns tabs on the document.
1700
- #
1700
+ # Returns the tabs on the document specified by &#x60;documentId&#x60; in the template specified by &#x60;templateId&#x60;.
1701
1701
  # @param account_id The external account number (int) or account ID Guid.
1702
1702
  # @param document_id The ID of the document being accessed.
1703
1703
  # @param template_id The ID of the template being accessed.
@@ -1851,7 +1851,7 @@ module DocuSign_eSign
1851
1851
  end
1852
1852
 
1853
1853
  # Returns tabs on the specified page.
1854
- #
1854
+ # Returns the tabs from the page specified by `pageNumber` of the document specified by `documentId` in the template specified by `templateId`.
1855
1855
  # @param account_id The external account number (int) or account ID Guid.
1856
1856
  # @param document_id The ID of the document being accessed.
1857
1857
  # @param page_number The page number being accessed.
@@ -1863,7 +1863,7 @@ module DocuSign_eSign
1863
1863
  end
1864
1864
 
1865
1865
  # Returns tabs on the specified page.
1866
- #
1866
+ # Returns the tabs from the page specified by &#x60;pageNumber&#x60; of the document specified by &#x60;documentId&#x60; in the template specified by &#x60;templateId&#x60;.
1867
1867
  # @param account_id The external account number (int) or account ID Guid.
1868
1868
  # @param document_id The ID of the document being accessed.
1869
1869
  # @param page_number The page number being accessed.
@@ -1912,7 +1912,7 @@ module DocuSign_eSign
1912
1912
  end
1913
1913
 
1914
1914
  # Returns document page image(s) based on input.
1915
- #
1915
+ # Returns images of the pages in a template document for display based on the parameters that you specify.
1916
1916
  # @param account_id The external account number (int) or account ID Guid.
1917
1917
  # @param document_id The ID of the document being accessed.
1918
1918
  # @param template_id The ID of the template being accessed.
@@ -1924,7 +1924,7 @@ module DocuSign_eSign
1924
1924
  end
1925
1925
 
1926
1926
  # Returns document page image(s) based on input.
1927
- #
1927
+ # Returns images of the pages in a template document for display based on the parameters that you specify.
1928
1928
  # @param account_id The external account number (int) or account ID Guid.
1929
1929
  # @param document_id The ID of the document being accessed.
1930
1930
  # @param template_id The ID of the template being accessed.
@@ -2624,65 +2624,6 @@ module DocuSign_eSign
2624
2624
  return data, status_code, headers
2625
2625
  end
2626
2626
 
2627
- # Adds or replaces the bulk recipients list in a template.
2628
- # Updates the bulk recipients in a template using a file upload. The Content-Type supported for uploading a bulk recipient file is CSV (text/csv). The REST API does not support modifying individual rows or values in the bulk recipients file. It only allows the entire file to be added or replaced with a new file.
2629
- # @param account_id The external account number (int) or account ID Guid.
2630
- # @param recipient_id The ID of the recipient being accessed.
2631
- # @param template_id The ID of the template being accessed.
2632
- # @param bulk_recipients_request (optional parameter)
2633
- # @return [BulkRecipientsSummaryResponse]
2634
- def update_bulk_recipients(account_id, recipient_id, template_id, bulk_recipients_request)
2635
- data, _status_code, _headers = update_bulk_recipients_with_http_info(account_id, recipient_id, template_id, bulk_recipients_request)
2636
- return data
2637
- end
2638
-
2639
- # Adds or replaces the bulk recipients list in a template.
2640
- # Updates the bulk recipients in a template using a file upload. The Content-Type supported for uploading a bulk recipient file is CSV (text/csv). The REST API does not support modifying individual rows or values in the bulk recipients file. It only allows the entire file to be added or replaced with a new file.
2641
- # @param account_id The external account number (int) or account ID Guid.
2642
- # @param recipient_id The ID of the recipient being accessed.
2643
- # @param template_id The ID of the template being accessed.
2644
- # @param bulk_recipients_request (optional parameter)
2645
- # @return [Array<(BulkRecipientsSummaryResponse, Fixnum, Hash)>] BulkRecipientsSummaryResponse data, response status code and response headers
2646
- def update_bulk_recipients_with_http_info(account_id, recipient_id, template_id, bulk_recipients_request)
2647
- if @api_client.config.debugging
2648
- @api_client.config.logger.debug "Calling API: TemplatesApi.update_bulk_recipients ..."
2649
- end
2650
- # verify the required parameter 'account_id' is set
2651
- fail ArgumentError, "Missing the required parameter 'account_id' when calling TemplatesApi.update_bulk_recipients" if account_id.nil?
2652
- # verify the required parameter 'recipient_id' is set
2653
- fail ArgumentError, "Missing the required parameter 'recipient_id' when calling TemplatesApi.update_bulk_recipients" if recipient_id.nil?
2654
- # verify the required parameter 'template_id' is set
2655
- fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.update_bulk_recipients" if template_id.nil?
2656
- # resource path
2657
- local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/bulk_recipients".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'recipientId' + '}', recipient_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2658
-
2659
- # query parameters
2660
- query_params = {}
2661
-
2662
- # header parameters
2663
- header_params = {}
2664
- # HTTP header 'Accept' (if needed)
2665
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2666
-
2667
- # form parameters
2668
- form_params = {}
2669
-
2670
- # http body (model)
2671
- post_body = @api_client.object_to_http_body(bulk_recipients_request)
2672
- auth_names = []
2673
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
2674
- :header_params => header_params,
2675
- :query_params => query_params,
2676
- :form_params => form_params,
2677
- :body => post_body,
2678
- :auth_names => auth_names,
2679
- :return_type => 'BulkRecipientsSummaryResponse')
2680
- if @api_client.config.debugging
2681
- @api_client.config.logger.debug "API called: TemplatesApi#update_bulk_recipients\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2682
- end
2683
- return data, status_code, headers
2684
- end
2685
-
2686
2627
  # Updates envelope custom fields in a template.
2687
2628
  # Updates the custom fields in a template. Each custom field used in a template must have a unique name.
2688
2629
  # @param account_id The external account number (int) or account ID Guid.
@@ -3201,7 +3142,7 @@ module DocuSign_eSign
3201
3142
  end
3202
3143
 
3203
3144
  # Updates the tabs for a template
3204
- #
3145
+ # Updates tabs in the document specified by `documentId` in the template specified by `templateId`.
3205
3146
  # @param account_id The external account number (int) or account ID Guid.
3206
3147
  # @param document_id The ID of the document being accessed.
3207
3148
  # @param template_id The ID of the template being accessed.
@@ -3213,7 +3154,7 @@ module DocuSign_eSign
3213
3154
  end
3214
3155
 
3215
3156
  # Updates the tabs for a template
3216
- #
3157
+ # Updates tabs in the document specified by &#x60;documentId&#x60; in the template specified by &#x60;templateId&#x60;.
3217
3158
  # @param account_id The external account number (int) or account ID Guid.
3218
3159
  # @param document_id The ID of the document being accessed.
3219
3160
  # @param template_id The ID of the template being accessed.