mailslurp_client 13.0.1 → 14.0.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/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 +111 -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 +386 -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 +18 -29
- 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 +19 -5
- 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/flush_expired_inboxes_result.rb +227 -0
- 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 → inbox_preview.rb} +23 -25
- 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 +2 -2
- 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/unseen_error_count_dto.rb +211 -0
- 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} +25 -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 +13 -4
- metadata +14 -5
@@ -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
|
|
@@ -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
|
|
@@ -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
|
|
@@ -22,7 +22,7 @@ module MailSlurpClient
|
|
22
22
|
# Create an inbox email address. An inbox has a real email address and can send and receive emails. Inboxes can be either `SMTP` or `HTTP` inboxes.
|
23
23
|
# Create a new inbox and with a randomized email address to send and receive from. Pass emailAddress parameter if you wish to use a specific email address. Creating an inbox is required before sending or receiving emails. If writing tests it is recommended that you create a new inbox during each test method so that it is unique and empty.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [Boolean] :allow_team_access Grant team access to this inbox and the emails that belong to it for team members of your organization.
|
25
|
+
# @option opts [Boolean] :allow_team_access DEPRECATED (team access is always true). Grant team access to this inbox and the emails that belong to it for team members of your organization.
|
26
26
|
# @option opts [String] :description Optional description of the inbox for labelling purposes. Is shown in the dashboard and can be used with
|
27
27
|
# @option opts [String] :email_address A custom email address to use with the inbox. Defaults to null. When null MailSlurp will assign a random email address to the inbox such as `123@mailslurp.com`. If you use the `useDomainPool` option when the email address is null it will generate an email address with a more varied domain ending such as `123@mailslurp.info` or `123@mailslurp.biz`. When a custom email address is provided the address is split into a domain and the domain is queried against your user. If you have created the domain in the MailSlurp dashboard and verified it you can use any email address that ends with the domain. Note domain types must match the inbox type - so `SMTP` inboxes will only work with `SMTP` type domains. Send an email to this address and the inbox will receive and store it for you. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID.
|
28
28
|
# @option opts [DateTime] :expires_at Optional inbox expiration date. If null then this inbox is permanent and the emails in it won't be deleted. If an expiration date is provided or is required by your plan the inbox will be closed when the expiration time is reached. Expired inboxes still contain their emails but can no longer send or receive emails. An ExpiredInboxRecord is created when an inbox and the email address and inbox ID are recorded. The expiresAt property is a timestamp string in ISO DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSXXX.
|
@@ -41,7 +41,7 @@ module MailSlurpClient
|
|
41
41
|
# Create an inbox email address. An inbox has a real email address and can send and receive emails. Inboxes can be either `SMTP` or `HTTP` inboxes.
|
42
42
|
# Create a new inbox and with a randomized email address to send and receive from. Pass emailAddress parameter if you wish to use a specific email address. Creating an inbox is required before sending or receiving emails. If writing tests it is recommended that you create a new inbox during each test method so that it is unique and empty.
|
43
43
|
# @param [Hash] opts the optional parameters
|
44
|
-
# @option opts [Boolean] :allow_team_access Grant team access to this inbox and the emails that belong to it for team members of your organization.
|
44
|
+
# @option opts [Boolean] :allow_team_access DEPRECATED (team access is always true). Grant team access to this inbox and the emails that belong to it for team members of your organization.
|
45
45
|
# @option opts [String] :description Optional description of the inbox for labelling purposes. Is shown in the dashboard and can be used with
|
46
46
|
# @option opts [String] :email_address A custom email address to use with the inbox. Defaults to null. When null MailSlurp will assign a random email address to the inbox such as `123@mailslurp.com`. If you use the `useDomainPool` option when the email address is null it will generate an email address with a more varied domain ending such as `123@mailslurp.info` or `123@mailslurp.biz`. When a custom email address is provided the address is split into a domain and the domain is queried against your user. If you have created the domain in the MailSlurp dashboard and verified it you can use any email address that ends with the domain. Note domain types must match the inbox type - so `SMTP` inboxes will only work with `SMTP` type domains. Send an email to this address and the inbox will receive and store it for you. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID.
|
47
47
|
# @option opts [DateTime] :expires_at Optional inbox expiration date. If null then this inbox is permanent and the emails in it won't be deleted. If an expiration date is provided or is required by your plan the inbox will be closed when the expiration time is reached. Expired inboxes still contain their emails but can no longer send or receive emails. An ExpiredInboxRecord is created when an inbox and the email address and inbox ID are recorded. The expiresAt property is a timestamp string in ISO DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSXXX.
|
@@ -411,16 +411,77 @@ module MailSlurpClient
|
|
411
411
|
return data, status_code, headers
|
412
412
|
end
|
413
413
|
|
414
|
+
# Remove expired inboxes
|
415
|
+
# Remove any expired inboxes for your account (instead of waiting for scheduled removal on server)
|
416
|
+
# @param [Hash] opts the optional parameters
|
417
|
+
# @option opts [DateTime] :before Optional expired at before flag to flush expired inboxes that have expired before the given time
|
418
|
+
# @return [FlushExpiredInboxesResult]
|
419
|
+
def flush_expired(opts = {})
|
420
|
+
data, _status_code, _headers = flush_expired_with_http_info(opts)
|
421
|
+
data
|
422
|
+
end
|
423
|
+
|
424
|
+
# Remove expired inboxes
|
425
|
+
# Remove any expired inboxes for your account (instead of waiting for scheduled removal on server)
|
426
|
+
# @param [Hash] opts the optional parameters
|
427
|
+
# @option opts [DateTime] :before Optional expired at before flag to flush expired inboxes that have expired before the given time
|
428
|
+
# @return [Array<(FlushExpiredInboxesResult, Integer, Hash)>] FlushExpiredInboxesResult data, response status code and response headers
|
429
|
+
def flush_expired_with_http_info(opts = {})
|
430
|
+
if @api_client.config.debugging
|
431
|
+
@api_client.config.logger.debug 'Calling API: InboxControllerApi.flush_expired ...'
|
432
|
+
end
|
433
|
+
# resource path
|
434
|
+
local_var_path = '/inboxes/expired'
|
435
|
+
|
436
|
+
# query parameters
|
437
|
+
query_params = opts[:query_params] || {}
|
438
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
439
|
+
|
440
|
+
# header parameters
|
441
|
+
header_params = opts[:header_params] || {}
|
442
|
+
# HTTP header 'Accept' (if needed)
|
443
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
444
|
+
|
445
|
+
# form parameters
|
446
|
+
form_params = opts[:form_params] || {}
|
447
|
+
|
448
|
+
# http body (model)
|
449
|
+
post_body = opts[:body]
|
450
|
+
|
451
|
+
# return_type
|
452
|
+
return_type = opts[:return_type] || 'FlushExpiredInboxesResult'
|
453
|
+
|
454
|
+
# auth_names
|
455
|
+
auth_names = opts[:auth_names] || ['API_KEY']
|
456
|
+
|
457
|
+
new_options = opts.merge(
|
458
|
+
:header_params => header_params,
|
459
|
+
:query_params => query_params,
|
460
|
+
:form_params => form_params,
|
461
|
+
:body => post_body,
|
462
|
+
:auth_names => auth_names,
|
463
|
+
:return_type => return_type
|
464
|
+
)
|
465
|
+
|
466
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
467
|
+
if @api_client.config.debugging
|
468
|
+
@api_client.config.logger.debug "API called: InboxControllerApi#flush_expired\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
469
|
+
end
|
470
|
+
return data, status_code, headers
|
471
|
+
end
|
472
|
+
|
414
473
|
# List All Inboxes Paginated
|
415
|
-
# List inboxes in paginated form. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time). You Can also filter by whether an inbox is favorited or use email address pattern. This method is the recommended way to query inboxes. The alternative `getInboxes` method returns a full list of inboxes but is limited to 100 results.
|
474
|
+
# List inboxes in paginated form. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time). You Can also filter by whether an inbox is favorited or use email address pattern. This method is the recommended way to query inboxes. The alternative `getInboxes` method returns a full list of inboxes but is limited to 100 results.
|
416
475
|
# @param [Hash] opts the optional parameters
|
476
|
+
# @option opts [DateTime] :before Optional filter by created before given date time
|
417
477
|
# @option opts [Boolean] :favourite Optionally filter results for favourites only (default to false)
|
418
478
|
# @option opts [Integer] :page Optional page index in list pagination (default to 0)
|
419
479
|
# @option opts [String] :search Optionally filter by search words partial matching ID, tags, name, and email address
|
480
|
+
# @option opts [DateTime] :since Optional filter by created after given date time
|
420
481
|
# @option opts [Integer] :size Optional page size in list pagination (default to 20)
|
421
482
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
422
483
|
# @option opts [String] :tag Optionally filter by tags. Will return inboxes that include given tags
|
423
|
-
# @option opts [Boolean] :team_access Optionally filter by team access.
|
484
|
+
# @option opts [Boolean] :team_access DEPRECATED. Optionally filter by team access. (default to false)
|
424
485
|
# @return [PageInboxProjection]
|
425
486
|
def get_all_inboxes(opts = {})
|
426
487
|
data, _status_code, _headers = get_all_inboxes_with_http_info(opts)
|
@@ -428,15 +489,17 @@ module MailSlurpClient
|
|
428
489
|
end
|
429
490
|
|
430
491
|
# List All Inboxes Paginated
|
431
|
-
# List inboxes in paginated form. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time). You Can also filter by whether an inbox is favorited or use email address pattern. This method is the recommended way to query inboxes. The alternative `getInboxes` method returns a full list of inboxes but is limited to 100 results.
|
492
|
+
# List inboxes in paginated form. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time). You Can also filter by whether an inbox is favorited or use email address pattern. This method is the recommended way to query inboxes. The alternative `getInboxes` method returns a full list of inboxes but is limited to 100 results.
|
432
493
|
# @param [Hash] opts the optional parameters
|
494
|
+
# @option opts [DateTime] :before Optional filter by created before given date time
|
433
495
|
# @option opts [Boolean] :favourite Optionally filter results for favourites only
|
434
496
|
# @option opts [Integer] :page Optional page index in list pagination
|
435
497
|
# @option opts [String] :search Optionally filter by search words partial matching ID, tags, name, and email address
|
498
|
+
# @option opts [DateTime] :since Optional filter by created after given date time
|
436
499
|
# @option opts [Integer] :size Optional page size in list pagination
|
437
500
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
438
501
|
# @option opts [String] :tag Optionally filter by tags. Will return inboxes that include given tags
|
439
|
-
# @option opts [Boolean] :team_access Optionally filter by team access.
|
502
|
+
# @option opts [Boolean] :team_access DEPRECATED. Optionally filter by team access.
|
440
503
|
# @return [Array<(PageInboxProjection, Integer, Hash)>] PageInboxProjection data, response status code and response headers
|
441
504
|
def get_all_inboxes_with_http_info(opts = {})
|
442
505
|
if @api_client.config.debugging
|
@@ -451,9 +514,11 @@ module MailSlurpClient
|
|
451
514
|
|
452
515
|
# query parameters
|
453
516
|
query_params = opts[:query_params] || {}
|
517
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
454
518
|
query_params[:'favourite'] = opts[:'favourite'] if !opts[:'favourite'].nil?
|
455
519
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
456
520
|
query_params[:'search'] = opts[:'search'] if !opts[:'search'].nil?
|
521
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
457
522
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
458
523
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
459
524
|
query_params[:'tag'] = opts[:'tag'] if !opts[:'tag'].nil?
|
@@ -496,6 +561,7 @@ module MailSlurpClient
|
|
496
561
|
# List emails that an inbox has received. Only emails that are sent to the inbox's email address will appear in the inbox. It may take several seconds for any email you send to an inbox's email address to appear in the inbox. To make this endpoint wait for a minimum number of emails use the `minCount` parameter. The server will retry the inbox database until the `minCount` is satisfied or the `retryTimeout` is reached
|
497
562
|
# @param inbox_id [String] Id of inbox that emails belongs to
|
498
563
|
# @param [Hash] opts the optional parameters
|
564
|
+
# @option opts [DateTime] :before Exclude emails received after this ISO 8601 date time
|
499
565
|
# @option opts [Integer] :delay_timeout delayTimeout
|
500
566
|
# @option opts [Integer] :limit Limit the result set, ordered by received date time sort direction. Maximum 100. For more listing options see the email controller
|
501
567
|
# @option opts [Integer] :min_count Minimum acceptable email count. Will cause request to hang (and retry) until minCount is satisfied or retryTimeout is reached.
|
@@ -514,6 +580,7 @@ module MailSlurpClient
|
|
514
580
|
# List emails that an inbox has received. Only emails that are sent to the inbox's email address will appear in the inbox. It may take several seconds for any email you send to an inbox's email address to appear in the inbox. To make this endpoint wait for a minimum number of emails use the `minCount` parameter. The server will retry the inbox database until the `minCount` is satisfied or the `retryTimeout` is reached
|
515
581
|
# @param inbox_id [String] Id of inbox that emails belongs to
|
516
582
|
# @param [Hash] opts the optional parameters
|
583
|
+
# @option opts [DateTime] :before Exclude emails received after this ISO 8601 date time
|
517
584
|
# @option opts [Integer] :delay_timeout delayTimeout
|
518
585
|
# @option opts [Integer] :limit Limit the result set, ordered by received date time sort direction. Maximum 100. For more listing options see the email controller
|
519
586
|
# @option opts [Integer] :min_count Minimum acceptable email count. Will cause request to hang (and retry) until minCount is satisfied or retryTimeout is reached.
|
@@ -540,6 +607,7 @@ module MailSlurpClient
|
|
540
607
|
|
541
608
|
# query parameters
|
542
609
|
query_params = opts[:query_params] || {}
|
610
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
543
611
|
query_params[:'delayTimeout'] = opts[:'delay_timeout'] if !opts[:'delay_timeout'].nil?
|
544
612
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
545
613
|
query_params[:'minCount'] = opts[:'min_count'] if !opts[:'min_count'].nil?
|
@@ -648,7 +716,9 @@ module MailSlurpClient
|
|
648
716
|
# Get a paginated list of emails in an inbox. Does not hold connections open.
|
649
717
|
# @param inbox_id [String] Id of inbox that emails belongs to
|
650
718
|
# @param [Hash] opts the optional parameters
|
719
|
+
# @option opts [DateTime] :before Optional filter by received before given date time
|
651
720
|
# @option opts [Integer] :page Optional page index in inbox emails list pagination (default to 0)
|
721
|
+
# @option opts [DateTime] :since Optional filter by received after given date time
|
652
722
|
# @option opts [Integer] :size Optional page size in inbox emails list pagination (default to 20)
|
653
723
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
654
724
|
# @return [PageEmailPreview]
|
@@ -661,7 +731,9 @@ module MailSlurpClient
|
|
661
731
|
# Get a paginated list of emails in an inbox. Does not hold connections open.
|
662
732
|
# @param inbox_id [String] Id of inbox that emails belongs to
|
663
733
|
# @param [Hash] opts the optional parameters
|
734
|
+
# @option opts [DateTime] :before Optional filter by received before given date time
|
664
735
|
# @option opts [Integer] :page Optional page index in inbox emails list pagination
|
736
|
+
# @option opts [DateTime] :since Optional filter by received after given date time
|
665
737
|
# @option opts [Integer] :size Optional page size in inbox emails list pagination
|
666
738
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
667
739
|
# @return [Array<(PageEmailPreview, Integer, Hash)>] PageEmailPreview data, response status code and response headers
|
@@ -682,7 +754,9 @@ module MailSlurpClient
|
|
682
754
|
|
683
755
|
# query parameters
|
684
756
|
query_params = opts[:query_params] || {}
|
757
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
685
758
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
759
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
686
760
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
687
761
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
688
762
|
|
@@ -723,8 +797,10 @@ module MailSlurpClient
|
|
723
797
|
# Returns an inbox's sent email receipts. Call individual sent email endpoints for more details. Note for privacy reasons the full body of sent emails is never stored. An MD5 hash hex is available for comparison instead.
|
724
798
|
# @param inbox_id [String] inboxId
|
725
799
|
# @param [Hash] opts the optional parameters
|
800
|
+
# @option opts [DateTime] :before Optional filter by sent before given date time
|
726
801
|
# @option opts [Integer] :page Optional page index in inbox sent email list pagination (default to 0)
|
727
802
|
# @option opts [String] :search_filter Optional sent email search
|
803
|
+
# @option opts [DateTime] :since Optional filter by sent after given date time
|
728
804
|
# @option opts [Integer] :size Optional page size in inbox sent email list pagination (default to 20)
|
729
805
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
730
806
|
# @return [PageSentEmailProjection]
|
@@ -737,8 +813,10 @@ module MailSlurpClient
|
|
737
813
|
# Returns an inbox's sent email receipts. Call individual sent email endpoints for more details. Note for privacy reasons the full body of sent emails is never stored. An MD5 hash hex is available for comparison instead.
|
738
814
|
# @param inbox_id [String] inboxId
|
739
815
|
# @param [Hash] opts the optional parameters
|
816
|
+
# @option opts [DateTime] :before Optional filter by sent before given date time
|
740
817
|
# @option opts [Integer] :page Optional page index in inbox sent email list pagination
|
741
818
|
# @option opts [String] :search_filter Optional sent email search
|
819
|
+
# @option opts [DateTime] :since Optional filter by sent after given date time
|
742
820
|
# @option opts [Integer] :size Optional page size in inbox sent email list pagination
|
743
821
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
744
822
|
# @return [Array<(PageSentEmailProjection, Integer, Hash)>] PageSentEmailProjection data, response status code and response headers
|
@@ -759,8 +837,10 @@ module MailSlurpClient
|
|
759
837
|
|
760
838
|
# query parameters
|
761
839
|
query_params = opts[:query_params] || {}
|
840
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
762
841
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
763
842
|
query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
|
843
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
764
844
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
765
845
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
766
846
|
|
@@ -856,6 +936,8 @@ module MailSlurpClient
|
|
856
936
|
# List Inboxes and email addresses
|
857
937
|
# List the inboxes you have created. Note use of the more advanced `getAllEmails` is recommended and allows paginated access using a limit and sort parameter.
|
858
938
|
# @param [Hash] opts the optional parameters
|
939
|
+
# @option opts [DateTime] :before Optional filter by created before given date time
|
940
|
+
# @option opts [DateTime] :since Optional filter by created after given date time
|
859
941
|
# @option opts [Integer] :size Optional result size limit. Note an automatic limit of 100 results is applied. See the paginated `getAllEmails` for larger queries. (default to 100)
|
860
942
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
861
943
|
# @return [Array<Inbox>]
|
@@ -867,6 +949,8 @@ module MailSlurpClient
|
|
867
949
|
# List Inboxes and email addresses
|
868
950
|
# List the inboxes you have created. Note use of the more advanced `getAllEmails` is recommended and allows paginated access using a limit and sort parameter.
|
869
951
|
# @param [Hash] opts the optional parameters
|
952
|
+
# @option opts [DateTime] :before Optional filter by created before given date time
|
953
|
+
# @option opts [DateTime] :since Optional filter by created after given date time
|
870
954
|
# @option opts [Integer] :size Optional result size limit. Note an automatic limit of 100 results is applied. See the paginated `getAllEmails` for larger queries.
|
871
955
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
872
956
|
# @return [Array<(Array<Inbox>, Integer, Hash)>] Array<Inbox> data, response status code and response headers
|
@@ -883,6 +967,8 @@ module MailSlurpClient
|
|
883
967
|
|
884
968
|
# query parameters
|
885
969
|
query_params = opts[:query_params] || {}
|
970
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
971
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
886
972
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
887
973
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
888
974
|
|
@@ -922,8 +1008,10 @@ module MailSlurpClient
|
|
922
1008
|
# List Organization Inboxes Paginated
|
923
1009
|
# List organization inboxes in paginated form. These are inboxes created with `allowTeamAccess` flag enabled. Organization inboxes are `readOnly` for non-admin users. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time).
|
924
1010
|
# @param [Hash] opts the optional parameters
|
1011
|
+
# @option opts [DateTime] :before Optional filter by created before given date time
|
925
1012
|
# @option opts [Integer] :page Optional page index in list pagination (default to 0)
|
926
1013
|
# @option opts [String] :search_filter Optional search filter
|
1014
|
+
# @option opts [DateTime] :since Optional filter by created after given date time
|
927
1015
|
# @option opts [Integer] :size Optional page size in list pagination (default to 20)
|
928
1016
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
929
1017
|
# @return [PageOrganizationInboxProjection]
|
@@ -935,8 +1023,10 @@ module MailSlurpClient
|
|
935
1023
|
# List Organization Inboxes Paginated
|
936
1024
|
# List organization inboxes in paginated form. These are inboxes created with `allowTeamAccess` flag enabled. Organization inboxes are `readOnly` for non-admin users. The results are available on the `content` property of the returned object. This method allows for page index (zero based), page size (how many results to return), and a sort direction (based on createdAt time).
|
937
1025
|
# @param [Hash] opts the optional parameters
|
1026
|
+
# @option opts [DateTime] :before Optional filter by created before given date time
|
938
1027
|
# @option opts [Integer] :page Optional page index in list pagination
|
939
1028
|
# @option opts [String] :search_filter Optional search filter
|
1029
|
+
# @option opts [DateTime] :since Optional filter by created after given date time
|
940
1030
|
# @option opts [Integer] :size Optional page size in list pagination
|
941
1031
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
942
1032
|
# @return [Array<(PageOrganizationInboxProjection, Integer, Hash)>] PageOrganizationInboxProjection data, response status code and response headers
|
@@ -953,8 +1043,10 @@ module MailSlurpClient
|
|
953
1043
|
|
954
1044
|
# query parameters
|
955
1045
|
query_params = opts[:query_params] || {}
|
1046
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
956
1047
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
957
1048
|
query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
|
1049
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
958
1050
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
959
1051
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
960
1052
|
|
@@ -995,8 +1087,10 @@ module MailSlurpClient
|
|
995
1087
|
# List all rulesets attached to an inbox
|
996
1088
|
# @param inbox_id [String] inboxId
|
997
1089
|
# @param [Hash] opts the optional parameters
|
1090
|
+
# @option opts [DateTime] :before Optional filter by created before given date time
|
998
1091
|
# @option opts [Integer] :page Optional page index in inbox ruleset list pagination (default to 0)
|
999
1092
|
# @option opts [String] :search_filter Optional search filter
|
1093
|
+
# @option opts [DateTime] :since Optional filter by created after given date time
|
1000
1094
|
# @option opts [Integer] :size Optional page size in inbox ruleset list pagination (default to 20)
|
1001
1095
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
1002
1096
|
# @return [PageInboxRulesetDto]
|
@@ -1009,8 +1103,10 @@ module MailSlurpClient
|
|
1009
1103
|
# List all rulesets attached to an inbox
|
1010
1104
|
# @param inbox_id [String] inboxId
|
1011
1105
|
# @param [Hash] opts the optional parameters
|
1106
|
+
# @option opts [DateTime] :before Optional filter by created before given date time
|
1012
1107
|
# @option opts [Integer] :page Optional page index in inbox ruleset list pagination
|
1013
1108
|
# @option opts [String] :search_filter Optional search filter
|
1109
|
+
# @option opts [DateTime] :since Optional filter by created after given date time
|
1014
1110
|
# @option opts [Integer] :size Optional page size in inbox ruleset list pagination
|
1015
1111
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
1016
1112
|
# @return [Array<(PageInboxRulesetDto, Integer, Hash)>] PageInboxRulesetDto data, response status code and response headers
|
@@ -1031,8 +1127,10 @@ module MailSlurpClient
|
|
1031
1127
|
|
1032
1128
|
# query parameters
|
1033
1129
|
query_params = opts[:query_params] || {}
|
1130
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
1034
1131
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
1035
1132
|
query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
|
1133
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
1036
1134
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
1037
1135
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
1038
1136
|
|
@@ -1073,8 +1171,10 @@ module MailSlurpClient
|
|
1073
1171
|
# List all tracking pixels sent from an inbox
|
1074
1172
|
# @param inbox_id [String] inboxId
|
1075
1173
|
# @param [Hash] opts the optional parameters
|
1174
|
+
# @option opts [DateTime] :before Optional filter by created before given date time
|
1076
1175
|
# @option opts [Integer] :page Optional page index in inbox tracking pixel list pagination (default to 0)
|
1077
1176
|
# @option opts [String] :search_filter Optional search filter
|
1177
|
+
# @option opts [DateTime] :since Optional filter by created after given date time
|
1078
1178
|
# @option opts [Integer] :size Optional page size in inbox tracking pixel list pagination (default to 20)
|
1079
1179
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
1080
1180
|
# @return [PageTrackingPixelProjection]
|
@@ -1087,8 +1187,10 @@ module MailSlurpClient
|
|
1087
1187
|
# List all tracking pixels sent from an inbox
|
1088
1188
|
# @param inbox_id [String] inboxId
|
1089
1189
|
# @param [Hash] opts the optional parameters
|
1190
|
+
# @option opts [DateTime] :before Optional filter by created before given date time
|
1090
1191
|
# @option opts [Integer] :page Optional page index in inbox tracking pixel list pagination
|
1091
1192
|
# @option opts [String] :search_filter Optional search filter
|
1193
|
+
# @option opts [DateTime] :since Optional filter by created after given date time
|
1092
1194
|
# @option opts [Integer] :size Optional page size in inbox tracking pixel list pagination
|
1093
1195
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
1094
1196
|
# @return [Array<(PageTrackingPixelProjection, Integer, Hash)>] PageTrackingPixelProjection data, response status code and response headers
|
@@ -1109,8 +1211,10 @@ module MailSlurpClient
|
|
1109
1211
|
|
1110
1212
|
# query parameters
|
1111
1213
|
query_params = opts[:query_params] || {}
|
1214
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
1112
1215
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
1113
1216
|
query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
|
1217
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
1114
1218
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
1115
1219
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
1116
1220
|
|
@@ -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
|
|
@@ -268,9 +268,11 @@ module MailSlurpClient
|
|
268
268
|
# List inbox forwarders
|
269
269
|
# List all forwarders attached to an inbox
|
270
270
|
# @param [Hash] opts the optional parameters
|
271
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
271
272
|
# @option opts [String] :inbox_id Optional inbox id to get forwarders from
|
272
273
|
# @option opts [Integer] :page Optional page index in inbox forwarder list pagination (default to 0)
|
273
274
|
# @option opts [String] :search_filter Optional search filter
|
275
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
274
276
|
# @option opts [Integer] :size Optional page size in inbox forwarder list pagination (default to 20)
|
275
277
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
276
278
|
# @return [PageInboxForwarderDto]
|
@@ -282,9 +284,11 @@ module MailSlurpClient
|
|
282
284
|
# List inbox forwarders
|
283
285
|
# List all forwarders attached to an inbox
|
284
286
|
# @param [Hash] opts the optional parameters
|
287
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
285
288
|
# @option opts [String] :inbox_id Optional inbox id to get forwarders from
|
286
289
|
# @option opts [Integer] :page Optional page index in inbox forwarder list pagination
|
287
290
|
# @option opts [String] :search_filter Optional search filter
|
291
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
288
292
|
# @option opts [Integer] :size Optional page size in inbox forwarder list pagination
|
289
293
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
290
294
|
# @return [Array<(PageInboxForwarderDto, Integer, Hash)>] PageInboxForwarderDto data, response status code and response headers
|
@@ -301,9 +305,11 @@ module MailSlurpClient
|
|
301
305
|
|
302
306
|
# query parameters
|
303
307
|
query_params = opts[:query_params] || {}
|
308
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
304
309
|
query_params[:'inboxId'] = opts[:'inbox_id'] if !opts[:'inbox_id'].nil?
|
305
310
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
306
311
|
query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
|
312
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
307
313
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
308
314
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
309
315
|
|
@@ -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
|
|
@@ -268,9 +268,11 @@ module MailSlurpClient
|
|
268
268
|
# List inbox rulesets
|
269
269
|
# List all rulesets attached to an inbox
|
270
270
|
# @param [Hash] opts the optional parameters
|
271
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
271
272
|
# @option opts [String] :inbox_id Optional inbox id to get rulesets from
|
272
273
|
# @option opts [Integer] :page Optional page index in inbox ruleset list pagination (default to 0)
|
273
274
|
# @option opts [String] :search_filter Optional search filter
|
275
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
274
276
|
# @option opts [Integer] :size Optional page size in inbox ruleset list pagination (default to 20)
|
275
277
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
276
278
|
# @return [PageInboxRulesetDto]
|
@@ -282,9 +284,11 @@ module MailSlurpClient
|
|
282
284
|
# List inbox rulesets
|
283
285
|
# List all rulesets attached to an inbox
|
284
286
|
# @param [Hash] opts the optional parameters
|
287
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
285
288
|
# @option opts [String] :inbox_id Optional inbox id to get rulesets from
|
286
289
|
# @option opts [Integer] :page Optional page index in inbox ruleset list pagination
|
287
290
|
# @option opts [String] :search_filter Optional search filter
|
291
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
288
292
|
# @option opts [Integer] :size Optional page size in inbox ruleset list pagination
|
289
293
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
290
294
|
# @return [Array<(PageInboxRulesetDto, Integer, Hash)>] PageInboxRulesetDto data, response status code and response headers
|
@@ -301,9 +305,11 @@ module MailSlurpClient
|
|
301
305
|
|
302
306
|
# query parameters
|
303
307
|
query_params = opts[:query_params] || {}
|
308
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
304
309
|
query_params[:'inboxId'] = opts[:'inbox_id'] if !opts[:'inbox_id'].nil?
|
305
310
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
306
311
|
query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
|
312
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
307
313
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
308
314
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
309
315
|
|
@@ -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
|
|