docusign_esign 2.11.0 → 3.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (471) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +0 -55
  3. data/Gemfile +1 -1
  4. data/Gemfile.lock +31 -31
  5. data/README.md +40 -22
  6. data/docusign_esign-3.0.0.gem +0 -0
  7. data/docusign_esign.gemspec +1 -2
  8. data/lib/docusign_esign/api/accounts_api.rb +427 -89
  9. data/lib/docusign_esign/api/authentication_api.rb +1 -1
  10. data/lib/docusign_esign/api/billing_api.rb +14 -14
  11. data/lib/docusign_esign/api/bulk_envelopes_api.rb +195 -155
  12. data/lib/docusign_esign/api/cloud_storage_api.rb +13 -9
  13. data/lib/docusign_esign/api/connect_api.rb +16 -167
  14. data/lib/docusign_esign/api/custom_tabs_api.rb +7 -7
  15. data/lib/docusign_esign/api/data_feed_api.rb +76 -0
  16. data/lib/docusign_esign/api/diagnostics_api.rb +8 -8
  17. data/lib/docusign_esign/api/email_archive_api.rb +261 -0
  18. data/lib/docusign_esign/api/envelopes_api.rb +1692 -375
  19. data/lib/docusign_esign/api/folders_api.rb +20 -11
  20. data/lib/docusign_esign/api/groups_api.rb +25 -21
  21. data/lib/docusign_esign/api/notary_api.rb +3 -3
  22. data/lib/docusign_esign/api/power_forms_api.rb +10 -10
  23. data/lib/docusign_esign/api/signing_groups_api.rb +11 -11
  24. data/lib/docusign_esign/api/templates_api.rb +323 -79
  25. data/lib/docusign_esign/api/trust_service_providers_api.rb +3 -3
  26. data/lib/docusign_esign/api/users_api.rb +66 -38
  27. data/lib/docusign_esign/api/workspaces_api.rb +13 -13
  28. data/lib/docusign_esign/client/api_client.rb +2 -3
  29. data/lib/docusign_esign/configuration.rb +3 -4
  30. data/lib/docusign_esign/models/access_code_format.rb +273 -0
  31. data/lib/docusign_esign/models/account_address.rb +11 -8
  32. data/lib/docusign_esign/models/account_billing_plan.rb +12 -59
  33. data/lib/docusign_esign/models/account_billing_plan_response.rb +31 -9
  34. data/lib/docusign_esign/models/account_identity_verification_response.rb +12 -8
  35. data/lib/docusign_esign/models/account_identity_verification_step.rb +12 -8
  36. data/lib/docusign_esign/models/account_identity_verification_workflow.rb +45 -12
  37. data/lib/docusign_esign/models/account_information.rb +45 -19
  38. data/lib/docusign_esign/models/account_minimum_password_length.rb +12 -8
  39. data/lib/docusign_esign/models/account_notification.rb +206 -0
  40. data/lib/docusign_esign/models/account_password_expire_password_days.rb +12 -8
  41. data/lib/docusign_esign/models/account_password_lockout_duration_minutes.rb +12 -8
  42. data/lib/docusign_esign/models/account_password_lockout_duration_type.rb +12 -8
  43. data/lib/docusign_esign/models/account_password_minimum_password_age_days.rb +12 -8
  44. data/lib/docusign_esign/models/account_password_questions_required.rb +12 -8
  45. data/lib/docusign_esign/models/account_password_rules.rb +12 -8
  46. data/lib/docusign_esign/models/account_password_strength_type.rb +12 -8
  47. data/lib/docusign_esign/models/account_password_strength_type_option.rb +12 -8
  48. data/lib/docusign_esign/models/account_role_settings.rb +41 -9
  49. data/lib/docusign_esign/models/account_seals.rb +12 -8
  50. data/lib/docusign_esign/models/account_settings_information.rb +4700 -27
  51. data/lib/docusign_esign/models/account_shared_access.rb +11 -8
  52. data/lib/docusign_esign/models/account_signature_provider.rb +12 -8
  53. data/lib/docusign_esign/models/account_signature_provider_option.rb +12 -8
  54. data/lib/docusign_esign/models/account_signature_providers.rb +12 -8
  55. data/lib/docusign_esign/models/account_ui_settings.rb +330 -0
  56. data/lib/docusign_esign/models/add_on.rb +11 -8
  57. data/lib/docusign_esign/models/address_information.rb +44 -51
  58. data/lib/docusign_esign/models/address_information_input.rb +11 -8
  59. data/lib/docusign_esign/models/address_information_v2.rb +11 -7
  60. data/lib/docusign_esign/models/agent.rb +207 -34
  61. data/lib/docusign_esign/models/api_request_log.rb +11 -8
  62. data/lib/docusign_esign/models/api_request_logs_result.rb +11 -8
  63. data/lib/docusign_esign/models/app_store_product.rb +11 -8
  64. data/lib/docusign_esign/models/app_store_receipt.rb +11 -8
  65. data/lib/docusign_esign/models/approve.rb +448 -14
  66. data/lib/docusign_esign/models/attachment.rb +11 -8
  67. data/lib/docusign_esign/models/authentication_method.rb +12 -9
  68. data/lib/docusign_esign/models/authentication_status.rb +11 -8
  69. data/lib/docusign_esign/models/bcc_email_address.rb +11 -8
  70. data/lib/docusign_esign/models/bcc_email_archive.rb +276 -0
  71. data/lib/docusign_esign/models/bcc_email_archive_history.rb +237 -0
  72. data/lib/docusign_esign/models/bcc_email_archive_history_list.rb +250 -0
  73. data/lib/docusign_esign/models/bcc_email_archive_list.rb +250 -0
  74. data/lib/docusign_esign/models/billing_charge.rb +11 -8
  75. data/lib/docusign_esign/models/billing_charge_response.rb +11 -8
  76. data/lib/docusign_esign/models/billing_discount.rb +12 -8
  77. data/lib/docusign_esign/models/billing_invoice.rb +11 -8
  78. data/lib/docusign_esign/models/billing_invoice_item.rb +11 -8
  79. data/lib/docusign_esign/models/billing_invoices_response.rb +11 -8
  80. data/lib/docusign_esign/models/billing_invoices_summary.rb +12 -8
  81. data/lib/docusign_esign/models/billing_payment.rb +11 -8
  82. data/lib/docusign_esign/models/billing_payment_item.rb +11 -8
  83. data/lib/docusign_esign/models/billing_payment_request.rb +12 -8
  84. data/lib/docusign_esign/models/billing_payment_response.rb +11 -8
  85. data/lib/docusign_esign/models/billing_payments_response.rb +11 -8
  86. data/lib/docusign_esign/models/billing_plan.rb +11 -8
  87. data/lib/docusign_esign/models/billing_plan_information.rb +32 -9
  88. data/lib/docusign_esign/models/billing_plan_preview.rb +11 -8
  89. data/lib/docusign_esign/models/billing_plan_response.rb +11 -8
  90. data/lib/docusign_esign/models/billing_plan_update_response.rb +11 -8
  91. data/lib/docusign_esign/models/billing_plans_response.rb +11 -8
  92. data/lib/docusign_esign/models/billing_price.rb +12 -8
  93. data/lib/docusign_esign/models/brand.rb +38 -12
  94. data/lib/docusign_esign/models/brand_email_content.rb +12 -8
  95. data/lib/docusign_esign/models/brand_link.rb +12 -8
  96. data/lib/docusign_esign/models/brand_logos.rb +12 -8
  97. data/lib/docusign_esign/models/brand_request.rb +12 -8
  98. data/lib/docusign_esign/models/brand_resource_urls.rb +12 -8
  99. data/lib/docusign_esign/models/brand_resources.rb +25 -9
  100. data/lib/docusign_esign/models/brand_resources_list.rb +12 -8
  101. data/lib/docusign_esign/models/brands_request.rb +12 -8
  102. data/lib/docusign_esign/models/brands_response.rb +12 -8
  103. data/lib/docusign_esign/models/bulk_envelope.rb +12 -8
  104. data/lib/docusign_esign/models/bulk_envelope_status.rb +12 -8
  105. data/lib/docusign_esign/models/bulk_envelopes_response.rb +12 -8
  106. data/lib/docusign_esign/models/bulk_recipient.rb +12 -8
  107. data/lib/docusign_esign/models/bulk_recipient_signature_provider.rb +12 -8
  108. data/lib/docusign_esign/models/bulk_recipient_tab_label.rb +12 -8
  109. data/lib/docusign_esign/models/bulk_recipients_request.rb +12 -8
  110. data/lib/docusign_esign/models/bulk_recipients_response.rb +12 -8
  111. data/lib/docusign_esign/models/bulk_recipients_summary_response.rb +12 -8
  112. data/lib/docusign_esign/models/bulk_recipients_update_response.rb +12 -8
  113. data/lib/docusign_esign/models/{envelope_form_data_prefill_form_data.rb → bulk_send_request.rb} +20 -18
  114. data/lib/docusign_esign/models/{group_brands.rb → bulk_send_response.rb} +48 -33
  115. data/lib/docusign_esign/models/bulk_send_test_response.rb +212 -0
  116. data/lib/docusign_esign/models/bulk_sending_copy.rb +222 -0
  117. data/lib/docusign_esign/models/bulk_sending_copy_custom_field.rb +198 -0
  118. data/lib/docusign_esign/models/bulk_sending_copy_recipient.rb +382 -0
  119. data/lib/docusign_esign/models/bulk_sending_copy_tab.rb +198 -0
  120. data/lib/docusign_esign/models/bulk_sending_list.rb +210 -0
  121. data/lib/docusign_esign/models/bulk_sending_list_summaries.rb +190 -0
  122. data/lib/docusign_esign/models/bulk_sending_list_summary.rb +218 -0
  123. data/lib/docusign_esign/models/captive_recipient.rb +12 -8
  124. data/lib/docusign_esign/models/captive_recipient_information.rb +12 -8
  125. data/lib/docusign_esign/models/carbon_copy.rb +217 -43
  126. data/lib/docusign_esign/models/certified_delivery.rb +208 -43
  127. data/lib/docusign_esign/models/checkbox.rb +562 -12
  128. data/lib/docusign_esign/models/chunked_upload_part.rb +12 -8
  129. data/lib/docusign_esign/models/chunked_upload_request.rb +12 -8
  130. data/lib/docusign_esign/models/chunked_upload_response.rb +12 -8
  131. data/lib/docusign_esign/models/cloud_storage_provider.rb +12 -8
  132. data/lib/docusign_esign/models/cloud_storage_providers.rb +12 -8
  133. data/lib/docusign_esign/models/comment.rb +392 -0
  134. data/lib/docusign_esign/models/{prefill_form_data.rb → comment_history_result.rb} +39 -35
  135. data/lib/docusign_esign/models/comment_publish.rb +244 -0
  136. data/lib/docusign_esign/models/comment_thread.rb +961 -0
  137. data/lib/docusign_esign/models/comments_publish.rb +190 -0
  138. data/lib/docusign_esign/models/company.rb +521 -14
  139. data/lib/docusign_esign/models/complete_sign_hash_response.rb +12 -8
  140. data/lib/docusign_esign/models/complete_sign_request.rb +11 -7
  141. data/lib/docusign_esign/models/composite_template.rb +12 -8
  142. data/lib/docusign_esign/models/connect_config_results.rb +12 -8
  143. data/lib/docusign_esign/models/connect_custom_configuration.rb +159 -15
  144. data/lib/docusign_esign/models/connect_debug_log.rb +12 -8
  145. data/lib/docusign_esign/models/connect_failure_filter.rb +12 -8
  146. data/lib/docusign_esign/models/connect_failure_result.rb +12 -8
  147. data/lib/docusign_esign/models/connect_failure_results.rb +12 -8
  148. data/lib/docusign_esign/models/connect_log.rb +12 -8
  149. data/lib/docusign_esign/models/connect_logs.rb +12 -8
  150. data/lib/docusign_esign/models/connect_salesforce_field.rb +258 -0
  151. data/lib/docusign_esign/models/connect_salesforce_object.rb +272 -0
  152. data/lib/docusign_esign/models/connect_user_object.rb +230 -0
  153. data/lib/docusign_esign/models/console_view_request.rb +12 -8
  154. data/lib/docusign_esign/models/consumer_disclosure.rb +12 -8
  155. data/lib/docusign_esign/models/contact.rb +43 -9
  156. data/lib/docusign_esign/models/contact_get_response.rb +12 -8
  157. data/lib/docusign_esign/models/contact_mod_request.rb +20 -16
  158. data/lib/docusign_esign/models/contact_phone_number.rb +12 -8
  159. data/lib/docusign_esign/models/contact_update_response.rb +12 -8
  160. data/lib/docusign_esign/models/correct_view_request.rb +14 -20
  161. data/lib/docusign_esign/models/country.rb +12 -8
  162. data/lib/docusign_esign/models/credential.rb +11 -7
  163. data/lib/docusign_esign/models/credit_card_information.rb +23 -9
  164. data/lib/docusign_esign/models/credit_card_types.rb +12 -8
  165. data/lib/docusign_esign/models/currency_feature_set_price.rb +12 -8
  166. data/lib/docusign_esign/models/currency_plan_price.rb +12 -8
  167. data/lib/docusign_esign/models/custom_field.rb +12 -8
  168. data/lib/docusign_esign/models/custom_field_v2.rb +11 -7
  169. data/lib/docusign_esign/models/custom_fields.rb +11 -8
  170. data/lib/docusign_esign/models/custom_fields_envelope.rb +12 -8
  171. data/lib/docusign_esign/models/custom_settings_information.rb +12 -8
  172. data/lib/docusign_esign/models/date.rb +575 -14
  173. data/lib/docusign_esign/models/date_signed.rb +475 -12
  174. data/lib/docusign_esign/models/date_stamp_properties.rb +12 -8
  175. data/lib/docusign_esign/models/decline.rb +457 -14
  176. data/lib/docusign_esign/models/diagnostics_settings_information.rb +12 -8
  177. data/lib/docusign_esign/models/direct_debit_processor_information.rb +298 -0
  178. data/lib/docusign_esign/models/display_appliance_document.rb +258 -0
  179. data/lib/docusign_esign/models/display_appliance_document_page.rb +278 -0
  180. data/lib/docusign_esign/models/display_appliance_envelope.rb +328 -0
  181. data/lib/docusign_esign/models/display_appliance_info.rb +235 -0
  182. data/lib/docusign_esign/models/display_appliance_page.rb +278 -0
  183. data/lib/docusign_esign/models/display_appliance_pdf.rb +267 -0
  184. data/lib/docusign_esign/models/display_appliance_recipient.rb +388 -0
  185. data/lib/docusign_esign/models/{offline_attributes.rb → display_appliance_signer_attachment.rb} +65 -52
  186. data/lib/docusign_esign/models/dob_information_input.rb +11 -8
  187. data/lib/docusign_esign/models/document.rb +64 -19
  188. data/lib/docusign_esign/models/document_fields_information.rb +12 -8
  189. data/lib/docusign_esign/models/document_html_collapsible_display_settings.rb +12 -8
  190. data/lib/docusign_esign/models/document_html_definition.rb +12 -8
  191. data/lib/docusign_esign/models/document_html_definition_original.rb +12 -8
  192. data/lib/docusign_esign/models/document_html_definition_originals.rb +12 -8
  193. data/lib/docusign_esign/models/document_html_definitions.rb +12 -8
  194. data/lib/docusign_esign/models/document_html_display_anchor.rb +12 -8
  195. data/lib/docusign_esign/models/document_html_display_settings.rb +13 -19
  196. data/lib/docusign_esign/models/document_security_store.rb +11 -7
  197. data/lib/docusign_esign/models/document_template.rb +12 -8
  198. data/lib/docusign_esign/models/document_template_list.rb +12 -8
  199. data/lib/docusign_esign/models/document_update_info.rb +11 -7
  200. data/lib/docusign_esign/models/document_visibility.rb +12 -8
  201. data/lib/docusign_esign/models/document_visibility_list.rb +12 -8
  202. data/lib/docusign_esign/models/e_note_configuration.rb +12 -8
  203. data/lib/docusign_esign/models/editor.rb +208 -34
  204. data/lib/docusign_esign/models/email.rb +575 -14
  205. data/lib/docusign_esign/models/email_address.rb +475 -12
  206. data/lib/docusign_esign/models/email_settings.rb +11 -8
  207. data/lib/docusign_esign/models/envelope.rb +246 -19
  208. data/lib/docusign_esign/models/envelope_attachment.rb +12 -8
  209. data/lib/docusign_esign/models/envelope_attachments_request.rb +12 -8
  210. data/lib/docusign_esign/models/envelope_attachments_result.rb +12 -8
  211. data/lib/docusign_esign/models/envelope_audit_event.rb +12 -8
  212. data/lib/docusign_esign/models/envelope_audit_event_response.rb +12 -8
  213. data/lib/docusign_esign/models/envelope_definition.rb +258 -19
  214. data/lib/docusign_esign/models/envelope_document.rb +111 -18
  215. data/lib/docusign_esign/models/envelope_documents_result.rb +12 -8
  216. data/lib/docusign_esign/models/envelope_event.rb +12 -8
  217. data/lib/docusign_esign/models/envelope_form_data.rb +14 -19
  218. data/lib/docusign_esign/models/envelope_id.rb +466 -12
  219. data/lib/docusign_esign/models/envelope_ids_request.rb +12 -8
  220. data/lib/docusign_esign/models/envelope_metadata.rb +208 -0
  221. data/lib/docusign_esign/models/envelope_notification_request.rb +12 -8
  222. data/lib/docusign_esign/models/envelope_purge_configuration.rb +218 -0
  223. data/lib/docusign_esign/models/envelope_summary.rb +31 -9
  224. data/lib/docusign_esign/models/envelope_template.rb +461 -21
  225. data/lib/docusign_esign/models/envelope_template_definition.rb +10 -7
  226. data/lib/docusign_esign/models/envelope_template_result.rb +12 -28
  227. data/lib/docusign_esign/models/envelope_template_results.rb +13 -9
  228. data/lib/docusign_esign/models/envelope_transaction_status.rb +12 -8
  229. data/lib/docusign_esign/models/envelope_transfer_rule.rb +273 -0
  230. data/lib/docusign_esign/models/envelope_transfer_rule_information.rb +250 -0
  231. data/lib/docusign_esign/models/envelope_transfer_rule_request.rb +279 -0
  232. data/lib/docusign_esign/models/envelope_update_summary.rb +23 -9
  233. data/lib/docusign_esign/models/envelopes_information.rb +25 -9
  234. data/lib/docusign_esign/models/error_details.rb +11 -8
  235. data/lib/docusign_esign/models/event_notification.rb +11 -8
  236. data/lib/docusign_esign/models/event_result.rb +12 -8
  237. data/lib/docusign_esign/models/expirations.rb +11 -8
  238. data/lib/docusign_esign/models/external_claim.rb +218 -0
  239. data/lib/docusign_esign/models/external_doc_service_error_details.rb +12 -8
  240. data/lib/docusign_esign/models/external_document_sources.rb +273 -0
  241. data/lib/docusign_esign/models/external_file.rb +12 -8
  242. data/lib/docusign_esign/models/external_folder.rb +12 -8
  243. data/lib/docusign_esign/models/favorite_templates_content_item.rb +207 -0
  244. data/lib/docusign_esign/models/favorite_templates_info.rb +209 -0
  245. data/lib/docusign_esign/models/feature_available_metadata.rb +198 -0
  246. data/lib/docusign_esign/models/feature_set.rb +12 -8
  247. data/lib/docusign_esign/models/file_type.rb +12 -8
  248. data/lib/docusign_esign/models/file_type_list.rb +12 -8
  249. data/lib/docusign_esign/models/filter.rb +12 -8
  250. data/lib/docusign_esign/models/first_name.rb +475 -12
  251. data/lib/docusign_esign/models/folder.rb +65 -30
  252. data/lib/docusign_esign/models/folder_item.rb +11 -7
  253. data/lib/docusign_esign/models/folder_item_response.rb +12 -8
  254. data/lib/docusign_esign/models/folder_item_v2.rb +36 -32
  255. data/lib/docusign_esign/models/folder_items_response.rb +33 -17
  256. data/lib/docusign_esign/models/folder_shared_item.rb +289 -0
  257. data/lib/docusign_esign/models/folders_request.rb +25 -9
  258. data/lib/docusign_esign/models/folders_response.rb +88 -12
  259. data/lib/docusign_esign/models/forgotten_password_information.rb +11 -8
  260. data/lib/docusign_esign/models/form_data_item.rb +227 -0
  261. data/lib/docusign_esign/models/formula_tab.rb +611 -14
  262. data/lib/docusign_esign/models/full_name.rb +475 -12
  263. data/lib/docusign_esign/models/graphics_context.rb +208 -0
  264. data/lib/docusign_esign/models/group.rb +26 -12
  265. data/lib/docusign_esign/models/group_information.rb +12 -8
  266. data/lib/docusign_esign/models/id_check_configuration.rb +210 -0
  267. data/lib/docusign_esign/models/id_check_information_input.rb +11 -8
  268. data/lib/docusign_esign/models/{payment_signer_values.rb → id_check_security_step.rb} +20 -16
  269. data/lib/docusign_esign/models/in_person_signer.rb +283 -24
  270. data/lib/docusign_esign/models/initial_here.rb +422 -13
  271. data/lib/docusign_esign/models/inline_template.rb +12 -8
  272. data/lib/docusign_esign/models/integrated_user_info_list.rb +12 -8
  273. data/lib/docusign_esign/models/intermediary.rb +208 -34
  274. data/lib/docusign_esign/models/jurisdiction.rb +12 -8
  275. data/lib/docusign_esign/models/last_name.rb +475 -12
  276. data/lib/docusign_esign/models/list.rb +530 -13
  277. data/lib/docusign_esign/models/list_custom_field.rb +12 -8
  278. data/lib/docusign_esign/models/list_item.rb +43 -12
  279. data/lib/docusign_esign/models/locale_policy.rb +595 -0
  280. data/lib/docusign_esign/models/locale_policy_tab.rb +298 -0
  281. data/lib/docusign_esign/models/lock_information.rb +12 -8
  282. data/lib/docusign_esign/models/lock_request.rb +12 -8
  283. data/lib/docusign_esign/models/login_account.rb +12 -8
  284. data/lib/docusign_esign/models/login_information.rb +12 -8
  285. data/lib/docusign_esign/models/match_box.rb +17 -13
  286. data/lib/docusign_esign/models/member_group_shared_item.rb +12 -8
  287. data/lib/docusign_esign/models/member_shared_items.rb +25 -9
  288. data/lib/docusign_esign/models/merge_field.rb +81 -12
  289. data/lib/docusign_esign/models/mobile_notifier_configuration.rb +12 -8
  290. data/lib/docusign_esign/models/mobile_notifier_configuration_information.rb +12 -8
  291. data/lib/docusign_esign/models/money.rb +12 -8
  292. data/lib/docusign_esign/models/name_value.rb +12 -8
  293. data/lib/docusign_esign/models/new_account_definition.rb +37 -17
  294. data/lib/docusign_esign/models/new_account_summary.rb +12 -8
  295. data/lib/docusign_esign/models/new_user.rb +13 -19
  296. data/lib/docusign_esign/models/new_users_definition.rb +12 -8
  297. data/lib/docusign_esign/models/new_users_summary.rb +12 -8
  298. data/lib/docusign_esign/models/notarize.rb +403 -12
  299. data/lib/docusign_esign/models/notary_host.rb +213 -24
  300. data/lib/docusign_esign/models/notary_journal.rb +12 -8
  301. data/lib/docusign_esign/models/notary_journal_credible_witness.rb +12 -8
  302. data/lib/docusign_esign/models/notary_journal_list.rb +12 -8
  303. data/lib/docusign_esign/models/notary_journal_meta_data.rb +12 -8
  304. data/lib/docusign_esign/models/note.rb +466 -14
  305. data/lib/docusign_esign/models/notification.rb +11 -8
  306. data/lib/docusign_esign/models/notification_default_settings.rb +196 -0
  307. data/lib/docusign_esign/models/notification_defaults.rb +196 -0
  308. data/lib/docusign_esign/models/number.rb +593 -14
  309. data/lib/docusign_esign/models/oauth_access.rb +12 -8
  310. data/lib/docusign_esign/models/page.rb +11 -8
  311. data/lib/docusign_esign/models/page_images.rb +12 -8
  312. data/lib/docusign_esign/models/page_request.rb +12 -8
  313. data/lib/docusign_esign/models/page_size.rb +198 -0
  314. data/lib/docusign_esign/models/{recipient_identity_input_option.rb → path_extended_element.rb} +26 -24
  315. data/lib/docusign_esign/models/pay_pal_legacy_settings.rb +228 -0
  316. data/lib/docusign_esign/models/payment_details.rb +31 -18
  317. data/lib/docusign_esign/models/payment_gateway_account.rb +110 -12
  318. data/lib/docusign_esign/models/payment_gateway_account_setting.rb +218 -0
  319. data/lib/docusign_esign/models/payment_gateway_accounts_info.rb +12 -8
  320. data/lib/docusign_esign/models/payment_line_item.rb +12 -8
  321. data/lib/docusign_esign/models/payment_method_with_options.rb +200 -0
  322. data/lib/docusign_esign/models/payment_processor_information.rb +12 -8
  323. data/lib/docusign_esign/models/permission_profile.rb +12 -8
  324. data/lib/docusign_esign/models/permission_profile_information.rb +12 -8
  325. data/lib/docusign_esign/models/plan_information.rb +11 -8
  326. data/lib/docusign_esign/models/{recipient_identity_phone_number.rb → poly_line.rb} +42 -28
  327. data/lib/docusign_esign/models/poly_line_overlay.rb +885 -0
  328. data/lib/docusign_esign/models/power_form.rb +12 -8
  329. data/lib/docusign_esign/models/power_form_form_data_envelope.rb +12 -8
  330. data/lib/docusign_esign/models/power_form_form_data_recipient.rb +12 -8
  331. data/lib/docusign_esign/models/power_form_recipient.rb +12 -8
  332. data/lib/docusign_esign/models/power_form_senders_response.rb +16 -12
  333. data/lib/docusign_esign/models/power_forms_form_data_response.rb +12 -8
  334. data/lib/docusign_esign/models/power_forms_request.rb +12 -8
  335. data/lib/docusign_esign/models/power_forms_response.rb +16 -12
  336. data/lib/docusign_esign/models/property_metadata.rb +12 -8
  337. data/lib/docusign_esign/models/province.rb +12 -8
  338. data/lib/docusign_esign/models/provisioning_information.rb +12 -8
  339. data/lib/docusign_esign/models/purchased_envelopes_information.rb +12 -8
  340. data/lib/docusign_esign/models/radio.rb +321 -12
  341. data/lib/docusign_esign/models/radio_group.rb +153 -12
  342. data/lib/docusign_esign/models/recipient_attachment.rb +12 -8
  343. data/lib/docusign_esign/models/recipient_domain.rb +12 -8
  344. data/lib/docusign_esign/models/recipient_email_notification.rb +44 -13
  345. data/lib/docusign_esign/models/recipient_event.rb +12 -8
  346. data/lib/docusign_esign/models/recipient_form_data.rb +25 -21
  347. data/lib/docusign_esign/models/recipient_identity_verification.rb +13 -21
  348. data/lib/docusign_esign/models/recipient_names_response.rb +12 -8
  349. data/lib/docusign_esign/models/recipient_phone_authentication.rb +51 -12
  350. data/lib/docusign_esign/models/recipient_preview_request.rb +278 -0
  351. data/lib/docusign_esign/models/recipient_saml_authentication.rb +10 -7
  352. data/lib/docusign_esign/models/recipient_signature_information.rb +11 -8
  353. data/lib/docusign_esign/models/recipient_signature_provider.rb +22 -9
  354. data/lib/docusign_esign/models/recipient_signature_provider_options.rb +52 -12
  355. data/lib/docusign_esign/models/recipient_sms_authentication.rb +24 -12
  356. data/lib/docusign_esign/models/recipient_update_response.rb +33 -9
  357. data/lib/docusign_esign/models/recipient_view_request.rb +13 -33
  358. data/lib/docusign_esign/models/recipients.rb +11 -8
  359. data/lib/docusign_esign/models/recipients_update_summary.rb +12 -8
  360. data/lib/docusign_esign/models/referral_information.rb +11 -8
  361. data/lib/docusign_esign/models/reminders.rb +11 -8
  362. data/lib/docusign_esign/models/resource_information.rb +12 -8
  363. data/lib/docusign_esign/models/return_url_request.rb +12 -8
  364. data/lib/docusign_esign/models/revision.rb +11 -7
  365. data/lib/docusign_esign/models/saml_assertion_attribute.rb +11 -7
  366. data/lib/docusign_esign/models/seal.rb +13 -9
  367. data/lib/docusign_esign/models/seal_identifier.rb +12 -8
  368. data/lib/docusign_esign/models/seal_sign.rb +154 -24
  369. data/lib/docusign_esign/models/seat_discount.rb +12 -8
  370. data/lib/docusign_esign/models/sender.rb +11 -7
  371. data/lib/docusign_esign/models/sender_email_notifications.rb +19 -15
  372. data/lib/docusign_esign/models/server_template.rb +12 -8
  373. data/lib/docusign_esign/models/service_information.rb +12 -8
  374. data/lib/docusign_esign/models/service_version.rb +12 -8
  375. data/lib/docusign_esign/models/settings_metadata.rb +12 -8
  376. data/lib/docusign_esign/models/shared_item.rb +12 -8
  377. data/lib/docusign_esign/models/sign_hash_document.rb +11 -7
  378. data/lib/docusign_esign/models/sign_hash_session_info_response.rb +11 -7
  379. data/lib/docusign_esign/models/sign_here.rb +432 -13
  380. data/lib/docusign_esign/models/sign_session_info_request.rb +11 -7
  381. data/lib/docusign_esign/models/signature_data_info.rb +11 -7
  382. data/lib/docusign_esign/models/signature_properties.rb +198 -0
  383. data/lib/docusign_esign/models/signature_provider_required_option.rb +12 -8
  384. data/lib/docusign_esign/models/signature_type.rb +12 -8
  385. data/lib/docusign_esign/models/signer.rb +236 -34
  386. data/lib/docusign_esign/models/signer_attachment.rb +422 -13
  387. data/lib/docusign_esign/models/signer_email_notifications.rb +11 -8
  388. data/lib/docusign_esign/models/signing_group.rb +12 -8
  389. data/lib/docusign_esign/models/signing_group_information.rb +12 -8
  390. data/lib/docusign_esign/models/signing_group_user.rb +12 -8
  391. data/lib/docusign_esign/models/signing_group_users.rb +12 -8
  392. data/lib/docusign_esign/models/smart_section.rb +452 -12
  393. data/lib/docusign_esign/models/smart_section_anchor_position.rb +12 -8
  394. data/lib/docusign_esign/models/smart_section_collapsible_display_settings.rb +12 -8
  395. data/lib/docusign_esign/models/smart_section_display_settings.rb +13 -19
  396. data/lib/docusign_esign/models/social_account_information.rb +12 -8
  397. data/lib/docusign_esign/models/social_authentication.rb +12 -8
  398. data/lib/docusign_esign/models/ssn.rb +575 -14
  399. data/lib/docusign_esign/models/ssn4_information_input.rb +12 -8
  400. data/lib/docusign_esign/models/ssn9_information_input.rb +12 -8
  401. data/lib/docusign_esign/models/supported_languages.rb +12 -8
  402. data/lib/docusign_esign/models/tab_account_settings.rb +19 -15
  403. data/lib/docusign_esign/models/tab_group.rb +911 -0
  404. data/lib/docusign_esign/models/tab_metadata.rb +13 -39
  405. data/lib/docusign_esign/models/tab_metadata_list.rb +12 -8
  406. data/lib/docusign_esign/models/tabs.rb +50 -10
  407. data/lib/docusign_esign/models/template_custom_fields.rb +12 -8
  408. data/lib/docusign_esign/models/template_document_visibility_list.rb +12 -8
  409. data/lib/docusign_esign/models/template_documents_result.rb +12 -8
  410. data/lib/docusign_esign/models/template_information.rb +12 -8
  411. data/lib/docusign_esign/models/template_match.rb +12 -8
  412. data/lib/docusign_esign/models/template_notification_request.rb +12 -8
  413. data/lib/docusign_esign/models/template_recipients.rb +12 -8
  414. data/lib/docusign_esign/models/template_role.rb +12 -8
  415. data/lib/docusign_esign/models/template_shared_item.rb +23 -9
  416. data/lib/docusign_esign/models/template_summary.rb +22 -9
  417. data/lib/docusign_esign/models/template_tabs.rb +50 -10
  418. data/lib/docusign_esign/models/template_update_summary.rb +23 -9
  419. data/lib/docusign_esign/models/text.rb +584 -15
  420. data/lib/docusign_esign/models/text_custom_field.rb +12 -8
  421. data/lib/docusign_esign/models/time_stamp_field.rb +11 -7
  422. data/lib/docusign_esign/models/title.rb +521 -14
  423. data/lib/docusign_esign/models/tsp_health_check_request.rb +11 -7
  424. data/lib/docusign_esign/models/tsp_health_check_status_description.rb +11 -7
  425. data/lib/docusign_esign/models/update_transaction_request.rb +11 -7
  426. data/lib/docusign_esign/models/update_transaction_response.rb +11 -7
  427. data/lib/docusign_esign/models/usage_history.rb +13 -10
  428. data/lib/docusign_esign/models/user.rb +11 -7
  429. data/lib/docusign_esign/models/user_account_management_granular_information.rb +14 -67
  430. data/lib/docusign_esign/models/user_info.rb +43 -9
  431. data/lib/docusign_esign/models/user_info_list.rb +12 -8
  432. data/lib/docusign_esign/models/user_info_response.rb +11 -7
  433. data/lib/docusign_esign/models/user_information.rb +69 -25
  434. data/lib/docusign_esign/models/user_information_list.rb +12 -8
  435. data/lib/docusign_esign/models/user_password_information.rb +12 -8
  436. data/lib/docusign_esign/models/user_password_rules.rb +12 -8
  437. data/lib/docusign_esign/models/user_profile.rb +13 -9
  438. data/lib/docusign_esign/models/user_settings_information.rb +1115 -17
  439. data/lib/docusign_esign/models/user_shared_item.rb +12 -8
  440. data/lib/docusign_esign/models/user_signature.rb +93 -9
  441. data/lib/docusign_esign/models/user_signature_definition.rb +115 -12
  442. data/lib/docusign_esign/models/user_signatures_information.rb +12 -8
  443. data/lib/docusign_esign/models/user_social_id_result.rb +12 -8
  444. data/lib/docusign_esign/models/users_response.rb +12 -8
  445. data/lib/docusign_esign/models/view.rb +457 -14
  446. data/lib/docusign_esign/models/view_url.rb +12 -8
  447. data/lib/docusign_esign/models/watermark.rb +12 -8
  448. data/lib/docusign_esign/models/witness.rb +236 -34
  449. data/lib/docusign_esign/models/workspace.rb +30 -9
  450. data/lib/docusign_esign/models/workspace_folder_contents.rb +11 -8
  451. data/lib/docusign_esign/models/workspace_item.rb +63 -12
  452. data/lib/docusign_esign/models/workspace_item_list.rb +11 -8
  453. data/lib/docusign_esign/models/workspace_list.rb +11 -8
  454. data/lib/docusign_esign/models/{recipient_proof_file.rb → workspace_settings.rb} +20 -16
  455. data/lib/docusign_esign/models/workspace_user.rb +45 -12
  456. data/lib/docusign_esign/models/workspace_user_authorization.rb +11 -8
  457. data/lib/docusign_esign/models/zip.rb +584 -14
  458. data/lib/docusign_esign/version.rb +1 -1
  459. data/lib/docusign_esign.rb +138 -60
  460. data/tests/.DS_Store +0 -0
  461. data/tests/Gemfile.lock +21 -21
  462. data/{lib/docusign_esign/api → tests/spec}/.DS_Store +0 -0
  463. data/tests/spec/unit_tests_using_jwt_spec.rb +2 -61
  464. metadata +102 -69
  465. data/docusign_esign-3.11.0.gem +0 -0
  466. data/lib/docusign_esign/.DS_Store +0 -0
  467. data/lib/docusign_esign/api/organizations_api.rb +0 -128
  468. data/lib/docusign_esign/api/signature_api.rb +0 -256
  469. data/lib/docusign_esign/api/tsps_api.rb +0 -256
  470. data/lib/docusign_esign/client/.DS_Store +0 -0
  471. data/tests/docs/private.pem +0 -27
