mailslurp_client 15.12.15 → 15.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mailslurp_client/api/bounce_controller_api.rb +79 -0
- data/lib/mailslurp_client/api/inbox_controller_api.rb +89 -0
- data/lib/mailslurp_client/api/sent_emails_controller_api.rb +292 -0
- data/lib/mailslurp_client/api/webhook_controller_api.rb +3 -0
- 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_recipient_projection.rb +13 -13
- data/lib/mailslurp_client/models/complaint.rb +289 -0
- data/lib/mailslurp_client/models/create_webhook_options.rb +0 -5
- data/lib/mailslurp_client/models/delivery_status_dto.rb +345 -0
- 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 +10 -1
- data/lib/mailslurp_client/models/inbox_preview.rb +11 -1
- 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 +308 -0
- data/lib/mailslurp_client/models/page_contact_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_delivery_status.rb +308 -0
- 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 +59 -59
- 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 +4 -0
- metadata +9 -5
@@ -23,14 +23,6 @@ module MailSlurpClient
|
|
23
23
|
|
24
24
|
attr_accessor :subject
|
25
25
|
|
26
|
-
attr_accessor :body_md5_hash
|
27
|
-
|
28
|
-
attr_accessor :bcc
|
29
|
-
|
30
|
-
attr_accessor :cc
|
31
|
-
|
32
|
-
attr_accessor :virtual_send
|
33
|
-
|
34
26
|
attr_accessor :inbox_id
|
35
27
|
|
36
28
|
attr_accessor :attachments
|
@@ -39,6 +31,14 @@ module MailSlurpClient
|
|
39
31
|
|
40
32
|
attr_accessor :created_at
|
41
33
|
|
34
|
+
attr_accessor :bcc
|
35
|
+
|
36
|
+
attr_accessor :cc
|
37
|
+
|
38
|
+
attr_accessor :body_md5_hash
|
39
|
+
|
40
|
+
attr_accessor :virtual_send
|
41
|
+
|
42
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
43
43
|
def self.attribute_map
|
44
44
|
{
|
@@ -46,14 +46,14 @@ module MailSlurpClient
|
|
46
46
|
:'from' => :'from',
|
47
47
|
:'user_id' => :'userId',
|
48
48
|
:'subject' => :'subject',
|
49
|
-
:'body_md5_hash' => :'bodyMD5Hash',
|
50
|
-
:'bcc' => :'bcc',
|
51
|
-
:'cc' => :'cc',
|
52
|
-
:'virtual_send' => :'virtualSend',
|
53
49
|
:'inbox_id' => :'inboxId',
|
54
50
|
:'attachments' => :'attachments',
|
55
51
|
:'to' => :'to',
|
56
|
-
:'created_at' => :'createdAt'
|
52
|
+
:'created_at' => :'createdAt',
|
53
|
+
:'bcc' => :'bcc',
|
54
|
+
:'cc' => :'cc',
|
55
|
+
:'body_md5_hash' => :'bodyMD5Hash',
|
56
|
+
:'virtual_send' => :'virtualSend'
|
57
57
|
}
|
58
58
|
end
|
59
59
|
|
@@ -64,14 +64,14 @@ module MailSlurpClient
|
|
64
64
|
:'from' => :'String',
|
65
65
|
:'user_id' => :'String',
|
66
66
|
:'subject' => :'String',
|
67
|
-
:'body_md5_hash' => :'String',
|
68
|
-
:'bcc' => :'Array<String>',
|
69
|
-
:'cc' => :'Array<String>',
|
70
|
-
:'virtual_send' => :'Boolean',
|
71
67
|
:'inbox_id' => :'String',
|
72
68
|
:'attachments' => :'Array<String>',
|
73
69
|
:'to' => :'Array<String>',
|
74
|
-
:'created_at' => :'DateTime'
|
70
|
+
:'created_at' => :'DateTime',
|
71
|
+
:'bcc' => :'Array<String>',
|
72
|
+
:'cc' => :'Array<String>',
|
73
|
+
:'body_md5_hash' => :'String',
|
74
|
+
:'virtual_send' => :'Boolean'
|
75
75
|
}
|
76
76
|
end
|
77
77
|
|
@@ -112,26 +112,6 @@ module MailSlurpClient
|
|
112
112
|
self.subject = attributes[:'subject']
|
113
113
|
end
|
114
114
|
|
115
|
-
if attributes.key?(:'body_md5_hash')
|
116
|
-
self.body_md5_hash = attributes[:'body_md5_hash']
|
117
|
-
end
|
118
|
-
|
119
|
-
if attributes.key?(:'bcc')
|
120
|
-
if (value = attributes[:'bcc']).is_a?(Array)
|
121
|
-
self.bcc = value
|
122
|
-
end
|
123
|
-
end
|
124
|
-
|
125
|
-
if attributes.key?(:'cc')
|
126
|
-
if (value = attributes[:'cc']).is_a?(Array)
|
127
|
-
self.cc = value
|
128
|
-
end
|
129
|
-
end
|
130
|
-
|
131
|
-
if attributes.key?(:'virtual_send')
|
132
|
-
self.virtual_send = attributes[:'virtual_send']
|
133
|
-
end
|
134
|
-
|
135
115
|
if attributes.key?(:'inbox_id')
|
136
116
|
self.inbox_id = attributes[:'inbox_id']
|
137
117
|
end
|
@@ -151,6 +131,26 @@ module MailSlurpClient
|
|
151
131
|
if attributes.key?(:'created_at')
|
152
132
|
self.created_at = attributes[:'created_at']
|
153
133
|
end
|
134
|
+
|
135
|
+
if attributes.key?(:'bcc')
|
136
|
+
if (value = attributes[:'bcc']).is_a?(Array)
|
137
|
+
self.bcc = value
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
if attributes.key?(:'cc')
|
142
|
+
if (value = attributes[:'cc']).is_a?(Array)
|
143
|
+
self.cc = value
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
if attributes.key?(:'body_md5_hash')
|
148
|
+
self.body_md5_hash = attributes[:'body_md5_hash']
|
149
|
+
end
|
150
|
+
|
151
|
+
if attributes.key?(:'virtual_send')
|
152
|
+
self.virtual_send = attributes[:'virtual_send']
|
153
|
+
end
|
154
154
|
end
|
155
155
|
|
156
156
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -165,18 +165,6 @@ module MailSlurpClient
|
|
165
165
|
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
166
166
|
end
|
167
167
|
|
168
|
-
if @bcc.nil?
|
169
|
-
invalid_properties.push('invalid value for "bcc", bcc cannot be nil.')
|
170
|
-
end
|
171
|
-
|
172
|
-
if @cc.nil?
|
173
|
-
invalid_properties.push('invalid value for "cc", cc cannot be nil.')
|
174
|
-
end
|
175
|
-
|
176
|
-
if @virtual_send.nil?
|
177
|
-
invalid_properties.push('invalid value for "virtual_send", virtual_send cannot be nil.')
|
178
|
-
end
|
179
|
-
|
180
168
|
if @inbox_id.nil?
|
181
169
|
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
182
170
|
end
|
@@ -193,6 +181,18 @@ module MailSlurpClient
|
|
193
181
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
194
182
|
end
|
195
183
|
|
184
|
+
if @bcc.nil?
|
185
|
+
invalid_properties.push('invalid value for "bcc", bcc cannot be nil.')
|
186
|
+
end
|
187
|
+
|
188
|
+
if @cc.nil?
|
189
|
+
invalid_properties.push('invalid value for "cc", cc cannot be nil.')
|
190
|
+
end
|
191
|
+
|
192
|
+
if @virtual_send.nil?
|
193
|
+
invalid_properties.push('invalid value for "virtual_send", virtual_send cannot be nil.')
|
194
|
+
end
|
195
|
+
|
196
196
|
invalid_properties
|
197
197
|
end
|
198
198
|
|
@@ -201,13 +201,13 @@ module MailSlurpClient
|
|
201
201
|
def valid?
|
202
202
|
return false if @id.nil?
|
203
203
|
return false if @user_id.nil?
|
204
|
-
return false if @bcc.nil?
|
205
|
-
return false if @cc.nil?
|
206
|
-
return false if @virtual_send.nil?
|
207
204
|
return false if @inbox_id.nil?
|
208
205
|
return false if @attachments.nil?
|
209
206
|
return false if @to.nil?
|
210
207
|
return false if @created_at.nil?
|
208
|
+
return false if @bcc.nil?
|
209
|
+
return false if @cc.nil?
|
210
|
+
return false if @virtual_send.nil?
|
211
211
|
true
|
212
212
|
end
|
213
213
|
|
@@ -220,14 +220,14 @@ module MailSlurpClient
|
|
220
220
|
from == o.from &&
|
221
221
|
user_id == o.user_id &&
|
222
222
|
subject == o.subject &&
|
223
|
-
body_md5_hash == o.body_md5_hash &&
|
224
|
-
bcc == o.bcc &&
|
225
|
-
cc == o.cc &&
|
226
|
-
virtual_send == o.virtual_send &&
|
227
223
|
inbox_id == o.inbox_id &&
|
228
224
|
attachments == o.attachments &&
|
229
225
|
to == o.to &&
|
230
|
-
created_at == o.created_at
|
226
|
+
created_at == o.created_at &&
|
227
|
+
bcc == o.bcc &&
|
228
|
+
cc == o.cc &&
|
229
|
+
body_md5_hash == o.body_md5_hash &&
|
230
|
+
virtual_send == o.virtual_send
|
231
231
|
end
|
232
232
|
|
233
233
|
# @see the `==` method
|
@@ -239,7 +239,7 @@ module MailSlurpClient
|
|
239
239
|
# Calculates hash code according to all attributes.
|
240
240
|
# @return [Integer] Hash code
|
241
241
|
def hash
|
242
|
-
[id, from, user_id, subject,
|
242
|
+
[id, from, user_id, subject, inbox_id, attachments, to, created_at, bcc, cc, body_md5_hash, virtual_send].hash
|
243
243
|
end
|
244
244
|
|
245
245
|
# 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
@@ -29,6 +29,7 @@ require 'mailslurp_client/models/bounce_recipient_projection'
|
|
29
29
|
require 'mailslurp_client/models/bounced_email_dto'
|
30
30
|
require 'mailslurp_client/models/bounced_recipient_dto'
|
31
31
|
require 'mailslurp_client/models/bulk_send_email_options'
|
32
|
+
require 'mailslurp_client/models/complaint'
|
32
33
|
require 'mailslurp_client/models/condition_option'
|
33
34
|
require 'mailslurp_client/models/contact_dto'
|
34
35
|
require 'mailslurp_client/models/contact_projection'
|
@@ -48,6 +49,7 @@ require 'mailslurp_client/models/create_webhook_options'
|
|
48
49
|
require 'mailslurp_client/models/dns_lookup_options'
|
49
50
|
require 'mailslurp_client/models/dns_lookup_result'
|
50
51
|
require 'mailslurp_client/models/dns_lookup_results'
|
52
|
+
require 'mailslurp_client/models/delivery_status_dto'
|
51
53
|
require 'mailslurp_client/models/describe_domain_options'
|
52
54
|
require 'mailslurp_client/models/describe_mail_server_domain_result'
|
53
55
|
require 'mailslurp_client/models/domain_dto'
|
@@ -112,7 +114,9 @@ require 'mailslurp_client/models/page_alias'
|
|
112
114
|
require 'mailslurp_client/models/page_attachment_entity'
|
113
115
|
require 'mailslurp_client/models/page_bounced_email'
|
114
116
|
require 'mailslurp_client/models/page_bounced_recipients'
|
117
|
+
require 'mailslurp_client/models/page_complaint'
|
115
118
|
require 'mailslurp_client/models/page_contact_projection'
|
119
|
+
require 'mailslurp_client/models/page_delivery_status'
|
116
120
|
require 'mailslurp_client/models/page_email_preview'
|
117
121
|
require 'mailslurp_client/models/page_email_projection'
|
118
122
|
require 'mailslurp_client/models/page_email_validation_request'
|
metadata
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailslurp_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 15.
|
4
|
+
version: 15.13.0
|
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-23 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Create emails addresses in Ruby then send and receive real emails and
|
14
|
-
attachments. See https://www.mailslurp.com/
|
15
|
-
|
14
|
+
attachments. See https://www.mailslurp.com/ruby/ for full Ruby documentation. Get
|
15
|
+
an API Key at https://app.mailslurp.com
|
16
16
|
email: support@mailslurp.zendesk.com
|
17
17
|
executables: []
|
18
18
|
extensions: []
|
@@ -64,6 +64,7 @@ files:
|
|
64
64
|
- lib/mailslurp_client/models/bounced_email_dto.rb
|
65
65
|
- lib/mailslurp_client/models/bounced_recipient_dto.rb
|
66
66
|
- lib/mailslurp_client/models/bulk_send_email_options.rb
|
67
|
+
- lib/mailslurp_client/models/complaint.rb
|
67
68
|
- lib/mailslurp_client/models/condition_option.rb
|
68
69
|
- lib/mailslurp_client/models/contact_dto.rb
|
69
70
|
- lib/mailslurp_client/models/contact_projection.rb
|
@@ -80,6 +81,7 @@ files:
|
|
80
81
|
- lib/mailslurp_client/models/create_template_options.rb
|
81
82
|
- lib/mailslurp_client/models/create_tracking_pixel_options.rb
|
82
83
|
- lib/mailslurp_client/models/create_webhook_options.rb
|
84
|
+
- lib/mailslurp_client/models/delivery_status_dto.rb
|
83
85
|
- lib/mailslurp_client/models/describe_domain_options.rb
|
84
86
|
- lib/mailslurp_client/models/describe_mail_server_domain_result.rb
|
85
87
|
- lib/mailslurp_client/models/dns_lookup_options.rb
|
@@ -147,7 +149,9 @@ files:
|
|
147
149
|
- lib/mailslurp_client/models/page_attachment_entity.rb
|
148
150
|
- lib/mailslurp_client/models/page_bounced_email.rb
|
149
151
|
- lib/mailslurp_client/models/page_bounced_recipients.rb
|
152
|
+
- lib/mailslurp_client/models/page_complaint.rb
|
150
153
|
- lib/mailslurp_client/models/page_contact_projection.rb
|
154
|
+
- lib/mailslurp_client/models/page_delivery_status.rb
|
151
155
|
- lib/mailslurp_client/models/page_email_preview.rb
|
152
156
|
- lib/mailslurp_client/models/page_email_projection.rb
|
153
157
|
- lib/mailslurp_client/models/page_email_validation_request.rb
|
@@ -233,7 +237,7 @@ files:
|
|
233
237
|
- lib/mailslurp_client/models/webhook_test_response.rb
|
234
238
|
- lib/mailslurp_client/models/webhook_test_result.rb
|
235
239
|
- lib/mailslurp_client/version.rb
|
236
|
-
homepage: https://www.mailslurp.com/
|
240
|
+
homepage: https://www.mailslurp.com/ruby
|
237
241
|
licenses:
|
238
242
|
- MIT
|
239
243
|
metadata:
|