mailslurp_client 15.16.2 → 15.16.4

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 (38) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/api/domain_controller_api.rb +62 -0
  3. data/lib/mailslurp_client/api/inbox_controller_api.rb +3 -0
  4. data/lib/mailslurp_client/models/attachment_projection.rb +15 -15
  5. data/lib/mailslurp_client/models/bounce_recipient_projection.rb +10 -10
  6. data/lib/mailslurp_client/models/email_projection.rb +28 -28
  7. data/lib/mailslurp_client/models/page_alias.rb +19 -19
  8. data/lib/mailslurp_client/models/page_attachment_entity.rb +19 -19
  9. data/lib/mailslurp_client/models/page_bounced_email.rb +19 -19
  10. data/lib/mailslurp_client/models/page_bounced_recipients.rb +19 -19
  11. data/lib/mailslurp_client/models/page_complaint.rb +19 -19
  12. data/lib/mailslurp_client/models/page_contact_projection.rb +19 -19
  13. data/lib/mailslurp_client/models/page_delivery_status.rb +19 -19
  14. data/lib/mailslurp_client/models/page_email_preview.rb +19 -19
  15. data/lib/mailslurp_client/models/page_email_projection.rb +19 -19
  16. data/lib/mailslurp_client/models/page_email_validation_request.rb +19 -19
  17. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +19 -19
  18. data/lib/mailslurp_client/models/page_group_projection.rb +19 -19
  19. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +19 -19
  20. data/lib/mailslurp_client/models/page_inbox_forwarder_events.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_list_unsubscribe_recipients.rb +19 -19
  24. data/lib/mailslurp_client/models/page_missed_email_projection.rb +19 -19
  25. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +19 -19
  26. data/lib/mailslurp_client/models/page_phone_number_projection.rb +19 -19
  27. data/lib/mailslurp_client/models/page_scheduled_jobs.rb +19 -19
  28. data/lib/mailslurp_client/models/page_sms_projection.rb +19 -19
  29. data/lib/mailslurp_client/models/page_template_projection.rb +19 -19
  30. data/lib/mailslurp_client/models/page_thread_projection.rb +19 -19
  31. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +19 -19
  32. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +19 -19
  33. data/lib/mailslurp_client/models/page_webhook_projection.rb +19 -19
  34. data/lib/mailslurp_client/models/page_webhook_result.rb +19 -19
  35. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
  36. data/lib/mailslurp_client/models/webhook_projection.rb +12 -12
  37. data/lib/mailslurp_client/version.rb +1 -1
  38. metadata +2 -2
@@ -21,22 +21,22 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
+ attr_accessor :last
25
+
24
26
  attr_accessor :total_elements
25
27
 
26
28
  attr_accessor :total_pages
27
29
 
28
- attr_accessor :last
29
-
30
30
  attr_accessor :size
31
31
 
32
32
  attr_accessor :number
33
33
 
34
34
  attr_accessor :sort
35
35
 
36
- attr_accessor :number_of_elements
37
-
38
36
  attr_accessor :first
39
37
 
38
+ attr_accessor :number_of_elements
39
+
40
40
  attr_accessor :empty
41
41
 
42
42
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -45,14 +45,14 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
+ :'last' => :'last',
48
49
  :'total_elements' => :'totalElements',
49
50
  :'total_pages' => :'totalPages',
50
- :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
53
  :'sort' => :'sort',
54
- :'number_of_elements' => :'numberOfElements',
55
54
  :'first' => :'first',
55
+ :'number_of_elements' => :'numberOfElements',
56
56
  :'empty' => :'empty'
57
57
  }
58
58
  end
@@ -63,14 +63,14 @@ module MailSlurpClient
63
63
  :'content' => :'Array<WebhookProjection>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
+ :'last' => :'Boolean',
66
67
  :'total_elements' => :'Integer',
67
68
  :'total_pages' => :'Integer',
68
- :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
71
71
  :'sort' => :'Sort',
72
- :'number_of_elements' => :'Integer',
73
72
  :'first' => :'Boolean',
73
+ :'number_of_elements' => :'Integer',
74
74
  :'empty' => :'Boolean'
75
75
  }
76
76
  end
@@ -110,6 +110,10 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
+ if attributes.key?(:'last')
114
+ self.last = attributes[:'last']
115
+ end
116
+
113
117
  if attributes.key?(:'total_elements')
114
118
  self.total_elements = attributes[:'total_elements']
