pdf_generator_api_client 8.0.28 → 8.0.31

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 (376) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +19 -8
  3. data/docs/ConversionApi.md +1 -1
  4. data/docs/ConvertURL2PDFRequest.md +11 -1
  5. data/docs/DocumentSignature.md +42 -0
  6. data/docs/DocumentSignatures.md +28 -0
  7. data/docs/DocumentsApi.md +85 -11
  8. data/docs/FormActionSendSendDocument.md +1 -1
  9. data/docs/FormActionSign.md +18 -0
  10. data/docs/FormConfigurationImport.md +24 -0
  11. data/docs/FormConfigurationNew.md +3 -3
  12. data/docs/FormConfigurationNewActionsInner.md +3 -1
  13. data/docs/FormField.md +30 -0
  14. data/docs/FormFieldOptions.md +18 -0
  15. data/docs/FormFieldSubRowsInner.md +30 -0
  16. data/docs/FormTableColumn.md +28 -0
  17. data/docs/FormsApi.md +100 -32
  18. data/docs/ImportFormBase64.md +1 -1
  19. data/docs/ImportFormUrl.md +1 -1
  20. data/docs/InlineObject17.md +1 -1
  21. data/docs/InlineObject18.md +2 -4
  22. data/docs/InlineObject19.md +4 -2
  23. data/docs/InlineObject20.md +2 -4
  24. data/docs/InlineObject21.md +4 -2
  25. data/docs/{InlineObject20Meta.md → InlineObject21Meta.md} +2 -2
  26. data/docs/InlineObject22.md +2 -2
  27. data/docs/InlineObject23.md +2 -2
  28. data/docs/{InlineObject22Response.md → InlineObject23Response.md} +2 -2
  29. data/docs/InlineObject24.md +1 -1
  30. data/docs/InlineObject25.md +1 -1
  31. data/docs/InlineObject26.md +1 -1
  32. data/docs/InlineObject27.md +1 -3
  33. data/docs/InlineObject28.md +1 -1
  34. data/docs/InlineObject29.md +3 -1
  35. data/docs/InlineObject30.md +18 -0
  36. data/docs/InlineObject31.md +18 -0
  37. data/docs/TemplateLibraryApi.md +4 -4
  38. data/docs/TemplateVersionsApi.md +4 -4
  39. data/docs/TemplatesApi.md +20 -20
  40. data/lib/pdf_generator_api_client/api/assets_api.rb +1 -1
  41. data/lib/pdf_generator_api_client/api/conversion_api.rb +3 -3
  42. data/lib/pdf_generator_api_client/api/documents_api.rb +76 -10
  43. data/lib/pdf_generator_api_client/api/e_invoices_api.rb +1 -1
  44. data/lib/pdf_generator_api_client/api/forms_api.rb +98 -24
  45. data/lib/pdf_generator_api_client/api/misc_api.rb +1 -1
  46. data/lib/pdf_generator_api_client/api/services_api.rb +1 -1
  47. data/lib/pdf_generator_api_client/api/template_library_api.rb +4 -4
  48. data/lib/pdf_generator_api_client/api/template_versions_api.rb +4 -4
  49. data/lib/pdf_generator_api_client/api/templates_api.rb +16 -16
  50. data/lib/pdf_generator_api_client/api/workspaces_api.rb +1 -1
  51. data/lib/pdf_generator_api_client/api_client.rb +1 -1
  52. data/lib/pdf_generator_api_client/api_error.rb +1 -1
  53. data/lib/pdf_generator_api_client/configuration.rb +1 -1
  54. data/lib/pdf_generator_api_client/models/accessibility_option.rb +1 -1
  55. data/lib/pdf_generator_api_client/models/add_watermark_request.rb +1 -1
  56. data/lib/pdf_generator_api_client/models/async_output_param.rb +1 -1
  57. data/lib/pdf_generator_api_client/models/callback_param.rb +1 -1
  58. data/lib/pdf_generator_api_client/models/component.rb +1 -1
  59. data/lib/pdf_generator_api_client/models/convert_html2_pdf_request.rb +1 -1
  60. data/lib/pdf_generator_api_client/models/convert_pdf2_image_request.rb +1 -1
  61. data/lib/pdf_generator_api_client/models/convert_url2_pdf_request.rb +151 -5
  62. data/lib/pdf_generator_api_client/models/copy_template_request.rb +1 -1
  63. data/lib/pdf_generator_api_client/models/create_e_invoice_request.rb +1 -1
  64. data/lib/pdf_generator_api_client/models/create_factur_xe_invoice_request.rb +1 -1
  65. data/lib/pdf_generator_api_client/models/create_factur_xe_invoice_request_template.rb +1 -1
  66. data/lib/pdf_generator_api_client/models/create_workspace_request.rb +1 -1
  67. data/lib/pdf_generator_api_client/models/data_batch_inner.rb +1 -1
  68. data/lib/pdf_generator_api_client/models/document.rb +1 -1
  69. data/lib/pdf_generator_api_client/models/document_action.rb +1 -1
  70. data/lib/pdf_generator_api_client/models/document_signature.rb +399 -0
  71. data/lib/pdf_generator_api_client/models/document_signatures.rb +307 -0
  72. data/lib/pdf_generator_api_client/models/document_user.rb +1 -1
  73. data/lib/pdf_generator_api_client/models/document_version.rb +1 -1
  74. data/lib/pdf_generator_api_client/models/encrypt_and_decrypt_base64.rb +1 -1
  75. data/lib/pdf_generator_api_client/models/encrypt_and_decrypt_url.rb +1 -1
  76. data/lib/pdf_generator_api_client/models/encrypt_document_request.rb +1 -1
  77. data/lib/pdf_generator_api_client/models/extract_form_fields_request.rb +1 -1
  78. data/lib/pdf_generator_api_client/models/fill_form_fields_request.rb +1 -1
  79. data/lib/pdf_generator_api_client/models/form_action_download.rb +1 -1
  80. data/lib/pdf_generator_api_client/models/form_action_send.rb +1 -1
  81. data/lib/pdf_generator_api_client/models/form_action_send_send_document.rb +2 -2
  82. data/lib/pdf_generator_api_client/models/form_action_send_send_document_headers_inner.rb +19 -1
  83. data/lib/pdf_generator_api_client/models/form_action_sign.rb +221 -0
  84. data/lib/pdf_generator_api_client/models/form_action_store.rb +1 -1
  85. data/lib/pdf_generator_api_client/models/form_configuration.rb +28 -1
  86. data/lib/pdf_generator_api_client/models/form_configuration_import.rb +301 -0
  87. data/lib/pdf_generator_api_client/models/form_configuration_new.rb +92 -4
  88. data/lib/pdf_generator_api_client/models/form_configuration_new_actions_inner.rb +2 -1
  89. data/lib/pdf_generator_api_client/models/form_field.rb +462 -0
  90. data/lib/pdf_generator_api_client/models/{form_fields_inner.rb → form_field_options.rb} +45 -74
  91. data/lib/pdf_generator_api_client/models/form_field_sub_rows_inner.rb +104 -0
  92. data/lib/pdf_generator_api_client/models/form_fields_base64.rb +1 -1
  93. data/lib/pdf_generator_api_client/models/form_fields_url.rb +1 -1
  94. data/lib/pdf_generator_api_client/models/form_fill_base64.rb +1 -1
  95. data/lib/pdf_generator_api_client/models/form_fill_url.rb +1 -1
  96. data/lib/pdf_generator_api_client/models/form_table_column.rb +446 -0
  97. data/lib/pdf_generator_api_client/models/format_param.rb +1 -1
  98. data/lib/pdf_generator_api_client/models/generate_document_asynchronous_request.rb +1 -1
  99. data/lib/pdf_generator_api_client/models/generate_document_batch_asynchronous_request.rb +1 -1
  100. data/lib/pdf_generator_api_client/models/generate_document_batch_request.rb +1 -1
  101. data/lib/pdf_generator_api_client/models/generate_document_request.rb +1 -1
  102. data/lib/pdf_generator_api_client/models/generate_qr_code201_response.rb +1 -1
  103. data/lib/pdf_generator_api_client/models/generate_qr_code201_response_meta.rb +1 -1
  104. data/lib/pdf_generator_api_client/models/generate_qr_code_request.rb +1 -1
  105. data/lib/pdf_generator_api_client/models/generate_viewer_url200_response.rb +1 -1
  106. data/lib/pdf_generator_api_client/models/generate_viewer_url200_response_meta.rb +1 -1
  107. data/lib/pdf_generator_api_client/models/generate_viewer_url_request.rb +1 -1
  108. data/lib/pdf_generator_api_client/models/get_status200_response.rb +1 -1
  109. data/lib/pdf_generator_api_client/models/get_template_library200_response.rb +1 -1
  110. data/lib/pdf_generator_api_client/models/get_template_version422_response.rb +1 -1
  111. data/lib/pdf_generator_api_client/models/import_form_base64.rb +2 -2
  112. data/lib/pdf_generator_api_client/models/import_form_request.rb +1 -1
  113. data/lib/pdf_generator_api_client/models/import_form_url.rb +2 -2
  114. data/lib/pdf_generator_api_client/models/import_template_base64.rb +1 -1
  115. data/lib/pdf_generator_api_client/models/import_template_request.rb +1 -1
  116. data/lib/pdf_generator_api_client/models/import_template_url.rb +1 -1
  117. data/lib/pdf_generator_api_client/models/import_template_url_template.rb +1 -1
  118. data/lib/pdf_generator_api_client/models/inline_object.rb +1 -1
  119. data/lib/pdf_generator_api_client/models/inline_object1.rb +1 -1
  120. data/lib/pdf_generator_api_client/models/inline_object10.rb +1 -1
  121. data/lib/pdf_generator_api_client/models/inline_object10_meta.rb +1 -1
  122. data/lib/pdf_generator_api_client/models/inline_object11.rb +1 -1
  123. data/lib/pdf_generator_api_client/models/inline_object11_meta.rb +1 -1
  124. data/lib/pdf_generator_api_client/models/inline_object12.rb +1 -1
  125. data/lib/pdf_generator_api_client/models/inline_object12_meta.rb +1 -1
  126. data/lib/pdf_generator_api_client/models/inline_object12_meta_stats.rb +1 -1
  127. data/lib/pdf_generator_api_client/models/inline_object13.rb +1 -1
  128. data/lib/pdf_generator_api_client/models/inline_object14.rb +1 -1
  129. data/lib/pdf_generator_api_client/models/inline_object14_response_value.rb +1 -1
  130. data/lib/pdf_generator_api_client/models/inline_object14_response_value_default.rb +1 -1
  131. data/lib/pdf_generator_api_client/models/inline_object14_response_value_value.rb +1 -1
  132. data/lib/pdf_generator_api_client/models/inline_object15.rb +1 -1
  133. data/lib/pdf_generator_api_client/models/inline_object16.rb +1 -1
  134. data/lib/pdf_generator_api_client/models/inline_object17.rb +3 -5
  135. data/lib/pdf_generator_api_client/models/inline_object18.rb +8 -15
  136. data/lib/pdf_generator_api_client/models/inline_object19.rb +14 -5
  137. data/lib/pdf_generator_api_client/models/inline_object1_response.rb +1 -1
  138. data/lib/pdf_generator_api_client/models/inline_object2.rb +1 -1
  139. data/lib/pdf_generator_api_client/models/inline_object20.rb +5 -15
  140. data/lib/pdf_generator_api_client/models/inline_object21.rb +15 -6
  141. data/lib/pdf_generator_api_client/models/{inline_object20_meta.rb → inline_object21_meta.rb} +4 -4
  142. data/lib/pdf_generator_api_client/models/inline_object22.rb +3 -2
  143. data/lib/pdf_generator_api_client/models/inline_object23.rb +8 -43
  144. data/lib/pdf_generator_api_client/models/{inline_object22_response.rb → inline_object23_response.rb} +4 -4
  145. data/lib/pdf_generator_api_client/models/inline_object24.rb +3 -3
  146. data/lib/pdf_generator_api_client/models/inline_object25.rb +3 -3
  147. data/lib/pdf_generator_api_client/models/inline_object26.rb +3 -3
  148. data/lib/pdf_generator_api_client/models/inline_object27.rb +38 -14
  149. data/lib/pdf_generator_api_client/models/inline_object28.rb +1 -1
  150. data/lib/pdf_generator_api_client/models/inline_object29.rb +15 -5
  151. data/lib/pdf_generator_api_client/models/inline_object3.rb +1 -1
  152. data/lib/pdf_generator_api_client/models/inline_object30.rb +221 -0
  153. data/lib/pdf_generator_api_client/models/inline_object31.rb +221 -0
  154. data/lib/pdf_generator_api_client/models/inline_object4.rb +1 -1
  155. data/lib/pdf_generator_api_client/models/inline_object5.rb +1 -1
  156. data/lib/pdf_generator_api_client/models/inline_object6.rb +1 -1
  157. data/lib/pdf_generator_api_client/models/inline_object7.rb +1 -1
  158. data/lib/pdf_generator_api_client/models/inline_object7_response.rb +1 -1
  159. data/lib/pdf_generator_api_client/models/inline_object8.rb +1 -1
  160. data/lib/pdf_generator_api_client/models/inline_object9.rb +1 -1
  161. data/lib/pdf_generator_api_client/models/inline_object9_meta.rb +1 -1
  162. data/lib/pdf_generator_api_client/models/inline_object_meta.rb +1 -1
  163. data/lib/pdf_generator_api_client/models/key_field_param.rb +1 -1
  164. data/lib/pdf_generator_api_client/models/make_accessible_base64.rb +1 -1
  165. data/lib/pdf_generator_api_client/models/make_accessible_request.rb +1 -1
  166. data/lib/pdf_generator_api_client/models/make_accessible_url.rb +1 -1
  167. data/lib/pdf_generator_api_client/models/metadata_param.rb +1 -1
  168. data/lib/pdf_generator_api_client/models/open_editor_request.rb +1 -1
  169. data/lib/pdf_generator_api_client/models/open_editor_request_data.rb +1 -1
  170. data/lib/pdf_generator_api_client/models/optimize_base64.rb +1 -1
  171. data/lib/pdf_generator_api_client/models/optimize_document_request.rb +1 -1
  172. data/lib/pdf_generator_api_client/models/optimize_url.rb +1 -1
  173. data/lib/pdf_generator_api_client/models/output_param.rb +1 -1
  174. data/lib/pdf_generator_api_client/models/pagination_meta.rb +1 -1
  175. data/lib/pdf_generator_api_client/models/prefill_param.rb +1 -1
  176. data/lib/pdf_generator_api_client/models/promote_template_version200_response.rb +1 -1
  177. data/lib/pdf_generator_api_client/models/public_template_library_item.rb +1 -1
  178. data/lib/pdf_generator_api_client/models/status_param.rb +1 -1
  179. data/lib/pdf_generator_api_client/models/store_document_request.rb +1 -1
  180. data/lib/pdf_generator_api_client/models/template.rb +1 -1
  181. data/lib/pdf_generator_api_client/models/template_definition.rb +1 -1
  182. data/lib/pdf_generator_api_client/models/template_definition_data_settings.rb +1 -1
  183. data/lib/pdf_generator_api_client/models/template_definition_editor.rb +1 -1
  184. data/lib/pdf_generator_api_client/models/template_definition_new.rb +1 -1
  185. data/lib/pdf_generator_api_client/models/template_definition_new_data_settings.rb +1 -1
  186. data/lib/pdf_generator_api_client/models/template_definition_new_editor.rb +1 -1
  187. data/lib/pdf_generator_api_client/models/template_definition_new_layout.rb +1 -1
  188. data/lib/pdf_generator_api_client/models/template_definition_new_layout_margins.rb +1 -1
  189. data/lib/pdf_generator_api_client/models/template_definition_new_layout_repeat_layout.rb +1 -1
  190. data/lib/pdf_generator_api_client/models/template_definition_new_pages_inner.rb +1 -1
  191. data/lib/pdf_generator_api_client/models/template_definition_new_pages_inner_margins.rb +1 -1
  192. data/lib/pdf_generator_api_client/models/template_definition_pages_inner.rb +1 -1
  193. data/lib/pdf_generator_api_client/models/template_param.rb +1 -1
  194. data/lib/pdf_generator_api_client/models/template_param_data.rb +1 -1
  195. data/lib/pdf_generator_api_client/models/template_param_id.rb +1 -1
  196. data/lib/pdf_generator_api_client/models/template_version.rb +1 -1
  197. data/lib/pdf_generator_api_client/models/template_version_collection.rb +1 -1
  198. data/lib/pdf_generator_api_client/models/template_version_collection_meta.rb +1 -1
  199. data/lib/pdf_generator_api_client/models/watermark_base64.rb +1 -1
  200. data/lib/pdf_generator_api_client/models/watermark_file_url_watermark.rb +1 -1
  201. data/lib/pdf_generator_api_client/models/watermark_image.rb +1 -1
  202. data/lib/pdf_generator_api_client/models/watermark_image_content_base64.rb +1 -1
  203. data/lib/pdf_generator_api_client/models/watermark_image_content_url.rb +1 -1
  204. data/lib/pdf_generator_api_client/models/watermark_position.rb +1 -1
  205. data/lib/pdf_generator_api_client/models/watermark_text.rb +1 -1
  206. data/lib/pdf_generator_api_client/models/workspace.rb +1 -1
  207. data/lib/pdf_generator_api_client/version.rb +2 -2
  208. data/lib/pdf_generator_api_client.rb +13 -4
  209. data/pdf_generator_api_client.gemspec +1 -1
  210. data/spec/api/assets_api_spec.rb +1 -1
  211. data/spec/api/conversion_api_spec.rb +2 -2
  212. data/spec/api/documents_api_spec.rb +17 -4
  213. data/spec/api/e_invoices_api_spec.rb +1 -1
  214. data/spec/api/forms_api_spec.rb +23 -9
  215. data/spec/api/misc_api_spec.rb +1 -1
  216. data/spec/api/services_api_spec.rb +1 -1
  217. data/spec/api/template_library_api_spec.rb +2 -2
  218. data/spec/api/template_versions_api_spec.rb +2 -2
  219. data/spec/api/templates_api_spec.rb +6 -6
  220. data/spec/api/workspaces_api_spec.rb +1 -1
  221. data/spec/models/accessibility_option_spec.rb +1 -1
  222. data/spec/models/add_watermark_request_spec.rb +1 -1
  223. data/spec/models/async_output_param_spec.rb +1 -1
  224. data/spec/models/callback_param_spec.rb +1 -1
  225. data/spec/models/component_spec.rb +1 -1
  226. data/spec/models/convert_html2_pdf_request_spec.rb +1 -1
  227. data/spec/models/convert_pdf2_image_request_spec.rb +1 -1
  228. data/spec/models/convert_url2_pdf_request_spec.rb +39 -1
  229. data/spec/models/copy_template_request_spec.rb +1 -1
  230. data/spec/models/create_e_invoice_request_spec.rb +1 -1
  231. data/spec/models/create_factur_xe_invoice_request_spec.rb +1 -1
  232. data/spec/models/create_factur_xe_invoice_request_template_spec.rb +1 -1
  233. data/spec/models/create_workspace_request_spec.rb +1 -1
  234. data/spec/models/data_batch_inner_spec.rb +1 -1
  235. data/spec/models/document_action_spec.rb +1 -1
  236. data/spec/models/document_signature_spec.rb +116 -0
  237. data/spec/models/document_signatures_spec.rb +70 -0
  238. data/spec/models/document_spec.rb +1 -1
  239. data/spec/models/document_user_spec.rb +1 -1
  240. data/spec/models/document_version_spec.rb +1 -1
  241. data/spec/models/encrypt_and_decrypt_base64_spec.rb +1 -1
  242. data/spec/models/encrypt_and_decrypt_url_spec.rb +1 -1
  243. data/spec/models/encrypt_document_request_spec.rb +1 -1
  244. data/spec/models/extract_form_fields_request_spec.rb +1 -1
  245. data/spec/models/fill_form_fields_request_spec.rb +1 -1
  246. data/spec/models/form_action_download_spec.rb +1 -1
  247. data/spec/models/form_action_send_send_document_headers_inner_spec.rb +1 -1
  248. data/spec/models/form_action_send_send_document_spec.rb +1 -1
  249. data/spec/models/form_action_send_spec.rb +1 -1
  250. data/spec/models/form_action_sign_spec.rb +36 -0
  251. data/spec/models/form_action_store_spec.rb +1 -1
  252. data/spec/models/{form_fields_inner_spec.rb → form_configuration_import_spec.rb} +10 -14
  253. data/spec/models/form_configuration_new_actions_inner_spec.rb +1 -1
  254. data/spec/models/form_configuration_new_spec.rb +1 -1
  255. data/spec/models/form_configuration_spec.rb +1 -1
  256. data/spec/models/form_field_options_spec.rb +36 -0
  257. data/spec/models/form_field_spec.rb +76 -0
  258. data/spec/models/form_field_sub_rows_inner_spec.rb +21 -0
  259. data/spec/models/form_fields_base64_spec.rb +1 -1
  260. data/spec/models/form_fields_url_spec.rb +1 -1
  261. data/spec/models/form_fill_base64_spec.rb +1 -1
  262. data/spec/models/form_fill_url_spec.rb +1 -1
  263. data/spec/models/form_table_column_spec.rb +70 -0
  264. data/spec/models/format_param_spec.rb +1 -1
  265. data/spec/models/generate_document_asynchronous_request_spec.rb +1 -1
  266. data/spec/models/generate_document_batch_asynchronous_request_spec.rb +1 -1
  267. data/spec/models/generate_document_batch_request_spec.rb +1 -1
  268. data/spec/models/generate_document_request_spec.rb +1 -1
  269. data/spec/models/generate_qr_code201_response_meta_spec.rb +1 -1
  270. data/spec/models/generate_qr_code201_response_spec.rb +1 -1
  271. data/spec/models/generate_qr_code_request_spec.rb +1 -1
  272. data/spec/models/generate_viewer_url200_response_meta_spec.rb +1 -1
  273. data/spec/models/generate_viewer_url200_response_spec.rb +1 -1
  274. data/spec/models/generate_viewer_url_request_spec.rb +1 -1
  275. data/spec/models/get_status200_response_spec.rb +1 -1
  276. data/spec/models/get_template_library200_response_spec.rb +1 -1
  277. data/spec/models/get_template_version422_response_spec.rb +1 -1
  278. data/spec/models/import_form_base64_spec.rb +1 -1
  279. data/spec/models/import_form_request_spec.rb +1 -1
  280. data/spec/models/import_form_url_spec.rb +1 -1
  281. data/spec/models/import_template_base64_spec.rb +1 -1
  282. data/spec/models/import_template_request_spec.rb +1 -1
  283. data/spec/models/import_template_url_spec.rb +1 -1
  284. data/spec/models/import_template_url_template_spec.rb +1 -1
  285. data/spec/models/inline_object10_meta_spec.rb +1 -1
  286. data/spec/models/inline_object10_spec.rb +1 -1
  287. data/spec/models/inline_object11_meta_spec.rb +1 -1
  288. data/spec/models/inline_object11_spec.rb +1 -1
  289. data/spec/models/inline_object12_meta_spec.rb +1 -1
  290. data/spec/models/inline_object12_meta_stats_spec.rb +1 -1
  291. data/spec/models/inline_object12_spec.rb +1 -1
  292. data/spec/models/inline_object13_spec.rb +1 -1
  293. data/spec/models/inline_object14_response_value_default_spec.rb +1 -1
  294. data/spec/models/inline_object14_response_value_spec.rb +1 -1
  295. data/spec/models/inline_object14_response_value_value_spec.rb +1 -1
  296. data/spec/models/inline_object14_spec.rb +1 -1
  297. data/spec/models/inline_object15_spec.rb +1 -1
  298. data/spec/models/inline_object16_spec.rb +1 -1
  299. data/spec/models/inline_object17_spec.rb +1 -1
  300. data/spec/models/inline_object18_spec.rb +1 -7
  301. data/spec/models/inline_object19_spec.rb +7 -1
  302. data/spec/models/inline_object1_response_spec.rb +1 -1
  303. data/spec/models/inline_object1_spec.rb +1 -1
  304. data/spec/models/inline_object20_spec.rb +1 -7
  305. data/spec/models/{inline_object20_meta_spec.rb → inline_object21_meta_spec.rb} +7 -7
  306. data/spec/models/inline_object21_spec.rb +7 -1
  307. data/spec/models/inline_object22_spec.rb +1 -1
  308. data/spec/models/{inline_object22_response_spec.rb → inline_object23_response_spec.rb} +7 -7
  309. data/spec/models/inline_object23_spec.rb +2 -6
  310. data/spec/models/inline_object24_spec.rb +2 -2
  311. data/spec/models/inline_object25_spec.rb +2 -2
  312. data/spec/models/inline_object26_spec.rb +2 -2
  313. data/spec/models/inline_object27_spec.rb +5 -7
  314. data/spec/models/inline_object28_spec.rb +1 -1
  315. data/spec/models/inline_object29_spec.rb +7 -1
  316. data/spec/models/inline_object2_spec.rb +1 -1
  317. data/spec/models/inline_object30_spec.rb +36 -0
  318. data/spec/models/inline_object31_spec.rb +36 -0
  319. data/spec/models/inline_object3_spec.rb +1 -1
  320. data/spec/models/inline_object4_spec.rb +1 -1
  321. data/spec/models/inline_object5_spec.rb +1 -1
  322. data/spec/models/inline_object6_spec.rb +1 -1
  323. data/spec/models/inline_object7_response_spec.rb +1 -1
  324. data/spec/models/inline_object7_spec.rb +1 -1
  325. data/spec/models/inline_object8_spec.rb +1 -1
  326. data/spec/models/inline_object9_meta_spec.rb +1 -1
  327. data/spec/models/inline_object9_spec.rb +1 -1
  328. data/spec/models/inline_object_meta_spec.rb +1 -1
  329. data/spec/models/inline_object_spec.rb +1 -1
  330. data/spec/models/key_field_param_spec.rb +1 -1
  331. data/spec/models/make_accessible_base64_spec.rb +1 -1
  332. data/spec/models/make_accessible_request_spec.rb +1 -1
  333. data/spec/models/make_accessible_url_spec.rb +1 -1
  334. data/spec/models/metadata_param_spec.rb +1 -1
  335. data/spec/models/open_editor_request_data_spec.rb +1 -1
  336. data/spec/models/open_editor_request_spec.rb +1 -1
  337. data/spec/models/optimize_base64_spec.rb +1 -1
  338. data/spec/models/optimize_document_request_spec.rb +1 -1
  339. data/spec/models/optimize_url_spec.rb +1 -1
  340. data/spec/models/output_param_spec.rb +1 -1
  341. data/spec/models/pagination_meta_spec.rb +1 -1
  342. data/spec/models/prefill_param_spec.rb +1 -1
  343. data/spec/models/promote_template_version200_response_spec.rb +1 -1
  344. data/spec/models/public_template_library_item_spec.rb +1 -1
  345. data/spec/models/status_param_spec.rb +1 -1
  346. data/spec/models/store_document_request_spec.rb +1 -1
  347. data/spec/models/template_definition_data_settings_spec.rb +1 -1
  348. data/spec/models/template_definition_editor_spec.rb +1 -1
  349. data/spec/models/template_definition_new_data_settings_spec.rb +1 -1
  350. data/spec/models/template_definition_new_editor_spec.rb +1 -1
  351. data/spec/models/template_definition_new_layout_margins_spec.rb +1 -1
  352. data/spec/models/template_definition_new_layout_repeat_layout_spec.rb +1 -1
  353. data/spec/models/template_definition_new_layout_spec.rb +1 -1
  354. data/spec/models/template_definition_new_pages_inner_margins_spec.rb +1 -1
  355. data/spec/models/template_definition_new_pages_inner_spec.rb +1 -1
  356. data/spec/models/template_definition_new_spec.rb +1 -1
  357. data/spec/models/template_definition_pages_inner_spec.rb +1 -1
  358. data/spec/models/template_definition_spec.rb +1 -1
  359. data/spec/models/template_param_data_spec.rb +1 -1
  360. data/spec/models/template_param_id_spec.rb +1 -1
  361. data/spec/models/template_param_spec.rb +1 -1
  362. data/spec/models/template_spec.rb +1 -1
  363. data/spec/models/template_version_collection_meta_spec.rb +1 -1
  364. data/spec/models/template_version_collection_spec.rb +1 -1
  365. data/spec/models/template_version_spec.rb +1 -1
  366. data/spec/models/watermark_base64_spec.rb +1 -1
  367. data/spec/models/watermark_file_url_watermark_spec.rb +1 -1
  368. data/spec/models/watermark_image_content_base64_spec.rb +1 -1
  369. data/spec/models/watermark_image_content_url_spec.rb +1 -1
  370. data/spec/models/watermark_image_spec.rb +1 -1
  371. data/spec/models/watermark_position_spec.rb +1 -1
  372. data/spec/models/watermark_text_spec.rb +1 -1
  373. data/spec/models/workspace_spec.rb +1 -1
  374. data/spec/spec_helper.rb +1 -1
  375. metadata +177 -141
  376. data/docs/FormFieldsInner.md +0 -24
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 591820f19c2df20011d71cd1f2e3d36bbde01ad4f16ecbefd3ea66dafa4d91ba
4
- data.tar.gz: ecc29986fc9c1b7d1ad7b956b09140359b559e28339737083d375f1994f30fef
3
+ metadata.gz: 91581e412ae458e2f98bc35bb164fe08d39e900a761843e7dbeb1647a0d2f107
4
+ data.tar.gz: 7dfa952287c8f1b88dd51359cab3e49333848985322e5cf0c66e2cdb5de815c7
5
5
  SHA512:
