aspose_pdf_cloud 24.9.0 → 24.11.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -6893,6 +6893,87 @@ module AsposePdfCloud
6893
6893
  return data, status_code, headers
6894
6894
  end
6895
6895
 
6896
+ # Extract SVG images from document page.
6897
+ #
6898
+ # @param name The document name.
6899
+ # @param page_number The page number.
6900
+ # @param [Hash] opts the optional parameters
6901
+ # @option opts [String] :storage The document storage.
6902
+ # @option opts [String] :folder The document folder.
6903
+ # @option opts [String] :pass_base64 The password (Base64).
6904
+ # @return [SvgImages]
6905
+ def get_images_extract_svg(name, page_number, opts = {})
6906
+ @api_client.request_token_if_needed
6907
+ data, _status_code, _headers = get_images_extract_svg_with_http_info(name, page_number, opts)
6908
+ rescue ApiError => error
6909
+ if error.code == 401
6910
+ @api_client.request_token_if_needed
6911
+ data, _status_code, _headers = get_images_extract_svg_with_http_info(name, page_number, opts)
6912
+ else
6913
+ raise
6914
+ end
6915
+ return data
6916
+ end
6917
+
6918
+ # Extract SVG images from document page.
6919
+ #
6920
+ # @param name The document name.
6921
+ # @param page_number The page number.
6922
+ # @param [Hash] opts the optional parameters
6923
+ # @option opts [String] :storage The document storage.
6924
+ # @option opts [String] :folder The document folder.
6925
+ # @option opts [String] :pass_base64 The password (Base64).
6926
+ # @return [Array<(SvgImages, Fixnum, Hash)>] SvgImages data, response status code and response headers
6927
+ def get_images_extract_svg_with_http_info(name, page_number, opts = {})
6928
+ if @api_client.config.debugging
6929
+ @api_client.config.logger.debug "Calling API: PdfApi.get_images_extract_svg ..."
6930
+ end
6931
+ # verify the required parameter 'name' is set
6932
+ if @api_client.config.client_side_validation && name.nil?
6933
+ fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.get_images_extract_svg"
6934
+ end
6935
+ # verify the required parameter 'page_number' is set
6936
+ if @api_client.config.client_side_validation && page_number.nil?
6937
+ fail ArgumentError, "Missing the required parameter 'page_number' when calling PdfApi.get_images_extract_svg"
6938
+ end
6939
+ # resource path
6940
+ local_var_path = "/pdf/{name}/pages/{pageNumber}/images/extract/svg".sub('{' + 'name' + '}', name.to_s).sub('{' + 'pageNumber' + '}', page_number.to_s)
6941
+
6942
+ # query parameters
6943
+ query_params = {}
6944
+ query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
6945
+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
6946
+ query_params[:'passBase64'] = opts[:'pass_base64'] if !opts[:'pass_base64'].nil?
6947
+
6948
+ # header parameters
6949
+ header_params = {}
6950
+ # HTTP header 'Accept' (if needed)
6951
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
6952
+ # HTTP header 'Content-Type'
6953
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
6954
+
6955
+ # form parameters
6956
+ form_params = {}
6957
+ # Fix header in file
6958
+ post_body = nil
6959
+
6960
+ # http body (model)
6961
+ # Fix header in file
6962
+ # post_body = nil
6963
+ auth_names = ['JWT']
6964
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
6965
+ :header_params => header_params,
6966
+ :query_params => query_params,
6967
+ :form_params => form_params,
6968
+ :body => post_body,
6969
+ :auth_names => auth_names,
6970
+ :return_type => 'SvgImages')
6971
+ if @api_client.config.debugging
6972
+ @api_client.config.logger.debug "API called: PdfApi#get_images_extract_svg\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
6973
+ end
6974
+ return data, status_code, headers
6975
+ end
6976
+
6896
6977
  # Update fields from FDF file in storage.