@@ -3,7 +3,7 @@
3
3
 
4
4
  #The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign.
5
5
 
6
- OpenAPI spec version: v2
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
9
 
@@ -109,6 +109,15 @@ module DocuSign_eSign
109
109
  end
110
110
  end
111
111
 
112
+ class ListDocumentsOptions
113
+ #
114
+ attr_accessor :include_tabs
115
+
116
+ def self.default
117
+ @@default ||= ListDocumentsOptions.new
118
+ end
119
+ end
120
+
112
121
  class ListRecipientsOptions
113
122
  # When set to **true** and `include_tabs` is set to **true**, all tabs with anchor tab properties are included in the response.
114
123
  attr_accessor :include_anchor_tab_locations
@@ -140,18 +149,27 @@ module DocuSign_eSign
140
149
  # Number of records to return in the cache.
141
150
  attr_accessor :count
142
151
 
143
- # The query value can be a folder name or folder ID. The response will only return templates in the specified folder.
144
- attr_accessor :folder
152
+ #
153
+ attr_accessor :created_from_date
154
+
155
+ #
156
+ attr_accessor :created_to_date
145
157
 
146
158
  # A comma separated list of folder ID GUIDs.
147
159
  attr_accessor :folder_ids
148
160
 
161
+ #
162
+ attr_accessor :folder_types
163
+
149
164
  # Start of the search date range. Only returns templates created on or after this date/time. If no value is specified, there is no limit on the earliest date created.