6
- metadata.gz: 7509d6cc7c0043d7da017e57cee2d70e5bd21fc6cd024dd800658b18f34094be0ec3eb599c77c9e91d4f91b9a0d2a1c090f7e98a541c7f697eb008aee1b88a9b
7
- data.tar.gz: aa558a1bdc612ed864dc6ef63d60d7b699c9f68cf2e71349591f5fb660b5dd3a16d9cfe957ce2890159be295d2deeedd7d0df4582447edc9b571949d1e0ebc10
6
+ metadata.gz: 4dcc8f0b27464436231a97322da0fe965720d4640d7b72419d41dde94910228ba7416931a0038889123da64794a2ad7feb5b592884568b119b95a52995b8cf1f
7
+ data.tar.gz: 1f8a20110e8eba927c5f9ea65ab219a0f7ce1a4735f1c82644cb536a43b5ea48e2db83294d5ed216ad10d221a10bbf21b29a75ab33bda59459e484ac877f3519
data/README.md CHANGED
@@ -234,8 +234,8 @@ You can also use [jwt.io](https://jwt.io/) to generate test tokens for your API
234
234
 
235
235
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
236
236
 
237
- - API version: 4.0.28
238
- - Package version: 8.0.28
237
+ - API version: 4.0.31
238
+ - Package version: 8.0.31
239
239
  - Generator version: 7.14.0
240
240
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
241
241
  For more information, please visit [https://support.pdfgeneratorapi.com](https://support.pdfgeneratorapi.com)
@@ -253,16 +253,16 @@ gem build pdf_generator_api_client.gemspec
253
253
  Then either install the gem locally:
254
254
 
255
255
  ```shell
256
- gem install ./pdf_generator_api_client-8.0.28.gem
256
+ gem install ./pdf_generator_api_client-8.0.31.gem
257
257
  ```
258
258
 
259
- (for development, run `gem install --dev ./pdf_generator_api_client-8.0.28.gem` to install the development dependencies)
259
+ (for development, run `gem install --dev ./pdf_generator_api_client-8.0.31.gem` to install the development dependencies)
260
260
 
261
261
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
262
262
 
263
263
  Finally add this to the Gemfile:
264
264
 
265
- gem 'pdf_generator_api_client', '~> 8.0.28'
265
+ gem 'pdf_generator_api_client', '~> 8.0.31'
266
266
 
267
267
  ### Install from Git
268
268
 
@@ -326,6 +326,7 @@ Class | Method | HTTP request | Description
326
326
  *PDFGeneratorAPI::DocumentsApi* | [**get_async_job_status**](docs/DocumentsApi.md#get_async_job_status) | **GET** /documents/async/{jobId} | Get job status
327
327
  *PDFGeneratorAPI::DocumentsApi* | [**get_document**](docs/DocumentsApi.md#get_document) | **GET** /documents/{publicId} | Get document
328
328
  *PDFGeneratorAPI::DocumentsApi* | [**get_document_actions**](docs/DocumentsApi.md#get_document_actions) | **GET** /documents/{publicId}/actions | Get document actions
329
+ *PDFGeneratorAPI::DocumentsApi* | [**get_document_signatures**](docs/DocumentsApi.md#get_document_signatures) | **GET** /documents/{publicId}/signatures | Validate document signatures
329
330
  *PDFGeneratorAPI::DocumentsApi* | [**get_document_versions**](docs/DocumentsApi.md#get_document_versions) | **GET** /documents/{publicId}/versions | Get document versions
330
331
  *PDFGeneratorAPI::DocumentsApi* | [**get_documents**](docs/DocumentsApi.md#get_documents) | **GET** /documents | Get documents
331
332
  *PDFGeneratorAPI::DocumentsApi* | [**store_document**](docs/DocumentsApi.md#store_document) | **POST** /documents | Store document
@@ -336,6 +337,7 @@ Class | Method | HTTP request | Description
336
337
  *PDFGeneratorAPI::FormsApi* | [**create_form**](docs/FormsApi.md#create_form) | **POST** /forms | Create form
337
338
  *PDFGeneratorAPI::FormsApi* | [**delete_form**](docs/FormsApi.md#delete_form) | **DELETE** /forms/{formId} | Delete form
338
339
  *PDFGeneratorAPI::FormsApi* | [**get_form**](docs/FormsApi.md#get_form) | **GET** /forms/{formId} | Get form
340
+ *PDFGeneratorAPI::FormsApi* | [**get_form_schema**](docs/FormsApi.md#get_form_schema) | **GET** /forms/schema | Get schema
339
341
  *PDFGeneratorAPI::FormsApi* | [**get_forms**](docs/FormsApi.md#get_forms) | **GET** /forms | Get forms
340
342
  *PDFGeneratorAPI::FormsApi* | [**import_form**](docs/FormsApi.md#import_form) | **POST** /forms/import | Import Form
341
343
  *PDFGeneratorAPI::FormsApi* | [**open_form_builder**](docs/FormsApi.md#open_form_builder) | **POST** /forms/open | Open new form builder
@@ -391,6 +393,8 @@ Class | Method | HTTP request | Description
391
393
  - [PDFGeneratorAPI::DataBatchInner](docs/DataBatchInner.md)
392
394
  - [PDFGeneratorAPI::Document](docs/Document.md)
393
395
  - [PDFGeneratorAPI::DocumentAction](docs/DocumentAction.md)
396
+ - [PDFGeneratorAPI::DocumentSignature](docs/DocumentSignature.md)
397
+ - [PDFGeneratorAPI::DocumentSignatures](docs/DocumentSignatures.md)
394
398
  - [PDFGeneratorAPI::DocumentUser](docs/DocumentUser.md)
395
399
  - [PDFGeneratorAPI::DocumentVersion](docs/DocumentVersion.md)
396
400
  - [PDFGeneratorAPI::EncryptAndDecryptBase64](docs/EncryptAndDecryptBase64.md)
@@ -402,15 +406,20 @@ Class | Method | HTTP request | Description
402
406
  - [PDFGeneratorAPI::FormActionSend](docs/FormActionSend.md)
403
407
  - [PDFGeneratorAPI::FormActionSendSendDocument](docs/FormActionSendSendDocument.md)
404
408
  - [PDFGeneratorAPI::FormActionSendSendDocumentHeadersInner](docs/FormActionSendSendDocumentHeadersInner.md)
409
+ - [PDFGeneratorAPI::FormActionSign](docs/FormActionSign.md)
405
410
  - [PDFGeneratorAPI::FormActionStore](docs/FormActionStore.md)
406
411
  - [PDFGeneratorAPI::FormConfiguration](docs/FormConfiguration.md)
412
+ - [PDFGeneratorAPI::FormConfigurationImport](docs/FormConfigurationImport.md)
407
413
  - [PDFGeneratorAPI::FormConfigurationNew](docs/FormConfigurationNew.md)
408
414
  - [PDFGeneratorAPI::FormConfigurationNewActionsInner](docs/FormConfigurationNewActionsInner.md)
415
+ - [PDFGeneratorAPI::FormField](docs/FormField.md)
416
+ - [PDFGeneratorAPI::FormFieldOptions](docs/FormFieldOptions.md)
417
+ - [PDFGeneratorAPI::FormFieldSubRowsInner](docs/FormFieldSubRowsInner.md)
409
418
  - [PDFGeneratorAPI::FormFieldsBase64](docs/FormFieldsBase64.md)
410
- - [PDFGeneratorAPI::FormFieldsInner](docs/FormFieldsInner.md)
411
419
  - [PDFGeneratorAPI::FormFieldsUrl](docs/FormFieldsUrl.md)
412
420
  - [PDFGeneratorAPI::FormFillBase64](docs/FormFillBase64.md)
413
421
  - [PDFGeneratorAPI::FormFillUrl](docs/FormFillUrl.md)
422
+ - [PDFGeneratorAPI::FormTableColumn](docs/FormTableColumn.md)
414
423
  - [PDFGeneratorAPI::FormatParam](docs/FormatParam.md)
415
424
  - [PDFGeneratorAPI::GenerateDocumentAsynchronousRequest](docs/GenerateDocumentAsynchronousRequest.md)
416
425
  - [PDFGeneratorAPI::GenerateDocumentBatchAsynchronousRequest](docs/GenerateDocumentBatchAsynchronousRequest.md)
@@ -454,11 +463,11 @@ Class | Method | HTTP request | Description
454
463
  - [PDFGeneratorAPI::InlineObject1Response](docs/InlineObject1Response.md)
455
464
  - [PDFGeneratorAPI::InlineObject2](docs/InlineObject2.md)
456
465
  - [PDFGeneratorAPI::InlineObject20](docs/InlineObject20.md)
457
- - [PDFGeneratorAPI::InlineObject20Meta](docs/InlineObject20Meta.md)
458
466
  - [PDFGeneratorAPI::InlineObject21](docs/InlineObject21.md)
467
+ - [PDFGeneratorAPI::InlineObject21Meta](docs/InlineObject21Meta.md)
459
468
  - [PDFGeneratorAPI::InlineObject22](docs/InlineObject22.md)
460
- - [PDFGeneratorAPI::InlineObject22Response](docs/InlineObject22Response.md)
461
469
  - [PDFGeneratorAPI::InlineObject23](docs/InlineObject23.md)
470
+ - [PDFGeneratorAPI::InlineObject23Response](docs/InlineObject23Response.md)
462
471
  - [PDFGeneratorAPI::InlineObject24](docs/InlineObject24.md)
463
472
  - [PDFGeneratorAPI::InlineObject25](docs/InlineObject25.md)
464
473
  - [PDFGeneratorAPI::InlineObject26](docs/InlineObject26.md)
@@ -466,6 +475,8 @@ Class | Method | HTTP request | Description
466
475
  - [PDFGeneratorAPI::InlineObject28](docs/InlineObject28.md)
467
476
  - [PDFGeneratorAPI::InlineObject29](docs/InlineObject29.md)
468
477
  - [PDFGeneratorAPI::InlineObject3](docs/InlineObject3.md)
478
+ - [PDFGeneratorAPI::InlineObject30](docs/InlineObject30.md)
479
+ - [PDFGeneratorAPI::InlineObject31](docs/InlineObject31.md)
469
480
  - [PDFGeneratorAPI::InlineObject4](docs/InlineObject4.md)
470
481
  - [PDFGeneratorAPI::InlineObject5](docs/InlineObject5.md)
471
482
  - [PDFGeneratorAPI::InlineObject6](docs/InlineObject6.md)
@@ -153,7 +153,7 @@ end
153
153
 
154
154
  URL to PDF
155
155
 
156
- Converts public URL to PDF
156
+ Converts public URL to PDF. By default the page is printed once its network activity settles. Pages that keep making background requests (e.g. single-page applications) can signal when they have finished rendering with `wait_for_css` and/or `wait_for_js`; the page is then printed as soon as the signal is met. When both are given, both must be met.
157
157
 
158
158
  ### Examples
159
159
 
@@ -9,6 +9,11 @@
9
9
  | **orientation** | **String** | | [optional][default to 'portrait'] |
10
10
  | **output** | **String** | Output | [optional][default to 'base64'] |
11
11
  | **filename** | **String** | Document name | [optional] |
12
+ | **wait_for_css** | **String** | CSS selector of an element to wait for before the page is printed; see `wait_for_css_state` | [optional] |
13
+ | **wait_for_css_state** | **String** | How `wait_for_css` matches. `present` waits until the element exists, even if it is empty or hidden (e.g. a `<div id=\"report-ready\"></div>` marker); `visible` waits until it is also visible with a non-empty size (e.g. a chart that appears when data has loaded). | [optional][default to 'present'] |
14
+ | **wait_for_js** | **String** | JavaScript expression evaluated in the page every 100ms; the page is printed once it is truthy. Promises are awaited, and an expression that throws counts as not ready yet. | [optional] |
15
+ | **wait_timeout** | **Integer** | Seconds to wait for `wait_for_css` / `wait_for_js` before applying `on_wait_timeout` | [optional][default to 30] |
16
+ | **on_wait_timeout** | **String** | What to do when the wait signal is not met within `wait_timeout`. `error` returns a 422 response; `print` prints the page as it is. | [optional][default to 'error'] |
12
17
 
13
18
  ## Example
14
19
 
@@ -20,7 +25,12 @@ instance = PDFGeneratorAPI::ConvertURL2PDFRequest.new(
20
25
  paper_size: a4,
21
26
  orientation: portrait,
22
27
  output: base64,
23
- filename: Invoice 12345
28
+ filename: Invoice 12345,
29
+ wait_for_css: #report-ready,
30
+ wait_for_css_state: present,
31
+ wait_for_js: window.renderComplete === true,
32
+ wait_timeout: 30,
33
+ on_wait_timeout: error
24
34
  )
25
35
  ```
26
36
 
@@ -0,0 +1,42 @@
1
+ # PDFGeneratorAPI::DocumentSignature
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **field_name** | **String** | Name of the signature field in the document. | [optional] |
8
+ | **signer_name** | **String** | The name the signer signed under. | [optional] |
9
+ | **signer** | **String** | Subject of the certificate that sealed it — an organization, not a person. | [optional] |
10
+ | **issuer** | **String** | Subject of the certificate authority that issued it. | [optional] |
11
+ | **signed_at** | **String** | When a timestamp authority attested the signature (ISO-8601). This is the defensible time; the signer's own clock proves nothing. | [optional] |
12
+ | **claimed_signed_at** | **String** | The time the signer's own software recorded (ISO-8601). | [optional] |
13
+ | **timestamp_authority** | **String** | The timestamp authority that attested the signature. | [optional] |
14
+ | **intact** | **Boolean** | The bytes this signature covers are unchanged. | [optional] |
15
+ | **valid** | **Boolean** | The signature block itself adds up. On its own this does NOT mean the document is unchanged: a tampered file reports `valid` true with `intact` false, so a verdict needs intact AND valid AND trusted. | [optional] |
16
+ | **trusted** | **Boolean** | The certificate chains to a trusted root. | [optional] |
17
+ | **coverage** | **String** | How much of the file this signature protects. | [optional] |
18
+ | **ades_indication** | **String** | The ETSI EN 319 102-1 indication, when the AdES engine could run. | [optional] |
19
+ | **ades_sub_indication** | **String** | The AdES sub-indication, naming why an indication is not PASSED. | [optional] |
20
+
21
+ ## Example
22
+
23
+ ```ruby
24
+ require 'pdf_generator_api_client'
25
+
26
+ instance = PDFGeneratorAPI::DocumentSignature.new(
27
+ field_name: disclosing_party_signature,
28
+ signer_name: Jane Doe,
29
+ signer: Common Name: Actual Reports OÜ, Organization: Actual Reports OÜ, Country: EE,
30
+ issuer: Common Name: SSL.com Client Certificate Intermediate CA RSA R2, Country: US,
31
+ signed_at: 2026-08-21T09:17:08+00:00,
32
+ claimed_signed_at: 2026-08-21T09:17:06+00:00,
33
+ timestamp_authority: Common Name: SSL.com Timestamping Unit 2025 E1, Country: US,
34
+ intact: true,
35
+ valid: true,
36
+ trusted: true,
37
+ coverage: ENTIRE_FILE,
38
+ ades_indication: PASSED,
39
+ ades_sub_indication: OK
40
+ )
41
+ ```
42
+
@@ -0,0 +1,28 @@
1
+ # PDFGeneratorAPI::DocumentSignatures
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **status** | **String** | The one-line answer, reduced from every signature worst case first. `unavailable` means signature validation is not enabled on this deployment — it says nothing about the document. | [optional] |
8
+ | **status_label** | **String** | The status in words, ready to display. | [optional] |
9
+ | **has_long_term_validation** | **Boolean** | The document carries the certificate and revocation data needed to verify it after the signing certificates expire. | [optional] |
10
+ | **covers_whole_document** | **Boolean** | The last signature covers every byte, so nothing was appended after it. | [optional] |
11
+ | **document_timestamps** | **Integer** | Timestamp-only signatures, counted rather than listed: they are machinery, not people, and would double every signer. | [optional] |
12
+ | **signatures** | [**Array<DocumentSignature>**](DocumentSignature.md) | One entry per signature, excluding document timestamps. | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'pdf_generator_api_client'
18
+
19
+ instance = PDFGeneratorAPI::DocumentSignatures.new(
20
+ status: valid,
21
+ status_label: Signed, and every signature is valid,
22
+ has_long_term_validation: true,
23
+ covers_whole_document: true,
24
+ document_timestamps: 2,
25
+ signatures: null
26
+ )
27
+ ```
28
+
data/docs/DocumentsApi.md CHANGED
@@ -13,6 +13,7 @@ All URIs are relative to *https://us1.pdfgeneratorapi.com/api/v4*
13
13
  | [**get_async_job_status**](DocumentsApi.md#get_async_job_status) | **GET** /documents/async/{jobId} | Get job status |
14
14
  | [**get_document**](DocumentsApi.md#get_document) | **GET** /documents/{publicId} | Get document |
15
15
  | [**get_document_actions**](DocumentsApi.md#get_document_actions) | **GET** /documents/{publicId}/actions | Get document actions |
16
+ | [**get_document_signatures**](DocumentsApi.md#get_document_signatures) | **GET** /documents/{publicId}/signatures | Validate document signatures |
16
17
  | [**get_document_versions**](DocumentsApi.md#get_document_versions) | **GET** /documents/{publicId}/versions | Get document versions |
17
18
  | [**get_documents**](DocumentsApi.md#get_documents) | **GET** /documents | Get documents |
18
19
  | [**store_document**](DocumentsApi.md#store_document) | **POST** /documents | Store document |
@@ -157,7 +158,7 @@ end
157
158
 
158
159
  ## generate_document_asynchronous
159
160
 
160
- > <InlineObject22> generate_document_asynchronous(generate_document_asynchronous_request)
161
+ > <InlineObject23> generate_document_asynchronous(generate_document_asynchronous_request)
161
162
 
162
163
  Generate document (async)
163
164
 
@@ -190,7 +191,7 @@ end
190
191
 
191
192
  This returns an Array which contains the response data, status code and headers.
192
193
 
193
- > <Array(<InlineObject22>, Integer, Hash)> generate_document_asynchronous_with_http_info(generate_document_asynchronous_request)
194
+ > <Array(<InlineObject23>, Integer, Hash)> generate_document_asynchronous_with_http_info(generate_document_asynchronous_request)
194
195
 
195
196
  ```ruby
196
197
  begin
@@ -198,7 +199,7 @@ begin
198
199
  data, status_code, headers = api_instance.generate_document_asynchronous_with_http_info(generate_document_asynchronous_request)
199
200
  p status_code # => 2xx
200
201
  p headers # => { ... }
201
- p data # => <InlineObject22>
202
+ p data # => <InlineObject23>
202
203
  rescue PDFGeneratorAPI::ApiError => e
203
204
  puts "Error when calling DocumentsApi->generate_document_asynchronous_with_http_info: #{e}"
204
205
  end
@@ -212,7 +213,7 @@ end
212
213
 
213
214
  ### Return type
214
215
 
215
- [**InlineObject22**](InlineObject22.md)
216
+ [**InlineObject23**](InlineObject23.md)
216
217
 
217
218
  ### Authorization
218
219
 
@@ -295,7 +296,7 @@ end
295
296
 
296
297
  ## generate_document_batch_asynchronous
297
298
 
298
- > <InlineObject22> generate_document_batch_asynchronous(generate_document_batch_asynchronous_request)
299
+ > <InlineObject23> generate_document_batch_asynchronous(generate_document_batch_asynchronous_request)
299
300
 
300
301
  Generate document (batch + async)
301
302
 
@@ -328,7 +329,7 @@ end
328
329
 
329
330
  This returns an Array which contains the response data, status code and headers.
330
331
 
331
- > <Array(<InlineObject22>, Integer, Hash)> generate_document_batch_asynchronous_with_http_info(generate_document_batch_asynchronous_request)
332
+ > <Array(<InlineObject23>, Integer, Hash)> generate_document_batch_asynchronous_with_http_info(generate_document_batch_asynchronous_request)
332
333
 
333
334
  ```ruby
334
335
  begin
@@ -336,7 +337,7 @@ begin
336
337
  data, status_code, headers = api_instance.generate_document_batch_asynchronous_with_http_info(generate_document_batch_asynchronous_request)
337
338
  p status_code # => 2xx
338
339
  p headers # => { ... }
339
- p data # => <InlineObject22>
340
+ p data # => <InlineObject23>
340
341
  rescue PDFGeneratorAPI::ApiError => e
341
342
  puts "Error when calling DocumentsApi->generate_document_batch_asynchronous_with_http_info: #{e}"
342
343
  end
@@ -350,7 +351,7 @@ end
350
351
 
351
352
  ### Return type
352
353
 
353
- [**InlineObject22**](InlineObject22.md)
354
+ [**InlineObject23**](InlineObject23.md)
354
355
 
355
356
  ### Authorization
356
357
 
@@ -575,7 +576,7 @@ end
575
576
 
576
577
  ## get_document_actions
577
578
 
578
- > <InlineObject17> get_document_actions(public_id)
579
+ > <InlineObject18> get_document_actions(public_id)
579
580
 
580
581
  Get document actions
581
582
 
@@ -608,7 +609,7 @@ end
608
609
 
609
610
  This returns an Array which contains the response data, status code and headers.
610
611
 
611
- > <Array(<InlineObject17>, Integer, Hash)> get_document_actions_with_http_info(public_id)
612
+ > <Array(<InlineObject18>, Integer, Hash)> get_document_actions_with_http_info(public_id)
612
613
 
613
614
  ```ruby
614
615
  begin
@@ -616,7 +617,7 @@ begin
616
617
  data, status_code, headers = api_instance.get_document_actions_with_http_info(public_id)
617
618
  p status_code # => 2xx
618
619
  p headers # => { ... }
619
- p data # => <InlineObject17>
620
+ p data # => <InlineObject18>
620
621
  rescue PDFGeneratorAPI::ApiError => e
621
622
  puts "Error when calling DocumentsApi->get_document_actions_with_http_info: #{e}"
622
623
  end
@@ -630,6 +631,79 @@ end
630
631
 
631
632
  ### Return type
632
633
 
634
+ [**InlineObject18**](InlineObject18.md)
635
+
636
+ ### Authorization
637
+
638
+ [JSONWebTokenAuth](../README.md#JSONWebTokenAuth)
639
+
640
+ ### HTTP request headers
641
+
642
+ - **Content-Type**: Not defined
643
+ - **Accept**: application/json
644
+
645
+
646
+ ## get_document_signatures
647
+
648
+ > <InlineObject17> get_document_signatures(public_id, opts)
649
+
650
+ Validate document signatures
651
+
652
+ Reports on every digital signature a stored document carries: who signed, when a timestamp authority attested it, whether the signed bytes are unchanged and whether the certificate chains to a trusted root. Facts are reported separately from the verdict, because a reader and a validation library can disagree in both directions. `status` reduces them to one answer, worst case first. Each request consumes one credit. A request that reports `unavailable` — signature validation not being enabled on the deployment — validates nothing and is not charged.
653
+
654
+ ### Examples
655
+
656
+ ```ruby
657
+ require 'time'
658
+ require 'pdf_generator_api_client'
659
+ # setup authorization
660
+ PDFGeneratorAPI.configure do |config|
661
+ # Configure Bearer authorization (JWT): JSONWebTokenAuth
662
+ config.access_token = 'YOUR_BEARER_TOKEN'
663
+ end
664
+
665
+ api_instance = PDFGeneratorAPI::DocumentsApi.new
666
+ public_id = 'bac8381bce1982e5f6957a0f52371336' # String | Resource public id
667
+ opts = {
668
+ version: '5f3c2b1a9d8e7f6a' # String | Which stored version to report on. A version identifier reports on that version, `initial` on the document as first generated. Defaults to the latest version. A version is always reported on as itself: reporting the latest would describe bytes the caller is not holding.
669
+ }
670
+
671
+ begin
672
+ # Validate document signatures
673
+ result = api_instance.get_document_signatures(public_id, opts)
674
+ p result
675
+ rescue PDFGeneratorAPI::ApiError => e
676
+ puts "Error when calling DocumentsApi->get_document_signatures: #{e}"
677
+ end
678
+ ```
679
+
680
+ #### Using the get_document_signatures_with_http_info variant
681
+
682
+ This returns an Array which contains the response data, status code and headers.
683
+
684
+ > <Array(<InlineObject17>, Integer, Hash)> get_document_signatures_with_http_info(public_id, opts)
685
+
686
+ ```ruby
687
+ begin
688
+ # Validate document signatures
689
+ data, status_code, headers = api_instance.get_document_signatures_with_http_info(public_id, opts)
690
+ p status_code # => 2xx
691
+ p headers # => { ... }
692
+ p data # => <InlineObject17>
693
+ rescue PDFGeneratorAPI::ApiError => e
694
+ puts "Error when calling DocumentsApi->get_document_signatures_with_http_info: #{e}"
695
+ end
696
+ ```
697
+
698
+ ### Parameters
699
+
700
+ | Name | Type | Description | Notes |
701
+ | ---- | ---- | ----------- | ----- |
702
+ | **public_id** | **String** | Resource public id | |
703
+ | **version** | **String** | Which stored version to report on. A version identifier reports on that version, &#x60;initial&#x60; on the document as first generated. Defaults to the latest version. A version is always reported on as itself: reporting the latest would describe bytes the caller is not holding. | [optional] |
704
+
705
+ ### Return type
706
+
633
707
  [**InlineObject17**](InlineObject17.md)
634
708
 
635
709
  ### Authorization
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **url** | **String** | HTTPS URL where the generated document will be delivered. | |
7
+ | **url** | **String** | URL where the generated document will be delivered. Must use HTTPS. | |
8
8
  | **headers** | [**Array&lt;FormActionSendSendDocumentHeadersInner&gt;**](FormActionSendSendDocumentHeadersInner.md) | Optional HTTP headers to include with the delivery request. | [optional] |
9
9
 
10
10
  ## Example
@@ -0,0 +1,18 @@
1
+ # PDFGeneratorAPI::FormActionSign
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **sign_document** | **Boolean** | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'pdf_generator_api_client'
13
+
14
+ instance = PDFGeneratorAPI::FormActionSign.new(
15
+ sign_document: true
16
+ )
17
+ ```
18
+
@@ -0,0 +1,24 @@
1
+ # PDFGeneratorAPI::FormConfigurationImport
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **template_id** | **Integer** | Template ID which is connected to the form | [optional] |
8
+ | **name** | **String** | Form name | [optional] |
9
+ | **actions** | [**Array&lt;FormConfigurationNewActionsInner&gt;**](FormConfigurationNewActionsInner.md) | Array of action configurations. Each action is a separate object with a single key; leave an action out to disable it. | [optional] |
10
+ | **configuration** | [**FormConfiguration**](FormConfiguration.md) | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'pdf_generator_api_client'
16
+
17
+ instance = PDFGeneratorAPI::FormConfigurationImport.new(
18
+ template_id: 123123,
19
+ name: Certificate creator,
20
+ actions: null,
21
+ configuration: null
22
+ )
23
+ ```
24
+
@@ -5,9 +5,9 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **template_id** | **Integer** | Template ID which is connected to the form | [optional] |
8
- | **name** | **String** | Form name | [optional] |
9
- | **actions** | [**Array&lt;FormConfigurationNewActionsInner&gt;**](FormConfigurationNewActionsInner.md) | Array of action configurations | [optional] |
10
- | **fields** | [**Array&lt;FormFieldsInner&gt;**](FormFieldsInner.md) | A list of form field objects | [optional] |
8
+ | **name** | **String** | Form name | |
9
+ | **actions** | [**Array&lt;FormConfigurationNewActionsInner&gt;**](FormConfigurationNewActionsInner.md) | Array of action configurations. Each action is a separate object with a single key; leave an action out to disable it. | |
10
+ | **fields** | [**Array&lt;FormField&gt;**](FormField.md) | Input fields shown on the form, in display order. Field names must be unique within the form. | |
11
11
  | **configuration** | [**FormConfiguration**](FormConfiguration.md) | | [optional] |
12
12
 
13
13
  ## Example
@@ -7,6 +7,7 @@
7
7
  | **store_document** | **Boolean** | | [optional] |
8
8
  | **download_document** | **Boolean** | | [optional] |
9
9
  | **send_document** | [**FormActionSendSendDocument**](FormActionSendSendDocument.md) | | [optional] |
10
+ | **sign_document** | **Boolean** | | [optional] |
10
11
 
11
12
  ## Example
12
13
 
@@ -16,7 +17,8 @@ require 'pdf_generator_api_client'
16
17
  instance = PDFGeneratorAPI::FormConfigurationNewActionsInner.new(
17
18
  store_document: true,
18
19
  download_document: true,
19
- send_document: null
20
+ send_document: null,
21
+ sign_document: true
20
22
  )
21
23
  ```
22
24
 
data/docs/FormField.md ADDED
@@ -0,0 +1,30 @@
1
+ # PDFGeneratorAPI::FormField
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **label** | **String** | Field label displayed in the form | |
8
+ | **name** | **String** | Data field name. For example \&quot;name\&quot; can be used as \&quot;{name}\&quot; in the document as placeholder. | |
9
+ | **type** | **String** | Field type * &#x60;text&#x60; - Free text input * &#x60;integer&#x60; - Whole number input * &#x60;number&#x60; - Decimal number input * &#x60;date&#x60; - Date picker * &#x60;signature&#x60; - Hand-drawn signature, stored as an image * &#x60;select&#x60; - Dropdown with a single choice. Requires &#x60;subRows&#x60; with options and a &#x60;default&#x60; value * &#x60;multi-select&#x60; - Dropdown with multiple choices. Requires &#x60;subRows&#x60; with options * &#x60;table&#x60; - Repeating rows of values. Its columns are defined in &#x60;subRows&#x60; * &#x60;image&#x60; - Image upload * &#x60;pdf&#x60; - PDF file upload | |
10
+ | **required** | **Boolean** | Specifies if the field is required or not | |
11
+ | **default** | **String** | Value pre-filled in the field. Required for &#x60;select&#x60; fields and must be one of the options. Not used by &#x60;table&#x60; fields. | [optional] |
12
+ | **description** | **String** | Help text shown with the field | [optional] |
13
+ | **sub_rows** | [**Array&lt;FormFieldSubRowsInner&gt;**](FormFieldSubRowsInner.md) | Options for &#x60;select&#x60; and &#x60;multi-select&#x60; fields (a single object), columns for &#x60;table&#x60; fields. Not used by other field types. | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'pdf_generator_api_client'
19
+
20
+ instance = PDFGeneratorAPI::FormField.new(
21
+ label: Full name,
22
+ name: name,
23
+ type: text,
24
+ required: false,
25
+ default: Medium,
26
+ description: Enter your name as shown in your passport,
27
+ sub_rows: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,18 @@
1
+ # PDFGeneratorAPI::FormFieldOptions
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **options** | **String** | Comma-separated list of choices. Whitespace around each choice is trimmed and choices must be unique. | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'pdf_generator_api_client'
13
+
14
+ instance = PDFGeneratorAPI::FormFieldOptions.new(
15
+ options: Small,Medium,Large
16
+ )
17
+ ```
18
+
@@ -0,0 +1,30 @@
1
+ # PDFGeneratorAPI::FormFieldSubRowsInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **options** | **String** | Comma-separated list of choices. Whitespace around each choice is trimmed and choices must be unique. | |
8
+ | **label** | **String** | Column label displayed in the form | |
9
+ | **name** | **String** | Data field name of the column | |
10
+ | **type** | **String** | Column type. &#x60;select&#x60; columns require &#x60;subRows&#x60; with options and a &#x60;default&#x60; value. | |
11
+ | **required** | **Boolean** | Specifies if the column is required or not | |
12
+ | **default** | **String** | Value pre-filled in the column. Required for &#x60;select&#x60; columns and must be one of the options. | [optional] |
13
+ | **sub_rows** | [**Array&lt;FormFieldOptions&gt;**](FormFieldOptions.md) | Options for &#x60;select&#x60; columns (a single object). Not used by other column types. | [optional] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'pdf_generator_api_client'
19
+
20
+ instance = PDFGeneratorAPI::FormFieldSubRowsInner.new(
21
+ options: Small,Medium,Large,
22
+ label: Product,
23
+ name: product,
24
+ type: text,
25
+ required: false,
26
+ default: Medium,
27
+ sub_rows: null
28
+ )
29
+ ```
30
+
@@ -0,0 +1,28 @@
1
+ # PDFGeneratorAPI::FormTableColumn
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **label** | **String** | Column label displayed in the form | |
8
+ | **name** | **String** | Data field name of the column | |
9
+ | **type** | **String** | Column type. &#x60;select&#x60; columns require &#x60;subRows&#x60; with options and a &#x60;default&#x60; value. | |
10
+ | **required** | **Boolean** | Specifies if the column is required or not | |
11
+ | **default** | **String** | Value pre-filled in the column. Required for &#x60;select&#x60; columns and must be one of the options. | [optional] |
12
+ | **sub_rows** | [**Array&lt;FormFieldOptions&gt;**](FormFieldOptions.md) | Options for &#x60;select&#x60; columns (a single object). Not used by other column types. | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'pdf_generator_api_client'
18
+
19
+ instance = PDFGeneratorAPI::FormTableColumn.new(
20
+ label: Product,
21
+ name: product,
22
+ type: text,
23
+ required: false,
24
+ default: Medium,
25
+ sub_rows: null
26
+ )
27
+ ```
28
+