mailslurp_client 13.0.1 → 13.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/api/alias_controller_api.rb +1 -1
  3. data/lib/mailslurp_client/api/attachment_controller_api.rb +1 -1
  4. data/lib/mailslurp_client/api/bounce_controller_api.rb +1 -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 +1 -1
  7. data/lib/mailslurp_client/api/contact_controller_api.rb +1 -1
  8. data/lib/mailslurp_client/api/domain_controller_api.rb +1 -1
  9. data/lib/mailslurp_client/api/email_controller_api.rb +5 -5
  10. data/lib/mailslurp_client/api/expired_controller_api.rb +1 -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 +1 -1
  14. data/lib/mailslurp_client/api/inbox_controller_api.rb +1 -1
  15. data/lib/mailslurp_client/api/inbox_forwarder_controller_api.rb +1 -1
  16. data/lib/mailslurp_client/api/inbox_ruleset_controller_api.rb +1 -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 +76 -1
  19. data/lib/mailslurp_client/api/sent_emails_controller_api.rb +1 -1
  20. data/lib/mailslurp_client/api/template_controller_api.rb +75 -7
  21. data/lib/mailslurp_client/api/tracking_controller_api.rb +1 -1
  22. data/lib/mailslurp_client/api/wait_for_controller_api.rb +7 -7
  23. data/lib/mailslurp_client/api/webhook_controller_api.rb +124 -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 +1 -1
  48. data/lib/mailslurp_client/models/create_inbox_forwarder_options.rb +1 -1
  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 +1 -1
  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/forward_email_options.rb +1 -1
  77. data/lib/mailslurp_client/models/gravatar_url.rb +1 -1
  78. data/lib/mailslurp_client/models/group_contacts_dto.rb +1 -1
  79. data/lib/mailslurp_client/models/group_dto.rb +1 -1
  80. data/lib/mailslurp_client/models/group_projection.rb +1 -1
  81. data/lib/mailslurp_client/models/html_validation_result.rb +1 -1
  82. data/lib/mailslurp_client/models/inbox.rb +1 -1
  83. data/lib/mailslurp_client/models/inbox_forwarder_dto.rb +1 -1
  84. data/lib/mailslurp_client/models/inbox_forwarder_test_options.rb +1 -1
  85. data/lib/mailslurp_client/models/inbox_forwarder_test_result.rb +1 -1
  86. data/lib/mailslurp_client/models/inbox_projection.rb +1 -1
  87. data/lib/mailslurp_client/models/inbox_ruleset_dto.rb +1 -1
  88. data/lib/mailslurp_client/models/inbox_ruleset_test_options.rb +1 -1
  89. data/lib/mailslurp_client/models/inbox_ruleset_test_result.rb +1 -1
  90. data/lib/mailslurp_client/models/ip_address_result.rb +1 -1
  91. data/lib/mailslurp_client/models/match_option.rb +1 -1
  92. data/lib/mailslurp_client/models/match_options.rb +1 -1
  93. data/lib/mailslurp_client/models/missed_email.rb +1 -6
  94. data/lib/mailslurp_client/models/missed_email_projection.rb +1 -6
  95. data/lib/mailslurp_client/models/name_server_record.rb +1 -1
  96. data/lib/mailslurp_client/models/organization_inbox_projection.rb +1 -1
  97. data/lib/mailslurp_client/models/page_alias.rb +1 -1
  98. data/lib/mailslurp_client/models/page_attachment_entity.rb +1 -1
  99. data/lib/mailslurp_client/models/page_bounced_email.rb +1 -1
  100. data/lib/mailslurp_client/models/page_bounced_recipients.rb +1 -1
  101. data/lib/mailslurp_client/models/page_contact_projection.rb +1 -1
  102. data/lib/mailslurp_client/models/page_email_preview.rb +1 -1
  103. data/lib/mailslurp_client/models/page_email_projection.rb +1 -1
  104. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +1 -1
  105. data/lib/mailslurp_client/models/page_group_projection.rb +1 -1
  106. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +1 -1
  107. data/lib/mailslurp_client/models/page_inbox_projection.rb +1 -1
  108. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +1 -1
  109. data/lib/mailslurp_client/models/page_missed_email_projection.rb +1 -1
  110. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +1 -1
  111. data/lib/mailslurp_client/models/page_sent_email_projection.rb +1 -1
  112. data/lib/mailslurp_client/models/page_template_projection.rb +1 -1
  113. data/lib/mailslurp_client/models/page_thread_projection.rb +1 -1
  114. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +1 -1
  115. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +299 -0
  116. data/lib/mailslurp_client/models/page_webhook_projection.rb +2 -1
  117. data/lib/mailslurp_client/models/page_webhook_result.rb +2 -2
  118. data/lib/mailslurp_client/models/pageable.rb +1 -1
  119. data/lib/mailslurp_client/models/raw_email_json.rb +1 -1
  120. data/lib/mailslurp_client/models/{model_alias.rb → recipient.rb} +14 -74
  121. data/lib/mailslurp_client/models/reply_to_alias_email_options.rb +1 -1
  122. data/lib/mailslurp_client/models/reply_to_email_options.rb +1 -1
  123. data/lib/mailslurp_client/models/send_email_options.rb +1 -1
  124. data/lib/mailslurp_client/models/sender.rb +234 -0
  125. data/lib/mailslurp_client/models/sent_email_dto.rb +1 -1
  126. data/lib/mailslurp_client/models/sent_email_projection.rb +1 -1
  127. data/lib/mailslurp_client/models/set_inbox_favourited_options.rb +1 -1
  128. data/lib/mailslurp_client/models/simple_send_email_options.rb +1 -1
  129. data/lib/mailslurp_client/models/sort.rb +1 -1
  130. data/lib/mailslurp_client/models/template_dto.rb +1 -1
  131. data/lib/mailslurp_client/models/template_projection.rb +1 -1
  132. data/lib/mailslurp_client/models/template_variable.rb +1 -1
  133. data/lib/mailslurp_client/models/test_new_inbox_forwarder_options.rb +1 -1
  134. data/lib/mailslurp_client/models/test_new_inbox_ruleset_options.rb +1 -1
  135. data/lib/mailslurp_client/models/thread_projection.rb +1 -1
  136. data/lib/mailslurp_client/models/tracking_pixel_dto.rb +1 -1
  137. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +1 -1
  138. data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +254 -0
  139. data/lib/mailslurp_client/models/unread_count.rb +1 -1
  140. data/lib/mailslurp_client/models/update_alias_options.rb +1 -1
  141. data/lib/mailslurp_client/models/update_domain_options.rb +1 -1
  142. data/lib/mailslurp_client/models/update_group_contacts.rb +1 -1
  143. data/lib/mailslurp_client/models/update_inbox_options.rb +1 -1
  144. data/lib/mailslurp_client/models/upload_attachment_options.rb +2 -2
  145. data/lib/mailslurp_client/models/validation_dto.rb +1 -1
  146. data/lib/mailslurp_client/models/validation_message.rb +1 -1
  147. data/lib/mailslurp_client/models/verify_email_address_options.rb +1 -1
  148. data/lib/mailslurp_client/models/wait_for_conditions.rb +28 -3
  149. data/lib/mailslurp_client/models/webhook_dto.rb +3 -3
  150. data/lib/mailslurp_client/models/webhook_email_opened_payload.rb +3 -3
  151. data/lib/mailslurp_client/models/webhook_email_read_payload.rb +312 -0
  152. data/lib/mailslurp_client/models/webhook_new_attachment_payload.rb +3 -3
  153. data/lib/mailslurp_client/models/webhook_new_contact_payload.rb +3 -3
  154. data/lib/mailslurp_client/models/webhook_new_email_payload.rb +8 -8
  155. data/lib/mailslurp_client/models/webhook_projection.rb +3 -3
  156. data/lib/mailslurp_client/models/webhook_redrive_result.rb +234 -0
  157. data/lib/mailslurp_client/models/{webhook_result_entity.rb → webhook_result_dto.rb} +16 -7
  158. data/lib/mailslurp_client/models/webhook_test_request.rb +1 -1
  159. data/lib/mailslurp_client/models/webhook_test_response.rb +1 -1
  160. data/lib/mailslurp_client/models/webhook_test_result.rb +1 -1
  161. data/lib/mailslurp_client/version.rb +2 -2
  162. data/lib/mailslurp_client.rb +9 -3
  163. metadata +10 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aad53cc0f0d7d00f6b48444b0eb2029149f9af929e6b77db54af4006ec2f5d4f
