mailslurp_client 11.1.1 → 11.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4ab99cf6e32e9b983aba0a4af539dc48d6ec35dfed539ef5c4c32c859bc8d09
4
- data.tar.gz: 22c979df15e3c0c7fae1ec784b872104d8f72cc7e83094640ecd49adcf5c03ba
3
+ metadata.gz: d7543e13e59b4a636960220f48bf43983f010598909a66d4ec352b7205c90959
4
+ data.tar.gz: e1406a7389d3a95cfa3a4158e293d114c63c4b5b3945b35be85121ecc29ff60a
5
5
  SHA512:
6
- metadata.gz: 512ea12d39289c7404a0ef94b0a34d81969c05efd2c7a1c986be0c1aeb86960dffe6f7d3edaf6db6c796fb36bd12dd70900df1b78307b77d099a58b702b8f95d
7
- data.tar.gz: 8103ac2eaae0f5281d7f625578676ce8505c3c392266ba6ca6dcb19375c4cba192200a1a0489e91fa703c65bb81c430dbecc51d373c7cc407993da75dcaf5980
6
+ metadata.gz: d1134ebb53b4db927a34119f99b0b33dd05ce005cc3fd64962724dd28633b8b76961757b2180aecd543889e1cea0b30fcf7a1299f60436ad11eee49ea604709d
7
+ data.tar.gz: 17a077d87af88da2fd93b2930fd1b3c4ad824f4f5ee1709b3df4ef5a474f0b305a14a2d8b209f415c734da4700f9e2f4d9063b9aa35aa4e426559bb49a49ccbb
@@ -696,7 +696,7 @@ module MailSlurpClient
696
696
  fail ArgumentError, "Missing the required parameter 'email_id' when calling EmailControllerApi.get_email_html_query"
697
697
  end
698
698
  # resource path
699
- local_var_path = '/emails/{emailId}/html-query'.sub('{' + 'emailId' + '}', CGI.escape(email_id.to_s))
699
+ local_var_path = '/emails/{emailId}/htmlQuery'.sub('{' + 'emailId' + '}', CGI.escape(email_id.to_s))
700
700
 
701
701
  # query parameters
702
702
  query_params = opts[:query_params] || {}
@@ -728,7 +728,7 @@ module MailSlurpClient
728
728
  :return_type => return_type
729
729
  )
730
730
 
731
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
731
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
732
732
  if @api_client.config.debugging
733
733
  @api_client.config.logger.debug "API called: EmailControllerApi#get_email_html_query\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
734
734
  end
@@ -740,6 +740,7 @@ module MailSlurpClient
740
740
  # @param email_id [String] ID of email to fetch text for
741
741
  # @param [Hash] opts the optional parameters
742
742
  # @option opts [Boolean] :decode_html_entities Decode HTML entities
743
+ # @option opts [String] :line_separator Line separator character
743
744
  # @return [EmailTextLinesResult]
744
745
  def get_email_text_lines(email_id, opts = {})
745
746
  data, _status_code, _headers = get_email_text_lines_with_http_info(email_id, opts)
@@ -751,6 +752,7 @@ module MailSlurpClient
751
752
  # @param email_id [String] ID of email to fetch text for
752
753
  # @param [Hash] opts the optional parameters
753
754
  # @option opts [Boolean] :decode_html_entities Decode HTML entities
755
+ # @option opts [String] :line_separator Line separator character
754
756
  # @return [Array<(EmailTextLinesResult, Integer, Hash)>] EmailTextLinesResult data, response status code and response headers
755
757
  def get_email_text_lines_with_http_info(email_id, opts = {})
756
758
  if @api_client.config.debugging
@@ -761,11 +763,12 @@ module MailSlurpClient
761
763
  fail ArgumentError, "Missing the required parameter 'email_id' when calling EmailControllerApi.get_email_text_lines"
762
764
  end
763
765
  # resource path
764
- local_var_path = '/emails/{emailId}/text'.sub('{' + 'emailId' + '}', CGI.escape(email_id.to_s))
766
+ local_var_path = '/emails/{emailId}/textLines'.sub('{' + 'emailId' + '}', CGI.escape(email_id.to_s))
765
767
 
766
768
  # query parameters
767
769
  query_params = opts[:query_params] || {}
768
770
  query_params[:'decodeHtmlEntities'] = opts[:'decode_html_entities'] if !opts[:'decode_html_entities'].nil?
771
+ query_params[:'lineSeparator'] = opts[:'line_separator'] if !opts[:'line_separator'].nil?
769
772
 
770
773
  # header parameters
771
774
  header_params = opts[:header_params] || {}
@@ -793,7 +796,7 @@ module MailSlurpClient
793
796
  :return_type => return_type
794
797
  )
795
798
 
796
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
799
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
797
800
  if @api_client.config.debugging
798
801
  @api_client.config.logger.debug "API called: EmailControllerApi#get_email_text_lines\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
799
802
  end
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module MailSlurpClient
14
- VERSION = '11.1.1'
14
+ VERSION = '11.2.0'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailslurp_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.1.1
4
+ version: 11.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - mailslurp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-15 00:00:00.000000000 Z
11
+ date: 2021-01-16 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Create emails addresses in Ruby then send and receive real emails and
14
14
  attachments. See https://www.mailslurp.com/docs/ruby/ for full Ruby documentation.