mailslurp_client 15.7.14 → 15.7.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mailslurp_client/models/alias_projection.rb +18 -18
- data/lib/mailslurp_client/models/attachment_entity.rb +1 -0
- data/lib/mailslurp_client/models/attachment_projection.rb +23 -22
- data/lib/mailslurp_client/models/bounce_projection.rb +1 -0
- data/lib/mailslurp_client/models/bounce_recipient.rb +1 -0
- data/lib/mailslurp_client/models/contact_dto.rb +1 -0
- data/lib/mailslurp_client/models/count_dto.rb +1 -0
- data/lib/mailslurp_client/models/create_contact_options.rb +1 -0
- data/lib/mailslurp_client/models/create_group_options.rb +1 -0
- data/lib/mailslurp_client/models/create_template_options.rb +1 -0
- data/lib/mailslurp_client/models/create_tracking_pixel_options.rb +1 -0
- data/lib/mailslurp_client/models/describe_domain_options.rb +1 -0
- data/lib/mailslurp_client/models/email_preview_urls.rb +1 -0
- data/lib/mailslurp_client/models/email_validation_request.rb +1 -0
- data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +1 -0
- data/lib/mailslurp_client/models/filter_bounced_recipients_options.rb +1 -0
- data/lib/mailslurp_client/models/filter_bounced_recipients_result.rb +1 -0
- data/lib/mailslurp_client/models/flush_expired_inboxes_result.rb +1 -0
- data/lib/mailslurp_client/models/gravatar_url.rb +1 -0
- data/lib/mailslurp_client/models/group_contacts_dto.rb +1 -0
- data/lib/mailslurp_client/models/group_projection.rb +1 -0
- data/lib/mailslurp_client/models/imap_flag_operation_options.rb +1 -0
- data/lib/mailslurp_client/models/imap_smtp_access_details.rb +9 -0
- data/lib/mailslurp_client/models/inbox_by_email_address_result.rb +1 -0
- data/lib/mailslurp_client/models/inbox_exists_dto.rb +1 -0
- data/lib/mailslurp_client/models/inbox_forwarder_dto.rb +1 -0
- data/lib/mailslurp_client/models/inbox_forwarder_test_result.rb +1 -0
- data/lib/mailslurp_client/models/inbox_id_item.rb +1 -0
- data/lib/mailslurp_client/models/inbox_ids_result.rb +1 -0
- data/lib/mailslurp_client/models/inbox_preview.rb +1 -0
- data/lib/mailslurp_client/models/inbox_ruleset_dto.rb +1 -0
- data/lib/mailslurp_client/models/inbox_ruleset_test_options.rb +1 -0
- data/lib/mailslurp_client/models/inbox_ruleset_test_result.rb +1 -0
- data/lib/mailslurp_client/models/json_schema_dto.rb +1 -0
- data/lib/mailslurp_client/models/missed_email.rb +1 -0
- data/lib/mailslurp_client/models/missed_email_projection.rb +1 -0
- data/lib/mailslurp_client/models/organization_inbox_projection.rb +1 -0
- data/lib/mailslurp_client/models/page_alias.rb +19 -19
- data/lib/mailslurp_client/models/page_attachment_entity.rb +19 -19
- data/lib/mailslurp_client/models/page_bounced_email.rb +19 -19
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +19 -19
- data/lib/mailslurp_client/models/page_contact_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_email_preview.rb +19 -19
- data/lib/mailslurp_client/models/page_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_email_validation_request.rb +19 -19
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_group_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +19 -19
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_template_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_thread_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_webhook_projection.rb +19 -19
- data/lib/mailslurp_client/models/page_webhook_result.rb +19 -19
- data/lib/mailslurp_client/models/recipient.rb +1 -0
- data/lib/mailslurp_client/models/simple_send_email_options.rb +1 -0
- data/lib/mailslurp_client/models/template_dto.rb +1 -0
- data/lib/mailslurp_client/models/template_projection.rb +19 -18
- data/lib/mailslurp_client/models/template_variable.rb +1 -0
- data/lib/mailslurp_client/models/test_new_inbox_forwarder_options.rb +1 -0
- data/lib/mailslurp_client/models/test_new_inbox_ruleset_options.rb +1 -0
- data/lib/mailslurp_client/models/thread_projection.rb +15 -15
- data/lib/mailslurp_client/models/tracking_pixel_dto.rb +1 -0
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +16 -15
- data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +1 -0
- data/lib/mailslurp_client/models/unread_count.rb +1 -0
- data/lib/mailslurp_client/models/unseen_error_count_dto.rb +1 -0
- data/lib/mailslurp_client/models/update_group_contacts.rb +1 -0
- data/lib/mailslurp_client/models/validate_email_address_list_result.rb +1 -0
- data/lib/mailslurp_client/models/webhook_projection.rb +18 -18
- data/lib/mailslurp_client/models/webhook_redrive_result.rb +1 -0
- data/lib/mailslurp_client/models/webhook_result_dto.rb +1 -0
- data/lib/mailslurp_client/models/webhook_test_request.rb +1 -0
- data/lib/mailslurp_client/models/webhook_test_response.rb +1 -0
- data/lib/mailslurp_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 228705b59c20fd53fa607206ff7fa940cc9415046cbf427f5945dc48d40d146a
|
4
|
+
data.tar.gz: 9625c66adc08d5e5b2df2bf1133c70a590d8778d1686d77a4056737ee9e907bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 547555cfcff62c42067f3e845c3f8037f506f715e4b014d7a8116cfa90280f857926cfcb4ee75d42d7a2e42f1afbb3adbd6a67d096725063c308b489e173d6e2
|
7
|
+
data.tar.gz: d4ed561778340b979dcca59fed8ea9f4e1b2a7ff760fb7431b3111eccdf6a4042769852bf1097f8196ae5f9089534a9520e76857ea0f95b830ca0378e78c48de
|
@@ -25,12 +25,12 @@ module MailSlurpClient
|
|
25
25
|
|
26
26
|
attr_accessor :inbox_id
|
27
27
|
|
28
|
-
attr_accessor :updated_at
|
29
|
-
|
30
28
|
attr_accessor :created_at
|
31
29
|
|
32
30
|
attr_accessor :use_threads
|
33
31
|
|
32
|
+
attr_accessor :updated_at
|
33
|
+
|
34
34
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
35
|
def self.attribute_map
|
36
36
|
{
|
@@ -39,9 +39,9 @@ module MailSlurpClient
|
|
39
39
|
:'user_id' => :'userId',
|
40
40
|
:'email_address' => :'emailAddress',
|
41
41
|
:'inbox_id' => :'inboxId',
|
42
|
-
:'updated_at' => :'updatedAt',
|
43
42
|
:'created_at' => :'createdAt',
|
44
|
-
:'use_threads' => :'useThreads'
|
43
|
+
:'use_threads' => :'useThreads',
|
44
|
+
:'updated_at' => :'updatedAt'
|
45
45
|
}
|
46
46
|
end
|
47
47
|
|
@@ -53,9 +53,9 @@ module MailSlurpClient
|
|
53
53
|
:'user_id' => :'String',
|
54
54
|
:'email_address' => :'String',
|
55
55
|
:'inbox_id' => :'String',
|
56
|
-
:'updated_at' => :'DateTime',
|
57
56
|
:'created_at' => :'DateTime',
|
58
|
-
:'use_threads' => :'Boolean'
|
57
|
+
:'use_threads' => :'Boolean',
|
58
|
+
:'updated_at' => :'DateTime'
|
59
59
|
}
|
60
60
|
end
|
61
61
|
|
@@ -100,10 +100,6 @@ module MailSlurpClient
|
|
100
100
|
self.inbox_id = attributes[:'inbox_id']
|
101
101
|
end
|
102
102
|
|
103
|
-
if attributes.key?(:'updated_at')
|
104
|
-
self.updated_at = attributes[:'updated_at']
|
105
|
-
end
|
106
|
-
|
107
103
|
if attributes.key?(:'created_at')
|
108
104
|
self.created_at = attributes[:'created_at']
|
109
105
|
end
|
@@ -111,6 +107,10 @@ module MailSlurpClient
|
|
111
107
|
if attributes.key?(:'use_threads')
|
112
108
|
self.use_threads = attributes[:'use_threads']
|
113
109
|
end
|
110
|
+
|
111
|
+
if attributes.key?(:'updated_at')
|
112
|
+
self.updated_at = attributes[:'updated_at']
|
113
|
+
end
|
114
114
|
end
|
115
115
|
|
116
116
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -133,14 +133,14 @@ module MailSlurpClient
|
|
133
133
|
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
134
134
|
end
|
135
135
|
|
136
|
-
if @updated_at.nil?
|
137
|
-
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
138
|
-
end
|
139
|
-
|
140
136
|
if @created_at.nil?
|
141
137
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
142
138
|
end
|
143
139
|
|
140
|
+
if @updated_at.nil?
|
141
|
+
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
142
|
+
end
|
143
|
+
|
144
144
|
invalid_properties
|
145
145
|
end
|
146
146
|
|
@@ -151,8 +151,8 @@ module MailSlurpClient
|
|
151
151
|
return false if @user_id.nil?
|
152
152
|
return false if @email_address.nil?
|
153
153
|
return false if @inbox_id.nil?
|
154
|
-
return false if @updated_at.nil?
|
155
154
|
return false if @created_at.nil?
|
155
|
+
return false if @updated_at.nil?
|
156
156
|
true
|
157
157
|
end
|
158
158
|
|
@@ -166,9 +166,9 @@ module MailSlurpClient
|
|
166
166
|
user_id == o.user_id &&
|
167
167
|
email_address == o.email_address &&
|
168
168
|
inbox_id == o.inbox_id &&
|
169
|
-
updated_at == o.updated_at &&
|
170
169
|
created_at == o.created_at &&
|
171
|
-
use_threads == o.use_threads
|
170
|
+
use_threads == o.use_threads &&
|
171
|
+
updated_at == o.updated_at
|
172
172
|
end
|
173
173
|
|
174
174
|
# @see the `==` method
|
@@ -180,7 +180,7 @@ module MailSlurpClient
|
|
180
180
|
# Calculates hash code according to all attributes.
|
181
181
|
# @return [Integer] Hash code
|
182
182
|
def hash
|
183
|
-
[name, id, user_id, email_address, inbox_id,
|
183
|
+
[name, id, user_id, email_address, inbox_id, created_at, use_threads, updated_at].hash
|
184
184
|
end
|
185
185
|
|
186
186
|
# Builds the object from hash
|
@@ -13,34 +13,35 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module MailSlurpClient
|
16
|
+
# Email attachment data
|
16
17
|
class AttachmentProjection
|
17
18
|
attr_accessor :name
|
18
19
|
|
19
20
|
# Content length of attachment in bytes
|
20
21
|
attr_accessor :content_length
|
21
22
|
|
22
|
-
|
23
|
+
# Content type of attachment.
|
24
|
+
attr_accessor :content_type
|
23
25
|
|
24
|
-
attr_accessor :
|
26
|
+
attr_accessor :user_id
|
25
27
|
|
26
28
|
# Attachment ID
|
27
29
|
attr_accessor :attachment_id
|
28
30
|
|
29
31
|
attr_accessor :created_at
|
30
32
|
|
31
|
-
|
32
|
-
attr_accessor :content_type
|
33
|
+
attr_accessor :updated_at
|
33
34
|
|
34
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
35
36
|
def self.attribute_map
|
36
37
|
{
|
37
38
|
:'name' => :'name',
|
38
39
|
:'content_length' => :'contentLength',
|
40
|
+
:'content_type' => :'contentType',
|
39
41
|
:'user_id' => :'userId',
|
40
|
-
:'updated_at' => :'updatedAt',
|
41
42
|
:'attachment_id' => :'attachmentId',
|
42
43
|
:'created_at' => :'createdAt',
|
43
|
-
:'
|
44
|
+
:'updated_at' => :'updatedAt'
|
44
45
|
}
|
45
46
|
end
|
46
47
|
|
@@ -49,11 +50,11 @@ module MailSlurpClient
|
|
49
50
|
{
|
50
51
|
:'name' => :'String',
|
51
52
|
:'content_length' => :'Integer',
|
53
|
+
:'content_type' => :'String',
|
52
54
|
:'user_id' => :'String',
|
53
|
-
:'updated_at' => :'DateTime',
|
54
55
|
:'attachment_id' => :'String',
|
55
56
|
:'created_at' => :'DateTime',
|
56
|
-
:'
|
57
|
+
:'updated_at' => :'DateTime'
|
57
58
|
}
|
58
59
|
end
|
59
60
|
|
@@ -86,12 +87,12 @@ module MailSlurpClient
|
|
86
87
|
self.content_length = attributes[:'content_length']
|
87
88
|
end
|
88
89
|
|
89
|
-
if attributes.key?(:'
|
90
|
-
self.
|
90
|
+
if attributes.key?(:'content_type')
|
91
|
+
self.content_type = attributes[:'content_type']
|
91
92
|
end
|
92
93
|
|
93
|
-
if attributes.key?(:'
|
94
|
-
self.
|
94
|
+
if attributes.key?(:'user_id')
|
95
|
+
self.user_id = attributes[:'user_id']
|
95
96
|
end
|
96
97
|
|
97
98
|
if attributes.key?(:'attachment_id')
|
@@ -102,8 +103,8 @@ module MailSlurpClient
|
|
102
103
|
self.created_at = attributes[:'created_at']
|
103
104
|
end
|
104
105
|
|
105
|
-
if attributes.key?(:'
|
106
|
-
self.
|
106
|
+
if attributes.key?(:'updated_at')
|
107
|
+
self.updated_at = attributes[:'updated_at']
|
107
108
|
end
|
108
109
|
end
|
109
110
|
|
@@ -115,10 +116,6 @@ module MailSlurpClient
|
|
115
116
|
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
116
117
|
end
|
117
118
|
|
118
|
-
if @updated_at.nil?
|
119
|
-
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
120
|
-
end
|
121
|
-
|
122
119
|
if @attachment_id.nil?
|
123
120
|
invalid_properties.push('invalid value for "attachment_id", attachment_id cannot be nil.')
|
124
121
|
end
|
@@ -127,6 +124,10 @@ module MailSlurpClient
|
|
127
124
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
128
125
|
end
|
129
126
|
|
127
|
+
if @updated_at.nil?
|
128
|
+
invalid_properties.push('invalid value for "updated_at", updated_at cannot be nil.')
|
129
|
+
end
|
130
|
+
|
130
131
|
invalid_properties
|
131
132
|
end
|
132
133
|
|
@@ -134,9 +135,9 @@ module MailSlurpClient
|
|
134
135
|
# @return true if the model is valid
|
135
136
|
def valid?
|
136
137
|
return false if @user_id.nil?
|
137
|
-
return false if @updated_at.nil?
|
138
138
|
return false if @attachment_id.nil?
|
139
139
|
return false if @created_at.nil?
|
140
|
+
return false if @updated_at.nil?
|
140
141
|
true
|
141
142
|
end
|
142
143
|
|
@@ -147,11 +148,11 @@ module MailSlurpClient
|
|
147
148
|
self.class == o.class &&
|
148
149
|
name == o.name &&
|
149
150
|
content_length == o.content_length &&
|
151
|
+
content_type == o.content_type &&
|
150
152
|
user_id == o.user_id &&
|
151
|
-
updated_at == o.updated_at &&
|
152
153
|
attachment_id == o.attachment_id &&
|
153
154
|
created_at == o.created_at &&
|
154
|
-
|
155
|
+
updated_at == o.updated_at
|
155
156
|
end
|
156
157
|
|
157
158
|
# @see the `==` method
|
@@ -163,7 +164,7 @@ module MailSlurpClient
|
|
163
164
|
# Calculates hash code according to all attributes.
|
164
165
|
# @return [Integer] Hash code
|
165
166
|
def hash
|
166
|
-
[name, content_length,
|
167
|
+
[name, content_length, content_type, user_id, attachment_id, created_at, updated_at].hash
|
167
168
|
end
|
168
169
|
|
169
170
|
# Builds the object from hash
|
@@ -13,21 +13,30 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module MailSlurpClient
|
16
|
+
# Access details for inbox using SMTP or IMAP
|
16
17
|
class ImapSmtpAccessDetails
|
18
|
+
# SMTP server host domain
|
17
19
|
attr_accessor :smtp_server_host
|
18
20
|
|
21
|
+
# SMTP server host port
|
19
22
|
attr_accessor :smtp_server_port
|
20
23
|
|
24
|
+
# SMTP username for login
|
21
25
|
attr_accessor :smtp_username
|
22
26
|
|
27
|
+
# SMTP for login
|
23
28
|
attr_accessor :smtp_password
|
24
29
|
|
30
|
+
# IMAP server host domain
|
25
31
|
attr_accessor :imap_server_host
|
26
32
|
|
33
|
+
# IMAP server host port
|
27
34
|
attr_accessor :imap_server_port
|
28
35
|
|
36
|
+
# IMAP username for login
|
29
37
|
attr_accessor :imap_username
|
30
38
|
|
39
|
+
# IMAP password for login
|
31
40
|
attr_accessor :imap_password
|
32
41
|
|
33
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module MailSlurpClient
|
16
|
+
# Inbox data
|
16
17
|
class InboxPreview
|
17
18
|
# ID of the inbox. The ID is a UUID-V4 format string. Use the inboxId for calls to Inbox and Email Controller endpoints. See the emailAddress property for the email address or the inbox. To get emails in an inbox use the WaitFor and Inbox Controller methods `waitForLatestEmail` and `getEmails` methods respectively. Inboxes can be used with aliases to forward emails automatically.
|
18
19
|
attr_accessor :id
|
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module MailSlurpClient
|
16
|
+
# Organization team inbox
|
16
17
|
class OrganizationInboxProjection
|
17
18
|
# ID of the inbox. The ID is a UUID-V4 format string. Use the inboxId for calls to Inbox and Email Controller endpoints. See the emailAddress property for the email address or the inbox. To get emails in an inbox use the WaitFor and Inbox Controller methods `waitForLatestEmail` and `getEmails` methods respectively. Inboxes can be used with aliases to forward emails automatically.
|
18
19
|
attr_accessor :id
|