mailslurp_client 15.5.4 → 15.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -11
  3. data/lib/mailslurp_client/api/api_internal_controller_api.rb +89 -0
  4. data/lib/mailslurp_client/api/attachment_controller_api.rb +1 -1
  5. data/lib/mailslurp_client/api/bounce_controller_api.rb +64 -0
  6. data/lib/mailslurp_client/api/email_verification_controller_api.rb +179 -0
  7. data/lib/mailslurp_client/api/mail_server_controller_api.rb +2 -2
  8. data/lib/mailslurp_client/models/alias_projection.rb +13 -13
  9. data/lib/mailslurp_client/models/attachment_projection.rb +28 -28
  10. data/lib/mailslurp_client/models/bounce_recipient.rb +0 -5
  11. data/lib/mailslurp_client/models/bounced_recipient_dto.rb +0 -5
  12. data/lib/mailslurp_client/models/contact_projection.rb +13 -13
  13. data/lib/mailslurp_client/models/email_projection.rb +23 -23
  14. data/lib/mailslurp_client/models/email_validation_request.rb +276 -0
  15. data/lib/mailslurp_client/models/filter_bounced_recipients_options.rb +213 -0
  16. data/lib/mailslurp_client/models/filter_bounced_recipients_result.rb +213 -0
  17. data/lib/mailslurp_client/models/get_or_create_saml_user_options.rb +234 -0
  18. data/lib/mailslurp_client/models/page_alias.rb +19 -19
  19. data/lib/mailslurp_client/models/page_attachment_entity.rb +19 -19
  20. data/lib/mailslurp_client/models/page_bounced_email.rb +19 -19
  21. data/lib/mailslurp_client/models/page_bounced_recipients.rb +19 -19
  22. data/lib/mailslurp_client/models/page_contact_projection.rb +19 -19
  23. data/lib/mailslurp_client/models/page_email_preview.rb +19 -19
  24. data/lib/mailslurp_client/models/page_email_projection.rb +19 -19
  25. data/lib/mailslurp_client/models/page_email_validation_request.rb +308 -0
  26. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +19 -19
  27. data/lib/mailslurp_client/models/page_group_projection.rb +19 -19
  28. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +19 -19
  29. data/lib/mailslurp_client/models/page_inbox_projection.rb +19 -19
  30. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +19 -19
  31. data/lib/mailslurp_client/models/page_missed_email_projection.rb +19 -19
  32. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +19 -19
  33. data/lib/mailslurp_client/models/page_template_projection.rb +19 -19
  34. data/lib/mailslurp_client/models/page_thread_projection.rb +19 -19
  35. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +19 -19
  36. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +19 -19
  37. data/lib/mailslurp_client/models/page_webhook_projection.rb +19 -19
  38. data/lib/mailslurp_client/models/page_webhook_result.rb +19 -19
  39. data/lib/mailslurp_client/models/send_email_options.rb +36 -4
  40. data/lib/mailslurp_client/models/sent_email_dto.rb +13 -4
  41. data/lib/mailslurp_client/models/sent_email_projection.rb +26 -26
  42. data/lib/mailslurp_client/models/template_projection.rb +18 -18
  43. data/lib/mailslurp_client/models/thread_projection.rb +15 -15
  44. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
  45. data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +13 -13
  46. data/lib/mailslurp_client/models/user_dto.rb +438 -0
  47. data/lib/mailslurp_client/models/validate_email_address_list_options.rb +213 -0
  48. data/lib/mailslurp_client/models/validate_email_address_list_result.rb +245 -0
  49. data/lib/mailslurp_client/models/webhook_projection.rb +12 -12
  50. data/lib/mailslurp_client/version.rb +1 -1
  51. data/lib/mailslurp_client.rb +10 -0
  52. metadata +12 -2
