mailslurp_client 15.4.1 → 15.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +42 -0
  3. data/lib/mailslurp_client/api/email_controller_api.rb +70 -0
  4. data/lib/mailslurp_client/api/inbox_controller_api.rb +70 -0
  5. data/lib/mailslurp_client/models/alias_projection.rb +13 -13
  6. data/lib/mailslurp_client/models/attachment_projection.rb +28 -28
  7. data/lib/mailslurp_client/models/contact_projection.rb +13 -13
  8. data/lib/mailslurp_client/models/create_inbox_dto.rb +1 -1
  9. data/lib/mailslurp_client/models/email_projection.rb +10 -10
  10. data/lib/mailslurp_client/models/imap_flag_operation_options.rb +261 -0
  11. data/lib/mailslurp_client/models/page_alias.rb +19 -19
  12. data/lib/mailslurp_client/models/page_attachment_entity.rb +19 -19
  13. data/lib/mailslurp_client/models/page_bounced_email.rb +19 -19
  14. data/lib/mailslurp_client/models/page_bounced_recipients.rb +19 -19
  15. data/lib/mailslurp_client/models/page_contact_projection.rb +19 -19
  16. data/lib/mailslurp_client/models/page_email_preview.rb +19 -19
  17. data/lib/mailslurp_client/models/page_email_projection.rb +19 -19
  18. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +19 -19
  19. data/lib/mailslurp_client/models/page_group_projection.rb +19 -19
  20. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +19 -19
  21. data/lib/mailslurp_client/models/page_inbox_projection.rb +19 -19
  22. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +19 -19
  23. data/lib/mailslurp_client/models/page_missed_email_projection.rb +19 -19
  24. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +19 -19
  25. data/lib/mailslurp_client/models/page_template_projection.rb +19 -19
  26. data/lib/mailslurp_client/models/page_thread_projection.rb +19 -19
  27. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +19 -19
  28. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +19 -19
  29. data/lib/mailslurp_client/models/page_webhook_projection.rb +19 -19
  30. data/lib/mailslurp_client/models/page_webhook_result.rb +19 -19
  31. data/lib/mailslurp_client/models/send_smtp_envelope_options.rb +242 -0
  32. data/lib/mailslurp_client/models/sent_email_projection.rb +15 -15
  33. data/lib/mailslurp_client/models/template_projection.rb +15 -15
  34. data/lib/mailslurp_client/models/thread_projection.rb +10 -10
  35. data/lib/mailslurp_client/version.rb +1 -1
  36. data/lib/mailslurp_client.rb +2 -0
  37. metadata +4 -2
@@ -27,12 +27,12 @@ module MailSlurpClient
27
27
 
28
28
  attr_accessor :to
29
29
 
30
- attr_accessor :created_at
31
-
32
30
  attr_accessor :bcc
33
31
 
34
32
  attr_accessor :cc
35
33
 
34
+ attr_accessor :created_at
35
+
36
36
  attr_accessor :updated_at
37
37
 
38
38
  attr_accessor :alias_id
@@ -46,9 +46,9 @@ module MailSlurpClient
46
46
  :'user_id' => :'userId',
47
47
  :'inbox_id' => :'inboxId',
48
48
  :'to' => :'to',
49
- :'created_at' => :'createdAt',
50
49
  :'bcc' => :'bcc',
51
50
  :'cc' => :'cc',
51
+ :'created_at' => :'createdAt',
52
52
  :'updated_at' => :'updatedAt',
53
53
  :'alias_id' => :'aliasId'
54
54
  }
@@ -63,9 +63,9 @@ module MailSlurpClient
63
63
  :'user_id' => :'String',
64
64
  :'inbox_id' => :'String',
65
65
  :'to' => :'Array<String>',
66
- :'created_at' => :'DateTime',
67
66
  :'bcc' => :'Array<String>',
68
67
  :'cc' => :'Array<String>',
68
+ :'created_at' => :'DateTime',
69
69
  :'updated_at' => :'DateTime',
70
70
  :'alias_id' => :'String'
71
71
  }
@@ -118,10 +118,6 @@ module MailSlurpClient
118
118
  end