115
119
  end
@@ -118,10 +122,6 @@ module MailSlurpClient
118
122
  self.total_pages = attributes[:'total_pages']
119
123
  end
120
124
 
121
- if attributes.key?(:'last')
122
- self.last = attributes[:'last']
123
- end
124
-
125
125
  if attributes.key?(:'size')
126
126
  self.size = attributes[:'size']
127
127
  end
@@ -134,14 +134,14 @@ module MailSlurpClient
134
134
  self.sort = attributes[:'sort']
135
135
  end
136
136
 
137
- if attributes.key?(:'number_of_elements')
138
- self.number_of_elements = attributes[:'number_of_elements']
139
- end
140
-
141
137
  if attributes.key?(:'first')
142
138
  self.first = attributes[:'first']
143
139
  end
144
140
 
141
+ if attributes.key?(:'number_of_elements')
142
+ self.number_of_elements = attributes[:'number_of_elements']
143
+ end
144
+
145
145
  if attributes.key?(:'empty')
146
146
  self.empty = attributes[:'empty']
147
147
  end
@@ -168,14 +168,14 @@ module MailSlurpClient
168
168
  content == o.content &&
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
+ last == o.last &&
171
172
  total_elements == o.total_elements &&
172
173
  total_pages == o.total_pages &&
173
- last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
176
176
  sort == o.sort &&
177
- number_of_elements == o.number_of_elements &&
178
177
  first == o.first &&
178
+ number_of_elements == o.number_of_elements &&
179
179
  empty == o.empty
180
180
  end
181
181
 
@@ -188,7 +188,7 @@ module MailSlurpClient
188
188
  # Calculates hash code according to all attributes.
189
189
  # @return [Integer] Hash code
190
190
  def hash
191
- [content, pageable, total, total_elements, total_pages, last, size, number, sort, number_of_elements, first, empty].hash
191
+ [content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash
@@ -21,22 +21,22 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
+ attr_accessor :last
25
+
24
26
  attr_accessor :total_elements
25
27
 
26
28
  attr_accessor :total_pages
27
29
 
28
- attr_accessor :last
29
-
30
30
  attr_accessor :size
31
31
 
32
32
  attr_accessor :number
33
33
 
34
34
  attr_accessor :sort
35
35
 
36
- attr_accessor :number_of_elements
37
-
38
36
  attr_accessor :first
39
37
 
38
+ attr_accessor :number_of_elements
39
+
40
40
  attr_accessor :empty
41
41
 
42
42
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -45,14 +45,14 @@ module MailSlurpClient
45
45
  :'content' => :'content',
46
46
  :'pageable' => :'pageable',
47
47
  :'total' => :'total',
48
+ :'last' => :'last',
48
49
  :'total_elements' => :'totalElements',
49
50
  :'total_pages' => :'totalPages',
50
- :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
53
  :'sort' => :'sort',
54
- :'number_of_elements' => :'numberOfElements',
55
54
  :'first' => :'first',
55
+ :'number_of_elements' => :'numberOfElements',
56
56
  :'empty' => :'empty'
57
57
  }
58
58
  end
@@ -63,14 +63,14 @@ module MailSlurpClient
63
63
  :'content' => :'Array<WebhookResultDto>',
64
64
  :'pageable' => :'PageableObject',
65
65
  :'total' => :'Integer',
66
+ :'last' => :'Boolean',
66
67
  :'total_elements' => :'Integer',
67
68
  :'total_pages' => :'Integer',
68
- :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
71
71
  :'sort' => :'Sort',
72
- :'number_of_elements' => :'Integer',
73
72
  :'first' => :'Boolean',
73
+ :'number_of_elements' => :'Integer',
74
74
  :'empty' => :'Boolean'
75
75
  }
76
76
  end
@@ -110,6 +110,10 @@ module MailSlurpClient
110
110
  self.total = attributes[:'total']
111
111
  end
112
112
 
113
+ if attributes.key?(:'last')
114
+ self.last = attributes[:'last']
115
+ end
116
+
113
117
  if attributes.key?(:'total_elements')
114
118
  self.total_elements = attributes[:'total_elements']
115
119
  end
@@ -118,10 +122,6 @@ module MailSlurpClient
118
122
  self.total_pages = attributes[:'total_pages']
119
123
  end
120
124
 
121
- if attributes.key?(:'last')
122
- self.last = attributes[:'last']
123
- end
124
-
125
125
  if attributes.key?(:'size')