150
165
  attr_accessor :from_date
151
166
 
152
167
  # A comma separated list of additional template attributes to include in the response. Valid values are: recipients, folders, documents, custom_fields, and notifications.
153
168
  attr_accessor :include
154
169
 
170
+ #
171
+ attr_accessor :is_download
172
+
155
173
  #
156
174
  attr_accessor :modified_from_date
157
175
 
@@ -164,6 +182,9 @@ module DocuSign_eSign
164
182
  # Sets the file attribute used to sort the list. Valid values are: -name: template name -modified: date/time template was last modified. -used: date/time the template was last used.
165
183
  attr_accessor :order_by
166
184
 
185
+ #
186
+ attr_accessor :search_fields
187
+
167
188
  # The search text used to search the names of templates.
168
189
  attr_accessor :search_text
169
190
 
@@ -173,6 +194,9 @@ module DocuSign_eSign
173
194
  # The starting index for the first template shown in the response. This must be greater than or equal to 0 (zero).
174
195
  attr_accessor :start_position
175
196
 
197
+ #
198
+ attr_accessor :template_ids
199
+
176
200
  # End of the search date range. Only returns templates created up to this date/time. If no value is provided, this defaults to the current date.
177
201
  attr_accessor :to_date
178
202
 
@@ -194,9 +218,6 @@ module DocuSign_eSign
194
218
  end
