mailslurp_client 8.2.16 → 8.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -2
  3. data/lib/mailslurp_client.rb +10 -2
  4. data/lib/mailslurp_client/api/alias_controller_api.rb +34 -96
  5. data/lib/mailslurp_client/api/domain_controller_api.rb +7 -5
  6. data/lib/mailslurp_client/api/email_controller_api.rb +72 -2
  7. data/lib/mailslurp_client/api/form_controller_api.rb +4 -7
  8. data/lib/mailslurp_client/api/inbox_controller_api.rb +87 -10
  9. data/lib/mailslurp_client/api/mail_server_controller_api.rb +123 -0
  10. data/lib/mailslurp_client/models/alias_dto.rb +276 -0
  11. data/lib/mailslurp_client/models/alias_projection.rb +276 -0
  12. data/lib/mailslurp_client/models/{create_owned_alias_options.rb → create_alias_options.rb} +13 -13
  13. data/lib/mailslurp_client/models/create_inbox_dto.rb +259 -0
  14. data/lib/mailslurp_client/models/dns_lookup_options.rb +252 -0
  15. data/lib/mailslurp_client/models/dns_lookup_result.rb +288 -0
  16. data/lib/mailslurp_client/models/dns_lookup_results.rb +214 -0
  17. data/lib/mailslurp_client/models/domain_dto.rb +16 -16
  18. data/lib/mailslurp_client/models/email.rb +11 -1
  19. data/lib/mailslurp_client/models/html_validation_result.rb +3 -15
  20. data/lib/mailslurp_client/models/inbox.rb +5 -5
  21. data/lib/mailslurp_client/models/ip_address_result.rb +226 -0
  22. data/lib/mailslurp_client/models/model_alias.rb +36 -22
  23. data/lib/mailslurp_client/models/page_alias.rb +1 -1
  24. data/lib/mailslurp_client/models/reply_to_email_options.rb +313 -0
  25. data/lib/mailslurp_client/models/{create_anonymous_alias_options.rb → update_alias_options.rb} +12 -12
  26. data/lib/mailslurp_client/models/update_inbox_options.rb +2 -2
  27. data/lib/mailslurp_client/version.rb +1 -1
  28. metadata +12 -4
@@ -13,22 +13,22 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
- # Create anonymous email alias options. Email aliases can be used to mask real email addresses behind an ID
17
- class CreateAnonymousAliasOptions
18
- # Email address to be hidden behind alias
19
- attr_accessor :email_address
16
+ # Update an email alias
17
+ class UpdateAliasOptions
18
+ # Optional name for alias
19
+ attr_accessor :name
20
20
 
21
21
  # Attribute mapping from ruby-style variable name to JSON key.
22
22
  def self.attribute_map
23
23
  {
24
- :'email_address' => :'emailAddress'
24
+ :'name' => :'name'
25
25
  }
26
26
  end
27
27
 
28
28
  # Attribute type mapping.
29
29
  def self.openapi_types
30
30
  {
31
- :'email_address' => :'String'
31
+ :'name' => :'String'
32
32
  }
33
33
  end
34
34
 
@@ -42,19 +42,19 @@ module MailSlurpClient
42
42
  # @param [Hash] attributes Model attributes in the form of hash
43
43
  def initialize(attributes = {})
44
44
  if (!attributes.is_a?(Hash))
45
- fail ArgumentError, "The input argument (attributes) must be a hash in `MailSlurpClient::CreateAnonymousAliasOptions` initialize method"
45
+ fail ArgumentError, "The input argument (attributes) must be a hash in `MailSlurpClient::UpdateAliasOptions` initialize method"
46
46
  end
47
47
 
48
48
  # check to see if the attribute exists and convert string to symbol for hash key
49
49
  attributes = attributes.each_with_object({}) { |(k, v), h|
50
50
  if (!self.class.attribute_map.key?(k.to_sym))
51
- fail ArgumentError, "`#{k}` is not a valid attribute in `MailSlurpClient::CreateAnonymousAliasOptions`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
51
+ fail ArgumentError, "`#{k}` is not a valid attribute in `MailSlurpClient::UpdateAliasOptions`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
52
52
  end
53
53
  h[k.to_sym] = v
54
54
  }
55
55
 
56
- if attributes.key?(:'email_address')
57
- self.email_address = attributes[:'email_address']
56
+ if attributes.key?(:'name')
57
+ self.name = attributes[:'name']
58
58
  end
59
59
  end
60
60
 
@@ -76,7 +76,7 @@ module MailSlurpClient
76
76
  def ==(o)
77
77
  return true if self.equal?(o)
78
78
  self.class == o.class &&
79
- email_address == o.email_address
79
+ name == o.name
80
80
  end
81
81
 
82
82
  # @see the `==` method
@@ -88,7 +88,7 @@ module MailSlurpClient
88
88
  # Calculates hash code according to all attributes.