6897
6978
  #
6898
6979
  # @param name The document name.
@@ -10533,7 +10614,7 @@ module AsposePdfCloud
10533
10614
  query_params[:'LLY'] = lly
10534
10615
  query_params[:'URX'] = urx
10535
10616
  query_params[:'URY'] = ury
10536
- query_params[:'format'] = @api_client.build_collection_param(opts[:'format'], :csv) if !opts[:'format'].nil?
10617
+ query_params[:'format'] = @api_client.build_collection_param(opts[:'format'], :multi) if !opts[:'format'].nil?
10537
10618
  query_params[:'regex'] = opts[:'regex'] if !opts[:'regex'].nil?
10538
10619
  query_params[:'splitRects'] = opts[:'split_rects'] if !opts[:'split_rects'].nil?
10539
10620
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
@@ -11073,8 +11154,8 @@ module AsposePdfCloud
11073
11154
  if @api_client.config.client_side_validation && opts[:'format'] && !['Doc', 'DocX'].include?(opts[:'format'])
11074
11155
  fail ArgumentError, 'invalid value for "format", must be one of Doc, DocX'
11075
11156
  end
11076
- if @api_client.config.client_side_validation && opts[:'mode'] && !['Textbox', 'Flow'].include?(opts[:'mode'])
11077
- fail ArgumentError, 'invalid value for "mode", must be one of Textbox, Flow'
11157
+ if @api_client.config.client_side_validation && opts[:'mode'] && !['Textbox', 'Flow', 'EnhancedFlow'].include?(opts[:'mode'])
11158
+ fail ArgumentError, 'invalid value for "mode", must be one of Textbox, Flow, EnhancedFlow'
11078
11159
  end
11079
11160
  # resource path
11080
11161
  local_var_path = "/pdf/{name}/convert/doc".sub('{' + 'name' + '}', name.to_s)
@@ -11336,7 +11417,7 @@ module AsposePdfCloud
11336
11417
  query_params[:'useZOrder'] = opts[:'use_z_order'] if !opts[:'use_z_order'].nil?
11337
11418
  query_params[:'antialiasingProcessing'] = opts[:'antialiasing_processing'] if !opts[:'antialiasing_processing'].nil?
11338
11419
  query_params[:'cssClassNamesPrefix'] = opts[:'css_class_names_prefix'] if !opts[:'css_class_names_prefix'].nil?
11339
- query_params[:'explicitListOfSavedPages'] = @api_client.build_collection_param(opts[:'explicit_list_of_saved_pages'], :csv) if !opts[:'explicit_list_of_saved_pages'].nil?
11420
+ query_params[:'explicitListOfSavedPages'] = @api_client.build_collection_param(opts[:'explicit_list_of_saved_pages'], :multi) if !opts[:'explicit_list_of_saved_pages'].nil?
11340
11421
  query_params[:'fontEncodingStrategy'] = opts[:'font_encoding_strategy'] if !opts[:'font_encoding_strategy'].nil?
11341
11422
  query_params[:'fontSavingMode'] = opts[:'font_saving_mode'] if !opts[:'font_saving_mode'].nil?
11342
11423
  query_params[:'htmlMarkupGenerationMode'] = opts[:'html_markup_generation_mode'] if !opts[:'html_markup_generation_mode'].nil?
@@ -13844,7 +13925,7 @@ module AsposePdfCloud
13844
13925
  query_params[:'LLY'] = lly
13845
13926
  query_params[:'URX'] = urx
13846
13927
  query_params[:'URY'] = ury
13847
- query_params[:'format'] = @api_client.build_collection_param(opts[:'format'], :csv) if !opts[:'format'].nil?
13928
+ query_params[:'format'] = @api_client.build_collection_param(opts[:'format'], :multi) if !opts[:'format'].nil?
13848
13929
  query_params[:'regex'] = opts[:'regex'] if !opts[:'regex'].nil?