@@ -0,0 +1,213 @@
1
+ =begin
2
+ #MailSlurp API
3
+
4
+ #MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
5
+
6
+ The version of the OpenAPI document: 6.5.2
7
+ Contact: contact@mailslurp.dev
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module MailSlurpClient
16
+ class ValidateEmailAddressListOptions
17
+ attr_accessor :email_address_list
18
+
19
+ # Attribute mapping from ruby-style variable name to JSON key.
20
+ def self.attribute_map
21
+ {
22
+ :'email_address_list' => :'emailAddressList'
23
+ }
24
+ end
25
+
26
+ # Attribute type mapping.
27
+ def self.openapi_types
28
+ {
29
+ :'email_address_list' => :'Array<String>'
30
+ }
31
+ end
32
+
33
+ # List of attributes with nullable: true
34
+ def self.openapi_nullable
35
+ Set.new([
36
+ ])
37
+ end
38
+
39
+ # Initializes the object
40
+ # @param [Hash] attributes Model attributes in the form of hash
41
+ def initialize(attributes = {})
42
+ if (!attributes.is_a?(Hash))
43
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MailSlurpClient::ValidateEmailAddressListOptions` initialize method"
44
+ end
45
+
46
+ # check to see if the attribute exists and convert string to symbol for hash key
47
+ attributes = attributes.each_with_object({}) { |(k, v), h|
48
+ if (!self.class.attribute_map.key?(k.to_sym))
49
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MailSlurpClient::ValidateEmailAddressListOptions`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
50
+ end
51
+ h[k.to_sym] = v
52
+ }
53
+
54
+ if attributes.key?(:'email_address_list')
55
+ if (value = attributes[:'email_address_list']).is_a?(Array)
56
+ self.email_address_list = value
57
+ end
58
+ end
59
+ end
60
+
61
+ # Show invalid properties with the reasons. Usually used together with valid?
62
+ # @return Array for valid properties with the reasons
63
+ def list_invalid_properties
64
+ invalid_properties = Array.new
65
+ if @email_address_list.nil?
66
+ invalid_properties.push('invalid value for "email_address_list", email_address_list cannot be nil.')
67
+ end
68
+
69
+ invalid_properties
70
+ end
71
+
72
+ # Check to see if the all the properties in the model are valid
73
+ # @return true if the model is valid
74
+ def valid?
75
+ return false if @email_address_list.nil?
76
+ true
77
+ end
78
+
79
+ # Checks equality by comparing each attribute.
80
+ # @param [Object] Object to be compared
81
+ def ==(o)
82
+ return true if self.equal?(o)
83
+ self.class == o.class &&
84
+ email_address_list == o.email_address_list
85
+ end
86
+
87
+ # @see the `==` method
88
+ # @param [Object] Object to be compared
89
+ def eql?(o)
90
+ self == o
91
+ end
92
+
93
+ # Calculates hash code according to all attributes.
94
+ # @return [Integer] Hash code
95
+ def hash
96
+ [email_address_list].hash
97
+ end
98
+
99
+ # Builds the object from hash
100
+ # @param [Hash] attributes Model attributes in the form of hash
101
+ # @return [Object] Returns the model itself
102
+ def self.build_from_hash(attributes)
103
+ new.build_from_hash(attributes)
104
+ end
105
+
106
+ # Builds the object from hash
107
+ # @param [Hash] attributes Model attributes in the form of hash
108
+ # @return [Object] Returns the model itself
109
+ def build_from_hash(attributes)
110
+ return nil unless attributes.is_a?(Hash)
111
+ self.class.openapi_types.each_pair do |key, type|
112
+ if type =~ /\AArray<(.*)>/i
113
+ # check to ensure the input is an array given that the attribute
114
+ # is documented as an array but the input is not
115
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
116
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
117
+ end
118
+ elsif !attributes[self.class.attribute_map[key]].nil?
119
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
120
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
121
+ end
122
+
123
+ self
124
+ end
125
+
126
+ # Deserializes the data based on type
127
+ # @param string type Data type
128
+ # @param string value Value to be deserialized
129
+ # @return [Object] Deserialized data
130
+ def _deserialize(type, value)
131
+ case type.to_sym
132
+ when :DateTime
133
+ DateTime.parse(value)
134
+ when :Date
135
+ Date.parse(value)
136
+ when :String
137
+ value.to_s
138
+ when :Integer
139
+ value.to_i
140
+ when :Float
141
+ value.to_f
142
+ when :Boolean
143
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
144
+ true
145
+ else
146
+ false
147
+ end
148
+ when :Object
149
+ # generic object (usually a Hash), return directly
150
+ value
151
+ when /\AArray<(?<inner_type>.+)>\z/
152
+ inner_type = Regexp.last_match[:inner_type]
153
+ value.map { |v| _deserialize(inner_type, v) }
154
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
155
+ k_type = Regexp.last_match[:k_type]
156
+ v_type = Regexp.last_match[:v_type]
157
+ {}.tap do |hash|
158
+ value.each do |k, v|
159
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
160
+ end
161
+ end
162
+ else # model
163
+ MailSlurpClient.const_get(type).build_from_hash(value)
164
+ end
165
+ end
166
+
167
+ # Returns the string representation of the object
168
+ # @return [String] String presentation of the object
169
+ def to_s
170
+ to_hash.to_s
171
+ end
172
+
173
+ # to_body is an alias to to_hash (backward compatibility)
174
+ # @return [Hash] Returns the object in the form of hash
175
+ def to_body
176
+ to_hash
177
+ end
178
+
179
+ # Returns the object in the form of hash
180
+ # @return [Hash] Returns the object in the form of hash
181
+ def to_hash
182
+ hash = {}
183
+ self.class.attribute_map.each_pair do |attr, param|
184
+ value = self.send(attr)
185
+ if value.nil?
186
+ is_nullable = self.class.openapi_nullable.include?(attr)
187
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
188
+ end
189
+
190
+ hash[param] = _to_hash(value)
191
+ end
192
+ hash
193
+ end
194
+
195
+ # Outputs non-array value in the form of hash
196
+ # For object, use to_hash. Otherwise, just return the value
197
+ # @param [Object] value Any valid value
198
+ # @return [Hash] Returns the value in the form of hash
199
+ def _to_hash(value)
200
+ if value.is_a?(Array)
201
+ value.compact.map { |v| _to_hash(v) }
202
+ elsif value.is_a?(Hash)
203
+ {}.tap do |hash|
204
+ value.each { |k, v| hash[k] = _to_hash(v) }
205
+ end
206
+ elsif value.respond_to? :to_hash
207
+ value.to_hash
208
+ else
209
+ value
210
+ end
211
+ end
212
+ end
213
+ end
@@ -0,0 +1,245 @@
1
+ =begin
2
+ #MailSlurp API
3
+
4
+ #MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
5
+
6
+ The version of the OpenAPI document: 6.5.2
7
+ Contact: contact@mailslurp.dev
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.3.1
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module MailSlurpClient
16
+ class ValidateEmailAddressListResult
17
+ attr_accessor :valid_email_addresses
18
+
19
+ attr_accessor :invalid_email_addresses
20
+
21
+ attr_accessor :result_map_email_address_is_valid
22
+
23
+ # Attribute mapping from ruby-style variable name to JSON key.
24
+ def self.attribute_map
25
+ {
26
+ :'valid_email_addresses' => :'validEmailAddresses',
27
+ :'invalid_email_addresses' => :'invalidEmailAddresses',
28
+ :'result_map_email_address_is_valid' => :'resultMapEmailAddressIsValid'
29
+ }
30
+ end
31
+
32
+ # Attribute type mapping.
33
+ def self.openapi_types
34
+ {
35
+ :'valid_email_addresses' => :'Array<String>',
36
+ :'invalid_email_addresses' => :'Array<String>',
37
+ :'result_map_email_address_is_valid' => :'Hash<String, Boolean>'
38
+ }
39
+ end
40
+
41
+ # List of attributes with nullable: true
42
+ def self.openapi_nullable
43
+ Set.new([
44
+ ])
45
+ end
46
+
47
+ # Initializes the object
48
+ # @param [Hash] attributes Model attributes in the form of hash
49
+ def initialize(attributes = {})
50
+ if (!attributes.is_a?(Hash))
51
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MailSlurpClient::ValidateEmailAddressListResult` initialize method"
52
+ end
53
+
54
+ # check to see if the attribute exists and convert string to symbol for hash key
55
+ attributes = attributes.each_with_object({}) { |(k, v), h|
56
+ if (!self.class.attribute_map.key?(k.to_sym))
57
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MailSlurpClient::ValidateEmailAddressListResult`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
58
+ end
59
+ h[k.to_sym] = v
60
+ }
61
+
62
+ if attributes.key?(:'valid_email_addresses')
63
+ if (value = attributes[:'valid_email_addresses']).is_a?(Array)
64
+ self.valid_email_addresses = value
65
+ end
66
+ end
67
+
68
+ if attributes.key?(:'invalid_email_addresses')
69
+ if (value = attributes[:'invalid_email_addresses']).is_a?(Array)
70
+ self.invalid_email_addresses = value
71
+ end
72
+ end
73
+
74
+ if attributes.key?(:'result_map_email_address_is_valid')
75
+ if (value = attributes[:'result_map_email_address_is_valid']).is_a?(Hash)
76
+ self.result_map_email_address_is_valid = value
77
+ end
78
+ end
79
+ end
80
+
81
+ # Show invalid properties with the reasons. Usually used together with valid?
82
+ # @return Array for valid properties with the reasons
83
+ def list_invalid_properties
84
+ invalid_properties = Array.new
85
+ if @valid_email_addresses.nil?
86
+ invalid_properties.push('invalid value for "valid_email_addresses", valid_email_addresses cannot be nil.')
87
+ end
88
+
89
+ if @invalid_email_addresses.nil?
90
+ invalid_properties.push('invalid value for "invalid_email_addresses", invalid_email_addresses cannot be nil.')
91
+ end
92
+
93
+ if @result_map_email_address_is_valid.nil?
94
+ invalid_properties.push('invalid value for "result_map_email_address_is_valid", result_map_email_address_is_valid cannot be nil.')
95
+ end
96
+
97
+ invalid_properties
98
+ end
99
+
100
+ # Check to see if the all the properties in the model are valid
101
+ # @return true if the model is valid
102
+ def valid?
103
+ return false if @valid_email_addresses.nil?
104
+ return false if @invalid_email_addresses.nil?
105
+ return false if @result_map_email_address_is_valid.nil?
106
+ true
107
+ end
108
+
109
+ # Checks equality by comparing each attribute.
110
+ # @param [Object] Object to be compared
111
+ def ==(o)
112
+ return true if self.equal?(o)
113
+ self.class == o.class &&
114
+ valid_email_addresses == o.valid_email_addresses &&
115
+ invalid_email_addresses == o.invalid_email_addresses &&
116
+ result_map_email_address_is_valid == o.result_map_email_address_is_valid
117
+ end
118
+
119
+ # @see the `==` method
120
+ # @param [Object] Object to be compared
121
+ def eql?(o)
122
+ self == o
123
+ end
124
+
125
+ # Calculates hash code according to all attributes.
126
+ # @return [Integer] Hash code
127
+ def hash
128
+ [valid_email_addresses, invalid_email_addresses, result_map_email_address_is_valid].hash
129
+ end
130
+
131
+ # Builds the object from hash
132
+ # @param [Hash] attributes Model attributes in the form of hash
133
+ # @return [Object] Returns the model itself
134
+ def self.build_from_hash(attributes)
135
+ new.build_from_hash(attributes)
136
+ end
137
+
138
+ # Builds the object from hash
139
+ # @param [Hash] attributes Model attributes in the form of hash
140
+ # @return [Object] Returns the model itself
141
+ def build_from_hash(attributes)
142
+ return nil unless attributes.is_a?(Hash)
143
+ self.class.openapi_types.each_pair do |key, type|
144
+ if type =~ /\AArray<(.*)>/i
145
+ # check to ensure the input is an array given that the attribute
146
+ # is documented as an array but the input is not
147
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
148
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
149
+ end
150
+ elsif !attributes[self.class.attribute_map[key]].nil?
151
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
152
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
153
+ end
154
+
155
+ self
156
+ end
157
+
158
+ # Deserializes the data based on type
159
+ # @param string type Data type
160
+ # @param string value Value to be deserialized
161
+ # @return [Object] Deserialized data
162
+ def _deserialize(type, value)
163
+ case type.to_sym
164
+ when :DateTime
165
+ DateTime.parse(value)
166
+ when :Date
167
+ Date.parse(value)
168
+ when :String
169
+ value.to_s
170
+ when :Integer
171
+ value.to_i
172
+ when :Float
173
+ value.to_f
174
+ when :Boolean
175
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
176
+ true
177
+ else
178
+ false
179
+ end
180
+ when :Object
181
+ # generic object (usually a Hash), return directly
182
+ value
183
+ when /\AArray<(?<inner_type>.+)>\z/
184
+ inner_type = Regexp.last_match[:inner_type]
185
+ value.map { |v| _deserialize(inner_type, v) }
186
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
187
+ k_type = Regexp.last_match[:k_type]
188
+ v_type = Regexp.last_match[:v_type]
189
+ {}.tap do |hash|
190
+ value.each do |k, v|
191
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
192
+ end
193
+ end
194
+ else # model
195
+ MailSlurpClient.const_get(type).build_from_hash(value)
196
+ end
197
+ end
198
+
199
+ # Returns the string representation of the object
200
+ # @return [String] String presentation of the object
201
+ def to_s
202
+ to_hash.to_s
203
+ end
204
+
205
+ # to_body is an alias to to_hash (backward compatibility)
206
+ # @return [Hash] Returns the object in the form of hash
207
+ def to_body
208
+ to_hash
209
+ end
210
+
211
+ # Returns the object in the form of hash
212
+ # @return [Hash] Returns the object in the form of hash
213
+ def to_hash
214
+ hash = {}
215
+ self.class.attribute_map.each_pair do |attr, param|
216
+ value = self.send(attr)
217
+ if value.nil?
218
+ is_nullable = self.class.openapi_nullable.include?(attr)
219
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
220
+ end
221
+
222
+ hash[param] = _to_hash(value)
223
+ end
224
+ hash
225
+ end
226
+
227
+ # Outputs non-array value in the form of hash
228
+ # For object, use to_hash. Otherwise, just return the value
229
+ # @param [Object] value Any valid value
230
+ # @return [Hash] Returns the value in the form of hash
231
+ def _to_hash(value)
232
+ if value.is_a?(Array)
233
+ value.compact.map { |v| _to_hash(v) }
234
+ elsif value.is_a?(Hash)
235
+ {}.tap do |hash|
236
+ value.each { |k, v| hash[k] = _to_hash(v) }
237
+ end
238
+ elsif value.respond_to? :to_hash
239
+ value.to_hash
240
+ else
241
+ value
242
+ end
243
+ end
244
+ end
245
+ end
@@ -19,12 +19,12 @@ module MailSlurpClient
19
19
 
