mailslurp_client 15.17.24 → 15.17.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/api/email_controller_api.rb +64 -0
  3. data/lib/mailslurp_client/api/inbox_controller_api.rb +64 -0
  4. data/lib/mailslurp_client/models/alias_projection.rb +15 -15
  5. data/lib/mailslurp_client/models/bounce_projection.rb +11 -11
  6. data/lib/mailslurp_client/models/connector_projection.rb +15 -15
  7. data/lib/mailslurp_client/models/email_projection.rb +21 -21
  8. data/lib/mailslurp_client/models/inbox_forwarder_event_projection.rb +11 -11
  9. data/lib/mailslurp_client/models/inbox_replier_event_projection.rb +11 -11
  10. data/lib/mailslurp_client/models/missed_email_projection.rb +11 -11
  11. data/lib/mailslurp_client/models/page_alias.rb +16 -17
  12. data/lib/mailslurp_client/models/page_attachment_entity.rb +16 -17
  13. data/lib/mailslurp_client/models/page_bounced_email.rb +16 -17
  14. data/lib/mailslurp_client/models/page_bounced_recipients.rb +16 -17
  15. data/lib/mailslurp_client/models/page_complaint.rb +16 -17
  16. data/lib/mailslurp_client/models/page_connector.rb +16 -17
  17. data/lib/mailslurp_client/models/page_connector_sync_events.rb +16 -17
  18. data/lib/mailslurp_client/models/page_contact_projection.rb +16 -17
  19. data/lib/mailslurp_client/models/page_delivery_status.rb +16 -17
  20. data/lib/mailslurp_client/models/page_email_preview.rb +16 -17
  21. data/lib/mailslurp_client/models/page_email_projection.rb +21 -12
  22. data/lib/mailslurp_client/models/page_email_validation_request.rb +16 -17
  23. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +16 -17
  24. data/lib/mailslurp_client/models/page_group_projection.rb +16 -17
  25. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +16 -17
  26. data/lib/mailslurp_client/models/page_inbox_forwarder_events.rb +16 -17
  27. data/lib/mailslurp_client/models/page_inbox_projection.rb +16 -17
  28. data/lib/mailslurp_client/models/page_inbox_replier_dto.rb +16 -17
  29. data/lib/mailslurp_client/models/page_inbox_replier_events.rb +16 -17
  30. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +16 -17
  31. data/lib/mailslurp_client/models/page_list_unsubscribe_recipients.rb +16 -17
  32. data/lib/mailslurp_client/models/page_missed_email_projection.rb +16 -17
  33. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +16 -17
  34. data/lib/mailslurp_client/models/page_phone_number_projection.rb +16 -17
  35. data/lib/mailslurp_client/models/page_scheduled_jobs.rb +16 -17
  36. data/lib/mailslurp_client/models/page_sent_email_projection.rb +69 -34
  37. data/lib/mailslurp_client/models/page_sent_email_with_queue_projection.rb +69 -34
  38. data/lib/mailslurp_client/models/page_sms_projection.rb +16 -17
  39. data/lib/mailslurp_client/models/page_template_projection.rb +16 -17
  40. data/lib/mailslurp_client/models/page_thread_projection.rb +16 -17
  41. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +16 -17
  42. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +16 -17
  43. data/lib/mailslurp_client/models/page_webhook_projection.rb +16 -17
  44. data/lib/mailslurp_client/models/page_webhook_result.rb +16 -17
  45. data/lib/mailslurp_client/models/pageable_object.rb +10 -10
  46. data/lib/mailslurp_client/models/search_emails_options.rb +328 -0
  47. data/lib/mailslurp_client/models/search_inboxes_options.rb +376 -0
  48. data/lib/mailslurp_client/models/send_with_queue_result.rb +1 -0
  49. data/lib/mailslurp_client/models/sent_email_projection.rb +17 -16
  50. data/lib/mailslurp_client/models/thread_projection.rb +23 -23
  51. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
  52. data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +10 -10
  53. data/lib/mailslurp_client/version.rb +1 -1
  54. data/lib/mailslurp_client.rb +2 -0
  55. metadata +4 -2
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
+ # Collection of items
16
17
  class SendWithQueueResult