13849
13930
  query_params[:'splitRects'] = opts[:'split_rects'] if !opts[:'split_rects'].nil?
13850
13931
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
@@ -14500,6 +14581,156 @@ module AsposePdfCloud
14500
14581
  return data, status_code, headers
14501
14582
  end
14502
14583
 
14584
+ # Gets document XMP Metadata as JSON.
14585
+ #
14586
+ # @param name The document name.
14587
+ # @param [Hash] opts the optional parameters
14588
+ # @option opts [String] :folder The document folder.
14589
+ # @option opts [String] :storage The document storage.
14590
+ # @option opts [String] :pass_base64 The password (Base64).
14591
+ # @return [XmpMetadata]
14592
+ def get_xmp_metadata_json(name, opts = {})
14593
+ @api_client.request_token_if_needed
14594
+ data, _status_code, _headers = get_xmp_metadata_json_with_http_info(name, opts)
14595
+ rescue ApiError => error
14596
+ if error.code == 401
14597
+ @api_client.request_token_if_needed
14598
+ data, _status_code, _headers = get_xmp_metadata_json_with_http_info(name, opts)
14599
+ else
14600
+ raise
14601
+ end
14602
+ return data
14603
+ end
14604
+
14605
+ # Gets document XMP Metadata as JSON.
14606
+ #
14607
+ # @param name The document name.
14608
+ # @param [Hash] opts the optional parameters
14609
+ # @option opts [String] :folder The document folder.
14610
+ # @option opts [String] :storage The document storage.
14611
+ # @option opts [String] :pass_base64 The password (Base64).
14612
+ # @return [Array<(XmpMetadata, Fixnum, Hash)>] XmpMetadata data, response status code and response headers
14613
+ def get_xmp_metadata_json_with_http_info(name, opts = {})
14614
+ if @api_client.config.debugging
14615
+ @api_client.config.logger.debug "Calling API: PdfApi.get_xmp_metadata_json ..."
14616
+ end
14617
+ # verify the required parameter 'name' is set
14618
+ if @api_client.config.client_side_validation && name.nil?
14619
+ fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.get_xmp_metadata_json"
14620
+ end
14621
+ # resource path
14622
+ local_var_path = "/pdf/{name}/xmpmetadata/json".sub('{' + 'name' + '}', name.to_s)
14623
+
14624
+ # query parameters
14625
+ query_params = {}
14626
+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
14627
+ query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
14628
+ query_params[:'passBase64'] = opts[:'pass_base64'] if !opts[:'pass_base64'].nil?
14629
+
14630
+ # header parameters
14631
+ header_params = {}
14632
+ # HTTP header 'Accept' (if needed)
14633
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
14634
+ # HTTP header 'Content-Type'
14635
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
14636
+
14637
+ # form parameters
14638
+ form_params = {}
14639
+ # Fix header in file
14640
+ post_body = nil
14641
+
14642
+ # http body (model)
14643
+ # Fix header in file
14644
+ # post_body = nil
14645
+ auth_names = ['JWT']
14646
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
14647
+ :header_params => header_params,
14648
+ :query_params => query_params,
14649
+ :form_params => form_params,
14650
+ :body => post_body,
14651
+ :auth_names => auth_names,
14652
+ :return_type => 'XmpMetadata')
14653
+ if @api_client.config.debugging
14654
+ @api_client.config.logger.debug "API called: PdfApi#get_xmp_metadata_json\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
14655
+ end
14656
+ return data, status_code, headers
14657
+ end
14658
+
14659
+ # Gets document XMP Metadata as XML file.
14660
+ #
14661
+ # @param name The document name.
14662
+ # @param [Hash] opts the optional parameters
14663
+ # @option opts [String] :folder The document folder.
14664
+ # @option opts [String] :storage The document storage.
14665
+ # @option opts [String] :pass_base64 The password (Base64).
14666
+ # @return [File]
14667
+ def get_xmp_metadata_xml(name, opts = {})
14668
+ @api_client.request_token_if_needed
14669
+ data, _status_code, _headers = get_xmp_metadata_xml_with_http_info(name, opts)
14670
+ rescue ApiError => error
14671
+ if error.code == 401
14672
+ @api_client.request_token_if_needed
14673
+ data, _status_code, _headers = get_xmp_metadata_xml_with_http_info(name, opts)
14674
+ else
14675
+ raise
14676
+ end
14677
+ return data
14678
+ end
14679
+
14680
+ # Gets document XMP Metadata as XML file.
14681
+ #
14682
+ # @param name The document name.
14683
+ # @param [Hash] opts the optional parameters
14684
+ # @option opts [String] :folder The document folder.
14685
+ # @option opts [String] :storage The document storage.
14686
+ # @option opts [String] :pass_base64 The password (Base64).
14687
+ # @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
14688
+ def get_xmp_metadata_xml_with_http_info(name, opts = {})
14689
+ if @api_client.config.debugging
14690
+ @api_client.config.logger.debug "Calling API: PdfApi.get_xmp_metadata_xml ..."
14691
+ end
14692
+ # verify the required parameter 'name' is set
14693
+ if @api_client.config.client_side_validation && name.nil?
14694
+ fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.get_xmp_metadata_xml"
14695
+ end
14696
+ # resource path
14697
+ local_var_path = "/pdf/{name}/xmpmetadata/xml".sub('{' + 'name' + '}', name.to_s)
14698
+
14699
+ # query parameters
14700
+ query_params = {}
14701
+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
14702
+ query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
14703
+ query_params[:'passBase64'] = opts[:'pass_base64'] if !opts[:'pass_base64'].nil?
14704
+
14705
+ # header parameters
14706
+ header_params = {}
14707
+ # HTTP header 'Accept' (if needed)
14708
+ header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
14709
+ # HTTP header 'Content-Type'
14710
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
14711
+
14712
+ # form parameters
14713
+ form_params = {}
14714
+ # Fix header in file
14715
+ post_body = nil
14716
+
14717
+ # http body (model)
14718
+ # Fix header in file
14719
+ # post_body = nil
14720
+ auth_names = ['JWT']
14721
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
14722
+ :header_params => header_params,
14723
+ :query_params => query_params,
14724
+ :form_params => form_params,
14725
+ :body => post_body,
14726
+ :auth_names => auth_names,
14727
+ :return_type => 'File')
14728
+ if @api_client.config.debugging
14729
+ @api_client.config.logger.debug "API called: PdfApi#get_xmp_metadata_xml\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
14730
+ end
14731
+ return data, status_code, headers
14732
+ end
14733
+
14503
14734
  # Convert XPS file (located on storage) to PDF format and return resulting file in response.