195
219
 
196
220
  class UpdateDocumentOptions
197
- #
198
- attr_accessor :apply_document_fields
199
-
200
221
  #
201
222
  attr_accessor :is_envelope_definition
202
223
 
@@ -205,18 +226,6 @@ module DocuSign_eSign
205
226
  end
206
227
  end
207
228
 
208
- class UpdateDocumentsOptions
209
- #
210
- attr_accessor :apply_document_fields
211
-
212
- #
213
- attr_accessor :persist_tabs
214
-
215
- def self.default
216
- @@default ||= UpdateDocumentsOptions.new
217
- end
218
- end
219
-
220
229
  class UpdateRecipientsOptions
221
230
  #
222
231
  attr_accessor :resend_envelope
@@ -260,7 +269,7 @@ module DocuSign_eSign
260
269
  # verify the required parameter 'template_id' is set
261
270
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.create_custom_fields" if template_id.nil?
262
271
  # resource path
263
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/custom_fields".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
272
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/custom_fields".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
264
273
 
265
274
  # query parameters
266
275
  query_params = {}
@@ -319,7 +328,7 @@ module DocuSign_eSign
319
328
  # verify the required parameter 'template_id' is set
320
329
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.create_document_fields" if template_id.nil?
321
330
  # resource path
322
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/fields".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
331
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/documents/{documentId}/fields".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
323
332
 