20
20
  attr_accessor :id
21
21
 
22
- attr_accessor :event_name
23
-
24
22
  attr_accessor :url
25
23
 
26
24
  attr_accessor :inbox_id
27
25
 
26
+ attr_accessor :event_name
27
+
28
28
  attr_accessor :created_at
29
29
 
30
30
  attr_accessor :updated_at
@@ -56,9 +56,9 @@ module MailSlurpClient
56
56
  {
57
57
  :'name' => :'name',
58
58
  :'id' => :'id',
59
- :'event_name' => :'eventName',
60
59
  :'url' => :'url',
61
60
  :'inbox_id' => :'inboxId',
61
+ :'event_name' => :'eventName',
62
62
  :'created_at' => :'createdAt',
63
63
  :'updated_at' => :'updatedAt'
64
64
  }
@@ -69,9 +69,9 @@ module MailSlurpClient
69
69
  {
70
70
  :'name' => :'String',
71
71
  :'id' => :'String',
72
- :'event_name' => :'String',
73
72
  :'url' => :'String',
74
73
  :'inbox_id' => :'String',
74
+ :'event_name' => :'String',
75
75
  :'created_at' => :'DateTime',
76
76
  :'updated_at' => :'DateTime'
77
77
  }
@@ -106,10 +106,6 @@ module MailSlurpClient
106
106
  self.id = attributes[:'id']
