mailslurp_client 13.0.0 → 14.0.1
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 +19 -1
- data/lib/mailslurp_client/api/attachment_controller_api.rb +7 -1
- data/lib/mailslurp_client/api/bounce_controller_api.rb +13 -1
- data/lib/mailslurp_client/api/bulk_actions_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/common_actions_controller_api.rb +45 -1
- data/lib/mailslurp_client/api/contact_controller_api.rb +7 -1
- data/lib/mailslurp_client/api/domain_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/email_controller_api.rb +17 -5
- data/lib/mailslurp_client/api/expired_controller_api.rb +7 -1
- data/lib/mailslurp_client/api/export_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/form_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/group_controller_api.rb +13 -1
- data/lib/mailslurp_client/api/inbox_controller_api.rb +52 -7
- data/lib/mailslurp_client/api/inbox_forwarder_controller_api.rb +7 -1
- data/lib/mailslurp_client/api/inbox_ruleset_controller_api.rb +7 -1
- data/lib/mailslurp_client/api/mail_server_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/missed_email_controller_api.rb +94 -1
- data/lib/mailslurp_client/api/sent_emails_controller_api.rb +25 -1
- data/lib/mailslurp_client/api/template_controller_api.rb +81 -7
- data/lib/mailslurp_client/api/tracking_controller_api.rb +7 -1
- data/lib/mailslurp_client/api/wait_for_controller_api.rb +22 -7
- data/lib/mailslurp_client/api/webhook_controller_api.rb +268 -8
- data/lib/mailslurp_client/api_client.rb +1 -1
- data/lib/mailslurp_client/api_error.rb +1 -1
- data/lib/mailslurp_client/configuration.rb +1 -1
- data/lib/mailslurp_client/models/abstract_webhook_payload.rb +3 -3
- data/lib/mailslurp_client/models/alias_dto.rb +1 -1
- data/lib/mailslurp_client/models/alias_projection.rb +1 -1
- data/lib/mailslurp_client/models/attachment_entity.rb +1 -1
- data/lib/mailslurp_client/models/attachment_meta_data.rb +1 -1
- data/lib/mailslurp_client/models/attachment_projection.rb +1 -1
- data/lib/mailslurp_client/models/basic_auth_options.rb +1 -1
- data/lib/mailslurp_client/models/bounce_projection.rb +1 -1
- data/lib/mailslurp_client/models/bounce_recipient.rb +1 -1
- data/lib/mailslurp_client/models/bounced_email_dto.rb +1 -1
- data/lib/mailslurp_client/models/bounced_recipient_dto.rb +1 -1
- data/lib/mailslurp_client/models/bulk_send_email_options.rb +1 -1
- data/lib/mailslurp_client/models/condition_option.rb +1 -1
- data/lib/mailslurp_client/models/contact_dto.rb +1 -1
- data/lib/mailslurp_client/models/contact_projection.rb +1 -1
- data/lib/mailslurp_client/models/content_match_options.rb +1 -1
- data/lib/mailslurp_client/models/create_alias_options.rb +1 -1
- data/lib/mailslurp_client/models/create_contact_options.rb +1 -1
- data/lib/mailslurp_client/models/create_domain_options.rb +1 -1
- data/lib/mailslurp_client/models/create_group_options.rb +1 -1
- data/lib/mailslurp_client/models/create_inbox_dto.rb +2 -2
- data/lib/mailslurp_client/models/create_inbox_forwarder_options.rb +1 -1
- data/lib/mailslurp_client/models/create_inbox_ruleset_options.rb +1 -1
- data/lib/mailslurp_client/models/create_template_options.rb +1 -1
- data/lib/mailslurp_client/models/create_tracking_pixel_options.rb +1 -1
- data/lib/mailslurp_client/models/create_webhook_options.rb +3 -3
- data/lib/mailslurp_client/models/describe_domain_options.rb +1 -1
- data/lib/mailslurp_client/models/describe_mail_server_domain_result.rb +1 -1
- data/lib/mailslurp_client/models/dns_lookup_options.rb +1 -1
- data/lib/mailslurp_client/models/dns_lookup_result.rb +1 -1
- data/lib/mailslurp_client/models/dns_lookup_results.rb +1 -1
- data/lib/mailslurp_client/models/domain_dto.rb +1 -1
- data/lib/mailslurp_client/models/domain_name_record.rb +1 -1
- data/lib/mailslurp_client/models/domain_preview.rb +1 -1
- data/lib/mailslurp_client/models/download_attachment_dto.rb +1 -1
- data/lib/mailslurp_client/models/email.rb +29 -11
- data/lib/mailslurp_client/models/email_analysis.rb +1 -1
- data/lib/mailslurp_client/models/email_content_match_result.rb +1 -1
- data/lib/mailslurp_client/models/email_links_result.rb +1 -1
- data/lib/mailslurp_client/models/email_preview.rb +7 -7
- data/lib/mailslurp_client/models/email_projection.rb +1 -1
- data/lib/mailslurp_client/models/email_recipients.rb +230 -0
- data/lib/mailslurp_client/models/email_text_lines_result.rb +1 -1
- data/lib/mailslurp_client/models/email_verification_result.rb +2 -2
- data/lib/mailslurp_client/models/expiration_defaults.rb +1 -1
- data/lib/mailslurp_client/models/expired_inbox_dto.rb +1 -1
- data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +1 -1
- data/lib/mailslurp_client/models/export_link.rb +1 -1
- data/lib/mailslurp_client/models/export_options.rb +1 -1
- data/lib/mailslurp_client/models/forward_email_options.rb +1 -1
- data/lib/mailslurp_client/models/gravatar_url.rb +1 -1
- data/lib/mailslurp_client/models/group_contacts_dto.rb +1 -1
- data/lib/mailslurp_client/models/group_dto.rb +1 -1
- data/lib/mailslurp_client/models/group_projection.rb +1 -1
- data/lib/mailslurp_client/models/html_validation_result.rb +1 -1
- data/lib/mailslurp_client/models/inbox.rb +1 -1
- data/lib/mailslurp_client/models/inbox_forwarder_dto.rb +1 -1
- data/lib/mailslurp_client/models/inbox_forwarder_test_options.rb +1 -1
- data/lib/mailslurp_client/models/inbox_forwarder_test_result.rb +1 -1
- data/lib/mailslurp_client/models/inbox_projection.rb +1 -1
- data/lib/mailslurp_client/models/inbox_ruleset_dto.rb +1 -1
- data/lib/mailslurp_client/models/inbox_ruleset_test_options.rb +1 -1
- data/lib/mailslurp_client/models/inbox_ruleset_test_result.rb +1 -1
- data/lib/mailslurp_client/models/ip_address_result.rb +1 -1
- data/lib/mailslurp_client/models/json_schema_dto.rb +211 -0
- data/lib/mailslurp_client/models/match_option.rb +1 -1
- data/lib/mailslurp_client/models/match_options.rb +1 -1
- data/lib/mailslurp_client/models/missed_email.rb +1 -6
- data/lib/mailslurp_client/models/missed_email_projection.rb +1 -6
- data/lib/mailslurp_client/models/name_server_record.rb +1 -1
- data/lib/mailslurp_client/models/organization_inbox_projection.rb +1 -1
- data/lib/mailslurp_client/models/page_alias.rb +1 -1
- data/lib/mailslurp_client/models/page_attachment_entity.rb +1 -1
- data/lib/mailslurp_client/models/page_bounced_email.rb +1 -1
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +1 -1
- data/lib/mailslurp_client/models/page_contact_projection.rb +1 -1
- data/lib/mailslurp_client/models/page_email_preview.rb +1 -1
- data/lib/mailslurp_client/models/page_email_projection.rb +1 -1
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +1 -1
- data/lib/mailslurp_client/models/page_group_projection.rb +1 -1
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +1 -1
- data/lib/mailslurp_client/models/page_inbox_projection.rb +1 -1
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +1 -1
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +1 -1
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +1 -1
- data/lib/mailslurp_client/models/page_sent_email_projection.rb +1 -1
- data/lib/mailslurp_client/models/page_template_projection.rb +1 -1
- data/lib/mailslurp_client/models/page_thread_projection.rb +1 -1
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +1 -1
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +299 -0
- data/lib/mailslurp_client/models/page_webhook_projection.rb +2 -1
- data/lib/mailslurp_client/models/page_webhook_result.rb +2 -2
- data/lib/mailslurp_client/models/pageable.rb +1 -1
- data/lib/mailslurp_client/models/raw_email_json.rb +1 -1
- data/lib/mailslurp_client/models/{model_alias.rb → recipient.rb} +14 -74
- data/lib/mailslurp_client/models/reply_to_alias_email_options.rb +1 -1
- data/lib/mailslurp_client/models/reply_to_email_options.rb +1 -1
- data/lib/mailslurp_client/models/send_email_options.rb +1 -1
- data/lib/mailslurp_client/models/sender.rb +234 -0
- data/lib/mailslurp_client/models/sent_email_dto.rb +1 -1
- data/lib/mailslurp_client/models/sent_email_projection.rb +1 -1
- data/lib/mailslurp_client/models/set_inbox_favourited_options.rb +1 -1
- data/lib/mailslurp_client/models/simple_send_email_options.rb +1 -1
- data/lib/mailslurp_client/models/sort.rb +1 -1
- data/lib/mailslurp_client/models/template_dto.rb +1 -1
- data/lib/mailslurp_client/models/template_projection.rb +1 -1
- data/lib/mailslurp_client/models/template_variable.rb +1 -1
- data/lib/mailslurp_client/models/test_new_inbox_forwarder_options.rb +1 -1
- data/lib/mailslurp_client/models/test_new_inbox_ruleset_options.rb +1 -1
- data/lib/mailslurp_client/models/thread_projection.rb +1 -1
- data/lib/mailslurp_client/models/tracking_pixel_dto.rb +1 -1
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +1 -1
- data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +254 -0
- data/lib/mailslurp_client/models/unread_count.rb +1 -1
- data/lib/mailslurp_client/models/update_alias_options.rb +1 -1
- data/lib/mailslurp_client/models/update_domain_options.rb +1 -1
- data/lib/mailslurp_client/models/update_group_contacts.rb +1 -1
- data/lib/mailslurp_client/models/update_inbox_options.rb +1 -1
- data/lib/mailslurp_client/models/upload_attachment_options.rb +2 -2
- data/lib/mailslurp_client/models/validation_dto.rb +1 -1
- data/lib/mailslurp_client/models/validation_message.rb +1 -1
- data/lib/mailslurp_client/models/verify_email_address_options.rb +1 -1
- data/lib/mailslurp_client/models/wait_for_conditions.rb +43 -3
- data/lib/mailslurp_client/models/webhook_dto.rb +4 -4
- data/lib/mailslurp_client/models/webhook_email_opened_payload.rb +3 -3
- data/lib/mailslurp_client/models/webhook_email_read_payload.rb +312 -0
- data/lib/mailslurp_client/models/webhook_new_attachment_payload.rb +3 -3
- data/lib/mailslurp_client/models/webhook_new_contact_payload.rb +3 -3
- data/lib/mailslurp_client/models/webhook_new_email_payload.rb +8 -8
- data/lib/mailslurp_client/models/webhook_projection.rb +3 -3
- data/lib/mailslurp_client/models/webhook_redrive_result.rb +234 -0
- data/lib/mailslurp_client/models/{webhook_result_entity.rb → webhook_result_dto.rb} +16 -7
- data/lib/mailslurp_client/models/webhook_test_request.rb +1 -1
- data/lib/mailslurp_client/models/webhook_test_response.rb +1 -1
- data/lib/mailslurp_client/models/webhook_test_result.rb +1 -1
- data/lib/mailslurp_client/version.rb +2 -2
- data/lib/mailslurp_client.rb +10 -3
- metadata +11 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 030214bc3d56a4dc7995fefba3e9b5965618620d41e39753b4a68b6cd4766345
|
4
|
+
data.tar.gz: '094cc76f1012ea506314011beb2f243d297a43dd256fbba1c822abc8ae203416'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd2de45fe97cc5c68d036766e4f7d0f38afc0c7c4f5494b602f5a7e2d611c266f709b25fda7f19c4852d1a28dfe88047ae1197c1b94a78fd999be2ad9c508db7
|
7
|
+
data.tar.gz: bb99463843554d309ee52c6a529d5834f1165cf976ed80326148a5fea53840eff19d1b89e16f275281cf7e842efcfc114224ec4cf2ebd9444e088a7301cdb1b2
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#MailSlurp API
|
3
3
|
|
4
|
-
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
4
|
+
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 6.5.2
|
7
7
|
|
@@ -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
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#MailSlurp API
|
3
3
|
|
4
|
-
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
4
|
+
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 6.5.2
|
7
7
|
|
@@ -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
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#MailSlurp API
|
3
3
|
|
4
|
-
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
4
|
+
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 6.5.2
|
7
7
|
|
@@ -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
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#MailSlurp API
|
3
3
|
|
4
|
-
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
4
|
+
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 6.5.2
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#MailSlurp API
|
3
3
|
|
4
|
-
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
4
|
+
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 6.5.2
|
7
7
|
|
@@ -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
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#MailSlurp API
|
3
3
|
|
4
|
-
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
4
|
+
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 6.5.2
|
7
7
|
|
@@ -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
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#MailSlurp API
|
3
3
|
|
4
|
-
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
4
|
+
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 6.5.2
|
7
7
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#MailSlurp API
|
3
3
|
|
4
|
-
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
4
|
+
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 6.5.2
|
7
7
|
|
@@ -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?
|
@@ -1509,8 +1521,8 @@ module MailSlurpClient
|
|
1509
1521
|
return data, status_code, headers
|
1510
1522
|
end
|
1511
1523
|
|
1512
|
-
# Mark an email as read
|
1513
|
-
# Marks an email as read or unread. Pass boolean read flag to set value.
|
1524
|
+
# Mark an email as read on unread
|
1525
|
+
# Marks an email as read or unread. Pass boolean read flag to set value. This is useful if you want to read an email but keep it as unread
|
1514
1526
|
# @param email_id [String] emailId
|
1515
1527
|
# @param [Hash] opts the optional parameters
|
1516
1528
|
# @option opts [Boolean] :read What value to assign to email read property. Default true. (default to true)
|
@@ -1520,8 +1532,8 @@ module MailSlurpClient
|
|
1520
1532
|
data
|
1521
1533
|
end
|
1522
1534
|
|
1523
|
-
# Mark an email as read
|
1524
|
-
# Marks an email as read or unread. Pass boolean read flag to set value.
|
1535
|
+
# Mark an email as read on unread
|
1536
|
+
# Marks an email as read or unread. Pass boolean read flag to set value. This is useful if you want to read an email but keep it as unread
|
1525
1537
|
# @param email_id [String] emailId
|
1526
1538
|
# @param [Hash] opts the optional parameters
|
1527
1539
|
# @option opts [Boolean] :read What value to assign to email read property. Default true.
|