pdf_generator_api_client 8.0.29 → 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 +12 -6
- data/docs/ConversionApi.md +1 -1
- data/docs/ConvertURL2PDFRequest.md +11 -1
- 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 +72 -4
- data/docs/ImportFormBase64.md +1 -1
- data/docs/ImportFormUrl.md +1 -1
- 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 +1 -1
- data/lib/pdf_generator_api_client/api/e_invoices_api.rb +1 -1
- data/lib/pdf_generator_api_client/api/forms_api.rb +77 -3
- 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 +1 -1
- data/lib/pdf_generator_api_client/api/template_versions_api.rb +1 -1
- data/lib/pdf_generator_api_client/api/templates_api.rb +1 -1
- 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 +1 -1
- data/lib/pdf_generator_api_client/models/document_signatures.rb +1 -1
- 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 +1 -1
- data/lib/pdf_generator_api_client/models/inline_object18.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object19.rb +1 -1
- 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 +1 -1
- data/lib/pdf_generator_api_client/models/inline_object21.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object21_meta.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object22.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object23.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object23_response.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object24.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object25.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object26.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object27.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object28.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object29.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object3.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object30.rb +1 -1
- data/lib/pdf_generator_api_client/models/inline_object31.rb +1 -1
- 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 +7 -2
- 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 +1 -1
- data/spec/api/e_invoices_api_spec.rb +1 -1
- data/spec/api/forms_api_spec.rb +16 -2
- 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 +1 -1
- data/spec/api/template_versions_api_spec.rb +1 -1
- data/spec/api/templates_api_spec.rb +1 -1
- 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 +1 -1
- data/spec/models/document_signatures_spec.rb +1 -1
- 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 -1
- data/spec/models/inline_object19_spec.rb +1 -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 -1
- data/spec/models/inline_object21_meta_spec.rb +1 -1
- data/spec/models/inline_object21_spec.rb +1 -1
- data/spec/models/inline_object22_spec.rb +1 -1
- data/spec/models/inline_object23_response_spec.rb +1 -1
- data/spec/models/inline_object23_spec.rb +1 -1
- data/spec/models/inline_object24_spec.rb +1 -1
- data/spec/models/inline_object25_spec.rb +1 -1
- data/spec/models/inline_object26_spec.rb +1 -1
- data/spec/models/inline_object27_spec.rb +1 -1
- data/spec/models/inline_object28_spec.rb +1 -1
- data/spec/models/inline_object29_spec.rb +1 -1
- data/spec/models/inline_object2_spec.rb +1 -1
- data/spec/models/inline_object30_spec.rb +1 -1
- data/spec/models/inline_object31_spec.rb +1 -1
- 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 +160 -140
- 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
|
|
|
@@ -337,6 +337,7 @@ Class | Method | HTTP request | Description
|
|
|
337
337
|
*PDFGeneratorAPI::FormsApi* | [**create_form**](docs/FormsApi.md#create_form) | **POST** /forms | Create form
|
|
338
338
|
*PDFGeneratorAPI::FormsApi* | [**delete_form**](docs/FormsApi.md#delete_form) | **DELETE** /forms/{formId} | Delete form
|
|
339
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
|
|
340
341
|
*PDFGeneratorAPI::FormsApi* | [**get_forms**](docs/FormsApi.md#get_forms) | **GET** /forms | Get forms
|
|
341
342
|
*PDFGeneratorAPI::FormsApi* | [**import_form**](docs/FormsApi.md#import_form) | **POST** /forms/import | Import Form
|
|
342
343
|
*PDFGeneratorAPI::FormsApi* | [**open_form_builder**](docs/FormsApi.md#open_form_builder) | **POST** /forms/open | Open new form builder
|
|
@@ -405,15 +406,20 @@ Class | Method | HTTP request | Description
|
|
|
405
406
|
- [PDFGeneratorAPI::FormActionSend](docs/FormActionSend.md)
|
|
406
407
|
- [PDFGeneratorAPI::FormActionSendSendDocument](docs/FormActionSendSendDocument.md)
|
|
407
408
|
- [PDFGeneratorAPI::FormActionSendSendDocumentHeadersInner](docs/FormActionSendSendDocumentHeadersInner.md)
|
|
409
|
+
- [PDFGeneratorAPI::FormActionSign](docs/FormActionSign.md)
|
|
408
410
|
- [PDFGeneratorAPI::FormActionStore](docs/FormActionStore.md)
|
|
409
411
|
- [PDFGeneratorAPI::FormConfiguration](docs/FormConfiguration.md)
|
|
412
|
+
- [PDFGeneratorAPI::FormConfigurationImport](docs/FormConfigurationImport.md)
|
|
410
413
|
- [PDFGeneratorAPI::FormConfigurationNew](docs/FormConfigurationNew.md)
|
|
411
414
|
- [PDFGeneratorAPI::FormConfigurationNewActionsInner](docs/FormConfigurationNewActionsInner.md)
|
|
415
|
+
- [PDFGeneratorAPI::FormField](docs/FormField.md)
|
|
416
|
+
- [PDFGeneratorAPI::FormFieldOptions](docs/FormFieldOptions.md)
|
|
417
|
+
- [PDFGeneratorAPI::FormFieldSubRowsInner](docs/FormFieldSubRowsInner.md)
|
|
412
418
|
- [PDFGeneratorAPI::FormFieldsBase64](docs/FormFieldsBase64.md)
|
|
413
|
-
- [PDFGeneratorAPI::FormFieldsInner](docs/FormFieldsInner.md)
|
|
414
419
|
- [PDFGeneratorAPI::FormFieldsUrl](docs/FormFieldsUrl.md)
|
|
415
420
|
- [PDFGeneratorAPI::FormFillBase64](docs/FormFillBase64.md)
|
|
416
421
|
- [PDFGeneratorAPI::FormFillUrl](docs/FormFillUrl.md)
|
|
422
|
+
- [PDFGeneratorAPI::FormTableColumn](docs/FormTableColumn.md)
|
|
417
423
|
- [PDFGeneratorAPI::FormatParam](docs/FormatParam.md)
|
|
418
424
|
- [PDFGeneratorAPI::GenerateDocumentAsynchronousRequest](docs/GenerateDocumentAsynchronousRequest.md)
|
|
419
425
|
- [PDFGeneratorAPI::GenerateDocumentBatchAsynchronousRequest](docs/GenerateDocumentBatchAsynchronousRequest.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
|
|
|
@@ -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
|
+
|
data/docs/FormsApi.md
CHANGED
|
@@ -7,6 +7,7 @@ All URIs are relative to *https://us1.pdfgeneratorapi.com/api/v4*
|
|
|
7
7
|
| [**create_form**](FormsApi.md#create_form) | **POST** /forms | Create form |
|
|
8
8
|
| [**delete_form**](FormsApi.md#delete_form) | **DELETE** /forms/{formId} | Delete form |
|
|
9
9
|
| [**get_form**](FormsApi.md#get_form) | **GET** /forms/{formId} | Get form |
|
|
10
|
+
| [**get_form_schema**](FormsApi.md#get_form_schema) | **GET** /forms/schema | Get schema |
|
|
10
11
|
| [**get_forms**](FormsApi.md#get_forms) | **GET** /forms | Get forms |
|
|
11
12
|
| [**import_form**](FormsApi.md#import_form) | **POST** /forms/import | Import Form |
|
|
12
13
|
| [**open_form_builder**](FormsApi.md#open_form_builder) | **POST** /forms/open | Open new form builder |
|
|
@@ -35,7 +36,7 @@ PDFGeneratorAPI.configure do |config|
|
|
|
35
36
|
end
|
|
36
37
|
|
|
37
38
|
api_instance = PDFGeneratorAPI::FormsApi.new
|
|
38
|
-
form_configuration_new = PDFGeneratorAPI::FormConfigurationNew.new # FormConfigurationNew | Form configuration
|
|
39
|
+
form_configuration_new = PDFGeneratorAPI::FormConfigurationNew.new({name: 'Certificate creator', actions: [PDFGeneratorAPI::FormConfigurationNewActionsInner.new], fields: [PDFGeneratorAPI::FormField.new({label: 'Full name', name: 'name', type: 'text', required: false})]}) # FormConfigurationNew | Form configuration
|
|
39
40
|
|
|
40
41
|
begin
|
|
41
42
|
# Create form
|
|
@@ -221,6 +222,67 @@ end
|
|
|
221
222
|
- **Accept**: application/json
|
|
222
223
|
|
|
223
224
|
|
|
225
|
+
## get_form_schema
|
|
226
|
+
|
|
227
|
+
> Object get_form_schema
|
|
228
|
+
|
|
229
|
+
Get schema
|
|
230
|
+
|
|
231
|
+
Returns Form JSON Schema which defines the structure of the Form Definition.
|
|
232
|
+
|
|
233
|
+
### Examples
|
|
234
|
+
|
|
235
|
+
```ruby
|
|
236
|
+
require 'time'
|
|
237
|
+
require 'pdf_generator_api_client'
|
|
238
|
+
|
|
239
|
+
api_instance = PDFGeneratorAPI::FormsApi.new
|
|
240
|
+
|
|
241
|
+
begin
|
|
242
|
+
# Get schema
|
|
243
|
+
result = api_instance.get_form_schema
|
|
244
|
+
p result
|
|
245
|
+
rescue PDFGeneratorAPI::ApiError => e
|
|
246
|
+
puts "Error when calling FormsApi->get_form_schema: #{e}"
|
|
247
|
+
end
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
#### Using the get_form_schema_with_http_info variant
|
|
251
|
+
|
|
252
|
+
This returns an Array which contains the response data, status code and headers.
|
|
253
|
+
|
|
254
|
+
> <Array(Object, Integer, Hash)> get_form_schema_with_http_info
|
|
255
|
+
|
|
256
|
+
```ruby
|
|
257
|
+
begin
|
|
258
|
+
# Get schema
|
|
259
|
+
data, status_code, headers = api_instance.get_form_schema_with_http_info
|
|
260
|
+
p status_code # => 2xx
|
|
261
|
+
p headers # => { ... }
|
|
262
|
+
p data # => Object
|
|
263
|
+
rescue PDFGeneratorAPI::ApiError => e
|
|
264
|
+
puts "Error when calling FormsApi->get_form_schema_with_http_info: #{e}"
|
|
265
|
+
end
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
### Parameters
|
|
269
|
+
|
|
270
|
+
This endpoint does not need any parameter.
|
|
271
|
+
|
|
272
|
+
### Return type
|
|
273
|
+
|
|
274
|
+
**Object**
|
|
275
|
+
|
|
276
|
+
### Authorization
|
|
277
|
+
|
|
278
|
+
No authorization required
|
|
279
|
+
|
|
280
|
+
### HTTP request headers
|
|
281
|
+
|
|
282
|
+
- **Content-Type**: Not defined
|
|
283
|
+
- **Accept**: application/json
|
|
284
|
+
|
|
285
|
+
|
|
224
286
|
## get_forms
|
|
225
287
|
|
|
226
288
|
> <InlineObject6> get_forms(opts)
|
|
@@ -243,7 +305,10 @@ end
|
|
|
243
305
|
api_instance = PDFGeneratorAPI::FormsApi.new
|
|
244
306
|
opts = {
|
|
245
307
|
page: 1, # Integer | Pagination: page to return
|
|
246
|
-
per_page: 20 # Integer | Pagination: How many records to return per page
|
|
308
|
+
per_page: 20, # Integer | Pagination: How many records to return per page
|
|
309
|
+
order_by: 'id', # String | Field to sort the forms by
|
|
310
|
+
order_direction: 'asc', # String | Sort direction
|
|
311
|
+
search: 'Certificate' # String | Returns forms whose name or ID contains the search value
|
|
247
312
|
}
|
|
248
313
|
|
|
249
314
|
begin
|
|
@@ -279,6 +344,9 @@ end
|
|
|
279
344
|
| ---- | ---- | ----------- | ----- |
|
|
280
345
|
| **page** | **Integer** | Pagination: page to return | [optional][default to 1] |
|
|
281
346
|
| **per_page** | **Integer** | Pagination: How many records to return per page | [optional][default to 15] |
|
|
347
|
+
| **order_by** | **String** | Field to sort the forms by | [optional][default to 'id'] |
|
|
348
|
+
| **order_direction** | **String** | Sort direction | [optional][default to 'desc'] |
|
|
349
|
+
| **search** | **String** | Returns forms whose name or ID contains the search value | [optional] |
|
|
282
350
|
|
|
283
351
|
### Return type
|
|
284
352
|
|
|
@@ -300,7 +368,7 @@ end
|
|
|
300
368
|
|
|
301
369
|
Import Form
|
|
302
370
|
|
|
303
|
-
Creates a new form based on editable PDF
|
|
371
|
+
Creates a new form based on editable PDF. Form fields are created from the editable fields of the PDF. The optional `form` object sets the form name, template, actions and configuration.
|
|
304
372
|
|
|
305
373
|
### Examples
|
|
306
374
|
|
|
@@ -588,7 +656,7 @@ end
|
|
|
588
656
|
|
|
589
657
|
api_instance = PDFGeneratorAPI::FormsApi.new
|
|
590
658
|
form_id = 1 # Integer | Form unique identifier
|
|
591
|
-
form_configuration_new = PDFGeneratorAPI::FormConfigurationNew.new # FormConfigurationNew | Form configuration
|
|
659
|
+
form_configuration_new = PDFGeneratorAPI::FormConfigurationNew.new({name: 'Certificate creator', actions: [PDFGeneratorAPI::FormConfigurationNewActionsInner.new], fields: [PDFGeneratorAPI::FormField.new({label: 'Full name', name: 'name', type: 'text', required: false})]}) # FormConfigurationNew | Form configuration
|
|
592
660
|
|
|
593
661
|
begin
|
|
594
662
|
# Update form
|
data/docs/ImportFormBase64.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **file_base64** | **String** | PDF file from base64 string to import | |
|
|
8
|
-
| **form** | [**
|
|
8
|
+
| **form** | [**FormConfigurationImport**](FormConfigurationImport.md) | | [optional] |
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
data/docs/ImportFormUrl.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **file_url** | **String** | PDF file from remote URL to import | |
|
|
8
|
-
| **form** | [**
|
|
8
|
+
| **form** | [**FormConfigurationImport**](FormConfigurationImport.md) | | [optional] |
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
## Introduction [PDF Generator API](https://pdfgeneratorapi.com) allows you easily generate transactional PDF documents and reduce the development and support costs by enabling your users to create and manage their document templates using a browser-based drag-and-drop document editor. The PDF Generator API features a web API architecture, allowing you to code in the language of your choice. This API supports the JSON media type, and uses UTF-8 character encoding. ## Base URL The base URL for all the API endpoints is `https://us1.pdfgeneratorapi.com/api/v4` For example * `https://us1.pdfgeneratorapi.com/api/v4/templates` * `https://us1.pdfgeneratorapi.com/api/v4/workspaces` * `https://us1.pdfgeneratorapi.com/api/v4/templates/123123` ## Editor PDF Generator API comes with a powerful drag & drop editor that allows to create any kind of document templates, from barcode labels to invoices, quotes and reports. You can find tutorials and videos from our [Support Portal](https://support.pdfgeneratorapi.com). * [Component specification](https://support.pdfgeneratorapi.com/en/category/components-1ffseaj/) * [Expression Language documentation](https://support.pdfgeneratorapi.com/en/category/expression-language-q203pa/) * [Frequently asked questions and answers](https://support.pdfgeneratorapi.com/en/category/qanda-1ov519d/) ## Definitions ### Organization Organization is a group of workspaces owned by your account. ### Workspace Workspace contains templates. Each workspace has access to their own templates and organization default templates. ### Master Workspace Master Workspace is the main/default workspace of your Organization. The Master Workspace identifier is the email you signed up with. ### Default Template Default template is a template that is available for all workspaces by default. You can set the template access type under Page Setup. If template has \"Organization\" access then your users can use them from the \"New\" menu in the Editor. ### Data Field Data Field is a placeholder for the specific data in your JSON data set. In this example JSON you can access the buyer name using Data Field `{paymentDetails::buyerName}`. The separator between depth levels is :: (two colons). When designing the template you don’t have to know every Data Field, our editor automatically extracts all the available fields from your data set and provides an easy way to insert them into the template. ``` { \"documentNumber\": 1, \"paymentDetails\": { \"method\": \"Credit Card\", \"buyerName\": \"John Smith\" }, \"items\": [ { \"id\": 1, \"name\": \"Item one\" } ] } ``` ## Rate limiting Our API endpoints use IP-based rate limiting and allow you to make up to 2 requests per second and 60 requests per minute. If you make more requests, you will receive a response with HTTP code 429. Response headers contain additional values: | Header | Description | |--------|--------------------------------| | X-RateLimit-Limit | Maximum requests per minute | | X-RateLimit-Remaining | The requests remaining in the current minute | | Retry-After | How many seconds you need to wait until you are allowed to make requests | * * * * * # Libraries and SDKs ## Postman Collection We have created a [Postman Collection](https://www.postman.com/pdfgeneratorapi/workspace/pdf-generator-api-public-workspace/overview) so you can easily test all the API endpoints without developing and code. ## Client Libraries All our Client Libraries are auto-generated using [OpenAPI Generator](https://openapi-generator.tech/) which uses the OpenAPI v3 specification to automatically generate a client library in specific programming language. * [PHP Client](https://github.com/pdfgeneratorapi/php-client) * [Java Client](https://github.com/pdfgeneratorapi/java-client) * [Ruby Client](https://github.com/pdfgeneratorapi/ruby-client) * [Python Client](https://github.com/pdfgeneratorapi/python-client) * [Javascript Client](https://github.com/pdfgeneratorapi/javascript-client) We have validated the generated libraries, but let us know if you find any anomalies in the client code. ## Model Context Protocol (MCP) Server Integrate document generation directly into your AI agents and LLM applications using our official Model Context Protocol (MCP) Server. The MCP server provides a standardized interface that allows AI assistants (like Claude Desktop and other MCP-compatible clients) to securely interact with the PDF Generator API. With it, your AI applications can automatically fetch workspaces, retrieve templates, merge data, and generate PDF documents on the fly. [Get PDF Generator API MCP Server](https://github.com/pdfgeneratorapi/mcp-server) * * * * * # Authentication The PDF Generator API uses __JSON Web Tokens (JWT)__ to authenticate all API requests. These tokens offer a method to establish secure server-to-server authentication by transferring a compact JSON object with a signed payload of your account’s API Key and Secret. When authenticating to the PDF Generator API, a JWT should be generated uniquely by a __server-side application__ and included as a __Bearer Token__ in the header of each request. <SecurityDefinitions /> ## Accessing your API Key and Secret You can find your __API Key__ and __API Secret__ from the __Account Settings__ page after you login to PDF Generator API [here](https://pdfgeneratorapi.com/login). ## Creating a JWT JSON Web Tokens are composed of three sections: a header, a payload (containing a claim set), and a signature. The header and payload are JSON objects, which are serialized to UTF-8 bytes, then encoded using base64url encoding. The JWT's header, payload, and signature are concatenated with periods (.). As a result, a JWT typically takes the following form: ``` {Base64url encoded header}.{Base64url encoded payload}.{Base64url encoded signature} ``` We recommend and support libraries provided on [jwt.io](https://jwt.io/). While other libraries can create JWT, these recommended libraries are the most robust. ### Header Property `alg` defines which signing algorithm is being used. PDF Generator API users HS256. Property `typ` defines the type of token and it is always JWT. ``` { \"alg\": \"HS256\", \"typ\": \"JWT\" } ``` ### Payload The second part of the token is the payload, which contains the claims or the pieces of information being passed about the user and any metadata required. It is mandatory to specify the following claims: * issuer (`iss`): Your API key * subject (`sub`): Workspace identifier * expiration time (`exp`): Timestamp (unix epoch time) until the token is valid. It is highly recommended to set the exp timestamp for a short period, i.e. a matter of seconds. This way, if a token is intercepted or shared, the token will only be valid for a short period of time. ``` { \"iss\": \"ad54aaff89ffdfeff178bb8a8f359b29fcb20edb56250b9f584aa2cb0162ed4a\", \"sub\": \"demo.example@actualreports.com\", \"exp\": 1586112639 } ``` ### Payload for Partners Our partners can send their unique identifier (provided by us) in JWT's partner_id claim. If the `partner_id` value is specified in the JWT, the organization making the request is automatically connected to the partner account. * Partner ID (`partner_id`): Unique identifier provide by PDF Generator API team ``` { \"iss\": \"ad54aaff89ffdfeff178bb8a8f359b29fcb20edb56250b9f584aa2cb0162ed4a\", \"sub\": \"demo.example@actualreports.com\", \"partner_id\": \"my-partner-identifier\", \"exp\": 1586112639 } ``` ### Signature To create the signature part you have to take the encoded header, the encoded payload, a secret, the algorithm specified in the header, and sign that. The signature is used to verify the message wasn't changed along the way, and, in the case of tokens signed with a private key, it can also verify that the sender of the JWT is who it says it is. ``` HMACSHA256( base64UrlEncode(header) + \".\" + base64UrlEncode(payload), API_SECRET) ``` ### Putting all together The output is three Base64-URL strings separated by dots. The following shows a JWT that has the previous header and payload encoded, and it is signed with a secret. ``` eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJhZDU0YWFmZjg5ZmZkZmVmZjE3OGJiOGE4ZjM1OWIyOWZjYjIwZWRiNTYyNTBiOWY1ODRhYTJjYjAxNjJlZDRhIiwic3ViIjoiZGVtby5leGFtcGxlQGFjdHVhbHJlcG9ydHMuY29tIn0.SxO-H7UYYYsclS8RGWO1qf0z1cB1m73wF9FLl9RCc1Q // Base64 encoded header: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9 // Base64 encoded payload: eyJpc3MiOiJhZDU0YWFmZjg5ZmZkZmVmZjE3OGJiOGE4ZjM1OWIyOWZjYjIwZWRiNTYyNTBiOWY1ODRhYTJjYjAxNjJlZDRhIiwic3ViIjoiZGVtby5leGFtcGxlQGFjdHVhbHJlcG9ydHMuY29tIn0 // Signature: SxO-H7UYYYsclS8RGWO1qf0z1cB1m73wF9FLl9RCc1Q ``` ## Temporary JWTs You can create a temporary token in [Account Settings](https://pdfgeneratorapi.com/account/organization) page after you login to PDF Generator API. The generated token uses your email address as the subject (`sub`) value and is valid for __15 minutes__. You can also use [jwt.io](https://jwt.io/) to generate test tokens for your API calls. These test tokens should never be used in production applications. * * * * * # Error codes | Code | Description | |--------|--------------------------------| | 401 | Unauthorized | | 402 | Payment Required | | 403 | Forbidden | | 404 | Not Found | | 422 | Unprocessable Entity | | 429 | Too Many Requests | | 500 | Internal Server Error | ## 401 Unauthorized | Description | |-------------------------------------------------------------------------| | Authentication failed: request expired | | Authentication failed: workspace missing | | Authentication failed: key missing | | Authentication failed: property 'iss' (issuer) missing in JWT | | Authentication failed: property 'sub' (subject) missing in JWT | | Authentication failed: property 'exp' (expiration time) missing in JWT | | Authentication failed: incorrect signature | ## 402 Payment Required | Description | |-------------------------------------------------------------------------| | Your account is suspended, please upgrade your account | ## 403 Forbidden | Description | |-------------------------------------------------------------------------| | Your account has exceeded the monthly document generation limit. | | Access not granted: You cannot delete master workspace via API | | Access not granted: Template is not accessible by this organization | | Your session has expired, please close and reopen the editor. | ## 404 Entity not found | Description | |-------------------------------------------------------------------------| | Entity not found | | Resource not found | | None of the templates is available for the workspace. | ## 422 Unprocessable Entity | Description | |-------------------------------------------------------------------------| | Unable to parse JSON, please check formatting | | Required parameter missing | | Required parameter missing: template definition not defined | | Required parameter missing: template not defined | ## 429 Too Many Requests | Description | |-------------------------------------------------------------------------| | You can make up to 2 requests per second and 60 requests per minute. | * * * * *
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 4.0.
|
|
6
|
+
The version of the OpenAPI document: 4.0.31
|
|
7
7
|
Contact: support@pdfgeneratorapi.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.14.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
## Introduction [PDF Generator API](https://pdfgeneratorapi.com) allows you easily generate transactional PDF documents and reduce the development and support costs by enabling your users to create and manage their document templates using a browser-based drag-and-drop document editor. The PDF Generator API features a web API architecture, allowing you to code in the language of your choice. This API supports the JSON media type, and uses UTF-8 character encoding. ## Base URL The base URL for all the API endpoints is `https://us1.pdfgeneratorapi.com/api/v4` For example * `https://us1.pdfgeneratorapi.com/api/v4/templates` * `https://us1.pdfgeneratorapi.com/api/v4/workspaces` * `https://us1.pdfgeneratorapi.com/api/v4/templates/123123` ## Editor PDF Generator API comes with a powerful drag & drop editor that allows to create any kind of document templates, from barcode labels to invoices, quotes and reports. You can find tutorials and videos from our [Support Portal](https://support.pdfgeneratorapi.com). * [Component specification](https://support.pdfgeneratorapi.com/en/category/components-1ffseaj/) * [Expression Language documentation](https://support.pdfgeneratorapi.com/en/category/expression-language-q203pa/) * [Frequently asked questions and answers](https://support.pdfgeneratorapi.com/en/category/qanda-1ov519d/) ## Definitions ### Organization Organization is a group of workspaces owned by your account. ### Workspace Workspace contains templates. Each workspace has access to their own templates and organization default templates. ### Master Workspace Master Workspace is the main/default workspace of your Organization. The Master Workspace identifier is the email you signed up with. ### Default Template Default template is a template that is available for all workspaces by default. You can set the template access type under Page Setup. If template has \"Organization\" access then your users can use them from the \"New\" menu in the Editor. ### Data Field Data Field is a placeholder for the specific data in your JSON data set. In this example JSON you can access the buyer name using Data Field `{paymentDetails::buyerName}`. The separator between depth levels is :: (two colons). When designing the template you don’t have to know every Data Field, our editor automatically extracts all the available fields from your data set and provides an easy way to insert them into the template. ``` { \"documentNumber\": 1, \"paymentDetails\": { \"method\": \"Credit Card\", \"buyerName\": \"John Smith\" }, \"items\": [ { \"id\": 1, \"name\": \"Item one\" } ] } ``` ## Rate limiting Our API endpoints use IP-based rate limiting and allow you to make up to 2 requests per second and 60 requests per minute. If you make more requests, you will receive a response with HTTP code 429. Response headers contain additional values: | Header | Description | |--------|--------------------------------| | X-RateLimit-Limit | Maximum requests per minute | | X-RateLimit-Remaining | The requests remaining in the current minute | | Retry-After | How many seconds you need to wait until you are allowed to make requests | * * * * * # Libraries and SDKs ## Postman Collection We have created a [Postman Collection](https://www.postman.com/pdfgeneratorapi/workspace/pdf-generator-api-public-workspace/overview) so you can easily test all the API endpoints without developing and code. ## Client Libraries All our Client Libraries are auto-generated using [OpenAPI Generator](https://openapi-generator.tech/) which uses the OpenAPI v3 specification to automatically generate a client library in specific programming language. * [PHP Client](https://github.com/pdfgeneratorapi/php-client) * [Java Client](https://github.com/pdfgeneratorapi/java-client) * [Ruby Client](https://github.com/pdfgeneratorapi/ruby-client) * [Python Client](https://github.com/pdfgeneratorapi/python-client) * [Javascript Client](https://github.com/pdfgeneratorapi/javascript-client) We have validated the generated libraries, but let us know if you find any anomalies in the client code. ## Model Context Protocol (MCP) Server Integrate document generation directly into your AI agents and LLM applications using our official Model Context Protocol (MCP) Server. The MCP server provides a standardized interface that allows AI assistants (like Claude Desktop and other MCP-compatible clients) to securely interact with the PDF Generator API. With it, your AI applications can automatically fetch workspaces, retrieve templates, merge data, and generate PDF documents on the fly. [Get PDF Generator API MCP Server](https://github.com/pdfgeneratorapi/mcp-server) * * * * * # Authentication The PDF Generator API uses __JSON Web Tokens (JWT)__ to authenticate all API requests. These tokens offer a method to establish secure server-to-server authentication by transferring a compact JSON object with a signed payload of your account’s API Key and Secret. When authenticating to the PDF Generator API, a JWT should be generated uniquely by a __server-side application__ and included as a __Bearer Token__ in the header of each request. <SecurityDefinitions /> ## Accessing your API Key and Secret You can find your __API Key__ and __API Secret__ from the __Account Settings__ page after you login to PDF Generator API [here](https://pdfgeneratorapi.com/login). ## Creating a JWT JSON Web Tokens are composed of three sections: a header, a payload (containing a claim set), and a signature. The header and payload are JSON objects, which are serialized to UTF-8 bytes, then encoded using base64url encoding. The JWT's header, payload, and signature are concatenated with periods (.). As a result, a JWT typically takes the following form: ``` {Base64url encoded header}.{Base64url encoded payload}.{Base64url encoded signature} ``` We recommend and support libraries provided on [jwt.io](https://jwt.io/). While other libraries can create JWT, these recommended libraries are the most robust. ### Header Property `alg` defines which signing algorithm is being used. PDF Generator API users HS256. Property `typ` defines the type of token and it is always JWT. ``` { \"alg\": \"HS256\", \"typ\": \"JWT\" } ``` ### Payload The second part of the token is the payload, which contains the claims or the pieces of information being passed about the user and any metadata required. It is mandatory to specify the following claims: * issuer (`iss`): Your API key * subject (`sub`): Workspace identifier * expiration time (`exp`): Timestamp (unix epoch time) until the token is valid. It is highly recommended to set the exp timestamp for a short period, i.e. a matter of seconds. This way, if a token is intercepted or shared, the token will only be valid for a short period of time. ``` { \"iss\": \"ad54aaff89ffdfeff178bb8a8f359b29fcb20edb56250b9f584aa2cb0162ed4a\", \"sub\": \"demo.example@actualreports.com\", \"exp\": 1586112639 } ``` ### Payload for Partners Our partners can send their unique identifier (provided by us) in JWT's partner_id claim. If the `partner_id` value is specified in the JWT, the organization making the request is automatically connected to the partner account. * Partner ID (`partner_id`): Unique identifier provide by PDF Generator API team ``` { \"iss\": \"ad54aaff89ffdfeff178bb8a8f359b29fcb20edb56250b9f584aa2cb0162ed4a\", \"sub\": \"demo.example@actualreports.com\", \"partner_id\": \"my-partner-identifier\", \"exp\": 1586112639 } ``` ### Signature To create the signature part you have to take the encoded header, the encoded payload, a secret, the algorithm specified in the header, and sign that. The signature is used to verify the message wasn't changed along the way, and, in the case of tokens signed with a private key, it can also verify that the sender of the JWT is who it says it is. ``` HMACSHA256( base64UrlEncode(header) + \".\" + base64UrlEncode(payload), API_SECRET) ``` ### Putting all together The output is three Base64-URL strings separated by dots. The following shows a JWT that has the previous header and payload encoded, and it is signed with a secret. ``` eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJhZDU0YWFmZjg5ZmZkZmVmZjE3OGJiOGE4ZjM1OWIyOWZjYjIwZWRiNTYyNTBiOWY1ODRhYTJjYjAxNjJlZDRhIiwic3ViIjoiZGVtby5leGFtcGxlQGFjdHVhbHJlcG9ydHMuY29tIn0.SxO-H7UYYYsclS8RGWO1qf0z1cB1m73wF9FLl9RCc1Q // Base64 encoded header: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9 // Base64 encoded payload: eyJpc3MiOiJhZDU0YWFmZjg5ZmZkZmVmZjE3OGJiOGE4ZjM1OWIyOWZjYjIwZWRiNTYyNTBiOWY1ODRhYTJjYjAxNjJlZDRhIiwic3ViIjoiZGVtby5leGFtcGxlQGFjdHVhbHJlcG9ydHMuY29tIn0 // Signature: SxO-H7UYYYsclS8RGWO1qf0z1cB1m73wF9FLl9RCc1Q ``` ## Temporary JWTs You can create a temporary token in [Account Settings](https://pdfgeneratorapi.com/account/organization) page after you login to PDF Generator API. The generated token uses your email address as the subject (`sub`) value and is valid for __15 minutes__. You can also use [jwt.io](https://jwt.io/) to generate test tokens for your API calls. These test tokens should never be used in production applications. * * * * * # Error codes | Code | Description | |--------|--------------------------------| | 401 | Unauthorized | | 402 | Payment Required | | 403 | Forbidden | | 404 | Not Found | | 422 | Unprocessable Entity | | 429 | Too Many Requests | | 500 | Internal Server Error | ## 401 Unauthorized | Description | |-------------------------------------------------------------------------| | Authentication failed: request expired | | Authentication failed: workspace missing | | Authentication failed: key missing | | Authentication failed: property 'iss' (issuer) missing in JWT | | Authentication failed: property 'sub' (subject) missing in JWT | | Authentication failed: property 'exp' (expiration time) missing in JWT | | Authentication failed: incorrect signature | ## 402 Payment Required | Description | |-------------------------------------------------------------------------| | Your account is suspended, please upgrade your account | ## 403 Forbidden | Description | |-------------------------------------------------------------------------| | Your account has exceeded the monthly document generation limit. | | Access not granted: You cannot delete master workspace via API | | Access not granted: Template is not accessible by this organization | | Your session has expired, please close and reopen the editor. | ## 404 Entity not found | Description | |-------------------------------------------------------------------------| | Entity not found | | Resource not found | | None of the templates is available for the workspace. | ## 422 Unprocessable Entity | Description | |-------------------------------------------------------------------------| | Unable to parse JSON, please check formatting | | Required parameter missing | | Required parameter missing: template definition not defined | | Required parameter missing: template not defined | ## 429 Too Many Requests | Description | |-------------------------------------------------------------------------| | You can make up to 2 requests per second and 60 requests per minute. | * * * * *
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 4.0.
|
|
6
|
+
The version of the OpenAPI document: 4.0.31
|
|
7
7
|
Contact: support@pdfgeneratorapi.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.14.0
|
|
@@ -156,7 +156,7 @@ module PDFGeneratorAPI
|
|
|
156
156
|
end
|
|
157
157
|
|
|
158
158
|
# URL to PDF
|
|
159
|
-
# Converts public URL to PDF
|
|
159
|
+
# 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.
|
|
160
160
|
# @param convert_url2_pdf_request [ConvertURL2PDFRequest]
|
|
161
161
|
# @param [Hash] opts the optional parameters
|
|
162
162
|
# @return [InlineObject9]
|
|
@@ -166,7 +166,7 @@ module PDFGeneratorAPI
|
|
|
166
166
|
end
|
|
167
167
|
|
|
168
168
|
# URL to PDF
|
|
169
|
-
# Converts public URL to PDF
|
|
169
|
+
# 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.
|
|
170
170
|
# @param convert_url2_pdf_request [ConvertURL2PDFRequest]
|
|
171
171
|
# @param [Hash] opts the optional parameters
|
|
172
172
|
# @return [Array<(InlineObject9, Integer, Hash)>] InlineObject9 data, response status code and response headers
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
## Introduction [PDF Generator API](https://pdfgeneratorapi.com) allows you easily generate transactional PDF documents and reduce the development and support costs by enabling your users to create and manage their document templates using a browser-based drag-and-drop document editor. The PDF Generator API features a web API architecture, allowing you to code in the language of your choice. This API supports the JSON media type, and uses UTF-8 character encoding. ## Base URL The base URL for all the API endpoints is `https://us1.pdfgeneratorapi.com/api/v4` For example * `https://us1.pdfgeneratorapi.com/api/v4/templates` * `https://us1.pdfgeneratorapi.com/api/v4/workspaces` * `https://us1.pdfgeneratorapi.com/api/v4/templates/123123` ## Editor PDF Generator API comes with a powerful drag & drop editor that allows to create any kind of document templates, from barcode labels to invoices, quotes and reports. You can find tutorials and videos from our [Support Portal](https://support.pdfgeneratorapi.com). * [Component specification](https://support.pdfgeneratorapi.com/en/category/components-1ffseaj/) * [Expression Language documentation](https://support.pdfgeneratorapi.com/en/category/expression-language-q203pa/) * [Frequently asked questions and answers](https://support.pdfgeneratorapi.com/en/category/qanda-1ov519d/) ## Definitions ### Organization Organization is a group of workspaces owned by your account. ### Workspace Workspace contains templates. Each workspace has access to their own templates and organization default templates. ### Master Workspace Master Workspace is the main/default workspace of your Organization. The Master Workspace identifier is the email you signed up with. ### Default Template Default template is a template that is available for all workspaces by default. You can set the template access type under Page Setup. If template has \"Organization\" access then your users can use them from the \"New\" menu in the Editor. ### Data Field Data Field is a placeholder for the specific data in your JSON data set. In this example JSON you can access the buyer name using Data Field `{paymentDetails::buyerName}`. The separator between depth levels is :: (two colons). When designing the template you don’t have to know every Data Field, our editor automatically extracts all the available fields from your data set and provides an easy way to insert them into the template. ``` { \"documentNumber\": 1, \"paymentDetails\": { \"method\": \"Credit Card\", \"buyerName\": \"John Smith\" }, \"items\": [ { \"id\": 1, \"name\": \"Item one\" } ] } ``` ## Rate limiting Our API endpoints use IP-based rate limiting and allow you to make up to 2 requests per second and 60 requests per minute. If you make more requests, you will receive a response with HTTP code 429. Response headers contain additional values: | Header | Description | |--------|--------------------------------| | X-RateLimit-Limit | Maximum requests per minute | | X-RateLimit-Remaining | The requests remaining in the current minute | | Retry-After | How many seconds you need to wait until you are allowed to make requests | * * * * * # Libraries and SDKs ## Postman Collection We have created a [Postman Collection](https://www.postman.com/pdfgeneratorapi/workspace/pdf-generator-api-public-workspace/overview) so you can easily test all the API endpoints without developing and code. ## Client Libraries All our Client Libraries are auto-generated using [OpenAPI Generator](https://openapi-generator.tech/) which uses the OpenAPI v3 specification to automatically generate a client library in specific programming language. * [PHP Client](https://github.com/pdfgeneratorapi/php-client) * [Java Client](https://github.com/pdfgeneratorapi/java-client) * [Ruby Client](https://github.com/pdfgeneratorapi/ruby-client) * [Python Client](https://github.com/pdfgeneratorapi/python-client) * [Javascript Client](https://github.com/pdfgeneratorapi/javascript-client) We have validated the generated libraries, but let us know if you find any anomalies in the client code. ## Model Context Protocol (MCP) Server Integrate document generation directly into your AI agents and LLM applications using our official Model Context Protocol (MCP) Server. The MCP server provides a standardized interface that allows AI assistants (like Claude Desktop and other MCP-compatible clients) to securely interact with the PDF Generator API. With it, your AI applications can automatically fetch workspaces, retrieve templates, merge data, and generate PDF documents on the fly. [Get PDF Generator API MCP Server](https://github.com/pdfgeneratorapi/mcp-server) * * * * * # Authentication The PDF Generator API uses __JSON Web Tokens (JWT)__ to authenticate all API requests. These tokens offer a method to establish secure server-to-server authentication by transferring a compact JSON object with a signed payload of your account’s API Key and Secret. When authenticating to the PDF Generator API, a JWT should be generated uniquely by a __server-side application__ and included as a __Bearer Token__ in the header of each request. <SecurityDefinitions /> ## Accessing your API Key and Secret You can find your __API Key__ and __API Secret__ from the __Account Settings__ page after you login to PDF Generator API [here](https://pdfgeneratorapi.com/login). ## Creating a JWT JSON Web Tokens are composed of three sections: a header, a payload (containing a claim set), and a signature. The header and payload are JSON objects, which are serialized to UTF-8 bytes, then encoded using base64url encoding. The JWT's header, payload, and signature are concatenated with periods (.). As a result, a JWT typically takes the following form: ``` {Base64url encoded header}.{Base64url encoded payload}.{Base64url encoded signature} ``` We recommend and support libraries provided on [jwt.io](https://jwt.io/). While other libraries can create JWT, these recommended libraries are the most robust. ### Header Property `alg` defines which signing algorithm is being used. PDF Generator API users HS256. Property `typ` defines the type of token and it is always JWT. ``` { \"alg\": \"HS256\", \"typ\": \"JWT\" } ``` ### Payload The second part of the token is the payload, which contains the claims or the pieces of information being passed about the user and any metadata required. It is mandatory to specify the following claims: * issuer (`iss`): Your API key * subject (`sub`): Workspace identifier * expiration time (`exp`): Timestamp (unix epoch time) until the token is valid. It is highly recommended to set the exp timestamp for a short period, i.e. a matter of seconds. This way, if a token is intercepted or shared, the token will only be valid for a short period of time. ``` { \"iss\": \"ad54aaff89ffdfeff178bb8a8f359b29fcb20edb56250b9f584aa2cb0162ed4a\", \"sub\": \"demo.example@actualreports.com\", \"exp\": 1586112639 } ``` ### Payload for Partners Our partners can send their unique identifier (provided by us) in JWT's partner_id claim. If the `partner_id` value is specified in the JWT, the organization making the request is automatically connected to the partner account. * Partner ID (`partner_id`): Unique identifier provide by PDF Generator API team ``` { \"iss\": \"ad54aaff89ffdfeff178bb8a8f359b29fcb20edb56250b9f584aa2cb0162ed4a\", \"sub\": \"demo.example@actualreports.com\", \"partner_id\": \"my-partner-identifier\", \"exp\": 1586112639 } ``` ### Signature To create the signature part you have to take the encoded header, the encoded payload, a secret, the algorithm specified in the header, and sign that. The signature is used to verify the message wasn't changed along the way, and, in the case of tokens signed with a private key, it can also verify that the sender of the JWT is who it says it is. ``` HMACSHA256( base64UrlEncode(header) + \".\" + base64UrlEncode(payload), API_SECRET) ``` ### Putting all together The output is three Base64-URL strings separated by dots. The following shows a JWT that has the previous header and payload encoded, and it is signed with a secret. ``` eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJhZDU0YWFmZjg5ZmZkZmVmZjE3OGJiOGE4ZjM1OWIyOWZjYjIwZWRiNTYyNTBiOWY1ODRhYTJjYjAxNjJlZDRhIiwic3ViIjoiZGVtby5leGFtcGxlQGFjdHVhbHJlcG9ydHMuY29tIn0.SxO-H7UYYYsclS8RGWO1qf0z1cB1m73wF9FLl9RCc1Q // Base64 encoded header: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9 // Base64 encoded payload: eyJpc3MiOiJhZDU0YWFmZjg5ZmZkZmVmZjE3OGJiOGE4ZjM1OWIyOWZjYjIwZWRiNTYyNTBiOWY1ODRhYTJjYjAxNjJlZDRhIiwic3ViIjoiZGVtby5leGFtcGxlQGFjdHVhbHJlcG9ydHMuY29tIn0 // Signature: SxO-H7UYYYsclS8RGWO1qf0z1cB1m73wF9FLl9RCc1Q ``` ## Temporary JWTs You can create a temporary token in [Account Settings](https://pdfgeneratorapi.com/account/organization) page after you login to PDF Generator API. The generated token uses your email address as the subject (`sub`) value and is valid for __15 minutes__. You can also use [jwt.io](https://jwt.io/) to generate test tokens for your API calls. These test tokens should never be used in production applications. * * * * * # Error codes | Code | Description | |--------|--------------------------------| | 401 | Unauthorized | | 402 | Payment Required | | 403 | Forbidden | | 404 | Not Found | | 422 | Unprocessable Entity | | 429 | Too Many Requests | | 500 | Internal Server Error | ## 401 Unauthorized | Description | |-------------------------------------------------------------------------| | Authentication failed: request expired | | Authentication failed: workspace missing | | Authentication failed: key missing | | Authentication failed: property 'iss' (issuer) missing in JWT | | Authentication failed: property 'sub' (subject) missing in JWT | | Authentication failed: property 'exp' (expiration time) missing in JWT | | Authentication failed: incorrect signature | ## 402 Payment Required | Description | |-------------------------------------------------------------------------| | Your account is suspended, please upgrade your account | ## 403 Forbidden | Description | |-------------------------------------------------------------------------| | Your account has exceeded the monthly document generation limit. | | Access not granted: You cannot delete master workspace via API | | Access not granted: Template is not accessible by this organization | | Your session has expired, please close and reopen the editor. | ## 404 Entity not found | Description | |-------------------------------------------------------------------------| | Entity not found | | Resource not found | | None of the templates is available for the workspace. | ## 422 Unprocessable Entity | Description | |-------------------------------------------------------------------------| | Unable to parse JSON, please check formatting | | Required parameter missing | | Required parameter missing: template definition not defined | | Required parameter missing: template not defined | ## 429 Too Many Requests | Description | |-------------------------------------------------------------------------| | You can make up to 2 requests per second and 60 requests per minute. | * * * * *
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 4.0.
|
|
6
|
+
The version of the OpenAPI document: 4.0.31
|
|
7
7
|
Contact: support@pdfgeneratorapi.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.14.0
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
## Introduction [PDF Generator API](https://pdfgeneratorapi.com) allows you easily generate transactional PDF documents and reduce the development and support costs by enabling your users to create and manage their document templates using a browser-based drag-and-drop document editor. The PDF Generator API features a web API architecture, allowing you to code in the language of your choice. This API supports the JSON media type, and uses UTF-8 character encoding. ## Base URL The base URL for all the API endpoints is `https://us1.pdfgeneratorapi.com/api/v4` For example * `https://us1.pdfgeneratorapi.com/api/v4/templates` * `https://us1.pdfgeneratorapi.com/api/v4/workspaces` * `https://us1.pdfgeneratorapi.com/api/v4/templates/123123` ## Editor PDF Generator API comes with a powerful drag & drop editor that allows to create any kind of document templates, from barcode labels to invoices, quotes and reports. You can find tutorials and videos from our [Support Portal](https://support.pdfgeneratorapi.com). * [Component specification](https://support.pdfgeneratorapi.com/en/category/components-1ffseaj/) * [Expression Language documentation](https://support.pdfgeneratorapi.com/en/category/expression-language-q203pa/) * [Frequently asked questions and answers](https://support.pdfgeneratorapi.com/en/category/qanda-1ov519d/) ## Definitions ### Organization Organization is a group of workspaces owned by your account. ### Workspace Workspace contains templates. Each workspace has access to their own templates and organization default templates. ### Master Workspace Master Workspace is the main/default workspace of your Organization. The Master Workspace identifier is the email you signed up with. ### Default Template Default template is a template that is available for all workspaces by default. You can set the template access type under Page Setup. If template has \"Organization\" access then your users can use them from the \"New\" menu in the Editor. ### Data Field Data Field is a placeholder for the specific data in your JSON data set. In this example JSON you can access the buyer name using Data Field `{paymentDetails::buyerName}`. The separator between depth levels is :: (two colons). When designing the template you don’t have to know every Data Field, our editor automatically extracts all the available fields from your data set and provides an easy way to insert them into the template. ``` { \"documentNumber\": 1, \"paymentDetails\": { \"method\": \"Credit Card\", \"buyerName\": \"John Smith\" }, \"items\": [ { \"id\": 1, \"name\": \"Item one\" } ] } ``` ## Rate limiting Our API endpoints use IP-based rate limiting and allow you to make up to 2 requests per second and 60 requests per minute. If you make more requests, you will receive a response with HTTP code 429. Response headers contain additional values: | Header | Description | |--------|--------------------------------| | X-RateLimit-Limit | Maximum requests per minute | | X-RateLimit-Remaining | The requests remaining in the current minute | | Retry-After | How many seconds you need to wait until you are allowed to make requests | * * * * * # Libraries and SDKs ## Postman Collection We have created a [Postman Collection](https://www.postman.com/pdfgeneratorapi/workspace/pdf-generator-api-public-workspace/overview) so you can easily test all the API endpoints without developing and code. ## Client Libraries All our Client Libraries are auto-generated using [OpenAPI Generator](https://openapi-generator.tech/) which uses the OpenAPI v3 specification to automatically generate a client library in specific programming language. * [PHP Client](https://github.com/pdfgeneratorapi/php-client) * [Java Client](https://github.com/pdfgeneratorapi/java-client) * [Ruby Client](https://github.com/pdfgeneratorapi/ruby-client) * [Python Client](https://github.com/pdfgeneratorapi/python-client) * [Javascript Client](https://github.com/pdfgeneratorapi/javascript-client) We have validated the generated libraries, but let us know if you find any anomalies in the client code. ## Model Context Protocol (MCP) Server Integrate document generation directly into your AI agents and LLM applications using our official Model Context Protocol (MCP) Server. The MCP server provides a standardized interface that allows AI assistants (like Claude Desktop and other MCP-compatible clients) to securely interact with the PDF Generator API. With it, your AI applications can automatically fetch workspaces, retrieve templates, merge data, and generate PDF documents on the fly. [Get PDF Generator API MCP Server](https://github.com/pdfgeneratorapi/mcp-server) * * * * * # Authentication The PDF Generator API uses __JSON Web Tokens (JWT)__ to authenticate all API requests. These tokens offer a method to establish secure server-to-server authentication by transferring a compact JSON object with a signed payload of your account’s API Key and Secret. When authenticating to the PDF Generator API, a JWT should be generated uniquely by a __server-side application__ and included as a __Bearer Token__ in the header of each request. <SecurityDefinitions /> ## Accessing your API Key and Secret You can find your __API Key__ and __API Secret__ from the __Account Settings__ page after you login to PDF Generator API [here](https://pdfgeneratorapi.com/login). ## Creating a JWT JSON Web Tokens are composed of three sections: a header, a payload (containing a claim set), and a signature. The header and payload are JSON objects, which are serialized to UTF-8 bytes, then encoded using base64url encoding. The JWT's header, payload, and signature are concatenated with periods (.). As a result, a JWT typically takes the following form: ``` {Base64url encoded header}.{Base64url encoded payload}.{Base64url encoded signature} ``` We recommend and support libraries provided on [jwt.io](https://jwt.io/). While other libraries can create JWT, these recommended libraries are the most robust. ### Header Property `alg` defines which signing algorithm is being used. PDF Generator API users HS256. Property `typ` defines the type of token and it is always JWT. ``` { \"alg\": \"HS256\", \"typ\": \"JWT\" } ``` ### Payload The second part of the token is the payload, which contains the claims or the pieces of information being passed about the user and any metadata required. It is mandatory to specify the following claims: * issuer (`iss`): Your API key * subject (`sub`): Workspace identifier * expiration time (`exp`): Timestamp (unix epoch time) until the token is valid. It is highly recommended to set the exp timestamp for a short period, i.e. a matter of seconds. This way, if a token is intercepted or shared, the token will only be valid for a short period of time. ``` { \"iss\": \"ad54aaff89ffdfeff178bb8a8f359b29fcb20edb56250b9f584aa2cb0162ed4a\", \"sub\": \"demo.example@actualreports.com\", \"exp\": 1586112639 } ``` ### Payload for Partners Our partners can send their unique identifier (provided by us) in JWT's partner_id claim. If the `partner_id` value is specified in the JWT, the organization making the request is automatically connected to the partner account. * Partner ID (`partner_id`): Unique identifier provide by PDF Generator API team ``` { \"iss\": \"ad54aaff89ffdfeff178bb8a8f359b29fcb20edb56250b9f584aa2cb0162ed4a\", \"sub\": \"demo.example@actualreports.com\", \"partner_id\": \"my-partner-identifier\", \"exp\": 1586112639 } ``` ### Signature To create the signature part you have to take the encoded header, the encoded payload, a secret, the algorithm specified in the header, and sign that. The signature is used to verify the message wasn't changed along the way, and, in the case of tokens signed with a private key, it can also verify that the sender of the JWT is who it says it is. ``` HMACSHA256( base64UrlEncode(header) + \".\" + base64UrlEncode(payload), API_SECRET) ``` ### Putting all together The output is three Base64-URL strings separated by dots. The following shows a JWT that has the previous header and payload encoded, and it is signed with a secret. ``` eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJhZDU0YWFmZjg5ZmZkZmVmZjE3OGJiOGE4ZjM1OWIyOWZjYjIwZWRiNTYyNTBiOWY1ODRhYTJjYjAxNjJlZDRhIiwic3ViIjoiZGVtby5leGFtcGxlQGFjdHVhbHJlcG9ydHMuY29tIn0.SxO-H7UYYYsclS8RGWO1qf0z1cB1m73wF9FLl9RCc1Q // Base64 encoded header: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9 // Base64 encoded payload: eyJpc3MiOiJhZDU0YWFmZjg5ZmZkZmVmZjE3OGJiOGE4ZjM1OWIyOWZjYjIwZWRiNTYyNTBiOWY1ODRhYTJjYjAxNjJlZDRhIiwic3ViIjoiZGVtby5leGFtcGxlQGFjdHVhbHJlcG9ydHMuY29tIn0 // Signature: SxO-H7UYYYsclS8RGWO1qf0z1cB1m73wF9FLl9RCc1Q ``` ## Temporary JWTs You can create a temporary token in [Account Settings](https://pdfgeneratorapi.com/account/organization) page after you login to PDF Generator API. The generated token uses your email address as the subject (`sub`) value and is valid for __15 minutes__. You can also use [jwt.io](https://jwt.io/) to generate test tokens for your API calls. These test tokens should never be used in production applications. * * * * * # Error codes | Code | Description | |--------|--------------------------------| | 401 | Unauthorized | | 402 | Payment Required | | 403 | Forbidden | | 404 | Not Found | | 422 | Unprocessable Entity | | 429 | Too Many Requests | | 500 | Internal Server Error | ## 401 Unauthorized | Description | |-------------------------------------------------------------------------| | Authentication failed: request expired | | Authentication failed: workspace missing | | Authentication failed: key missing | | Authentication failed: property 'iss' (issuer) missing in JWT | | Authentication failed: property 'sub' (subject) missing in JWT | | Authentication failed: property 'exp' (expiration time) missing in JWT | | Authentication failed: incorrect signature | ## 402 Payment Required | Description | |-------------------------------------------------------------------------| | Your account is suspended, please upgrade your account | ## 403 Forbidden | Description | |-------------------------------------------------------------------------| | Your account has exceeded the monthly document generation limit. | | Access not granted: You cannot delete master workspace via API | | Access not granted: Template is not accessible by this organization | | Your session has expired, please close and reopen the editor. | ## 404 Entity not found | Description | |-------------------------------------------------------------------------| | Entity not found | | Resource not found | | None of the templates is available for the workspace. | ## 422 Unprocessable Entity | Description | |-------------------------------------------------------------------------| | Unable to parse JSON, please check formatting | | Required parameter missing | | Required parameter missing: template definition not defined | | Required parameter missing: template not defined | ## 429 Too Many Requests | Description | |-------------------------------------------------------------------------| | You can make up to 2 requests per second and 60 requests per minute. | * * * * *
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 4.0.
|
|
6
|
+
The version of the OpenAPI document: 4.0.31
|
|
7
7
|
Contact: support@pdfgeneratorapi.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.14.0
|