mailslurp_client 15.13.29 → 15.13.30

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 (41) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/api/inbox_controller_api.rb +233 -0
  3. data/lib/mailslurp_client/api/webhook_controller_api.rb +98 -0
  4. data/lib/mailslurp_client/models/attachment_projection.rb +14 -14
  5. data/lib/mailslurp_client/models/bounce_projection.rb +22 -22
  6. data/lib/mailslurp_client/models/bounce_recipient_projection.rb +13 -13
  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_projection.rb +19 -19
  21. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +19 -19
  22. data/lib/mailslurp_client/models/page_missed_email_projection.rb +19 -19
  23. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +19 -19
  24. data/lib/mailslurp_client/models/page_phone_number_projection.rb +19 -19
  25. data/lib/mailslurp_client/models/page_scheduled_jobs.rb +308 -0
  26. data/lib/mailslurp_client/models/page_sms_projection.rb +19 -19
  27. data/lib/mailslurp_client/models/page_template_projection.rb +19 -19
  28. data/lib/mailslurp_client/models/page_thread_projection.rb +19 -19
  29. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +19 -19
  30. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +19 -19
  31. data/lib/mailslurp_client/models/page_webhook_projection.rb +19 -19
  32. data/lib/mailslurp_client/models/page_webhook_result.rb +19 -19
  33. data/lib/mailslurp_client/models/pageable_object.rb +22 -22
  34. data/lib/mailslurp_client/models/phone_number_projection.rb +18 -18
  35. data/lib/mailslurp_client/models/scheduled_job.rb +371 -0
  36. data/lib/mailslurp_client/models/sent_email_projection.rb +59 -59
  37. data/lib/mailslurp_client/models/template_projection.rb +15 -15
  38. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
  39. data/lib/mailslurp_client/version.rb +1 -1
  40. data/lib/mailslurp_client.rb +2 -0
  41. metadata +4 -2
@@ -21,22 +21,22 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :total
23
23
 
24
- attr_accessor :last
25
-
26
24
  attr_accessor :total_elements
27
25
 
28
26
  attr_accessor :total_pages
29
27
 
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 :first
37
-
38
36
  attr_accessor :number_of_elements
39
37
 
38
+ attr_accessor :first
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',
49
48
  :'total_elements' => :'totalElements',
50
49
  :'total_pages' => :'totalPages',
50
+ :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
53
  :'sort' => :'sort',
54
- :'first' => :'first',
55
54
  :'number_of_elements' => :'numberOfElements',
55
+ :'first' => :'first',
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',
67
66
  :'total_elements' => :'Integer',
68
67
  :'total_pages' => :'Integer',
68
+ :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
71
71
  :'sort' => :'Sort',
72
- :'first' => :'Boolean',
73
72
  :'number_of_elements' => :'Integer',
73
+ :'first' => :'Boolean',
74
74
  :'empty' => :'Boolean'
75
75
  }
76
76
  end
@@ -110,10 +110,6 @@ 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
-
117
113
  if attributes.key?(:'total_elements')
118
114
  self.total_elements = attributes[:'total_elements']
119
115
  end
@@ -122,6 +118,10 @@ module MailSlurpClient
122
118
  self.total_pages = attributes[:'total_pages']
123
119
  end
124
120
 
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?(:'first')
138
- self.first = attributes[:'first']
139
- end
140
-
141
137
  if attributes.key?(:'number_of_elements')
142
138
  self.number_of_elements = attributes[:'number_of_elements']
143
139
  end
144
140
 
141
+ if attributes.key?(:'first')
142
+ self.first = attributes[:'first']
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 &&
172
171
  total_elements == o.total_elements &&
173
172
  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
- first == o.first &&
178
177
  number_of_elements == o.number_of_elements &&
178
+ first == o.first &&
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, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
191
+ [content, pageable, total, total_elements, total_pages, last, size, number, sort, number_of_elements, first, 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
-
26
24
  attr_accessor :total_elements
27
25
 
28
26
  attr_accessor :total_pages
29
27
 
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 :first
37
-
38
36
  attr_accessor :number_of_elements
39
37
 
38
+ attr_accessor :first
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',
49
48
  :'total_elements' => :'totalElements',
50
49
  :'total_pages' => :'totalPages',
50
+ :'last' => :'last',
51
51
  :'size' => :'size',
52
52
  :'number' => :'number',
53
53
  :'sort' => :'sort',
54
- :'first' => :'first',
55
54
  :'number_of_elements' => :'numberOfElements',
55
+ :'first' => :'first',
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',
67
66
  :'total_elements' => :'Integer',
68
67
  :'total_pages' => :'Integer',
68
+ :'last' => :'Boolean',
69
69
  :'size' => :'Integer',
70
70
  :'number' => :'Integer',
71
71
  :'sort' => :'Sort',
72
- :'first' => :'Boolean',
73
72
  :'number_of_elements' => :'Integer',
73
+ :'first' => :'Boolean',
74
74
  :'empty' => :'Boolean'
75
75
  }
