mailslurp_client 15.17.1 → 15.17.2
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/create_inbox_replier_options.rb +3 -2
- data/lib/mailslurp_client/models/email.rb +14 -1
- data/lib/mailslurp_client/models/email_projection.rb +20 -20
- data/lib/mailslurp_client/models/inbox_forwarder_dto.rb +6 -1
- data/lib/mailslurp_client/models/inbox_replier_dto.rb +7 -0
- data/lib/mailslurp_client/models/sent_email_projection.rb +15 -15
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +10 -10
- data/lib/mailslurp_client/models/update_inbox_replier_options.rb +10 -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: '039765324551c965d4abdd1034904be3717c0b3ea97381636ed49d765955d6a1'
|
4
|
+
data.tar.gz: d7c48ba49c44875aa30189bde75246b5f549901c4250df923a0c117a58ffdfa9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4de7848050b62c2ab5b50f6e7de0d71b32b5fc29e39931040f7944fcaa3de471be4d9ed773cd7e68d1b4eebd5a4e9a89bbb8a1f255ca52d64b9f23defb544927
|
7
|
+
data.tar.gz: d161f3c5e041d66d9d966061876fcd7088184afea31eb3a88c375ac4f7b3b04fe9c272551dccb0b8089ff12093549cd364e707988a7efee061aafc32790c2e36
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module MailSlurpClient
|
16
|
-
# Options for creating an inbox replier
|
16
|
+
# Options for creating an inbox replier. Repliers can be attached to inboxes and send automated responses when an inbound email matches given criteria.
|
17
17
|
class CreateInboxReplierOptions
|
18
18
|
# Inbox ID to attach replier to
|
19
19
|
attr_accessor :inbox_id
|
@@ -24,7 +24,7 @@ module MailSlurpClient
|
|
24
24
|
# Field to match against to trigger inbox replier for inbound email
|
25
25
|
attr_accessor :field
|
26
26
|
|
27
|
-
# String or wildcard style match for field specified when evaluating reply rules
|
27
|
+
# String or wildcard style match for field specified when evaluating reply rules. Use `*` to match anything.
|
28
28
|
attr_accessor :match
|
29
29
|
|
30
30
|
# Reply-to email address when sending replying
|
@@ -122,6 +122,7 @@ module MailSlurpClient
|
|
122
122
|
:'subject',
|
123
123
|
:'from',
|
124
124
|
:'charset',
|
125
|
+
:'ignore_reply_to',
|
125
126
|
:'is_html',
|
126
127
|
:'body',
|
127
128
|
:'template_id',
|
@@ -49,6 +49,9 @@ module MailSlurpClient
|
|
49
49
|
# Collection of SMTP headers attached to email
|
50
50
|
attr_accessor :headers
|
51
51
|
|
52
|
+
# Multi-value map of SMTP headers attached to email
|
53
|
+
attr_accessor :headers_map
|
54
|
+
|
52
55
|
# List of IDs of attachments found in the email. Use these IDs with the Inbox and Email Controllers to download attachments and attachment meta data such as filesize, name, extension.
|
53
56
|
attr_accessor :attachments
|
54
57
|
|
@@ -101,6 +104,7 @@ module MailSlurpClient
|
|
101
104
|
:'cc' => :'cc',
|
102
105
|
:'bcc' => :'bcc',
|
103
106
|
:'headers' => :'headers',
|
107
|
+
:'headers_map' => :'headersMap',
|
104
108
|
:'attachments' => :'attachments',
|
105
109
|
:'subject' => :'subject',
|
106
110
|
:'body' => :'body',
|
@@ -132,6 +136,7 @@ module MailSlurpClient
|
|
132
136
|
:'cc' => :'Array<String>',
|
133
137
|
:'bcc' => :'Array<String>',
|
134
138
|
:'headers' => :'Hash<String, String>',
|
139
|
+
:'headers_map' => :'Hash<String, Array<String>>',
|
135
140
|
:'attachments' => :'Array<String>',
|
136
141
|
:'subject' => :'String',
|
137
142
|
:'body' => :'String',
|
@@ -159,6 +164,7 @@ module MailSlurpClient
|
|
159
164
|
:'cc',
|
160
165
|
:'bcc',
|
161
166
|
:'headers',
|
167
|
+
:'headers_map',
|
162
168
|
:'attachments',
|
163
169
|
:'subject',
|
164
170
|
:'body',
|
@@ -241,6 +247,12 @@ module MailSlurpClient
|
|
241
247
|
end
|
242
248
|
end
|
243
249
|
|
250
|
+
if attributes.key?(:'headers_map')
|
251
|
+
if (value = attributes[:'headers_map']).is_a?(Hash)
|
252
|
+
self.headers_map = value
|
253
|
+
end
|
254
|
+
end
|
255
|
+
|
244
256
|
if attributes.key?(:'attachments')
|
245
257
|
if (value = attributes[:'attachments']).is_a?(Array)
|
246
258
|
self.attachments = value
|
@@ -366,6 +378,7 @@ module MailSlurpClient
|
|
366
378
|
cc == o.cc &&
|
367
379
|
bcc == o.bcc &&
|
368
380
|
headers == o.headers &&
|
381
|
+
headers_map == o.headers_map &&
|
369
382
|
attachments == o.attachments &&
|
370
383
|
subject == o.subject &&
|
371
384
|
body == o.body &&
|
@@ -390,7 +403,7 @@ module MailSlurpClient
|
|
390
403
|
# Calculates hash code according to all attributes.
|
391
404
|
# @return [Integer] Hash code
|
392
405
|
def hash
|
393
|
-
[id, user_id, inbox_id, domain_id, to, from, sender, recipients, reply_to, cc, bcc, headers, attachments, subject, body, body_excerpt, body_md5_hash, is_html, charset, analysis, created_at, updated_at, read, team_access, html].hash
|
406
|
+
[id, user_id, inbox_id, domain_id, to, from, sender, recipients, reply_to, cc, bcc, headers, headers_map, attachments, subject, body, body_excerpt, body_md5_hash, is_html, charset, analysis, created_at, updated_at, read, team_access, html].hash
|
394
407
|
end
|
395
408
|
|
396
409
|
# Builds the object from hash
|
@@ -21,20 +21,20 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :subject
|
23
23
|
|
24
|
-
attr_accessor :inbox_id
|
25
|
-
|
26
24
|
attr_accessor :attachments
|
27
25
|
|
26
|
+
attr_accessor :inbox_id
|
27
|
+
|
28
28
|
attr_accessor :created_at
|
29
29
|
|
30
30
|
attr_accessor :to
|
31
31
|
|
32
|
+
attr_accessor :domain_id
|
33
|
+
|
32
34
|
attr_accessor :bcc
|
33
35
|
|
34
36
|
attr_accessor :cc
|
35
37
|
|
36
|
-
attr_accessor :domain_id
|
37
|
-
|
38
38
|
attr_accessor :read
|
39
39
|
|
40
40
|
attr_accessor :body_excerpt
|
@@ -49,13 +49,13 @@ module MailSlurpClient
|
|
49
49
|
:'id' => :'id',
|
50
50
|
:'from' => :'from',
|
51
51
|
:'subject' => :'subject',
|
52
|
-
:'inbox_id' => :'inboxId',
|
53
52
|
:'attachments' => :'attachments',
|
53
|
+
:'inbox_id' => :'inboxId',
|
54
54
|
:'created_at' => :'createdAt',
|
55
55
|
:'to' => :'to',
|
56
|
+
:'domain_id' => :'domainId',
|
56
57
|
:'bcc' => :'bcc',
|
57
58
|
:'cc' => :'cc',
|
58
|
-
:'domain_id' => :'domainId',
|
59
59
|
:'read' => :'read',
|
60
60
|
:'body_excerpt' => :'bodyExcerpt',
|
61
61
|
:'team_access' => :'teamAccess',
|
@@ -69,13 +69,13 @@ module MailSlurpClient
|
|
69
69
|
:'id' => :'String',
|
70
70
|
:'from' => :'String',
|
71
71
|
:'subject' => :'String',
|
72
|
-
:'inbox_id' => :'String',
|
73
72
|
:'attachments' => :'Array<String>',
|
73
|
+
:'inbox_id' => :'String',
|
74
74
|
:'created_at' => :'DateTime',
|
75
75
|
:'to' => :'Array<String>',
|
76
|
+
:'domain_id' => :'String',
|
76
77
|
:'bcc' => :'Array<String>',
|
77
78
|
:'cc' => :'Array<String>',
|
78
|
-
:'domain_id' => :'String',
|
79
79
|
:'read' => :'Boolean',
|
80
80
|
:'body_excerpt' => :'String',
|
81
81
|
:'team_access' => :'Boolean',
|
@@ -89,9 +89,9 @@ module MailSlurpClient
|
|
89
89
|
:'from',
|
90
90
|
:'subject',
|
91
91
|
:'attachments',
|
92
|
+
:'domain_id',
|
92
93
|
:'bcc',
|
93
94
|
:'cc',
|
94
|
-
:'domain_id',
|
95
95
|
:'body_excerpt',
|
96
96
|
:'body_md5_hash'
|
97
97
|
])
|
@@ -124,16 +124,16 @@ module MailSlurpClient
|
|
124
124
|
self.subject = attributes[:'subject']
|
125
125
|
end
|
126
126
|
|
127
|
-
if attributes.key?(:'inbox_id')
|
128
|
-
self.inbox_id = attributes[:'inbox_id']
|
129
|
-
end
|
130
|
-
|
131
127
|
if attributes.key?(:'attachments')
|
132
128
|
if (value = attributes[:'attachments']).is_a?(Array)
|
133
129
|
self.attachments = value
|
134
130
|
end
|
135
131
|
end
|
136
132
|
|
133
|
+
if attributes.key?(:'inbox_id')
|
134
|
+
self.inbox_id = attributes[:'inbox_id']
|
135
|
+
end
|
136
|
+
|
137
137
|
if attributes.key?(:'created_at')
|
138
138
|
self.created_at = attributes[:'created_at']
|
139
139
|
end
|
@@ -144,6 +144,10 @@ module MailSlurpClient
|
|
144
144
|
end
|
145
145
|
end
|
146
146
|
|
147
|
+
if attributes.key?(:'domain_id')
|
148
|
+
self.domain_id = attributes[:'domain_id']
|
149
|
+
end
|
150
|
+
|
147
151
|
if attributes.key?(:'bcc')
|
148
152
|
if (value = attributes[:'bcc']).is_a?(Array)
|
149
153
|
self.bcc = value
|
@@ -156,10 +160,6 @@ module MailSlurpClient
|
|
156
160
|
end
|
157
161
|
end
|
158
162
|
|
159
|
-
if attributes.key?(:'domain_id')
|
160
|
-
self.domain_id = attributes[:'domain_id']
|
161
|
-
end
|
162
|
-
|
163
163
|
if attributes.key?(:'read')
|
164
164
|
self.read = attributes[:'read']
|
165
165
|
end
|
@@ -228,13 +228,13 @@ module MailSlurpClient
|
|
228
228
|
id == o.id &&
|
229
229
|
from == o.from &&
|
230
230
|
subject == o.subject &&
|
231
|
-
inbox_id == o.inbox_id &&
|
232
231
|
attachments == o.attachments &&
|
232
|
+
inbox_id == o.inbox_id &&
|
233
233
|
created_at == o.created_at &&
|
234
234
|
to == o.to &&
|
235
|
+
domain_id == o.domain_id &&
|
235
236
|
bcc == o.bcc &&
|
236
237
|
cc == o.cc &&
|
237
|
-
domain_id == o.domain_id &&
|
238
238
|
read == o.read &&
|
239
239
|
body_excerpt == o.body_excerpt &&
|
240
240
|
team_access == o.team_access &&
|
@@ -250,7 +250,7 @@ module MailSlurpClient
|
|
250
250
|
# Calculates hash code according to all attributes.
|
251
251
|
# @return [Integer] Hash code
|
252
252
|
def hash
|
253
|
-
[id, from, subject,
|
253
|
+
[id, from, subject, attachments, inbox_id, created_at, to, domain_id, bcc, cc, read, body_excerpt, team_access, body_md5_hash].hash
|
254
254
|
end
|
255
255
|
|
256
256
|
# Builds the object from hash
|
@@ -13,18 +13,22 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module MailSlurpClient
|
16
|
-
# Inbox forwarder
|
16
|
+
# Inbox forwarder. Describes how an inbox will forward matching emails to designated recipients.
|
17
17
|
class InboxForwarderDto
|
18
18
|
attr_accessor :id
|
19
19
|
|
20
20
|
attr_accessor :inbox_id
|
21
21
|
|
22
|
+
# Name of inbox forwarder
|
22
23
|
attr_accessor :name
|
23
24
|
|
25
|
+
# Which field to match against
|
24
26
|
attr_accessor :field
|
25
27
|
|
28
|
+
# Wild-card type pattern to apply to field
|
26
29
|
attr_accessor :match
|
27
30
|
|
31
|
+
# Who to send forwarded email to
|
28
32
|
attr_accessor :forward_to_recipients
|
29
33
|
|
30
34
|
attr_accessor :created_at
|
@@ -80,6 +84,7 @@ module MailSlurpClient
|
|
80
84
|
# List of attributes with nullable: true
|
81
85
|
def self.openapi_nullable
|
82
86
|
Set.new([
|
87
|
+
:'name',
|
83
88
|
])
|
84
89
|
end
|
85
90
|
|
@@ -108,6 +108,13 @@ module MailSlurpClient
|
|
108
108
|
# List of attributes with nullable: true
|
109
109
|
def self.openapi_nullable
|
110
110
|
Set.new([
|
111
|
+
:'name',
|
112
|
+
:'reply_to',
|
113
|
+
:'subject',
|
114
|
+
:'from',
|
115
|
+
:'charset',
|
116
|
+
:'template_id',
|
117
|
+
:'template_variables',
|
111
118
|
])
|
112
119
|
end
|
113
120
|
|
@@ -23,10 +23,10 @@ module MailSlurpClient
|
|
23
23
|
|
24
24
|
attr_accessor :user_id
|
25
25
|
|
26
|
-
attr_accessor :inbox_id
|
27
|
-
|
28
26
|
attr_accessor :attachments
|
29
27
|
|
28
|
+
attr_accessor :inbox_id
|
29
|
+
|
30
30
|
attr_accessor :created_at
|
31
31
|
|
32
32
|
attr_accessor :to
|
@@ -46,8 +46,8 @@ module MailSlurpClient
|
|
46
46
|
:'from' => :'from',
|
47
47
|
:'subject' => :'subject',
|
48
48
|
:'user_id' => :'userId',
|
49
|
-
:'inbox_id' => :'inboxId',
|
50
49
|
:'attachments' => :'attachments',
|
50
|
+
:'inbox_id' => :'inboxId',
|
51
51
|
:'created_at' => :'createdAt',
|
52
52
|
:'to' => :'to',
|
53
53
|
:'bcc' => :'bcc',
|
@@ -64,8 +64,8 @@ module MailSlurpClient
|
|
64
64
|
:'from' => :'String',
|
65
65
|
:'subject' => :'String',
|
66
66
|
:'user_id' => :'String',
|
67
|
-
:'inbox_id' => :'String',
|
68
67
|
:'attachments' => :'Array<String>',
|
68
|
+
:'inbox_id' => :'String',
|
69
69
|
:'created_at' => :'DateTime',
|
70
70
|
:'to' => :'Array<String>',
|
71
71
|
:'bcc' => :'Array<String>',
|
@@ -112,16 +112,16 @@ module MailSlurpClient
|
|
112
112
|
self.user_id = attributes[:'user_id']
|
113
113
|
end
|
114
114
|
|
115
|
-
if attributes.key?(:'inbox_id')
|
116
|
-
self.inbox_id = attributes[:'inbox_id']
|
117
|
-
end
|
118
|
-
|
119
115
|
if attributes.key?(:'attachments')
|
120
116
|
if (value = attributes[:'attachments']).is_a?(Array)
|
121
117
|
self.attachments = value
|
122
118
|
end
|
123
119
|
end
|
124
120
|
|
121
|
+
if attributes.key?(:'inbox_id')
|
122
|
+
self.inbox_id = attributes[:'inbox_id']
|
123
|
+
end
|
124
|
+
|
125
125
|
if attributes.key?(:'created_at')
|
126
126
|
self.created_at = attributes[:'created_at']
|
127
127
|
end
|
@@ -165,14 +165,14 @@ module MailSlurpClient
|
|
165
165
|
invalid_properties.push('invalid value for "user_id", user_id cannot be nil.')
|
166
166
|
end
|
167
167
|
|
168
|
-
if @inbox_id.nil?
|
169
|
-
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
170
|
-
end
|
171
|
-
|
172
168
|
if @attachments.nil?
|
173
169
|
invalid_properties.push('invalid value for "attachments", attachments cannot be nil.')
|
174
170
|
end
|
175
171
|
|
172
|
+
if @inbox_id.nil?
|
173
|
+
invalid_properties.push('invalid value for "inbox_id", inbox_id cannot be nil.')
|
174
|
+
end
|
175
|
+
|
176
176
|
if @created_at.nil?
|
177
177
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
178
178
|
end
|
@@ -201,8 +201,8 @@ module MailSlurpClient
|
|
201
201
|
def valid?
|
202
202
|
return false if @id.nil?
|
203
203
|
return false if @user_id.nil?
|
204
|
-
return false if @inbox_id.nil?
|
205
204
|
return false if @attachments.nil?
|
205
|
+
return false if @inbox_id.nil?
|
206
206
|
return false if @created_at.nil?
|
207
207
|
return false if @to.nil?
|
208
208
|
return false if @bcc.nil?
|
@@ -220,8 +220,8 @@ module MailSlurpClient
|
|
220
220
|
from == o.from &&
|
221
221
|
subject == o.subject &&
|
222
222
|
user_id == o.user_id &&
|
223
|
-
inbox_id == o.inbox_id &&
|
224
223
|
attachments == o.attachments &&
|
224
|
+
inbox_id == o.inbox_id &&
|
225
225
|
created_at == o.created_at &&
|
226
226
|
to == o.to &&
|
227
227
|
bcc == o.bcc &&
|
@@ -239,7 +239,7 @@ module MailSlurpClient
|
|
239
239
|
# Calculates hash code according to all attributes.
|
240
240
|
# @return [Integer] Hash code
|
241
241
|
def hash
|
242
|
-
[id, from, subject, user_id,
|
242
|
+
[id, from, subject, user_id, attachments, inbox_id, created_at, to, bcc, cc, body_md5_hash, virtual_send].hash
|
243
243
|
end
|
244
244
|
|
245
245
|
# Builds the object from hash
|
@@ -21,10 +21,10 @@ module MailSlurpClient
|
|
21
21
|
|
22
22
|
attr_accessor :user_id
|
23
23
|
|
24
|
-
attr_accessor :inbox_id
|
25
|
-
|
26
24
|
attr_accessor :sent_email_id
|
27
25
|
|
26
|
+
attr_accessor :inbox_id
|
27
|
+
|
28
28
|
attr_accessor :created_at
|
29
29
|
|
30
30
|
attr_accessor :recipient
|
@@ -39,8 +39,8 @@ module MailSlurpClient
|
|
39
39
|
:'name' => :'name',
|
40
40
|
:'id' => :'id',
|
41
41
|
:'user_id' => :'userId',
|
42
|
-
:'inbox_id' => :'inboxId',
|
43
42
|
:'sent_email_id' => :'sentEmailId',
|
43
|
+
:'inbox_id' => :'inboxId',
|
44
44
|
:'created_at' => :'createdAt',
|
45
45
|
:'recipient' => :'recipient',
|
46
46
|
:'seen' => :'seen',
|
@@ -54,8 +54,8 @@ module MailSlurpClient
|
|
54
54
|
:'name' => :'String',
|
55
55
|
:'id' => :'String',
|
56
56
|
:'user_id' => :'String',
|
57
|
-
:'inbox_id' => :'String',
|
58
57
|
:'sent_email_id' => :'String',
|
58
|
+
:'inbox_id' => :'String',
|
59
59
|
:'created_at' => :'DateTime',
|
60
60
|
:'recipient' => :'String',
|
61
61
|
:'seen' => :'Boolean',
|
@@ -96,14 +96,14 @@ module MailSlurpClient
|
|
96
96
|
self.user_id = attributes[:'user_id']
|
97
97
|
end
|
98
98
|
|
99
|
-
if attributes.key?(:'inbox_id')
|
100
|
-
self.inbox_id = attributes[:'inbox_id']
|
101
|
-
end
|
102
|
-
|
103
99
|
if attributes.key?(:'sent_email_id')
|
104
100
|
self.sent_email_id = attributes[:'sent_email_id']
|
105
101
|
end
|
106
102
|
|
103
|
+
if attributes.key?(:'inbox_id')
|
104
|
+
self.inbox_id = attributes[:'inbox_id']
|
105
|
+
end
|
106
|
+
|
107
107
|
if attributes.key?(:'created_at')
|
108
108
|
self.created_at = attributes[:'created_at']
|
109
109
|
end
|
@@ -162,8 +162,8 @@ module MailSlurpClient
|
|
162
162
|
name == o.name &&
|
163
163
|
id == o.id &&
|
164
164
|
user_id == o.user_id &&
|
165
|
-
inbox_id == o.inbox_id &&
|
166
165
|
sent_email_id == o.sent_email_id &&
|
166
|
+
inbox_id == o.inbox_id &&
|
167
167
|
created_at == o.created_at &&
|
168
168
|
recipient == o.recipient &&
|
169
169
|
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
|
-
[name, id, user_id,
|
182
|
+
[name, id, user_id, sent_email_id, inbox_id, created_at, recipient, seen, seen_at].hash
|
183
183
|
end
|
184
184
|
|
185
185
|
# Builds the object from hash
|
@@ -117,6 +117,16 @@ module MailSlurpClient
|
|
117
117
|
# List of attributes with nullable: true
|
118
118
|
def self.openapi_nullable
|
119
119
|
Set.new([
|
120
|
+
:'name',
|
121
|
+
:'reply_to',
|
122
|
+
:'subject',
|
123
|
+
:'from',
|
124
|
+
:'charset',
|
125
|
+
:'is_html',
|
126
|
+
:'ignore_reply_to',
|
127
|
+
:'body',
|
128
|
+
:'template_id',
|
129
|
+
:'template_variables'
|
120
130
|
])
|
121
131
|
end
|
122
132
|
|
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.
|
4
|
+
version: 15.17.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mailslurp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-22 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
|