324
333
  # query parameters
325
334
  query_params = {}
@@ -374,7 +383,7 @@ module DocuSign_eSign
374
383
  # verify the required parameter 'template_id' is set
375
384
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.create_edit_view" if template_id.nil?
376
385
  # resource path
377
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/views/edit".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
386
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/views/edit".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
378
387
 
379
388
  # query parameters
380
389
  query_params = {}
@@ -429,7 +438,7 @@ module DocuSign_eSign
429
438
  # verify the required parameter 'template_id' is set
430
439
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.create_lock" if template_id.nil?
431
440
  # resource path
432
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/lock".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
441
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/lock".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
433
442
 
434
443
  # query parameters
435
444
  query_params = {}
@@ -486,7 +495,7 @@ module DocuSign_eSign
486
495
  # verify the required parameter 'template_id' is set
487
496
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.create_recipients" if template_id.nil?
488
497
  # resource path
489
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/recipients".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
498
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/recipients".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
490
499
 
491
500
  # query parameters
492
501
  query_params = {}
@@ -546,7 +555,7 @@ module DocuSign_eSign
546
555
  # verify the required parameter 'template_id' is set
547
556
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.create_tabs" if template_id.nil?
548
557
  # resource path
549
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/tabs".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'recipientId' + '}', recipient_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
558
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/tabs".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'recipientId' + '}', recipient_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
550
559
 
551
560
  # query parameters
552
561
  query_params = {}
@@ -597,7 +606,7 @@ module DocuSign_eSign
597
606
  # verify the required parameter 'account_id' is set
598
607
  fail ArgumentError, "Missing the required parameter 'account_id' when calling TemplatesApi.create_template" if account_id.nil?
599
608
  # resource path
600
- local_var_path = "/v2/accounts/{accountId}/templates".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
609
+ local_var_path = "/v2.1/accounts/{accountId}/templates".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
601
610
 
602
611
  # query parameters
603
612
  query_params = {}
@@ -656,7 +665,7 @@ module DocuSign_eSign
656
665
  # verify the required parameter 'template_id' is set
657
666
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.create_template_document_responsive_html_preview" if template_id.nil?
658
667
  # resource path
659
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/responsive_html_preview".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
668
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/documents/{documentId}/responsive_html_preview".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
660
669
 
661
670
  # query parameters
662
671
  query_params = {}
@@ -685,6 +694,120 @@ module DocuSign_eSign
685
694
  return data, status_code, headers
686
695
  end
687
696
 
697
+ # Adds the tabs to a tempate
698
+ #
699
+ # @param account_id The external account number (int) or account ID Guid.
700
+ # @param document_id The ID of the document being accessed.
701
+ # @param template_id The ID of the template being accessed.
702
+ # @param template_tabs (optional parameter)
703
+ # @return [Tabs]
704
+ def create_template_document_tabs(account_id, document_id, template_id, template_tabs)
705
+ data, _status_code, _headers = create_template_document_tabs_with_http_info(account_id, document_id, template_id, template_tabs)
706
+ return data
707
+ end
708
+
709
+ # Adds the tabs to a tempate
710
+ #
711
+ # @param account_id The external account number (int) or account ID Guid.
712
+ # @param document_id The ID of the document being accessed.
713
+ # @param template_id The ID of the template being accessed.
714
+ # @param template_tabs (optional parameter)
715
+ # @return [Array<(Tabs, Fixnum, Hash)>] Tabs data, response status code and response headers
716
+ def create_template_document_tabs_with_http_info(account_id, document_id, template_id, template_tabs)
717
+ if @api_client.config.debugging
718
+ @api_client.config.logger.debug "Calling API: TemplatesApi.create_template_document_tabs ..."
719
+ end
720
+ # verify the required parameter 'account_id' is set
721
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling TemplatesApi.create_template_document_tabs" if account_id.nil?
722
+ # verify the required parameter 'document_id' is set
723
+ fail ArgumentError, "Missing the required parameter 'document_id' when calling TemplatesApi.create_template_document_tabs" if document_id.nil?
724
+ # verify the required parameter 'template_id' is set
725
+ fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.create_template_document_tabs" if template_id.nil?
726
+ # resource path
727
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/documents/{documentId}/tabs".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
728
+
729
+ # query parameters
730
+ query_params = {}
731
+
732
+ # header parameters
733
+ header_params = {}
734
+ # HTTP header 'Accept' (if needed)
735
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
736
+
737
+ # form parameters
738
+ form_params = {}
739
+
740
+ # http body (model)
741
+ post_body = @api_client.object_to_http_body(template_tabs)
742
+ auth_names = []
743
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
744
+ :header_params => header_params,
745
+ :query_params => query_params,
746
+ :form_params => form_params,
747
+ :body => post_body,
748
+ :auth_names => auth_names,
749
+ :return_type => 'Tabs')
750
+ if @api_client.config.debugging
751
+ @api_client.config.logger.debug "API called: TemplatesApi#create_template_document_tabs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
752
+ end
753
+ return data, status_code, headers
754
+ end
755
+
756
+ # Provides a URL to start a recipient view of the Envelope UI
757
+ #
758
+ # @param account_id The external account number (int) or account ID Guid.
759
+ # @param template_id The ID of the template being accessed.
760
+ # @param recipient_preview_request (optional parameter)
761
+ # @return [ViewUrl]
762
+ def create_template_recipient_preview(account_id, template_id, recipient_preview_request)
763
+ data, _status_code, _headers = create_template_recipient_preview_with_http_info(account_id, template_id, recipient_preview_request)
764
+ return data
765
+ end
766
+
767
+ # Provides a URL to start a recipient view of the Envelope UI
768
+ #
769
+ # @param account_id The external account number (int) or account ID Guid.
770
+ # @param template_id The ID of the template being accessed.
771
+ # @param recipient_preview_request (optional parameter)
772
+ # @return [Array<(ViewUrl, Fixnum, Hash)>] ViewUrl data, response status code and response headers
773
+ def create_template_recipient_preview_with_http_info(account_id, template_id, recipient_preview_request)
774
+ if @api_client.config.debugging
775
+ @api_client.config.logger.debug "Calling API: TemplatesApi.create_template_recipient_preview ..."
776
+ end
777
+ # verify the required parameter 'account_id' is set
778
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling TemplatesApi.create_template_recipient_preview" if account_id.nil?
779
+ # verify the required parameter 'template_id' is set
780
+ fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.create_template_recipient_preview" if template_id.nil?
781
+ # resource path
782
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/views/recipient_preview".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
783
+
784
+ # query parameters
785
+ query_params = {}
786
+
787
+ # header parameters
788
+ header_params = {}
789
+ # HTTP header 'Accept' (if needed)
790
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
791
+
792
+ # form parameters
793
+ form_params = {}
794
+
795
+ # http body (model)
796
+ post_body = @api_client.object_to_http_body(recipient_preview_request)
797
+ auth_names = []
798
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
799
+ :header_params => header_params,
800
+ :query_params => query_params,
801
+ :form_params => form_params,
802
+ :body => post_body,
803
+ :auth_names => auth_names,
804
+ :return_type => 'ViewUrl')
805
+ if @api_client.config.debugging
806
+ @api_client.config.logger.debug "API called: TemplatesApi#create_template_recipient_preview\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
807
+ end
808
+ return data, status_code, headers
809
+ end
810
+
688
811
  # Get Responsive HTML Preview for all documents in a template.