76
76
  end
@@ -110,10 +110,6 @@ 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
-
117
113
  if attributes.key?(:'total_elements')
118
114
  self.total_elements = attributes[:'total_elements']
119
115
  end
@@ -122,6 +118,10 @@ module MailSlurpClient
122
118
  self.total_pages = attributes[:'total_pages']
123
119
  end
124
120
 
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?(:'first')
138
- self.first = attributes[:'first']
139
- end
140
-
141
137
  if attributes.key?(:'number_of_elements')
142
138
  self.number_of_elements = attributes[:'number_of_elements']
143
139
  end
144
140
 
141
+ if attributes.key?(:'first')
142
+ self.first = attributes[:'first']
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 &&
172
171
  total_elements == o.total_elements &&
173
172
  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
- first == o.first &&
178
177
  number_of_elements == o.number_of_elements &&
178
+ first == o.first &&
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, last, total_elements, total_pages, size, number, sort, first, number_of_elements, empty].hash
191
+ [content, pageable, total, total_elements, total_pages, last, size, number, sort, number_of_elements, first, empty].hash
192
192
  end
193
193
 
194
194
  # Builds the object from hash
@@ -18,23 +18,23 @@ module MailSlurpClient
18
18
 
19
19
  attr_accessor :sort
20
20
 
21
- attr_accessor :page_number
22
-
23
- attr_accessor :page_size
24
-
25
21
  attr_accessor :paged
26
22
 
27
23
  attr_accessor :unpaged
28
24
 
25
+ attr_accessor :page_number
26
+
27
+ attr_accessor :page_size
28
+
29
29
  # Attribute mapping from ruby-style variable name to JSON key.
30
30
  def self.attribute_map
31
31
  {
32
32
  :'offset' => :'offset',
33
33
  :'sort' => :'sort',
34
- :'page_number' => :'pageNumber',
35
- :'page_size' => :'pageSize',
36
34
  :'paged' => :'paged',
37
- :'unpaged' => :'unpaged'
35
+ :'unpaged' => :'unpaged',
36
+ :'page_number' => :'pageNumber',
37
+ :'page_size' => :'pageSize'
38
38
  }
39
39
  end
40
40
 
@@ -43,10 +43,10 @@ module MailSlurpClient
43
43
  {
44
44
  :'offset' => :'Integer',
45
45
  :'sort' => :'Sort',
46
- :'page_number' => :'Integer',
47
- :'page_size' => :'Integer',
48
46
  :'paged' => :'Boolean',
49
- :'unpaged' => :'Boolean'
47
+ :'unpaged' => :'Boolean',
48
+ :'page_number' => :'Integer',
49
+ :'page_size' => :'Integer'
50
50
  }
51
51
  end
52
52
 
@@ -79,14 +79,6 @@ module MailSlurpClient
79
79
  self.sort = attributes[:'sort']
80
80
  end
81
81
 
82
- if attributes.key?(:'page_number')
83
- self.page_number = attributes[:'page_number']
84
- end
85
-
86
- if attributes.key?(:'page_size')
87
- self.page_size = attributes[:'page_size']
88
- end
89
-
90
82
  if attributes.key?(:'paged')
91
83
  self.paged = attributes[:'paged']
92
84
  end
@@ -94,6 +86,14 @@ module MailSlurpClient
94
86
  if attributes.key?(:'unpaged')
95
87
  self.unpaged = attributes[:'unpaged']
96
88
  end
89
+
90
+ if attributes.key?(:'page_number')
91
+ self.page_number = attributes[:'page_number']
92
+ end
93
+
94
+ if attributes.key?(:'page_size')
95
+ self.page_size = attributes[:'page_size']
96
+ end
97
97
  end
98
98
 
99
99
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -116,10 +116,10 @@ module MailSlurpClient
116
116
  self.class == o.class &&
117
117
  offset == o.offset &&
118
118
  sort == o.sort &&
119
- page_number == o.page_number &&
120
- page_size == o.page_size &&
121
119
  paged == o.paged &&
