mailslurp_client 15.12.16 → 15.12.17
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 +4 -4
- data/lib/mailslurp_client/api/inbox_controller_api.rb +89 -0
- data/lib/mailslurp_client/api/sent_emails_controller_api.rb +83 -3
- data/lib/mailslurp_client/models/attachment_meta_data.rb +1 -1
- data/lib/mailslurp_client/models/attachment_projection.rb +14 -14
- data/lib/mailslurp_client/models/bounce_projection.rb +13 -13
- data/lib/mailslurp_client/models/bounce_recipient_projection.rb +13 -13
- data/lib/mailslurp_client/models/{delivery_status.rb → delivery_status_dto.rb} +18 -4
- data/lib/mailslurp_client/models/email.rb +11 -1
- data/lib/mailslurp_client/models/email_preview.rb +11 -1
- data/lib/mailslurp_client/models/email_projection.rb +40 -31
- data/lib/mailslurp_client/models/inbox_preview.rb +11 -1
- data/lib/mailslurp_client/models/missed_email_projection.rb +10 -10
- data/lib/mailslurp_client/models/organization_inbox_projection.rb +11 -1
- data/lib/mailslurp_client/models/page_alias.rb +19 -19
- data/lib/mailslurp_client/models/page_attachment_entity.rb +19 -19
- data/lib/mailslurp_client/models/page_bounced_email.rb +19 -19
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +19 -19
- data/lib/mailslurp_client/models/page_complaint.rb +19 -19
- data/lib/mailslurp_client/models/page_contact_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_delivery_status.rb +20 -20
- data/lib/mailslurp_client/models/page_email_preview.rb +19 -19
- data/lib/mailslurp_client/models/page_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_email_validation_request.rb +19 -19
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_group_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +19 -19
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_phone_number_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_sms_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_template_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_thread_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_webhook_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_webhook_result.rb +19 -19
- data/lib/mailslurp_client/models/sent_email_dto.rb +11 -1
- data/lib/mailslurp_client/models/sent_email_projection.rb +27 -27
- data/lib/mailslurp_client/models/sort.rb +13 -13
- data/lib/mailslurp_client/models/thread_projection.rb +11 -11
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
- data/lib/mailslurp_client/models/webhook_new_email_payload.rb +11 -1
- data/lib/mailslurp_client/version.rb +1 -1
- data/lib/mailslurp_client.rb +1 -1
- metadata +3 -3
@@ -21,15 +21,15 @@ module MailSlurpClient
|
|
21
21
|
# ID of email thread
|
22
22
|
attr_accessor :id
|
23
23
|
|
24
|
+
# Thread subject
|
25
|
+
attr_accessor :subject
|
26
|
+
|
24
27
|
# User ID
|
25
28
|
attr_accessor :user_id
|
26
29
|
|
27
30
|
# Inbox ID
|
28
31
|
attr_accessor :inbox_id
|
29
32
|
|
30
|
-
# Thread subject
|
31
|
-
attr_accessor :subject
|
32
|
-
|
33
33
|
# To recipients
|
34
34
|
attr_accessor :to
|
35
35
|
|
@@ -53,9 +53,9 @@ module MailSlurpClient
|
|
53
53
|
{
|
54
54
|
:'name' => :'name',
|
55
55
|
:'id' => :'id',
|
56
|
+
:'subject' => :'subject',
|
56
57
|
:'user_id' => :'userId',
|
57
58
|
:'inbox_id' => :'inboxId',
|
58
|
-
:'subject' => :'subject',
|
59
59
|
:'to' => :'to',
|
60
60
|
:'created_at' => :'createdAt',
|
61
61
|
:'updated_at' => :'updatedAt',
|
@@ -70,9 +70,9 @@ module MailSlurpClient
|
|
70
70
|
{
|
71
71
|
:'name' => :'String',
|
72
72
|
:'id' => :'String',
|
73
|
+
:'subject' => :'String',
|
73
74
|
:'user_id' => :'String',
|
74
75
|
:'inbox_id' => :'String',
|
75
|
-
:'subject' => :'String',
|
76
76
|
:'to' => :'Array<String>',
|
77
77
|
:'created_at' => :'DateTime',
|
78
78
|
:'updated_at' => :'DateTime',
|
@@ -111,6 +111,10 @@ module MailSlurpClient
|
|
111
111
|
self.id = attributes[:'id']
|
112
112
|
end
|
113
113
|
|
114
|
+
if attributes.key?(:'subject')
|
115
|
+
self.subject = attributes[:'subject']
|
116
|
+
end
|
117
|
+
|
114
118
|
if attributes.key?(:'user_id')
|
115
119
|
self.user_id = attributes[:'user_id']
|
116
120
|
end
|
@@ -119,10 +123,6 @@ module MailSlurpClient
|
|
119
123
|
self.inbox_id = attributes[:'inbox_id']
|
120
124
|
end
|
121
125
|
|
122
|
-
if attributes.key?(:'subject')
|
123
|
-
self.subject = attributes[:'subject']
|
124
|
-
end
|
125
|
-
|
126
126
|
if attributes.key?(:'to')
|
127
127
|
if (value = attributes[:'to']).is_a?(Array)
|
128
128
|
self.to = value
|
@@ -209,9 +209,9 @@ module MailSlurpClient
|
|
209
209
|
self.class == o.class &&
|
210
210
|
name == o.name &&
|
211
211
|
id == o.id &&
|
212
|
+
subject == o.subject &&
|
212
213
|
user_id == o.user_id &&
|
213
214
|
inbox_id == o.inbox_id &&
|
214
|
-
subject == o.subject &&
|
215
215
|
to == o.to &&
|
216
216
|
created_at == o.created_at &&
|
217
217
|
updated_at == o.updated_at &&
|
@@ -229,7 +229,7 @@ module MailSlurpClient
|
|
229
229
|
# Calculates hash code according to all attributes.
|
230
230
|
# @return [Integer] Hash code
|
231
231
|
def hash
|
232
|
-
[name, id, user_id, inbox_id,
|
232
|
+
[name, id, subject, user_id, inbox_id, to, created_at, updated_at, bcc, cc, alias_id].hash
|
233
233
|
end
|
234
234
|
|
235
235
|
# Builds the object from hash
|
@@ -27,10 +27,10 @@ module MailSlurpClient
|
|
27
27
|
|
28
28
|
attr_accessor :created_at
|
29
29
|
|
30
|
-
attr_accessor :recipient
|
31
|
-
|
32
30
|
attr_accessor :seen
|
33
31
|
|
32
|
+
attr_accessor :recipient
|
33
|
+
|
34
34
|
attr_accessor :seen_at
|
35
35
|
|
36
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -42,8 +42,8 @@ module MailSlurpClient
|
|
42
42
|
:'inbox_id' => :'inboxId',
|
43
43
|
:'sent_email_id' => :'sentEmailId',
|
44
44
|
:'created_at' => :'createdAt',
|
45
|
-
:'recipient' => :'recipient',
|
46
45
|
:'seen' => :'seen',
|
46
|
+
:'recipient' => :'recipient',
|
47
47
|
:'seen_at' => :'seenAt'
|
48
48
|
}
|
49
49
|
end
|
@@ -57,8 +57,8 @@ module MailSlurpClient
|
|
57
57
|
:'inbox_id' => :'String',
|
58
58
|
:'sent_email_id' => :'String',
|
59
59
|
:'created_at' => :'DateTime',
|
60
|
-
:'recipient' => :'String',
|
61
60
|
:'seen' => :'Boolean',
|
61
|
+
:'recipient' => :'String',
|
62
62
|
:'seen_at' => :'DateTime'
|
63
63
|
}
|
64
64
|
end
|
@@ -108,14 +108,14 @@ module MailSlurpClient
|
|
108
108
|
self.created_at = attributes[:'created_at']
|
109
109
|
end
|
110
110
|
|
111
|
-
if attributes.key?(:'recipient')
|
112
|
-
self.recipient = attributes[:'recipient']
|
113
|
-
end
|
114
|
-
|
115
111
|
if attributes.key?(:'seen')
|
116
112
|
self.seen = attributes[:'seen']
|
117
113
|
end
|
118
114
|
|
115
|
+
if attributes.key?(:'recipient')
|
116
|
+
self.recipient = attributes[:'recipient']
|
117
|
+
end
|
118
|
+
|
119
119
|
if attributes.key?(:'seen_at')
|
120
120
|
self.seen_at = attributes[:'seen_at']
|
121
121
|
end
|
@@ -165,8 +165,8 @@ module MailSlurpClient
|
|
165
165
|
inbox_id == o.inbox_id &&
|
166
166
|
sent_email_id == o.sent_email_id &&
|
167
167
|
created_at == o.created_at &&
|
168
|
-
recipient == o.recipient &&
|
169
168
|
seen == o.seen &&
|
169
|
+
recipient == o.recipient &&
|
170
170
|
seen_at == o.seen_at
|
171
171
|
end
|
172
172
|
|
@@ -179,7 +179,7 @@ module MailSlurpClient
|
|
179
179
|
# Calculates hash code according to all attributes.
|
180
180
|
# @return [Integer] Hash code
|
181
181
|
def hash
|
182
|
-
[name, id, user_id, inbox_id, sent_email_id, created_at,
|
182
|
+
[name, id, user_id, inbox_id, sent_email_id, created_at, seen, recipient, seen_at].hash
|
183
183
|
end
|
184
184
|
|
185
185
|
# Builds the object from hash
|
@@ -30,6 +30,9 @@ module MailSlurpClient
|
|
30
30
|
# Id of the inbox that received an email
|
31
31
|
attr_accessor :inbox_id
|
32
32
|
|
33
|
+
# Id of the domain that received an email
|
34
|
+
attr_accessor :domain_id
|
35
|
+
|
33
36
|
# ID of the email that was received. Use this ID for fetching the email with the `EmailController`.
|
34
37
|
attr_accessor :email_id
|
35
38
|
|
@@ -84,6 +87,7 @@ module MailSlurpClient
|
|
84
87
|
:'event_name' => :'eventName',
|
85
88
|
:'webhook_name' => :'webhookName',
|
86
89
|
:'inbox_id' => :'inboxId',
|
90
|
+
:'domain_id' => :'domainId',
|
87
91
|
:'email_id' => :'emailId',
|
88
92
|
:'created_at' => :'createdAt',
|
89
93
|
:'to' => :'to',
|
@@ -103,6 +107,7 @@ module MailSlurpClient
|
|
103
107
|
:'event_name' => :'String',
|
104
108
|
:'webhook_name' => :'String',
|
105
109
|
:'inbox_id' => :'String',
|
110
|
+
:'domain_id' => :'String',
|
106
111
|
:'email_id' => :'String',
|
107
112
|
:'created_at' => :'DateTime',
|
108
113
|
:'to' => :'Array<String>',
|
@@ -155,6 +160,10 @@ module MailSlurpClient
|
|
155
160
|
self.inbox_id = attributes[:'inbox_id']
|
156
161
|
end
|
157
162
|
|
163
|
+
if attributes.key?(:'domain_id')
|
164
|
+
self.domain_id = attributes[:'domain_id']
|
165
|
+
end
|
166
|
+
|
158
167
|
if attributes.key?(:'email_id')
|
159
168
|
self.email_id = attributes[:'email_id']
|
160
169
|
end
|
@@ -286,6 +295,7 @@ module MailSlurpClient
|
|
286
295
|
event_name == o.event_name &&
|
287
296
|
webhook_name == o.webhook_name &&
|
288
297
|
inbox_id == o.inbox_id &&
|
298
|
+
domain_id == o.domain_id &&
|
289
299
|
email_id == o.email_id &&
|
290
300
|
created_at == o.created_at &&
|
291
301
|
to == o.to &&
|
@@ -305,7 +315,7 @@ module MailSlurpClient
|
|
305
315
|
# Calculates hash code according to all attributes.
|
306
316
|
# @return [Integer] Hash code
|
307
317
|
def hash
|
308
|
-
[message_id, webhook_id, event_name, webhook_name, inbox_id, email_id, created_at, to, from, cc, bcc, subject, attachment_meta_datas].hash
|
318
|
+
[message_id, webhook_id, event_name, webhook_name, inbox_id, domain_id, email_id, created_at, to, from, cc, bcc, subject, attachment_meta_datas].hash
|
309
319
|
end
|
310
320
|
|
311
321
|
# Builds the object from hash
|
data/lib/mailslurp_client.rb
CHANGED
@@ -49,7 +49,7 @@ require 'mailslurp_client/models/create_webhook_options'
|
|
49
49
|
require 'mailslurp_client/models/dns_lookup_options'
|
50
50
|
require 'mailslurp_client/models/dns_lookup_result'
|
51
51
|
require 'mailslurp_client/models/dns_lookup_results'
|
52
|
-
require 'mailslurp_client/models/
|
52
|
+
require 'mailslurp_client/models/delivery_status_dto'
|
53
53
|
require 'mailslurp_client/models/describe_domain_options'
|
54
54
|
require 'mailslurp_client/models/describe_mail_server_domain_result'
|
55
55
|
require 'mailslurp_client/models/domain_dto'
|
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: 15.12.
|
4
|
+
version: 15.12.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mailslurp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-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/ruby/ for full Ruby documentation. Get
|
@@ -81,7 +81,7 @@ files:
|
|
81
81
|
- lib/mailslurp_client/models/create_template_options.rb
|
82
82
|
- lib/mailslurp_client/models/create_tracking_pixel_options.rb
|
83
83
|
- lib/mailslurp_client/models/create_webhook_options.rb
|
84
|
-
- lib/mailslurp_client/models/
|
84
|
+
- lib/mailslurp_client/models/delivery_status_dto.rb
|
85
85
|
- lib/mailslurp_client/models/describe_domain_options.rb
|
86
86
|
- lib/mailslurp_client/models/describe_mail_server_domain_result.rb
|
87
87
|
- lib/mailslurp_client/models/dns_lookup_options.rb
|