689
812
  #
690
813
  # @param account_id The external account number (int) or account ID Guid.
@@ -711,7 +834,7 @@ module DocuSign_eSign
711
834
  # verify the required parameter 'template_id' is set
712
835
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.create_template_responsive_html_preview" if template_id.nil?
713
836
  # resource path
714
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/responsive_html_preview".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
837
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/responsive_html_preview".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
715
838
 
716
839
  # query parameters
717
840
  query_params = {}
@@ -768,7 +891,7 @@ module DocuSign_eSign
768
891
  # verify the required parameter 'template_id' is set
769
892
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.delete_bulk_recipients" if template_id.nil?
770
893
  # resource path
771
- local_var_path = "/v2/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)
894
+ 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)
772
895
 
773
896
  # query parameters
774
897
  query_params = {}
@@ -823,7 +946,7 @@ module DocuSign_eSign
823
946
  # verify the required parameter 'template_id' is set
824
947
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.delete_custom_fields" if template_id.nil?
825
948
  # resource path
826
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/custom_fields".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
949
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/custom_fields".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
827
950
 
828
951
  # query parameters
829
952
  query_params = {}
@@ -882,7 +1005,7 @@ module DocuSign_eSign
882
1005
  # verify the required parameter 'template_id' is set
883
1006
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.delete_document_fields" if template_id.nil?
884
1007
  # resource path
885
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/fields".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1008
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/documents/{documentId}/fields".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
886
1009
 
887
1010
  # query parameters
888
1011
  query_params = {}
@@ -945,7 +1068,7 @@ module DocuSign_eSign
945
1068
  # verify the required parameter 'template_id' is set
946
1069
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.delete_document_page" if template_id.nil?
947
1070
  # resource path
948
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/pages/{pageNumber}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'pageNumber' + '}', page_number.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1071
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/documents/{documentId}/pages/{pageNumber}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'pageNumber' + '}', page_number.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
949
1072
 
950
1073
  # query parameters
951
1074
  query_params = {}
@@ -999,7 +1122,7 @@ module DocuSign_eSign
999
1122
  # verify the required parameter 'template_id' is set
1000
1123
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.delete_documents" if template_id.nil?
1001
1124
  # resource path
1002
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/documents".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1125
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/documents".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1003
1126
 
1004
1127
  # query parameters
1005
1128
  query_params = {}
@@ -1058,7 +1181,7 @@ module DocuSign_eSign
1058
1181
  # verify the required parameter 'template_part' is set
1059
1182
  fail ArgumentError, "Missing the required parameter 'template_part' when calling TemplatesApi.delete_group_share" if template_part.nil?
1060
1183
  # resource path
1061
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/{templatePart}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s).sub('{' + 'templatePart' + '}', template_part.to_s)
1184
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/{templatePart}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s).sub('{' + 'templatePart' + '}', template_part.to_s)
1062
1185
 
1063
1186
  # query parameters
1064
1187
  query_params = {}
@@ -1113,7 +1236,7 @@ module DocuSign_eSign
1113
1236
  # verify the required parameter 'template_id' is set
1114
1237
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.delete_lock" if template_id.nil?
1115
1238
  # resource path
1116
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/lock".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1239
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/lock".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1117
1240
 
1118
1241
  # query parameters
1119
1242
  query_params = {}
@@ -1172,7 +1295,7 @@ module DocuSign_eSign
1172
1295
  # verify the required parameter 'template_id' is set
1173
1296
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.delete_recipient" if template_id.nil?
1174
1297
  # resource path
1175
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'recipientId' + '}', recipient_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1298
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'recipientId' + '}', recipient_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1176
1299
 
1177
1300
  # query parameters
1178
1301
  query_params = {}
@@ -1227,7 +1350,7 @@ module DocuSign_eSign
1227
1350
  # verify the required parameter 'template_id' is set
1228
1351
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.delete_recipients" if template_id.nil?
1229
1352
  # resource path
1230
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/recipients".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1353
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/recipients".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1231
1354
 
1232
1355
  # query parameters
1233
1356
  query_params = {}
@@ -1286,7 +1409,7 @@ module DocuSign_eSign
1286
1409
  # verify the required parameter 'template_id' is set
1287
1410
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.delete_tabs" if template_id.nil?
1288
1411
  # resource path
1289
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/tabs".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'recipientId' + '}', recipient_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1412
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/tabs".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'recipientId' + '}', recipient_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1290
1413
 
1291
1414
  # query parameters
1292
1415
  query_params = {}
@@ -1315,6 +1438,65 @@ module DocuSign_eSign
1315
1438
  return data, status_code, headers
1316
1439
  end
1317
1440
 
1441
+ # Deletes tabs from an envelope document
1442
+ #
1443
+ # @param account_id The external account number (int) or account ID Guid.
1444
+ # @param document_id The ID of the document being accessed.
1445
+ # @param template_id The ID of the template being accessed.
1446
+ # @param template_tabs (optional parameter)
1447
+ # @return [Tabs]
1448
+ def delete_template_document_tabs(account_id, document_id, template_id, template_tabs)
1449
+ data, _status_code, _headers = delete_template_document_tabs_with_http_info(account_id, document_id, template_id, template_tabs)
1450
+ return data
1451
+ end
1452
+
1453
+ # Deletes tabs from an envelope document
1454
+ #
1455
+ # @param account_id The external account number (int) or account ID Guid.
1456
+ # @param document_id The ID of the document being accessed.
1457
+ # @param template_id The ID of the template being accessed.
1458
+ # @param template_tabs (optional parameter)
1459
+ # @return [Array<(Tabs, Fixnum, Hash)>] Tabs data, response status code and response headers
1460
+ def delete_template_document_tabs_with_http_info(account_id, document_id, template_id, template_tabs)
1461
+ if @api_client.config.debugging
1462
+ @api_client.config.logger.debug "Calling API: TemplatesApi.delete_template_document_tabs ..."
1463
+ end
1464
+ # verify the required parameter 'account_id' is set
1465
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling TemplatesApi.delete_template_document_tabs" if account_id.nil?
1466
+ # verify the required parameter 'document_id' is set
1467
+ fail ArgumentError, "Missing the required parameter 'document_id' when calling TemplatesApi.delete_template_document_tabs" if document_id.nil?
1468
+ # verify the required parameter 'template_id' is set
1469
+ fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.delete_template_document_tabs" if template_id.nil?
1470
+ # resource path
1471
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/documents/{documentId}/tabs".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1472
+
1473
+ # query parameters
1474
+ query_params = {}
1475
+
1476
+ # header parameters
1477
+ header_params = {}
1478
+ # HTTP header 'Accept' (if needed)
1479
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1480
+
1481
+ # form parameters
1482
+ form_params = {}
1483
+
1484
+ # http body (model)
1485
+ post_body = @api_client.object_to_http_body(template_tabs)
1486
+ auth_names = []
1487
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
1488
+ :header_params => header_params,
1489
+ :query_params => query_params,
1490
+ :form_params => form_params,
1491
+ :body => post_body,
1492
+ :auth_names => auth_names,
1493
+ :return_type => 'Tabs')
1494
+ if @api_client.config.debugging
1495
+ @api_client.config.logger.debug "API called: TemplatesApi#delete_template_document_tabs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1496
+ end
1497
+ return data, status_code, headers
1498
+ end
1499
+
1318
1500
  # Gets a list of templates for a specified account.
1319
1501
  # Retrieves the definition of the specified template.
1320
1502
  # @param account_id The external account number (int) or account ID Guid.
@@ -1341,7 +1523,7 @@ module DocuSign_eSign
1341
1523
  # verify the required parameter 'template_id' is set
1342
1524
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.get" if template_id.nil?
1343
1525
  # resource path
1344
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1526
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1345
1527
 
1346
1528
  # query parameters
1347
1529
  query_params = {}
@@ -1401,7 +1583,7 @@ module DocuSign_eSign
1401
1583
  # verify the required parameter 'template_id' is set
1402
1584
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.get_document" if template_id.nil?
1403
1585
  # resource path