107
107
  end
108
108
 
109
- if attributes.key?(:'event_name')
110
- self.event_name = attributes[:'event_name']
111
- end
112
-
113
109
  if attributes.key?(:'url')
114
110
  self.url = attributes[:'url']
115
111
  end
@@ -118,6 +114,10 @@ module MailSlurpClient
118
114
  self.inbox_id = attributes[:'inbox_id']
119
115
  end
120
116
 
117
+ if attributes.key?(:'event_name')
118
+ self.event_name = attributes[:'event_name']
119
+ end
120
+
121
121
  if attributes.key?(:'created_at')
122
122
  self.created_at = attributes[:'created_at']
123
123
  end
@@ -158,10 +158,10 @@ module MailSlurpClient
158
158
  # @return true if the model is valid
159
159
  def valid?
160
160
  return false if @id.nil?
161
- event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ"])
162
- return false unless event_name_validator.valid?(@event_name)
163
161
  return false if @url.nil?
164
162
  return false if @inbox_id.nil?
163
+ event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ"])
164
+ return false unless event_name_validator.valid?(@event_name)
165
165
  return false if @created_at.nil?
166
166
  return false if @updated_at.nil?
167
167
  true
@@ -184,9 +184,9 @@ module MailSlurpClient
184
184
  self.class == o.class &&