14504
14735
  #
14505
14736
  # @param src_path Full source filename (ex. /folder1/folder2/template.xps)
@@ -16330,7 +16561,7 @@ module AsposePdfCloud
16330
16561
  query_params[:'userPassword'] = user_password
16331
16562
  query_params[:'ownerPassword'] = owner_password
16332
16563
  query_params[:'cryptoAlgorithm'] = crypto_algorithm
16333
- query_params[:'permissionsFlags'] = @api_client.build_collection_param(opts[:'permissions_flags'], :csv) if !opts[:'permissions_flags'].nil?
16564
+ query_params[:'permissionsFlags'] = @api_client.build_collection_param(opts[:'permissions_flags'], :multi) if !opts[:'permissions_flags'].nil?
16334
16565
  query_params[:'usePdf20'] = opts[:'use_pdf20'] if !opts[:'use_pdf20'].nil?
16335
16566
  query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
16336
16567
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
@@ -20177,6 +20408,86 @@ module AsposePdfCloud
20177
20408
  return data, status_code, headers
20178
20409
  end
20179
20410
 
20411
+ # Add or remove XMP Metadata properties.
20412
+ #
20413
+ # @param name The document name.
20414
+ # @param metadata XmpMetadata instance.
20415
+ # @param [Hash] opts the optional parameters
20416
+ # @option opts [String] :folder The document folder.
20417
+ # @option opts [String] :storage The document storage.
20418
+ # @option opts [String] :pass_base64 The password (Base64).
20419
+ # @return [AsposeResponse]
20420
+ def post_xmp_metadata(name, metadata, opts = {})
20421
+ @api_client.request_token_if_needed
20422
+ data, _status_code, _headers = post_xmp_metadata_with_http_info(name, metadata, opts)
20423
+ rescue ApiError => error
20424
+ if error.code == 401
20425
+ @api_client.request_token_if_needed
20426
+ data, _status_code, _headers = post_xmp_metadata_with_http_info(name, metadata, opts)
20427
+ else
20428
+ raise
20429
+ end
20430
+ return data
20431
+ end
20432
+
20433
+ # Add or remove XMP Metadata properties.
20434
+ #
20435
+ # @param name The document name.
20436
+ # @param metadata XmpMetadata instance.
20437
+ # @param [Hash] opts the optional parameters
20438
+ # @option opts [String] :folder The document folder.
20439
+ # @option opts [String] :storage The document storage.
20440
+ # @option opts [String] :pass_base64 The password (Base64).
20441
+ # @return [Array<(AsposeResponse, Fixnum, Hash)>] AsposeResponse data, response status code and response headers
20442
+ def post_xmp_metadata_with_http_info(name, metadata, opts = {})
20443
+ if @api_client.config.debugging
20444
+ @api_client.config.logger.debug "Calling API: PdfApi.post_xmp_metadata ..."
20445
+ end
20446
+ # verify the required parameter 'name' is set
20447
+ if @api_client.config.client_side_validation && name.nil?
20448
+ fail ArgumentError, "Missing the required parameter 'name' when calling PdfApi.post_xmp_metadata"
20449
+ end
20450
+ # verify the required parameter 'metadata' is set
20451
+ if @api_client.config.client_side_validation && metadata.nil?
20452
+ fail ArgumentError, "Missing the required parameter 'metadata' when calling PdfApi.post_xmp_metadata"
20453
+ end
20454
+ # resource path
20455
+ local_var_path = "/pdf/{name}/xmpmetadata".sub('{' + 'name' + '}', name.to_s)
20456
+
20457
+ # query parameters
20458
+ query_params = {}
20459
+ query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
20460
+ query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
20461
+ query_params[:'passBase64'] = opts[:'pass_base64'] if !opts[:'pass_base64'].nil?
20462
+
20463
+ # header parameters
20464
+ header_params = {}
20465
+ # HTTP header 'Accept' (if needed)
20466
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
20467
+ # HTTP header 'Content-Type'
20468
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
20469
+
20470
+ # form parameters
20471
+ form_params = {}
20472
+ # Fix header in file
20473
+ post_body = nil
20474
+
20475
+ # http body (model)
20476
+ post_body = @api_client.object_to_http_body(metadata)
20477
+ auth_names = ['JWT']
20478
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
20479
+ :header_params => header_params,
20480
+ :query_params => query_params,
20481
+ :form_params => form_params,
20482
+ :body => post_body,
20483
+ :auth_names => auth_names,
20484
+ :return_type => 'AsposeResponse')
20485
+ if @api_client.config.debugging
20486
+ @api_client.config.logger.debug "API called: PdfApi#post_xmp_metadata\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
20487
+ end
20488
+ return data, status_code, headers
20489
+ end
20490
+
20180
20491
  # Add new page to end of the document.
