signwell_sdk 0.1.2 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (291) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +3 -3
  3. data/.github/workflows/generator-ownership.yml +1 -1
  4. data/.github/workflows/manual-release.yml +1 -1
  5. data/.github/workflows/release.yml +1 -1
  6. data/.release-please-manifest.json +1 -1
  7. data/CHANGELOG.md +20 -0
  8. data/Gemfile.lock +16 -12
  9. data/README.md +11 -0
  10. data/docs/AdditionalFieldsInnerInner.md +4 -0
  11. data/docs/BulkSendCsvRequest.md +1 -1
  12. data/docs/ConditionalLogicDecisionInfo.md +26 -0
  13. data/docs/ConditionalRuleInfo.md +26 -0
  14. data/docs/ConditionalRuleInfoConditionsInner.md +26 -0
  15. data/docs/ConditionalRuleRequest.md +28 -0
  16. data/docs/ConditionalRuleRequestConditionsInner.md +26 -0
  17. data/docs/CopiedPlaceholdersInner.md +1 -1
  18. data/docs/CreateBulkSendRequest.md +2 -2
  19. data/docs/DocumentApi.md +82 -8
  20. data/docs/DocumentFromTemplateRequest.md +11 -3
  21. data/docs/DocumentFromTemplateResponse.md +11 -1
  22. data/docs/DocumentFromTemplateResponseFieldsInnerInner.md +4 -0
  23. data/docs/DocumentFromTemplateResponseRecipientsInner.md +6 -0
  24. data/docs/DocumentRequest.md +10 -4
  25. data/docs/DocumentResponse.md +11 -1
  26. data/docs/DocumentResponseFieldsInnerInner.md +4 -0
  27. data/docs/DocumentResponseRecipientsInner.md +6 -0
  28. data/docs/DocumentResponseRecipientsInnerPasscodeDelivery.md +22 -0
  29. data/docs/DocumentResponseRecipientsInnerSms.md +30 -0
  30. data/docs/DocumentTemplateRequest.md +5 -3
  31. data/docs/DocumentTemplateResponse.md +3 -1
  32. data/docs/DocumentTemplateResponsePlaceholdersInner.md +3 -1
  33. data/docs/DocumentTemplateUpdateRequest.md +5 -3
  34. data/docs/EmbeddedBranding.md +18 -0
  35. data/docs/EmbeddedBrandingBranding.md +26 -0
  36. data/docs/EmbeddedBrandingRequest.md +26 -0
  37. data/docs/EmbeddedBrandingRequestCompanyLogo.md +20 -0
  38. data/docs/EmbeddedRequest.md +18 -0
  39. data/docs/FieldsInnerInner.md +4 -0
  40. data/docs/PlaceholdersInner.md +4 -2
  41. data/docs/PlaceholdersInnerPasscodeDelivery.md +22 -0
  42. data/docs/RecipientsInner.md +14 -4
  43. data/docs/RecipientsInnerPasscodeDelivery.md +22 -0
  44. data/docs/ReminderRecipientsInner.md +1 -1
  45. data/docs/SendReminderRequest.md +1 -1
  46. data/docs/TemplateFieldsInnerInner.md +4 -0
  47. data/docs/TemplateRecipientsInner.md +14 -4
  48. data/docs/UpdateAuthenticationRequest.md +18 -0
  49. data/docs/UpdateAuthenticationRequestRecipientsInner.md +22 -0
  50. data/docs/UpdateDocumentAndSendRequest.md +9 -3
  51. data/docs/UpdateRecipientsMapInner.md +4 -2
  52. data/docs/UpdateRecipientsMapInnerPasscodeDelivery.md +22 -0
  53. data/docs/WebhooksApi.md +1 -1
  54. data/lib/signwell_sdk/api/api_application_api.rb +1 -2
  55. data/lib/signwell_sdk/api/bulk_send_api.rb +1 -2
  56. data/lib/signwell_sdk/api/document_api.rb +87 -14
  57. data/lib/signwell_sdk/api/me_api.rb +1 -2
  58. data/lib/signwell_sdk/api/regional_api.rb +1 -2
  59. data/lib/signwell_sdk/api/template_api.rb +1 -2
  60. data/lib/signwell_sdk/api/webhooks_api.rb +3 -4
  61. data/lib/signwell_sdk/api_client.rb +26 -6
  62. data/lib/signwell_sdk/api_error.rb +1 -2
  63. data/lib/signwell_sdk/api_model_base.rb +88 -0
  64. data/lib/signwell_sdk/configuration.rb +1 -1
  65. data/lib/signwell_sdk/extras/rate_limit.rb +17 -0
  66. data/lib/signwell_sdk/models/account_info_response.rb +1 -2
  67. data/lib/signwell_sdk/models/account_info_response_active_users_inner.rb +1 -2
  68. data/lib/signwell_sdk/models/account_info_response_preferences.rb +1 -2
  69. data/lib/signwell_sdk/models/additional_fields_inner_inner.rb +24 -3
  70. data/lib/signwell_sdk/models/additional_fields_inner_inner_value.rb +3 -4
  71. data/lib/signwell_sdk/models/additional_files_inner.rb +1 -2
  72. data/lib/signwell_sdk/models/api_application_response.rb +1 -2
  73. data/lib/signwell_sdk/models/api_application_response_owner.rb +1 -2
  74. data/lib/signwell_sdk/models/api_application_response_preferences.rb +1 -2
  75. data/lib/signwell_sdk/models/attachment_request_info.rb +1 -2
  76. data/lib/signwell_sdk/models/attachment_requests_inner.rb +1 -2
  77. data/lib/signwell_sdk/models/bulk_send_create_response.rb +1 -2
  78. data/lib/signwell_sdk/models/bulk_send_csv_request.rb +2 -3
  79. data/lib/signwell_sdk/models/bulk_send_csv_template_response.rb +1 -2
  80. data/lib/signwell_sdk/models/bulk_send_documents_response.rb +1 -2
  81. data/lib/signwell_sdk/models/bulk_send_list_item.rb +1 -2
  82. data/lib/signwell_sdk/models/bulk_send_list_response.rb +1 -2
  83. data/lib/signwell_sdk/models/bulk_send_response.rb +1 -2
  84. data/lib/signwell_sdk/models/bulk_send_response_templates_inner.rb +1 -2
  85. data/lib/signwell_sdk/models/bulk_send_validate_csv_response.rb +1 -2
  86. data/lib/signwell_sdk/models/checkbox_group_info.rb +1 -2
  87. data/lib/signwell_sdk/models/checkbox_groups_inner.rb +1 -2
  88. data/lib/signwell_sdk/models/checkbox_validation.rb +4 -3
  89. data/lib/signwell_sdk/models/completed_pdf_response.rb +3 -4
  90. data/lib/signwell_sdk/models/completed_pdf_url_response.rb +1 -2
  91. data/lib/signwell_sdk/models/conditional_logic_decision_info.rb +365 -0
  92. data/lib/signwell_sdk/models/conditional_rule_info.rb +351 -0
  93. data/lib/signwell_sdk/models/conditional_rule_info_conditions_inner.rb +340 -0
  94. data/lib/signwell_sdk/models/conditional_rule_request.rb +322 -0
  95. data/lib/signwell_sdk/models/conditional_rule_request_conditions_inner.rb +371 -0
  96. data/lib/signwell_sdk/models/copied_contact_info.rb +1 -2
  97. data/lib/signwell_sdk/models/copied_contacts_inner.rb +1 -2
  98. data/lib/signwell_sdk/models/copied_placeholders_inner.rb +2 -3
  99. data/lib/signwell_sdk/models/create_bulk_send_request.rb +3 -4
  100. data/lib/signwell_sdk/models/create_webhook_request.rb +1 -2
  101. data/lib/signwell_sdk/models/date_format.rb +4 -3
  102. data/lib/signwell_sdk/models/detailed_option.rb +1 -2
  103. data/lib/signwell_sdk/models/document_from_template_request.rb +90 -6
  104. data/lib/signwell_sdk/models/document_from_template_response.rb +101 -6
  105. data/lib/signwell_sdk/models/document_from_template_response_fields_inner_inner.rb +24 -3
  106. data/lib/signwell_sdk/models/document_from_template_response_fields_inner_inner_recipient.rb +1 -2
  107. data/lib/signwell_sdk/models/document_from_template_response_recipients_inner.rb +71 -3
  108. data/lib/signwell_sdk/models/document_list_response.rb +1 -2
  109. data/lib/signwell_sdk/models/document_request.rb +42 -7
  110. data/lib/signwell_sdk/models/document_response.rb +101 -6
  111. data/lib/signwell_sdk/models/document_response_attachment_requests_inner.rb +1 -2
  112. data/lib/signwell_sdk/models/document_response_fields_inner_inner.rb +24 -3
  113. data/lib/signwell_sdk/models/document_response_fields_inner_inner_options_inner.rb +1 -2
  114. data/lib/signwell_sdk/models/document_response_fields_inner_inner_recipient.rb +1 -2
  115. data/lib/signwell_sdk/models/document_response_fields_inner_inner_value.rb +3 -4
  116. data/lib/signwell_sdk/models/document_response_recipients_inner.rb +71 -3
  117. data/lib/signwell_sdk/models/document_response_recipients_inner_passcode_delivery.rb +246 -0
  118. data/lib/signwell_sdk/models/document_response_recipients_inner_sms.rb +292 -0
  119. data/lib/signwell_sdk/models/document_template_list_response.rb +1 -2
  120. data/lib/signwell_sdk/models/document_template_request.rb +18 -6
  121. data/lib/signwell_sdk/models/document_template_response.rb +17 -6
  122. data/lib/signwell_sdk/models/document_template_response_copied_placeholders_inner.rb +1 -2
  123. data/lib/signwell_sdk/models/document_template_response_placeholders_inner.rb +15 -6
  124. data/lib/signwell_sdk/models/document_template_update_request.rb +18 -6
  125. data/lib/signwell_sdk/models/dropdown_option.rb +3 -4
  126. data/lib/signwell_sdk/models/embedded_branding.rb +241 -0
  127. data/lib/signwell_sdk/models/embedded_branding_branding.rb +307 -0
  128. data/lib/signwell_sdk/models/embedded_branding_request.rb +297 -0
  129. data/lib/signwell_sdk/models/embedded_branding_request_company_logo.rb +236 -0
  130. data/lib/signwell_sdk/models/embedded_request.rb +225 -0
  131. data/lib/signwell_sdk/models/error_response.rb +1 -2
  132. data/lib/signwell_sdk/models/error_response_meta.rb +1 -2
  133. data/lib/signwell_sdk/models/field_type.rb +4 -3
  134. data/lib/signwell_sdk/models/fields_inner_inner.rb +24 -3
  135. data/lib/signwell_sdk/models/file_format.rb +4 -3
  136. data/lib/signwell_sdk/models/file_info.rb +1 -2
  137. data/lib/signwell_sdk/models/files_inner.rb +1 -2
  138. data/lib/signwell_sdk/models/label_info.rb +1 -2
  139. data/lib/signwell_sdk/models/label_request.rb +1 -2
  140. data/lib/signwell_sdk/models/label_response.rb +1 -2
  141. data/lib/signwell_sdk/models/me_response.rb +1 -2
  142. data/lib/signwell_sdk/models/me_response_contact.rb +1 -2
  143. data/lib/signwell_sdk/models/me_response_user.rb +1 -2
  144. data/lib/signwell_sdk/models/me_response_user_preferences.rb +1 -2
  145. data/lib/signwell_sdk/models/nom151_certificate_response.rb +1 -2
  146. data/lib/signwell_sdk/models/nom151_certificate_response_nom151.rb +1 -2
  147. data/lib/signwell_sdk/models/nom151_url_response.rb +1 -2
  148. data/lib/signwell_sdk/models/pagination_meta.rb +1 -2
  149. data/lib/signwell_sdk/models/placeholders_inner.rb +16 -7
  150. data/lib/signwell_sdk/models/placeholders_inner_passcode_delivery.rb +271 -0
  151. data/lib/signwell_sdk/models/rate_limit_error_response.rb +1 -2
  152. data/lib/signwell_sdk/models/recipients_inner.rb +103 -23
  153. data/lib/signwell_sdk/models/recipients_inner_passcode_delivery.rb +271 -0
  154. data/lib/signwell_sdk/models/reminder_recipients_inner.rb +2 -3
  155. data/lib/signwell_sdk/models/send_reminder_request.rb +2 -3
  156. data/lib/signwell_sdk/models/template_attachment_requests_inner.rb +1 -2
  157. data/lib/signwell_sdk/models/template_checkbox_groups_inner.rb +1 -2
  158. data/lib/signwell_sdk/models/template_field_values_inner.rb +1 -2
  159. data/lib/signwell_sdk/models/template_field_values_inner_value.rb +3 -4
  160. data/lib/signwell_sdk/models/template_fields_inner_inner.rb +24 -3
  161. data/lib/signwell_sdk/models/template_recipients_inner.rb +103 -23
  162. data/lib/signwell_sdk/models/text_validation.rb +5 -3
  163. data/lib/signwell_sdk/models/update_authentication_request.rb +243 -0
  164. data/lib/signwell_sdk/models/update_authentication_request_recipients_inner.rb +262 -0
  165. data/lib/signwell_sdk/models/update_document_and_send_request.rb +41 -6
  166. data/lib/signwell_sdk/models/update_recipients_map_inner.rb +16 -7
  167. data/lib/signwell_sdk/models/update_recipients_map_inner_passcode_delivery.rb +271 -0
  168. data/lib/signwell_sdk/models/update_recipients_request.rb +1 -2
  169. data/lib/signwell_sdk/models/validation_error_response.rb +1 -2
  170. data/lib/signwell_sdk/models/webhook_response.rb +1 -2
  171. data/lib/signwell_sdk/version.rb +4 -4
  172. data/lib/signwell_sdk.rb +19 -2
  173. data/openapi.yaml +2231 -972
  174. data/package-lock.json +542 -136
  175. data/package.json +4 -1
  176. data/signwell_sdk.gemspec +1 -2
  177. data/spec/api/api_application_api_spec.rb +1 -2
  178. data/spec/api/bulk_send_api_spec.rb +1 -2
  179. data/spec/api/document_api_spec.rb +11 -4
  180. data/spec/api/me_api_spec.rb +1 -2
  181. data/spec/api/regional_api_spec.rb +1 -2
  182. data/spec/api/template_api_spec.rb +1 -2
  183. data/spec/api/webhooks_api_spec.rb +1 -2
  184. data/spec/models/account_info_response_active_users_inner_spec.rb +1 -2
  185. data/spec/models/account_info_response_preferences_spec.rb +1 -2
  186. data/spec/models/account_info_response_spec.rb +1 -2
  187. data/spec/models/additional_fields_inner_inner_spec.rb +13 -2
  188. data/spec/models/additional_fields_inner_inner_value_spec.rb +1 -2
  189. data/spec/models/additional_files_inner_spec.rb +1 -2
  190. data/spec/models/api_application_response_owner_spec.rb +1 -2
  191. data/spec/models/api_application_response_preferences_spec.rb +1 -2
  192. data/spec/models/api_application_response_spec.rb +1 -2
  193. data/spec/models/attachment_request_info_spec.rb +1 -2
  194. data/spec/models/attachment_requests_inner_spec.rb +1 -2
  195. data/spec/models/bulk_send_create_response_spec.rb +1 -2
  196. data/spec/models/bulk_send_csv_request_spec.rb +1 -2
  197. data/spec/models/bulk_send_csv_template_response_spec.rb +1 -2
  198. data/spec/models/bulk_send_documents_response_spec.rb +1 -2
  199. data/spec/models/bulk_send_list_item_spec.rb +1 -2
  200. data/spec/models/bulk_send_list_response_spec.rb +1 -2
  201. data/spec/models/bulk_send_response_spec.rb +1 -2
  202. data/spec/models/bulk_send_response_templates_inner_spec.rb +1 -2
  203. data/spec/models/bulk_send_validate_csv_response_spec.rb +1 -2
  204. data/spec/models/checkbox_group_info_spec.rb +1 -2
  205. data/spec/models/checkbox_groups_inner_spec.rb +1 -2
  206. data/spec/models/checkbox_validation_spec.rb +1 -2
  207. data/spec/models/completed_pdf_response_spec.rb +1 -2
  208. data/spec/models/completed_pdf_url_response_spec.rb +1 -2
  209. data/spec/models/conditional_logic_decision_info_spec.rb +58 -0
  210. data/spec/models/conditional_rule_info_conditions_inner_spec.rb +58 -0
  211. data/spec/models/conditional_rule_info_spec.rb +58 -0
  212. data/spec/models/conditional_rule_request_conditions_inner_spec.rb +58 -0
  213. data/spec/models/conditional_rule_request_spec.rb +64 -0
  214. data/spec/models/copied_contact_info_spec.rb +1 -2
  215. data/spec/models/copied_contacts_inner_spec.rb +1 -2
  216. data/spec/models/copied_placeholders_inner_spec.rb +1 -2
  217. data/spec/models/create_bulk_send_request_spec.rb +1 -2
  218. data/spec/models/create_webhook_request_spec.rb +1 -2
  219. data/spec/models/date_format_spec.rb +1 -2
  220. data/spec/models/detailed_option_spec.rb +1 -2
  221. data/spec/models/document_from_template_request_spec.rb +25 -2
  222. data/spec/models/document_from_template_response_fields_inner_inner_recipient_spec.rb +1 -2
  223. data/spec/models/document_from_template_response_fields_inner_inner_spec.rb +13 -2
  224. data/spec/models/document_from_template_response_recipients_inner_spec.rb +19 -2
  225. data/spec/models/document_from_template_response_spec.rb +31 -2
  226. data/spec/models/document_list_response_spec.rb +1 -2
  227. data/spec/models/document_request_spec.rb +19 -2
  228. data/spec/models/document_response_attachment_requests_inner_spec.rb +1 -2
  229. data/spec/models/document_response_fields_inner_inner_options_inner_spec.rb +1 -2
  230. data/spec/models/document_response_fields_inner_inner_recipient_spec.rb +1 -2
  231. data/spec/models/document_response_fields_inner_inner_spec.rb +13 -2
  232. data/spec/models/document_response_fields_inner_inner_value_spec.rb +1 -2
  233. data/spec/models/document_response_recipients_inner_passcode_delivery_spec.rb +46 -0
  234. data/spec/models/document_response_recipients_inner_sms_spec.rb +70 -0
  235. data/spec/models/document_response_recipients_inner_spec.rb +19 -2
  236. data/spec/models/document_response_spec.rb +31 -2
  237. data/spec/models/document_template_list_response_spec.rb +1 -2
  238. data/spec/models/document_template_request_spec.rb +7 -2
  239. data/spec/models/document_template_response_copied_placeholders_inner_spec.rb +1 -2
  240. data/spec/models/document_template_response_placeholders_inner_spec.rb +7 -2
  241. data/spec/models/document_template_response_spec.rb +7 -2
  242. data/spec/models/document_template_update_request_spec.rb +7 -2
  243. data/spec/models/dropdown_option_spec.rb +1 -2
  244. data/spec/models/embedded_branding_branding_spec.rb +58 -0
  245. data/spec/models/embedded_branding_request_company_logo_spec.rb +40 -0
  246. data/spec/models/embedded_branding_request_spec.rb +58 -0
  247. data/spec/models/embedded_branding_spec.rb +34 -0
  248. data/spec/models/embedded_request_spec.rb +34 -0
  249. data/spec/models/error_response_meta_spec.rb +1 -2
  250. data/spec/models/error_response_spec.rb +1 -2
  251. data/spec/models/field_type_spec.rb +1 -2
  252. data/spec/models/fields_inner_inner_spec.rb +13 -2
  253. data/spec/models/file_format_spec.rb +1 -2
  254. data/spec/models/file_info_spec.rb +1 -2
  255. data/spec/models/files_inner_spec.rb +1 -2
  256. data/spec/models/label_info_spec.rb +1 -2
  257. data/spec/models/label_request_spec.rb +1 -2
  258. data/spec/models/label_response_spec.rb +1 -2
  259. data/spec/models/me_response_contact_spec.rb +1 -2
  260. data/spec/models/me_response_spec.rb +1 -2
  261. data/spec/models/me_response_user_preferences_spec.rb +1 -2
  262. data/spec/models/me_response_user_spec.rb +1 -2
  263. data/spec/models/nom151_certificate_response_nom151_spec.rb +1 -2
  264. data/spec/models/nom151_certificate_response_spec.rb +1 -2
  265. data/spec/models/nom151_url_response_spec.rb +1 -2
  266. data/spec/models/pagination_meta_spec.rb +1 -2
  267. data/spec/models/placeholders_inner_passcode_delivery_spec.rb +46 -0
  268. data/spec/models/placeholders_inner_spec.rb +7 -2
  269. data/spec/models/rate_limit_error_response_spec.rb +1 -2
  270. data/spec/models/recipients_inner_passcode_delivery_spec.rb +46 -0
  271. data/spec/models/recipients_inner_spec.rb +31 -2
  272. data/spec/models/reminder_recipients_inner_spec.rb +1 -2
  273. data/spec/models/send_reminder_request_spec.rb +1 -2
  274. data/spec/models/template_attachment_requests_inner_spec.rb +1 -2
  275. data/spec/models/template_checkbox_groups_inner_spec.rb +1 -2
  276. data/spec/models/template_field_values_inner_spec.rb +1 -2
  277. data/spec/models/template_field_values_inner_value_spec.rb +1 -2
  278. data/spec/models/template_fields_inner_inner_spec.rb +13 -2
  279. data/spec/models/template_recipients_inner_spec.rb +31 -2
  280. data/spec/models/text_validation_spec.rb +1 -2
  281. data/spec/models/update_authentication_request_recipients_inner_spec.rb +46 -0
  282. data/spec/models/update_authentication_request_spec.rb +34 -0
  283. data/spec/models/update_document_and_send_request_spec.rb +19 -2
  284. data/spec/models/update_recipients_map_inner_passcode_delivery_spec.rb +46 -0
  285. data/spec/models/update_recipients_map_inner_spec.rb +7 -2
  286. data/spec/models/update_recipients_request_spec.rb +1 -2
  287. data/spec/models/validation_error_response_spec.rb +1 -2
  288. data/spec/models/webhook_response_spec.rb +1 -2
  289. data/spec/regressions/api_client_spec.rb +56 -1
  290. data/spec/spec_helper.rb +1 -2
  291. metadata +73 -3