185
185
  name == o.name &&
186
186
  id == o.id &&
187
- event_name == o.event_name &&
188
187
  url == o.url &&
189
188
  inbox_id == o.inbox_id &&
189
+ event_name == o.event_name &&
190
190
  created_at == o.created_at &&
191
191
  updated_at == o.updated_at
192
192
  end
@@ -200,7 +200,7 @@ module MailSlurpClient
200
200
  # Calculates hash code according to all attributes.
201
201
  # @return [Integer] Hash code
202
202
  def hash
203
- [name, id, event_name, url, inbox_id, created_at, updated_at].hash
203
+ [name, id, url, inbox_id, event_name, created_at, updated_at].hash
204
204
  end
205
205
 
206
206
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module MailSlurpClient
14
- VERSION = '15.5.4'
14
+ VERSION = '15.6.0'
15
15
  end
@@ -62,14 +62,18 @@ require 'mailslurp_client/models/email_preview_urls'
62
62
  require 'mailslurp_client/models/email_projection'
63
63
  require 'mailslurp_client/models/email_recipients'
64
64
  require 'mailslurp_client/models/email_text_lines_result'
65
+ require 'mailslurp_client/models/email_validation_request'
65
66
  require 'mailslurp_client/models/email_verification_result'
66
67
  require 'mailslurp_client/models/expiration_defaults'