20181
20492
  #
20182
20493
  # @param name The document name.
@@ -20380,7 +20691,7 @@ module AsposePdfCloud
20380
20691
  query_params = {}
20381
20692
  query_params[:'startPage'] = opts[:'start_page'] if !opts[:'start_page'].nil?
20382
20693
  query_params[:'endPage'] = opts[:'end_page'] if !opts[:'end_page'].nil?
20383
- query_params[:'annotationTypes'] = @api_client.build_collection_param(opts[:'annotation_types'], :csv) if !opts[:'annotation_types'].nil?
20694
+ query_params[:'annotationTypes'] = @api_client.build_collection_param(opts[:'annotation_types'], :multi) if !opts[:'annotation_types'].nil?
20384
20695
  query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
20385
20696
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
20386
20697
 
@@ -21322,7 +21633,7 @@ module AsposePdfCloud
21322
21633
  query_params[:'userPassword'] = user_password
21323
21634
  query_params[:'ownerPassword'] = owner_password
21324
21635
  query_params[:'cryptoAlgorithm'] = crypto_algorithm
21325
- query_params[:'permissionsFlags'] = @api_client.build_collection_param(opts[:'permissions_flags'], :csv) if !opts[:'permissions_flags'].nil?
21636
+ query_params[:'permissionsFlags'] = @api_client.build_collection_param(opts[:'permissions_flags'], :multi) if !opts[:'permissions_flags'].nil?
21326
21637
  query_params[:'usePdf20'] = opts[:'use_pdf20'] if !opts[:'use_pdf20'].nil?