@@ -6,8 +6,7 @@ API for creating, managing, and tracking electronic signature workflows.
6
6
  The version of the OpenAPI document: v1
7
7
  Contact: support@signwell.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.12.0
10
-
9
+ Generator version: 7.26.0
11
10
  =end
12
11
 
13
12
  require 'date'
@@ -20,6 +19,10 @@ module SignWell
20
19
  # @return [Boolean]
21
20
  attr_accessor :test_mode
22
21
 
22
+ # Only applies when `test_mode` is `true`. When `true`, and the document has an SMS-only recipient, sends the document owner a test-mode preview email (with a masked phone number) instead of the regular SMS sender-copy email. No SMS is sent and no credits are used, in test mode or otherwise. Defaults to `false`.
23
+ # @return [Boolean]
24
+ attr_accessor :send_sms_test_preview_email
25
+
23
26
  # Use when you have to create a document from a single template. Either :template_id or :template_ids must be present in the request, not both.
24
27
  # @return [String]
25
28
  attr_accessor :template_id
@@ -32,11 +35,11 @@ module SignWell
32
35
  # @return [String]
33
36
  attr_accessor :name
34
37
 
35
- # Email subject for the signature request that recipients will see. Defaults to the default system subject or a template subject (if the document is created from a template).
38
+ # Email subject for the signature request that recipients will see. Defaults to the default system subject or a template subject (if the document is created from a template). Applies to email notifications only; SMS notifications always use fixed system templates.
36
39
  # @return [String]