67
68
  require 'mailslurp_client/models/expired_inbox_dto'
68
69
  require 'mailslurp_client/models/expired_inbox_record_projection'
69
70
  require 'mailslurp_client/models/export_link'
70
71
  require 'mailslurp_client/models/export_options'
72
+ require 'mailslurp_client/models/filter_bounced_recipients_options'
73
+ require 'mailslurp_client/models/filter_bounced_recipients_result'
71
74
  require 'mailslurp_client/models/flush_expired_inboxes_result'
72
75
  require 'mailslurp_client/models/forward_email_options'
76
+ require 'mailslurp_client/models/get_or_create_saml_user_options'
73
77
  require 'mailslurp_client/models/gravatar_url'
74
78
  require 'mailslurp_client/models/group_contacts_dto'
75
79
  require 'mailslurp_client/models/group_dto'
@@ -105,6 +109,7 @@ require 'mailslurp_client/models/page_bounced_recipients'
105
109
  require 'mailslurp_client/models/page_contact_projection'
106
110
  require 'mailslurp_client/models/page_email_preview'
107
111
  require 'mailslurp_client/models/page_email_projection'
112
+ require 'mailslurp_client/models/page_email_validation_request'
108
113
  require 'mailslurp_client/models/page_expired_inbox_record_projection'
109
114
  require 'mailslurp_client/models/page_group_projection'
110
115
  require 'mailslurp_client/models/page_inbox_forwarder_dto'
@@ -148,6 +153,9 @@ require 'mailslurp_client/models/update_domain_options'
148
153
  require 'mailslurp_client/models/update_group_contacts'
149
154
  require 'mailslurp_client/models/update_inbox_options'
150
155
  require 'mailslurp_client/models/upload_attachment_options'
156
+ require 'mailslurp_client/models/user_dto'
157
+ require 'mailslurp_client/models/validate_email_address_list_options'
158
+ require 'mailslurp_client/models/validate_email_address_list_result'
151
159
  require 'mailslurp_client/models/validation_dto'
152
160
  require 'mailslurp_client/models/validation_message'
153
161
  require 'mailslurp_client/models/verify_email_address_options'
@@ -167,6 +175,7 @@ require 'mailslurp_client/models/webhook_test_result'
167
175
 
168
176
  # APIs
169
177
  require 'mailslurp_client/api/alias_controller_api'