21327
21638
  query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
21328
21639
 
@@ -24702,8 +25013,8 @@ module AsposePdfCloud
24702
25013
  if @api_client.config.client_side_validation && opts[:'format'] && !['Doc', 'DocX'].include?(opts[:'format'])
24703
25014
  fail ArgumentError, 'invalid value for "format", must be one of Doc, DocX'
24704
25015
  end
24705
- if @api_client.config.client_side_validation && opts[:'mode'] && !['Textbox', 'Flow'].include?(opts[:'mode'])
24706
- fail ArgumentError, 'invalid value for "mode", must be one of Textbox, Flow'
25016
+ if @api_client.config.client_side_validation && opts[:'mode'] && !['Textbox', 'Flow', 'EnhancedFlow'].include?(opts[:'mode'])
25017
+ fail ArgumentError, 'invalid value for "mode", must be one of Textbox, Flow, EnhancedFlow'
24707
25018
  end
24708
25019
  # resource path
24709
25020
  local_var_path = "/pdf/convert/doc"
@@ -24975,7 +25286,7 @@ module AsposePdfCloud
24975
25286
  query_params[:'useZOrder'] = opts[:'use_z_order'] if !opts[:'use_z_order'].nil?
24976
25287
  query_params[:'antialiasingProcessing'] = opts[:'antialiasing_processing'] if !opts[:'antialiasing_processing'].nil?
24977
25288
  query_params[:'cssClassNamesPrefix'] = opts[:'css_class_names_prefix'] if !opts[:'css_class_names_prefix'].nil?
24978
- query_params[:'explicitListOfSavedPages'] = @api_client.build_collection_param(opts[:'explicit_list_of_saved_pages'], :csv) if !opts[:'explicit_list_of_saved_pages'].nil?
25289
+ query_params[:'explicitListOfSavedPages'] = @api_client.build_collection_param(opts[:'explicit_list_of_saved_pages'], :multi) if !opts[:'explicit_list_of_saved_pages'].nil?
24979
25290
  query_params[:'fontEncodingStrategy'] = opts[:'font_encoding_strategy'] if !opts[:'font_encoding_strategy'].nil?
24980
25291
  query_params[:'fontSavingMode'] = opts[:'font_saving_mode'] if !opts[:'font_saving_mode'].nil?
24981
25292
  query_params[:'htmlMarkupGenerationMode'] = opts[:'html_markup_generation_mode'] if !opts[:'html_markup_generation_mode'].nil?