122
- unpaged == o.unpaged
120
+ unpaged == o.unpaged &&
121
+ page_number == o.page_number &&
122
+ page_size == o.page_size
123
123
  end
124
124
 
125
125
  # @see the `==` method
@@ -131,7 +131,7 @@ module MailSlurpClient
131
131
  # Calculates hash code according to all attributes.
132
132
  # @return [Integer] Hash code
133
133
  def hash
134
- [offset, sort, page_number, page_size, paged, unpaged].hash
134
+ [offset, sort, paged, unpaged, page_number, page_size].hash
135
135
  end
136
136
 
137
137
  # Builds the object from hash
@@ -21,10 +21,10 @@ module MailSlurpClient
21
21
 
22
22
  attr_accessor :phone_number
23
23
 
24
- attr_accessor :phone_country
25
-
26
24
  attr_accessor :created_at
27
25
 
26
+ attr_accessor :phone_country
27
+
28
28
  class EnumAttributeValidator
29
29
  attr_reader :datatype
30
30
  attr_reader :allowable_values
@@ -53,8 +53,8 @@ module MailSlurpClient
53
53
  :'id' => :'id',
54
54
  :'user_id' => :'userId',
55
55
  :'phone_number' => :'phoneNumber',
56
- :'phone_country' => :'phoneCountry',
57
- :'created_at' => :'createdAt'
56
+ :'created_at' => :'createdAt',
57
+ :'phone_country' => :'phoneCountry'
58
58
  }
59
59
  end
60
60
 
@@ -64,8 +64,8 @@ module MailSlurpClient
64
64
  :'id' => :'String',
65
65
  :'user_id' => :'String',
66
66
  :'phone_number' => :'String',
67
- :'phone_country' => :'String',
68
- :'created_at' => :'DateTime'
67
+ :'created_at' => :'DateTime',
68
+ :'phone_country' => :'String'
69
69
  }
70
70
  end
71
71
 
@@ -102,13 +102,13 @@ module MailSlurpClient
102
102
  self.phone_number = attributes[:'phone_number']
103
103
  end
104
104
 
105
- if attributes.key?(:'phone_country')
106
- self.phone_country = attributes[:'phone_country']
107
- end
108
-
109
105
  if attributes.key?(:'created_at')
110
106
  self.created_at = attributes[:'created_at']
111
107
  end
108
+
109
+ if attributes.key?(:'phone_country')
110
+ self.phone_country = attributes[:'phone_country']
111
+ end
112
112
  end
113
113
 
114
114
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -127,14 +127,14 @@ module MailSlurpClient
127
127
  invalid_properties.push('invalid value for "phone_number", phone_number cannot be nil.')
128
128
  end
129
129
 
130
- if @phone_country.nil?
131
- invalid_properties.push('invalid value for "phone_country", phone_country cannot be nil.')
132
- end
133
-
134
130
  if @created_at.nil?
135
131
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
136
132
  end
137
133
 
134
+ if @phone_country.nil?
135
+ invalid_properties.push('invalid value for "phone_country", phone_country cannot be nil.')
136
+ end
137
+
138
138
  invalid_properties
139
139
  end
140
140
 
@@ -144,10 +144,10 @@ module MailSlurpClient
144
144
  return false if @id.nil?
145
145
  return false if @user_id.nil?
146
146
  return false if @phone_number.nil?
147
+ return false if @created_at.nil?
147
148
  return false if @phone_country.nil?
148
149
  phone_country_validator = EnumAttributeValidator.new('String', ["US", "GB"])
149
150
  return false unless phone_country_validator.valid?(@phone_country)
150
- return false if @created_at.nil?
151
151
  true
152
152
  end
153
153
 
@@ -169,8 +169,8 @@ module MailSlurpClient
169
169
  id == o.id &&
170
170
  user_id == o.user_id &&
171
171
  phone_number == o.phone_number &&
172
- phone_country == o.phone_country &&
173
- created_at == o.created_at
172
+ created_at == o.created_at &&
173
+ phone_country == o.phone_country
174
174
  end
175
175
 
176
176
  # @see the `==` method
@@ -182,7 +182,7 @@ module MailSlurpClient
182
182
  # Calculates hash code according to all attributes.
183
183
  # @return [Integer] Hash code
184
184
  def hash
185
- [id, user_id, phone_number, phone_country, created_at].hash
185
+ [id, user_id, phone_number, created_at, phone_country].hash
186
186
  end
187
187
 
188
188
  # Builds the object from hash