37
40
  attr_accessor :subject
38
41
 
39
- # Email message for the signature request that recipients will see. Defaults to the default system message or a template message (if the document is created from a template).
42
+ # Email message for the signature request that recipients will see. Defaults to the default system message or a template message (if the document is created from a template). Applies to email notifications only; SMS notifications always use fixed system templates.
40
43
  # @return [String]
41
44
  attr_accessor :message
42
45
 
@@ -80,6 +83,9 @@ module SignWell
80
83
  # @return [Boolean]
81
84
  attr_accessor :embedded_signing_notifications
82
85
 
86
+ # @return [EmbeddedRequest]
87
+ attr_accessor :embedded
88
+
83
89
  # An alternative way (if you can’t use the recommended way) of placing fields in specific locations of your document by using special text tags. Useful when changing the content of your files changes the location of fields. See API documentation for “Text Tags” for details. Defaults to false.
84
90
  # @return [Boolean]
85
91
  attr_accessor :text_tags
@@ -100,7 +106,7 @@ module SignWell
100
106
  # @return [Boolean]
101
107
  attr_accessor :allow_decline
102
108
 
103
- # In some cases a signer is not the right person to sign and may need to reassign their signing responsibilities to another person. This feature allows them to reassign the document to someone else.
109
+ # In some cases a signer is not the right person to sign and may need to reassign their signing responsibilities to another person. This feature allows them to reassign the document to someone else. Unavailable on 21 CFR Part 11 documents: omit it and reassignment stays off, while sending `true` returns a 422.
104
110
  # @return [Boolean]