4
- data.tar.gz: c06e3dc8e6cf79ecdb89fc7c45ac4f25d4548e1c1234bdebd2c6a2068929474d
3
+ metadata.gz: 36025fef785d36519a4f7ebcfedeab11d098717e5e093aedc2e5f637b4e8f28a
4
+ data.tar.gz: 3e512904562e1359211f6d79cd5b9a7d7202ee5329095f28607701a5f6ba6f73
5
5
  SHA512:
6
- metadata.gz: fbfa50abc13034db45869b1bbd41ebf8d189eebb1b6264b3cd6718fa41a9af924b3965381d53baff68677ef04c2a41dc220a1e0fe2ea9b219d9a4bb1fda91ed4
7
- data.tar.gz: 0b92e39df9d8855080159cf003f4692aae8897419063193fbba38963de5508881b467393944df85097d5fc8ccfb69ac523f30f71e0825fefdc12ab4bb7b8b581
6
+ metadata.gz: 5bcd9b7b7bdefbe8c235c56ea363898e97a3b76a35ac8e6587fe19958b47ef9df13f434b481c11ad97aa843f28e2e6fe43a21d7464b92702fa191957fc2a842e
7
+ data.tar.gz: fb0d56bc28bded9187022ff06551108a874142070c5c99f66204a2af744bee6ecfce496ff8923bf9fc1d626a06b2d22ef34921565a8af5bafdeeeda9eef03d20
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -1509,8 +1509,8 @@ module MailSlurpClient
1509
1509
  return data, status_code, headers