1404
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1586
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/documents/{documentId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1405
1587
 
1406
1588
  # query parameters
1407
1589
  query_params = {}
@@ -1466,7 +1648,7 @@ module DocuSign_eSign
1466
1648
  # verify the required parameter 'template_id' is set
1467
1649
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.get_document_page_image" if template_id.nil?
1468
1650
  # resource path
1469
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/pages/{pageNumber}/page_image".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'pageNumber' + '}', page_number.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1651
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/documents/{documentId}/pages/{pageNumber}/page_image".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'pageNumber' + '}', page_number.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1470
1652
 
1471
1653
  # query parameters
1472
1654
  query_params = {}
@@ -1529,7 +1711,7 @@ module DocuSign_eSign
1529
1711
  # verify the required parameter 'template_id' is set
1530
1712
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.get_document_tabs" if template_id.nil?
1531
1713
  # resource path
1532
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/tabs".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1714
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/documents/{documentId}/tabs".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1533
1715
 
1534
1716
  # query parameters
1535
1717
  query_params = {}
@@ -1583,7 +1765,7 @@ module DocuSign_eSign
1583
1765
  # verify the required parameter 'template_id' is set
1584
1766
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.get_lock" if template_id.nil?
1585
1767
  # resource path
1586
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/lock".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1768
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/lock".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1587
1769
 
1588
1770
  # query parameters
1589
1771
  query_params = {}
@@ -1636,7 +1818,7 @@ module DocuSign_eSign
1636
1818
  # verify the required parameter 'template_id' is set
1637
1819
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.get_notification_settings" if template_id.nil?
1638
1820
  # resource path
1639
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/notification".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1821
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/notification".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1640
1822
 
1641
1823
  # query parameters
1642
1824
  query_params = {}
@@ -1697,7 +1879,7 @@ module DocuSign_eSign
1697
1879
  # verify the required parameter 'template_id' is set
1698
1880
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.get_page_tabs" if template_id.nil?
1699
1881
  # resource path
1700
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/pages/{pageNumber}/tabs".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'pageNumber' + '}', page_number.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1882
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/documents/{documentId}/pages/{pageNumber}/tabs".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'pageNumber' + '}', page_number.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1701
1883
 
1702
1884
  # query parameters
1703
1885
  query_params = {}
@@ -1756,7 +1938,7 @@ module DocuSign_eSign
1756
1938
  # verify the required parameter 'template_id' is set
1757
1939
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.get_pages" if template_id.nil?
1758
1940
  # resource path
1759
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/pages".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1941
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/documents/{documentId}/pages".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1760
1942
 
1761
1943
  # query parameters
1762
1944
  query_params = {}
@@ -1820,7 +2002,7 @@ module DocuSign_eSign
1820
2002
  # verify the required parameter 'template_id' is set
1821
2003
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.get_template_document_html_definitions" if template_id.nil?
1822
2004
  # resource path
1823
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/html_definitions".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2005
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/documents/{documentId}/html_definitions".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1824
2006
 
1825
2007
  # query parameters
1826
2008
  query_params = {}
@@ -1873,7 +2055,7 @@ module DocuSign_eSign
1873
2055
  # verify the required parameter 'template_id' is set
1874
2056
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.get_template_html_definitions" if template_id.nil?
1875
2057
  # resource path
1876
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/html_definitions".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2058
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/html_definitions".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1877
2059
 
1878
2060
  # query parameters
1879
2061
  query_params = {}
@@ -1932,7 +2114,7 @@ module DocuSign_eSign
1932
2114
  # verify the required parameter 'template_id' is set
1933
2115
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.list_bulk_recipients" if template_id.nil?
1934
2116
  # resource path
1935
- local_var_path = "/v2/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)
2117
+ 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)
1936
2118
 
1937
2119
  # query parameters
1938
2120
  query_params = {}
@@ -1987,7 +2169,7 @@ module DocuSign_eSign
1987
2169
  # verify the required parameter 'template_id' is set
1988
2170
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.list_custom_fields" if template_id.nil?
1989
2171
  # resource path
1990
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/custom_fields".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2172
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/custom_fields".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
1991
2173
 
1992
2174
  # query parameters
1993
2175
  query_params = {}
@@ -2044,7 +2226,7 @@ module DocuSign_eSign
2044
2226
  # verify the required parameter 'template_id' is set
2045
2227
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.list_document_fields" if template_id.nil?
2046
2228
  # resource path
2047
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/fields".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2229
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/documents/{documentId}/fields".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2048
2230
 
2049
2231
  # query parameters
2050
2232
  query_params = {}
@@ -2077,9 +2259,10 @@ module DocuSign_eSign
2077
2259
  # Retrieves a list of documents associated with the specified template.
2078
2260
  # @param account_id The external account number (int) or account ID Guid.
2079
2261
  # @param template_id The ID of the template being accessed.
2262
+ # @param DocuSign_eSign::ListDocumentsOptions Options for modifying the behavior of the function.
2080
2263
  # @return [TemplateDocumentsResult]
2081
- def list_documents(account_id, template_id)
2082
- data, _status_code, _headers = list_documents_with_http_info(account_id, template_id)
2264
+ def list_documents(account_id, template_id, options = DocuSign_eSign::ListDocumentsOptions.default)
2265
+ data, _status_code, _headers = list_documents_with_http_info(account_id, template_id, options)
2083
2266
  return data
2084
2267
  end
2085
2268
 
@@ -2087,8 +2270,9 @@ module DocuSign_eSign
2087
2270
  # Retrieves a list of documents associated with the specified template.
2088
2271
  # @param account_id The external account number (int) or account ID Guid.
2089
2272
  # @param template_id The ID of the template being accessed.
2273
+ # @param DocuSign_eSign::ListDocumentsOptions Options for modifying the behavior of the function.
2090
2274
  # @return [Array<(TemplateDocumentsResult, Fixnum, Hash)>] TemplateDocumentsResult data, response status code and response headers
2091
- def list_documents_with_http_info(account_id, template_id)
2275
+ def list_documents_with_http_info(account_id, template_id, options = DocuSign_eSign::ListDocumentsOptions.default)
2092
2276
  if @api_client.config.debugging
2093
2277
  @api_client.config.logger.debug "Calling API: TemplatesApi.list_documents ..."
2094
2278
  end
@@ -2097,10 +2281,11 @@ module DocuSign_eSign
2097
2281
  # verify the required parameter 'template_id' is set
2098
2282
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.list_documents" if template_id.nil?
2099
2283
  # resource path
2100
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/documents".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2284
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/documents".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2101
2285
 
2102
2286
  # query parameters
2103
2287
  query_params = {}
2288
+ query_params[:'include_tabs'] = options.include_tabs if !options.include_tabs.nil?
2104
2289
 
2105
2290
  # header parameters
2106
2291
  header_params = {}
@@ -2152,7 +2337,7 @@ module DocuSign_eSign
2152
2337
  # verify the required parameter 'template_id' is set
2153
2338
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.list_recipients" if template_id.nil?
2154
2339
  # resource path
2155
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/recipients".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2340
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/recipients".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2156
2341
 
2157
2342
  # query parameters
2158
2343
  query_params = {}
@@ -2214,7 +2399,7 @@ module DocuSign_eSign
2214
2399
  # verify the required parameter 'template_id' is set
2215
2400
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.list_tabs" if template_id.nil?
2216
2401
  # resource path
2217
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/tabs".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'recipientId' + '}', recipient_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2402
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/tabs".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'recipientId' + '}', recipient_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2218
2403
 
2219
2404
  # query parameters
2220
2405
  query_params = {}
@@ -2267,22 +2452,27 @@ module DocuSign_eSign
2267
2452
  # verify the required parameter 'account_id' is set
2268
2453
  fail ArgumentError, "Missing the required parameter 'account_id' when calling TemplatesApi.list_templates" if account_id.nil?
2269
2454
  # resource path
2270
- local_var_path = "/v2/accounts/{accountId}/templates".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
2455
+ local_var_path = "/v2.1/accounts/{accountId}/templates".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s)
2271
2456
 
2272
2457
  # query parameters
2273
2458
  query_params = {}
2274
2459
  query_params[:'count'] = options.count if !options.count.nil?
2275
- query_params[:'folder'] = options.folder if !options.folder.nil?
2460
+ query_params[:'created_from_date'] = options.created_from_date if !options.created_from_date.nil?
2461
+ query_params[:'created_to_date'] = options.created_to_date if !options.created_to_date.nil?
2276
2462
  query_params[:'folder_ids'] = options.folder_ids if !options.folder_ids.nil?
2463
+ query_params[:'folder_types'] = options.folder_types if !options.folder_types.nil?
2277
2464
  query_params[:'from_date'] = options.from_date if !options.from_date.nil?
2278
2465
  query_params[:'include'] = options.include if !options.include.nil?
2466
+ query_params[:'is_download'] = options.is_download if !options.is_download.nil?
2279
2467
  query_params[:'modified_from_date'] = options.modified_from_date if !options.modified_from_date.nil?
2280
2468
  query_params[:'modified_to_date'] = options.modified_to_date if !options.modified_to_date.nil?
2281
2469
  query_params[:'order'] = options.order if !options.order.nil?
2282
2470
  query_params[:'order_by'] = options.order_by if !options.order_by.nil?
2471
+ query_params[:'search_fields'] = options.search_fields if !options.search_fields.nil?
2283
2472
  query_params[:'search_text'] = options.search_text if !options.search_text.nil?
2284
2473
  query_params[:'shared_by_me'] = options.shared_by_me if !options.shared_by_me.nil?
2285
2474
  query_params[:'start_position'] = options.start_position if !options.start_position.nil?
2475
+ query_params[:'template_ids'] = options.template_ids if !options.template_ids.nil?
2286
2476
  query_params[:'to_date'] = options.to_date if !options.to_date.nil?
2287
2477
  query_params[:'used_from_date'] = options.used_from_date if !options.used_from_date.nil?
2288
2478
  query_params[:'used_to_date'] = options.used_to_date if !options.used_to_date.nil?
@@ -2347,7 +2537,7 @@ module DocuSign_eSign
2347
2537
  # verify the required parameter 'template_id' is set
2348
2538
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.rotate_document_page" if template_id.nil?
2349
2539
  # resource path
2350
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/pages/{pageNumber}/page_image".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'pageNumber' + '}', page_number.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2540
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/documents/{documentId}/pages/{pageNumber}/page_image".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'pageNumber' + '}', page_number.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2351
2541
 
2352
2542
  # query parameters
2353
2543
  query_params = {}
@@ -2401,7 +2591,7 @@ module DocuSign_eSign
2401
2591
  # verify the required parameter 'template_id' is set
2402
2592
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.update" if template_id.nil?
2403
2593
  # resource path
