mailslurp_client 15.17.33 → 15.17.34
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/attachment_controller_api.rb +3 -0
- data/lib/mailslurp_client/api/sms_controller_api.rb +56 -0
- data/lib/mailslurp_client/api/webhook_controller_api.rb +186 -0
- data/lib/mailslurp_client/models/alias_projection.rb +15 -15
- data/lib/mailslurp_client/models/attachment_entity.rb +10 -1
- data/lib/mailslurp_client/models/bounce_projection.rb +11 -11
- data/lib/mailslurp_client/models/email.rb +13 -13
- data/lib/mailslurp_client/models/email_projection.rb +19 -19
- data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +15 -15
- data/lib/mailslurp_client/models/missed_email_projection.rb +11 -11
- data/lib/mailslurp_client/models/page_alias.rb +17 -16
- data/lib/mailslurp_client/models/page_attachment_entity.rb +17 -16
- data/lib/mailslurp_client/models/page_bounced_email.rb +17 -16
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +17 -16
- data/lib/mailslurp_client/models/page_complaint.rb +17 -16
- data/lib/mailslurp_client/models/page_connector.rb +17 -16
- data/lib/mailslurp_client/models/page_connector_sync_events.rb +17 -16
- data/lib/mailslurp_client/models/page_contact_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_delivery_status.rb +17 -16
- data/lib/mailslurp_client/models/page_email_preview.rb +17 -16
- data/lib/mailslurp_client/models/page_email_projection.rb +12 -21
- data/lib/mailslurp_client/models/page_email_validation_request.rb +17 -16
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_group_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +17 -16
- data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +17 -16
- data/lib/mailslurp_client/models/page_inbox_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_inbox_replier_dto.rb +17 -16
- data/lib/mailslurp_client/models/page_inbox_replier_events.rb +17 -16
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +17 -16
- data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +17 -16
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_phone_number_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_scheduled_jobs.rb +17 -16
- data/lib/mailslurp_client/models/page_sent_email_projection.rb +34 -69
- data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +34 -69
- data/lib/mailslurp_client/models/page_sms_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_template_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_thread_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_webhook_projection.rb +17 -16
- data/lib/mailslurp_client/models/page_webhook_result.rb +17 -16
- data/lib/mailslurp_client/models/pageable_object.rb +10 -10
- data/lib/mailslurp_client/models/send_with_queue_result.rb +0 -1
- data/lib/mailslurp_client/models/sent_email_projection.rb +30 -31
- data/lib/mailslurp_client/models/thread_projection.rb +11 -11
- data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +10 -10
- data/lib/mailslurp_client/models/user_info_dto.rb +2 -2
- data/lib/mailslurp_client/models/webhook_redrive_all_result.rb +222 -0
- data/lib/mailslurp_client/models/webhook_result_dto.rb +56 -16
- data/lib/mailslurp_client/version.rb +1 -1
- data/lib/mailslurp_client.rb +1 -0
- metadata +3 -2
@@ -19,8 +19,6 @@ module MailSlurpClient
|
|
19
19
|
|
20
20
|
attr_accessor :user_id
|
21
21
|
|
22
|
-
attr_accessor :inbox_id
|
23
|
-
|
24
22
|
attr_accessor :webhook_id
|
25
23
|
|
26
24
|
attr_accessor :webhook_url
|
@@ -47,6 +45,16 @@ module MailSlurpClient
|
|
47
45
|
|
48
46
|
attr_accessor :seen
|
49
47
|
|
48
|
+
attr_accessor :inbox_id
|
49
|
+
|
50
|
+
attr_accessor :email_id
|
51
|
+
|
52
|
+
attr_accessor :attachment_id
|
53
|
+
|
54
|
+
attr_accessor :phone_id
|
55
|
+
|
56
|
+
attr_accessor :sms_id
|
57
|
+
|
50
58
|
class EnumAttributeValidator
|
51
59
|
attr_reader :datatype
|
52
60
|
attr_reader :allowable_values
|
@@ -74,7 +82,6 @@ module MailSlurpClient
|
|
74
82
|
{
|
75
83
|
:'id' => :'id',
|
76
84
|
:'user_id' => :'userId',
|
77
|
-
:'inbox_id' => :'inboxId',
|
78
85
|
:'webhook_id' => :'webhookId',
|
79
86
|
:'webhook_url' => :'webhookUrl',
|
80
87
|
:'message_id' => :'messageId',
|
@@ -87,7 +94,12 @@ module MailSlurpClient
|
|
87
94
|
:'result_type' => :'resultType',
|
88
95
|
:'created_at' => :'createdAt',
|
89
96
|
:'updated_at' => :'updatedAt',
|
90
|
-
:'seen' => :'seen'
|
97
|
+
:'seen' => :'seen',
|
98
|
+
:'inbox_id' => :'inboxId',
|
99
|
+
:'email_id' => :'emailId',
|
100
|
+
:'attachment_id' => :'attachmentId',
|
101
|
+
:'phone_id' => :'phoneId',
|
102
|
+
:'sms_id' => :'smsId'
|
91
103
|
}
|
92
104
|
end
|
93
105
|
|
@@ -96,7 +108,6 @@ module MailSlurpClient
|
|
96
108
|
{
|
97
109
|
:'id' => :'String',
|
98
110
|
:'user_id' => :'String',
|
99
|
-
:'inbox_id' => :'String',
|
100
111
|
:'webhook_id' => :'String',
|
101
112
|
:'webhook_url' => :'String',
|
102
113
|
:'message_id' => :'String',
|
@@ -109,7 +120,12 @@ module MailSlurpClient
|
|
109
120
|
:'result_type' => :'String',
|
110
121
|
:'created_at' => :'DateTime',
|
111
122
|
:'updated_at' => :'DateTime',
|
112
|
-
:'seen' => :'Boolean'
|
123
|
+
:'seen' => :'Boolean',
|
124
|
+
:'inbox_id' => :'String',
|
125
|
+
:'email_id' => :'String',
|
126
|
+
:'attachment_id' => :'String',
|
127
|
+
:'phone_id' => :'String',
|
128
|
+
:'sms_id' => :'String'
|
113
129
|
}
|
114
130
|
end
|
115
131
|
|
@@ -117,11 +133,15 @@ module MailSlurpClient
|
|
117
133
|
def self.openapi_nullable
|
118
134
|
Set.new([
|
119
135
|
:'id',
|
120
|
-
:'inbox_id',
|
121
136
|
:'redrive_id',
|
122
137
|
:'response_status',
|
123
138
|
:'response_body_extract',
|
124
139
|
:'result_type',
|
140
|
+
:'inbox_id',
|
141
|
+
:'email_id',
|
142
|
+
:'attachment_id',
|
143
|
+
:'phone_id',
|
144
|
+
:'sms_id'
|
125
145
|
])
|
126
146
|
end
|
127
147
|
|
@@ -148,10 +168,6 @@ module MailSlurpClient
|
|
148
168
|
self.user_id = attributes[:'user_id']
|
149
169
|
end
|
150
170
|
|
151
|
-
if attributes.key?(:'inbox_id')
|
152
|
-
self.inbox_id = attributes[:'inbox_id']
|
153
|
-
end
|
154
|
-
|
155
171
|
if attributes.key?(:'webhook_id')
|
156
172
|
self.webhook_id = attributes[:'webhook_id']
|
157
173
|
end
|
@@ -203,6 +219,26 @@ module MailSlurpClient
|
|
203
219
|
if attributes.key?(:'seen')
|
204
220
|
self.seen = attributes[:'seen']
|
205
221
|
end
|
222
|
+
|
223
|
+
if attributes.key?(:'inbox_id')
|
224
|
+
self.inbox_id = attributes[:'inbox_id']
|
225
|
+
end
|
226
|
+
|
227
|
+
if attributes.key?(:'email_id')
|
228
|
+
self.email_id = attributes[:'email_id']
|
229
|
+
end
|
230
|
+
|
231
|
+
if attributes.key?(:'attachment_id')
|
232
|
+
self.attachment_id = attributes[:'attachment_id']
|
233
|
+
end
|
234
|
+
|
235
|
+
if attributes.key?(:'phone_id')
|
236
|
+
self.phone_id = attributes[:'phone_id']
|
237
|
+
end
|
238
|
+
|
239
|
+
if attributes.key?(:'sms_id')
|
240
|
+
self.sms_id = attributes[:'sms_id']
|
241
|
+
end
|
206
242
|
end
|
207
243
|
|
208
244
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -266,7 +302,7 @@ module MailSlurpClient
|
|
266
302
|
webhook_event_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "DELIVERY_STATUS", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
|
267
303
|
return false unless webhook_event_validator.valid?(@webhook_event)
|
268
304
|
return false if @response_time_millis.nil?
|
269
|
-
result_type_validator = EnumAttributeValidator.new('String', ["BAD_RESPONSE", "EXCEPTION", "SUCCESS"])
|
305
|
+
result_type_validator = EnumAttributeValidator.new('String', ["BAD_RESPONSE", "EXCEPTION", "SUCCESS", "REDRIVEN"])
|
270
306
|
return false unless result_type_validator.valid?(@result_type)
|
271
307
|
return false if @created_at.nil?
|
272
308
|
return false if @updated_at.nil?
|
@@ -297,7 +333,7 @@ module MailSlurpClient
|
|
297
333
|
# Custom attribute writer method checking allowed values (enum).
|
298
334
|
# @param [Object] result_type Object to be assigned
|
299
335
|
def result_type=(result_type)
|
300
|
-
validator = EnumAttributeValidator.new('String', ["BAD_RESPONSE", "EXCEPTION", "SUCCESS"])
|
336
|
+
validator = EnumAttributeValidator.new('String', ["BAD_RESPONSE", "EXCEPTION", "SUCCESS", "REDRIVEN"])
|
301
337
|
unless validator.valid?(result_type)
|
302
338
|
fail ArgumentError, "invalid value for \"result_type\", must be one of #{validator.allowable_values}."
|
303
339
|
end
|
@@ -311,7 +347,6 @@ module MailSlurpClient
|
|
311
347
|
self.class == o.class &&
|
312
348
|
id == o.id &&
|
313
349
|
user_id == o.user_id &&
|
314
|
-
inbox_id == o.inbox_id &&
|
315
350
|
webhook_id == o.webhook_id &&
|
316
351
|
webhook_url == o.webhook_url &&
|
317
352
|
message_id == o.message_id &&
|
@@ -324,7 +359,12 @@ module MailSlurpClient
|
|
324
359
|
result_type == o.result_type &&
|
325
360
|
created_at == o.created_at &&
|
326
361
|
updated_at == o.updated_at &&
|
327
|
-
seen == o.seen
|
362
|
+
seen == o.seen &&
|
363
|
+
inbox_id == o.inbox_id &&
|
364
|
+
email_id == o.email_id &&
|
365
|
+
attachment_id == o.attachment_id &&
|
366
|
+
phone_id == o.phone_id &&
|
367
|
+
sms_id == o.sms_id
|
328
368
|
end
|
329
369
|
|
330
370
|
# @see the `==` method
|
@@ -336,7 +376,7 @@ module MailSlurpClient
|
|
336
376
|
# Calculates hash code according to all attributes.
|
337
377
|
# @return [Integer] Hash code
|
338
378
|
def hash
|
339
|
-
[id, user_id,
|
379
|
+
[id, user_id, webhook_id, webhook_url, message_id, redrive_id, http_method, webhook_event, response_status, response_time_millis, response_body_extract, result_type, created_at, updated_at, seen, inbox_id, email_id, attachment_id, phone_id, sms_id].hash
|
340
380
|
end
|
341
381
|
|
342
382
|
# Builds the object from hash
|
data/lib/mailslurp_client.rb
CHANGED
@@ -273,6 +273,7 @@ require 'mailslurp_client/models/webhook_new_contact_payload'
|
|
273
273
|
require 'mailslurp_client/models/webhook_new_email_payload'
|
274
274
|
require 'mailslurp_client/models/webhook_new_sms_payload'
|
275
275
|
require 'mailslurp_client/models/webhook_projection'
|
276
|
+
require 'mailslurp_client/models/webhook_redrive_all_result'
|
276
277
|
require 'mailslurp_client/models/webhook_redrive_result'
|
277
278
|
require 'mailslurp_client/models/webhook_result_dto'
|
278
279
|
require 'mailslurp_client/models/webhook_test_request'
|
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.17.
|
4
|
+
version: 15.17.34
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mailslurp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-02-11 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
|
@@ -311,6 +311,7 @@ files:
|
|
311
311
|
- lib/mailslurp_client/models/webhook_new_email_payload.rb
|
312
312
|
- lib/mailslurp_client/models/webhook_new_sms_payload.rb
|
313
313
|
- lib/mailslurp_client/models/webhook_projection.rb
|
314
|
+
- lib/mailslurp_client/models/webhook_redrive_all_result.rb
|
314
315
|
- lib/mailslurp_client/models/webhook_redrive_result.rb
|
315
316
|
- lib/mailslurp_client/models/webhook_result_dto.rb
|
316
317
|
- lib/mailslurp_client/models/webhook_test_request.rb
|