17
18
  attr_accessor :id
18
19
 
@@ -13,14 +13,15 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
+ # Collection of items
16
17
  class SentEmailProjection
17
- attr_accessor :subject
18
-
19
18
  attr_accessor :id
20
19
 
20
+ attr_accessor :user_id
21
+
21
22
  attr_accessor :from
22
23
 
23
- attr_accessor :user_id
24
+ attr_accessor :subject
24
25
 
25
26
  attr_accessor :attachments
26
27
 
@@ -41,10 +42,10 @@ module MailSlurpClient
41
42
  # Attribute mapping from ruby-style variable name to JSON key.
42
43
  def self.attribute_map
43
44
  {
44
- :'subject' => :'subject',
45
45
  :'id' => :'id',
46
- :'from' => :'from',
47
46
  :'user_id' => :'userId',
47
+ :'from' => :'from',
48
+ :'subject' => :'subject',
48
49
  :'attachments' => :'attachments',
49
50
  :'inbox_id' => :'inboxId',
50
51
  :'to' => :'to',
@@ -59,10 +60,10 @@ module MailSlurpClient
59
60
  # Attribute type mapping.
60
61
  def self.openapi_types
61
62
  {
62
- :'subject' => :'String',
63
63
  :'id' => :'String',
64
- :'from' => :'String',
65
64
  :'user_id' => :'String',
65
+ :'from' => :'String',
66
+ :'subject' => :'String',
66
67
  :'attachments' => :'Array<String>',
67
68
  :'inbox_id' => :'String',
68
69
  :'to' => :'Array<String>',
@@ -95,20 +96,20 @@ module MailSlurpClient
95
96
  h[k.to_sym] = v
96
97
  }
97
98
 
98
- if attributes.key?(:'subject')
99
- self.subject = attributes[:'subject']
100
- end
101
-
102
99
  if attributes.key?(:'id')
103
100
  self.id = attributes[:'id']
104
101
  end
105
102
 
103
+ if attributes.key?(:'user_id')
104
+ self.user_id = attributes[:'user_id']
105
+ end
106
+
106
107
  if attributes.key?(:'from')
107
108
  self.from = attributes[:'from']
108
109
  end
109
110
 
110
- if attributes.key?(:'user_id')
111
- self.user_id = attributes[:'user_id']
111
+ if attributes.key?(:'subject')
112
+ self.subject = attributes[:'subject']
112
113
  end
113
114
 
114
115
  if attributes.key?(:'attachments')
@@ -215,10 +216,10 @@ module MailSlurpClient
215
216
  def ==(o)
216
217
  return true if self.equal?(o)
217
218
  self.class == o.class &&
218
- subject == o.subject &&
219
219
  id == o.id &&
220
- from == o.from &&
221
220
  user_id == o.user_id &&
221
+ from == o.from &&
222
+ subject == o.subject &&
222
223
  attachments == o.attachments &&
223
224
  inbox_id == o.inbox_id &&
224
225
  to == o.to &&
@@ -238,7 +239,7 @@ module MailSlurpClient
238
239
  # Calculates hash code according to all attributes.
239
240
  # @return [Integer] Hash code
240
241
  def hash
241
- [subject, id, from, user_id, attachments, inbox_id, to, bcc, cc, created_at, body_md5_hash, virtual_send].hash
242
+ [id, user_id, from, subject, attachments, inbox_id, to, bcc, cc, created_at, body_md5_hash, virtual_send].hash
242
243
  end
243
244
 
244
245
  # Builds the object from hash
@@ -15,15 +15,12 @@ require 'date'
15
15
  module MailSlurpClient
16
16
  # A thread is a message thread created for a message received by an alias
17
17
  class ThreadProjection
18
- # Thread subject
19
- attr_accessor :subject
18
+ # Inbox ID
19
+ attr_accessor :inbox_id
20
20
 
21
21
  # User ID
22
22
  attr_accessor :user_id
23
23
 
24
- # Inbox ID
25
- attr_accessor :inbox_id
26
-
27
24
  # To recipients
28
25
  attr_accessor :to
29
26
 
@@ -42,6 +39,9 @@ module MailSlurpClient
42
39
  # Updated at DateTime
43
40
  attr_accessor :updated_at
44
41
 
42
+ # Thread subject
43
+ attr_accessor :subject
44
+
45
45
  # Name of thread
46
46
  attr_accessor :name
47
47
 
@@ -51,15 +51,15 @@ module MailSlurpClient
51
51
  # Attribute mapping from ruby-style variable name to JSON key.
52
52
  def self.attribute_map
53
53
  {
54
- :'subject' => :'subject',
55
- :'user_id' => :'userId',
56
54
  :'inbox_id' => :'inboxId',
55
+ :'user_id' => :'userId',
57
56
  :'to' => :'to',
58
57
  :'bcc' => :'bcc',
59
58
  :'cc' => :'cc',
60
59
  :'alias_id' => :'aliasId',
61
60
  :'created_at' => :'createdAt',
62
61
  :'updated_at' => :'updatedAt',
62
+ :'subject' => :'subject',
63
63
  :'name' => :'name',
64
64
  :'id' => :'id'
65
65
  }
@@ -68,15 +68,15 @@ module MailSlurpClient
68
68
  # Attribute type mapping.
69
69
  def self.openapi_types
70
70
  {
71
- :'subject' => :'String',
72
- :'user_id' => :'String',
73
71
  :'inbox_id' => :'String',
72
+ :'user_id' => :'String',
74
73
  :'to' => :'Array<String>',
75
74
  :'bcc' => :'Array<String>',
76
75
  :'cc' => :'Array<String>',
77
76
  :'alias_id' => :'String',
78
77
  :'created_at' => :'DateTime',
79
78
  :'updated_at' => :'DateTime',
79
+ :'subject' => :'String',
80
80
  :'name' => :'String',
81
81
  :'id' => :'String'
82
82
  }
@@ -103,18 +103,14 @@ module MailSlurpClient
103
103
  h[k.to_sym] = v
104
104
  }