1510
1510
  end
1511
1511
 
1512
- # Mark an email as read
1513
- # Marks an email as read or unread. Pass boolean read flag to set value.
1512
+ # Mark an email as read on unread
1513
+ # 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
1514
  # @param email_id [String] emailId
1515
1515
  # @param [Hash] opts the optional parameters
1516
1516
  # @option opts [Boolean] :read What value to assign to email read property. Default true. (default to true)
@@ -1520,8 +1520,8 @@ module MailSlurpClient
1520
1520
  data
1521
1521
  end
1522
1522
 
1523
- # Mark an email as read
1524
- # Marks an email as read or unread. Pass boolean read flag to set value.
1523
+ # Mark an email as read on unread
1524
+ # 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
1525
  # @param email_id [String] emailId
1526
1526
  # @param [Hash] opts the optional parameters
1527
1527
  # @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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -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
 
@@ -92,6 +92,81 @@ module MailSlurpClient
92
92
  return data, status_code, headers
93
93
  end
94
94
 
95
+ # Get all unknown missed emails in paginated format
96
+ # Unknown missed emails are emails that were sent to MailSlurp but could not be assigned to an existing inbox.
97
+ # @param [Hash] opts the optional parameters
98
+ # @option opts [String] :inbox_id Optional inbox ID filter
99
+ # @option opts [Integer] :page Optional page index in list pagination (default to 0)
100
+ # @option opts [String] :search_filter Optional search filter
101
+ # @option opts [Integer] :size Optional page size in list pagination (default to 20)
102
+ # @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
103
+ # @return [PageUnknownMissedEmailProjection]
104
+ def get_all_unknown_missed_emails(opts = {})
105
+ data, _status_code, _headers = get_all_unknown_missed_emails_with_http_info(opts)
106
+ data
107
+ end
108
+
109
+ # Get all unknown missed emails in paginated format
110
+ # Unknown missed emails are emails that were sent to MailSlurp but could not be assigned to an existing inbox.
111
+ # @param [Hash] opts the optional parameters
112
+ # @option opts [String] :inbox_id Optional inbox ID filter
113
+ # @option opts [Integer] :page Optional page index in list pagination
114
+ # @option opts [String] :search_filter Optional search filter
115
+ # @option opts [Integer] :size Optional page size in list pagination
116
+ # @option opts [String] :sort Optional createdAt sort direction ASC or DESC
117
+ # @return [Array<(PageUnknownMissedEmailProjection, Integer, Hash)>] PageUnknownMissedEmailProjection data, response status code and response headers
118
+ def get_all_unknown_missed_emails_with_http_info(opts = {})
119
+ if @api_client.config.debugging
120
+ @api_client.config.logger.debug 'Calling API: MissedEmailControllerApi.get_all_unknown_missed_emails ...'
121
+ end
122
+ allowable_values = ["ASC", "DESC"]
123
+ if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
124
+ fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
125
+ end
126
+ # resource path
127
+ local_var_path = '/missed-emails/unknown'
128
+
129
+ # query parameters
130
+ query_params = opts[:query_params] || {}
131
+ query_params[:'inboxId'] = opts[:'inbox_id'] if !opts[:'inbox_id'].nil?
132
+ query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
133
+ query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
134
+ query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
135
+ query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
136
+
137
+ # header parameters
138
+ header_params = opts[:header_params] || {}
139
+ # HTTP header 'Accept' (if needed)
140
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
141
+
142
+ # form parameters
143
+ form_params = opts[:form_params] || {}
144
+
145
+ # http body (model)
146
+ post_body = opts[:body]
147
+
148
+ # return_type
149
+ return_type = opts[:return_type] || 'PageUnknownMissedEmailProjection'
150
+
151
+ # auth_names
152
+ auth_names = opts[:auth_names] || ['API_KEY']
153
+
154
+ new_options = opts.merge(
155
+ :header_params => header_params,
156
+ :query_params => query_params,
157
+ :form_params => form_params,
158
+ :body => post_body,
159
+ :auth_names => auth_names,
160
+ :return_type => return_type
161
+ )
162
+
163
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
164
+ if @api_client.config.debugging
165
+ @api_client.config.logger.debug "API called: MissedEmailControllerApi#get_all_unknown_missed_emails\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
166
+ end
167
+ return data, status_code, headers
168
+ end
169
+
95
170
  # Get MissedEmail