126
126
  self.size = attributes[:'size']
127
127
  end
@@ -134,14 +134,14 @@ module MailSlurpClient
134
134
  self.sort = attributes[:'sort']
135
135
  end
136
136
 
137
- if attributes.key?(:'number_of_elements')
138
- self.number_of_elements = attributes[:'number_of_elements']
139
- end
140
-
141
137
  if attributes.key?(:'first')
142
138
  self.first = attributes[:'first']
143
139
  end
144
140
 
141
+ if attributes.key?(:'number_of_elements')
142
+ self.number_of_elements = attributes[:'number_of_elements']
143
+ end
144
+
145
145
  if attributes.key?(:'empty')
146
146
  self.empty = attributes[:'empty']
147
147
  end
@@ -168,14 +168,14 @@ module MailSlurpClient
168
168
  content == o.content &&
169
169
  pageable == o.pageable &&
170
170
  total == o.total &&
171
+ last == o.last &&
171
172
  total_elements == o.total_elements &&
172
173
  total_pages == o.total_pages &&
173
- last == o.last &&
174
174
  size == o.size &&
175
175
  number == o.number &&
176
176
  sort == o.sort &&
177
- number_of_elements == o.number_of_elements &&
178
177
  first == o.first &&
178
+ number_of_elements == o.number_of_elements &&
179
179
  empty == o.empty
180
180
  end
181
181
 
@@ -188,7 +188,7 @@ module MailSlurpClient
188
188
  # Calculates hash code according to all attributes.
189
189
  # @return [Integer] Hash code
190
190
  def hash
191
- [content, pageable, total, total_elements, total_pages, last, size, number, sort, number_of_elements, first, empty].hash
191
+ [content, pageable, total, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash
@@ -23,10 +23,10 @@ module MailSlurpClient
23
23
 
24
24
  attr_accessor :user_id
25
25
 
26
- attr_accessor :sent_email_id
27
-
28
26
  attr_accessor :created_at
29
27
 
28
+ attr_accessor :sent_email_id
29
+
30
30
  attr_accessor :recipient
31
31
 
32
32
  attr_accessor :seen
@@ -40,8 +40,8 @@ module MailSlurpClient
40
40
  :'id' => :'id',
41
41
  :'inbox_id' => :'inboxId',
42
42
  :'user_id' => :'userId',
43
- :'sent_email_id' => :'sentEmailId',
44
43
  :'created_at' => :'createdAt',
44
+ :'sent_email_id' => :'sentEmailId',
45
45
  :'recipient' => :'recipient',
46
46
  :'seen' => :'seen',
47
47
  :'seen_at' => :'seenAt'
@@ -55,8 +55,8 @@ module MailSlurpClient
55
55
  :'id' => :'String',
56
56
  :'inbox_id' => :'String',
57
57
  :'user_id' => :'String',
58
- :'sent_email_id' => :'String',
59
58
  :'created_at' => :'DateTime',
59
+ :'sent_email_id' => :'String',
60
60
  :'recipient' => :'String',
61
61
  :'seen' => :'Boolean',
62
62
  :'seen_at' => :'DateTime'
@@ -100,14 +100,14 @@ module MailSlurpClient
100
100
  self.user_id = attributes[:'user_id']
101
101
  end
102
102
 
103
- if attributes.key?(:'sent_email_id')
104
- self.sent_email_id = attributes[:'sent_email_id']
105
- end
106
-
107
103
  if attributes.key?(:'created_at')
108
104
  self.created_at = attributes[:'created_at']
109
105
  end
110
106
 
107
+ if attributes.key?(:'sent_email_id')
108
+ self.sent_email_id = attributes[:'sent_email_id']
109
+ end
110
+
111
111
  if attributes.key?(:'recipient')
112
112
  self.recipient = attributes[:'recipient']
113
113
  end
@@ -163,8 +163,8 @@ module MailSlurpClient
163
163
  id == o.id &&
164
164
  inbox_id == o.inbox_id &&
165
165
  user_id == o.user_id &&
166
- sent_email_id == o.sent_email_id &&
167
166
  created_at == o.created_at &&
167
+ sent_email_id == o.sent_email_id &&
168
168
  recipient == o.recipient &&
169
169
  seen == o.seen &&
170
170
  seen_at == o.seen_at
@@ -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
- [name, id, inbox_id, user_id, sent_email_id, created_at, recipient, seen, seen_at].hash
182
+ [name, id, inbox_id, user_id, created_at, sent_email_id, recipient, seen, seen_at].hash
183
183
  end
184
184
 
185
185
  # Builds the object from hash
@@ -23,12 +23,12 @@ module MailSlurpClient
23
23
 
24
24
  attr_accessor :inbox_id
25
25
 
26
- attr_accessor :event_name
27
-
28
26
  attr_accessor :created_at
29
27
 
30
28
  attr_accessor :updated_at
31
29
 
30
+ attr_accessor :event_name
31
+
32
32
  attr_accessor :phone_number_id
33
33
 
34
34
  class EnumAttributeValidator
@@ -60,9 +60,9 @@ module MailSlurpClient
60
60
  :'id' => :'id',
61
61
  :'url' => :'url',
62
62
  :'inbox_id' => :'inboxId',
63
- :'event_name' => :'eventName',
64
63
  :'created_at' => :'createdAt',
65
64
  :'updated_at' => :'updatedAt',
65
+ :'event_name' => :'eventName',
66
66
  :'phone_number_id' => :'phoneNumberId'
67
67
  }
