mailslurp_client 12.7.0 → 12.8.2
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.rb +7 -0
- data/lib/mailslurp_client/api/bounce_controller_api.rb +284 -0
- data/lib/mailslurp_client/api/sent_emails_controller_api.rb +60 -0
- data/lib/mailslurp_client/models/bounce_projection.rb +234 -0
- data/lib/mailslurp_client/models/bounce_recipient.rb +262 -0
- data/lib/mailslurp_client/models/bounced_email_dto.rb +312 -0
- data/lib/mailslurp_client/models/bounced_recipient_dto.rb +249 -0
- data/lib/mailslurp_client/models/page_bounced_email.rb +299 -0
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +299 -0
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -1
- data/lib/mailslurp_client/models/webhook_projection.rb +44 -1
- data/lib/mailslurp_client/models/webhook_result_entity.rb +22 -1
- data/lib/mailslurp_client/version.rb +1 -1
- metadata +9 -2
@@ -30,6 +30,8 @@ module MailSlurpClient
|
|
30
30
|
|
31
31
|
attr_accessor :response_time_millis
|
32
32
|
|
33
|
+
attr_accessor :result_type
|
34
|
+
|
33
35
|
attr_accessor :updated_at
|
34
36
|
|
35
37
|
attr_accessor :user_id
|
@@ -73,6 +75,7 @@ module MailSlurpClient
|
|
73
75
|
:'response_body_extract' => :'responseBodyExtract',
|
74
76
|
:'response_status' => :'responseStatus',
|
75
77
|
:'response_time_millis' => :'responseTimeMillis',
|
78
|
+
:'result_type' => :'resultType',
|
76
79
|
:'updated_at' => :'updatedAt',
|
77
80
|
:'user_id' => :'userId',
|
78
81
|
:'webhook_event' => :'webhookEvent',
|
@@ -92,6 +95,7 @@ module MailSlurpClient
|
|
92
95
|
:'response_body_extract' => :'String',
|
93
96
|
:'response_status' => :'Integer',
|
94
97
|
:'response_time_millis' => :'Integer',
|
98
|
+
:'result_type' => :'String',
|
95
99
|
:'updated_at' => :'DateTime',
|
96
100
|
:'user_id' => :'String',
|
97
101
|
:'webhook_event' => :'String',
|
@@ -153,6 +157,10 @@ module MailSlurpClient
|
|
153
157
|
self.response_time_millis = attributes[:'response_time_millis']
|
154
158
|
end
|
155
159
|
|
160
|
+
if attributes.key?(:'result_type')
|
161
|
+
self.result_type = attributes[:'result_type']
|
162
|
+
end
|
163
|
+
|
156
164
|
if attributes.key?(:'updated_at')
|
157
165
|
self.updated_at = attributes[:'updated_at']
|
158
166
|
end
|
@@ -231,6 +239,8 @@ module MailSlurpClient
|
|
231
239
|
return false if @inbox_id.nil?
|
232
240
|
return false if @message_id.nil?
|
233
241
|
return false if @response_time_millis.nil?
|
242
|
+
result_type_validator = EnumAttributeValidator.new('String', ["BAD_RESPONSE", "EXCEPTION", "SUCCESS"])
|
243
|
+
return false unless result_type_validator.valid?(@result_type)
|
234
244
|
return false if @updated_at.nil?
|
235
245
|
return false if @user_id.nil?
|
236
246
|
return false if @webhook_event.nil?
|
@@ -251,6 +261,16 @@ module MailSlurpClient
|
|
251
261
|
@http_method = http_method
|
252
262
|
end
|
253
263
|
|
264
|
+
# Custom attribute writer method checking allowed values (enum).
|
265
|
+
# @param [Object] result_type Object to be assigned
|
266
|
+
def result_type=(result_type)
|
267
|
+
validator = EnumAttributeValidator.new('String', ["BAD_RESPONSE", "EXCEPTION", "SUCCESS"])
|
268
|
+
unless validator.valid?(result_type)
|
269
|
+
fail ArgumentError, "invalid value for \"result_type\", must be one of #{validator.allowable_values}."
|
270
|
+
end
|
271
|
+
@result_type = result_type
|
272
|
+
end
|
273
|
+
|
254
274
|
# Custom attribute writer method checking allowed values (enum).
|
255
275
|
# @param [Object] webhook_event Object to be assigned
|
256
276
|
def webhook_event=(webhook_event)
|
@@ -274,6 +294,7 @@ module MailSlurpClient
|
|
274
294
|
response_body_extract == o.response_body_extract &&
|
275
295
|
response_status == o.response_status &&
|
276
296
|
response_time_millis == o.response_time_millis &&
|
297
|
+
result_type == o.result_type &&
|
277
298
|
updated_at == o.updated_at &&
|
278
299
|
user_id == o.user_id &&
|
279
300
|
webhook_event == o.webhook_event &&
|
@@ -290,7 +311,7 @@ module MailSlurpClient
|
|
290
311
|
# Calculates hash code according to all attributes.
|
291
312
|
# @return [Integer] Hash code
|
292
313
|
def hash
|
293
|
-
[created_at, http_method, id, inbox_id, message_id, response_body_extract, response_status, response_time_millis, updated_at, user_id, webhook_event, webhook_id, webhook_url].hash
|
314
|
+
[created_at, http_method, id, inbox_id, message_id, response_body_extract, response_status, response_time_millis, result_type, updated_at, user_id, webhook_event, webhook_id, webhook_url].hash
|
294
315
|
end
|
295
316
|
|
296
317
|
# Builds the object from hash
|
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: 12.
|
4
|
+
version: 12.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mailslurp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-07-
|
11
|
+
date: 2021-07-21 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.
|
@@ -25,6 +25,7 @@ files:
|
|
25
25
|
- lib/mailslurp_client.rb
|
26
26
|
- lib/mailslurp_client/api/alias_controller_api.rb
|
27
27
|
- lib/mailslurp_client/api/attachment_controller_api.rb
|
28
|
+
- lib/mailslurp_client/api/bounce_controller_api.rb
|
28
29
|
- lib/mailslurp_client/api/bulk_actions_controller_api.rb
|
29
30
|
- lib/mailslurp_client/api/common_actions_controller_api.rb
|
30
31
|
- lib/mailslurp_client/api/contact_controller_api.rb
|
@@ -53,6 +54,10 @@ files:
|
|
53
54
|
- lib/mailslurp_client/models/attachment_meta_data.rb
|
54
55
|
- lib/mailslurp_client/models/attachment_projection.rb
|
55
56
|
- lib/mailslurp_client/models/basic_auth_options.rb
|
57
|
+
- lib/mailslurp_client/models/bounce_projection.rb
|
58
|
+
- lib/mailslurp_client/models/bounce_recipient.rb
|
59
|
+
- lib/mailslurp_client/models/bounced_email_dto.rb
|
60
|
+
- lib/mailslurp_client/models/bounced_recipient_dto.rb
|
56
61
|
- lib/mailslurp_client/models/bulk_send_email_options.rb
|
57
62
|
- lib/mailslurp_client/models/condition_option.rb
|
58
63
|
- lib/mailslurp_client/models/contact_dto.rb
|
@@ -112,6 +117,8 @@ files:
|
|
112
117
|
- lib/mailslurp_client/models/organization_inbox_projection.rb
|
113
118
|
- lib/mailslurp_client/models/page_alias.rb
|
114
119
|
- lib/mailslurp_client/models/page_attachment_entity.rb
|
120
|
+
- lib/mailslurp_client/models/page_bounced_email.rb
|
121
|
+
- lib/mailslurp_client/models/page_bounced_recipients.rb
|
115
122
|
- lib/mailslurp_client/models/page_contact_projection.rb
|
116
123
|
- lib/mailslurp_client/models/page_email_preview.rb
|
117
124
|
- lib/mailslurp_client/models/page_email_projection.rb
|