96
171
  # @param missed_email_id [String] missedEmailId
97
172
  # @param [Hash] opts the optional 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
 
@@ -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
 
@@ -82,7 +82,7 @@ module MailSlurpClient
82
82
  end
83
83
 
84
84
  # Delete Template
85
- # @param template_id [String] TemplateId
85
+ # @param template_id [String] templateId
86
86
  # @param [Hash] opts the optional parameters
87
87
  # @return [nil]
88
88
  def delete_template(template_id, opts = {})
@@ -91,7 +91,7 @@ module MailSlurpClient
91
91
  end
92
92
 
93
93
  # Delete Template
94
- # @param template_id [String] TemplateId
94
+ # @param template_id [String] templateId
95
95
  # @param [Hash] opts the optional parameters
96
96
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
97
97
  def delete_template_with_http_info(template_id, opts = {})
@@ -103,7 +103,7 @@ module MailSlurpClient
103
103
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplateControllerApi.delete_template"
104
104
  end
105
105
  # resource path
106
- local_var_path = '/templates/{TemplateId}'.sub('{' + 'TemplateId' + '}', CGI.escape(template_id.to_s))
106
+ local_var_path = '/templates/{templateId}'.sub('{' + 'templateId' + '}', CGI.escape(template_id.to_s))
107
107
 
108
108
  # query parameters
109
109
  query_params = opts[:query_params] || {}
@@ -207,7 +207,7 @@ module MailSlurpClient
207
207
  end
208
208
 
209
209
  # Get Template
210
- # @param template_id [String] TemplateId
210
+ # @param template_id [String] templateId
211
211
  # @param [Hash] opts the optional parameters
212
212
  # @return [TemplateDto]
213
213
  def get_template(template_id, opts = {})
@@ -216,7 +216,7 @@ module MailSlurpClient
216
216
  end
217
217
 
218
218
  # Get Template
219
- # @param template_id [String] TemplateId
219
+ # @param template_id [String] templateId
220
220
  # @param [Hash] opts the optional parameters
221
221
  # @return [Array<(TemplateDto, Integer, Hash)>] TemplateDto data, response status code and response headers
222
222
  def get_template_with_http_info(template_id, opts = {})
@@ -228,7 +228,7 @@ module MailSlurpClient
228
228
  fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplateControllerApi.get_template"
229
229
  end
230
230
  # resource path
231
- local_var_path = '/templates/{TemplateId}'.sub('{' + 'TemplateId' + '}', CGI.escape(template_id.to_s))
231
+ local_var_path = '/templates/{templateId}'.sub('{' + 'templateId' + '}', CGI.escape(template_id.to_s))
232
232
 
233
233
  # query parameters
234
234
  query_params = opts[:query_params] || {}
@@ -319,5 +319,73 @@ module MailSlurpClient
319
319
  end
320
320
  return data, status_code, headers
321
321
  end
