mailslurp_client 8.5.5 → 11.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/lib/mailslurp_client.rb +5 -0
- data/lib/mailslurp_client/api/alias_controller_api.rb +217 -0
- data/lib/mailslurp_client/api/common_actions_controller_api.rb +18 -0
- data/lib/mailslurp_client/api/email_controller_api.rb +2 -2
- data/lib/mailslurp_client/api/inbox_controller_api.rb +213 -14
- data/lib/mailslurp_client/models/contact_projection.rb +12 -1
- data/lib/mailslurp_client/models/create_inbox_dto.rb +29 -8
- data/lib/mailslurp_client/models/domain_dto.rb +15 -3
- data/lib/mailslurp_client/models/domain_name_record.rb +290 -0
- data/lib/mailslurp_client/models/expired_inbox_dto.rb +240 -0
- data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +253 -0
- data/lib/mailslurp_client/models/inbox.rb +7 -7
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +299 -0
- data/lib/mailslurp_client/models/reply_to_alias_email_options.rb +304 -0
- data/lib/mailslurp_client/models/reply_to_email_options.rb +11 -1
- data/lib/mailslurp_client/models/set_inbox_favourited_options.rb +1 -1
- data/lib/mailslurp_client/models/simple_send_email_options.rb +1 -1
- data/lib/mailslurp_client/models/update_inbox_options.rb +4 -4
- data/lib/mailslurp_client/version.rb +1 -1
- metadata +7 -2
@@ -24,6 +24,9 @@ module MailSlurpClient
|
|
24
24
|
# The charset that your message should be sent with. Optional. Default is UTF-8
|
25
25
|
attr_accessor :charset
|
26
26
|
|
27
|
+
# The from header that should be used. Optional
|
28
|
+
attr_accessor :from
|
29
|
+
|
27
30
|
# Is the reply HTML
|
28
31
|
attr_accessor :is_html
|
29
32
|
|
@@ -67,6 +70,7 @@ module MailSlurpClient
|
|
67
70
|
:'attachments' => :'attachments',
|
68
71
|
:'body' => :'body',
|
69
72
|
:'charset' => :'charset',
|
73
|
+
:'from' => :'from',
|
70
74
|
:'is_html' => :'isHTML',
|
71
75
|
:'reply_to' => :'replyTo',
|
72
76
|
:'send_strategy' => :'sendStrategy',
|
@@ -81,6 +85,7 @@ module MailSlurpClient
|
|
81
85
|
:'attachments' => :'Array<String>',
|
82
86
|
:'body' => :'String',
|
83
87
|
:'charset' => :'String',
|
88
|
+
:'from' => :'String',
|
84
89
|
:'is_html' => :'Boolean',
|
85
90
|
:'reply_to' => :'String',
|
86
91
|
:'send_strategy' => :'String',
|
@@ -124,6 +129,10 @@ module MailSlurpClient
|
|
124
129
|
self.charset = attributes[:'charset']
|
125
130
|
end
|
126
131
|
|
132
|
+
if attributes.key?(:'from')
|
133
|
+
self.from = attributes[:'from']
|
134
|
+
end
|
135
|
+
|
127
136
|
if attributes.key?(:'is_html')
|
128
137
|
self.is_html = attributes[:'is_html']
|
129
138
|
end
|
@@ -178,6 +187,7 @@ module MailSlurpClient
|
|
178
187
|
attachments == o.attachments &&
|
179
188
|
body == o.body &&
|
180
189
|
charset == o.charset &&
|
190
|
+
from == o.from &&
|
181
191
|
is_html == o.is_html &&
|
182
192
|
reply_to == o.reply_to &&
|
183
193
|
send_strategy == o.send_strategy &&
|
@@ -194,7 +204,7 @@ module MailSlurpClient
|
|
194
204
|
# Calculates hash code according to all attributes.
|
195
205
|
# @return [Integer] Hash code
|
196
206
|
def hash
|
197
|
-
[attachments, body, charset, is_html, reply_to, send_strategy, template, template_variables].hash
|
207
|
+
[attachments, body, charset, from, is_html, reply_to, send_strategy, template, template_variables].hash
|
198
208
|
end
|
199
209
|
|
200
210
|
# Builds the object from hash
|
@@ -15,7 +15,7 @@ require 'date'
|
|
15
15
|
module MailSlurpClient
|
16
16
|
# Options for setting inbox favourite state
|
17
17
|
class SetInboxFavouritedOptions
|
18
|
-
#
|
18
|
+
# Is the inbox favorited. Favouriting inboxes is typically done in the dashboard for quick access or filtering
|
19
19
|
attr_accessor :state
|
20
20
|
|
21
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -17,7 +17,7 @@ module MailSlurpClient
|
|
17
17
|
# Body of the email message. Supports HTML
|
18
18
|
attr_accessor :body
|
19
19
|
|
20
|
-
# ID of inbox to send from
|
20
|
+
# ID of inbox to send from. If null an inbox will be created for sending
|
21
21
|
attr_accessor :sender_id
|
22
22
|
|
23
23
|
# Subject line of the email
|
@@ -15,16 +15,16 @@ require 'date'
|
|
15
15
|
module MailSlurpClient
|
16
16
|
# Options for updating inbox properties
|
17
17
|
class UpdateInboxOptions
|
18
|
-
#
|
18
|
+
# Description of an inbox for labelling and searching purposes
|
19
19
|
attr_accessor :description
|
20
20
|
|
21
|
-
# When, if ever,
|
21
|
+
# Inbox expiration time. When, if ever, the inbox should expire and be deleted. If null then this inbox is permanent and the emails in it won't be deleted. This is the default behavior unless expiration date is set. If an expiration date is set and the time is reached MailSlurp will expire the inbox and move it to an expired inbox entity. You can still access the emails belonging to it but it can no longer send or receive email.
|
22
22
|
attr_accessor :expires_at
|
23
23
|
|
24
|
-
# Is the inbox favorited. Favouriting inboxes is typically done in the dashboard for quick access
|
24
|
+
# Is the inbox favorited. Favouriting inboxes is typically done in the dashboard for quick access or filtering
|
25
25
|
attr_accessor :favourite
|
26
26
|
|
27
|
-
#
|
27
|
+
# Name of the inbox. Displayed in the dashboard for easier search
|
28
28
|
attr_accessor :name
|
29
29
|
|
30
30
|
# Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI.
|
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:
|
4
|
+
version: 11.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mailslurp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-10 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.
|
@@ -62,6 +62,7 @@ files:
|
|
62
62
|
- lib/mailslurp_client/models/dns_lookup_result.rb
|
63
63
|
- lib/mailslurp_client/models/dns_lookup_results.rb
|
64
64
|
- lib/mailslurp_client/models/domain_dto.rb
|
65
|
+
- lib/mailslurp_client/models/domain_name_record.rb
|
65
66
|
- lib/mailslurp_client/models/domain_preview.rb
|
66
67
|
- lib/mailslurp_client/models/download_attachment_dto.rb
|
67
68
|
- lib/mailslurp_client/models/email.rb
|
@@ -70,6 +71,8 @@ files:
|
|
70
71
|
- lib/mailslurp_client/models/email_preview.rb
|
71
72
|
- lib/mailslurp_client/models/email_projection.rb
|
72
73
|
- lib/mailslurp_client/models/email_verification_result.rb
|
74
|
+
- lib/mailslurp_client/models/expired_inbox_dto.rb
|
75
|
+
- lib/mailslurp_client/models/expired_inbox_record_projection.rb
|
73
76
|
- lib/mailslurp_client/models/forward_email_options.rb
|
74
77
|
- lib/mailslurp_client/models/group_contacts_dto.rb
|
75
78
|
- lib/mailslurp_client/models/group_dto.rb
|
@@ -86,6 +89,7 @@ files:
|
|
86
89
|
- lib/mailslurp_client/models/page_contact_projection.rb
|
87
90
|
- lib/mailslurp_client/models/page_email_preview.rb
|
88
91
|
- lib/mailslurp_client/models/page_email_projection.rb
|
92
|
+
- lib/mailslurp_client/models/page_expired_inbox_record_projection.rb
|
89
93
|
- lib/mailslurp_client/models/page_group_projection.rb
|
90
94
|
- lib/mailslurp_client/models/page_inbox_projection.rb
|
91
95
|
- lib/mailslurp_client/models/page_sent_email_projection.rb
|
@@ -94,6 +98,7 @@ files:
|
|
94
98
|
- lib/mailslurp_client/models/page_webhook_projection.rb
|
95
99
|
- lib/mailslurp_client/models/pageable.rb
|
96
100
|
- lib/mailslurp_client/models/raw_email_json.rb
|
101
|
+
- lib/mailslurp_client/models/reply_to_alias_email_options.rb
|
97
102
|
- lib/mailslurp_client/models/reply_to_email_options.rb
|
98
103
|
- lib/mailslurp_client/models/send_email_options.rb
|
99
104
|
- lib/mailslurp_client/models/sent_email_dto.rb
|