68
68
  end
@@ -74,9 +74,9 @@ module MailSlurpClient
74
74
  :'id' => :'String',
75
75
  :'url' => :'String',
76
76
  :'inbox_id' => :'String',
77
- :'event_name' => :'String',
78
77
  :'created_at' => :'DateTime',
79
78
  :'updated_at' => :'DateTime',
79
+ :'event_name' => :'String',
80
80
  :'phone_number_id' => :'String'
81
81
  }
82
82
  end
@@ -118,10 +118,6 @@ module MailSlurpClient
118
118
  self.inbox_id = attributes[:'inbox_id']
119
119
  end
120
120
 
121
- if attributes.key?(:'event_name')
122
- self.event_name = attributes[:'event_name']
123
- end
124
-
125
121
  if attributes.key?(:'created_at')
126
122
  self.created_at = attributes[:'created_at']
127
123
  end
@@ -130,6 +126,10 @@ module MailSlurpClient
130
126
  self.updated_at = attributes[:'updated_at']
131
127
  end
132
128
 
129
+ if attributes.key?(:'event_name')
130
+ self.event_name = attributes[:'event_name']
131
+ end
132
+
133
133
  if attributes.key?(:'phone_number_id')
134
134
  self.phone_number_id = attributes[:'phone_number_id']
135
135
  end
@@ -163,10 +163,10 @@ module MailSlurpClient
163
163
  def valid?
164
164
  return false if @id.nil?
165
165
  return false if @url.nil?
166
- event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "DELIVERY_STATUS", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
167
- return false unless event_name_validator.valid?(@event_name)
168
166
  return false if @created_at.nil?
169
167
  return false if @updated_at.nil?
168
+ event_name_validator = EnumAttributeValidator.new('String', ["EMAIL_RECEIVED", "NEW_EMAIL", "NEW_CONTACT", "NEW_ATTACHMENT", "EMAIL_OPENED", "EMAIL_READ", "DELIVERY_STATUS", "BOUNCE", "BOUNCE_RECIPIENT", "NEW_SMS"])
169
+ return false unless event_name_validator.valid?(@event_name)
170
170
  true
171
171
  end
172
172
 
@@ -189,9 +189,9 @@ module MailSlurpClient
189
189
  id == o.id &&
190
190
  url == o.url &&
191
191
  inbox_id == o.inbox_id &&
192
- event_name == o.event_name &&
193
192
  created_at == o.created_at &&
194
193
  updated_at == o.updated_at &&
194
+ event_name == o.event_name &&
195
195
  phone_number_id == o.phone_number_id
196
196
  end
197
197
 
@@ -204,7 +204,7 @@ module MailSlurpClient
204
204
  # Calculates hash code according to all attributes.
205
205
  # @return [Integer] Hash code
206
206
  def hash
207
- [name, id, url, inbox_id, event_name, created_at, updated_at, phone_number_id].hash
207
+ [name, id, url, inbox_id, created_at, updated_at, event_name, phone_number_id].hash
208
208
  end
209
209
 
210
210
  # 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.16.2'
14
+ VERSION = '15.16.4'
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: 15.16.2
4
+ version: 15.16.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - mailslurp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-17 00:00:00.000000000 Z
11
+ date: 2023-01-20 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