mailslurp_client 11.15.0 → 12.1.22
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 +2 -1
- data/lib/mailslurp_client/api/attachment_controller_api.rb +3 -0
- data/lib/mailslurp_client/api/email_controller_api.rb +10 -10
- data/lib/mailslurp_client/api/inbox_controller_api.rb +17 -10
- data/lib/mailslurp_client/api/wait_for_controller_api.rb +2 -2
- data/lib/mailslurp_client/models/{attachment_entity.rb → attachment_projection.rb} +7 -18
- data/lib/mailslurp_client/models/condition_option.rb +264 -0
- data/lib/mailslurp_client/models/create_domain_options.rb +2 -2
- data/lib/mailslurp_client/models/create_inbox_dto.rb +6 -6
- data/lib/mailslurp_client/models/domain_dto.rb +45 -1
- data/lib/mailslurp_client/models/domain_name_record.rb +1 -1
- data/lib/mailslurp_client/models/forward_email_options.rb +24 -4
- data/lib/mailslurp_client/models/inbox.rb +48 -4
- data/lib/mailslurp_client/models/inbox_projection.rb +44 -1
- data/lib/mailslurp_client/models/match_options.rb +15 -3
- data/lib/mailslurp_client/models/organization_inbox_projection.rb +47 -3
- data/lib/mailslurp_client/models/page_attachment_entity.rb +1 -1
- data/lib/mailslurp_client/models/page_sent_email_projection.rb +6 -0
- data/lib/mailslurp_client/models/reply_to_alias_email_options.rb +14 -4
- data/lib/mailslurp_client/models/reply_to_email_options.rb +14 -4
- data/lib/mailslurp_client/models/send_email_options.rb +27 -7
- data/lib/mailslurp_client/models/set_inbox_favourited_options.rb +1 -1
- data/lib/mailslurp_client/models/update_inbox_options.rb +2 -2
- data/lib/mailslurp_client/models/upload_attachment_options.rb +5 -0
- data/lib/mailslurp_client/models/wait_for_conditions.rb +1 -1
- data/lib/mailslurp_client/version.rb +1 -1
- metadata +4 -3
@@ -15,7 +15,7 @@ require 'date'
|
|
15
15
|
module MailSlurpClient
|
16
16
|
# Options for setting inbox favourite state
|
17
17
|
class SetInboxFavouritedOptions
|
18
|
-
# Is the inbox
|
18
|
+
# Is the inbox a favorite. Marking an inbox as a favorite is typically done in the dashboard for quick access or filtering
|
19
19
|
attr_accessor :state
|
20
20
|
|
21
21
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -21,10 +21,10 @@ module MailSlurpClient
|
|
21
21
|
# Inbox expiration time. When, if ever, the inbox should expire and be deleted. If null then this inbox is permanent and the emails in it won't be deleted. This is the default behavior unless expiration date is set. If an expiration date is set and the time is reached MailSlurp will expire the inbox and move it to an expired inbox entity. You can still access the emails belonging to it but it can no longer send or receive email.
|
22
22
|
attr_accessor :expires_at
|
23
23
|
|
24
|
-
# Is the inbox
|
24
|
+
# Is the inbox a favorite inbox. Make an inbox a favorite is typically done in the dashboard for quick access or filtering
|
25
25
|
attr_accessor :favourite
|
26
26
|
|
27
|
-
# Name of the inbox.
|
27
|
+
# Name of the inbox and used as the sender name when sending emails .Displayed in the dashboard for easier search
|
28
28
|
attr_accessor :name
|
29
29
|
|
30
30
|
# Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI.
|
@@ -80,12 +80,17 @@ module MailSlurpClient
|
|
80
80
|
# @return Array for valid properties with the reasons
|
81
81
|
def list_invalid_properties
|
82
82
|
invalid_properties = Array.new
|
83
|
+
if @base64_contents.nil?
|
84
|
+
invalid_properties.push('invalid value for "base64_contents", base64_contents cannot be nil.')
|
85
|
+
end
|
86
|
+
|
83
87
|
invalid_properties
|
84
88
|
end
|
85
89
|
|
86
90
|
# Check to see if the all the properties in the model are valid
|
87
91
|
# @return true if the model is valid
|
88
92
|
def valid?
|
93
|
+
return false if @base64_contents.nil?
|
89
94
|
true
|
90
95
|
end
|
91
96
|
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module MailSlurpClient
|
16
|
-
# Conditions that a `waitForXEmails` endpoint operates on. The methods wait until given conditions are met or a timeout is reached. If the conditions are met without needing to wait the results will be returned immediately.
|
16
|
+
# Conditions that a `waitForXEmails` endpoint operates on. The methods wait until given conditions are met or a timeout is reached. If the conditions are met without needing to wait the results will be returned immediately. Can include `unreadOnly` to ignore already read emails that were returned in an API call or viewing in the dashboard. Can also include matches for emails containing `from`, `subject`, `hasAttachments` etc.
|
17
17
|
class WaitForConditions
|
18
18
|
# Number of results that should match conditions. Either exactly or at least this amount based on the `countType`. If count condition is not met and the timeout has not been reached the `waitFor` method will retry the operation.
|
19
19
|
attr_accessor :count
|
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:
|
4
|
+
version: 12.1.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mailslurp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05
|
11
|
+
date: 2021-06-05 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.
|
@@ -46,10 +46,11 @@ files:
|
|
46
46
|
- lib/mailslurp_client/models/abstract_webhook_payload.rb
|
47
47
|
- lib/mailslurp_client/models/alias_dto.rb
|
48
48
|
- lib/mailslurp_client/models/alias_projection.rb
|
49
|
-
- lib/mailslurp_client/models/attachment_entity.rb
|
50
49
|
- lib/mailslurp_client/models/attachment_meta_data.rb
|
50
|
+
- lib/mailslurp_client/models/attachment_projection.rb
|
51
51
|
- lib/mailslurp_client/models/basic_auth_options.rb
|
52
52
|
- lib/mailslurp_client/models/bulk_send_email_options.rb
|
53
|
+
- lib/mailslurp_client/models/condition_option.rb
|
53
54
|
- lib/mailslurp_client/models/contact_dto.rb
|
54
55
|
- lib/mailslurp_client/models/contact_projection.rb
|
55
56
|
- lib/mailslurp_client/models/content_match_options.rb
|