105
105
 
106
- if attributes.key?(:'subject')
107
- self.subject = attributes[:'subject']
106
+ if attributes.key?(:'inbox_id')
107
+ self.inbox_id = attributes[:'inbox_id']
108
108
  end
109
109
 
110
110
  if attributes.key?(:'user_id')
111
111
  self.user_id = attributes[:'user_id']
112
112
  end
113
113
 
114
- if attributes.key?(:'inbox_id')
115
- self.inbox_id = attributes[:'inbox_id']
116
- end
117
-
118
114
  if attributes.key?(:'to')
119
115
  if (value = attributes[:'to']).is_a?(Array)
120
116
  self.to = value
@@ -145,6 +141,10 @@ module MailSlurpClient
145
141
  self.updated_at = attributes[:'updated_at']
146
142
  end
147
143
 
144
+ if attributes.key?(:'subject')
145
+ self.subject = attributes[:'subject']
146
+ end
147
+
148
148
  if attributes.key?(:'name')
149
149
  self.name = attributes[:'name']
150
150
  end
@@ -158,14 +158,14 @@ module MailSlurpClient
158
158
  # @return Array for valid properties with the reasons
159
159
  def list_invalid_properties
160
160
  invalid_properties = Array.new
161
- if @user_id.nil?
162
- invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
163
- end
164
-
165
161
  if @inbox_id.nil?
166
162
  invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
167
163
  end
168
164
 
165
+ if @user_id.nil?
166
+ invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
167
+ end
168
+
169
169
  if @to.nil?
170
170
  invalid_properties.push('invalid value for "to", to cannot be nil.')
171
171
  end
@@ -192,8 +192,8 @@ module MailSlurpClient
192
192
  # Check to see if the all the properties in the model are valid
193
193
  # @return true if the model is valid
194
194
  def valid?
195
- return false if @user_id.nil?
196
195
  return false if @inbox_id.nil?
196
+ return false if @user_id.nil?
197
197
  return false if @to.nil?
198
198
  return false if @alias_id.nil?
199
199
  return false if @created_at.nil?
@@ -207,15 +207,15 @@ module MailSlurpClient
207
207
  def ==(o)
208
208
  return true if self.equal?(o)
209
209
  self.class == o.class &&