322
+
323
+ # Update a Template
324
+ # @param template_id [String] templateId
325
+ # @param create_template_options [CreateTemplateOptions] createTemplateOptions
326
+ # @param [Hash] opts the optional parameters
327
+ # @return [TemplateDto]
328
+ def update_template(template_id, create_template_options, opts = {})
329
+ data, _status_code, _headers = update_template_with_http_info(template_id, create_template_options, opts)
330
+ data
331
+ end
332
+
333
+ # Update a Template
334
+ # @param template_id [String] templateId
335
+ # @param create_template_options [CreateTemplateOptions] createTemplateOptions
336
+ # @param [Hash] opts the optional parameters
337
+ # @return [Array<(TemplateDto, Integer, Hash)>] TemplateDto data, response status code and response headers
338
+ def update_template_with_http_info(template_id, create_template_options, opts = {})
339
+ if @api_client.config.debugging
340
+ @api_client.config.logger.debug 'Calling API: TemplateControllerApi.update_template ...'
341
+ end
342
+ # verify the required parameter 'template_id' is set
343
+ if @api_client.config.client_side_validation && template_id.nil?
344
+ fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplateControllerApi.update_template"
345
+ end
346
+ # verify the required parameter 'create_template_options' is set
347
+ if @api_client.config.client_side_validation && create_template_options.nil?
348
+ fail ArgumentError, "Missing the required parameter 'create_template_options' when calling TemplateControllerApi.update_template"
349
+ end
350
+ # resource path
351
+ local_var_path = '/templates/{templateId}'.sub('{' + 'templateId' + '}', CGI.escape(template_id.to_s))
352
+
353
+ # query parameters
354
+ query_params = opts[:query_params] || {}
355
+
356
+ # header parameters
357
+ header_params = opts[:header_params] || {}
358
+ # HTTP header 'Accept' (if needed)
359
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
360
+ # HTTP header 'Content-Type'
361
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
362
+
363
+ # form parameters
364
+ form_params = opts[:form_params] || {}
365
+
366
+ # http body (model)
367
+ post_body = opts[:body] || @api_client.object_to_http_body(create_template_options)
368
+
369
+ # return_type
370
+ return_type = opts[:return_type] || 'TemplateDto'
371
+
372
+ # auth_names
373
+ auth_names = opts[:auth_names] || ['API_KEY']
374
+
375
+ new_options = opts.merge(
376
+ :header_params => header_params,
377
+ :query_params => query_params,
378
+ :form_params => form_params,
379
+ :body => post_body,
380
+ :auth_names => auth_names,
381
+ :return_type => return_type
382
+ )
383
+
384
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
385
+ if @api_client.config.debugging
386
+ @api_client.config.logger.debug "API called: TemplateControllerApi#update_template\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
387
+ end
388
+ return data, status_code, headers
389
+ end
322
390
  end
323
391
  end
@@ -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
 
@@ -250,8 +250,8 @@ module MailSlurpClient
250
250
  # @option opts [Integer] :timeout Max milliseconds to wait
251
251
  # @option opts [Boolean] :unread_only Optional filter for unread only (default to false)
252
252
  # @return [Array<EmailPreview>]
253
- def wait_for_matching_email(match_options, opts = {})
254
- data, _status_code, _headers = wait_for_matching_email_with_http_info(match_options, opts)
253
+ def wait_for_matching_emails(match_options, opts = {})
254
+ data, _status_code, _headers = wait_for_matching_emails_with_http_info(match_options, opts)
255
255
  data
256
256
  end
257
257
 
@@ -267,13 +267,13 @@ module MailSlurpClient
267
267
  # @option opts [Integer] :timeout Max milliseconds to wait
268
268
  # @option opts [Boolean] :unread_only Optional filter for unread only
269
269
  # @return [Array<(Array<EmailPreview>, Integer, Hash)>] Array<EmailPreview> data, response status code and response headers
270
- def wait_for_matching_email_with_http_info(match_options, opts = {})
270
+ def wait_for_matching_emails_with_http_info(match_options, opts = {})
271
271
  if @api_client.config.debugging
272
- @api_client.config.logger.debug 'Calling API: WaitForControllerApi.wait_for_matching_email ...'
272
+ @api_client.config.logger.debug 'Calling API: WaitForControllerApi.wait_for_matching_emails ...'
273
273
  end
274
274
  # verify the required parameter 'match_options' is set
275
275
  if @api_client.config.client_side_validation && match_options.nil?
276
- fail ArgumentError, "Missing the required parameter 'match_options' when calling WaitForControllerApi.wait_for_matching_email"
276
+ fail ArgumentError, "Missing the required parameter 'match_options' when calling WaitForControllerApi.wait_for_matching_emails"
277
277
  end
278
278
  allowable_values = ["ASC", "DESC"]
279
279
  if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
@@ -322,7 +322,7 @@ module MailSlurpClient
322
322
 
323
323
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
324
324
  if @api_client.config.debugging
325
- @api_client.config.logger.debug "API called: WaitForControllerApi#wait_for_matching_email\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
325
+ @api_client.config.logger.debug "API called: WaitForControllerApi#wait_for_matching_emails\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
326
326
  end
327
327
  return data, status_code, headers
328
328
  end