mailslurp_client 15.11.0 → 15.12.1
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/api_user_controller_api.rb +74 -0
- data/lib/mailslurp_client/api/attachment_controller_api.rb +4 -4
- data/lib/mailslurp_client/api/email_controller_api.rb +68 -3
- data/lib/mailslurp_client/api/inbox_controller_api.rb +63 -0
- data/lib/mailslurp_client/api/missed_email_controller_api.rb +56 -0
- data/lib/mailslurp_client/api/phone_controller_api.rb +487 -0
- data/lib/mailslurp_client/api/sent_emails_controller_api.rb +73 -0
- data/lib/mailslurp_client/api/sms_controller_api.rb +286 -0
- data/lib/mailslurp_client/api/template_controller_api.rb +124 -0
- data/lib/mailslurp_client/api/wait_for_controller_api.rb +64 -0
- data/lib/mailslurp_client/api/webhook_controller_api.rb +2 -2
- data/lib/mailslurp_client/models/abstract_webhook_payload.rb +2 -2
- data/lib/mailslurp_client/models/alias_projection.rb +27 -27
- data/lib/mailslurp_client/models/attachment_projection.rb +14 -14
- data/lib/mailslurp_client/models/bounce_projection.rb +31 -4
- data/lib/mailslurp_client/models/{bounce_recipient.rb → bounce_recipient_projection.rb} +35 -36
- data/lib/mailslurp_client/models/bounced_email_dto.rb +19 -1
- data/lib/mailslurp_client/models/bounced_recipient_dto.rb +37 -1
- data/lib/mailslurp_client/models/contact_projection.rb +18 -18
- data/lib/mailslurp_client/models/create_emergency_address_options.rb +324 -0
- data/lib/mailslurp_client/models/create_webhook_options.rb +2 -2
- data/lib/mailslurp_client/models/email_html_dto.rb +215 -0
- data/lib/mailslurp_client/models/email_projection.rb +19 -19
- data/lib/mailslurp_client/models/emergency_address.rb +408 -0
- data/lib/mailslurp_client/models/emergency_address_dto.rb +273 -0
- data/lib/mailslurp_client/models/empty_response_dto.rb +206 -0
- data/lib/mailslurp_client/models/inbox_by_name_result.rb +221 -0
- data/lib/mailslurp_client/models/inbox_dto.rb +11 -1
- data/lib/mailslurp_client/models/page_alias.rb +22 -22
- data/lib/mailslurp_client/models/page_attachment_entity.rb +22 -22
- data/lib/mailslurp_client/models/page_bounced_email.rb +22 -22
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +23 -23
- data/lib/mailslurp_client/models/page_contact_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_email_preview.rb +22 -22
- data/lib/mailslurp_client/models/page_email_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_email_validation_request.rb +22 -22
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_group_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +22 -22
- data/lib/mailslurp_client/models/page_inbox_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +22 -22
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_phone_number_projection.rb +308 -0
- data/lib/mailslurp_client/models/page_sent_email_projection.rb +16 -16
- data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +344 -0
- data/lib/mailslurp_client/models/page_sms_projection.rb +308 -0
- data/lib/mailslurp_client/models/page_template_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_thread_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_webhook_projection.rb +22 -22
- data/lib/mailslurp_client/models/page_webhook_result.rb +22 -22
- data/lib/mailslurp_client/models/phone_number_dto.rb +347 -0
- data/lib/mailslurp_client/models/phone_number_projection.rb +302 -0
- data/lib/mailslurp_client/models/phone_plan_dto.rb +287 -0
- data/lib/mailslurp_client/models/send_with_queue_result.rb +318 -0
- data/lib/mailslurp_client/models/sent_email_projection.rb +24 -24
- data/lib/mailslurp_client/models/sms_match_option.rb +289 -0
- data/lib/mailslurp_client/models/sms_message.rb +318 -0
- data/lib/mailslurp_client/models/sms_preview.rb +267 -0
- data/lib/mailslurp_client/models/sms_projection.rb +282 -0
- data/lib/mailslurp_client/models/template_preview.rb +211 -0
- data/lib/mailslurp_client/models/template_projection.rb +18 -18
- data/lib/mailslurp_client/models/thread_projection.rb +36 -36
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +19 -19
- data/lib/mailslurp_client/models/user_info_dto.rb +334 -0
- data/lib/mailslurp_client/models/wait_for_sms_conditions.rb +371 -0
- data/lib/mailslurp_client/models/webhook_bounce_payload.rb +2 -2
- data/lib/mailslurp_client/models/webhook_bounce_recipient_payload.rb +2 -2
- data/lib/mailslurp_client/models/webhook_dto.rb +2 -2
- data/lib/mailslurp_client/models/webhook_email_opened_payload.rb +2 -2
- data/lib/mailslurp_client/models/webhook_email_read_payload.rb +2 -2
- data/lib/mailslurp_client/models/webhook_new_attachment_payload.rb +2 -2
- data/lib/mailslurp_client/models/webhook_new_contact_payload.rb +2 -2
- data/lib/mailslurp_client/models/webhook_new_email_payload.rb +2 -2
- data/lib/mailslurp_client/models/webhook_projection.rb +2 -2
- data/lib/mailslurp_client/models/webhook_result_dto.rb +2 -2
- data/lib/mailslurp_client/version.rb +1 -1
- data/lib/mailslurp_client.rb +24 -1
- metadata +26 -3
@@ -178,7 +178,7 @@ module MailSlurpClient
|
|
178
178
|
return false if @message_id.nil?
|
179
179
|
return false if @webhook_id.nil?
|
180
180
|
return false if @event_name.nil?
|
181
|
-
event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT"])
|
181
|
+
event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
|
182
182
|
return false unless event_name_validator.valid?(@event_name)
|
183
183
|
return false if @bounce_id.nil?
|
184
184
|
return false if @sender.nil?
|
@@ -188,7 +188,7 @@ module MailSlurpClient
|
|
188
188
|
# Custom attribute writer method checking allowed values (enum).
|
189
189
|
# @param [Object] event_name Object to be assigned
|
190
190
|
def event_name=(event_name)
|
191
|
-
validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT"])
|
191
|
+
validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
|
192
192
|
unless validator.valid?(event_name)
|
193
193
|
fail ArgumentError, "invalid value for \"event_name\", must be one of #{validator.allowable_values}."
|
194
194
|
end
|
@@ -145,7 +145,7 @@ module MailSlurpClient
|
|
145
145
|
return false if @message_id.nil?
|
146
146
|
return false if @webhook_id.nil?
|
147
147
|
return false if @event_name.nil?
|
148
|
-
event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT"])
|
148
|
+
event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
|
149
149
|
return false unless event_name_validator.valid?(@event_name)
|
150
150
|
return false if @recipient.nil?
|
151
151
|
true
|
@@ -154,7 +154,7 @@ module MailSlurpClient
|
|
154
154
|
# Custom attribute writer method checking allowed values (enum).
|
155
155
|
# @param [Object] event_name Object to be assigned
|
156
156
|
def event_name=(event_name)
|
157
|
-
validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT"])
|
157
|
+
validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
|
158
158
|
unless validator.valid?(event_name)
|
159
159
|
fail ArgumentError, "invalid value for \"event_name\", must be one of #{validator.allowable_values}."
|
160
160
|
end
|
@@ -220,7 +220,7 @@ module MailSlurpClient
|
|
220
220
|
return false if @payload_json_schema.nil?
|
221
221
|
return false if @created_at.nil?
|
222
222
|
return false if @updated_at.nil?
|
223
|
-
event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT"])
|
223
|
+
event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
|
224
224
|
return false unless event_name_validator.valid?(@event_name)
|
225
225
|
true
|
226
226
|
end
|
@@ -238,7 +238,7 @@ module MailSlurpClient
|
|
238
238
|
# Custom attribute writer method checking allowed values (enum).
|
239
239
|
# @param [Object] event_name Object to be assigned
|
240
240
|
def event_name=(event_name)
|
241
|
-
validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT"])
|
241
|
+
validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
|
242
242
|
unless validator.valid?(event_name)
|
243
243
|
fail ArgumentError, "invalid value for \"event_name\", must be one of #{validator.allowable_values}."
|
244
244
|
end
|
@@ -197,7 +197,7 @@ module MailSlurpClient
|
|
197
197
|
return false if @message_id.nil?
|
198
198
|
return false if @webhook_id.nil?
|
199
199
|
return false if @event_name.nil?
|
200
|
-
event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT"])
|
200
|
+
event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
|
201
201
|
return false unless event_name_validator.valid?(@event_name)
|
202
202
|
return false if @inbox_id.nil?
|
203
203
|
return false if @pixel_id.nil?
|
@@ -210,7 +210,7 @@ module MailSlurpClient
|
|
210
210
|
# Custom attribute writer method checking allowed values (enum).
|
211
211
|
# @param [Object] event_name Object to be assigned
|
212
212
|
def event_name=(event_name)
|
213
|
-
validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT"])
|
213
|
+
validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
|
214
214
|
unless validator.valid?(event_name)
|
215
215
|
fail ArgumentError, "invalid value for \"event_name\", must be one of #{validator.allowable_values}."
|
216
216
|
end
|
@@ -184,7 +184,7 @@ module MailSlurpClient
|
|
184
184
|
return false if @message_id.nil?
|
185
185
|
return false if @webhook_id.nil?
|
186
186
|
return false if @event_name.nil?
|
187
|
-
event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT"])
|
187
|
+
event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
|
188
188
|
return false unless event_name_validator.valid?(@event_name)
|
189
189
|
return false if @email_id.nil?
|
190
190
|
return false if @inbox_id.nil?
|
@@ -196,7 +196,7 @@ module MailSlurpClient
|
|
196
196
|
# Custom attribute writer method checking allowed values (enum).
|
197
197
|
# @param [Object] event_name Object to be assigned
|
198
198
|
def event_name=(event_name)
|
199
|
-
validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT"])
|
199
|
+
validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
|
200
200
|
unless validator.valid?(event_name)
|
201
201
|
fail ArgumentError, "invalid value for \"event_name\", must be one of #{validator.allowable_values}."
|
202
202
|
end
|
@@ -184,7 +184,7 @@ module MailSlurpClient
|
|
184
184
|
return false if @message_id.nil?
|
185
185
|
return false if @webhook_id.nil?
|
186
186
|
return false if @event_name.nil?
|
187
|
-
event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT"])
|
187
|
+
event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
|
188
188
|
return false unless event_name_validator.valid?(@event_name)
|
189
189
|
return false if @attachment_id.nil?
|
190
190
|
return false if @name.nil?
|
@@ -196,7 +196,7 @@ module MailSlurpClient
|
|
196
196
|
# Custom attribute writer method checking allowed values (enum).
|
197
197
|
# @param [Object] event_name Object to be assigned
|
198
198
|
def event_name=(event_name)
|
199
|
-
validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT"])
|
199
|
+
validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
|
200
200
|
unless validator.valid?(event_name)
|
201
201
|
fail ArgumentError, "invalid value for \"event_name\", must be one of #{validator.allowable_values}."
|
202
202
|
end
|
@@ -244,7 +244,7 @@ module MailSlurpClient
|
|
244
244
|
return false if @message_id.nil?
|
245
245
|
return false if @webhook_id.nil?
|
246
246
|
return false if @event_name.nil?
|
247
|
-
event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT"])
|
247
|
+
event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
|
248
248
|
return false unless event_name_validator.valid?(@event_name)
|
249
249
|
return false if @contact_id.nil?
|
250
250
|
return false if @email_addresses.nil?
|
@@ -257,7 +257,7 @@ module MailSlurpClient
|
|
257
257
|
# Custom attribute writer method checking allowed values (enum).
|
258
258
|
# @param [Object] event_name Object to be assigned
|
259
259
|
def event_name=(event_name)
|
260
|
-
validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT"])
|
260
|
+
validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
|
261
261
|
unless validator.valid?(event_name)
|
262
262
|
fail ArgumentError, "invalid value for \"event_name\", must be one of #{validator.allowable_values}."
|
263
263
|
end
|
@@ -253,7 +253,7 @@ module MailSlurpClient
|
|
253
253
|
return false if @message_id.nil?
|
254
254
|
return false if @webhook_id.nil?
|
255
255
|
return false if @event_name.nil?
|
256
|
-
event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT"])
|
256
|
+
event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
|
257
257
|
return false unless event_name_validator.valid?(@event_name)
|
258
258
|
return false if @inbox_id.nil?
|
259
259
|
return false if @email_id.nil?
|
@@ -269,7 +269,7 @@ module MailSlurpClient
|
|
269
269
|
# Custom attribute writer method checking allowed values (enum).
|
270
270
|
# @param [Object] event_name Object to be assigned
|
271
271
|
def event_name=(event_name)
|
272
|
-
validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT"])
|
272
|
+
validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
|
273
273
|
unless validator.valid?(event_name)
|
274
274
|
fail ArgumentError, "invalid value for \"event_name\", must be one of #{validator.allowable_values}."
|
275
275
|
end
|
@@ -155,7 +155,7 @@ module MailSlurpClient
|
|
155
155
|
def valid?
|
156
156
|
return false if @id.nil?
|
157
157
|
return false if @url.nil?
|
158
|
-
event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT"])
|
158
|
+
event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
|
159
159
|
return false unless event_name_validator.valid?(@event_name)
|
160
160
|
return false if @created_at.nil?
|
161
161
|
return false if @updated_at.nil?
|
@@ -165,7 +165,7 @@ module MailSlurpClient
|
|
165
165
|
# Custom attribute writer method checking allowed values (enum).
|
166
166
|
# @param [Object] event_name Object to be assigned
|
167
167
|
def event_name=(event_name)
|
168
|
-
validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT"])
|
168
|
+
validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
|
169
169
|
unless validator.valid?(event_name)
|
170
170
|
fail ArgumentError, "invalid value for \"event_name\", must be one of #{validator.allowable_values}."
|
171
171
|
end
|
@@ -257,7 +257,7 @@ module MailSlurpClient
|
|
257
257
|
http_method_validator = EnumAttributeValidator.new('String', ["GET", "HEAD", "POST", "PUT", "PATCH", "DELETE", "OPTIONS", "TRACE"])
|
258
258
|
return false unless http_method_validator.valid?(@http_method)
|
259
259
|
return false if @webhook_event.nil?
|
260
|
-
webhook_event_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT"])
|
260
|
+
webhook_event_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
|
261
261
|
return false unless webhook_event_validator.valid?(@webhook_event)
|
262
262
|
return false if @response_time_millis.nil?
|
263
263
|
result_type_validator = EnumAttributeValidator.new('String', ["BAD_RESPONSE", "EXCEPTION", "SUCCESS"])
|
@@ -281,7 +281,7 @@ module MailSlurpClient
|
|
281
281
|
# Custom attribute writer method checking allowed values (enum).
|
282
282
|
# @param [Object] webhook_event Object to be assigned
|
283
283
|
def webhook_event=(webhook_event)
|
284
|
-
validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT"])
|
284
|
+
validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
|
285
285
|
unless validator.valid?(webhook_event)
|
286
286
|
fail ArgumentError, "invalid value for \"webhook_event\", must be one of #{validator.allowable_values}."
|
287
287
|
end
|
data/lib/mailslurp_client.rb
CHANGED
@@ -25,7 +25,7 @@ require 'mailslurp_client/models/attachment_meta_data'
|
|
25
25
|
require 'mailslurp_client/models/attachment_projection'
|
26
26
|
require 'mailslurp_client/models/basic_auth_options'
|
27
27
|
require 'mailslurp_client/models/bounce_projection'
|
28
|
-
require 'mailslurp_client/models/
|
28
|
+
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'
|
@@ -37,6 +37,7 @@ require 'mailslurp_client/models/count_dto'
|
|
37
37
|
require 'mailslurp_client/models/create_alias_options'
|
38
38
|
require 'mailslurp_client/models/create_contact_options'
|
39
39
|
require 'mailslurp_client/models/create_domain_options'
|
40
|
+
require 'mailslurp_client/models/create_emergency_address_options'
|
40
41
|
require 'mailslurp_client/models/create_group_options'
|
41
42
|
require 'mailslurp_client/models/create_inbox_dto'
|
42
43
|
require 'mailslurp_client/models/create_inbox_forwarder_options'
|
@@ -56,6 +57,7 @@ require 'mailslurp_client/models/download_attachment_dto'
|
|
56
57
|
require 'mailslurp_client/models/email'
|
57
58
|
require 'mailslurp_client/models/email_analysis'
|
58
59
|
require 'mailslurp_client/models/email_content_match_result'
|
60
|
+
require 'mailslurp_client/models/email_html_dto'
|
59
61
|
require 'mailslurp_client/models/email_links_result'
|
60
62
|
require 'mailslurp_client/models/email_preview'
|
61
63
|
require 'mailslurp_client/models/email_preview_urls'
|
@@ -64,6 +66,9 @@ require 'mailslurp_client/models/email_recipients'
|
|
64
66
|
require 'mailslurp_client/models/email_text_lines_result'
|
65
67
|
require 'mailslurp_client/models/email_validation_request'
|
66
68
|
require 'mailslurp_client/models/email_verification_result'
|
69
|
+
require 'mailslurp_client/models/emergency_address'
|
70
|
+
require 'mailslurp_client/models/emergency_address_dto'
|
71
|
+
require 'mailslurp_client/models/empty_response_dto'
|
67
72
|
require 'mailslurp_client/models/expiration_defaults'
|
68
73
|
require 'mailslurp_client/models/expired_inbox_dto'
|
69
74
|
require 'mailslurp_client/models/expired_inbox_record_projection'
|
@@ -82,6 +87,7 @@ require 'mailslurp_client/models/ip_address_result'
|
|
82
87
|
require 'mailslurp_client/models/imap_flag_operation_options'
|
83
88
|
require 'mailslurp_client/models/imap_smtp_access_details'
|
84
89
|
require 'mailslurp_client/models/inbox_by_email_address_result'
|
90
|
+
require 'mailslurp_client/models/inbox_by_name_result'
|
85
91
|
require 'mailslurp_client/models/inbox_dto'
|
86
92
|
require 'mailslurp_client/models/inbox_exists_dto'
|
87
93
|
require 'mailslurp_client/models/inbox_forwarder_dto'
|
@@ -117,7 +123,10 @@ require 'mailslurp_client/models/page_inbox_projection'
|
|
117
123
|
require 'mailslurp_client/models/page_inbox_ruleset_dto'
|
118
124
|
require 'mailslurp_client/models/page_missed_email_projection'
|
119
125
|
require 'mailslurp_client/models/page_organization_inbox_projection'
|
126
|
+
require 'mailslurp_client/models/page_phone_number_projection'
|
120
127
|
require 'mailslurp_client/models/page_sent_email_projection'
|
128
|
+
require 'mailslurp_client/models/page_sent_email_with_queue_projection'
|
129
|
+
require 'mailslurp_client/models/page_sms_projection'
|
121
130
|
require 'mailslurp_client/models/page_template_projection'
|
122
131
|
require 'mailslurp_client/models/page_thread_projection'
|
123
132
|
require 'mailslurp_client/models/page_tracking_pixel_projection'
|
@@ -125,19 +134,28 @@ require 'mailslurp_client/models/page_unknown_missed_email_projection'
|
|
125
134
|
require 'mailslurp_client/models/page_webhook_projection'
|
126
135
|
require 'mailslurp_client/models/page_webhook_result'
|
127
136
|
require 'mailslurp_client/models/pageable_object'
|
137
|
+
require 'mailslurp_client/models/phone_number_dto'
|
138
|
+
require 'mailslurp_client/models/phone_number_projection'
|
139
|
+
require 'mailslurp_client/models/phone_plan_dto'
|
128
140
|
require 'mailslurp_client/models/raw_email_json'
|
129
141
|
require 'mailslurp_client/models/recipient'
|
130
142
|
require 'mailslurp_client/models/reply_to_alias_email_options'
|
131
143
|
require 'mailslurp_client/models/reply_to_email_options'
|
132
144
|
require 'mailslurp_client/models/send_email_options'
|
133
145
|
require 'mailslurp_client/models/send_smtp_envelope_options'
|
146
|
+
require 'mailslurp_client/models/send_with_queue_result'
|
134
147
|
require 'mailslurp_client/models/sender'
|
135
148
|
require 'mailslurp_client/models/sent_email_dto'
|
136
149
|
require 'mailslurp_client/models/sent_email_projection'
|
137
150
|
require 'mailslurp_client/models/set_inbox_favourited_options'
|
138
151
|
require 'mailslurp_client/models/simple_send_email_options'
|
152
|
+
require 'mailslurp_client/models/sms_match_option'
|
153
|
+
require 'mailslurp_client/models/sms_message'
|
154
|
+
require 'mailslurp_client/models/sms_preview'
|
155
|
+
require 'mailslurp_client/models/sms_projection'
|
139
156
|
require 'mailslurp_client/models/sort'
|
140
157
|
require 'mailslurp_client/models/template_dto'
|
158
|
+
require 'mailslurp_client/models/template_preview'
|
141
159
|
require 'mailslurp_client/models/template_projection'
|
142
160
|
require 'mailslurp_client/models/template_variable'
|
143
161
|
require 'mailslurp_client/models/test_new_inbox_forwarder_options'
|
@@ -153,6 +171,7 @@ require 'mailslurp_client/models/update_domain_options'
|
|
153
171
|
require 'mailslurp_client/models/update_group_contacts'
|
154
172
|
require 'mailslurp_client/models/update_inbox_options'
|
155
173
|
require 'mailslurp_client/models/upload_attachment_options'
|
174
|
+
require 'mailslurp_client/models/user_info_dto'
|
156
175
|
require 'mailslurp_client/models/validate_email_address_list_options'
|
157
176
|
require 'mailslurp_client/models/validate_email_address_list_result'
|
158
177
|
require 'mailslurp_client/models/validation_dto'
|
@@ -161,6 +180,7 @@ require 'mailslurp_client/models/verify_email_address_options'
|
|
161
180
|
require 'mailslurp_client/models/verify_webhook_signature_options'
|
162
181
|
require 'mailslurp_client/models/verify_webhook_signature_results'
|
163
182
|
require 'mailslurp_client/models/wait_for_conditions'
|
183
|
+
require 'mailslurp_client/models/wait_for_sms_conditions'
|
164
184
|
require 'mailslurp_client/models/webhook_bounce_payload'
|
165
185
|
require 'mailslurp_client/models/webhook_bounce_recipient_payload'
|
166
186
|
require 'mailslurp_client/models/webhook_dto'
|
@@ -178,6 +198,7 @@ require 'mailslurp_client/models/webhook_test_result'
|
|
178
198
|
|
179
199
|
# APIs
|
180
200
|
require 'mailslurp_client/api/alias_controller_api'
|
201
|
+
require 'mailslurp_client/api/api_user_controller_api'
|
181
202
|
require 'mailslurp_client/api/attachment_controller_api'
|
182
203
|
require 'mailslurp_client/api/bounce_controller_api'
|
183
204
|
require 'mailslurp_client/api/bulk_actions_controller_api'
|
@@ -195,7 +216,9 @@ require 'mailslurp_client/api/inbox_forwarder_controller_api'
|
|
195
216
|
require 'mailslurp_client/api/inbox_ruleset_controller_api'
|
196
217
|
require 'mailslurp_client/api/mail_server_controller_api'
|
197
218
|
require 'mailslurp_client/api/missed_email_controller_api'
|
219
|
+
require 'mailslurp_client/api/phone_controller_api'
|
198
220
|
require 'mailslurp_client/api/sent_emails_controller_api'
|
221
|
+
require 'mailslurp_client/api/sms_controller_api'
|
199
222
|
require 'mailslurp_client/api/template_controller_api'
|
200
223
|
require 'mailslurp_client/api/tracking_controller_api'
|
201
224
|
require 'mailslurp_client/api/wait_for_controller_api'
|
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.
|
4
|
+
version: 15.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mailslurp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-02 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.
|
@@ -24,6 +24,7 @@ files:
|
|
24
24
|
- SUPPORT.md
|
25
25
|
- lib/mailslurp_client.rb
|
26
26
|
- lib/mailslurp_client/api/alias_controller_api.rb
|
27
|
+
- lib/mailslurp_client/api/api_user_controller_api.rb
|
27
28
|
- lib/mailslurp_client/api/attachment_controller_api.rb
|
28
29
|
- lib/mailslurp_client/api/bounce_controller_api.rb
|
29
30
|
- lib/mailslurp_client/api/bulk_actions_controller_api.rb
|
@@ -41,7 +42,9 @@ files:
|
|
41
42
|
- lib/mailslurp_client/api/inbox_ruleset_controller_api.rb
|
42
43
|
- lib/mailslurp_client/api/mail_server_controller_api.rb
|
43
44
|
- lib/mailslurp_client/api/missed_email_controller_api.rb
|
45
|
+
- lib/mailslurp_client/api/phone_controller_api.rb
|
44
46
|
- lib/mailslurp_client/api/sent_emails_controller_api.rb
|
47
|
+
- lib/mailslurp_client/api/sms_controller_api.rb
|
45
48
|
- lib/mailslurp_client/api/template_controller_api.rb
|
46
49
|
- lib/mailslurp_client/api/tracking_controller_api.rb
|
47
50
|
- lib/mailslurp_client/api/wait_for_controller_api.rb
|
@@ -57,7 +60,7 @@ files:
|
|
57
60
|
- lib/mailslurp_client/models/attachment_projection.rb
|
58
61
|
- lib/mailslurp_client/models/basic_auth_options.rb
|
59
62
|
- lib/mailslurp_client/models/bounce_projection.rb
|
60
|
-
- lib/mailslurp_client/models/
|
63
|
+
- lib/mailslurp_client/models/bounce_recipient_projection.rb
|
61
64
|
- lib/mailslurp_client/models/bounced_email_dto.rb
|
62
65
|
- lib/mailslurp_client/models/bounced_recipient_dto.rb
|
63
66
|
- lib/mailslurp_client/models/bulk_send_email_options.rb
|
@@ -69,6 +72,7 @@ files:
|
|
69
72
|
- lib/mailslurp_client/models/create_alias_options.rb
|
70
73
|
- lib/mailslurp_client/models/create_contact_options.rb
|
71
74
|
- lib/mailslurp_client/models/create_domain_options.rb
|
75
|
+
- lib/mailslurp_client/models/create_emergency_address_options.rb
|
72
76
|
- lib/mailslurp_client/models/create_group_options.rb
|
73
77
|
- lib/mailslurp_client/models/create_inbox_dto.rb
|
74
78
|
- lib/mailslurp_client/models/create_inbox_forwarder_options.rb
|
@@ -88,6 +92,7 @@ files:
|
|
88
92
|
- lib/mailslurp_client/models/email.rb
|
89
93
|
- lib/mailslurp_client/models/email_analysis.rb
|
90
94
|
- lib/mailslurp_client/models/email_content_match_result.rb
|
95
|
+
- lib/mailslurp_client/models/email_html_dto.rb
|
91
96
|
- lib/mailslurp_client/models/email_links_result.rb
|
92
97
|
- lib/mailslurp_client/models/email_preview.rb
|
93
98
|
- lib/mailslurp_client/models/email_preview_urls.rb
|
@@ -96,6 +101,9 @@ files:
|
|
96
101
|
- lib/mailslurp_client/models/email_text_lines_result.rb
|
97
102
|
- lib/mailslurp_client/models/email_validation_request.rb
|
98
103
|
- lib/mailslurp_client/models/email_verification_result.rb
|
104
|
+
- lib/mailslurp_client/models/emergency_address.rb
|
105
|
+
- lib/mailslurp_client/models/emergency_address_dto.rb
|
106
|
+
- lib/mailslurp_client/models/empty_response_dto.rb
|
99
107
|
- lib/mailslurp_client/models/expiration_defaults.rb
|
100
108
|
- lib/mailslurp_client/models/expired_inbox_dto.rb
|
101
109
|
- lib/mailslurp_client/models/expired_inbox_record_projection.rb
|
@@ -113,6 +121,7 @@ files:
|
|
113
121
|
- lib/mailslurp_client/models/imap_flag_operation_options.rb
|
114
122
|
- lib/mailslurp_client/models/imap_smtp_access_details.rb
|
115
123
|
- lib/mailslurp_client/models/inbox_by_email_address_result.rb
|
124
|
+
- lib/mailslurp_client/models/inbox_by_name_result.rb
|
116
125
|
- lib/mailslurp_client/models/inbox_dto.rb
|
117
126
|
- lib/mailslurp_client/models/inbox_exists_dto.rb
|
118
127
|
- lib/mailslurp_client/models/inbox_forwarder_dto.rb
|
@@ -149,7 +158,10 @@ files:
|
|
149
158
|
- lib/mailslurp_client/models/page_inbox_ruleset_dto.rb
|
150
159
|
- lib/mailslurp_client/models/page_missed_email_projection.rb
|
151
160
|
- lib/mailslurp_client/models/page_organization_inbox_projection.rb
|
161
|
+
- lib/mailslurp_client/models/page_phone_number_projection.rb
|
152
162
|
- lib/mailslurp_client/models/page_sent_email_projection.rb
|
163
|
+
- lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb
|
164
|
+
- lib/mailslurp_client/models/page_sms_projection.rb
|
153
165
|
- lib/mailslurp_client/models/page_template_projection.rb
|
154
166
|
- lib/mailslurp_client/models/page_thread_projection.rb
|
155
167
|
- lib/mailslurp_client/models/page_tracking_pixel_projection.rb
|
@@ -157,19 +169,28 @@ files:
|
|
157
169
|
- lib/mailslurp_client/models/page_webhook_projection.rb
|
158
170
|
- lib/mailslurp_client/models/page_webhook_result.rb
|
159
171
|
- lib/mailslurp_client/models/pageable_object.rb
|
172
|
+
- lib/mailslurp_client/models/phone_number_dto.rb
|
173
|
+
- lib/mailslurp_client/models/phone_number_projection.rb
|
174
|
+
- lib/mailslurp_client/models/phone_plan_dto.rb
|
160
175
|
- lib/mailslurp_client/models/raw_email_json.rb
|
161
176
|
- lib/mailslurp_client/models/recipient.rb
|
162
177
|
- lib/mailslurp_client/models/reply_to_alias_email_options.rb
|
163
178
|
- lib/mailslurp_client/models/reply_to_email_options.rb
|
164
179
|
- lib/mailslurp_client/models/send_email_options.rb
|
165
180
|
- lib/mailslurp_client/models/send_smtp_envelope_options.rb
|
181
|
+
- lib/mailslurp_client/models/send_with_queue_result.rb
|
166
182
|
- lib/mailslurp_client/models/sender.rb
|
167
183
|
- lib/mailslurp_client/models/sent_email_dto.rb
|
168
184
|
- lib/mailslurp_client/models/sent_email_projection.rb
|
169
185
|
- lib/mailslurp_client/models/set_inbox_favourited_options.rb
|
170
186
|
- lib/mailslurp_client/models/simple_send_email_options.rb
|
187
|
+
- lib/mailslurp_client/models/sms_match_option.rb
|
188
|
+
- lib/mailslurp_client/models/sms_message.rb
|
189
|
+
- lib/mailslurp_client/models/sms_preview.rb
|
190
|
+
- lib/mailslurp_client/models/sms_projection.rb
|
171
191
|
- lib/mailslurp_client/models/sort.rb
|
172
192
|
- lib/mailslurp_client/models/template_dto.rb
|
193
|
+
- lib/mailslurp_client/models/template_preview.rb
|
173
194
|
- lib/mailslurp_client/models/template_projection.rb
|
174
195
|
- lib/mailslurp_client/models/template_variable.rb
|
175
196
|
- lib/mailslurp_client/models/test_new_inbox_forwarder_options.rb
|
@@ -185,6 +206,7 @@ files:
|
|
185
206
|
- lib/mailslurp_client/models/update_group_contacts.rb
|
186
207
|
- lib/mailslurp_client/models/update_inbox_options.rb
|
187
208
|
- lib/mailslurp_client/models/upload_attachment_options.rb
|
209
|
+
- lib/mailslurp_client/models/user_info_dto.rb
|
188
210
|
- lib/mailslurp_client/models/validate_email_address_list_options.rb
|
189
211
|
- lib/mailslurp_client/models/validate_email_address_list_result.rb
|
190
212
|
- lib/mailslurp_client/models/validation_dto.rb
|
@@ -193,6 +215,7 @@ files:
|
|
193
215
|
- lib/mailslurp_client/models/verify_webhook_signature_options.rb
|
194
216
|
- lib/mailslurp_client/models/verify_webhook_signature_results.rb
|
195
217
|
- lib/mailslurp_client/models/wait_for_conditions.rb
|
218
|
+
- lib/mailslurp_client/models/wait_for_sms_conditions.rb
|
196
219
|
- lib/mailslurp_client/models/webhook_bounce_payload.rb
|
197
220
|
- lib/mailslurp_client/models/webhook_bounce_recipient_payload.rb
|
198
221
|
- lib/mailslurp_client/models/webhook_dto.rb
|