mailslurp_client 13.1.0 → 14.0.3
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/api/alias_controller_api.rb +18 -0
- data/lib/mailslurp_client/api/attachment_controller_api.rb +6 -0
- data/lib/mailslurp_client/api/bounce_controller_api.rb +12 -0
- data/lib/mailslurp_client/api/common_actions_controller_api.rb +44 -0
- data/lib/mailslurp_client/api/contact_controller_api.rb +6 -0
- data/lib/mailslurp_client/api/email_controller_api.rb +12 -0
- data/lib/mailslurp_client/api/expired_controller_api.rb +6 -0
- data/lib/mailslurp_client/api/group_controller_api.rb +12 -0
- data/lib/mailslurp_client/api/inbox_controller_api.rb +110 -6
- data/lib/mailslurp_client/api/inbox_forwarder_controller_api.rb +6 -0
- data/lib/mailslurp_client/api/inbox_ruleset_controller_api.rb +6 -0
- data/lib/mailslurp_client/api/missed_email_controller_api.rb +18 -0
- data/lib/mailslurp_client/api/sent_emails_controller_api.rb +24 -0
- data/lib/mailslurp_client/api/template_controller_api.rb +6 -0
- data/lib/mailslurp_client/api/tracking_controller_api.rb +6 -0
- data/lib/mailslurp_client/api/wait_for_controller_api.rb +15 -0
- data/lib/mailslurp_client/api/webhook_controller_api.rb +262 -0
- data/lib/mailslurp_client/models/create_inbox_dto.rb +1 -1
- data/lib/mailslurp_client/models/create_inbox_forwarder_options.rb +17 -28
- data/lib/mailslurp_client/models/expiration_defaults.rb +18 -4
- data/lib/mailslurp_client/models/flush_expired_inboxes_result.rb +227 -0
- data/lib/mailslurp_client/models/{inbox_projection.rb → inbox_preview.rb} +22 -24
- data/lib/mailslurp_client/models/json_schema_dto.rb +211 -0
- data/lib/mailslurp_client/models/page_inbox_projection.rb +1 -1
- data/lib/mailslurp_client/models/unseen_error_count_dto.rb +211 -0
- data/lib/mailslurp_client/models/wait_for_conditions.rb +21 -6
- data/lib/mailslurp_client/models/webhook_dto.rb +1 -1
- data/lib/mailslurp_client/models/webhook_result_dto.rb +10 -1
- data/lib/mailslurp_client/version.rb +1 -1
- data/lib/mailslurp_client.rb +4 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 941465ac119d1e37f7e180e657312f72f658caf95ed19f1a1c44d7a74cf591da
|
4
|
+
data.tar.gz: 6dd25e870a6a373240112cf9e89d8bc8f09c172d441fa0ccd0a129ff4fef9259
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e0b3334c4da4855c4158b78fb6b123863f648fb8800637da4d11e1f2e094f178ce39cae1b2f9b64bc38984881a4defccea6d121ff9bc967c207134442539c33
|
7
|
+
data.tar.gz: 4a78ebcf9abb4169da3afd1983b468e3afdbb3f8ba5e3baba62a01f9b2c512922ce3411289bd15392f417e100cbd58e1d43e889a23e03d4e98ff3b9a2db14e10
|
@@ -207,7 +207,9 @@ module MailSlurpClient
|
|
207
207
|
# Get paginated emails for an alias by ID
|
208
208
|
# @param alias_id [String] aliasId
|
209
209
|
# @param [Hash] opts the optional parameters
|
210
|
+
# @option opts [DateTime] :before Optional filter by sent before given date time
|
210
211
|
# @option opts [Integer] :page Optional page index alias email list pagination (default to 0)
|
212
|
+
# @option opts [DateTime] :since Optional filter by sent after given date time
|
211
213
|
# @option opts [Integer] :size Optional page size alias email list pagination (default to 20)
|
212
214
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
213
215
|
# @return [PageEmailProjection]
|
@@ -220,7 +222,9 @@ module MailSlurpClient
|
|
220
222
|
# Get paginated emails for an alias by ID
|
221
223
|
# @param alias_id [String] aliasId
|
222
224
|
# @param [Hash] opts the optional parameters
|
225
|
+
# @option opts [DateTime] :before Optional filter by sent before given date time
|
223
226
|
# @option opts [Integer] :page Optional page index alias email list pagination
|
227
|
+
# @option opts [DateTime] :since Optional filter by sent after given date time
|
224
228
|
# @option opts [Integer] :size Optional page size alias email list pagination
|
225
229
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
226
230
|
# @return [Array<(PageEmailProjection, Integer, Hash)>] PageEmailProjection data, response status code and response headers
|
@@ -241,7 +245,9 @@ module MailSlurpClient
|
|
241
245
|
|
242
246
|
# query parameters
|
243
247
|
query_params = opts[:query_params] || {}
|
248
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
244
249
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
250
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
245
251
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
246
252
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
247
253
|
|
@@ -282,7 +288,9 @@ module MailSlurpClient
|
|
282
288
|
# Returns threads created for an email alias in paginated form
|
283
289
|
# @param alias_id [String] aliasId
|
284
290
|
# @param [Hash] opts the optional parameters
|
291
|
+
# @option opts [DateTime] :before Optional filter by sent before given date time
|
285
292
|
# @option opts [Integer] :page Optional page index in thread list pagination (default to 0)
|
293
|
+
# @option opts [DateTime] :since Optional filter by sent after given date time
|
286
294
|
# @option opts [Integer] :size Optional page size in thread list pagination (default to 20)
|
287
295
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
288
296
|
# @return [PageThreadProjection]
|
@@ -295,7 +303,9 @@ module MailSlurpClient
|
|
295
303
|
# Returns threads created for an email alias in paginated form
|
296
304
|
# @param alias_id [String] aliasId
|
297
305
|
# @param [Hash] opts the optional parameters
|
306
|
+
# @option opts [DateTime] :before Optional filter by sent before given date time
|
298
307
|
# @option opts [Integer] :page Optional page index in thread list pagination
|
308
|
+
# @option opts [DateTime] :since Optional filter by sent after given date time
|
299
309
|
# @option opts [Integer] :size Optional page size in thread list pagination
|
300
310
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
301
311
|
# @return [Array<(PageThreadProjection, Integer, Hash)>] PageThreadProjection data, response status code and response headers
|
@@ -316,7 +326,9 @@ module MailSlurpClient
|
|
316
326
|
|
317
327
|
# query parameters
|
318
328
|
query_params = opts[:query_params] || {}
|
329
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
319
330
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
331
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
320
332
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
321
333
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
322
334
|
|
@@ -356,7 +368,9 @@ module MailSlurpClient
|
|
356
368
|
# Get all email aliases you have created
|
357
369
|
# Get all email aliases in paginated form
|
358
370
|
# @param [Hash] opts the optional parameters
|
371
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
359
372
|
# @option opts [Integer] :page Optional page index in alias list pagination (default to 0)
|
373
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
360
374
|
# @option opts [Integer] :size Optional page size in alias list pagination (default to 20)
|
361
375
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
362
376
|
# @return [PageAlias]
|
@@ -368,7 +382,9 @@ module MailSlurpClient
|
|
368
382
|
# Get all email aliases you have created
|
369
383
|
# Get all email aliases in paginated form
|
370
384
|
# @param [Hash] opts the optional parameters
|
385
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
371
386
|
# @option opts [Integer] :page Optional page index in alias list pagination
|
387
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
372
388
|
# @option opts [Integer] :size Optional page size in alias list pagination
|
373
389
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
374
390
|
# @return [Array<(PageAlias, Integer, Hash)>] PageAlias data, response status code and response headers
|
@@ -385,7 +401,9 @@ module MailSlurpClient
|
|
385
401
|
|
386
402
|
# query parameters
|
387
403
|
query_params = opts[:query_params] || {}
|
404
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
388
405
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
406
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
389
407
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
390
408
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
391
409
|
|
@@ -382,8 +382,10 @@ module MailSlurpClient
|
|
382
382
|
# Get email attachments
|
383
383
|
# Get all attachments in paginated response. Each entity contains meta data for the attachment such as `name` and `content-type`. Use the `attachmentId` and the download endpoints to get the file contents.
|
384
384
|
# @param [Hash] opts the optional parameters
|
385
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
385
386
|
# @option opts [String] :file_name_filter Optional file name and content type search filter
|
386
387
|
# @option opts [Integer] :page Optional page index event list pagination (default to 0)
|
388
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
387
389
|
# @option opts [Integer] :size Optional page size event list pagination (default to 20)
|
388
390
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
389
391
|
# @return [PageAttachmentEntity]
|
@@ -395,8 +397,10 @@ module MailSlurpClient
|
|
395
397
|
# Get email attachments
|
396
398
|
# Get all attachments in paginated response. Each entity contains meta data for the attachment such as `name` and `content-type`. Use the `attachmentId` and the download endpoints to get the file contents.
|
397
399
|
# @param [Hash] opts the optional parameters
|
400
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
398
401
|
# @option opts [String] :file_name_filter Optional file name and content type search filter
|
399
402
|
# @option opts [Integer] :page Optional page index event list pagination
|
403
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
400
404
|
# @option opts [Integer] :size Optional page size event list pagination
|
401
405
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
402
406
|
# @return [Array<(PageAttachmentEntity, Integer, Hash)>] PageAttachmentEntity data, response status code and response headers
|
@@ -413,8 +417,10 @@ module MailSlurpClient
|
|
413
417
|
|
414
418
|
# query parameters
|
415
419
|
query_params = opts[:query_params] || {}
|
420
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
416
421
|
query_params[:'fileNameFilter'] = opts[:'file_name_filter'] if !opts[:'file_name_filter'].nil?
|
417
422
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
423
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
418
424
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
419
425
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
420
426
|
|
@@ -84,7 +84,9 @@ module MailSlurpClient
|
|
84
84
|
# Get paginated list of bounced emails.
|
85
85
|
# Bounced emails are email you have sent that were rejected by a recipient
|
86
86
|
# @param [Hash] opts the optional parameters
|
87
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
87
88
|
# @option opts [Integer] :page Optional page index (default to 0)
|
89
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
88
90
|
# @option opts [Integer] :size Optional page size (default to 20)
|
89
91
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
90
92
|
# @return [PageBouncedEmail]
|
@@ -96,7 +98,9 @@ module MailSlurpClient
|
|
96
98
|
# Get paginated list of bounced emails.
|
97
99
|
# Bounced emails are email you have sent that were rejected by a recipient
|
98
100
|
# @param [Hash] opts the optional parameters
|
101
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
99
102
|
# @option opts [Integer] :page Optional page index
|
103
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
100
104
|
# @option opts [Integer] :size Optional page size
|
101
105
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
102
106
|
# @return [Array<(PageBouncedEmail, Integer, Hash)>] PageBouncedEmail data, response status code and response headers
|
@@ -113,7 +117,9 @@ module MailSlurpClient
|
|
113
117
|
|
114
118
|
# query parameters
|
115
119
|
query_params = opts[:query_params] || {}
|
120
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
116
121
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
122
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
117
123
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
118
124
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
119
125
|
|
@@ -215,7 +221,9 @@ module MailSlurpClient
|
|
215
221
|
# Get paginated list of bounced recipients.
|
216
222
|
# Bounced recipients are email addresses that you have sent emails to that did not accept the sent email. Once a recipient is bounced you cannot send emails to that address.
|
217
223
|
# @param [Hash] opts the optional parameters
|
224
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
218
225
|
# @option opts [Integer] :page Optional page index (default to 0)
|
226
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
219
227
|
# @option opts [Integer] :size Optional page size (default to 20)
|
220
228
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
221
229
|
# @return [PageBouncedRecipients]
|
@@ -227,7 +235,9 @@ module MailSlurpClient
|
|
227
235
|
# Get paginated list of bounced recipients.
|
228
236
|
# Bounced recipients are email addresses that you have sent emails to that did not accept the sent email. Once a recipient is bounced you cannot send emails to that address.
|
229
237
|
# @param [Hash] opts the optional parameters
|
238
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
230
239
|
# @option opts [Integer] :page Optional page index
|
240
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
231
241
|
# @option opts [Integer] :size Optional page size
|
232
242
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
233
243
|
# @return [Array<(PageBouncedRecipients, Integer, Hash)>] PageBouncedRecipients data, response status code and response headers
|
@@ -244,7 +254,9 @@ module MailSlurpClient
|
|
244
254
|
|
245
255
|
# query parameters
|
246
256
|
query_params = opts[:query_params] || {}
|
257
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
247
258
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
259
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
248
260
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
249
261
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
250
262
|
|
@@ -23,8 +23,14 @@ module MailSlurpClient
|
|
23
23
|
# Returns an Inbox with an `id` and an `emailAddress`
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Boolean] :allow_team_access allowTeamAccess
|
26
|
+
# @option opts [String] :description description
|
27
|
+
# @option opts [String] :email_address emailAddress
|
26
28
|
# @option opts [DateTime] :expires_at expiresAt
|
27
29
|
# @option opts [Integer] :expires_in expiresIn
|
30
|
+
# @option opts [Boolean] :favourite favourite
|
31
|
+
# @option opts [String] :inbox_type inboxType
|
32
|
+
# @option opts [String] :name name
|
33
|
+
# @option opts [Array<String>] :tags tags
|
28
34
|
# @option opts [Boolean] :use_domain_pool useDomainPool
|
29
35
|
# @return [Inbox]
|
30
36
|
def create_new_email_address(opts = {})
|
@@ -36,22 +42,38 @@ module MailSlurpClient
|
|
36
42
|
# Returns an Inbox with an `id` and an `emailAddress`
|
37
43
|
# @param [Hash] opts the optional parameters
|
38
44
|
# @option opts [Boolean] :allow_team_access allowTeamAccess
|
45
|
+
# @option opts [String] :description description
|
46
|
+
# @option opts [String] :email_address emailAddress
|
39
47
|
# @option opts [DateTime] :expires_at expiresAt
|
40
48
|
# @option opts [Integer] :expires_in expiresIn
|
49
|
+
# @option opts [Boolean] :favourite favourite
|
50
|
+
# @option opts [String] :inbox_type inboxType
|
51
|
+
# @option opts [String] :name name
|
52
|
+
# @option opts [Array<String>] :tags tags
|
41
53
|
# @option opts [Boolean] :use_domain_pool useDomainPool
|
42
54
|
# @return [Array<(Inbox, Integer, Hash)>] Inbox data, response status code and response headers
|
43
55
|
def create_new_email_address_with_http_info(opts = {})
|
44
56
|
if @api_client.config.debugging
|
45
57
|
@api_client.config.logger.debug 'Calling API: CommonActionsControllerApi.create_new_email_address ...'
|
46
58
|
end
|
59
|
+
allowable_values = ["HTTP_INBOX", "SMTP_INBOX"]
|
60
|
+
if @api_client.config.client_side_validation && opts[:'inbox_type'] && !allowable_values.include?(opts[:'inbox_type'])
|
61
|
+
fail ArgumentError, "invalid value for \"inbox_type\", must be one of #{allowable_values}"
|
62
|
+
end
|
47
63
|
# resource path
|
48
64
|
local_var_path = '/createInbox'
|
49
65
|
|
50
66
|
# query parameters
|
51
67
|
query_params = opts[:query_params] || {}
|
52
68
|
query_params[:'allowTeamAccess'] = opts[:'allow_team_access'] if !opts[:'allow_team_access'].nil?
|
69
|
+
query_params[:'description'] = opts[:'description'] if !opts[:'description'].nil?
|
70
|
+
query_params[:'emailAddress'] = opts[:'email_address'] if !opts[:'email_address'].nil?
|
53
71
|
query_params[:'expiresAt'] = opts[:'expires_at'] if !opts[:'expires_at'].nil?
|
54
72
|
query_params[:'expiresIn'] = opts[:'expires_in'] if !opts[:'expires_in'].nil?
|
73
|
+
query_params[:'favourite'] = opts[:'favourite'] if !opts[:'favourite'].nil?
|
74
|
+
query_params[:'inboxType'] = opts[:'inbox_type'] if !opts[:'inbox_type'].nil?
|
75
|
+
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
76
|
+
query_params[:'tags'] = @api_client.build_collection_param(opts[:'tags'], :multi) if !opts[:'tags'].nil?
|
55
77
|
query_params[:'useDomainPool'] = opts[:'use_domain_pool'] if !opts[:'use_domain_pool'].nil?
|
56
78
|
|
57
79
|
# header parameters
|
@@ -91,8 +113,14 @@ module MailSlurpClient
|
|
91
113
|
# Returns an Inbox with an `id` and an `emailAddress`
|
92
114
|
# @param [Hash] opts the optional parameters
|
93
115
|
# @option opts [Boolean] :allow_team_access allowTeamAccess
|
116
|
+
# @option opts [String] :description description
|
117
|
+
# @option opts [String] :email_address emailAddress
|
94
118
|
# @option opts [DateTime] :expires_at expiresAt
|
95
119
|
# @option opts [Integer] :expires_in expiresIn
|
120
|
+
# @option opts [Boolean] :favourite favourite
|
121
|
+
# @option opts [String] :inbox_type inboxType
|
122
|
+
# @option opts [String] :name name
|
123
|
+
# @option opts [Array<String>] :tags tags
|
96
124
|
# @option opts [Boolean] :use_domain_pool useDomainPool
|
97
125
|
# @return [Inbox]
|
98
126
|
def create_new_email_address1(opts = {})
|
@@ -104,22 +132,38 @@ module MailSlurpClient
|
|
104
132
|
# Returns an Inbox with an `id` and an `emailAddress`
|
105
133
|
# @param [Hash] opts the optional parameters
|
106
134
|
# @option opts [Boolean] :allow_team_access allowTeamAccess
|
135
|
+
# @option opts [String] :description description
|
136
|
+
# @option opts [String] :email_address emailAddress
|
107
137
|
# @option opts [DateTime] :expires_at expiresAt
|
108
138
|
# @option opts [Integer] :expires_in expiresIn
|
139
|
+
# @option opts [Boolean] :favourite favourite
|
140
|
+
# @option opts [String] :inbox_type inboxType
|
141
|
+
# @option opts [String] :name name
|
142
|
+
# @option opts [Array<String>] :tags tags
|
109
143
|
# @option opts [Boolean] :use_domain_pool useDomainPool
|
110
144
|
# @return [Array<(Inbox, Integer, Hash)>] Inbox data, response status code and response headers
|
111
145
|
def create_new_email_address1_with_http_info(opts = {})
|
112
146
|
if @api_client.config.debugging
|
113
147
|
@api_client.config.logger.debug 'Calling API: CommonActionsControllerApi.create_new_email_address1 ...'
|
114
148
|
end
|
149
|
+
allowable_values = ["HTTP_INBOX", "SMTP_INBOX"]
|
150
|
+
if @api_client.config.client_side_validation && opts[:'inbox_type'] && !allowable_values.include?(opts[:'inbox_type'])
|
151
|
+
fail ArgumentError, "invalid value for \"inbox_type\", must be one of #{allowable_values}"
|
152
|
+
end
|
115
153
|
# resource path
|
116
154
|
local_var_path = '/newEmailAddress'
|
117
155
|
|
118
156
|
# query parameters
|
119
157
|
query_params = opts[:query_params] || {}
|
120
158
|
query_params[:'allowTeamAccess'] = opts[:'allow_team_access'] if !opts[:'allow_team_access'].nil?
|
159
|
+
query_params[:'description'] = opts[:'description'] if !opts[:'description'].nil?
|
160
|
+
query_params[:'emailAddress'] = opts[:'email_address'] if !opts[:'email_address'].nil?
|
121
161
|
query_params[:'expiresAt'] = opts[:'expires_at'] if !opts[:'expires_at'].nil?
|
122
162
|
query_params[:'expiresIn'] = opts[:'expires_in'] if !opts[:'expires_in'].nil?
|
163
|
+
query_params[:'favourite'] = opts[:'favourite'] if !opts[:'favourite'].nil?
|
164
|
+
query_params[:'inboxType'] = opts[:'inbox_type'] if !opts[:'inbox_type'].nil?
|
165
|
+
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
166
|
+
query_params[:'tags'] = @api_client.build_collection_param(opts[:'tags'], :multi) if !opts[:'tags'].nil?
|
123
167
|
query_params[:'useDomainPool'] = opts[:'use_domain_pool'] if !opts[:'use_domain_pool'].nil?
|
124
168
|
|
125
169
|
# header parameters
|
@@ -141,7 +141,9 @@ module MailSlurpClient
|
|
141
141
|
|
142
142
|
# Get all contacts
|
143
143
|
# @param [Hash] opts the optional parameters
|
144
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
144
145
|
# @option opts [Integer] :page Optional page index in list pagination (default to 0)
|
146
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
145
147
|
# @option opts [Integer] :size Optional page size in list pagination (default to 20)
|
146
148
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
147
149
|
# @return [PageContactProjection]
|
@@ -152,7 +154,9 @@ module MailSlurpClient
|
|
152
154
|
|
153
155
|
# Get all contacts
|
154
156
|
# @param [Hash] opts the optional parameters
|
157
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
155
158
|
# @option opts [Integer] :page Optional page index in list pagination
|
159
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
156
160
|
# @option opts [Integer] :size Optional page size in list pagination
|
157
161
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
158
162
|
# @return [Array<(PageContactProjection, Integer, Hash)>] PageContactProjection data, response status code and response headers
|
@@ -169,7 +173,9 @@ module MailSlurpClient
|
|
169
173
|
|
170
174
|
# query parameters
|
171
175
|
query_params = opts[:query_params] || {}
|
176
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
172
177
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
178
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
173
179
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
174
180
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
175
181
|
|
@@ -994,9 +994,11 @@ module MailSlurpClient
|
|
994
994
|
# Get all emails in all inboxes in paginated form. Email API list all.
|
995
995
|
# By default returns all emails across all inboxes sorted by ascending created at date. Responses are paginated. You can restrict results to a list of inbox IDs. You can also filter out read messages
|
996
996
|
# @param [Hash] opts the optional parameters
|
997
|
+
# @option opts [DateTime] :before Optional filter emails received before given date time
|
997
998
|
# @option opts [Array<String>] :inbox_id Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account.
|
998
999
|
# @option opts [Integer] :page Optional page index in email list pagination (default to 0)
|
999
1000
|
# @option opts [String] :search_filter Optional search filter. Searches email recipients, sender, subject, email address and ID. Does not search email body (default to 'false')
|
1001
|
+
# @option opts [DateTime] :since Optional filter emails received after given date time
|
1000
1002
|
# @option opts [Integer] :size Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results (default to 20)
|
1001
1003
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
1002
1004
|
# @option opts [Boolean] :unread_only Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly (default to false)
|
@@ -1009,9 +1011,11 @@ module MailSlurpClient
|
|
1009
1011
|
# Get all emails in all inboxes in paginated form. Email API list all.
|
1010
1012
|
# By default returns all emails across all inboxes sorted by ascending created at date. Responses are paginated. You can restrict results to a list of inbox IDs. You can also filter out read messages
|
1011
1013
|
# @param [Hash] opts the optional parameters
|
1014
|
+
# @option opts [DateTime] :before Optional filter emails received before given date time
|
1012
1015
|
# @option opts [Array<String>] :inbox_id Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account.
|
1013
1016
|
# @option opts [Integer] :page Optional page index in email list pagination
|
1014
1017
|
# @option opts [String] :search_filter Optional search filter. Searches email recipients, sender, subject, email address and ID. Does not search email body
|
1018
|
+
# @option opts [DateTime] :since Optional filter emails received after given date time
|
1015
1019
|
# @option opts [Integer] :size Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results
|
1016
1020
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
1017
1021
|
# @option opts [Boolean] :unread_only Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly
|
@@ -1029,9 +1033,11 @@ module MailSlurpClient
|
|
1029
1033
|
|
1030
1034
|
# query parameters
|
1031
1035
|
query_params = opts[:query_params] || {}
|
1036
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
1032
1037
|
query_params[:'inboxId'] = @api_client.build_collection_param(opts[:'inbox_id'], :multi) if !opts[:'inbox_id'].nil?
|
1033
1038
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
1034
1039
|
query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
|
1040
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
1035
1041
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
1036
1042
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
1037
1043
|
query_params[:'unreadOnly'] = opts[:'unread_only'] if !opts[:'unread_only'].nil?
|
@@ -1254,9 +1260,11 @@ module MailSlurpClient
|
|
1254
1260
|
# Get all organization emails. List team or shared test email accounts
|
1255
1261
|
# By default returns all emails across all team inboxes sorted by ascending created at date. Responses are paginated. You can restrict results to a list of inbox IDs. You can also filter out read messages
|
1256
1262
|
# @param [Hash] opts the optional parameters
|
1263
|
+
# @option opts [DateTime] :before Optional filter emails received before given date time
|
1257
1264
|
# @option opts [Array<String>] :inbox_id Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account.
|
1258
1265
|
# @option opts [Integer] :page Optional page index in email list pagination (default to 0)
|
1259
1266
|
# @option opts [String] :search_filter Optional search filter search filter for emails.
|
1267
|
+
# @option opts [DateTime] :since Optional filter emails received after given date time
|
1260
1268
|
# @option opts [Integer] :size Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results (default to 20)
|
1261
1269
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
1262
1270
|
# @option opts [Boolean] :unread_only Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly (default to false)
|
@@ -1269,9 +1277,11 @@ module MailSlurpClient
|
|
1269
1277
|
# Get all organization emails. List team or shared test email accounts
|
1270
1278
|
# By default returns all emails across all team inboxes sorted by ascending created at date. Responses are paginated. You can restrict results to a list of inbox IDs. You can also filter out read messages
|
1271
1279
|
# @param [Hash] opts the optional parameters
|
1280
|
+
# @option opts [DateTime] :before Optional filter emails received before given date time
|
1272
1281
|
# @option opts [Array<String>] :inbox_id Optional inbox ids to filter by. Can be repeated. By default will use all inboxes belonging to your account.
|
1273
1282
|
# @option opts [Integer] :page Optional page index in email list pagination
|
1274
1283
|
# @option opts [String] :search_filter Optional search filter search filter for emails.
|
1284
|
+
# @option opts [DateTime] :since Optional filter emails received after given date time
|
1275
1285
|
# @option opts [Integer] :size Optional page size in email list pagination. Maximum size is 100. Use page index and sort to page through larger results
|
1276
1286
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
1277
1287
|
# @option opts [Boolean] :unread_only Optional filter for unread emails only. All emails are considered unread until they are viewed in the dashboard or requested directly
|
@@ -1289,9 +1299,11 @@ module MailSlurpClient
|
|
1289
1299
|
|
1290
1300
|
# query parameters
|
1291
1301
|
query_params = opts[:query_params] || {}
|
1302
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
1292
1303
|
query_params[:'inboxId'] = @api_client.build_collection_param(opts[:'inbox_id'], :multi) if !opts[:'inbox_id'].nil?
|
1293
1304
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
1294
1305
|
query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
|
1306
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
1295
1307
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
1296
1308
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
1297
1309
|
query_params[:'unreadOnly'] = opts[:'unread_only'] if !opts[:'unread_only'].nil?
|
@@ -202,7 +202,9 @@ module MailSlurpClient
|
|
202
202
|
# List records of expired inboxes
|
203
203
|
# Inboxes created with an expiration date will expire after the given date. An ExpiredInboxRecord is created that records the inboxes old ID and email address. You can still read emails in the inbox (using the inboxes old ID) but the email address associated with the inbox can no longer send or receive emails. Fetch expired inbox records to view the old inboxes properties
|
204
204
|
# @param [Hash] opts the optional parameters
|
205
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
205
206
|
# @option opts [Integer] :page Optional page index in inbox sent email list pagination (default to 0)
|
207
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
206
208
|
# @option opts [Integer] :size Optional page size in inbox sent email list pagination (default to 20)
|
207
209
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
208
210
|
# @return [PageExpiredInboxRecordProjection]
|
@@ -214,7 +216,9 @@ module MailSlurpClient
|
|
214
216
|
# List records of expired inboxes
|
215
217
|
# Inboxes created with an expiration date will expire after the given date. An ExpiredInboxRecord is created that records the inboxes old ID and email address. You can still read emails in the inbox (using the inboxes old ID) but the email address associated with the inbox can no longer send or receive emails. Fetch expired inbox records to view the old inboxes properties
|
216
218
|
# @param [Hash] opts the optional parameters
|
219
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
217
220
|
# @option opts [Integer] :page Optional page index in inbox sent email list pagination
|
221
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
218
222
|
# @option opts [Integer] :size Optional page size in inbox sent email list pagination
|
219
223
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
220
224
|
# @return [Array<(PageExpiredInboxRecordProjection, Integer, Hash)>] PageExpiredInboxRecordProjection data, response status code and response headers
|
@@ -231,7 +235,9 @@ module MailSlurpClient
|
|
231
235
|
|
232
236
|
# query parameters
|
233
237
|
query_params = opts[:query_params] || {}
|
238
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
234
239
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
240
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
235
241
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
236
242
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
237
243
|
|
@@ -209,7 +209,9 @@ module MailSlurpClient
|
|
209
209
|
|
210
210
|
# Get all Contact Groups in paginated format
|
211
211
|
# @param [Hash] opts the optional parameters
|
212
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
212
213
|
# @option opts [Integer] :page Optional page index in list pagination (default to 0)
|
214
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
213
215
|
# @option opts [Integer] :size Optional page size in list pagination (default to 20)
|
214
216
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
215
217
|
# @return [PageGroupProjection]
|
@@ -220,7 +222,9 @@ module MailSlurpClient
|
|
220
222
|
|
221
223
|
# Get all Contact Groups in paginated format
|
222
224
|
# @param [Hash] opts the optional parameters
|
225
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
223
226
|
# @option opts [Integer] :page Optional page index in list pagination
|
227
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
224
228
|
# @option opts [Integer] :size Optional page size in list pagination
|
225
229
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
226
230
|
# @return [Array<(PageGroupProjection, Integer, Hash)>] PageGroupProjection data, response status code and response headers
|
@@ -237,7 +241,9 @@ module MailSlurpClient
|
|
237
241
|
|
238
242
|
# query parameters
|
239
243
|
query_params = opts[:query_params] || {}
|
244
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
240
245
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
246
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
241
247
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
242
248
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
243
249
|
|
@@ -397,7 +403,9 @@ module MailSlurpClient
|
|
397
403
|
# Get group and paginated contacts belonging to it
|
398
404
|
# @param group_id [String] groupId
|
399
405
|
# @param [Hash] opts the optional parameters
|
406
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
400
407
|
# @option opts [Integer] :page Optional page index in group contact pagination (default to 0)
|
408
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
401
409
|
# @option opts [Integer] :size Optional page size in group contact pagination (default to 20)
|
402
410
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
403
411
|
# @return [PageContactProjection]
|
@@ -409,7 +417,9 @@ module MailSlurpClient
|
|
409
417
|
# Get group and paginated contacts belonging to it
|
410
418
|
# @param group_id [String] groupId
|
411
419
|
# @param [Hash] opts the optional parameters
|
420
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
412
421
|
# @option opts [Integer] :page Optional page index in group contact pagination
|
422
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
413
423
|
# @option opts [Integer] :size Optional page size in group contact pagination
|
414
424
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
415
425
|
# @return [Array<(PageContactProjection, Integer, Hash)>] PageContactProjection data, response status code and response headers
|
@@ -430,7 +440,9 @@ module MailSlurpClient
|
|
430
440
|
|
431
441
|
# query parameters
|
432
442
|
query_params = opts[:query_params] || {}
|
443
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
433
444
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
445
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
434
446
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
435
447
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
436
448
|
|