210
- subject == o.subject &&
211
- user_id == o.user_id &&
212
210
  inbox_id == o.inbox_id &&
211
+ user_id == o.user_id &&
213
212
  to == o.to &&
214
213
  bcc == o.bcc &&
215
214
  cc == o.cc &&
216
215
  alias_id == o.alias_id &&
217
216
  created_at == o.created_at &&
218
217
  updated_at == o.updated_at &&
218
+ subject == o.subject &&
219
219
  name == o.name &&
220
220
  id == o.id
221
221
  end
@@ -229,7 +229,7 @@ module MailSlurpClient
229
229
  # Calculates hash code according to all attributes.
230
230
  # @return [Integer] Hash code
231
231
  def hash
232
- [subject, user_id, inbox_id, to, bcc, cc, alias_id, created_at, updated_at, name, id].hash
232
+ [inbox_id, user_id, to, bcc, cc, alias_id, created_at, updated_at, subject, name, id].hash
233
233
  end
234
234
 
235
235
  # Builds the object from hash
@@ -15,10 +15,10 @@ require 'date'
15
15
  module MailSlurpClient
16
16
  # Tracking pixel data
17
17
  class TrackingPixelProjection
18
- attr_accessor :user_id
19
-
20
18
  attr_accessor :inbox_id
21
19
 
20
+ attr_accessor :user_id
21
+
22
22
  attr_accessor :sent_email_id
23
23
 
24
24
  attr_accessor :recipient
@@ -36,8 +36,8 @@ module MailSlurpClient
36
36
  # Attribute mapping from ruby-style variable name to JSON key.
37
37
  def self.attribute_map
38
38
  {
39
- :'user_id' => :'userId',
40
39
  :'inbox_id' => :'inboxId',
40
+ :'user_id' => :'userId',
41
41
  :'sent_email_id' => :'sentEmailId',
42
42
  :'recipient' => :'recipient',
43
43
  :'seen' => :'seen',
@@ -51,8 +51,8 @@ module MailSlurpClient
51
51
  # Attribute type mapping.
52
52
  def self.openapi_types
53
53
  {
54
- :'user_id' => :'String',
55
54
  :'inbox_id' => :'String',
55
+ :'user_id' => :'String',
56
56
  :'sent_email_id' => :'String',
57
57
  :'recipient' => :'String',
58
58
  :'seen' => :'Boolean',
@@ -84,14 +84,14 @@ module MailSlurpClient
84
84
  h[k.to_sym] = v
85
85
  }
86
86
 
87
- if attributes.key?(:'user_id')
88
- self.user_id = attributes[:'user_id']
89
- end
90
-
91
87
  if attributes.key?(:'inbox_id')
92
88
  self.inbox_id = attributes[:'inbox_id']
93
89
  end
94
90
 
91
+ if attributes.key?(:'user_id')
92
+ self.user_id = attributes[:'user_id']
93
+ end
94
+
95
95
  if attributes.key?(:'sent_email_id')
96
96
  self.sent_email_id = attributes[:'sent_email_id']
97
97
  end
@@ -159,8 +159,8 @@ module MailSlurpClient
159
159
  def ==(o)
160
160
  return true if self.equal?(o)
161
161
  self.class == o.class &&
162
- user_id == o.user_id &&
163
162
  inbox_id == o.inbox_id &&
163
+ user_id == o.user_id &&
164
164
  sent_email_id == o.sent_email_id &&
165
165
  recipient == o.recipient &&
166
166
  seen == o.seen &&
@@ -179,7 +179,7 @@ module MailSlurpClient
179
179
  # Calculates hash code according to all attributes.
180
180
  # @return [Integer] Hash code
181
181
  def hash
182
- [user_id, inbox_id, sent_email_id, recipient, seen, seen_at, created_at, name, id].hash
182
+ [inbox_id, user_id, sent_email_id, recipient, seen, seen_at, created_at, name, id].hash
183
183
  end
184
184
 
185
185
  # Builds the object from hash
@@ -15,12 +15,12 @@ require 'date'
15
15
  module MailSlurpClient
16
16
  # Unknown missed email projection
17
17
  class UnknownMissedEmailProjection
18
- attr_accessor :subject
19
-
20
18
  attr_accessor :to
21
19
 
22
20
  attr_accessor :created_at
23
21
 
22
+ attr_accessor :subject
23
+
24
24
  attr_accessor :id
25
25
 
26
26
  attr_accessor :from
@@ -28,9 +28,9 @@ module MailSlurpClient
28
28
  # Attribute mapping from ruby-style variable name to JSON key.
29
29
  def self.attribute_map
30
30
  {
31
- :'subject' => :'subject',
32
31
  :'to' => :'to',
33
32
  :'created_at' => :'createdAt',
33
+ :'subject' => :'subject',
34
34
  :'id' => :'id',
35
35
  :'from' => :'from'
36
36
  }
@@ -39,9 +39,9 @@ module MailSlurpClient
39
39
  # Attribute type mapping.
40
40
  def self.openapi_types
41
41
  {
42
- :'subject' => :'String',
43
42
  :'to' => :'Array<String>',
44
43
  :'created_at' => :'DateTime',
44
+ :'subject' => :'String',
45
45
  :'id' => :'String',
46
46
  :'from' => :'String'
47
47
  }
@@ -68,10 +68,6 @@ module MailSlurpClient
68
68
  h[k.to_sym] = v
69
69
  }
