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.
Files changed (166) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/api/alias_controller_api.rb +19 -1
  3. data/lib/mailslurp_client/api/attachment_controller_api.rb +7 -1
  4. data/lib/mailslurp_client/api/bounce_controller_api.rb +13 -1
  5. data/lib/mailslurp_client/api/bulk_actions_controller_api.rb +1 -1
  6. data/lib/mailslurp_client/api/common_actions_controller_api.rb +45 -1
  7. data/lib/mailslurp_client/api/contact_controller_api.rb +7 -1
  8. data/lib/mailslurp_client/api/domain_controller_api.rb +1 -1
  9. data/lib/mailslurp_client/api/email_controller_api.rb +17 -5
  10. data/lib/mailslurp_client/api/expired_controller_api.rb +7 -1
  11. data/lib/mailslurp_client/api/export_controller_api.rb +1 -1
  12. data/lib/mailslurp_client/api/form_controller_api.rb +1 -1
  13. data/lib/mailslurp_client/api/group_controller_api.rb +13 -1
  14. data/lib/mailslurp_client/api/inbox_controller_api.rb +111 -7
  15. data/lib/mailslurp_client/api/inbox_forwarder_controller_api.rb +7 -1
  16. data/lib/mailslurp_client/api/inbox_ruleset_controller_api.rb +7 -1
  17. data/lib/mailslurp_client/api/mail_server_controller_api.rb +1 -1
  18. data/lib/mailslurp_client/api/missed_email_controller_api.rb +94 -1
  19. data/lib/mailslurp_client/api/sent_emails_controller_api.rb +25 -1
  20. data/lib/mailslurp_client/api/template_controller_api.rb +81 -7
  21. data/lib/mailslurp_client/api/tracking_controller_api.rb +7 -1
  22. data/lib/mailslurp_client/api/wait_for_controller_api.rb +22 -7
  23. data/lib/mailslurp_client/api/webhook_controller_api.rb +386 -8
  24. data/lib/mailslurp_client/api_client.rb +1 -1
  25. data/lib/mailslurp_client/api_error.rb +1 -1
  26. data/lib/mailslurp_client/configuration.rb +1 -1
  27. data/lib/mailslurp_client/models/abstract_webhook_payload.rb +3 -3
  28. data/lib/mailslurp_client/models/alias_dto.rb +1 -1
  29. data/lib/mailslurp_client/models/alias_projection.rb +1 -1
  30. data/lib/mailslurp_client/models/attachment_entity.rb +1 -1
  31. data/lib/mailslurp_client/models/attachment_meta_data.rb +1 -1
  32. data/lib/mailslurp_client/models/attachment_projection.rb +1 -1
  33. data/lib/mailslurp_client/models/basic_auth_options.rb +1 -1
  34. data/lib/mailslurp_client/models/bounce_projection.rb +1 -1
  35. data/lib/mailslurp_client/models/bounce_recipient.rb +1 -1
  36. data/lib/mailslurp_client/models/bounced_email_dto.rb +1 -1
  37. data/lib/mailslurp_client/models/bounced_recipient_dto.rb +1 -1
  38. data/lib/mailslurp_client/models/bulk_send_email_options.rb +1 -1
  39. data/lib/mailslurp_client/models/condition_option.rb +1 -1
  40. data/lib/mailslurp_client/models/contact_dto.rb +1 -1
  41. data/lib/mailslurp_client/models/contact_projection.rb +1 -1
  42. data/lib/mailslurp_client/models/content_match_options.rb +1 -1
  43. data/lib/mailslurp_client/models/create_alias_options.rb +1 -1
  44. data/lib/mailslurp_client/models/create_contact_options.rb +1 -1
  45. data/lib/mailslurp_client/models/create_domain_options.rb +1 -1
  46. data/lib/mailslurp_client/models/create_group_options.rb +1 -1
  47. data/lib/mailslurp_client/models/create_inbox_dto.rb +2 -2
  48. data/lib/mailslurp_client/models/create_inbox_forwarder_options.rb +18 -29
  49. data/lib/mailslurp_client/models/create_inbox_ruleset_options.rb +1 -1
  50. data/lib/mailslurp_client/models/create_template_options.rb +1 -1
  51. data/lib/mailslurp_client/models/create_tracking_pixel_options.rb +1 -1
  52. data/lib/mailslurp_client/models/create_webhook_options.rb +3 -3
  53. data/lib/mailslurp_client/models/describe_domain_options.rb +1 -1
  54. data/lib/mailslurp_client/models/describe_mail_server_domain_result.rb +1 -1
  55. data/lib/mailslurp_client/models/dns_lookup_options.rb +1 -1
  56. data/lib/mailslurp_client/models/dns_lookup_result.rb +1 -1
  57. data/lib/mailslurp_client/models/dns_lookup_results.rb +1 -1
  58. data/lib/mailslurp_client/models/domain_dto.rb +1 -1
  59. data/lib/mailslurp_client/models/domain_name_record.rb +1 -1
  60. data/lib/mailslurp_client/models/domain_preview.rb +1 -1
  61. data/lib/mailslurp_client/models/download_attachment_dto.rb +1 -1
  62. data/lib/mailslurp_client/models/email.rb +29 -11
  63. data/lib/mailslurp_client/models/email_analysis.rb +1 -1
  64. data/lib/mailslurp_client/models/email_content_match_result.rb +1 -1
  65. data/lib/mailslurp_client/models/email_links_result.rb +1 -1
  66. data/lib/mailslurp_client/models/email_preview.rb +7 -7
  67. data/lib/mailslurp_client/models/email_projection.rb +1 -1
  68. data/lib/mailslurp_client/models/email_recipients.rb +230 -0
  69. data/lib/mailslurp_client/models/email_text_lines_result.rb +1 -1
  70. data/lib/mailslurp_client/models/email_verification_result.rb +2 -2
  71. data/lib/mailslurp_client/models/expiration_defaults.rb +19 -5
  72. data/lib/mailslurp_client/models/expired_inbox_dto.rb +1 -1
  73. data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +1 -1
  74. data/lib/mailslurp_client/models/export_link.rb +1 -1
  75. data/lib/mailslurp_client/models/export_options.rb +1 -1
  76. data/lib/mailslurp_client/models/flush_expired_inboxes_result.rb +227 -0
  77. data/lib/mailslurp_client/models/forward_email_options.rb +1 -1
  78. data/lib/mailslurp_client/models/gravatar_url.rb +1 -1
  79. data/lib/mailslurp_client/models/group_contacts_dto.rb +1 -1
  80. data/lib/mailslurp_client/models/group_dto.rb +1 -1
  81. data/lib/mailslurp_client/models/group_projection.rb +1 -1
  82. data/lib/mailslurp_client/models/html_validation_result.rb +1 -1
  83. data/lib/mailslurp_client/models/inbox.rb +1 -1
  84. data/lib/mailslurp_client/models/inbox_forwarder_dto.rb +1 -1
  85. data/lib/mailslurp_client/models/inbox_forwarder_test_options.rb +1 -1
  86. data/lib/mailslurp_client/models/inbox_forwarder_test_result.rb +1 -1
  87. data/lib/mailslurp_client/models/{inbox_projection.rb → inbox_preview.rb} +23 -25
  88. data/lib/mailslurp_client/models/inbox_ruleset_dto.rb +1 -1
  89. data/lib/mailslurp_client/models/inbox_ruleset_test_options.rb +1 -1
  90. data/lib/mailslurp_client/models/inbox_ruleset_test_result.rb +1 -1
  91. data/lib/mailslurp_client/models/ip_address_result.rb +1 -1
  92. data/lib/mailslurp_client/models/json_schema_dto.rb +211 -0
  93. data/lib/mailslurp_client/models/match_option.rb +1 -1
  94. data/lib/mailslurp_client/models/match_options.rb +1 -1
  95. data/lib/mailslurp_client/models/missed_email.rb +1 -6
  96. data/lib/mailslurp_client/models/missed_email_projection.rb +1 -6
  97. data/lib/mailslurp_client/models/name_server_record.rb +1 -1
  98. data/lib/mailslurp_client/models/organization_inbox_projection.rb +1 -1
  99. data/lib/mailslurp_client/models/page_alias.rb +1 -1
  100. data/lib/mailslurp_client/models/page_attachment_entity.rb +1 -1
  101. data/lib/mailslurp_client/models/page_bounced_email.rb +1 -1
  102. data/lib/mailslurp_client/models/page_bounced_recipients.rb +1 -1
  103. data/lib/mailslurp_client/models/page_contact_projection.rb +1 -1
  104. data/lib/mailslurp_client/models/page_email_preview.rb +1 -1
  105. data/lib/mailslurp_client/models/page_email_projection.rb +1 -1
  106. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +1 -1
  107. data/lib/mailslurp_client/models/page_group_projection.rb +1 -1
  108. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +1 -1
  109. data/lib/mailslurp_client/models/page_inbox_projection.rb +2 -2
  110. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +1 -1
  111. data/lib/mailslurp_client/models/page_missed_email_projection.rb +1 -1
  112. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +1 -1
  113. data/lib/mailslurp_client/models/page_sent_email_projection.rb +1 -1
  114. data/lib/mailslurp_client/models/page_template_projection.rb +1 -1
  115. data/lib/mailslurp_client/models/page_thread_projection.rb +1 -1
  116. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +1 -1
  117. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +299 -0
  118. data/lib/mailslurp_client/models/page_webhook_projection.rb +2 -1
  119. data/lib/mailslurp_client/models/page_webhook_result.rb +2 -2
  120. data/lib/mailslurp_client/models/pageable.rb +1 -1
  121. data/lib/mailslurp_client/models/raw_email_json.rb +1 -1
  122. data/lib/mailslurp_client/models/{model_alias.rb → recipient.rb} +14 -74
  123. data/lib/mailslurp_client/models/reply_to_alias_email_options.rb +1 -1
  124. data/lib/mailslurp_client/models/reply_to_email_options.rb +1 -1
  125. data/lib/mailslurp_client/models/send_email_options.rb +1 -1
  126. data/lib/mailslurp_client/models/sender.rb +234 -0
  127. data/lib/mailslurp_client/models/sent_email_dto.rb +1 -1
  128. data/lib/mailslurp_client/models/sent_email_projection.rb +1 -1
  129. data/lib/mailslurp_client/models/set_inbox_favourited_options.rb +1 -1
  130. data/lib/mailslurp_client/models/simple_send_email_options.rb +1 -1
  131. data/lib/mailslurp_client/models/sort.rb +1 -1
  132. data/lib/mailslurp_client/models/template_dto.rb +1 -1
  133. data/lib/mailslurp_client/models/template_projection.rb +1 -1
  134. data/lib/mailslurp_client/models/template_variable.rb +1 -1
  135. data/lib/mailslurp_client/models/test_new_inbox_forwarder_options.rb +1 -1
  136. data/lib/mailslurp_client/models/test_new_inbox_ruleset_options.rb +1 -1
  137. data/lib/mailslurp_client/models/thread_projection.rb +1 -1
  138. data/lib/mailslurp_client/models/tracking_pixel_dto.rb +1 -1
  139. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +1 -1
  140. data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +254 -0
  141. data/lib/mailslurp_client/models/unread_count.rb +1 -1
  142. data/lib/mailslurp_client/models/unseen_error_count_dto.rb +211 -0
  143. data/lib/mailslurp_client/models/update_alias_options.rb +1 -1
  144. data/lib/mailslurp_client/models/update_domain_options.rb +1 -1
  145. data/lib/mailslurp_client/models/update_group_contacts.rb +1 -1
  146. data/lib/mailslurp_client/models/update_inbox_options.rb +1 -1
  147. data/lib/mailslurp_client/models/upload_attachment_options.rb +2 -2
  148. data/lib/mailslurp_client/models/validation_dto.rb +1 -1
  149. data/lib/mailslurp_client/models/validation_message.rb +1 -1
  150. data/lib/mailslurp_client/models/verify_email_address_options.rb +1 -1
  151. data/lib/mailslurp_client/models/wait_for_conditions.rb +43 -3
  152. data/lib/mailslurp_client/models/webhook_dto.rb +4 -4
  153. data/lib/mailslurp_client/models/webhook_email_opened_payload.rb +3 -3
  154. data/lib/mailslurp_client/models/webhook_email_read_payload.rb +312 -0
  155. data/lib/mailslurp_client/models/webhook_new_attachment_payload.rb +3 -3
  156. data/lib/mailslurp_client/models/webhook_new_contact_payload.rb +3 -3
  157. data/lib/mailslurp_client/models/webhook_new_email_payload.rb +8 -8
  158. data/lib/mailslurp_client/models/webhook_projection.rb +3 -3
  159. data/lib/mailslurp_client/models/webhook_redrive_result.rb +234 -0
  160. data/lib/mailslurp_client/models/{webhook_result_entity.rb → webhook_result_dto.rb} +25 -7
  161. data/lib/mailslurp_client/models/webhook_test_request.rb +1 -1
  162. data/lib/mailslurp_client/models/webhook_test_response.rb +1 -1
  163. data/lib/mailslurp_client/models/webhook_test_result.rb +1 -1
  164. data/lib/mailslurp_client/version.rb +2 -2
  165. data/lib/mailslurp_client.rb +13 -4
  166. metadata +14 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aad53cc0f0d7d00f6b48444b0eb2029149f9af929e6b77db54af4006ec2f5d4f
