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.
- checksums.yaml +4 -4
- data/README.md +19 -8
- data/docs/ConversionApi.md +1 -1
- data/docs/ConvertURL2PDFRequest.md +11 -1
- data/docs/DocumentSignature.md +42 -0
- data/docs/DocumentSignatures.md +28 -0
- data/docs/DocumentsApi.md +85 -11
- data/docs/FormActionSendSendDocument.md +1 -1
- data/docs/FormActionSign.md +18 -0
- data/docs/FormConfigurationImport.md +24 -0
- data/docs/FormConfigurationNew.md +3 -3
- data/docs/FormConfigurationNewActionsInner.md +3 -1
- data/docs/FormField.md +30 -0
- data/docs/FormFieldOptions.md +18 -0
- data/docs/FormFieldSubRowsInner.md +30 -0
- data/docs/FormTableColumn.md +28 -0
- data/docs/FormsApi.md +100 -32
- data/docs/ImportFormBase64.md +1 -1
- data/docs/ImportFormUrl.md +1 -1
- data/docs/InlineObject17.md +1 -1
- data/docs/InlineObject18.md +2 -4
- data/docs/InlineObject19.md +4 -2
- data/docs/InlineObject20.md +2 -4
- data/docs/InlineObject21.md +4 -2
- data/docs/{InlineObject20Meta.md → InlineObject21Meta.md} +2 -2
- data/docs/InlineObject22.md +2 -2
- data/docs/InlineObject23.md +2 -2
- data/docs/{InlineObject22Response.md → InlineObject23Response.md} +2 -2
- data/docs/InlineObject24.md +1 -1
- data/docs/InlineObject25.md +1 -1
- data/docs/InlineObject26.md +1 -1
- data/docs/InlineObject27.md +1 -3
- data/docs/InlineObject28.md +1 -1
- data/docs/InlineObject29.md +3 -1
- data/docs/InlineObject30.md +18 -0
- data/docs/InlineObject31.md +18 -0
- data/docs/TemplateLibraryApi.md +4 -4
- data/docs/TemplateVersionsApi.md +4 -4
- data/docs/TemplatesApi.md +20 -20
- data/lib/pdf_generator_api_client/api/assets_api.rb +1 -1
- data/lib/pdf_generator_api_client/api/conversion_api.rb +3 -3
- data/lib/pdf_generator_api_client/api/documents_api.rb +76 -10
- data/lib/pdf_generator_api_client/api/e_invoices_api.rb +1 -1
- data/lib/pdf_generator_api_client/api/forms_api.rb +98 -24
- data/lib/pdf_generator_api_client/api/misc_api.rb +1 -1
- data/lib/pdf_generator_api_client/api/services_api.rb +1 -1
- data/lib/pdf_generator_api_client/api/template_library_api.rb +4 -4
- data/lib/pdf_generator_api_client/api/template_versions_api.rb +4 -4
- data/lib/pdf_generator_api_client/api/templates_api.rb +16 -16
- data/lib/pdf_generator_api_client/api/workspaces_api.rb +1 -1
- data/lib/pdf_generator_api_client/api_client.rb +1 -1
- data/lib/pdf_generator_api_client/api_error.rb +1 -1
- data/lib/pdf_generator_api_client/configuration.rb +1 -1
- data/lib/pdf_generator_api_client/models/accessibility_option.rb +1 -1
- data/lib/pdf_generator_api_client/models/add_watermark_request.rb +1 -1
- data/lib/pdf_generator_api_client/models/async_output_param.rb +1 -1
- data/lib/pdf_generator_api_client/models/callback_param.rb +1 -1
- data/lib/pdf_generator_api_client/models/component.rb +1 -1
- data/lib/pdf_generator_api_client/models/convert_html2_pdf_request.rb +1 -1
- data/lib/pdf_generator_api_client/models/convert_pdf2_image_request.rb +1 -1
- data/lib/pdf_generator_api_client/models/convert_url2_pdf_request.rb +151 -5
- data/lib/pdf_generator_api_client/models/copy_template_request.rb +1 -1
- data/lib/pdf_generator_api_client/models/create_e_invoice_request.rb +1 -1
- data/lib/pdf_generator_api_client/models/create_factur_xe_invoice_request.rb +1 -1
- data/lib/pdf_generator_api_client/models/create_factur_xe_invoice_request_template.rb +1 -1
- data/lib/pdf_generator_api_client/models/create_workspace_request.rb +1 -1
- data/lib/pdf_generator_api_client/models/data_batch_inner.rb +1 -1
- data/lib/pdf_generator_api_client/models/document.rb +1 -1
- data/lib/pdf_generator_api_client/models/document_action.rb +1 -1
- data/lib/pdf_generator_api_client/models/document_signature.rb +399 -0
- data/lib/pdf_generator_api_client/models/document_signatures.rb +307 -0
- data/lib/pdf_generator_api_client/models/document_user.rb +1 -1
- data/lib/pdf_generator_api_client/models/document_version.rb +1 -1
- data/lib/pdf_generator_api_client/models/encrypt_and_decrypt_base64.rb +1 -1
- data/lib/pdf_generator_api_client/models/encrypt_and_decrypt_url.rb +1 -1
- data/lib/pdf_generator_api_client/models/encrypt_document_request.rb +1 -1
- data/lib/pdf_generator_api_client/models/extract_form_fields_request.rb +1 -1
- data/lib/pdf_generator_api_client/models/fill_form_fields_request.rb +1 -1
- data/lib/pdf_generator_api_client/models/form_action_download.rb +1 -1
- data/lib/pdf_generator_api_client/models/form_action_send.rb +1 -1
- data/lib/pdf_generator_api_client/models/form_action_send_send_document.rb +2 -2
- data/lib/pdf_generator_api_client/models/form_action_send_send_document_headers_inner.rb +19 -1
- data/lib/pdf_generator_api_client/models/form_action_sign.rb +221 -0
- data/lib/pdf_generator_api_client/models/form_action_store.rb +1 -1
- data/lib/pdf_generator_api_client/models/form_configuration.rb +28 -1
- data/lib/pdf_generator_api_client/models/form_configuration_import.rb +301 -0
- data/lib/pdf_generator_api_client/models/form_configuration_new.rb +92 -4
- data/lib/pdf_generator_api_client/models/form_configuration_new_actions_inner.rb +2 -1
- data/lib/pdf_generator_api_client/models/form_field.rb +462 -0
- data/lib/pdf_generator_api_client/models/{form_fields_inner.rb → form_field_options.rb} +45 -74
- data/lib/pdf_generator_api_client/models/form_field_sub_rows_inner.rb +104 -0
- data/lib/pdf_generator_api_client/models/form_fields_base64.rb +1 -1
- data/lib/pdf_generator_api_client/models/form_fields_url.rb +1 -1
- data/lib/pdf_generator_api_client/models/form_fill_base64.rb +1 -1
- data/lib/pdf_generator_api_client/models/form_fill_url.rb +1 -1
- data/lib/pdf_generator_api_client/models/form_table_column.rb +446 -0
- data/lib/pdf_generator_api_client/models/format_param.rb +1 -1
- data/lib/pdf_generator_api_client/models/generate_document_asynchronous_request.rb +1 -1
- data/lib/pdf_generator_api_client/models/generate_document_batch_asynchronous_request.rb +1 -1
- data/lib/pdf_generator_api_client/models/generate_document_batch_request.rb +1 -1
- data/lib/pdf_generator_api_client/models/generate_document_request.rb +1 -1
- data/lib/pdf_generator_api_client/models/generate_qr_code201_response.rb +1 -1
- data/lib/pdf_generator_api_client/models/generate_qr_code201_response_meta.rb +1 -1
- data/lib/pdf_generator_api_client/models/generate_qr_code_request.rb +1 -1
- data/lib/pdf_generator_api_client/models/generate_viewer_url200_response.rb +1 -1
- data/lib/pdf_generator_api_client/models/generate_viewer_url200_response_meta.rb +1 -1
- data/lib/pdf_generator_api_client/models/generate_viewer_url_request.rb +1 -1
- data/lib/pdf_generator_api_client/models/get_status200_response.rb +1 -1
- data/lib/pdf_generator_api_client/models/get_template_library200_response.rb +1 -1
- data/lib/pdf_generator_api_client/models/get_template_version422_response.rb +1 -1
- data/lib/pdf_generator_api_client/models/import_form_base64.rb +2 -2
- data/lib/pdf_generator_api_client/models/import_form_request.rb +1 -1
- data/lib/pdf_generator_api_client/models/import_form_url.rb +2 -2
- data/lib/pdf_generator_api_client/models/import_template_base64.rb +1 -1
- data/lib/pdf_generator_api_client/models/import_template_request.rb +1 -1
- data/lib/pdf_generator_api_client/models/import_template_url.rb +1 -1
- data/lib/pdf_generator_api_client/models/import_template_url_template.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object1.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object10.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object10_meta.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object11.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object11_meta.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object12.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object12_meta.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object12_meta_stats.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object13.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object14.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object14_response_value.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object14_response_value_default.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object14_response_value_value.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object15.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object16.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object17.rb +3 -5
- data/lib/pdf_generator_api_client/models/inline_object18.rb +8 -15
- data/lib/pdf_generator_api_client/models/inline_object19.rb +14 -5
- data/lib/pdf_generator_api_client/models/inline_object1_response.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object2.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object20.rb +5 -15
- data/lib/pdf_generator_api_client/models/inline_object21.rb +15 -6
- data/lib/pdf_generator_api_client/models/{inline_object20_meta.rb → inline_object21_meta.rb} +4 -4
- data/lib/pdf_generator_api_client/models/inline_object22.rb +3 -2
- data/lib/pdf_generator_api_client/models/inline_object23.rb +8 -43
- data/lib/pdf_generator_api_client/models/{inline_object22_response.rb → inline_object23_response.rb} +4 -4
- data/lib/pdf_generator_api_client/models/inline_object24.rb +3 -3
- data/lib/pdf_generator_api_client/models/inline_object25.rb +3 -3
- data/lib/pdf_generator_api_client/models/inline_object26.rb +3 -3
- data/lib/pdf_generator_api_client/models/inline_object27.rb +38 -14
- data/lib/pdf_generator_api_client/models/inline_object28.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object29.rb +15 -5
- data/lib/pdf_generator_api_client/models/inline_object3.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object30.rb +221 -0
- data/lib/pdf_generator_api_client/models/inline_object31.rb +221 -0
- data/lib/pdf_generator_api_client/models/inline_object4.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object5.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object6.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object7.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object7_response.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object8.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object9.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object9_meta.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object_meta.rb +1 -1
- data/lib/pdf_generator_api_client/models/key_field_param.rb +1 -1
- data/lib/pdf_generator_api_client/models/make_accessible_base64.rb +1 -1
- data/lib/pdf_generator_api_client/models/make_accessible_request.rb +1 -1
- data/lib/pdf_generator_api_client/models/make_accessible_url.rb +1 -1
- data/lib/pdf_generator_api_client/models/metadata_param.rb +1 -1
- data/lib/pdf_generator_api_client/models/open_editor_request.rb +1 -1
- data/lib/pdf_generator_api_client/models/open_editor_request_data.rb +1 -1
- data/lib/pdf_generator_api_client/models/optimize_base64.rb +1 -1
- data/lib/pdf_generator_api_client/models/optimize_document_request.rb +1 -1
- data/lib/pdf_generator_api_client/models/optimize_url.rb +1 -1
- data/lib/pdf_generator_api_client/models/output_param.rb +1 -1
- data/lib/pdf_generator_api_client/models/pagination_meta.rb +1 -1
- data/lib/pdf_generator_api_client/models/prefill_param.rb +1 -1
- data/lib/pdf_generator_api_client/models/promote_template_version200_response.rb +1 -1
- data/lib/pdf_generator_api_client/models/public_template_library_item.rb +1 -1
- data/lib/pdf_generator_api_client/models/status_param.rb +1 -1
- data/lib/pdf_generator_api_client/models/store_document_request.rb +1 -1
- data/lib/pdf_generator_api_client/models/template.rb +1 -1
- data/lib/pdf_generator_api_client/models/template_definition.rb +1 -1
- data/lib/pdf_generator_api_client/models/template_definition_data_settings.rb +1 -1
- data/lib/pdf_generator_api_client/models/template_definition_editor.rb +1 -1
- data/lib/pdf_generator_api_client/models/template_definition_new.rb +1 -1
- data/lib/pdf_generator_api_client/models/template_definition_new_data_settings.rb +1 -1
- data/lib/pdf_generator_api_client/models/template_definition_new_editor.rb +1 -1
- data/lib/pdf_generator_api_client/models/template_definition_new_layout.rb +1 -1
- data/lib/pdf_generator_api_client/models/template_definition_new_layout_margins.rb +1 -1
- data/lib/pdf_generator_api_client/models/template_definition_new_layout_repeat_layout.rb +1 -1
- data/lib/pdf_generator_api_client/models/template_definition_new_pages_inner.rb +1 -1
- data/lib/pdf_generator_api_client/models/template_definition_new_pages_inner_margins.rb +1 -1
- data/lib/pdf_generator_api_client/models/template_definition_pages_inner.rb +1 -1
- data/lib/pdf_generator_api_client/models/template_param.rb +1 -1
- data/lib/pdf_generator_api_client/models/template_param_data.rb +1 -1
- data/lib/pdf_generator_api_client/models/template_param_id.rb +1 -1
- data/lib/pdf_generator_api_client/models/template_version.rb +1 -1
- data/lib/pdf_generator_api_client/models/template_version_collection.rb +1 -1
- data/lib/pdf_generator_api_client/models/template_version_collection_meta.rb +1 -1
- data/lib/pdf_generator_api_client/models/watermark_base64.rb +1 -1
- data/lib/pdf_generator_api_client/models/watermark_file_url_watermark.rb +1 -1
- data/lib/pdf_generator_api_client/models/watermark_image.rb +1 -1
- data/lib/pdf_generator_api_client/models/watermark_image_content_base64.rb +1 -1
- data/lib/pdf_generator_api_client/models/watermark_image_content_url.rb +1 -1
- data/lib/pdf_generator_api_client/models/watermark_position.rb +1 -1
- data/lib/pdf_generator_api_client/models/watermark_text.rb +1 -1
- data/lib/pdf_generator_api_client/models/workspace.rb +1 -1
- data/lib/pdf_generator_api_client/version.rb +2 -2
- data/lib/pdf_generator_api_client.rb +13 -4
- data/pdf_generator_api_client.gemspec +1 -1
- data/spec/api/assets_api_spec.rb +1 -1
- data/spec/api/conversion_api_spec.rb +2 -2
- data/spec/api/documents_api_spec.rb +17 -4
- data/spec/api/e_invoices_api_spec.rb +1 -1
- data/spec/api/forms_api_spec.rb +23 -9
- data/spec/api/misc_api_spec.rb +1 -1
- data/spec/api/services_api_spec.rb +1 -1
- data/spec/api/template_library_api_spec.rb +2 -2
- data/spec/api/template_versions_api_spec.rb +2 -2
- data/spec/api/templates_api_spec.rb +6 -6
- data/spec/api/workspaces_api_spec.rb +1 -1
- data/spec/models/accessibility_option_spec.rb +1 -1
- data/spec/models/add_watermark_request_spec.rb +1 -1
- data/spec/models/async_output_param_spec.rb +1 -1
- data/spec/models/callback_param_spec.rb +1 -1
- data/spec/models/component_spec.rb +1 -1
- data/spec/models/convert_html2_pdf_request_spec.rb +1 -1
- data/spec/models/convert_pdf2_image_request_spec.rb +1 -1
- data/spec/models/convert_url2_pdf_request_spec.rb +39 -1
- data/spec/models/copy_template_request_spec.rb +1 -1
- data/spec/models/create_e_invoice_request_spec.rb +1 -1
- data/spec/models/create_factur_xe_invoice_request_spec.rb +1 -1
- data/spec/models/create_factur_xe_invoice_request_template_spec.rb +1 -1
- data/spec/models/create_workspace_request_spec.rb +1 -1
- data/spec/models/data_batch_inner_spec.rb +1 -1
- data/spec/models/document_action_spec.rb +1 -1
- data/spec/models/document_signature_spec.rb +116 -0
- data/spec/models/document_signatures_spec.rb +70 -0
- data/spec/models/document_spec.rb +1 -1
- data/spec/models/document_user_spec.rb +1 -1
- data/spec/models/document_version_spec.rb +1 -1
- data/spec/models/encrypt_and_decrypt_base64_spec.rb +1 -1
- data/spec/models/encrypt_and_decrypt_url_spec.rb +1 -1
- data/spec/models/encrypt_document_request_spec.rb +1 -1
- data/spec/models/extract_form_fields_request_spec.rb +1 -1
- data/spec/models/fill_form_fields_request_spec.rb +1 -1
- data/spec/models/form_action_download_spec.rb +1 -1
- data/spec/models/form_action_send_send_document_headers_inner_spec.rb +1 -1
- data/spec/models/form_action_send_send_document_spec.rb +1 -1
- data/spec/models/form_action_send_spec.rb +1 -1
- data/spec/models/form_action_sign_spec.rb +36 -0
- data/spec/models/form_action_store_spec.rb +1 -1
- data/spec/models/{form_fields_inner_spec.rb → form_configuration_import_spec.rb} +10 -14
- data/spec/models/form_configuration_new_actions_inner_spec.rb +1 -1
- data/spec/models/form_configuration_new_spec.rb +1 -1
- data/spec/models/form_configuration_spec.rb +1 -1
- data/spec/models/form_field_options_spec.rb +36 -0
- data/spec/models/form_field_spec.rb +76 -0
- data/spec/models/form_field_sub_rows_inner_spec.rb +21 -0
- data/spec/models/form_fields_base64_spec.rb +1 -1
- data/spec/models/form_fields_url_spec.rb +1 -1
- data/spec/models/form_fill_base64_spec.rb +1 -1
- data/spec/models/form_fill_url_spec.rb +1 -1
- data/spec/models/form_table_column_spec.rb +70 -0
- data/spec/models/format_param_spec.rb +1 -1
- data/spec/models/generate_document_asynchronous_request_spec.rb +1 -1
- data/spec/models/generate_document_batch_asynchronous_request_spec.rb +1 -1
- data/spec/models/generate_document_batch_request_spec.rb +1 -1
- data/spec/models/generate_document_request_spec.rb +1 -1
- data/spec/models/generate_qr_code201_response_meta_spec.rb +1 -1
- data/spec/models/generate_qr_code201_response_spec.rb +1 -1
- data/spec/models/generate_qr_code_request_spec.rb +1 -1
- data/spec/models/generate_viewer_url200_response_meta_spec.rb +1 -1
- data/spec/models/generate_viewer_url200_response_spec.rb +1 -1
- data/spec/models/generate_viewer_url_request_spec.rb +1 -1
- data/spec/models/get_status200_response_spec.rb +1 -1
- data/spec/models/get_template_library200_response_spec.rb +1 -1
- data/spec/models/get_template_version422_response_spec.rb +1 -1
- data/spec/models/import_form_base64_spec.rb +1 -1
- data/spec/models/import_form_request_spec.rb +1 -1
- data/spec/models/import_form_url_spec.rb +1 -1
- data/spec/models/import_template_base64_spec.rb +1 -1
- data/spec/models/import_template_request_spec.rb +1 -1
- data/spec/models/import_template_url_spec.rb +1 -1
- data/spec/models/import_template_url_template_spec.rb +1 -1
- data/spec/models/inline_object10_meta_spec.rb +1 -1
- data/spec/models/inline_object10_spec.rb +1 -1
- data/spec/models/inline_object11_meta_spec.rb +1 -1
- data/spec/models/inline_object11_spec.rb +1 -1
- data/spec/models/inline_object12_meta_spec.rb +1 -1
- data/spec/models/inline_object12_meta_stats_spec.rb +1 -1
- data/spec/models/inline_object12_spec.rb +1 -1
- data/spec/models/inline_object13_spec.rb +1 -1
- data/spec/models/inline_object14_response_value_default_spec.rb +1 -1
- data/spec/models/inline_object14_response_value_spec.rb +1 -1
- data/spec/models/inline_object14_response_value_value_spec.rb +1 -1
- data/spec/models/inline_object14_spec.rb +1 -1
- data/spec/models/inline_object15_spec.rb +1 -1
- data/spec/models/inline_object16_spec.rb +1 -1
- data/spec/models/inline_object17_spec.rb +1 -1
- data/spec/models/inline_object18_spec.rb +1 -7
- data/spec/models/inline_object19_spec.rb +7 -1
- data/spec/models/inline_object1_response_spec.rb +1 -1
- data/spec/models/inline_object1_spec.rb +1 -1
- data/spec/models/inline_object20_spec.rb +1 -7
- data/spec/models/{inline_object20_meta_spec.rb → inline_object21_meta_spec.rb} +7 -7
- data/spec/models/inline_object21_spec.rb +7 -1
- data/spec/models/inline_object22_spec.rb +1 -1
- data/spec/models/{inline_object22_response_spec.rb → inline_object23_response_spec.rb} +7 -7
- data/spec/models/inline_object23_spec.rb +2 -6
- data/spec/models/inline_object24_spec.rb +2 -2
- data/spec/models/inline_object25_spec.rb +2 -2
- data/spec/models/inline_object26_spec.rb +2 -2
- data/spec/models/inline_object27_spec.rb +5 -7
- data/spec/models/inline_object28_spec.rb +1 -1
- data/spec/models/inline_object29_spec.rb +7 -1
- data/spec/models/inline_object2_spec.rb +1 -1
- data/spec/models/inline_object30_spec.rb +36 -0
- data/spec/models/inline_object31_spec.rb +36 -0
- data/spec/models/inline_object3_spec.rb +1 -1
- data/spec/models/inline_object4_spec.rb +1 -1
- data/spec/models/inline_object5_spec.rb +1 -1
- data/spec/models/inline_object6_spec.rb +1 -1
- data/spec/models/inline_object7_response_spec.rb +1 -1
- data/spec/models/inline_object7_spec.rb +1 -1
- data/spec/models/inline_object8_spec.rb +1 -1
- data/spec/models/inline_object9_meta_spec.rb +1 -1
- data/spec/models/inline_object9_spec.rb +1 -1
- data/spec/models/inline_object_meta_spec.rb +1 -1
- data/spec/models/inline_object_spec.rb +1 -1
- data/spec/models/key_field_param_spec.rb +1 -1
- data/spec/models/make_accessible_base64_spec.rb +1 -1
- data/spec/models/make_accessible_request_spec.rb +1 -1
- data/spec/models/make_accessible_url_spec.rb +1 -1
- data/spec/models/metadata_param_spec.rb +1 -1
- data/spec/models/open_editor_request_data_spec.rb +1 -1
- data/spec/models/open_editor_request_spec.rb +1 -1
- data/spec/models/optimize_base64_spec.rb +1 -1
- data/spec/models/optimize_document_request_spec.rb +1 -1
- data/spec/models/optimize_url_spec.rb +1 -1
- data/spec/models/output_param_spec.rb +1 -1
- data/spec/models/pagination_meta_spec.rb +1 -1
- data/spec/models/prefill_param_spec.rb +1 -1
- data/spec/models/promote_template_version200_response_spec.rb +1 -1
- data/spec/models/public_template_library_item_spec.rb +1 -1
- data/spec/models/status_param_spec.rb +1 -1
- data/spec/models/store_document_request_spec.rb +1 -1
- data/spec/models/template_definition_data_settings_spec.rb +1 -1
- data/spec/models/template_definition_editor_spec.rb +1 -1
- data/spec/models/template_definition_new_data_settings_spec.rb +1 -1
- data/spec/models/template_definition_new_editor_spec.rb +1 -1
- data/spec/models/template_definition_new_layout_margins_spec.rb +1 -1
- data/spec/models/template_definition_new_layout_repeat_layout_spec.rb +1 -1
- data/spec/models/template_definition_new_layout_spec.rb +1 -1
- data/spec/models/template_definition_new_pages_inner_margins_spec.rb +1 -1
- data/spec/models/template_definition_new_pages_inner_spec.rb +1 -1
- data/spec/models/template_definition_new_spec.rb +1 -1
- data/spec/models/template_definition_pages_inner_spec.rb +1 -1
- data/spec/models/template_definition_spec.rb +1 -1
- data/spec/models/template_param_data_spec.rb +1 -1
- data/spec/models/template_param_id_spec.rb +1 -1
- data/spec/models/template_param_spec.rb +1 -1
- data/spec/models/template_spec.rb +1 -1
- data/spec/models/template_version_collection_meta_spec.rb +1 -1
- data/spec/models/template_version_collection_spec.rb +1 -1
- data/spec/models/template_version_spec.rb +1 -1
- data/spec/models/watermark_base64_spec.rb +1 -1
- data/spec/models/watermark_file_url_watermark_spec.rb +1 -1
- data/spec/models/watermark_image_content_base64_spec.rb +1 -1
- data/spec/models/watermark_image_content_url_spec.rb +1 -1
- data/spec/models/watermark_image_spec.rb +1 -1
- data/spec/models/watermark_position_spec.rb +1 -1
- data/spec/models/watermark_text_spec.rb +1 -1
- data/spec/models/workspace_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +177 -141
- data/docs/FormFieldsInner.md +0 -24
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 91581e412ae458e2f98bc35bb164fe08d39e900a761843e7dbeb1647a0d2f107
|
|
4
|
+
data.tar.gz: 7dfa952287c8f1b88dd51359cab3e49333848985322e5cf0c66e2cdb5de815c7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
238
|
-
- Package version: 8.0.
|
|
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.
|
|
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.
|
|
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.
|
|
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)
|
data/docs/ConversionApi.md
CHANGED
|
@@ -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
|
-
> <
|
|
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(<
|
|
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 # => <
|
|
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
|
-
[**
|
|
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
|
-
> <
|
|
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(<
|
|
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 # => <
|
|
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
|
-
[**
|
|
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
|
-
> <
|
|
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(<
|
|
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 # => <
|
|
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, `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. | [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** |
|
|
7
|
+
| **url** | **String** | URL where the generated document will be delivered. Must use HTTPS. | |
|
|
8
8
|
| **headers** | [**Array<FormActionSendSendDocumentHeadersInner>**](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<FormConfigurationNewActionsInner>**](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 |
|
|
9
|
-
| **actions** | [**Array<FormConfigurationNewActionsInner>**](FormConfigurationNewActionsInner.md) | Array of action configurations
|
|
10
|
-
| **fields** | [**Array<
|
|
8
|
+
| **name** | **String** | Form name | |
|
|
9
|
+
| **actions** | [**Array<FormConfigurationNewActionsInner>**](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<FormField>**](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 \"name\" can be used as \"{name}\" in the document as placeholder. | |
|
|
9
|
+
| **type** | **String** | Field type * `text` - Free text input * `integer` - Whole number input * `number` - Decimal number input * `date` - Date picker * `signature` - Hand-drawn signature, stored as an image * `select` - Dropdown with a single choice. Requires `subRows` with options and a `default` value * `multi-select` - Dropdown with multiple choices. Requires `subRows` with options * `table` - Repeating rows of values. Its columns are defined in `subRows` * `image` - Image upload * `pdf` - 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 `select` fields and must be one of the options. Not used by `table` fields. | [optional] |
|
|
12
|
+
| **description** | **String** | Help text shown with the field | [optional] |
|
|
13
|
+
| **sub_rows** | [**Array<FormFieldSubRowsInner>**](FormFieldSubRowsInner.md) | Options for `select` and `multi-select` fields (a single object), columns for `table` 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. `select` columns require `subRows` with options and a `default` value. | |
|
|
11
|
+
| **required** | **Boolean** | Specifies if the column is required or not | |
|
|
12
|
+
| **default** | **String** | Value pre-filled in the column. Required for `select` columns and must be one of the options. | [optional] |
|
|
13
|
+
| **sub_rows** | [**Array<FormFieldOptions>**](FormFieldOptions.md) | Options for `select` 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. `select` columns require `subRows` with options and a `default` value. | |
|
|
10
|
+
| **required** | **Boolean** | Specifies if the column is required or not | |
|
|
11
|
+
| **default** | **String** | Value pre-filled in the column. Required for `select` columns and must be one of the options. | [optional] |
|
|
12
|
+
| **sub_rows** | [**Array<FormFieldOptions>**](FormFieldOptions.md) | Options for `select` 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
|
+
|