89
89
  # @return [Integer] Hash code
90
90
  def hash
91
- [email_address].hash
91
+ [name].hash
92
92
  end
93
93
 
94
94
  # Builds the object from hash
@@ -21,13 +21,13 @@ module MailSlurpClient
21
21
  # When, if ever, will the inbox expire and be deleted. If null then this inbox is permanent and the emails in it won't be deleted. Timestamp passed as string.
22
22
  attr_accessor :expires_at
23
23
 
24
- # Is the inbox favourited
24
+ # Is the inbox favorited. Favouriting inboxes is typically done in the dashboard for quick access
25
25
  attr_accessor :favourite
26
26
 
27
27
  # Optional name of the inbox. Displayed in the dashboard for easier search
28
28
  attr_accessor :name
29
29
 
30
- # Tags that inbox has been tagged with
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.
31
31
  attr_accessor :tags
32
32
 
33
33
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module MailSlurpClient
14
- VERSION = '8.2.16'
14
+ VERSION = '8.4.1'
15
15
  end
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: 8.2.16
4
+ version: 8.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - mailslurp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-24 00:00:00.000000000 Z
11
+ date: 2020-12-12 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.
@@ -41,21 +41,26 @@ files:
41
41
  - lib/mailslurp_client/api_client.rb
42
42
  - lib/mailslurp_client/api_error.rb
43
43
  - lib/mailslurp_client/configuration.rb
44
+ - lib/mailslurp_client/models/alias_dto.rb
45
+ - lib/mailslurp_client/models/alias_projection.rb
44
46
  - lib/mailslurp_client/models/attachment_meta_data.rb
45
47
  - lib/mailslurp_client/models/basic_auth_options.rb
46
48
  - lib/mailslurp_client/models/bulk_send_email_options.rb
47
49
  - lib/mailslurp_client/models/contact_dto.rb
48
50
  - lib/mailslurp_client/models/contact_projection.rb
49
51
  - lib/mailslurp_client/models/content_match_options.rb
50
- - lib/mailslurp_client/models/create_anonymous_alias_options.rb
52
+ - lib/mailslurp_client/models/create_alias_options.rb
51
53
  - lib/mailslurp_client/models/create_contact_options.rb
52
54
  - lib/mailslurp_client/models/create_domain_options.rb
53
55
  - lib/mailslurp_client/models/create_group_options.rb
54
- - lib/mailslurp_client/models/create_owned_alias_options.rb
56
+ - lib/mailslurp_client/models/create_inbox_dto.rb
55
57
  - lib/mailslurp_client/models/create_template_options.rb
56
58
  - lib/mailslurp_client/models/create_webhook_options.rb
57
59
  - lib/mailslurp_client/models/describe_domain_options.rb
58
60
  - lib/mailslurp_client/models/describe_mail_server_domain_result.rb
61
+ - lib/mailslurp_client/models/dns_lookup_options.rb
62
+ - lib/mailslurp_client/models/dns_lookup_result.rb
63
+ - lib/mailslurp_client/models/dns_lookup_results.rb
59
64
  - lib/mailslurp_client/models/domain_dto.rb
60
65
  - lib/mailslurp_client/models/domain_preview.rb
61
66
  - lib/mailslurp_client/models/download_attachment_dto.rb
@@ -72,6 +77,7 @@ files:
72
77
  - lib/mailslurp_client/models/html_validation_result.rb
73
78
  - lib/mailslurp_client/models/inbox.rb
74
79
  - lib/mailslurp_client/models/inbox_projection.rb
80
+ - lib/mailslurp_client/models/ip_address_result.rb
75
81
  - lib/mailslurp_client/models/match_option.rb
76
82
  - lib/mailslurp_client/models/match_options.rb
77
83
  - lib/mailslurp_client/models/model_alias.rb
@@ -87,6 +93,7 @@ files:
87
93
  - lib/mailslurp_client/models/page_webhook_projection.rb
88
94
  - lib/mailslurp_client/models/pageable.rb
89
95
  - lib/mailslurp_client/models/raw_email_json.rb
96
+ - lib/mailslurp_client/models/reply_to_email_options.rb
90
97
  - lib/mailslurp_client/models/send_email_options.rb
91
98
  - lib/mailslurp_client/models/sent_email_dto.rb
92
99
  - lib/mailslurp_client/models/sent_email_projection.rb
@@ -97,6 +104,7 @@ files:
97
104
  - lib/mailslurp_client/models/template_projection.rb
98
105
  - lib/mailslurp_client/models/template_variable.rb
99
106
  - lib/mailslurp_client/models/unread_count.rb
107
+ - lib/mailslurp_client/models/update_alias_options.rb
100
108
  - lib/mailslurp_client/models/update_group_contacts.rb
101
109
  - lib/mailslurp_client/models/update_inbox_options.rb
102
110
  - lib/mailslurp_client/models/upload_attachment_options.rb