mailslurp_client 8.6.0 → 8.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8497a08a1851b06515595e2e5ed8fb1a8d4d2f6cf093eaf64b354182b485b114
|
4
|
+
data.tar.gz: 516eb44fb260b3087a65f7eabf9c9f878e4b700c79ae7ffa7840bcc56e915c55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 507f9406c71b15f46c4876f4300053aff58f930a00d30c4992f369e07090fce6490a2a634b07bb81bf4cf0e8174568bfe0e76cad00934e486ad1e4785fd0760d
|
7
|
+
data.tar.gz: 621193494b37352ea2da7d421f5da156551ba8e2d102418e2f41d10e8b0a8967f10b6370c9b2cb4d749e8acdd6b341ccd19a70bbe0383d8c9111875ed57d1386
|
@@ -429,8 +429,8 @@ module MailSlurpClient
|
|
429
429
|
# @param reply_to_alias_email_options [ReplyToAliasEmailOptions] replyToAliasEmailOptions
|
430
430
|
# @param [Hash] opts the optional parameters
|
431
431
|
# @return [SentEmailDto]
|
432
|
-
def
|
433
|
-
data, _status_code, _headers =
|
432
|
+
def reply_to_alias_email(alias_id, email_id, reply_to_alias_email_options, opts = {})
|
433
|
+
data, _status_code, _headers = reply_to_alias_email_with_http_info(alias_id, email_id, reply_to_alias_email_options, opts)
|
434
434
|
data
|
435
435
|
end
|
436
436
|
|
@@ -441,21 +441,21 @@ module MailSlurpClient
|
|
441
441
|
# @param reply_to_alias_email_options [ReplyToAliasEmailOptions] replyToAliasEmailOptions
|
442
442
|
# @param [Hash] opts the optional parameters
|
443
443
|
# @return [Array<(SentEmailDto, Integer, Hash)>] SentEmailDto data, response status code and response headers
|
444
|
-
def
|
444
|
+
def reply_to_alias_email_with_http_info(alias_id, email_id, reply_to_alias_email_options, opts = {})
|
445
445
|
if @api_client.config.debugging
|
446
|
-
@api_client.config.logger.debug 'Calling API: AliasControllerApi.
|
446
|
+
@api_client.config.logger.debug 'Calling API: AliasControllerApi.reply_to_alias_email ...'
|
447
447
|
end
|
448
448
|
# verify the required parameter 'alias_id' is set
|
449
449
|
if @api_client.config.client_side_validation && alias_id.nil?
|
450
|
-
fail ArgumentError, "Missing the required parameter 'alias_id' when calling AliasControllerApi.
|
450
|
+
fail ArgumentError, "Missing the required parameter 'alias_id' when calling AliasControllerApi.reply_to_alias_email"
|
451
451
|
end
|
452
452
|
# verify the required parameter 'email_id' is set
|
453
453
|
if @api_client.config.client_side_validation && email_id.nil?
|
454
|
-
fail ArgumentError, "Missing the required parameter 'email_id' when calling AliasControllerApi.
|
454
|
+
fail ArgumentError, "Missing the required parameter 'email_id' when calling AliasControllerApi.reply_to_alias_email"
|
455
455
|
end
|
456
456
|
# verify the required parameter 'reply_to_alias_email_options' is set
|
457
457
|
if @api_client.config.client_side_validation && reply_to_alias_email_options.nil?
|
458
|
-
fail ArgumentError, "Missing the required parameter 'reply_to_alias_email_options' when calling AliasControllerApi.
|
458
|
+
fail ArgumentError, "Missing the required parameter 'reply_to_alias_email_options' when calling AliasControllerApi.reply_to_alias_email"
|
459
459
|
end
|
460
460
|
# resource path
|
461
461
|
local_var_path = '/aliases/{aliasId}/emails/{emailId}'.sub('{' + 'aliasId' + '}', CGI.escape(alias_id.to_s)).sub('{' + 'emailId' + '}', CGI.escape(email_id.to_s))
|
@@ -493,7 +493,7 @@ module MailSlurpClient
|
|
493
493
|
|
494
494
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
495
495
|
if @api_client.config.debugging
|
496
|
-
@api_client.config.logger.debug "API called: AliasControllerApi#
|
496
|
+
@api_client.config.logger.debug "API called: AliasControllerApi#reply_to_alias_email\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
497
497
|
end
|
498
498
|
return data, status_code, headers
|
499
499
|
end
|
@@ -931,8 +931,8 @@ module MailSlurpClient
|
|
931
931
|
# @param reply_to_email_options [ReplyToEmailOptions] replyToEmailOptions
|
932
932
|
# @param [Hash] opts the optional parameters
|
933
933
|
# @return [SentEmailDto]
|
934
|
-
def
|
935
|
-
data, _status_code, _headers =
|
934
|
+
def reply_to_email(email_id, reply_to_email_options, opts = {})
|
935
|
+
data, _status_code, _headers = reply_to_email_with_http_info(email_id, reply_to_email_options, opts)
|
936
936
|
data
|
937
937
|
end
|
938
938
|
|
@@ -942,17 +942,17 @@ module MailSlurpClient
|
|
942
942
|
# @param reply_to_email_options [ReplyToEmailOptions] replyToEmailOptions
|
943
943
|
# @param [Hash] opts the optional parameters
|
944
944
|
# @return [Array<(SentEmailDto, Integer, Hash)>] SentEmailDto data, response status code and response headers
|
945
|
-
def
|
945
|
+
def reply_to_email_with_http_info(email_id, reply_to_email_options, opts = {})
|
946
946
|
if @api_client.config.debugging
|
947
|
-
@api_client.config.logger.debug 'Calling API: EmailControllerApi.
|
947
|
+
@api_client.config.logger.debug 'Calling API: EmailControllerApi.reply_to_email ...'
|
948
948
|
end
|
949
949
|
# verify the required parameter 'email_id' is set
|
950
950
|
if @api_client.config.client_side_validation && email_id.nil?
|
951
|
-
fail ArgumentError, "Missing the required parameter 'email_id' when calling EmailControllerApi.
|
951
|
+
fail ArgumentError, "Missing the required parameter 'email_id' when calling EmailControllerApi.reply_to_email"
|
952
952
|
end
|
953
953
|
# verify the required parameter 'reply_to_email_options' is set
|
954
954
|
if @api_client.config.client_side_validation && reply_to_email_options.nil?
|
955
|
-
fail ArgumentError, "Missing the required parameter 'reply_to_email_options' when calling EmailControllerApi.
|
955
|
+
fail ArgumentError, "Missing the required parameter 'reply_to_email_options' when calling EmailControllerApi.reply_to_email"
|
956
956
|
end
|
957
957
|
# resource path
|
958
958
|
local_var_path = '/emails/{emailId}'.sub('{' + 'emailId' + '}', CGI.escape(email_id.to_s))
|
@@ -990,7 +990,7 @@ module MailSlurpClient
|
|
990
990
|
|
991
991
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
992
992
|
if @api_client.config.debugging
|
993
|
-
@api_client.config.logger.debug "API called: EmailControllerApi#
|
993
|
+
@api_client.config.logger.debug "API called: EmailControllerApi#reply_to_email\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
994
994
|
end
|
995
995
|
return data, status_code, headers
|
996
996
|
end
|