105
111
  attr_accessor :allow_reassign
106
112
 
@@ -112,6 +118,14 @@ module SignWell
112
118
  # @return [String]
113
119
  attr_accessor :language
114
120
 
121
+ # Conditional logic rules that show, hide, or require fields based on what a signer does to other fields. Every identifier is a field api_id. At most 10 rules per document or template.
122
+ # @return [Array<ConditionalRuleRequest>]
123
+ attr_accessor :conditional_rules
124
+
125
+ # When creating a document from a template, controls how the conditional_rules in the request reconcile with the template's inherited rules: `replace` (drop inherited, use the body's rules), `append` (keep inherited, add the body's rules), or `none` (clear all rules). Required when sending conditional_rules that should not simply inherit.
126
+ # @return [String]
127
+ attr_accessor :conditional_rules_mode
128
+
115
129
  # Optional key-value data that can be associated with the document. If set, will be available every time the document data is returned.
116
130
  # @return [Hash<String, String>]
117
131
  attr_accessor :metadata
@@ -143,10 +157,33 @@ module SignWell
143
157
  # @return [Array<CheckboxGroupsInner>]
144
158
  attr_accessor :checkbox_groups
145
159
 
160
+ class EnumAttributeValidator
161
+ attr_reader :datatype
162
+ attr_reader :allowable_values
163
+
164
+ def initialize(datatype, allowable_values)
165
+ @allowable_values = allowable_values.map do |value|
166
+ case datatype.to_s
167
+ when /Integer/i
168
+ value.to_i
169
+ when /Float/i
170
+ value.to_f
171
+ else
172
+ value
173
+ end
174
+ end
175
+ end
176
+
177
+ def valid?(value)
178
+ !value || allowable_values.include?(value)
179
+ end
180
+ end
181
+
146
182
  # Attribute mapping from ruby-style variable name to JSON key.