178
+ require 'mailslurp_client/api/api_internal_controller_api'
170
179
  require 'mailslurp_client/api/attachment_controller_api'
171
180
  require 'mailslurp_client/api/bounce_controller_api'
172
181
  require 'mailslurp_client/api/bulk_actions_controller_api'
@@ -174,6 +183,7 @@ require 'mailslurp_client/api/common_actions_controller_api'
174
183
  require 'mailslurp_client/api/contact_controller_api'
175
184
  require 'mailslurp_client/api/domain_controller_api'
176
185
  require 'mailslurp_client/api/email_controller_api'
186
+ require 'mailslurp_client/api/email_verification_controller_api'
177
187
  require 'mailslurp_client/api/expired_controller_api'
178
188
  require 'mailslurp_client/api/export_controller_api'
179
189
  require 'mailslurp_client/api/form_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.5.4
4
+ version: 15.6.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-01-29 00:00:00.000000000 Z
11
+ date: 2022-03-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_internal_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
@@ -31,6 +32,7 @@ files:
31
32
  - lib/mailslurp_client/api/contact_controller_api.rb
32
33
  - lib/mailslurp_client/api/domain_controller_api.rb
33
34
  - lib/mailslurp_client/api/email_controller_api.rb
35
+ - lib/mailslurp_client/api/email_verification_controller_api.rb
34
36
  - lib/mailslurp_client/api/expired_controller_api.rb
35
37
  - lib/mailslurp_client/api/export_controller_api.rb
36
38
  - lib/mailslurp_client/api/form_controller_api.rb
@@ -93,14 +95,18 @@ files:
93
95
  - lib/mailslurp_client/models/email_projection.rb
94
96
  - lib/mailslurp_client/models/email_recipients.rb
95
97
  - lib/mailslurp_client/models/email_text_lines_result.rb
98
+ - lib/mailslurp_client/models/email_validation_request.rb
96
99
  - lib/mailslurp_client/models/email_verification_result.rb
97
100
  - lib/mailslurp_client/models/expiration_defaults.rb
98
101
  - lib/mailslurp_client/models/expired_inbox_dto.rb
99
102
  - lib/mailslurp_client/models/expired_inbox_record_projection.rb
100
103
  - lib/mailslurp_client/models/export_link.rb
101
104
  - lib/mailslurp_client/models/export_options.rb
105
+ - lib/mailslurp_client/models/filter_bounced_recipients_options.rb
106
+ - lib/mailslurp_client/models/filter_bounced_recipients_result.rb
102
107
  - lib/mailslurp_client/models/flush_expired_inboxes_result.rb
103
108
  - lib/mailslurp_client/models/forward_email_options.rb
109
+ - lib/mailslurp_client/models/get_or_create_saml_user_options.rb
104
110
  - lib/mailslurp_client/models/gravatar_url.rb
105
111
  - lib/mailslurp_client/models/group_contacts_dto.rb
106
112
  - lib/mailslurp_client/models/group_dto.rb
@@ -136,6 +142,7 @@ files:
136
142
  - lib/mailslurp_client/models/page_contact_projection.rb
137
143
  - lib/mailslurp_client/models/page_email_preview.rb
138
144
  - lib/mailslurp_client/models/page_email_projection.rb
145
+ - lib/mailslurp_client/models/page_email_validation_request.rb
139
146
  - lib/mailslurp_client/models/page_expired_inbox_record_projection.rb
140
147
  - lib/mailslurp_client/models/page_group_projection.rb
141
148
  - lib/mailslurp_client/models/page_inbox_forwarder_dto.rb
@@ -179,6 +186,9 @@ files:
179
186
  - lib/mailslurp_client/models/update_group_contacts.rb
180
187
  - lib/mailslurp_client/models/update_inbox_options.rb
181
188
  - lib/mailslurp_client/models/upload_attachment_options.rb
189
+ - lib/mailslurp_client/models/user_dto.rb
190
+ - lib/mailslurp_client/models/validate_email_address_list_options.rb
191
+ - lib/mailslurp_client/models/validate_email_address_list_result.rb
182
192
  - lib/mailslurp_client/models/validation_dto.rb
183
193
  - lib/mailslurp_client/models/validation_message.rb
184
194
  - lib/mailslurp_client/models/verify_email_address_options.rb