4
- data.tar.gz: c06e3dc8e6cf79ecdb89fc7c45ac4f25d4548e1c1234bdebd2c6a2068929474d
3
+ metadata.gz: 8e81354b4449a6c4f70f25da766079166810b19b956e16f6c29aa0c76045f7a5
4
+ data.tar.gz: 8c0eb2e502e21241a34038de92e7733d11164119d5c9f99645d658dc75f349f1
5
5
  SHA512:
6
- metadata.gz: fbfa50abc13034db45869b1bbd41ebf8d189eebb1b6264b3cd6718fa41a9af924b3965381d53baff68677ef04c2a41dc220a1e0fe2ea9b219d9a4bb1fda91ed4
7
- data.tar.gz: 0b92e39df9d8855080159cf003f4692aae8897419063193fbba38963de5508881b467393944df85097d5fc8ccfb69ac523f30f71e0825fefdc12ab4bb7b8b581
6
+ metadata.gz: 9c0542608667b0447250e0995e4dfc22a6475c146c74431f0100db3927bdebd082210e99832914affed9d7ca0a9dd39f3ff0d92c8972381d8b53dcc7cc7904f0
7
+ data.tar.gz: 99c4d611efc6e3f62d1140fb7a9b898977861dc2f0c9a630095a12d0205612d41b7a619970be863129f2a3fba2cab309124ba9c47704d0c112eda1b340175a55
@@ -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 &#x60;name&#x60; and &#x60;content-type&#x60;. Use the &#x60;attachmentId&#x60; 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 &#x60;id&#x60; and an &#x60;emailAddress&#x60;
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 &#x60;id&#x60; and an &#x60;emailAddress&#x60;
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.
@@ -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
 