@@ -25936,8 +26247,8 @@ module AsposePdfCloud
25936
26247
  if @api_client.config.client_side_validation && opts[:'format'] && !['Doc', 'DocX'].include?(opts[:'format'])
25937
26248
  fail ArgumentError, 'invalid value for "format", must be one of Doc, DocX'
25938
26249
  end
25939
- if @api_client.config.client_side_validation && opts[:'mode'] && !['Textbox', 'Flow'].include?(opts[:'mode'])
25940
- fail ArgumentError, 'invalid value for "mode", must be one of Textbox, Flow'
26250
+ if @api_client.config.client_side_validation && opts[:'mode'] && !['Textbox', 'Flow', 'EnhancedFlow'].include?(opts[:'mode'])
26251
+ fail ArgumentError, 'invalid value for "mode", must be one of Textbox, Flow, EnhancedFlow'
25941
26252
  end
25942
26253
  # resource path
25943
26254
  local_var_path = "/pdf/{name}/convert/doc".sub('{' + 'name' + '}', name.to_s)
@@ -26219,7 +26530,7 @@ module AsposePdfCloud
26219
26530
  query_params[:'useZOrder'] = opts[:'use_z_order'] if !opts[:'use_z_order'].nil?
26220
26531
  query_params[:'antialiasingProcessing'] = opts[:'antialiasing_processing'] if !opts[:'antialiasing_processing'].nil?
26221
26532
  query_params[:'cssClassNamesPrefix'] = opts[:'css_class_names_prefix'] if !opts[:'css_class_names_prefix'].nil?
26222
- query_params[:'explicitListOfSavedPages'] = @api_client.build_collection_param(opts[:'explicit_list_of_saved_pages'], :csv) if !opts[:'explicit_list_of_saved_pages'].nil?
26533
+ query_params[:'explicitListOfSavedPages'] = @api_client.build_collection_param(opts[:'explicit_list_of_saved_pages'], :multi) if !opts[:'explicit_list_of_saved_pages'].nil?
26223
26534
  query_params[:'fontEncodingStrategy'] = opts[:'font_encoding_strategy'] if !opts[:'font_encoding_strategy'].nil?
26224
26535
  query_params[:'fontSavingMode'] = opts[:'font_saving_mode'] if !opts[:'font_saving_mode'].nil?
26225
26536
  query_params[:'htmlMarkupGenerationMode'] = opts[:'html_markup_generation_mode'] if !opts[:'html_markup_generation_mode'].nil?
@@ -27876,7 +28187,7 @@ module AsposePdfCloud
27876
28187
 
27877
28188
  # query parameters
27878
28189
  query_params = {}
27879
- query_params[:'imageIds'] = @api_client.build_collection_param(image_ids, :csv)
28190
+ query_params[:'imageIds'] = @api_client.build_collection_param(image_ids, :multi)
27880
28191
  query_params[:'imageFilePath'] = opts[:'image_file_path'] if !opts[:'image_file_path'].nil?
27881
28192
  query_params[:'storage'] = opts[:'storage'] if !opts[:'storage'].nil?
27882
28193
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
@@ -134,6 +134,7 @@ module AsposePdfCloud
134
134
  end
135
135
 
136
136
  conn = Faraday.new url, {:params => query_params, :headers => header_params} do |f|
137
+ f.options.params_encoder = Faraday::FlatParamsEncoder
137
138
  f.request :multipart
138
139
  f.request :url_encoded
139
140
  f.adapter Faraday.default_adapter
@@ -27,6 +27,7 @@ module AsposePdfCloud
27
27
 
28
28
  TEXTBOX = "Textbox".freeze
29
29
  FLOW = "Flow".freeze
30
+ ENHANCED_FLOW = "EnhancedFlow".freeze
30
31
 
31
32
  # Builds the enum from string
32
33
  # @param [String] The enum value in the form of the string