2404
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2594
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2405
2595
 
2406
2596
  # query parameters
2407
2597
  query_params = {}
@@ -2460,7 +2650,7 @@ module DocuSign_eSign
2460
2650
  # verify the required parameter 'template_id' is set
2461
2651
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.update_bulk_recipients" if template_id.nil?
2462
2652
  # resource path
2463
- local_var_path = "/v2/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)
2653
+ 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)
2464
2654
 
2465
2655
  # query parameters
2466
2656
  query_params = {}
@@ -2515,7 +2705,7 @@ module DocuSign_eSign
2515
2705
  # verify the required parameter 'template_id' is set
2516
2706
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.update_custom_fields" if template_id.nil?
2517
2707
  # resource path
2518
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/custom_fields".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2708
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/custom_fields".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2519
2709
 
2520
2710
  # query parameters
2521
2711
  query_params = {}
@@ -2576,11 +2766,10 @@ module DocuSign_eSign
2576
2766
  # verify the required parameter 'template_id' is set
2577
2767
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.update_document" if template_id.nil?
2578
2768
  # resource path
2579
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2769
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/documents/{documentId}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2580
2770
 
2581
2771
  # query parameters
2582
2772
  query_params = {}
2583
- query_params[:'apply_document_fields'] = options.apply_document_fields if !options.apply_document_fields.nil?
2584
2773
  query_params[:'is_envelope_definition'] = options.is_envelope_definition if !options.is_envelope_definition.nil?
2585
2774
 
2586
2775
  # header parameters
@@ -2637,7 +2826,7 @@ module DocuSign_eSign
2637
2826
  # verify the required parameter 'template_id' is set
2638
2827
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.update_document_fields" if template_id.nil?
2639
2828
  # resource path
2640
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/documents/{documentId}/fields".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2829
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/documents/{documentId}/fields".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2641
2830
 
2642
2831
  # query parameters
2643
2832
  query_params = {}
@@ -2671,10 +2860,9 @@ module DocuSign_eSign
2671
2860
  # @param account_id The external account number (int) or account ID Guid.
2672
2861
  # @param template_id The ID of the template being accessed.
2673
2862
  # @param envelope_definition (optional parameter)
2674
- # @param DocuSign_eSign::UpdateDocumentsOptions Options for modifying the behavior of the function.
2675
2863
  # @return [TemplateDocumentsResult]
2676
- def update_documents(account_id, template_id, envelope_definition, options = DocuSign_eSign::UpdateDocumentsOptions.default)
2677
- data, _status_code, _headers = update_documents_with_http_info(account_id, template_id, envelope_definition, options)
2864
+ def update_documents(account_id, template_id, envelope_definition)
2865
+ data, _status_code, _headers = update_documents_with_http_info(account_id, template_id, envelope_definition)
2678
2866
  return data
2679
2867
  end
2680
2868
 
@@ -2683,9 +2871,8 @@ module DocuSign_eSign
2683
2871
  # @param account_id The external account number (int) or account ID Guid.
2684
2872
  # @param template_id The ID of the template being accessed.
2685
2873
  # @param envelope_definition (optional parameter)
2686
- # @param DocuSign_eSign::UpdateDocumentsOptions Options for modifying the behavior of the function.
2687
2874
  # @return [Array<(TemplateDocumentsResult, Fixnum, Hash)>] TemplateDocumentsResult data, response status code and response headers
2688
- def update_documents_with_http_info(account_id, template_id, envelope_definition, options = DocuSign_eSign::UpdateDocumentsOptions.default)
2875
+ def update_documents_with_http_info(account_id, template_id, envelope_definition)
2689
2876
  if @api_client.config.debugging
2690
2877
  @api_client.config.logger.debug "Calling API: TemplatesApi.update_documents ..."
2691
2878
  end
@@ -2694,12 +2881,10 @@ module DocuSign_eSign
2694
2881
  # verify the required parameter 'template_id' is set
2695
2882
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.update_documents" if template_id.nil?
2696
2883
  # resource path
2697
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/documents".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2884
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/documents".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2698
2885
 
2699
2886
  # query parameters
2700
2887
  query_params = {}
2701
- query_params[:'apply_document_fields'] = options.apply_document_fields if !options.apply_document_fields.nil?
2702
- query_params[:'persist_tabs'] = options.persist_tabs if !options.persist_tabs.nil?
2703
2888
 
2704
2889
  # header parameters
2705
2890
  header_params = {}
@@ -2755,7 +2940,7 @@ module DocuSign_eSign
2755
2940
  # verify the required parameter 'template_part' is set
2756
2941
  fail ArgumentError, "Missing the required parameter 'template_part' when calling TemplatesApi.update_group_share" if template_part.nil?
2757
2942
  # resource path
2758
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/{templatePart}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s).sub('{' + 'templatePart' + '}', template_part.to_s)
2943
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/{templatePart}".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s).sub('{' + 'templatePart' + '}', template_part.to_s)
2759
2944
 
2760
2945
  # query parameters
2761
2946
  query_params = {}
@@ -2810,7 +2995,7 @@ module DocuSign_eSign
2810
2995
  # verify the required parameter 'template_id' is set
2811
2996
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.update_lock" if template_id.nil?
2812
2997
  # resource path
2813
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/lock".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2998
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/lock".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2814
2999
 
2815
3000
  # query parameters
2816
3001
  query_params = {}
@@ -2865,7 +3050,7 @@ module DocuSign_eSign
2865
3050
  # verify the required parameter 'template_id' is set
2866
3051
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.update_notification_settings" if template_id.nil?
2867
3052
  # resource path
2868
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/notification".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
3053
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/notification".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2869
3054
 
2870
3055
  # query parameters
2871
3056
  query_params = {}
@@ -2922,7 +3107,7 @@ module DocuSign_eSign
2922
3107
  # verify the required parameter 'template_id' is set
2923
3108
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.update_recipients" if template_id.nil?
2924
3109
  # resource path
2925
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/recipients".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
3110
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/recipients".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2926
3111
 
2927
3112
  # query parameters
2928
3113
  query_params = {}
@@ -2982,7 +3167,7 @@ module DocuSign_eSign
2982
3167
  # verify the required parameter 'template_id' is set
2983
3168
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.update_tabs" if template_id.nil?
2984
3169
  # resource path
2985
- local_var_path = "/v2/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/tabs".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'recipientId' + '}', recipient_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
3170
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/tabs".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'recipientId' + '}', recipient_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
2986
3171
 
2987
3172
  # query parameters
2988
3173
  query_params = {}
@@ -3010,5 +3195,64 @@ module DocuSign_eSign
3010
3195
  end
3011
3196
  return data, status_code, headers
3012
3197
  end
3198
+
3199
+ # Updates the tabs for a template
3200
+ #
3201
+ # @param account_id The external account number (int) or account ID Guid.
3202
+ # @param document_id The ID of the document being accessed.
3203
+ # @param template_id The ID of the template being accessed.
3204
+ # @param template_tabs (optional parameter)
3205
+ # @return [Tabs]
3206
+ def update_template_document_tabs(account_id, document_id, template_id, template_tabs)
3207
+ data, _status_code, _headers = update_template_document_tabs_with_http_info(account_id, document_id, template_id, template_tabs)
3208
+ return data
3209
+ end
3210
+
3211
+ # Updates the tabs for a template
3212
+ #
3213
+ # @param account_id The external account number (int) or account ID Guid.
3214
+ # @param document_id The ID of the document being accessed.
3215
+ # @param template_id The ID of the template being accessed.
3216
+ # @param template_tabs (optional parameter)
3217
+ # @return [Array<(Tabs, Fixnum, Hash)>] Tabs data, response status code and response headers
3218
+ def update_template_document_tabs_with_http_info(account_id, document_id, template_id, template_tabs)
3219
+ if @api_client.config.debugging
3220
+ @api_client.config.logger.debug "Calling API: TemplatesApi.update_template_document_tabs ..."
3221
+ end
3222
+ # verify the required parameter 'account_id' is set
3223
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling TemplatesApi.update_template_document_tabs" if account_id.nil?
3224
+ # verify the required parameter 'document_id' is set
3225
+ fail ArgumentError, "Missing the required parameter 'document_id' when calling TemplatesApi.update_template_document_tabs" if document_id.nil?
3226
+ # verify the required parameter 'template_id' is set
3227
+ fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplatesApi.update_template_document_tabs" if template_id.nil?
3228
+ # resource path
3229
+ local_var_path = "/v2.1/accounts/{accountId}/templates/{templateId}/documents/{documentId}/tabs".sub('{format}','json').sub('{' + 'accountId' + '}', account_id.to_s).sub('{' + 'documentId' + '}', document_id.to_s).sub('{' + 'templateId' + '}', template_id.to_s)
3230
+
3231
+ # query parameters
3232
+ query_params = {}
3233
+
3234
+ # header parameters
3235
+ header_params = {}
3236
+ # HTTP header 'Accept' (if needed)
3237
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3238
+
3239
+ # form parameters
3240
+ form_params = {}
3241
+
3242
+ # http body (model)
3243
+ post_body = @api_client.object_to_http_body(template_tabs)
3244
+ auth_names = []
3245
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
3246
+ :header_params => header_params,
3247
+ :query_params => query_params,
3248
+ :form_params => form_params,
3249
+ :body => post_body,
3250
+ :auth_names => auth_names,
3251
+ :return_type => 'Tabs')
3252
+ if @api_client.config.debugging
3253
+ @api_client.config.logger.debug "API called: TemplatesApi#update_template_document_tabs\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3254
+ end
3255
+ return data, status_code, headers
3256
+ end
3013
3257
  end
3014
- end
3258
+ end