147
183
  def self.attribute_map
148
184
  {
149
185
  :'test_mode' => :'test_mode',
186
+ :'send_sms_test_preview_email' => :'send_sms_test_preview_email',
150
187
  :'template_id' => :'template_id',
151
188
  :'template_ids' => :'template_ids',
152
189
  :'name' => :'name',
@@ -162,6 +199,7 @@ module SignWell
162
199
  :'api_application_id' => :'api_application_id',
163
200
  :'embedded_signing' => :'embedded_signing',
164
201
  :'embedded_signing_notifications' => :'embedded_signing_notifications',
202
+ :'embedded' => :'embedded',
165
203
  :'text_tags' => :'text_tags',
166
204
  :'custom_requester_name' => :'custom_requester_name',
167
205
  :'custom_requester_email' => :'custom_requester_email',
@@ -170,6 +208,8 @@ module SignWell
170
208
  :'allow_reassign' => :'allow_reassign',
171
209
  :'decline_redirect_url' => :'decline_redirect_url',
172
210
  :'language' => :'language',
211
+ :'conditional_rules' => :'conditional_rules',
212
+ :'conditional_rules_mode' => :'conditional_rules_mode',
173
213
  :'metadata' => :'metadata',
174
214
  :'template_fields' => :'template_fields',
175
215
  :'files' => :'files',
@@ -195,6 +235,7 @@ module SignWell
195
235
  def self.openapi_types
196
236
  {
197
237
  :'test_mode' => :'Boolean',
238
+ :'send_sms_test_preview_email' => :'Boolean',
198
239
  :'template_id' => :'String',
199
240
  :'template_ids' => :'Array<String>',
200
241
  :'name' => :'String',
@@ -210,6 +251,7 @@ module SignWell
210
251
  :'api_application_id' => :'String',
211
252
  :'embedded_signing' => :'Boolean',
212
253
  :'embedded_signing_notifications' => :'Boolean',
254
+ :'embedded' => :'EmbeddedRequest',
213
255
  :'text_tags' => :'Boolean',
214
256
  :'custom_requester_name' => :'String',
215
257
  :'custom_requester_email' => :'String',
@@ -218,6 +260,8 @@ module SignWell
218
260
  :'allow_reassign' => :'Boolean',
219
261
  :'decline_redirect_url' => :'String',
220
262
  :'language' => :'String',
263
+ :'conditional_rules' => :'Array<ConditionalRuleRequest>',
264
+ :'conditional_rules_mode' => :'String',
221
265
  :'metadata' => :'Hash<String, String>',
222
266
  :'template_fields' => :'Array<TemplateFieldValuesInner>',
223
267
  :'files' => :'Array<AdditionalFilesInner>',
@@ -257,6 +301,12 @@ module SignWell
257
301
  self.test_mode = false
258
302
  end
259
303
 
304
+ if attributes.key?(:'send_sms_test_preview_email')
305
+ self.send_sms_test_preview_email = attributes[:'send_sms_test_preview_email']
306
+ else
307
+ self.send_sms_test_preview_email = false
308
+ end
309
+
260
310
  if attributes.key?(:'template_id')
261
311
  self.template_id = attributes[:'template_id']
262
312
  end
@@ -337,6 +387,10 @@ module SignWell
337
387
  self.embedded_signing_notifications = false
338
388
  end
339
389
 
390
+ if attributes.key?(:'embedded')
391
+ self.embedded = attributes[:'embedded']
392
+ end
393
+
340
394
  if attributes.key?(:'text_tags')
341
395
  self.text_tags = attributes[:'text_tags']
342
396
  else
@@ -375,6 +429,16 @@ module SignWell
375
429
  self.language = attributes[:'language']
376
430
  end
377
431
 
432
+ if attributes.key?(:'conditional_rules')
433
+ if (value = attributes[:'conditional_rules']).is_a?(Array)
434
+ self.conditional_rules = value
435
+ end
436
+ end
437
+
438
+ if attributes.key?(:'conditional_rules_mode')
439
+ self.conditional_rules_mode = attributes[:'conditional_rules_mode']
440
+ end
441
+
378
442
  if attributes.key?(:'metadata')
379
443
  if (value = attributes[:'metadata']).is_a?(Hash)
380
444
  self.metadata = value
@@ -447,6 +511,8 @@ module SignWell
447
511
  warn '[DEPRECATED] the `valid?` method is obsolete'
448
512
  return false if @recipients.nil?
449
513
  return false if !@expires_in.nil? && @expires_in < 1
514
+ conditional_rules_mode_validator = EnumAttributeValidator.new('String', %w[replace append none unknown_default_open_api])
515
+ return false unless conditional_rules_mode_validator.valid?(@conditional_rules_mode)
450
516
  true
451
517
  end
452
518
 
@@ -474,12 +540,27 @@ module SignWell
474
540
  @expires_in = expires_in
475
541
  end
476
542
 
543
+ # Custom attribute writer method checking allowed values (enum).
544
+ # @param [Object] conditional_rules_mode Object to be assigned
545
+ def conditional_rules_mode=(conditional_rules_mode)
546
+ validator = EnumAttributeValidator.new('String', %w[replace append none unknown_default_open_api])
547
+ unless validator.valid?(conditional_rules_mode)
548
+ if conditional_rules_mode.is_a?(String)
549
+ conditional_rules_mode = "unknown_default_open_api"
550
+ else
551
+ fail ArgumentError, "invalid value for \"conditional_rules_mode\", must be one of #{validator.allowable_values}."
552
+ end
553
+ end
554
+ @conditional_rules_mode = conditional_rules_mode
555
+ end
556
+
477
557
  # Checks equality by comparing each attribute.
478
558
  # @param [Object] other Object to be compared
479
559
  def ==(o)
480
560
  return true if self.equal?(o)
481
561
  self.class == o.class &&
482
562
  test_mode == o.test_mode &&
563
+ send_sms_test_preview_email == o.send_sms_test_preview_email &&
483
564
  template_id == o.template_id &&
484
565
  template_ids == o.template_ids &&
485
566
  name == o.name &&
@@ -495,6 +576,7 @@ module SignWell
495
576
  api_application_id == o.api_application_id &&
496
577
  embedded_signing == o.embedded_signing &&
497
578
  embedded_signing_notifications == o.embedded_signing_notifications &&
579
+ embedded == o.embedded &&
498
580
  text_tags == o.text_tags &&
499
581
  custom_requester_name == o.custom_requester_name &&
500
582
  custom_requester_email == o.custom_requester_email &&
@@ -503,6 +585,8 @@ module SignWell
503
585
  allow_reassign == o.allow_reassign &&
504
586
  decline_redirect_url == o.decline_redirect_url &&
505
587
  language == o.language &&
588
+ conditional_rules == o.conditional_rules &&
589
+ conditional_rules_mode == o.conditional_rules_mode &&
506
590
  metadata == o.metadata &&
507
591
  template_fields == o.template_fields &&
508
592
  files == o.files &&
@@ -522,7 +606,7 @@ module SignWell
522
606
  # Calculates hash code according to all attributes.
523
607
  # @return [Integer] Hash code
524
608
  def hash
525
- [test_mode, template_id, template_ids, name, subject, message, recipients, exclude_placeholders, draft, with_signature_page, expires_in, reminders, apply_signing_order, api_application_id, embedded_signing, embedded_signing_notifications, text_tags, custom_requester_name, custom_requester_email, redirect_url, allow_decline, allow_reassign, decline_redirect_url, language, metadata, template_fields, files, fields, attachment_requests, copied_contacts, labels, checkbox_groups].hash
609
+ [test_mode, send_sms_test_preview_email, template_id, template_ids, name, subject, message, recipients, exclude_placeholders, draft, with_signature_page, expires_in, reminders, apply_signing_order, api_application_id, embedded_signing, embedded_signing_notifications, embedded, text_tags, custom_requester_name, custom_requester_email, redirect_url, allow_decline, allow_reassign, decline_redirect_url, language, conditional_rules, conditional_rules_mode, metadata, template_fields, files, fields, attachment_requests, copied_contacts, labels, checkbox_groups].hash
526
610
  end
527
611
 
528
612
  # Builds the object from hash
@@ -6,8 +6,7 @@ API for creating, managing, and tracking electronic signature workflows.
6
6
  The version of the OpenAPI document: v1
7
7
  Contact: support@signwell.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.12.0
10
-
9
+ Generator version: 7.26.0
11
10
  =end
12
11
 
13
12
  require 'date'
@@ -16,6 +15,14 @@ require 'time'
16
15
  module SignWell
17
16
  module Models
18
17
  class DocumentFromTemplateResponse
18
+ # Whether 21 CFR Part 11 controls apply to this document. Read-only: the value is taken from the workspace setting when the document is created and never changes afterwards.
19
+ # @return [Boolean]
20
+ attr_accessor :cfr_part11
21
+
22
+ # The signing mode of a 21 CFR Part 11 document: streamlined (one final authentication) or per_signature (authentication at every signature and initials field). Null when Part 11 does not apply.
23
+ # @return [String]
24
+ attr_accessor :cfr_part11_signing_mode
25
+
19
26
  # @return [Boolean]
20
27
  attr_accessor :test_mode
21
28
 
@@ -71,6 +78,9 @@ module SignWell
71
78
  # @return [Boolean]
72
79
  attr_accessor :archived
73
80
 
81
+ # @return [EmbeddedBranding]
82
+ attr_accessor :embedded
83
+
74
84
  # @return [Boolean]
75
85
  attr_accessor :embedded_signing
76
86
 
@@ -128,9 +138,39 @@ module SignWell
128
138
  # @return [Array<CheckboxGroupInfo>]
129
139
  attr_accessor :checkbox_groups
130
140
 
141
+ # @return [Array<ConditionalRuleInfo>]
142
+ attr_accessor :conditional_rules
143
+
144
+ # @return [Array<ConditionalLogicDecisionInfo>]
145
+ attr_accessor :conditional_logic_decisions
146
+
147
+ class EnumAttributeValidator
148
+ attr_reader :datatype
149
+ attr_reader :allowable_values
150
+
151
+ def initialize(datatype, allowable_values)
152
+ @allowable_values = allowable_values.map do |value|
153
+ case datatype.to_s
154
+ when /Integer/i
155
+ value.to_i
156
+ when /Float/i
157
+ value.to_f
158
+ else
159
+ value
160
+ end
161
+ end
162
+ end
163
+
164
+ def valid?(value)
165
+ !value || allowable_values.include?(value)
166
+ end
167
+ end
168
+
131
169
  # Attribute mapping from ruby-style variable name to JSON key.
132
170
  def self.attribute_map
133
171
  {
172
+ :'cfr_part11' => :'cfr_part11',
173
+ :'cfr_part11_signing_mode' => :'cfr_part11_signing_mode',
134
174
  :'test_mode' => :'test_mode',
135
175
  :'id' => :'id',
136
176
  :'template_id' => :'template_id',
@@ -149,6 +189,7 @@ module SignWell
149
189
  :'status' => :'status',
150
190
  :'reminders' => :'reminders',
151
191
  :'archived' => :'archived',
192
+ :'embedded' => :'embedded',
152
193
  :'embedded_signing' => :'embedded_signing',
153
194
  :'embedded_edit_url' => :'embedded_edit_url',
154
195
  :'embedded_preview_url' => :'embedded_preview_url',
@@ -167,7 +208,9 @@ module SignWell
167
208
  :'allow_decline' => :'allow_decline',
168
209
  :'allow_reassign' => :'allow_reassign',
169
210
  :'labels' => :'labels',
170
- :'checkbox_groups' => :'checkbox_groups'
211
+ :'checkbox_groups' => :'checkbox_groups',
212
+ :'conditional_rules' => :'conditional_rules',
213
+ :'conditional_logic_decisions' => :'conditional_logic_decisions'
171
214
  }
172
215
  end
173
216
 
@@ -184,6 +227,8 @@ module SignWell
184
227
  # Attribute type mapping.
185
228
  def self.openapi_types
186
229
  {
230
+ :'cfr_part11' => :'Boolean',
231
+ :'cfr_part11_signing_mode' => :'String',
187
232
  :'test_mode' => :'Boolean',
188
233
  :'id' => :'String',
189
234
  :'template_id' => :'String',
@@ -202,6 +247,7 @@ module SignWell
202
247
  :'status' => :'String',
203
248
  :'reminders' => :'Boolean',
204
249
  :'archived' => :'Boolean',
250
+ :'embedded' => :'EmbeddedBranding',
205
251
  :'embedded_signing' => :'Boolean',
206
252
  :'embedded_edit_url' => :'String',
207
253
  :'embedded_preview_url' => :'String',
@@ -220,17 +266,21 @@ module SignWell
220
266
  :'allow_decline' => :'Boolean',
221
267
  :'allow_reassign' => :'Boolean',
222
268
  :'labels' => :'Array<LabelInfo>',
223
- :'checkbox_groups' => :'Array<CheckboxGroupInfo>'
269
+ :'checkbox_groups' => :'Array<CheckboxGroupInfo>',
270
+ :'conditional_rules' => :'Array<ConditionalRuleInfo>',
271
+ :'conditional_logic_decisions' => :'Array<ConditionalLogicDecisionInfo>'
224
272
  }
225
273
  end
226
274
 
227
275
  # List of attributes with nullable: true
228
276
  def self.openapi_nullable
229
277
  Set.new([
278
+ :'cfr_part11_signing_mode',
230
279
  :'api_application_id',
231
280
  :'custom_requester_name',
232
281
  :'custom_requester_email',
233
282
  :'metadata',
283
+ :'embedded',
234
284
  :'embedded_preview_url',
235
285
  :'redirect_url',
236
286
  :'decline_redirect_url',
@@ -257,6 +307,14 @@ module SignWell
257
307
  h[k.to_sym] = v
258
308
  }
259
309
 
310
+ if attributes.key?(:'cfr_part11')
311
+ self.cfr_part11 = attributes[:'cfr_part11']
312
+ end
313
+
314
+ if attributes.key?(:'cfr_part11_signing_mode')
315
+ self.cfr_part11_signing_mode = attributes[:'cfr_part11_signing_mode']
316
+ end
317
+
260
318
  if attributes.key?(:'test_mode')
261
319
  self.test_mode = attributes[:'test_mode']
262
320
  else
@@ -339,6 +397,10 @@ module SignWell
339
397
  self.archived = attributes[:'archived']
340
398
  end
341
399
 
400
+ if attributes.key?(:'embedded')
401
+ self.embedded = attributes[:'embedded']
402
+ end
403
+
342
404
  if attributes.key?(:'embedded_signing')
343
405
  self.embedded_signing = attributes[:'embedded_signing']
344
406
  end
@@ -426,6 +488,18 @@ module SignWell
426
488
  self.checkbox_groups = value
427
489
  end
428
490
  end
491
+
492
+ if attributes.key?(:'conditional_rules')
493
+ if (value = attributes[:'conditional_rules']).is_a?(Array)
494
+ self.conditional_rules = value
495
+ end
496
+ end
497
+
498
+ if attributes.key?(:'conditional_logic_decisions')
499
+ if (value = attributes[:'conditional_logic_decisions']).is_a?(Array)
500
+ self.conditional_logic_decisions = value
501
+ end
502
+ end
429
503
  end
430
504
 
431
505
 
@@ -449,11 +523,27 @@ module SignWell
449
523
  # @return true if the model is valid
450
524
  def valid?
451
525
  warn '[DEPRECATED] the `valid?` method is obsolete'
526
+ cfr_part11_signing_mode_validator = EnumAttributeValidator.new('String', %w[streamlined per_signature unknown_default_open_api])
527
+ return false unless cfr_part11_signing_mode_validator.valid?(@cfr_part11_signing_mode)
452
528
  return false if @test_mode.nil?
453
529
  return false if @id.nil?
454
530
  true
455
531
  end
456
532
 
533
+ # Custom attribute writer method checking allowed values (enum).
534
+ # @param [Object] cfr_part11_signing_mode Object to be assigned
535
+ def cfr_part11_signing_mode=(cfr_part11_signing_mode)
536
+ validator = EnumAttributeValidator.new('String', %w[streamlined per_signature unknown_default_open_api])
537
+ unless validator.valid?(cfr_part11_signing_mode)
538
+ if cfr_part11_signing_mode.is_a?(String)
539
+ cfr_part11_signing_mode = "unknown_default_open_api"
540
+ else
541
+ fail ArgumentError, "invalid value for \"cfr_part11_signing_mode\", must be one of #{validator.allowable_values}."
542
+ end
543
+ end
544
+ @cfr_part11_signing_mode = cfr_part11_signing_mode
545
+ end
546
+
457
547
  # Custom attribute writer method with validation
458
548
  # @param [Object] test_mode Value to be assigned
459
549
  def test_mode=(test_mode)
@@ -479,6 +569,8 @@ module SignWell
479
569
  def ==(o)
480
570
  return true if self.equal?(o)
481
571
  self.class == o.class &&
572
+ cfr_part11 == o.cfr_part11 &&
573
+ cfr_part11_signing_mode == o.cfr_part11_signing_mode &&
482
574
  test_mode == o.test_mode &&
483
575
  id == o.id &&
484
576
  template_id == o.template_id &&
@@ -497,6 +589,7 @@ module SignWell
497
589
  status == o.status &&
498
590
  reminders == o.reminders &&
499
591
  archived == o.archived &&
592
+ embedded == o.embedded &&
500
593
  embedded_signing == o.embedded_signing &&
501
594
  embedded_edit_url == o.embedded_edit_url &&
502
595
  embedded_preview_url == o.embedded_preview_url &&
@@ -515,7 +608,9 @@ module SignWell
515
608
  allow_decline == o.allow_decline &&
516
609
  allow_reassign == o.allow_reassign &&
517
610
  labels == o.labels &&
518
- checkbox_groups == o.checkbox_groups
611
+ checkbox_groups == o.checkbox_groups &&
612
+ conditional_rules == o.conditional_rules &&
613
+ conditional_logic_decisions == o.conditional_logic_decisions
519
614
  end
520
615
 
521
616
  # @see the `==` method
@@ -527,7 +622,7 @@ module SignWell
527
622
  # Calculates hash code according to all attributes.
528
623
  # @return [Integer] Hash code
529
624
  def hash
530
- [test_mode, id, template_id, template_ids, api_application_id, requester_email_address, custom_requester_name, custom_requester_email, name, subject, message, metadata, created_at, updated_at, recipients, status, reminders, archived, embedded_signing, embedded_edit_url, embedded_preview_url, apply_signing_order, redirect_url, decline_redirect_url, language, expires_in, decline_message, error_message, embedded_signing_notifications, attachment_requests, files, copied_contacts, fields, allow_decline, allow_reassign, labels, checkbox_groups].hash
625
+ [cfr_part11, cfr_part11_signing_mode, test_mode, id, template_id, template_ids, api_application_id, requester_email_address, custom_requester_name, custom_requester_email, name, subject, message, metadata, created_at, updated_at, recipients, status, reminders, archived, embedded, embedded_signing, embedded_edit_url, embedded_preview_url, apply_signing_order, redirect_url, decline_redirect_url, language, expires_in, decline_message, error_message, embedded_signing_notifications, attachment_requests, files, copied_contacts, fields, allow_decline, allow_reassign, labels, checkbox_groups, conditional_rules, conditional_logic_decisions].hash
531
626
  end
532
627
 
533
628
  # Builds the object from hash
@@ -6,8 +6,7 @@ API for creating, managing, and tracking electronic signature workflows.
6
6
  The version of the OpenAPI document: v1
7
7
  Contact: support@signwell.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.12.0
10
-
9
+ Generator version: 7.26.0
11
10
  =end
12
11
 
13
12
  require 'date'
@@ -58,6 +57,14 @@ module SignWell
58
57
  # @return [TextValidation]
59
58
  attr_accessor :validation
60
59
 
60
+ # Text fields with custom validation only: the regex pattern used to validate field values. Required when validation is set to custom.
61
+ # @return [String]
62
+ attr_accessor :validation_regex
63
+
64
+ # Text fields with custom validation only: the error message shown to the recipient when their input doesn't match the regex pattern. Required when validation is set to custom.
65
+ # @return [String]
66
+ attr_accessor :validation_regex_error_message
67
+
61
68
  # @return [DocumentResponseFieldsInnerInnerValue]
62
69
  attr_accessor :value
63
70
 
@@ -127,6 +134,8 @@ module SignWell
127
134
  :'required' => :'required',
128
135
  :'type' => :'type',
129
136
  :'validation' => :'validation',
137
+ :'validation_regex' => :'validation_regex',
138
+ :'validation_regex_error_message' => :'validation_regex_error_message',
130
139
  :'value' => :'value',
131
140
  :'height' => :'height',
132
141
  :'width' => :'width',
@@ -166,6 +175,8 @@ module SignWell
166
175
  :'required' => :'Boolean',
167
176
  :'type' => :'FieldType',
168
177
  :'validation' => :'TextValidation',
178
+ :'validation_regex' => :'String',
179
+ :'validation_regex_error_message' => :'String',
169
180
  :'value' => :'DocumentResponseFieldsInnerInnerValue',
170
181
  :'height' => :'String',
171
182
  :'width' => :'String',
@@ -265,6 +276,14 @@ module SignWell
265
276
  self.validation = attributes[:'validation']
266
277
  end
267
278
 
279
+ if attributes.key?(:'validation_regex')
280
+ self.validation_regex = attributes[:'validation_regex']
281
+ end
282
+
283
+ if attributes.key?(:'validation_regex_error_message')
284
+ self.validation_regex_error_message = attributes[:'validation_regex_error_message']
285
+ end
286
+
268
287
  if attributes.key?(:'value')
269
288
  self.value = attributes[:'value']
270
289
  end
@@ -408,6 +427,8 @@ module SignWell
408
427
  required == o.required &&
409
428
  type == o.type &&
410
429
  validation == o.validation &&
430
+ validation_regex == o.validation_regex &&
431
+ validation_regex_error_message == o.validation_regex_error_message &&
411
432
  value == o.value &&
412
433
  height == o.height &&
413
434
  width == o.width &&
@@ -428,7 +449,7 @@ module SignWell
428
449
  # Calculates hash code according to all attributes.
429
450
  # @return [Integer] Hash code
430
451
  def hash
431
- [x, y, page, recipient, api_id, name, date_format, fixed_width, formula, label, lock_sign_date, required, type, validation, value, height, width, recipient_id, signing_elements_group_id, placeholder_name, options, default_option, allow_other].hash
452
+ [x, y, page, recipient, api_id, name, date_format, fixed_width, formula, label, lock_sign_date, required, type, validation, validation_regex, validation_regex_error_message, value, height, width, recipient_id, signing_elements_group_id, placeholder_name, options, default_option, allow_other].hash
432
453
  end
433
454
 
434
455
  # Builds the object from hash
@@ -6,8 +6,7 @@ API for creating, managing, and tracking electronic signature workflows.
6
6
  The version of the OpenAPI document: v1
7
7
  Contact: support@signwell.com
8
8
  Generated by: https://openapi-generator.tech
9
- Generator version: 7.12.0
10
-
9
+ Generator version: 7.26.0
11
10
  =end
12
11
 
13
12
  require 'date'