pdf_generator_api_client 8.0.29 → 8.0.34
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 +89 -66
- data/docs/AssetsApi.md +5 -5
- data/docs/AttachmentsParamInner.md +20 -0
- data/docs/CallbackParam.md +1 -1
- data/docs/ConversionApi.md +16 -16
- data/docs/ConvertHTML2PDFRequest.md +2 -2
- data/docs/ConvertURL2PDFRequest.md +13 -3
- data/docs/CreateEInvoiceRequest.md +2 -2
- data/docs/CreateFacturXEInvoiceRequestTemplate.md +2 -2
- data/docs/{TemplateParamId.md → CreateFacturXEInvoiceRequestTemplateId.md} +4 -4
- data/docs/CreateWorkspaceRequest.md +1 -1
- data/docs/CreateXRechnungEInvoiceRequest.md +22 -0
- data/docs/DocumentsApi.md +52 -48
- data/docs/EInvoiceType.md +15 -0
- data/docs/EInvoicesApi.md +17 -22
- data/docs/EncryptAndDecryptUrl.md +1 -1
- data/docs/Error.md +18 -0
- data/docs/Font.md +26 -0
- data/docs/FontsApi.md +79 -0
- 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/FormFieldsUrl.md +1 -1
- data/docs/FormFillUrl.md +1 -1
- data/docs/FormTableColumn.md +28 -0
- data/docs/FormsApi.md +100 -32
- data/docs/GenerateDocumentAsynchronousRequest.md +7 -1
- data/docs/GenerateDocumentBatchAsynchronousRequest.md +8 -2
- data/docs/GenerateDocumentBatchRequest.md +7 -1
- data/docs/GenerateDocumentRequest.md +6 -0
- data/docs/GenerateQRCode200Response.md +20 -0
- data/docs/{GenerateQRCode201ResponseMeta.md → GenerateQRCode200ResponseMeta.md} +2 -2
- data/docs/GenerateQRCodeRequest.md +3 -3
- data/docs/{InlineObject23.md → GetEInvoiceSchema200Response.md} +3 -3
- data/docs/GetFonts200Response.md +18 -0
- data/docs/GetFormSchema200Response.md +18 -0
- data/docs/GetStatus200Response.md +2 -0
- data/docs/GetTemplateSchema200Response.md +18 -0
- data/docs/ImportFormBase64.md +1 -1
- data/docs/ImportFormUrl.md +1 -1
- data/docs/InlineObject10.md +2 -2
- data/docs/InlineObject10Meta.md +10 -8
- data/docs/InlineObject11.md +2 -2
- data/docs/InlineObject11Meta.md +5 -3
- data/docs/InlineObject11MetaStats.md +22 -0
- data/docs/InlineObject12.md +2 -4
- data/docs/InlineObject12Response.md +20 -0
- data/docs/InlineObject13.md +2 -4
- data/docs/{InlineObject14ResponseValue.md → InlineObject13ResponseValue.md} +4 -4
- data/docs/{InlineObject14ResponseValueDefault.md → InlineObject13ResponseValueDefault.md} +4 -4
- data/docs/{InlineObject14ResponseValueValue.md → InlineObject13ResponseValueValue.md} +4 -4
- data/docs/InlineObject14.md +4 -2
- data/docs/InlineObject15.md +2 -4
- data/docs/InlineObject16.md +1 -1
- data/docs/InlineObject17.md +1 -1
- data/docs/InlineObject18.md +4 -2
- data/docs/InlineObject19.md +2 -4
- data/docs/InlineObject20.md +4 -2
- data/docs/{InlineObject21Meta.md → InlineObject20Meta.md} +2 -2
- data/docs/InlineObject21.md +2 -4
- data/docs/InlineObject22.md +2 -2
- data/docs/{InlineObject23Response.md → InlineObject22Response.md} +3 -3
- data/docs/InlineObject7.md +1 -1
- data/docs/InlineObject8.md +4 -2
- data/docs/{InlineObject12Meta.md → InlineObject8Meta.md} +3 -5
- data/docs/InlineObject9.md +2 -2
- data/docs/InlineObject9Meta.md +7 -9
- data/docs/MakeAccessibleUrl.md +1 -1
- data/docs/MetadataParam.md +1 -1
- data/docs/MiscApi.md +1 -6
- data/docs/OpenEditorRequestData.md +7 -5
- data/docs/OptimizeUrl.md +1 -1
- data/docs/ServicesApi.md +28 -28
- data/docs/StoreDocumentRequest.md +1 -1
- data/docs/Template.md +3 -1
- data/docs/TemplateDefinition.md +14 -6
- data/docs/TemplateDefinitionNewLayout.md +5 -5
- data/docs/TemplateDefinitionNewLayoutMargins.md +4 -4
- data/docs/TemplateDefinitionNewPagesInner.md +3 -3
- data/docs/TemplateDefinitionNewPagesInnerLayout.md +49 -0
- data/docs/TemplateDefinitionUpdate.md +34 -0
- data/docs/TemplateLibraryApi.md +4 -4
- data/docs/TemplateParam.md +1 -1
- data/docs/TemplateParamData.md +7 -5
- data/docs/TemplateVersion.md +4 -2
- data/docs/TemplateVersionsApi.md +4 -4
- data/docs/TemplatesApi.md +38 -42
- data/docs/ValidationError.md +20 -0
- data/docs/WatermarkFileUrl.md +24 -0
- data/docs/Workspace.md +4 -0
- data/docs/WorkspacesApi.md +21 -15
- data/lib/pdf_generator_api_client/api/assets_api.rb +6 -6
- data/lib/pdf_generator_api_client/api/conversion_api.rb +14 -14
- data/lib/pdf_generator_api_client/api/documents_api.rb +45 -35
- data/lib/pdf_generator_api_client/api/e_invoices_api.rb +20 -20
- data/lib/pdf_generator_api_client/api/fonts_api.rb +86 -0
- data/lib/pdf_generator_api_client/api/forms_api.rb +99 -25
- data/lib/pdf_generator_api_client/api/misc_api.rb +3 -3
- data/lib/pdf_generator_api_client/api/services_api.rb +23 -23
- data/lib/pdf_generator_api_client/api/template_library_api.rb +5 -5
- data/lib/pdf_generator_api_client/api/template_versions_api.rb +5 -5
- data/lib/pdf_generator_api_client/api/templates_api.rb +50 -33
- data/lib/pdf_generator_api_client/api/workspaces_api.rb +42 -14
- data/lib/pdf_generator_api_client/api_client.rb +2 -2
- data/lib/pdf_generator_api_client/api_error.rb +2 -2
- data/lib/pdf_generator_api_client/configuration.rb +2 -2
- data/lib/pdf_generator_api_client/models/accessibility_option.rb +2 -2
- data/lib/pdf_generator_api_client/models/add_watermark_request.rb +2 -2
- data/lib/pdf_generator_api_client/models/async_output_param.rb +2 -2
- data/lib/pdf_generator_api_client/models/{form_fields_inner.rb → attachments_param_inner.rb} +54 -66
- data/lib/pdf_generator_api_client/models/callback_param.rb +31 -3
- data/lib/pdf_generator_api_client/models/convert_html2_pdf_request.rb +39 -3
- data/lib/pdf_generator_api_client/models/convert_pdf2_image_request.rb +2 -2
- data/lib/pdf_generator_api_client/models/convert_url2_pdf_request.rb +201 -8
- data/lib/pdf_generator_api_client/models/copy_template_request.rb +21 -2
- data/lib/pdf_generator_api_client/models/create_e_invoice_request.rb +3 -16
- data/lib/pdf_generator_api_client/models/create_factur_xe_invoice_request.rb +21 -2
- data/lib/pdf_generator_api_client/models/create_factur_xe_invoice_request_template.rb +38 -5
- data/lib/pdf_generator_api_client/models/{template_param_id.rb → create_factur_xe_invoice_request_template_id.rb} +3 -3
- data/lib/pdf_generator_api_client/models/create_workspace_request.rb +28 -2
- data/lib/pdf_generator_api_client/models/create_x_rechnung_e_invoice_request.rb +308 -0
- data/lib/pdf_generator_api_client/models/document.rb +2 -2
- data/lib/pdf_generator_api_client/models/document_action.rb +4 -4
- data/lib/pdf_generator_api_client/models/document_signature.rb +2 -2
- data/lib/pdf_generator_api_client/models/document_signatures.rb +2 -2
- data/lib/pdf_generator_api_client/models/document_user.rb +2 -2
- data/lib/pdf_generator_api_client/models/document_version.rb +2 -2
- data/lib/pdf_generator_api_client/models/e_invoice_type.rb +48 -0
- data/lib/pdf_generator_api_client/models/encrypt_and_decrypt_base64.rb +49 -2
- data/lib/pdf_generator_api_client/models/encrypt_and_decrypt_url.rb +49 -2
- data/lib/pdf_generator_api_client/models/encrypt_document_request.rb +2 -2
- data/lib/pdf_generator_api_client/models/{inline_object26.rb → error.rb} +17 -34
- data/lib/pdf_generator_api_client/models/extract_form_fields_request.rb +2 -2
- data/lib/pdf_generator_api_client/models/fill_form_fields_request.rb +2 -2
- data/lib/pdf_generator_api_client/models/font.rb +348 -0
- data/lib/pdf_generator_api_client/models/form_action_download.rb +3 -3
- data/lib/pdf_generator_api_client/models/form_action_send.rb +3 -3
- data/lib/pdf_generator_api_client/models/form_action_send_send_document.rb +3 -3
- data/lib/pdf_generator_api_client/models/form_action_send_send_document_headers_inner.rb +20 -2
- data/lib/pdf_generator_api_client/models/{data_batch_inner.rb → form_action_sign.rb} +13 -23
- data/lib/pdf_generator_api_client/models/form_action_store.rb +3 -3
- data/lib/pdf_generator_api_client/models/form_configuration.rb +29 -2
- data/lib/pdf_generator_api_client/models/form_configuration_import.rb +315 -0
- data/lib/pdf_generator_api_client/models/form_configuration_new.rb +93 -5
- data/lib/pdf_generator_api_client/models/form_configuration_new_actions_inner.rb +3 -2
- data/lib/pdf_generator_api_client/models/form_field.rb +462 -0
- data/lib/pdf_generator_api_client/models/{inline_object24.rb → form_field_options.rb} +46 -44
- data/{spec/models/inline_object27_spec.rb → lib/pdf_generator_api_client/models/form_field_sub_rows_inner.rb} +86 -22
- data/lib/pdf_generator_api_client/models/form_fields_base64.rb +2 -2
- data/lib/pdf_generator_api_client/models/form_fields_url.rb +2 -2
- data/lib/pdf_generator_api_client/models/form_fill_base64.rb +2 -2
- data/lib/pdf_generator_api_client/models/form_fill_url.rb +2 -2
- data/lib/pdf_generator_api_client/models/form_table_column.rb +446 -0
- data/lib/pdf_generator_api_client/models/format_param.rb +2 -2
- data/lib/pdf_generator_api_client/models/generate_document_asynchronous_request.rb +94 -3
- data/lib/pdf_generator_api_client/models/generate_document_batch_asynchronous_request.rb +111 -3
- data/lib/pdf_generator_api_client/models/generate_document_batch_request.rb +94 -3
- data/lib/pdf_generator_api_client/models/generate_document_request.rb +77 -3
- data/lib/pdf_generator_api_client/models/{generate_qr_code201_response.rb → generate_qr_code200_response.rb} +7 -7
- data/lib/pdf_generator_api_client/models/{generate_qr_code201_response_meta.rb → generate_qr_code200_response_meta.rb} +5 -5
- data/lib/pdf_generator_api_client/models/generate_qr_code_request.rb +65 -5
- data/lib/pdf_generator_api_client/models/generate_viewer_url200_response.rb +2 -2
- data/lib/pdf_generator_api_client/models/generate_viewer_url200_response_meta.rb +2 -2
- data/lib/pdf_generator_api_client/models/generate_viewer_url_request.rb +2 -2
- data/lib/pdf_generator_api_client/models/get_e_invoice_schema200_response.rb +238 -0
- data/lib/pdf_generator_api_client/models/{inline_object23.rb → get_fonts200_response.rb} +9 -7
- data/lib/pdf_generator_api_client/models/{template_definition_editor.rb → get_form_schema200_response.rb} +30 -13
- data/lib/pdf_generator_api_client/models/get_status200_response.rb +14 -3
- data/lib/pdf_generator_api_client/models/get_template_library200_response.rb +2 -2
- data/lib/pdf_generator_api_client/models/{template_definition_pages_inner.rb → get_template_schema200_response.rb} +30 -43
- data/lib/pdf_generator_api_client/models/import_form_base64.rb +3 -3
- data/lib/pdf_generator_api_client/models/import_form_request.rb +2 -2
- data/lib/pdf_generator_api_client/models/import_form_url.rb +3 -3
- data/lib/pdf_generator_api_client/models/import_template_base64.rb +2 -2
- data/lib/pdf_generator_api_client/models/import_template_request.rb +2 -2
- data/lib/pdf_generator_api_client/models/import_template_url.rb +2 -2
- data/lib/pdf_generator_api_client/models/import_template_url_template.rb +2 -2
- data/lib/pdf_generator_api_client/models/inline_object.rb +2 -2
- data/lib/pdf_generator_api_client/models/inline_object1.rb +2 -2
- data/lib/pdf_generator_api_client/models/inline_object10.rb +5 -7
- data/lib/pdf_generator_api_client/models/inline_object10_meta.rb +20 -10
- data/lib/pdf_generator_api_client/models/inline_object11.rb +3 -3
- data/lib/pdf_generator_api_client/models/inline_object11_meta.rb +13 -4
- data/lib/pdf_generator_api_client/models/{inline_object12_meta_stats.rb → inline_object11_meta_stats.rb} +21 -11
- data/lib/pdf_generator_api_client/models/inline_object12.rb +23 -16
- data/lib/pdf_generator_api_client/models/{inline_object25.rb → inline_object12_response.rb} +55 -21
- data/lib/pdf_generator_api_client/models/inline_object13.rb +12 -54
- data/lib/pdf_generator_api_client/models/{inline_object14_response_value.rb → inline_object13_response_value.rb} +7 -7
- data/lib/pdf_generator_api_client/models/{inline_object14_response_value_default.rb → inline_object13_response_value_default.rb} +3 -3
- data/lib/pdf_generator_api_client/models/{inline_object14_response_value_value.rb → inline_object13_response_value_value.rb} +3 -3
- data/lib/pdf_generator_api_client/models/inline_object14.rb +16 -8
- data/lib/pdf_generator_api_client/models/inline_object15.rb +6 -15
- data/lib/pdf_generator_api_client/models/inline_object16.rb +4 -6
- data/lib/pdf_generator_api_client/models/inline_object17.rb +6 -4
- data/lib/pdf_generator_api_client/models/inline_object18.rb +16 -9
- data/lib/pdf_generator_api_client/models/inline_object19.rb +6 -15
- data/lib/pdf_generator_api_client/models/inline_object1_response.rb +2 -2
- data/lib/pdf_generator_api_client/models/inline_object2.rb +2 -2
- data/lib/pdf_generator_api_client/models/inline_object20.rb +16 -6
- data/lib/pdf_generator_api_client/models/{inline_object21_meta.rb → inline_object20_meta.rb} +5 -5
- data/lib/pdf_generator_api_client/models/inline_object21.rb +7 -16
- data/lib/pdf_generator_api_client/models/inline_object22.rb +3 -4
- data/lib/pdf_generator_api_client/models/{inline_object23_response.rb → inline_object22_response.rb} +5 -5
- data/lib/pdf_generator_api_client/models/inline_object3.rb +2 -2
- data/lib/pdf_generator_api_client/models/inline_object4.rb +2 -2
- data/lib/pdf_generator_api_client/models/inline_object5.rb +2 -2
- data/lib/pdf_generator_api_client/models/inline_object6.rb +2 -2
- data/lib/pdf_generator_api_client/models/inline_object7.rb +3 -3
- data/lib/pdf_generator_api_client/models/inline_object8.rb +16 -6
- data/lib/pdf_generator_api_client/models/{inline_object12_meta.rb → inline_object8_meta.rb} +7 -16
- data/lib/pdf_generator_api_client/models/inline_object9.rb +7 -5
- data/lib/pdf_generator_api_client/models/inline_object9_meta.rb +10 -20
- data/lib/pdf_generator_api_client/models/inline_object_meta.rb +2 -2
- data/lib/pdf_generator_api_client/models/key_field_param.rb +2 -2
- data/lib/pdf_generator_api_client/models/make_accessible_base64.rb +2 -2
- data/lib/pdf_generator_api_client/models/make_accessible_request.rb +2 -2
- data/lib/pdf_generator_api_client/models/make_accessible_url.rb +2 -2
- data/lib/pdf_generator_api_client/models/metadata_param.rb +22 -3
- data/lib/pdf_generator_api_client/models/open_editor_request.rb +4 -4
- data/lib/pdf_generator_api_client/models/open_editor_request_data.rb +6 -5
- data/lib/pdf_generator_api_client/models/optimize_base64.rb +2 -2
- data/lib/pdf_generator_api_client/models/optimize_document_request.rb +2 -2
- data/lib/pdf_generator_api_client/models/optimize_url.rb +2 -2
- data/lib/pdf_generator_api_client/models/output_param.rb +2 -2
- data/lib/pdf_generator_api_client/models/pagination_meta.rb +2 -2
- data/lib/pdf_generator_api_client/models/prefill_param.rb +2 -2
- data/lib/pdf_generator_api_client/models/promote_template_version200_response.rb +2 -2
- data/lib/pdf_generator_api_client/models/public_template_library_item.rb +2 -2
- data/lib/pdf_generator_api_client/models/status_param.rb +2 -2
- data/lib/pdf_generator_api_client/models/store_document_request.rb +22 -5
- data/lib/pdf_generator_api_client/models/template.rb +16 -6
- data/lib/pdf_generator_api_client/models/template_definition.rb +93 -18
- data/lib/pdf_generator_api_client/models/template_definition_new.rb +20 -2
- data/lib/pdf_generator_api_client/models/template_definition_new_data_settings.rb +2 -2
- data/lib/pdf_generator_api_client/models/template_definition_new_editor.rb +2 -2
- data/lib/pdf_generator_api_client/models/template_definition_new_layout.rb +38 -9
- data/lib/pdf_generator_api_client/models/template_definition_new_layout_margins.rb +75 -3
- data/lib/pdf_generator_api_client/models/template_definition_new_layout_repeat_layout.rb +4 -4
- data/lib/pdf_generator_api_client/models/template_definition_new_pages_inner.rb +5 -5
- data/lib/pdf_generator_api_client/models/template_definition_new_pages_inner_layout.rb +106 -0
- data/lib/pdf_generator_api_client/models/template_definition_new_pages_inner_margins.rb +3 -2
- data/lib/pdf_generator_api_client/models/template_definition_update.rb +335 -0
- data/lib/pdf_generator_api_client/models/template_param.rb +3 -3
- data/lib/pdf_generator_api_client/models/template_param_data.rb +6 -4
- data/lib/pdf_generator_api_client/models/template_version.rb +13 -3
- data/lib/pdf_generator_api_client/models/template_version_collection.rb +2 -2
- data/lib/pdf_generator_api_client/models/template_version_collection_meta.rb +2 -2
- data/lib/pdf_generator_api_client/models/{inline_object29.rb → validation_error.rb} +28 -9
- data/lib/pdf_generator_api_client/models/watermark_base64.rb +2 -2
- data/lib/pdf_generator_api_client/models/{component.rb → watermark_file_url.rb} +77 -93
- data/lib/pdf_generator_api_client/models/watermark_file_url_watermark.rb +2 -2
- data/lib/pdf_generator_api_client/models/watermark_image.rb +2 -2
- data/lib/pdf_generator_api_client/models/watermark_image_content_base64.rb +2 -2
- data/lib/pdf_generator_api_client/models/watermark_image_content_url.rb +2 -2
- data/lib/pdf_generator_api_client/models/watermark_position.rb +2 -2
- data/lib/pdf_generator_api_client/models/watermark_text.rb +2 -2
- data/lib/pdf_generator_api_client/models/workspace.rb +23 -3
- data/lib/pdf_generator_api_client/version.rb +3 -3
- data/lib/pdf_generator_api_client.rb +33 -29
- data/pdf_generator_api_client.gemspec +2 -2
- data/spec/api/assets_api_spec.rb +3 -3
- data/spec/api/conversion_api_spec.rb +6 -6
- data/spec/api/documents_api_spec.rb +15 -13
- data/spec/api/e_invoices_api_spec.rb +6 -6
- data/spec/api/fonts_api_spec.rb +47 -0
- data/spec/api/forms_api_spec.rb +24 -10
- data/spec/api/misc_api_spec.rb +2 -2
- data/spec/api/services_api_spec.rb +9 -9
- data/spec/api/template_library_api_spec.rb +3 -3
- data/spec/api/template_versions_api_spec.rb +3 -3
- data/spec/api/templates_api_spec.rb +13 -10
- data/spec/api/workspaces_api_spec.rb +9 -5
- data/spec/models/accessibility_option_spec.rb +2 -2
- data/spec/models/add_watermark_request_spec.rb +2 -2
- data/spec/models/async_output_param_spec.rb +2 -2
- data/spec/models/attachments_param_inner_spec.rb +42 -0
- data/spec/models/callback_param_spec.rb +2 -2
- data/spec/models/convert_html2_pdf_request_spec.rb +2 -2
- data/spec/models/convert_pdf2_image_request_spec.rb +2 -2
- data/spec/models/convert_url2_pdf_request_spec.rb +40 -2
- data/spec/models/copy_template_request_spec.rb +2 -2
- data/spec/models/create_e_invoice_request_spec.rb +2 -6
- data/spec/models/create_factur_xe_invoice_request_spec.rb +2 -2
- data/spec/models/create_factur_xe_invoice_request_template_id_spec.rb +32 -0
- data/spec/models/create_factur_xe_invoice_request_template_spec.rb +2 -2
- data/spec/models/create_workspace_request_spec.rb +2 -2
- data/spec/models/create_x_rechnung_e_invoice_request_spec.rb +56 -0
- data/spec/models/document_action_spec.rb +3 -3
- data/spec/models/document_signature_spec.rb +2 -2
- data/spec/models/document_signatures_spec.rb +2 -2
- data/spec/models/document_spec.rb +2 -2
- data/spec/models/document_user_spec.rb +2 -2
- data/spec/models/document_version_spec.rb +2 -2
- data/spec/models/e_invoice_type_spec.rb +30 -0
- data/spec/models/encrypt_and_decrypt_base64_spec.rb +2 -2
- data/spec/models/encrypt_and_decrypt_url_spec.rb +2 -2
- data/spec/models/encrypt_document_request_spec.rb +2 -2
- data/spec/models/{get_template_version422_response_spec.rb → error_spec.rb} +8 -8
- data/spec/models/extract_form_fields_request_spec.rb +2 -2
- data/spec/models/fill_form_fields_request_spec.rb +2 -2
- data/spec/models/{component_spec.rb → font_spec.rb} +16 -40
- data/spec/models/form_action_download_spec.rb +2 -2
- data/spec/models/form_action_send_send_document_headers_inner_spec.rb +2 -2
- data/spec/models/form_action_send_send_document_spec.rb +2 -2
- data/spec/models/form_action_send_spec.rb +2 -2
- data/spec/models/form_action_sign_spec.rb +36 -0
- data/spec/models/form_action_store_spec.rb +2 -2
- data/spec/models/{template_definition_pages_inner_spec.rb → form_configuration_import_spec.rb} +12 -12
- data/spec/models/form_configuration_new_actions_inner_spec.rb +2 -2
- data/spec/models/form_configuration_new_spec.rb +2 -2
- data/spec/models/form_configuration_spec.rb +2 -2
- data/spec/models/{form_fields_inner_spec.rb → form_field_options_spec.rb} +9 -31
- data/spec/models/form_field_spec.rb +76 -0
- data/spec/models/{data_batch_inner_spec.rb → form_field_sub_rows_inner_spec.rb} +4 -25
- data/spec/models/form_fields_base64_spec.rb +2 -2
- data/spec/models/form_fields_url_spec.rb +2 -2
- data/spec/models/form_fill_base64_spec.rb +2 -2
- data/spec/models/form_fill_url_spec.rb +2 -2
- data/spec/models/form_table_column_spec.rb +70 -0
- data/spec/models/format_param_spec.rb +2 -2
- data/spec/models/generate_document_asynchronous_request_spec.rb +20 -2
- data/spec/models/generate_document_batch_asynchronous_request_spec.rb +20 -2
- data/spec/models/generate_document_batch_request_spec.rb +20 -2
- data/spec/models/generate_document_request_spec.rb +20 -2
- data/spec/models/{generate_qr_code201_response_meta_spec.rb → generate_qr_code200_response_meta_spec.rb} +8 -8
- data/spec/models/{generate_qr_code201_response_spec.rb → generate_qr_code200_response_spec.rb} +8 -8
- data/spec/models/generate_qr_code_request_spec.rb +2 -2
- data/spec/models/generate_viewer_url200_response_meta_spec.rb +2 -2
- data/spec/models/generate_viewer_url200_response_spec.rb +2 -2
- data/spec/models/generate_viewer_url_request_spec.rb +2 -2
- data/spec/models/get_e_invoice_schema200_response_spec.rb +36 -0
- data/spec/models/{inline_object23_spec.rb → get_fonts200_response_spec.rb} +8 -8
- data/spec/models/{template_definition_editor_spec.rb → get_form_schema200_response_spec.rb} +9 -9
- data/spec/models/get_status200_response_spec.rb +8 -2
- data/spec/models/get_template_library200_response_spec.rb +2 -2
- data/spec/models/get_template_schema200_response_spec.rb +36 -0
- data/spec/models/import_form_base64_spec.rb +2 -2
- data/spec/models/import_form_request_spec.rb +2 -2
- data/spec/models/import_form_url_spec.rb +2 -2
- data/spec/models/import_template_base64_spec.rb +2 -2
- data/spec/models/import_template_request_spec.rb +2 -2
- data/spec/models/import_template_url_spec.rb +2 -2
- data/spec/models/import_template_url_template_spec.rb +2 -2
- data/spec/models/inline_object10_meta_spec.rb +8 -2
- data/spec/models/inline_object10_spec.rb +2 -2
- data/spec/models/inline_object11_meta_spec.rb +8 -2
- data/spec/models/{inline_object12_meta_stats_spec.rb → inline_object11_meta_stats_spec.rb} +14 -8
- data/spec/models/inline_object11_spec.rb +2 -2
- data/spec/models/inline_object12_response_spec.rb +46 -0
- data/spec/models/inline_object12_spec.rb +2 -8
- data/spec/models/{inline_object14_response_value_default_spec.rb → inline_object13_response_value_default_spec.rb} +4 -4
- data/spec/models/{inline_object14_response_value_spec.rb → inline_object13_response_value_spec.rb} +8 -8
- data/spec/models/{inline_object14_response_value_value_spec.rb → inline_object13_response_value_value_spec.rb} +4 -4
- data/spec/models/inline_object13_spec.rb +3 -13
- data/spec/models/inline_object14_spec.rb +8 -2
- data/spec/models/inline_object15_spec.rb +2 -8
- data/spec/models/inline_object16_spec.rb +2 -2
- data/spec/models/inline_object17_spec.rb +2 -2
- data/spec/models/inline_object18_spec.rb +8 -2
- data/spec/models/inline_object19_spec.rb +2 -8
- data/spec/models/inline_object1_response_spec.rb +2 -2
- data/spec/models/inline_object1_spec.rb +2 -2
- data/spec/models/{inline_object21_meta_spec.rb → inline_object20_meta_spec.rb} +8 -8
- data/spec/models/inline_object20_spec.rb +8 -2
- data/spec/models/inline_object21_spec.rb +2 -8
- data/spec/models/{inline_object23_response_spec.rb → inline_object22_response_spec.rb} +8 -8
- data/spec/models/inline_object22_spec.rb +2 -2
- data/spec/models/inline_object2_spec.rb +2 -2
- data/spec/models/inline_object3_spec.rb +2 -2
- data/spec/models/inline_object4_spec.rb +2 -2
- data/spec/models/inline_object5_spec.rb +2 -2
- data/spec/models/inline_object6_spec.rb +2 -2
- data/spec/models/inline_object7_spec.rb +2 -2
- data/spec/models/{inline_object12_meta_spec.rb → inline_object8_meta_spec.rb} +8 -14
- data/spec/models/inline_object8_spec.rb +8 -2
- data/spec/models/inline_object9_meta_spec.rb +2 -8
- data/spec/models/inline_object9_spec.rb +2 -2
- data/spec/models/inline_object_meta_spec.rb +2 -2
- data/spec/models/inline_object_spec.rb +2 -2
- data/spec/models/key_field_param_spec.rb +2 -2
- data/spec/models/make_accessible_base64_spec.rb +2 -2
- data/spec/models/make_accessible_request_spec.rb +2 -2
- data/spec/models/make_accessible_url_spec.rb +2 -2
- data/spec/models/metadata_param_spec.rb +2 -2
- data/spec/models/open_editor_request_data_spec.rb +2 -2
- data/spec/models/open_editor_request_spec.rb +3 -3
- data/spec/models/optimize_base64_spec.rb +2 -2
- data/spec/models/optimize_document_request_spec.rb +2 -2
- data/spec/models/optimize_url_spec.rb +2 -2
- data/spec/models/output_param_spec.rb +2 -2
- data/spec/models/pagination_meta_spec.rb +2 -2
- data/spec/models/prefill_param_spec.rb +2 -2
- data/spec/models/promote_template_version200_response_spec.rb +2 -2
- data/spec/models/public_template_library_item_spec.rb +2 -2
- data/spec/models/status_param_spec.rb +2 -2
- data/spec/models/store_document_request_spec.rb +2 -2
- data/spec/models/template_definition_new_data_settings_spec.rb +2 -2
- data/spec/models/template_definition_new_editor_spec.rb +2 -2
- data/spec/models/template_definition_new_layout_margins_spec.rb +2 -2
- data/spec/models/template_definition_new_layout_repeat_layout_spec.rb +3 -3
- data/spec/models/template_definition_new_layout_spec.rb +3 -3
- data/spec/models/{template_param_id_spec.rb → template_definition_new_pages_inner_layout_spec.rb} +4 -4
- data/spec/models/template_definition_new_pages_inner_margins_spec.rb +2 -2
- data/spec/models/template_definition_new_pages_inner_spec.rb +2 -2
- data/spec/models/template_definition_new_spec.rb +2 -2
- data/spec/models/template_definition_spec.rb +32 -8
- data/spec/models/template_definition_update_spec.rb +84 -0
- data/spec/models/template_param_data_spec.rb +2 -2
- data/spec/models/template_param_spec.rb +2 -2
- data/spec/models/template_spec.rb +8 -2
- data/spec/models/template_version_collection_meta_spec.rb +2 -2
- data/spec/models/template_version_collection_spec.rb +2 -2
- data/spec/models/template_version_spec.rb +8 -2
- data/spec/models/{inline_object29_spec.rb → validation_error_spec.rb} +8 -8
- data/spec/models/watermark_base64_spec.rb +2 -2
- data/spec/models/watermark_file_url_spec.rb +58 -0
- data/spec/models/watermark_file_url_watermark_spec.rb +2 -2
- data/spec/models/watermark_image_content_base64_spec.rb +2 -2
- data/spec/models/watermark_image_content_url_spec.rb +2 -2
- data/spec/models/watermark_image_spec.rb +2 -2
- data/spec/models/watermark_position_spec.rb +2 -2
- data/spec/models/watermark_text_spec.rb +2 -2
- data/spec/models/workspace_spec.rb +14 -2
- data/spec/spec_helper.rb +2 -2
- metadata +234 -218
- data/docs/Component.md +0 -34
- data/docs/DataBatchInner.md +0 -20
- data/docs/FormFieldsInner.md +0 -24
- data/docs/GenerateQRCode201Response.md +0 -20
- data/docs/GetTemplateVersion422Response.md +0 -18
- data/docs/InlineObject12MetaStats.md +0 -20
- data/docs/InlineObject24.md +0 -18
- data/docs/InlineObject25.md +0 -18
- data/docs/InlineObject26.md +0 -18
- data/docs/InlineObject27.md +0 -18
- data/docs/InlineObject28.md +0 -18
- data/docs/InlineObject29.md +0 -20
- data/docs/InlineObject30.md +0 -18
- data/docs/InlineObject31.md +0 -18
- data/docs/InlineObject7Response.md +0 -18
- data/docs/TemplateDefinitionDataSettings.md +0 -20
- data/docs/TemplateDefinitionEditor.md +0 -18
- data/docs/TemplateDefinitionPagesInner.md +0 -24
- data/lib/pdf_generator_api_client/models/get_template_version422_response.rb +0 -220
- data/lib/pdf_generator_api_client/models/inline_object27.rb +0 -255
- data/lib/pdf_generator_api_client/models/inline_object28.rb +0 -221
- data/lib/pdf_generator_api_client/models/inline_object30.rb +0 -221
- data/lib/pdf_generator_api_client/models/inline_object31.rb +0 -221
- data/lib/pdf_generator_api_client/models/inline_object7_response.rb +0 -220
- data/lib/pdf_generator_api_client/models/template_definition_data_settings.rb +0 -234
- data/spec/models/inline_object24_spec.rb +0 -40
- data/spec/models/inline_object25_spec.rb +0 -40
- data/spec/models/inline_object26_spec.rb +0 -40
- data/spec/models/inline_object28_spec.rb +0 -36
- data/spec/models/inline_object30_spec.rb +0 -36
- data/spec/models/inline_object31_spec.rb +0 -36
- data/spec/models/inline_object7_response_spec.rb +0 -36
- data/spec/models/template_definition_data_settings_spec.rb +0 -42
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# PDFGeneratorAPI::CreateXRechnungEInvoiceRequest
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **data** | **Object** | JSON payload that represents the Peppol BIS Billing 3.0 UBL Invoice (https://docs.peppol.eu/poacc/billing/3.0/) Use the Get schema endpoint to see the detailed payload structure. | |
|
|
8
|
+
| **type** | **String** | Syntax of the XRechnung invoice. `CII` produces XRechnung CII; any other value produces XRechnung UBL. | [optional][default to 'UBL'] |
|
|
9
|
+
| **output** | **String** | Response format. When the \"file\" option is used the API returns the file inline. | [optional][default to 'base64'] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'pdf_generator_api_client'
|
|
15
|
+
|
|
16
|
+
instance = PDFGeneratorAPI::CreateXRechnungEInvoiceRequest.new(
|
|
17
|
+
data: null,
|
|
18
|
+
type: UBL,
|
|
19
|
+
output: base64
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
data/docs/DocumentsApi.md
CHANGED
|
@@ -89,7 +89,7 @@ nil (empty response body)
|
|
|
89
89
|
|
|
90
90
|
## generate_document
|
|
91
91
|
|
|
92
|
-
> <
|
|
92
|
+
> <InlineObject8> generate_document(generate_document_request)
|
|
93
93
|
|
|
94
94
|
Generate document
|
|
95
95
|
|
|
@@ -122,7 +122,7 @@ end
|
|
|
122
122
|
|
|
123
123
|
This returns an Array which contains the response data, status code and headers.
|
|
124
124
|
|
|
125
|
-
> <Array(<
|
|
125
|
+
> <Array(<InlineObject8>, Integer, Hash)> generate_document_with_http_info(generate_document_request)
|
|
126
126
|
|
|
127
127
|
```ruby
|
|
128
128
|
begin
|
|
@@ -130,7 +130,7 @@ begin
|
|
|
130
130
|
data, status_code, headers = api_instance.generate_document_with_http_info(generate_document_request)
|
|
131
131
|
p status_code # => 2xx
|
|
132
132
|
p headers # => { ... }
|
|
133
|
-
p data # => <
|
|
133
|
+
p data # => <InlineObject8>
|
|
134
134
|
rescue PDFGeneratorAPI::ApiError => e
|
|
135
135
|
puts "Error when calling DocumentsApi->generate_document_with_http_info: #{e}"
|
|
136
136
|
end
|
|
@@ -144,7 +144,7 @@ end
|
|
|
144
144
|
|
|
145
145
|
### Return type
|
|
146
146
|
|
|
147
|
-
[**
|
|
147
|
+
[**InlineObject8**](InlineObject8.md)
|
|
148
148
|
|
|
149
149
|
### Authorization
|
|
150
150
|
|
|
@@ -158,7 +158,7 @@ end
|
|
|
158
158
|
|
|
159
159
|
## generate_document_asynchronous
|
|
160
160
|
|
|
161
|
-
> <
|
|
161
|
+
> <InlineObject22> generate_document_asynchronous(generate_document_asynchronous_request)
|
|
162
162
|
|
|
163
163
|
Generate document (async)
|
|
164
164
|
|
|
@@ -176,7 +176,7 @@ PDFGeneratorAPI.configure do |config|
|
|
|
176
176
|
end
|
|
177
177
|
|
|
178
178
|
api_instance = PDFGeneratorAPI::DocumentsApi.new
|
|
179
|
-
generate_document_asynchronous_request = PDFGeneratorAPI::GenerateDocumentAsynchronousRequest.new # GenerateDocumentAsynchronousRequest | Request parameters, including template id, data and formats.
|
|
179
|
+
generate_document_asynchronous_request = PDFGeneratorAPI::GenerateDocumentAsynchronousRequest.new({callback: PDFGeneratorAPI::CallbackParam.new({url: 'https://example.org/document-callback'})}) # GenerateDocumentAsynchronousRequest | Request parameters, including template id, data and formats.
|
|
180
180
|
|
|
181
181
|
begin
|
|
182
182
|
# Generate document (async)
|
|
@@ -191,7 +191,7 @@ end
|
|
|
191
191
|
|
|
192
192
|
This returns an Array which contains the response data, status code and headers.
|
|
193
193
|
|
|
194
|
-
> <Array(<
|
|
194
|
+
> <Array(<InlineObject22>, Integer, Hash)> generate_document_asynchronous_with_http_info(generate_document_asynchronous_request)
|
|
195
195
|
|
|
196
196
|
```ruby
|
|
197
197
|
begin
|
|
@@ -199,7 +199,7 @@ begin
|
|
|
199
199
|
data, status_code, headers = api_instance.generate_document_asynchronous_with_http_info(generate_document_asynchronous_request)
|
|
200
200
|
p status_code # => 2xx
|
|
201
201
|
p headers # => { ... }
|
|
202
|
-
p data # => <
|
|
202
|
+
p data # => <InlineObject22>
|
|
203
203
|
rescue PDFGeneratorAPI::ApiError => e
|
|
204
204
|
puts "Error when calling DocumentsApi->generate_document_asynchronous_with_http_info: #{e}"
|
|
205
205
|
end
|
|
@@ -213,7 +213,7 @@ end
|
|
|
213
213
|
|
|
214
214
|
### Return type
|
|
215
215
|
|
|
216
|
-
[**
|
|
216
|
+
[**InlineObject22**](InlineObject22.md)
|
|
217
217
|
|
|
218
218
|
### Authorization
|
|
219
219
|
|
|
@@ -227,7 +227,7 @@ end
|
|
|
227
227
|
|
|
228
228
|
## generate_document_batch
|
|
229
229
|
|
|
230
|
-
> <
|
|
230
|
+
> <InlineObject8> generate_document_batch(generate_document_batch_request)
|
|
231
231
|
|
|
232
232
|
Generate document (batch)
|
|
233
233
|
|
|
@@ -245,7 +245,7 @@ PDFGeneratorAPI.configure do |config|
|
|
|
245
245
|
end
|
|
246
246
|
|
|
247
247
|
api_instance = PDFGeneratorAPI::DocumentsApi.new
|
|
248
|
-
generate_document_batch_request = PDFGeneratorAPI::GenerateDocumentBatchRequest.new # GenerateDocumentBatchRequest | Request parameters, including template id, data and formats.
|
|
248
|
+
generate_document_batch_request = PDFGeneratorAPI::GenerateDocumentBatchRequest.new({template: [PDFGeneratorAPI::TemplateParam.new]}) # GenerateDocumentBatchRequest | Request parameters, including template id, data and formats.
|
|
249
249
|
|
|
250
250
|
begin
|
|
251
251
|
# Generate document (batch)
|
|
@@ -260,7 +260,7 @@ end
|
|
|
260
260
|
|
|
261
261
|
This returns an Array which contains the response data, status code and headers.
|
|
262
262
|
|
|
263
|
-
> <Array(<
|
|
263
|
+
> <Array(<InlineObject8>, Integer, Hash)> generate_document_batch_with_http_info(generate_document_batch_request)
|
|
264
264
|
|
|
265
265
|
```ruby
|
|
266
266
|
begin
|
|
@@ -268,7 +268,7 @@ begin
|
|
|
268
268
|
data, status_code, headers = api_instance.generate_document_batch_with_http_info(generate_document_batch_request)
|
|
269
269
|
p status_code # => 2xx
|
|
270
270
|
p headers # => { ... }
|
|
271
|
-
p data # => <
|
|
271
|
+
p data # => <InlineObject8>
|
|
272
272
|
rescue PDFGeneratorAPI::ApiError => e
|
|
273
273
|
puts "Error when calling DocumentsApi->generate_document_batch_with_http_info: #{e}"
|
|
274
274
|
end
|
|
@@ -282,7 +282,7 @@ end
|
|
|
282
282
|
|
|
283
283
|
### Return type
|
|
284
284
|
|
|
285
|
-
[**
|
|
285
|
+
[**InlineObject8**](InlineObject8.md)
|
|
286
286
|
|
|
287
287
|
### Authorization
|
|
288
288
|
|
|
@@ -296,7 +296,7 @@ end
|
|
|
296
296
|
|
|
297
297
|
## generate_document_batch_asynchronous
|
|
298
298
|
|
|
299
|
-
> <
|
|
299
|
+
> <InlineObject22> generate_document_batch_asynchronous(generate_document_batch_asynchronous_request)
|
|
300
300
|
|
|
301
301
|
Generate document (batch + async)
|
|
302
302
|
|
|
@@ -314,7 +314,7 @@ PDFGeneratorAPI.configure do |config|
|
|
|
314
314
|
end
|
|
315
315
|
|
|
316
316
|
api_instance = PDFGeneratorAPI::DocumentsApi.new
|
|
317
|
-
generate_document_batch_asynchronous_request = PDFGeneratorAPI::GenerateDocumentBatchAsynchronousRequest.new # GenerateDocumentBatchAsynchronousRequest | Request parameters, including template id, data and formats.
|
|
317
|
+
generate_document_batch_asynchronous_request = PDFGeneratorAPI::GenerateDocumentBatchAsynchronousRequest.new({template: [PDFGeneratorAPI::TemplateParam.new], callback: PDFGeneratorAPI::CallbackParam.new({url: 'https://example.org/document-callback'})}) # GenerateDocumentBatchAsynchronousRequest | Request parameters, including template id, data and formats.
|
|
318
318
|
|
|
319
319
|
begin
|
|
320
320
|
# Generate document (batch + async)
|
|
@@ -329,7 +329,7 @@ end
|
|
|
329
329
|
|
|
330
330
|
This returns an Array which contains the response data, status code and headers.
|
|
331
331
|
|
|
332
|
-
> <Array(<
|
|
332
|
+
> <Array(<InlineObject22>, Integer, Hash)> generate_document_batch_asynchronous_with_http_info(generate_document_batch_asynchronous_request)
|
|
333
333
|
|
|
334
334
|
```ruby
|
|
335
335
|
begin
|
|
@@ -337,7 +337,7 @@ begin
|
|
|
337
337
|
data, status_code, headers = api_instance.generate_document_batch_asynchronous_with_http_info(generate_document_batch_asynchronous_request)
|
|
338
338
|
p status_code # => 2xx
|
|
339
339
|
p headers # => { ... }
|
|
340
|
-
p data # => <
|
|
340
|
+
p data # => <InlineObject22>
|
|
341
341
|
rescue PDFGeneratorAPI::ApiError => e
|
|
342
342
|
puts "Error when calling DocumentsApi->generate_document_batch_asynchronous_with_http_info: #{e}"
|
|
343
343
|
end
|
|
@@ -351,7 +351,7 @@ end
|
|
|
351
351
|
|
|
352
352
|
### Return type
|
|
353
353
|
|
|
354
|
-
[**
|
|
354
|
+
[**InlineObject22**](InlineObject22.md)
|
|
355
355
|
|
|
356
356
|
### Authorization
|
|
357
357
|
|
|
@@ -438,7 +438,7 @@ end
|
|
|
438
438
|
|
|
439
439
|
## get_async_job_status
|
|
440
440
|
|
|
441
|
-
> <
|
|
441
|
+
> <InlineObject12> get_async_job_status(job_id)
|
|
442
442
|
|
|
443
443
|
Get job status
|
|
444
444
|
|
|
@@ -471,7 +471,7 @@ end
|
|
|
471
471
|
|
|
472
472
|
This returns an Array which contains the response data, status code and headers.
|
|
473
473
|
|
|
474
|
-
> <Array(<
|
|
474
|
+
> <Array(<InlineObject12>, Integer, Hash)> get_async_job_status_with_http_info(job_id)
|
|
475
475
|
|
|
476
476
|
```ruby
|
|
477
477
|
begin
|
|
@@ -479,7 +479,7 @@ begin
|
|
|
479
479
|
data, status_code, headers = api_instance.get_async_job_status_with_http_info(job_id)
|
|
480
480
|
p status_code # => 2xx
|
|
481
481
|
p headers # => { ... }
|
|
482
|
-
p data # => <
|
|
482
|
+
p data # => <InlineObject12>
|
|
483
483
|
rescue PDFGeneratorAPI::ApiError => e
|
|
484
484
|
puts "Error when calling DocumentsApi->get_async_job_status_with_http_info: #{e}"
|
|
485
485
|
end
|
|
@@ -493,7 +493,7 @@ end
|
|
|
493
493
|
|
|
494
494
|
### Return type
|
|
495
495
|
|
|
496
|
-
[**
|
|
496
|
+
[**InlineObject12**](InlineObject12.md)
|
|
497
497
|
|
|
498
498
|
### Authorization
|
|
499
499
|
|
|
@@ -507,7 +507,7 @@ end
|
|
|
507
507
|
|
|
508
508
|
## get_document
|
|
509
509
|
|
|
510
|
-
> <
|
|
510
|
+
> <InlineObject10> get_document(public_id)
|
|
511
511
|
|
|
512
512
|
Get document
|
|
513
513
|
|
|
@@ -540,7 +540,7 @@ end
|
|
|
540
540
|
|
|
541
541
|
This returns an Array which contains the response data, status code and headers.
|
|
542
542
|
|
|
543
|
-
> <Array(<
|
|
543
|
+
> <Array(<InlineObject10>, Integer, Hash)> get_document_with_http_info(public_id)
|
|
544
544
|
|
|
545
545
|
```ruby
|
|
546
546
|
begin
|
|
@@ -548,7 +548,7 @@ begin
|
|
|
548
548
|
data, status_code, headers = api_instance.get_document_with_http_info(public_id)
|
|
549
549
|
p status_code # => 2xx
|
|
550
550
|
p headers # => { ... }
|
|
551
|
-
p data # => <
|
|
551
|
+
p data # => <InlineObject10>
|
|
552
552
|
rescue PDFGeneratorAPI::ApiError => e
|
|
553
553
|
puts "Error when calling DocumentsApi->get_document_with_http_info: #{e}"
|
|
554
554
|
end
|
|
@@ -562,7 +562,7 @@ end
|
|
|
562
562
|
|
|
563
563
|
### Return type
|
|
564
564
|
|
|
565
|
-
[**
|
|
565
|
+
[**InlineObject10**](InlineObject10.md)
|
|
566
566
|
|
|
567
567
|
### Authorization
|
|
568
568
|
|
|
@@ -576,7 +576,7 @@ end
|
|
|
576
576
|
|
|
577
577
|
## get_document_actions
|
|
578
578
|
|
|
579
|
-
> <
|
|
579
|
+
> <InlineObject17> get_document_actions(public_id)
|
|
580
580
|
|
|
581
581
|
Get document actions
|
|
582
582
|
|
|
@@ -609,7 +609,7 @@ end
|
|
|
609
609
|
|
|
610
610
|
This returns an Array which contains the response data, status code and headers.
|
|
611
611
|
|
|
612
|
-
> <Array(<
|
|
612
|
+
> <Array(<InlineObject17>, Integer, Hash)> get_document_actions_with_http_info(public_id)
|
|
613
613
|
|
|
614
614
|
```ruby
|
|
615
615
|
begin
|
|
@@ -617,7 +617,7 @@ begin
|
|
|
617
617
|
data, status_code, headers = api_instance.get_document_actions_with_http_info(public_id)
|
|
618
618
|
p status_code # => 2xx
|
|
619
619
|
p headers # => { ... }
|
|
620
|
-
p data # => <
|
|
620
|
+
p data # => <InlineObject17>
|
|
621
621
|
rescue PDFGeneratorAPI::ApiError => e
|
|
622
622
|
puts "Error when calling DocumentsApi->get_document_actions_with_http_info: #{e}"
|
|
623
623
|
end
|
|
@@ -631,7 +631,7 @@ end
|
|
|
631
631
|
|
|
632
632
|
### Return type
|
|
633
633
|
|
|
634
|
-
[**
|
|
634
|
+
[**InlineObject17**](InlineObject17.md)
|
|
635
635
|
|
|
636
636
|
### Authorization
|
|
637
637
|
|
|
@@ -645,7 +645,7 @@ end
|
|
|
645
645
|
|
|
646
646
|
## get_document_signatures
|
|
647
647
|
|
|
648
|
-
> <
|
|
648
|
+
> <InlineObject16> get_document_signatures(public_id, opts)
|
|
649
649
|
|
|
650
650
|
Validate document signatures
|
|
651
651
|
|
|
@@ -681,7 +681,7 @@ end
|
|
|
681
681
|
|
|
682
682
|
This returns an Array which contains the response data, status code and headers.
|
|
683
683
|
|
|
684
|
-
> <Array(<
|
|
684
|
+
> <Array(<InlineObject16>, Integer, Hash)> get_document_signatures_with_http_info(public_id, opts)
|
|
685
685
|
|
|
686
686
|
```ruby
|
|
687
687
|
begin
|
|
@@ -689,7 +689,7 @@ begin
|
|
|
689
689
|
data, status_code, headers = api_instance.get_document_signatures_with_http_info(public_id, opts)
|
|
690
690
|
p status_code # => 2xx
|
|
691
691
|
p headers # => { ... }
|
|
692
|
-
p data # => <
|
|
692
|
+
p data # => <InlineObject16>
|
|
693
693
|
rescue PDFGeneratorAPI::ApiError => e
|
|
694
694
|
puts "Error when calling DocumentsApi->get_document_signatures_with_http_info: #{e}"
|
|
695
695
|
end
|
|
@@ -704,7 +704,7 @@ end
|
|
|
704
704
|
|
|
705
705
|
### Return type
|
|
706
706
|
|
|
707
|
-
[**
|
|
707
|
+
[**InlineObject16**](InlineObject16.md)
|
|
708
708
|
|
|
709
709
|
### Authorization
|
|
710
710
|
|
|
@@ -718,7 +718,7 @@ end
|
|
|
718
718
|
|
|
719
719
|
## get_document_versions
|
|
720
720
|
|
|
721
|
-
> <
|
|
721
|
+
> <InlineObject15> get_document_versions(public_id)
|
|
722
722
|
|
|
723
723
|
Get document versions
|
|
724
724
|
|
|
@@ -751,7 +751,7 @@ end
|
|
|
751
751
|
|
|
752
752
|
This returns an Array which contains the response data, status code and headers.
|
|
753
753
|
|
|
754
|
-
> <Array(<
|
|
754
|
+
> <Array(<InlineObject15>, Integer, Hash)> get_document_versions_with_http_info(public_id)
|
|
755
755
|
|
|
756
756
|
```ruby
|
|
757
757
|
begin
|
|
@@ -759,7 +759,7 @@ begin
|
|
|
759
759
|
data, status_code, headers = api_instance.get_document_versions_with_http_info(public_id)
|
|
760
760
|
p status_code # => 2xx
|
|
761
761
|
p headers # => { ... }
|
|
762
|
-
p data # => <
|
|
762
|
+
p data # => <InlineObject15>
|
|
763
763
|
rescue PDFGeneratorAPI::ApiError => e
|
|
764
764
|
puts "Error when calling DocumentsApi->get_document_versions_with_http_info: #{e}"
|
|
765
765
|
end
|
|
@@ -773,7 +773,7 @@ end
|
|
|
773
773
|
|
|
774
774
|
### Return type
|
|
775
775
|
|
|
776
|
-
[**
|
|
776
|
+
[**InlineObject15**](InlineObject15.md)
|
|
777
777
|
|
|
778
778
|
### Authorization
|
|
779
779
|
|
|
@@ -787,7 +787,7 @@ end
|
|
|
787
787
|
|
|
788
788
|
## get_documents
|
|
789
789
|
|
|
790
|
-
> <
|
|
790
|
+
> <InlineObject14> get_documents(opts)
|
|
791
791
|
|
|
792
792
|
Get documents
|
|
793
793
|
|
|
@@ -810,7 +810,9 @@ opts = {
|
|
|
810
810
|
start_date: '2022-08-01 12:00:00', # String | Start date. Format: Y-m-d H:i:s
|
|
811
811
|
end_date: '2022-08-05 12:00:00', # String | End date. Format: Y-m-d H:i:s. Defaults to current timestamp
|
|
812
812
|
page: 1, # Integer | Pagination: page to return
|
|
813
|
-
per_page: 20 # Integer | Pagination: How many records to return per page
|
|
813
|
+
per_page: 20, # Integer | Pagination: How many records to return per page
|
|
814
|
+
search: 'Invoice', # String | Returns documents whose name contains the search value. A numeric value also matches the template ID.
|
|
815
|
+
format: 'pdf' # String | Returns only documents in this format
|
|
814
816
|
}
|
|
815
817
|
|
|
816
818
|
begin
|
|
@@ -826,7 +828,7 @@ end
|
|
|
826
828
|
|
|
827
829
|
This returns an Array which contains the response data, status code and headers.
|
|
828
830
|
|
|
829
|
-
> <Array(<
|
|
831
|
+
> <Array(<InlineObject14>, Integer, Hash)> get_documents_with_http_info(opts)
|
|
830
832
|
|
|
831
833
|
```ruby
|
|
832
834
|
begin
|
|
@@ -834,7 +836,7 @@ begin
|
|
|
834
836
|
data, status_code, headers = api_instance.get_documents_with_http_info(opts)
|
|
835
837
|
p status_code # => 2xx
|
|
836
838
|
p headers # => { ... }
|
|
837
|
-
p data # => <
|
|
839
|
+
p data # => <InlineObject14>
|
|
838
840
|
rescue PDFGeneratorAPI::ApiError => e
|
|
839
841
|
puts "Error when calling DocumentsApi->get_documents_with_http_info: #{e}"
|
|
840
842
|
end
|
|
@@ -849,10 +851,12 @@ end
|
|
|
849
851
|
| **end_date** | **String** | End date. Format: Y-m-d H:i:s. Defaults to current timestamp | [optional] |
|
|
850
852
|
| **page** | **Integer** | Pagination: page to return | [optional][default to 1] |
|
|
851
853
|
| **per_page** | **Integer** | Pagination: How many records to return per page | [optional][default to 15] |
|
|
854
|
+
| **search** | **String** | Returns documents whose name contains the search value. A numeric value also matches the template ID. | [optional] |
|
|
855
|
+
| **format** | **String** | Returns only documents in this format | [optional] |
|
|
852
856
|
|
|
853
857
|
### Return type
|
|
854
858
|
|
|
855
|
-
[**
|
|
859
|
+
[**InlineObject14**](InlineObject14.md)
|
|
856
860
|
|
|
857
861
|
### Authorization
|
|
858
862
|
|
|
@@ -866,7 +870,7 @@ end
|
|
|
866
870
|
|
|
867
871
|
## store_document
|
|
868
872
|
|
|
869
|
-
> <
|
|
873
|
+
> <InlineObject10> store_document(store_document_request)
|
|
870
874
|
|
|
871
875
|
Store document
|
|
872
876
|
|
|
@@ -899,7 +903,7 @@ end
|
|
|
899
903
|
|
|
900
904
|
This returns an Array which contains the response data, status code and headers.
|
|
901
905
|
|
|
902
|
-
> <Array(<
|
|
906
|
+
> <Array(<InlineObject10>, Integer, Hash)> store_document_with_http_info(store_document_request)
|
|
903
907
|
|
|
904
908
|
```ruby
|
|
905
909
|
begin
|
|
@@ -907,7 +911,7 @@ begin
|
|
|
907
911
|
data, status_code, headers = api_instance.store_document_with_http_info(store_document_request)
|
|
908
912
|
p status_code # => 2xx
|
|
909
913
|
p headers # => { ... }
|
|
910
|
-
p data # => <
|
|
914
|
+
p data # => <InlineObject10>
|
|
911
915
|
rescue PDFGeneratorAPI::ApiError => e
|
|
912
916
|
puts "Error when calling DocumentsApi->store_document_with_http_info: #{e}"
|
|
913
917
|
end
|
|
@@ -921,7 +925,7 @@ end
|
|
|
921
925
|
|
|
922
926
|
### Return type
|
|
923
927
|
|
|
924
|
-
[**
|
|
928
|
+
[**InlineObject10**](InlineObject10.md)
|
|
925
929
|
|
|
926
930
|
### Authorization
|
|
927
931
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# PDFGeneratorAPI::EInvoiceType
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
|
|
8
|
+
## Example
|
|
9
|
+
|
|
10
|
+
```ruby
|
|
11
|
+
require 'pdf_generator_api_client'
|
|
12
|
+
|
|
13
|
+
instance = PDFGeneratorAPI::EInvoiceType.new()
|
|
14
|
+
```
|
|
15
|
+
|
data/docs/EInvoicesApi.md
CHANGED
|
@@ -81,11 +81,11 @@ end
|
|
|
81
81
|
|
|
82
82
|
## create_factur_xe_invoice
|
|
83
83
|
|
|
84
|
-
> <
|
|
84
|
+
> <InlineObject8> create_factur_xe_invoice(create_factur_xe_invoice_request)
|
|
85
85
|
|
|
86
86
|
Create Factur-X eInvoice
|
|
87
87
|
|
|
88
|
-
This endpoint transforms a JSON payload a Factur-X e-invoice that is fully compliant with the European EN 16931 standard. The generated output is always a PDF document, embedding a structured CII (Cross-Industry Invoice) XML according to the Factur-X format into a human-readable invoice, ensuring interoperability across B2B and B2G platforms. The JSON payload follows Peppol BIS Billing 3.0 UBL Invoice described here: https://docs.peppol.eu/poacc/billing/3.0/
|
|
88
|
+
This endpoint transforms a JSON payload a Factur-X e-invoice that is fully compliant with the European EN 16931 standard. The generated output is always a PDF document, embedding a structured CII (Cross-Industry Invoice) XML according to the Factur-X format into a human-readable invoice, ensuring interoperability across B2B and B2G platforms. The JSON payload follows Peppol BIS Billing 3.0 UBL Invoice described here: https://docs.peppol.eu/poacc/billing/3.0/ Preview mode (`testing: true`) is not available for Factur-X.
|
|
89
89
|
|
|
90
90
|
### Examples
|
|
91
91
|
|
|
@@ -99,7 +99,7 @@ PDFGeneratorAPI.configure do |config|
|
|
|
99
99
|
end
|
|
100
100
|
|
|
101
101
|
api_instance = PDFGeneratorAPI::EInvoicesApi.new
|
|
102
|
-
create_factur_xe_invoice_request = PDFGeneratorAPI::CreateFacturXEInvoiceRequest.new({template: PDFGeneratorAPI::CreateFacturXEInvoiceRequestTemplate.new}) # CreateFacturXEInvoiceRequest | eInvoice conversion
|
|
102
|
+
create_factur_xe_invoice_request = PDFGeneratorAPI::CreateFacturXEInvoiceRequest.new({template: PDFGeneratorAPI::CreateFacturXEInvoiceRequestTemplate.new({id: nil, data: 3.56})}) # CreateFacturXEInvoiceRequest | eInvoice conversion
|
|
103
103
|
|
|
104
104
|
begin
|
|
105
105
|
# Create Factur-X eInvoice
|
|
@@ -114,7 +114,7 @@ end
|
|
|
114
114
|
|
|
115
115
|
This returns an Array which contains the response data, status code and headers.
|
|
116
116
|
|
|
117
|
-
> <Array(<
|
|
117
|
+
> <Array(<InlineObject8>, Integer, Hash)> create_factur_xe_invoice_with_http_info(create_factur_xe_invoice_request)
|
|
118
118
|
|
|
119
119
|
```ruby
|
|
120
120
|
begin
|
|
@@ -122,7 +122,7 @@ begin
|
|
|
122
122
|
data, status_code, headers = api_instance.create_factur_xe_invoice_with_http_info(create_factur_xe_invoice_request)
|
|
123
123
|
p status_code # => 2xx
|
|
124
124
|
p headers # => { ... }
|
|
125
|
-
p data # => <
|
|
125
|
+
p data # => <InlineObject8>
|
|
126
126
|
rescue PDFGeneratorAPI::ApiError => e
|
|
127
127
|
puts "Error when calling EInvoicesApi->create_factur_xe_invoice_with_http_info: #{e}"
|
|
128
128
|
end
|
|
@@ -136,7 +136,7 @@ end
|
|
|
136
136
|
|
|
137
137
|
### Return type
|
|
138
138
|
|
|
139
|
-
[**
|
|
139
|
+
[**InlineObject8**](InlineObject8.md)
|
|
140
140
|
|
|
141
141
|
### Authorization
|
|
142
142
|
|
|
@@ -150,7 +150,7 @@ end
|
|
|
150
150
|
|
|
151
151
|
## create_x_rechnung_e_invoice
|
|
152
152
|
|
|
153
|
-
> <InlineObject> create_x_rechnung_e_invoice(
|
|
153
|
+
> <InlineObject> create_x_rechnung_e_invoice(create_x_rechnung_e_invoice_request)
|
|
154
154
|
|
|
155
155
|
Create XRechnung eInvoice
|
|
156
156
|
|
|
@@ -168,11 +168,11 @@ PDFGeneratorAPI.configure do |config|
|
|
|
168
168
|
end
|
|
169
169
|
|
|
170
170
|
api_instance = PDFGeneratorAPI::EInvoicesApi.new
|
|
171
|
-
|
|
171
|
+
create_x_rechnung_e_invoice_request = PDFGeneratorAPI::CreateXRechnungEInvoiceRequest.new({data: 3.56}) # CreateXRechnungEInvoiceRequest | eInvoice conversion
|
|
172
172
|
|
|
173
173
|
begin
|
|
174
174
|
# Create XRechnung eInvoice
|
|
175
|
-
result = api_instance.create_x_rechnung_e_invoice(
|
|
175
|
+
result = api_instance.create_x_rechnung_e_invoice(create_x_rechnung_e_invoice_request)
|
|
176
176
|
p result
|
|
177
177
|
rescue PDFGeneratorAPI::ApiError => e
|
|
178
178
|
puts "Error when calling EInvoicesApi->create_x_rechnung_e_invoice: #{e}"
|
|
@@ -183,12 +183,12 @@ end
|
|
|
183
183
|
|
|
184
184
|
This returns an Array which contains the response data, status code and headers.
|
|
185
185
|
|
|
186
|
-
> <Array(<InlineObject>, Integer, Hash)> create_x_rechnung_e_invoice_with_http_info(
|
|
186
|
+
> <Array(<InlineObject>, Integer, Hash)> create_x_rechnung_e_invoice_with_http_info(create_x_rechnung_e_invoice_request)
|
|
187
187
|
|
|
188
188
|
```ruby
|
|
189
189
|
begin
|
|
190
190
|
# Create XRechnung eInvoice
|
|
191
|
-
data, status_code, headers = api_instance.create_x_rechnung_e_invoice_with_http_info(
|
|
191
|
+
data, status_code, headers = api_instance.create_x_rechnung_e_invoice_with_http_info(create_x_rechnung_e_invoice_request)
|
|
192
192
|
p status_code # => 2xx
|
|
193
193
|
p headers # => { ... }
|
|
194
194
|
p data # => <InlineObject>
|
|
@@ -201,7 +201,7 @@ end
|
|
|
201
201
|
|
|
202
202
|
| Name | Type | Description | Notes |
|
|
203
203
|
| ---- | ---- | ----------- | ----- |
|
|
204
|
-
| **
|
|
204
|
+
| **create_x_rechnung_e_invoice_request** | [**CreateXRechnungEInvoiceRequest**](CreateXRechnungEInvoiceRequest.md) | eInvoice conversion | |
|
|
205
205
|
|
|
206
206
|
### Return type
|
|
207
207
|
|
|
@@ -219,7 +219,7 @@ end
|
|
|
219
219
|
|
|
220
220
|
## get_e_invoice_schema
|
|
221
221
|
|
|
222
|
-
>
|
|
222
|
+
> <GetEInvoiceSchema200Response> get_e_invoice_schema
|
|
223
223
|
|
|
224
224
|
Get schema
|
|
225
225
|
|
|
@@ -230,11 +230,6 @@ Returns e-invoice JSON schema which defines the structure of the e-invoice.
|
|
|
230
230
|
```ruby
|
|
231
231
|
require 'time'
|
|
232
232
|
require 'pdf_generator_api_client'
|
|
233
|
-
# setup authorization
|
|
234
|
-
PDFGeneratorAPI.configure do |config|
|
|
235
|
-
# Configure Bearer authorization (JWT): JSONWebTokenAuth
|
|
236
|
-
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
237
|
-
end
|
|
238
233
|
|
|
239
234
|
api_instance = PDFGeneratorAPI::EInvoicesApi.new
|
|
240
235
|
|
|
@@ -251,7 +246,7 @@ end
|
|
|
251
246
|
|
|
252
247
|
This returns an Array which contains the response data, status code and headers.
|
|
253
248
|
|
|
254
|
-
> <Array(
|
|
249
|
+
> <Array(<GetEInvoiceSchema200Response>, Integer, Hash)> get_e_invoice_schema_with_http_info
|
|
255
250
|
|
|
256
251
|
```ruby
|
|
257
252
|
begin
|
|
@@ -259,7 +254,7 @@ begin
|
|
|
259
254
|
data, status_code, headers = api_instance.get_e_invoice_schema_with_http_info
|
|
260
255
|
p status_code # => 2xx
|
|
261
256
|
p headers # => { ... }
|
|
262
|
-
p data # =>
|
|
257
|
+
p data # => <GetEInvoiceSchema200Response>
|
|
263
258
|
rescue PDFGeneratorAPI::ApiError => e
|
|
264
259
|
puts "Error when calling EInvoicesApi->get_e_invoice_schema_with_http_info: #{e}"
|
|
265
260
|
end
|
|
@@ -271,11 +266,11 @@ This endpoint does not need any parameter.
|
|
|
271
266
|
|
|
272
267
|
### Return type
|
|
273
268
|
|
|
274
|
-
**
|
|
269
|
+
[**GetEInvoiceSchema200Response**](GetEInvoiceSchema200Response.md)
|
|
275
270
|
|
|
276
271
|
### Authorization
|
|
277
272
|
|
|
278
|
-
|
|
273
|
+
No authorization required
|
|
279
274
|
|
|
280
275
|
### HTTP request headers
|
|
281
276
|
|
data/docs/Error.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# PDFGeneratorAPI::Error
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **message** | **String** | Error description | |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'pdf_generator_api_client'
|
|
13
|
+
|
|
14
|
+
instance = PDFGeneratorAPI::Error.new(
|
|
15
|
+
message: Entity not found.
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
data/docs/Font.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# PDFGeneratorAPI::Font
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | The value of a component's `fontFamily` for this font | |
|
|
8
|
+
| **name** | **String** | Font name, as the editor shows it | |
|
|
9
|
+
| **parent** | **String** | The `id` of the font this one is grouped under, such as another weight of the same family | |
|
|
10
|
+
| **styles** | **Array<String>** | The styles the font has glyphs of its own for. Text in another style is drawn with the regular glyphs. | |
|
|
11
|
+
| **blocks** | **Hash<String, Integer>** | The Unicode blocks the font has at least half of the characters of, with the share it has in percent. 100 means every character of the block. | |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'pdf_generator_api_client'
|
|
17
|
+
|
|
18
|
+
instance = PDFGeneratorAPI::Font.new(
|
|
19
|
+
id: opensans,
|
|
20
|
+
name: Open Sans,
|
|
21
|
+
parent: null,
|
|
22
|
+
styles: ["normal","bold","italic","bold_italic"],
|
|
23
|
+
blocks: {"Basic Latin":100,"Latin-1 Supplement":100,"Latin Extended-A":100,"Cyrillic":99}
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|