aspose_words_cloud 24.7.0 → 24.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aspose_words_cloud/api/words_api.rb +260 -0
- data/lib/aspose_words_cloud/models/azw3_save_options_data.rb +15 -1
- data/lib/aspose_words_cloud/models/digital_signature_details.rb +218 -0
- data/lib/aspose_words_cloud/models/epub_save_options_data.rb +15 -1
- data/lib/aspose_words_cloud/models/html_save_options_data.rb +15 -1
- data/lib/aspose_words_cloud/models/mhtml_save_options_data.rb +15 -1
- data/lib/aspose_words_cloud/models/open_xps_save_options_data.rb +14 -1
- data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +13 -1
- data/lib/aspose_words_cloud/models/requests/accept_all_revisions_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/accept_all_revisions_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/append_document_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/append_document_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/build_report_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/classify_document_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/classify_document_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/compare_document_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/compare_document_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/compress_document_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/compress_document_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/convert_document_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/copy_style_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/copy_style_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/copy_styles_from_template_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/create_or_update_document_property_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/create_or_update_document_property_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_all_paragraph_tab_stops_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_all_paragraph_tab_stops_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_bookmark_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_bookmark_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_bookmarks_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_bookmarks_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_border_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_border_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_borders_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_borders_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_comment_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_comment_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_comments_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_comments_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_custom_xml_part_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_custom_xml_part_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_custom_xml_parts_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_custom_xml_parts_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_document_property_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_document_property_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_drawing_object_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_drawing_object_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_field_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_field_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_fields_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_fields_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_footnote_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_footnote_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_form_field_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_form_field_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_header_footer_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_header_footer_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_headers_footers_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_headers_footers_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_macros_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_macros_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_office_math_object_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_office_math_object_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_office_math_objects_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_office_math_objects_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_list_format_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_list_format_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_tab_stop_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_tab_stop_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_run_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_run_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_section_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_section_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_structured_document_tag_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_structured_document_tag_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_table_cell_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_table_cell_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_table_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_table_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_table_row_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_table_row_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_watermark_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_watermark_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/execute_mail_merge_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/execute_mail_merge_request.rb +15 -1
- data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_bookmarks_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_bookmarks_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_border_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_border_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_borders_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_borders_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_comment_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_comment_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_comments_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_comments_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_custom_xml_part_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_custom_xml_part_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_custom_xml_parts_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_custom_xml_parts_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_by_index_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_by_index_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_image_data_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_image_data_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_ole_data_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_ole_data_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_objects_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_objects_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_field_names_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_field_names_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_properties_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_properties_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_property_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_property_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_protection_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_protection_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_statistics_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_statistics_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_with_format_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_field_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_field_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_fields_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_fields_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_footnote_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_footnote_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_footnotes_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_footnotes_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_form_field_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_form_field_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_form_fields_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_form_fields_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_header_footer_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_header_footer_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_header_footers_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_header_footers_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_list_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_list_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_lists_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_lists_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_office_math_object_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_office_math_object_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_office_math_objects_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_office_math_objects_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_format_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_format_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraphs_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraphs_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_range_text_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_range_text_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_run_font_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_run_font_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_run_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_run_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_runs_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_runs_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_section_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_section_page_setup_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_section_page_setup_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_section_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_sections_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_sections_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_signatures_online_request.rb +179 -0
- data/lib/aspose_words_cloud/models/requests/get_signatures_request.rb +178 -0
- data/lib/aspose_words_cloud/models/requests/get_structured_document_tag_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_structured_document_tag_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_structured_document_tags_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_structured_document_tags_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_style_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_style_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_styles_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_styles_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_cell_format_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_cell_format_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_cell_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_cell_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_properties_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_properties_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_row_format_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_row_format_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_row_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_row_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_tables_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_tables_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_bookmark_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_bookmark_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_comment_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_comment_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_custom_xml_part_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_custom_xml_part_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_drawing_object_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_drawing_object_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_field_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_field_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_footnote_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_footnote_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_form_field_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_form_field_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_header_footer_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_header_footer_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_list_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_list_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_or_update_paragraph_tab_stop_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_or_update_paragraph_tab_stop_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_page_numbers_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_page_numbers_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_paragraph_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_paragraph_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_run_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_run_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_section_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_section_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_structured_document_tag_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_structured_document_tag_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_style_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_style_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_table_cell_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_table_cell_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_table_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_table_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_table_row_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_table_row_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_watermark_image_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_watermark_image_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_watermark_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_watermark_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_watermark_text_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_watermark_text_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/link_header_footers_to_previous_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/merge_with_next_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/merge_with_next_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/optimize_document_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/optimize_document_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/protect_document_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/protect_document_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/reject_all_revisions_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/reject_all_revisions_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/remove_all_signatures_online_request.rb +186 -0
- data/lib/aspose_words_cloud/models/requests/remove_all_signatures_request.rb +185 -0
- data/lib/aspose_words_cloud/models/requests/remove_range_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/remove_range_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/render_drawing_object_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/render_drawing_object_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/render_math_object_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/render_math_object_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/render_page_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/render_page_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/render_paragraph_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/render_paragraph_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/render_table_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/render_table_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/replace_text_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/replace_text_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/replace_with_text_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/replace_with_text_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/save_as_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/save_as_range_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/save_as_range_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/save_as_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/save_as_tiff_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/save_as_tiff_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/search_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/search_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/sign_document_online_request.rb +208 -0
- data/lib/aspose_words_cloud/models/requests/sign_document_request.rb +207 -0
- data/lib/aspose_words_cloud/models/requests/split_document_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/split_document_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/translate_node_id_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/translate_node_id_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/unprotect_document_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/unprotect_document_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_bookmark_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_bookmark_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_border_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_border_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_comment_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_comment_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_custom_xml_part_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_custom_xml_part_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_drawing_object_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_drawing_object_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_field_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_field_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_fields_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_fields_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_footnote_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_footnote_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_form_field_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_form_field_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_list_level_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_list_level_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_list_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_list_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_paragraph_format_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_paragraph_format_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_paragraph_list_format_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_paragraph_list_format_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_run_font_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_run_font_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_run_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_run_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_section_page_setup_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_section_page_setup_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_structured_document_tag_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_structured_document_tag_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_style_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_style_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_table_cell_format_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_table_cell_format_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_table_properties_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_table_properties_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_table_row_format_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_table_row_format_request.rb +8 -1
- data/lib/aspose_words_cloud/models/responses/remove_all_signatures_online_response.rb +47 -0
- data/lib/aspose_words_cloud/models/responses/sign_document_online_response.rb +47 -0
- data/lib/aspose_words_cloud/models/sign_options.rb +254 -0
- data/lib/aspose_words_cloud/models/signature.rb +267 -0
- data/lib/aspose_words_cloud/models/signature_collection_response.rb +236 -0
- data/lib/aspose_words_cloud/models/svg_save_options_data.rb +13 -1
- data/lib/aspose_words_cloud/models/xaml_flow_pack_save_options_data.rb +15 -1
- data/lib/aspose_words_cloud/models/xaml_flow_save_options_data.rb +15 -1
- data/lib/aspose_words_cloud/models/xps_save_options_data.rb +14 -1
- data/lib/aspose_words_cloud/version.rb +1 -1
- data/lib/aspose_words_cloud.rb +10 -0
- metadata +14 -2
@@ -50,6 +50,9 @@ module AsposeWordsCloud
|
|
50
50
|
# Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
|
51
51
|
attr_accessor :encrypted_password
|
52
52
|
|
53
|
+
# The value indicates whether OpenType support is on.
|
54
|
+
attr_accessor :open_type_support
|
55
|
+
|
53
56
|
# Folder in filestorage with custom fonts.
|
54
57
|
attr_accessor :fonts_location
|
55
58
|
|
@@ -62,9 +65,10 @@ module AsposeWordsCloud
|
|
62
65
|
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
63
66
|
# @param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
|
64
67
|
# @param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
|
68
|
+
# @param open_type_support The value indicates whether OpenType support is on.
|
65
69
|
# @param fonts_location Folder in filestorage with custom fonts.
|
66
70
|
|
67
|
-
def initialize(name:, save_options_data:, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil, fonts_location: nil)
|
71
|
+
def initialize(name:, save_options_data:, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil, fonts_location: nil)
|
68
72
|
self.name = name
|
69
73
|
self.save_options_data = save_options_data
|
70
74
|
self.folder = folder
|
@@ -72,6 +76,7 @@ module AsposeWordsCloud
|
|
72
76
|
self.load_encoding = load_encoding
|
73
77
|
self.password = password
|
74
78
|
self.encrypted_password = encrypted_password
|
79
|
+
self.open_type_support = open_type_support
|
75
80
|
self.fonts_location = fonts_location
|
76
81
|
end
|
77
82
|
|
@@ -94,6 +99,7 @@ module AsposeWordsCloud
|
|
94
99
|
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
95
100
|
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
96
101
|
query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
|
102
|
+
query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
|
97
103
|
query_params[downcase_first_letter('FontsLocation')] = self.fonts_location unless self.fonts_location.nil?
|
98
104
|
|
99
105
|
if query_params
|
@@ -161,6 +167,7 @@ module AsposeWordsCloud
|
|
161
167
|
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
162
168
|
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
163
169
|
query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
|
170
|
+
query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
|
164
171
|
query_params[downcase_first_letter('FontsLocation')] = self.fonts_location unless self.fonts_location.nil?
|
165
172
|
|
166
173
|
# header parameters
|
@@ -44,6 +44,9 @@ module AsposeWordsCloud
|
|
44
44
|
# Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
|
45
45
|
attr_accessor :encrypted_password
|
46
46
|
|
47
|
+
# The value indicates whether OpenType support is on.
|
48
|
+
attr_accessor :open_type_support
|
49
|
+
|
47
50
|
# The flag indicating whether to use antialiasing.
|
48
51
|
attr_accessor :use_anti_aliasing
|
49
52
|
|
@@ -105,6 +108,7 @@ module AsposeWordsCloud
|
|
105
108
|
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
106
109
|
# @param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
|
107
110
|
# @param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
|
111
|
+
# @param open_type_support The value indicates whether OpenType support is on.
|
108
112
|
# @param use_anti_aliasing The flag indicating whether to use antialiasing.
|
109
113
|
# @param use_high_quality_rendering The flag indicating whether to use high quality.
|
110
114
|
# @param image_brightness The level of brightness for the generated images.
|
@@ -124,12 +128,13 @@ module AsposeWordsCloud
|
|
124
128
|
# @param zip_output The flag indicating whether to ZIP the output.
|
125
129
|
# @param fonts_location Folder in filestorage with custom fonts.
|
126
130
|
|
127
|
-
def initialize(document:, save_options:, load_encoding: nil, password: nil, encrypted_password: nil, use_anti_aliasing: nil, use_high_quality_rendering: nil, image_brightness: nil, image_color_mode: nil, image_contrast: nil, numeral_format: nil, page_count: nil, page_index: nil, paper_color: nil, pixel_format: nil, resolution: nil, scale: nil, tiff_compression: nil, dml_rendering_mode: nil, dml_effects_rendering_mode: nil, tiff_binarization_method: nil, zip_output: nil, fonts_location: nil)
|
131
|
+
def initialize(document:, save_options:, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil, use_anti_aliasing: nil, use_high_quality_rendering: nil, image_brightness: nil, image_color_mode: nil, image_contrast: nil, numeral_format: nil, page_count: nil, page_index: nil, paper_color: nil, pixel_format: nil, resolution: nil, scale: nil, tiff_compression: nil, dml_rendering_mode: nil, dml_effects_rendering_mode: nil, tiff_binarization_method: nil, zip_output: nil, fonts_location: nil)
|
128
132
|
self.document = document
|
129
133
|
self.save_options = save_options
|
130
134
|
self.load_encoding = load_encoding
|
131
135
|
self.password = password
|
132
136
|
self.encrypted_password = encrypted_password
|
137
|
+
self.open_type_support = open_type_support
|
133
138
|
self.use_anti_aliasing = use_anti_aliasing
|
134
139
|
self.use_high_quality_rendering = use_high_quality_rendering
|
135
140
|
self.image_brightness = image_brightness
|
@@ -166,6 +171,7 @@ module AsposeWordsCloud
|
|
166
171
|
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
167
172
|
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
168
173
|
query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
|
174
|
+
query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
|
169
175
|
query_params[downcase_first_letter('UseAntiAliasing')] = self.use_anti_aliasing unless self.use_anti_aliasing.nil?
|
170
176
|
query_params[downcase_first_letter('UseHighQualityRendering')] = self.use_high_quality_rendering unless self.use_high_quality_rendering.nil?
|
171
177
|
query_params[downcase_first_letter('ImageBrightness')] = self.image_brightness unless self.image_brightness.nil?
|
@@ -254,6 +260,7 @@ module AsposeWordsCloud
|
|
254
260
|
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
255
261
|
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
256
262
|
query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
|
263
|
+
query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
|
257
264
|
query_params[downcase_first_letter('UseAntiAliasing')] = self.use_anti_aliasing unless self.use_anti_aliasing.nil?
|
258
265
|
query_params[downcase_first_letter('UseHighQualityRendering')] = self.use_high_quality_rendering unless self.use_high_quality_rendering.nil?
|
259
266
|
query_params[downcase_first_letter('ImageBrightness')] = self.image_brightness unless self.image_brightness.nil?
|
@@ -50,6 +50,9 @@ module AsposeWordsCloud
|
|
50
50
|
# Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
|
51
51
|
attr_accessor :encrypted_password
|
52
52
|
|
53
|
+
# The value indicates whether OpenType support is on.
|
54
|
+
attr_accessor :open_type_support
|
55
|
+
|
53
56
|
# The flag indicating whether to use antialiasing.
|
54
57
|
attr_accessor :use_anti_aliasing
|
55
58
|
|
@@ -113,6 +116,7 @@ module AsposeWordsCloud
|
|
113
116
|
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
114
117
|
# @param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
|
115
118
|
# @param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
|
119
|
+
# @param open_type_support The value indicates whether OpenType support is on.
|
116
120
|
# @param use_anti_aliasing The flag indicating whether to use antialiasing.
|
117
121
|
# @param use_high_quality_rendering The flag indicating whether to use high quality.
|
118
122
|
# @param image_brightness The level of brightness for the generated images.
|
@@ -132,7 +136,7 @@ module AsposeWordsCloud
|
|
132
136
|
# @param zip_output The flag indicating whether to ZIP the output.
|
133
137
|
# @param fonts_location Folder in filestorage with custom fonts.
|
134
138
|
|
135
|
-
def initialize(name:, save_options:, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil, use_anti_aliasing: nil, use_high_quality_rendering: nil, image_brightness: nil, image_color_mode: nil, image_contrast: nil, numeral_format: nil, page_count: nil, page_index: nil, paper_color: nil, pixel_format: nil, resolution: nil, scale: nil, tiff_compression: nil, dml_rendering_mode: nil, dml_effects_rendering_mode: nil, tiff_binarization_method: nil, zip_output: nil, fonts_location: nil)
|
139
|
+
def initialize(name:, save_options:, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil, use_anti_aliasing: nil, use_high_quality_rendering: nil, image_brightness: nil, image_color_mode: nil, image_contrast: nil, numeral_format: nil, page_count: nil, page_index: nil, paper_color: nil, pixel_format: nil, resolution: nil, scale: nil, tiff_compression: nil, dml_rendering_mode: nil, dml_effects_rendering_mode: nil, tiff_binarization_method: nil, zip_output: nil, fonts_location: nil)
|
136
140
|
self.name = name
|
137
141
|
self.save_options = save_options
|
138
142
|
self.folder = folder
|
@@ -140,6 +144,7 @@ module AsposeWordsCloud
|
|
140
144
|
self.load_encoding = load_encoding
|
141
145
|
self.password = password
|
142
146
|
self.encrypted_password = encrypted_password
|
147
|
+
self.open_type_support = open_type_support
|
143
148
|
self.use_anti_aliasing = use_anti_aliasing
|
144
149
|
self.use_high_quality_rendering = use_high_quality_rendering
|
145
150
|
self.image_brightness = image_brightness
|
@@ -179,6 +184,7 @@ module AsposeWordsCloud
|
|
179
184
|
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
180
185
|
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
181
186
|
query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
|
187
|
+
query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
|
182
188
|
query_params[downcase_first_letter('UseAntiAliasing')] = self.use_anti_aliasing unless self.use_anti_aliasing.nil?
|
183
189
|
query_params[downcase_first_letter('UseHighQualityRendering')] = self.use_high_quality_rendering unless self.use_high_quality_rendering.nil?
|
184
190
|
query_params[downcase_first_letter('ImageBrightness')] = self.image_brightness unless self.image_brightness.nil?
|
@@ -263,6 +269,7 @@ module AsposeWordsCloud
|
|
263
269
|
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
264
270
|
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
265
271
|
query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
|
272
|
+
query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
|
266
273
|
query_params[downcase_first_letter('UseAntiAliasing')] = self.use_anti_aliasing unless self.use_anti_aliasing.nil?
|
267
274
|
query_params[downcase_first_letter('UseHighQualityRendering')] = self.use_high_quality_rendering unless self.use_high_quality_rendering.nil?
|
268
275
|
query_params[downcase_first_letter('ImageBrightness')] = self.image_brightness unless self.image_brightness.nil?
|
@@ -44,6 +44,9 @@ module AsposeWordsCloud
|
|
44
44
|
# Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
|
45
45
|
attr_accessor :encrypted_password
|
46
46
|
|
47
|
+
# The value indicates whether OpenType support is on.
|
48
|
+
attr_accessor :open_type_support
|
49
|
+
|
47
50
|
#
|
48
51
|
# Initializes a new instance.
|
49
52
|
# @param document The document.
|
@@ -51,13 +54,15 @@ module AsposeWordsCloud
|
|
51
54
|
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
52
55
|
# @param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
|
53
56
|
# @param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
|
57
|
+
# @param open_type_support The value indicates whether OpenType support is on.
|
54
58
|
|
55
|
-
def initialize(document:, pattern:, load_encoding: nil, password: nil, encrypted_password: nil)
|
59
|
+
def initialize(document:, pattern:, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil)
|
56
60
|
self.document = document
|
57
61
|
self.pattern = pattern
|
58
62
|
self.load_encoding = load_encoding
|
59
63
|
self.password = password
|
60
64
|
self.encrypted_password = encrypted_password
|
65
|
+
self.open_type_support = open_type_support
|
61
66
|
end
|
62
67
|
|
63
68
|
# Creating batch part from request
|
@@ -77,6 +82,7 @@ module AsposeWordsCloud
|
|
77
82
|
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
78
83
|
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
79
84
|
query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
|
85
|
+
query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
|
80
86
|
|
81
87
|
if query_params
|
82
88
|
query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
|
@@ -141,6 +147,7 @@ module AsposeWordsCloud
|
|
141
147
|
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
142
148
|
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
143
149
|
query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
|
150
|
+
query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
|
144
151
|
|
145
152
|
# header parameters
|
146
153
|
header_params = {}
|
@@ -50,6 +50,9 @@ module AsposeWordsCloud
|
|
50
50
|
# Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
|
51
51
|
attr_accessor :encrypted_password
|
52
52
|
|
53
|
+
# The value indicates whether OpenType support is on.
|
54
|
+
attr_accessor :open_type_support
|
55
|
+
|
53
56
|
#
|
54
57
|
# Initializes a new instance.
|
55
58
|
# @param name The filename of the input document.
|
@@ -59,8 +62,9 @@ module AsposeWordsCloud
|
|
59
62
|
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
60
63
|
# @param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
|
61
64
|
# @param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
|
65
|
+
# @param open_type_support The value indicates whether OpenType support is on.
|
62
66
|
|
63
|
-
def initialize(name:, pattern:, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil)
|
67
|
+
def initialize(name:, pattern:, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil)
|
64
68
|
self.name = name
|
65
69
|
self.pattern = pattern
|
66
70
|
self.folder = folder
|
@@ -68,6 +72,7 @@ module AsposeWordsCloud
|
|
68
72
|
self.load_encoding = load_encoding
|
69
73
|
self.password = password
|
70
74
|
self.encrypted_password = encrypted_password
|
75
|
+
self.open_type_support = open_type_support
|
71
76
|
end
|
72
77
|
|
73
78
|
# Creating batch part from request
|
@@ -90,6 +95,7 @@ module AsposeWordsCloud
|
|
90
95
|
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
91
96
|
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
92
97
|
query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
|
98
|
+
query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
|
93
99
|
|
94
100
|
if query_params
|
95
101
|
query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
|
@@ -147,6 +153,7 @@ module AsposeWordsCloud
|
|
147
153
|
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
148
154
|
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
149
155
|
query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
|
156
|
+
query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
|
150
157
|
|
151
158
|
# header parameters
|
152
159
|
header_params = {}
|
@@ -0,0 +1,208 @@
|
|
1
|
+
# ------------------------------------------------------------------------------------
|
2
|
+
# <copyright company="Aspose" file="sign_document_online_request.rb">
|
3
|
+
# Copyright (c) 2024 Aspose.Words for Cloud
|
4
|
+
# </copyright>
|
5
|
+
# <summary>
|
6
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
+
# of this software and associated documentation files (the "Software"), to deal
|
8
|
+
# in the Software without restriction, including without limitation the rights
|
9
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
|
+
# copies of the Software, and to permit persons to whom the Software is
|
11
|
+
# furnished to do so, subject to the following conditions:
|
12
|
+
#
|
13
|
+
# The above copyright notice and this permission notice shall be included in all
|
14
|
+
# copies or substantial portions of the Software.
|
15
|
+
#
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
22
|
+
# SOFTWARE.
|
23
|
+
# </summary>
|
24
|
+
# ------------------------------------------------------------------------------------
|
25
|
+
|
26
|
+
module AsposeWordsCloud
|
27
|
+
|
28
|
+
#
|
29
|
+
# Request model for sign_document_online operation.
|
30
|
+
#
|
31
|
+
class SignDocumentOnlineRequest
|
32
|
+
# The document.
|
33
|
+
attr_accessor :document
|
34
|
+
|
35
|
+
# certifate file path.
|
36
|
+
attr_accessor :certificate_path
|
37
|
+
|
38
|
+
# certificate password.
|
39
|
+
attr_accessor :certificate_password
|
40
|
+
|
41
|
+
# Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
42
|
+
attr_accessor :load_encoding
|
43
|
+
|
44
|
+
# Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
|
45
|
+
attr_accessor :password
|
46
|
+
|
47
|
+
# Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
|
48
|
+
attr_accessor :encrypted_password
|
49
|
+
|
50
|
+
# The value indicates whether OpenType support is on.
|
51
|
+
attr_accessor :open_type_support
|
52
|
+
|
53
|
+
# Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
|
54
|
+
attr_accessor :dest_file_name
|
55
|
+
|
56
|
+
#
|
57
|
+
# Initializes a new instance.
|
58
|
+
# @param document The document.
|
59
|
+
# @param certificate_path certifate file path.
|
60
|
+
# @param certificate_password certificate password.
|
61
|
+
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
62
|
+
# @param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
|
63
|
+
# @param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
|
64
|
+
# @param open_type_support The value indicates whether OpenType support is on.
|
65
|
+
# @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
|
66
|
+
|
67
|
+
def initialize(document:, certificate_path:, certificate_password:, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil, dest_file_name: nil)
|
68
|
+
self.document = document
|
69
|
+
self.certificate_path = certificate_path
|
70
|
+
self.certificate_password = certificate_password
|
71
|
+
self.load_encoding = load_encoding
|
72
|
+
self.password = password
|
73
|
+
self.encrypted_password = encrypted_password
|
74
|
+
self.open_type_support = open_type_support
|
75
|
+
self.dest_file_name = dest_file_name
|
76
|
+
end
|
77
|
+
|
78
|
+
# Creating batch part from request
|
79
|
+
def to_batch_part(api_client, requestId, parentRequestId = nil)
|
80
|
+
# verify the required parameter 'document' is set
|
81
|
+
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.sign_document_online' if api_client.config.client_side_validation && self.document.nil?
|
82
|
+
# verify the required parameter 'certificate_path' is set
|
83
|
+
raise ArgumentError, 'Missing the required parameter certificate_path when calling WordsApi.sign_document_online' if api_client.config.client_side_validation && self.certificate_path.nil?
|
84
|
+
# verify the required parameter 'certificate_password' is set
|
85
|
+
raise ArgumentError, 'Missing the required parameter certificate_password when calling WordsApi.sign_document_online' if api_client.config.client_side_validation && self.certificate_password.nil?
|
86
|
+
|
87
|
+
# resource path
|
88
|
+
local_var_path = '/words/online/post/signatures'[7..-1]
|
89
|
+
local_var_path = local_var_path.sub('//', '/')
|
90
|
+
|
91
|
+
# query parameters
|
92
|
+
query_params = {}
|
93
|
+
query_params[downcase_first_letter('CertificatePath')] = self.certificate_path
|
94
|
+
query_params[downcase_first_letter('CertificatePassword')] = self.certificate_password
|
95
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
96
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
97
|
+
query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
|
98
|
+
query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
|
99
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
100
|
+
|
101
|
+
if query_params
|
102
|
+
query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
|
103
|
+
end
|
104
|
+
|
105
|
+
header_params = {}
|
106
|
+
# header parameters
|
107
|
+
# HTTP header 'Content-Type'
|
108
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
109
|
+
header_params['RequestId'] = requestId
|
110
|
+
|
111
|
+
if parentRequestId != nil
|
112
|
+
header_params['DependsOn'] = parentRequestId
|
113
|
+
end
|
114
|
+
|
115
|
+
# form parameters
|
116
|
+
form_params = []
|
117
|
+
files_content = []
|
118
|
+
if self.document.nil?
|
119
|
+
raise "Parameter Document is required."
|
120
|
+
end
|
121
|
+
unless self.document.nil?
|
122
|
+
form_params.push({:'Name' => 'document', :'Data' => self.document, :'MimeType' =>'application/octet-stream'})
|
123
|
+
end
|
124
|
+
|
125
|
+
|
126
|
+
# http body (model)
|
127
|
+
body = api_client.build_request_body_batch(header_params, form_params, files_content)
|
128
|
+
part = ""
|
129
|
+
part.concat("PUT".force_encoding('UTF-8'))
|
130
|
+
part.concat(" ".force_encoding('UTF-8'))
|
131
|
+
part.concat(local_var_path.force_encoding('UTF-8'))
|
132
|
+
part.concat(" \r\n".force_encoding('UTF-8'))
|
133
|
+
|
134
|
+
header_params.each_pair {|key, value| part.concat(key.dup.force_encoding('UTF-8') , ": ".force_encoding('UTF-8'), value.dup.force_encoding('UTF-8'), "\r\n".force_encoding('UTF-8')) }
|
135
|
+
part.concat("\r\n".force_encoding('UTF-8'))
|
136
|
+
if body
|
137
|
+
if body.is_a?(Hash)
|
138
|
+
body.each do |key, value|
|
139
|
+
part.concat(value, "\r\n")
|
140
|
+
end
|
141
|
+
else
|
142
|
+
part.concat(body)
|
143
|
+
end
|
144
|
+
end
|
145
|
+
part
|
146
|
+
end
|
147
|
+
|
148
|
+
def create_http_request(api_client)
|
149
|
+
# verify the required parameter 'document' is set
|
150
|
+
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.sign_document_online' if api_client.config.client_side_validation && self.document.nil?
|
151
|
+
# verify the required parameter 'certificate_path' is set
|
152
|
+
raise ArgumentError, 'Missing the required parameter certificate_path when calling WordsApi.sign_document_online' if api_client.config.client_side_validation && self.certificate_path.nil?
|
153
|
+
# verify the required parameter 'certificate_password' is set
|
154
|
+
raise ArgumentError, 'Missing the required parameter certificate_password when calling WordsApi.sign_document_online' if api_client.config.client_side_validation && self.certificate_password.nil?
|
155
|
+
|
156
|
+
# resource path
|
157
|
+
local_var_path = '/words/online/post/signatures'[1..-1]
|
158
|
+
local_var_path = local_var_path.sub('//', '/')
|
159
|
+
|
160
|
+
# query parameters
|
161
|
+
query_params = {}
|
162
|
+
query_params[downcase_first_letter('CertificatePath')] = self.certificate_path
|
163
|
+
query_params[downcase_first_letter('CertificatePassword')] = self.certificate_password
|
164
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
165
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
166
|
+
query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
|
167
|
+
query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
|
168
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
169
|
+
|
170
|
+
# header parameters
|
171
|
+
header_params = {}
|
172
|
+
# HTTP header 'Content-Type'
|
173
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
174
|
+
|
175
|
+
# form parameters
|
176
|
+
form_params = []
|
177
|
+
files_content = []
|
178
|
+
if self.document.nil?
|
179
|
+
raise "Parameter Document is required."
|
180
|
+
end
|
181
|
+
unless self.document.nil?
|
182
|
+
form_params.push({:'Name' => 'document', :'Data' => self.document, :'MimeType' =>'application/octet-stream'})
|
183
|
+
end
|
184
|
+
|
185
|
+
body = api_client.build_request_body(header_params, form_params, files_content)
|
186
|
+
{
|
187
|
+
'method': :PUT,
|
188
|
+
'path': local_var_path,
|
189
|
+
'header_params': header_params,
|
190
|
+
'query_params': query_params,
|
191
|
+
'body': body,
|
192
|
+
'auth_names': ['JWT']
|
193
|
+
}
|
194
|
+
end
|
195
|
+
|
196
|
+
#
|
197
|
+
# Helper method to convert first letter to downcase
|
198
|
+
#
|
199
|
+
def downcase_first_letter(str)
|
200
|
+
str[0].downcase + str[1..-1]
|
201
|
+
end
|
202
|
+
|
203
|
+
# Get response type
|
204
|
+
def get_response_type
|
205
|
+
'SignDocumentOnlineResponse'
|
206
|
+
end
|
207
|
+
end
|
208
|
+
end
|
@@ -0,0 +1,207 @@
|
|
1
|
+
# ------------------------------------------------------------------------------------
|
2
|
+
# <copyright company="Aspose" file="sign_document_request.rb">
|
3
|
+
# Copyright (c) 2024 Aspose.Words for Cloud
|
4
|
+
# </copyright>
|
5
|
+
# <summary>
|
6
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
+
# of this software and associated documentation files (the "Software"), to deal
|
8
|
+
# in the Software without restriction, including without limitation the rights
|
9
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
|
+
# copies of the Software, and to permit persons to whom the Software is
|
11
|
+
# furnished to do so, subject to the following conditions:
|
12
|
+
#
|
13
|
+
# The above copyright notice and this permission notice shall be included in all
|
14
|
+
# copies or substantial portions of the Software.
|
15
|
+
#
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
22
|
+
# SOFTWARE.
|
23
|
+
# </summary>
|
24
|
+
# ------------------------------------------------------------------------------------
|
25
|
+
|
26
|
+
module AsposeWordsCloud
|
27
|
+
|
28
|
+
#
|
29
|
+
# Request model for sign_document operation.
|
30
|
+
#
|
31
|
+
class SignDocumentRequest
|
32
|
+
# Name of the document to sign.
|
33
|
+
attr_accessor :name
|
34
|
+
|
35
|
+
# certifate file path.
|
36
|
+
attr_accessor :certificate_path
|
37
|
+
|
38
|
+
# certificate password.
|
39
|
+
attr_accessor :certificate_password
|
40
|
+
|
41
|
+
# Original document folder.
|
42
|
+
attr_accessor :folder
|
43
|
+
|
44
|
+
# Original document storage.
|
45
|
+
attr_accessor :storage
|
46
|
+
|
47
|
+
# Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
48
|
+
attr_accessor :load_encoding
|
49
|
+
|
50
|
+
# Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
|
51
|
+
attr_accessor :password
|
52
|
+
|
53
|
+
# Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
|
54
|
+
attr_accessor :encrypted_password
|
55
|
+
|
56
|
+
# The value indicates whether OpenType support is on.
|
57
|
+
attr_accessor :open_type_support
|
58
|
+
|
59
|
+
# Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
|
60
|
+
attr_accessor :dest_file_name
|
61
|
+
|
62
|
+
#
|
63
|
+
# Initializes a new instance.
|
64
|
+
# @param name Name of the document to sign.
|
65
|
+
# @param certificate_path certifate file path.
|
66
|
+
# @param certificate_password certificate password.
|
67
|
+
# @param folder Original document folder.
|
68
|
+
# @param storage Original document storage.
|
69
|
+
# @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
|
70
|
+
# @param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
|
71
|
+
# @param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
|
72
|
+
# @param open_type_support The value indicates whether OpenType support is on.
|
73
|
+
# @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
|
74
|
+
|
75
|
+
def initialize(name:, certificate_path:, certificate_password:, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil, dest_file_name: nil)
|
76
|
+
self.name = name
|
77
|
+
self.certificate_path = certificate_path
|
78
|
+
self.certificate_password = certificate_password
|
79
|
+
self.folder = folder
|
80
|
+
self.storage = storage
|
81
|
+
self.load_encoding = load_encoding
|
82
|
+
self.password = password
|
83
|
+
self.encrypted_password = encrypted_password
|
84
|
+
self.open_type_support = open_type_support
|
85
|
+
self.dest_file_name = dest_file_name
|
86
|
+
end
|
87
|
+
|
88
|
+
# Creating batch part from request
|
89
|
+
def to_batch_part(api_client, requestId, parentRequestId = nil)
|
90
|
+
# verify the required parameter 'name' is set
|
91
|
+
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.sign_document' if api_client.config.client_side_validation && self.name.nil?
|
92
|
+
# verify the required parameter 'certificate_path' is set
|
93
|
+
raise ArgumentError, 'Missing the required parameter certificate_path when calling WordsApi.sign_document' if api_client.config.client_side_validation && self.certificate_path.nil?
|
94
|
+
# verify the required parameter 'certificate_password' is set
|
95
|
+
raise ArgumentError, 'Missing the required parameter certificate_password when calling WordsApi.sign_document' if api_client.config.client_side_validation && self.certificate_password.nil?
|
96
|
+
|
97
|
+
# resource path
|
98
|
+
local_var_path = '/words/{name}/signatures'[7..-1]
|
99
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
|
100
|
+
local_var_path = local_var_path.sub('//', '/')
|
101
|
+
|
102
|
+
# query parameters
|
103
|
+
query_params = {}
|
104
|
+
query_params[downcase_first_letter('CertificatePath')] = self.certificate_path
|
105
|
+
query_params[downcase_first_letter('CertificatePassword')] = self.certificate_password
|
106
|
+
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
107
|
+
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
108
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
109
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
110
|
+
query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
|
111
|
+
query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
|
112
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
113
|
+
|
114
|
+
if query_params
|
115
|
+
query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
|
116
|
+
end
|
117
|
+
|
118
|
+
header_params = {}
|
119
|
+
header_params['RequestId'] = requestId
|
120
|
+
|
121
|
+
if parentRequestId != nil
|
122
|
+
header_params['DependsOn'] = parentRequestId
|
123
|
+
end
|
124
|
+
|
125
|
+
# form parameters
|
126
|
+
form_params = []
|
127
|
+
files_content = []
|
128
|
+
|
129
|
+
# http body (model)
|
130
|
+
body = api_client.build_request_body_batch(header_params, form_params, files_content)
|
131
|
+
part = ""
|
132
|
+
part.concat("POST".force_encoding('UTF-8'))
|
133
|
+
part.concat(" ".force_encoding('UTF-8'))
|
134
|
+
part.concat(local_var_path.force_encoding('UTF-8'))
|
135
|
+
part.concat(" \r\n".force_encoding('UTF-8'))
|
136
|
+
|
137
|
+
header_params.each_pair {|key, value| part.concat(key.dup.force_encoding('UTF-8') , ": ".force_encoding('UTF-8'), value.dup.force_encoding('UTF-8'), "\r\n".force_encoding('UTF-8')) }
|
138
|
+
part.concat("\r\n".force_encoding('UTF-8'))
|
139
|
+
if body
|
140
|
+
if body.is_a?(Hash)
|
141
|
+
body.each do |key, value|
|
142
|
+
part.concat(value, "\r\n")
|
143
|
+
end
|
144
|
+
else
|
145
|
+
part.concat(body)
|
146
|
+
end
|
147
|
+
end
|
148
|
+
part
|
149
|
+
end
|
150
|
+
|
151
|
+
def create_http_request(api_client)
|
152
|
+
# verify the required parameter 'name' is set
|
153
|
+
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.sign_document' if api_client.config.client_side_validation && self.name.nil?
|
154
|
+
# verify the required parameter 'certificate_path' is set
|
155
|
+
raise ArgumentError, 'Missing the required parameter certificate_path when calling WordsApi.sign_document' if api_client.config.client_side_validation && self.certificate_path.nil?
|
156
|
+
# verify the required parameter 'certificate_password' is set
|
157
|
+
raise ArgumentError, 'Missing the required parameter certificate_password when calling WordsApi.sign_document' if api_client.config.client_side_validation && self.certificate_password.nil?
|
158
|
+
|
159
|
+
# resource path
|
160
|
+
local_var_path = '/words/{name}/signatures'[1..-1]
|
161
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
|
162
|
+
local_var_path = local_var_path.sub('//', '/')
|
163
|
+
|
164
|
+
# query parameters
|
165
|
+
query_params = {}
|
166
|
+
query_params[downcase_first_letter('CertificatePath')] = self.certificate_path
|
167
|
+
query_params[downcase_first_letter('CertificatePassword')] = self.certificate_password
|
168
|
+
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
169
|
+
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
170
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
171
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
172
|
+
query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
|
173
|
+
query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
|
174
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
175
|
+
|
176
|
+
# header parameters
|
177
|
+
header_params = {}
|
178
|
+
# HTTP header 'Content-Type'
|
179
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/xml', 'application/json'])
|
180
|
+
|
181
|
+
# form parameters
|
182
|
+
form_params = []
|
183
|
+
files_content = []
|
184
|
+
body = api_client.build_request_body(header_params, form_params, files_content)
|
185
|
+
{
|
186
|
+
'method': :POST,
|
187
|
+
'path': local_var_path,
|
188
|
+
'header_params': header_params,
|
189
|
+
'query_params': query_params,
|
190
|
+
'body': body,
|
191
|
+
'auth_names': ['JWT']
|
192
|
+
}
|
193
|
+
end
|
194
|
+
|
195
|
+
#
|
196
|
+
# Helper method to convert first letter to downcase
|
197
|
+
#
|
198
|
+
def downcase_first_letter(str)
|
199
|
+
str[0].downcase + str[1..-1]
|
200
|
+
end
|
201
|
+
|
202
|
+
# Get response type
|
203
|
+
def get_response_type
|
204
|
+
'SignatureCollectionResponse'
|
205
|
+
end
|
206
|
+
end
|
207
|
+
end
|