119
119
  end
120
120
 
121
- if attributes.key?(:'created_at')
122
- self.created_at = attributes[:'created_at']
123
- end
124
-
125
121
  if attributes.key?(:'bcc')
126
122
  if (value = attributes[:'bcc']).is_a?(Array)
127
123
  self.bcc = value
@@ -134,6 +130,10 @@ module MailSlurpClient
134
130
  end
135
131
  end
136
132
 
133
+ if attributes.key?(:'created_at')
134
+ self.created_at = attributes[:'created_at']
135
+ end
136
+
137
137
  if attributes.key?(:'updated_at')
138
138
  self.updated_at = attributes[:'updated_at']
139
139
  end
@@ -202,9 +202,9 @@ module MailSlurpClient
202
202
  user_id == o.user_id &&
203
203
  inbox_id == o.inbox_id &&
204
204
  to == o.to &&
205
- created_at == o.created_at &&
206
205
  bcc == o.bcc &&
207
206
  cc == o.cc &&
207
+ created_at == o.created_at &&
208
208
  updated_at == o.updated_at &&
209
209
  alias_id == o.alias_id
210
210
  end
@@ -218,7 +218,7 @@ module MailSlurpClient
218
218
  # Calculates hash code according to all attributes.
219
219
  # @return [Integer] Hash code
220
220
  def hash
221
- [name, id, subject, user_id, inbox_id, to, created_at, bcc, cc, updated_at, alias_id].hash
221
+ [name, id, subject, user_id, inbox_id, to, bcc, cc, created_at, updated_at, alias_id].hash
222
222
  end
223
223
 
224
224
  # 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.4.1'
14
+ VERSION = '15.5.2'
15
15
  end
@@ -75,6 +75,7 @@ require 'mailslurp_client/models/group_dto'
75
75
  require 'mailslurp_client/models/group_projection'
76
76
  require 'mailslurp_client/models/html_validation_result'
77
77
  require 'mailslurp_client/models/ip_address_result'
78
+ require 'mailslurp_client/models/imap_flag_operation_options'
78
79
  require 'mailslurp_client/models/imap_smtp_access_details'
79
80
  require 'mailslurp_client/models/inbox_by_email_address_result'
80
81
  require 'mailslurp_client/models/inbox_dto'
@@ -123,6 +124,7 @@ require 'mailslurp_client/models/recipient'
123
124
  require 'mailslurp_client/models/reply_to_alias_email_options'
124
125
  require 'mailslurp_client/models/reply_to_email_options'
125
126
  require 'mailslurp_client/models/send_email_options'
127
+ require 'mailslurp_client/models/send_smtp_envelope_options'
126
128
  require 'mailslurp_client/models/sender'
127
129
  require 'mailslurp_client/models/sent_email_dto'
128
130
  require 'mailslurp_client/models/sent_email_projection'
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.1
4
+ version: 15.5.2
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-20 00:00:00.000000000 Z
11
+ date: 2022-01-25 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.
@@ -105,6 +105,7 @@ files:
105
105
  - lib/mailslurp_client/models/group_dto.rb
106
106
  - lib/mailslurp_client/models/group_projection.rb
107
107
  - lib/mailslurp_client/models/html_validation_result.rb
108
+ - lib/mailslurp_client/models/imap_flag_operation_options.rb
108
109
  - lib/mailslurp_client/models/imap_smtp_access_details.rb
109
110
  - lib/mailslurp_client/models/inbox_by_email_address_result.rb
110
111
  - lib/mailslurp_client/models/inbox_dto.rb
@@ -154,6 +155,7 @@ files:
154
155
  - lib/mailslurp_client/models/reply_to_alias_email_options.rb
155
156
  - lib/mailslurp_client/models/reply_to_email_options.rb
156
157
  - lib/mailslurp_client/models/send_email_options.rb
158
+ - lib/mailslurp_client/models/send_smtp_envelope_options.rb
157
159
  - lib/mailslurp_client/models/sender.rb
158
160
  - lib/mailslurp_client/models/sent_email_dto.rb
159
161
  - lib/mailslurp_client/models/sent_email_projection.rb