@@ -202,7 +202,9 @@ module MailSlurpClient
202
202
  # List records of expired inboxes
203
203
  # Inboxes created with an expiration date will expire after the given date. An ExpiredInboxRecord is created that records the inboxes old ID and email address. You can still read emails in the inbox (using the inboxes old ID) but the email address associated with the inbox can no longer send or receive emails. Fetch expired inbox records to view the old inboxes properties
204
204
  # @param [Hash] opts the optional parameters
205
+ # @option opts [DateTime] :before Filter by created at before the given timestamp
205
206
  # @option opts [Integer] :page Optional page index in inbox sent email list pagination (default to 0)
207
+ # @option opts [DateTime] :since Filter by created at after the given timestamp
206
208
  # @option opts [Integer] :size Optional page size in inbox sent email list pagination (default to 20)
207
209
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
208
210
  # @return [PageExpiredInboxRecordProjection]
@@ -214,7 +216,9 @@ module MailSlurpClient
214
216
  # List records of expired inboxes
215
217
  # Inboxes created with an expiration date will expire after the given date. An ExpiredInboxRecord is created that records the inboxes old ID and email address. You can still read emails in the inbox (using the inboxes old ID) but the email address associated with the inbox can no longer send or receive emails. Fetch expired inbox records to view the old inboxes properties
216
218
  # @param [Hash] opts the optional parameters
219
+ # @option opts [DateTime] :before Filter by created at before the given timestamp
217
220
  # @option opts [Integer] :page Optional page index in inbox sent email list pagination
221
+ # @option opts [DateTime] :since Filter by created at after the given timestamp
218
222
  # @option opts [Integer] :size Optional page size in inbox sent email list pagination
219
223
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC
220
224
  # @return [Array<(PageExpiredInboxRecordProjection, Integer, Hash)>] PageExpiredInboxRecordProjection data, response status code and response headers
@@ -231,7 +235,9 @@ module MailSlurpClient
231
235
 
232
236
  # query parameters
233
237
  query_params = opts[:query_params] || {}
238
+ query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
234
239
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
240
+ query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
235
241
  query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
236
242
  query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
237
243
 
@@ -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