70
70
 
71
- if attributes.key?(:'subject')
72
- self.subject = attributes[:'subject']
73
- end
74
-
75
71
  if attributes.key?(:'to')
76
72
  if (value = attributes[:'to']).is_a?(Array)
77
73
  self.to = value
@@ -82,6 +78,10 @@ module MailSlurpClient
82
78
  self.created_at = attributes[:'created_at']
83
79
  end
84
80
 
81
+ if attributes.key?(:'subject')
82
+ self.subject = attributes[:'subject']
83
+ end
84
+
85
85
  if attributes.key?(:'id')
86
86
  self.id = attributes[:'id']
87
87
  end
@@ -119,9 +119,9 @@ module MailSlurpClient
119
119
  def ==(o)
120
120
  return true if self.equal?(o)
121
121
  self.class == o.class &&
122
- subject == o.subject &&
123
122
  to == o.to &&
124
123
  created_at == o.created_at &&
124
+ subject == o.subject &&
125
125
  id == o.id &&
126
126
  from == o.from
127
127
  end
@@ -135,7 +135,7 @@ module MailSlurpClient
135
135
  # Calculates hash code according to all attributes.
136
136
  # @return [Integer] Hash code
137
137
  def hash
138
- [subject, to, created_at, id, from].hash
138
+ [to, created_at, subject, id, from].hash
139
139
  end
140
140
 
141
141
  # 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.17.24'
14
+ VERSION = '15.17.26'
15
15
  end
@@ -208,6 +208,8 @@ require 'mailslurp_client/models/reply_to_alias_email_options'
208
208
  require 'mailslurp_client/models/reply_to_email_options'
209
209
  require 'mailslurp_client/models/scheduled_job'
210
210
  require 'mailslurp_client/models/scheduled_job_dto'
211
+ require 'mailslurp_client/models/search_emails_options'
212
+ require 'mailslurp_client/models/search_inboxes_options'
211
213
  require 'mailslurp_client/models/send_email_body_part'
212
214
  require 'mailslurp_client/models/send_email_options'
213
215
  require 'mailslurp_client/models/send_smtp_envelope_options'
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.17.24
4
+ version: 15.17.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - mailslurp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-22 00:00:00.000000000 Z
11
+ date: 2024-01-23 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/ruby/ for full Ruby documentation. Get
@@ -246,6 +246,8 @@ files:
246
246
  - lib/mailslurp_client/models/reply_to_email_options.rb
247
247
  - lib/mailslurp_client/models/scheduled_job.rb
248
248
  - lib/mailslurp_client/models/scheduled_job_dto.rb
249
+ - lib/mailslurp_client/models/search_emails_options.rb
250
+ - lib/mailslurp_client/models/search_inboxes_options.rb
249
251
  - lib/mailslurp_client/models/send_email_body_part.rb
250
252
  - lib/mailslurp_client/models/send_email_options.rb
251
253
  - lib/mailslurp_client/models/send_smtp_envelope_options.rb