mailslurp_client 15.0.6 → 15.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mailslurp_client/api/email_controller_api.rb +10 -7
  3. data/lib/mailslurp_client/api/inbox_controller_api.rb +94 -94
  4. data/lib/mailslurp_client/models/abstract_webhook_payload.rb +28 -13
  5. data/lib/mailslurp_client/models/alias_dto.rb +39 -13
  6. data/lib/mailslurp_client/models/alias_projection.rb +40 -10
  7. data/lib/mailslurp_client/models/attachment_entity.rb +20 -0
  8. data/lib/mailslurp_client/models/attachment_meta_data.rb +20 -0
  9. data/lib/mailslurp_client/models/attachment_projection.rb +43 -23
  10. data/lib/mailslurp_client/models/basic_auth_options.rb +10 -0
  11. data/lib/mailslurp_client/models/bounce_projection.rb +10 -0
  12. data/lib/mailslurp_client/models/bounce_recipient.rb +20 -0
  13. data/lib/mailslurp_client/models/bounced_email_dto.rb +20 -0
  14. data/lib/mailslurp_client/models/bounced_recipient_dto.rb +15 -0
  15. data/lib/mailslurp_client/models/bulk_send_email_options.rb +5 -0
  16. data/lib/mailslurp_client/models/condition_option.rb +10 -0
  17. data/lib/mailslurp_client/models/contact_dto.rb +20 -0
  18. data/lib/mailslurp_client/models/contact_projection.rb +23 -13
  19. data/lib/mailslurp_client/models/content_match_options.rb +5 -0
  20. data/lib/mailslurp_client/models/count_dto.rb +5 -0
  21. data/lib/mailslurp_client/models/create_alias_options.rb +10 -0
  22. data/lib/mailslurp_client/models/create_group_options.rb +5 -0
  23. data/lib/mailslurp_client/models/create_inbox_forwarder_options.rb +10 -0
  24. data/lib/mailslurp_client/models/create_inbox_ruleset_options.rb +15 -0
  25. data/lib/mailslurp_client/models/create_template_options.rb +10 -0
  26. data/lib/mailslurp_client/models/create_webhook_options.rb +5 -0
  27. data/lib/mailslurp_client/models/describe_mail_server_domain_result.rb +10 -0
  28. data/lib/mailslurp_client/models/dns_lookup_options.rb +5 -0
  29. data/lib/mailslurp_client/models/dns_lookup_result.rb +20 -0
  30. data/lib/mailslurp_client/models/dns_lookup_results.rb +5 -0
  31. data/lib/mailslurp_client/models/domain_dto.rb +64 -13
  32. data/lib/mailslurp_client/models/domain_name_record.rb +20 -0
  33. data/lib/mailslurp_client/models/domain_preview.rb +32 -7
  34. data/lib/mailslurp_client/models/download_attachment_dto.rb +15 -0
  35. data/lib/mailslurp_client/models/email.rb +54 -13
  36. data/lib/mailslurp_client/models/email_content_match_result.rb +10 -0
  37. data/lib/mailslurp_client/models/email_links_result.rb +10 -0
  38. data/lib/mailslurp_client/models/email_preview.rb +15 -0
  39. data/lib/mailslurp_client/models/email_projection.rb +30 -10
  40. data/lib/mailslurp_client/models/email_text_lines_result.rb +10 -0
  41. data/lib/mailslurp_client/models/email_verification_result.rb +33 -13
  42. data/lib/mailslurp_client/models/expiration_defaults.rb +10 -0
  43. data/lib/mailslurp_client/models/expired_inbox_dto.rb +15 -0
  44. data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +20 -0
  45. data/lib/mailslurp_client/models/export_link.rb +5 -0
  46. data/lib/mailslurp_client/models/export_options.rb +5 -0
  47. data/lib/mailslurp_client/models/flush_expired_inboxes_result.rb +10 -0
  48. data/lib/mailslurp_client/models/gravatar_url.rb +10 -0
  49. data/lib/mailslurp_client/models/group_contacts_dto.rb +10 -0
  50. data/lib/mailslurp_client/models/group_dto.rb +15 -0
  51. data/lib/mailslurp_client/models/group_projection.rb +15 -0
  52. data/lib/mailslurp_client/models/html_validation_result.rb +29 -13
  53. data/lib/mailslurp_client/models/inbox_dto.rb +25 -0
  54. data/lib/mailslurp_client/models/inbox_exists_dto.rb +5 -0
  55. data/lib/mailslurp_client/models/inbox_forwarder_dto.rb +30 -0
  56. data/lib/mailslurp_client/models/inbox_forwarder_test_options.rb +5 -0
  57. data/lib/mailslurp_client/models/inbox_forwarder_test_result.rb +10 -0
  58. data/lib/mailslurp_client/models/inbox_preview.rb +20 -0
  59. data/lib/mailslurp_client/models/inbox_ruleset_dto.rb +35 -0
  60. data/lib/mailslurp_client/models/inbox_ruleset_test_options.rb +5 -0
  61. data/lib/mailslurp_client/models/inbox_ruleset_test_result.rb +10 -0
  62. data/lib/mailslurp_client/models/ip_address_result.rb +10 -0
  63. data/lib/mailslurp_client/models/json_schema_dto.rb +5 -0
  64. data/lib/mailslurp_client/models/match_option.rb +10 -0
  65. data/lib/mailslurp_client/models/missed_email.rb +35 -0
  66. data/lib/mailslurp_client/models/missed_email_projection.rb +10 -0
  67. data/lib/mailslurp_client/models/name_server_record.rb +20 -0
  68. data/lib/mailslurp_client/models/organization_inbox_projection.rb +25 -0
  69. data/lib/mailslurp_client/models/page_alias.rb +32 -23
  70. data/lib/mailslurp_client/models/page_attachment_entity.rb +32 -23
  71. data/lib/mailslurp_client/models/page_bounced_email.rb +32 -23
  72. data/lib/mailslurp_client/models/page_bounced_recipients.rb +32 -23
  73. data/lib/mailslurp_client/models/page_contact_projection.rb +32 -23
  74. data/lib/mailslurp_client/models/page_email_preview.rb +32 -23
  75. data/lib/mailslurp_client/models/page_email_projection.rb +32 -23
  76. data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +32 -23
  77. data/lib/mailslurp_client/models/page_group_projection.rb +32 -23
  78. data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +32 -23
  79. data/lib/mailslurp_client/models/page_inbox_projection.rb +32 -23
  80. data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +32 -23
  81. data/lib/mailslurp_client/models/page_missed_email_projection.rb +32 -23
  82. data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +32 -23
  83. data/lib/mailslurp_client/models/page_sent_email_projection.rb +51 -12
  84. data/lib/mailslurp_client/models/page_template_projection.rb +32 -23
  85. data/lib/mailslurp_client/models/page_thread_projection.rb +32 -23
  86. data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +32 -23
  87. data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +32 -23
  88. data/lib/mailslurp_client/models/page_webhook_projection.rb +32 -23
  89. data/lib/mailslurp_client/models/page_webhook_result.rb +32 -23
  90. data/lib/mailslurp_client/models/{pageable.rb → pageable_object.rb} +3 -3
  91. data/lib/mailslurp_client/models/raw_email_json.rb +5 -0
  92. data/lib/mailslurp_client/models/recipient.rb +10 -0
  93. data/lib/mailslurp_client/models/reply_to_alias_email_options.rb +24 -13
  94. data/lib/mailslurp_client/models/reply_to_email_options.rb +24 -13
  95. data/lib/mailslurp_client/models/send_email_options.rb +12 -2
  96. data/lib/mailslurp_client/models/sender.rb +10 -0
  97. data/lib/mailslurp_client/models/sent_email_dto.rb +33 -13
  98. data/lib/mailslurp_client/models/sent_email_projection.rb +50 -10
  99. data/lib/mailslurp_client/models/set_inbox_favourited_options.rb +5 -0
  100. data/lib/mailslurp_client/models/simple_send_email_options.rb +5 -0
  101. data/lib/mailslurp_client/models/sort.rb +13 -13
  102. data/lib/mailslurp_client/models/template_dto.rb +25 -0
  103. data/lib/mailslurp_client/models/template_projection.rb +25 -0
  104. data/lib/mailslurp_client/models/template_variable.rb +10 -0
  105. data/lib/mailslurp_client/models/test_new_inbox_forwarder_options.rb +10 -0
  106. data/lib/mailslurp_client/models/test_new_inbox_ruleset_options.rb +10 -0
  107. data/lib/mailslurp_client/models/thread_projection.rb +54 -19
  108. data/lib/mailslurp_client/models/tracking_pixel_dto.rb +25 -0
  109. data/lib/mailslurp_client/models/tracking_pixel_projection.rb +30 -10
  110. data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +10 -0
  111. data/lib/mailslurp_client/models/unread_count.rb +5 -0
  112. data/lib/mailslurp_client/models/unseen_error_count_dto.rb +5 -0
  113. data/lib/mailslurp_client/models/update_group_contacts.rb +5 -0
  114. data/lib/mailslurp_client/models/validation_dto.rb +10 -0
  115. data/lib/mailslurp_client/models/validation_message.rb +5 -0
  116. data/lib/mailslurp_client/models/verify_email_address_options.rb +5 -0
  117. data/lib/mailslurp_client/models/wait_for_conditions.rb +10 -0
  118. data/lib/mailslurp_client/models/webhook_dto.rb +45 -0
  119. data/lib/mailslurp_client/models/webhook_email_opened_payload.rb +40 -0
  120. data/lib/mailslurp_client/models/webhook_email_read_payload.rb +35 -0
  121. data/lib/mailslurp_client/models/webhook_new_attachment_payload.rb +35 -0
  122. data/lib/mailslurp_client/models/webhook_new_contact_payload.rb +35 -0
  123. data/lib/mailslurp_client/models/webhook_new_email_payload.rb +55 -0
  124. data/lib/mailslurp_client/models/webhook_projection.rb +25 -0
  125. data/lib/mailslurp_client/models/webhook_redrive_result.rb +10 -0
  126. data/lib/mailslurp_client/models/webhook_result_dto.rb +50 -0
  127. data/lib/mailslurp_client/models/webhook_test_request.rb +15 -0
  128. data/lib/mailslurp_client/models/webhook_test_result.rb +10 -0
  129. data/lib/mailslurp_client/version.rb +1 -1
  130. data/lib/mailslurp_client.rb +1 -1
  131. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6959d1ce1f57d0e522da0bd747963f5868e399f5e327521057d95aaeb128bb1
4
- data.tar.gz: c67e7e8161dbcccfb63fc985e828eac77587f934c2a07c8670d0375c02254d41
3
+ metadata.gz: ac5f0eef39ae9eeb0839508f0d045eb0d63db29220976afbf5e33e8c2eb3e100
4
+ data.tar.gz: 150fab57cb6c9b753cede6525f480477475a14426ece6c7e663d02a7e8b1068d
5
5
  SHA512:
6
- metadata.gz: 014cad7bdde7a28a961c88d2d4ecc32a7e9ac5d7a85a99becf808d789129ac5b960c7422c93f5a706f9aba34c9dd8ce729ef263916f42737c471482218f9c472
7
- data.tar.gz: 8f5aef45a3f426f3f000c21133d7a4ccd8384fd04caf1ee221b760c79ef3db836a4693e04f9d83d59dfd45986027db8154ba2925ac00deb973313173d05f812f
6
+ metadata.gz: d8e1b7ff9639e6931e1d7adf6662629a86264e212e5c27c5717922b6bd888aeb16bf0298b6adc62d2b7dd148d620a89365c619a1ab57df048249fccf1d818121
7
+ data.tar.gz: eb89dee4212f7651682c1e56f69c4d642d9dfb09ea96307f81e80faf237717b77a03f72fb8ff8103f575bb4e8088c682556ca295248c126c03a5f01571b55363
@@ -1728,37 +1728,40 @@ module MailSlurpClient
1728
1728
 
1729
1729
  # Send email
1730
1730
  # Alias for `InboxController.sendEmail` method - see original method for full details. Sends an email from a given inbox that you have created. If no inbox is supplied a random inbox will be created for you and used to send the email.
1731
+ # @param inbox_id [String] ID of the inbox you want to send the email from
1731
1732
  # @param send_email_options [SendEmailOptions]
1732
1733
  # @param [Hash] opts the optional parameters
1733
- # @option opts [String] :inbox_id ID of the inbox you want to send the email from
1734
1734
  # @option opts [Boolean] :use_domain_pool Use domain pool. Optionally create inbox to send from using the mailslurp domain pool.
1735
1735
  # @return [nil]
1736
- def send_email_source_optional(send_email_options, opts = {})
1737
- send_email_source_optional_with_http_info(send_email_options, opts)
1736
+ def send_email_source_optional(inbox_id, send_email_options, opts = {})
1737
+ send_email_source_optional_with_http_info(inbox_id, send_email_options, opts)
1738
1738
  nil
1739
1739
  end
1740
1740
 
1741
1741
  # Send email
1742
1742
  # Alias for `InboxController.sendEmail` method - see original method for full details. Sends an email from a given inbox that you have created. If no inbox is supplied a random inbox will be created for you and used to send the email.
1743
+ # @param inbox_id [String] ID of the inbox you want to send the email from
1743
1744
  # @param send_email_options [SendEmailOptions]
1744
1745
  # @param [Hash] opts the optional parameters
1745
- # @option opts [String] :inbox_id ID of the inbox you want to send the email from
1746
1746
  # @option opts [Boolean] :use_domain_pool Use domain pool. Optionally create inbox to send from using the mailslurp domain pool.
1747
1747
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
1748
- def send_email_source_optional_with_http_info(send_email_options, opts = {})
1748
+ def send_email_source_optional_with_http_info(inbox_id, send_email_options, opts = {})
1749
1749
  if @api_client.config.debugging
1750
1750
  @api_client.config.logger.debug 'Calling API: EmailControllerApi.send_email_source_optional ...'
1751
1751
  end
1752
+ # verify the required parameter 'inbox_id' is set
1753
+ if @api_client.config.client_side_validation && inbox_id.nil?
1754
+ fail ArgumentError, "Missing the required parameter 'inbox_id' when calling EmailControllerApi.send_email_source_optional"
1755
+ end
1752
1756
  # verify the required parameter 'send_email_options' is set
1753
1757
  if @api_client.config.client_side_validation && send_email_options.nil?
1754
1758
  fail ArgumentError, "Missing the required parameter 'send_email_options' when calling EmailControllerApi.send_email_source_optional"
1755
1759
  end
1756
1760
  # resource path
1757
- local_var_path = '/emails'
1761
+ local_var_path = '/emails'.sub('{' + 'inboxId' + '}', CGI.escape(inbox_id.to_s))
1758
1762
 
1759
1763
  # query parameters
1760
1764
  query_params = opts[:query_params] || {}
1761
- query_params[:'inboxId'] = opts[:'inbox_id'] if !opts[:'inbox_id'].nil?
1762
1765
  query_params[:'useDomainPool'] = opts[:'use_domain_pool'] if !opts[:'use_domain_pool'].nil?
1763
1766
 
1764
1767
  # header parameters
@@ -22,16 +22,16 @@ module MailSlurpClient
22
22
  # Create an inbox email address. An inbox has a real email address and can send and receive emails. Inboxes can be either `SMTP` or `HTTP` inboxes.
23
23
  # Create a new inbox and with a randomized email address to send and receive from. Pass emailAddress parameter if you wish to use a specific email address. Creating an inbox is required before sending or receiving emails. If writing tests it is recommended that you create a new inbox during each test method so that it is unique and empty.
24
24
  # @param [Hash] opts the optional parameters
25
- # @option opts [String] :a_custom_email_address_to_use_with_the_inbox__defaults_to_null__when_null_mail_slurp_will_assign_a_random_email_address_to_the_inbox_such_as_123mailslurp_com__if_you_use_the_use_domain_pool_option_when_the_email_address_is_null_it_will_generate_an_email_address_with_a_more_varied_domain_ending_such_as_123mailslurp_info_or_123mailslurp_biz__when_a_custom_email_address_is_provided_the_address_is_split_into_a_domain_and_the_domain_is_queried_against_your_user__if_you_have_created_the_domain_in_the_mail_slurp_dashboard_and_verified_it_you_can_use_any_email_address_that_ends_with_the_domain__note_domain_types_must_match_the_inbox_type___so_smtp_inboxes_will_only_work_with_smtp_type_domains__avoid_smtp_inboxes_if_you_need_to_send_emails_as_they_can_only_receive__send_an_email_to_this_address_and_the_inbox_will_receive_and_store_it_for_you__to_retrieve_the_email_use_the_inbox_and_email_controller_endpoints_with_the_inbox_id_
26
- # @option opts [Array<String>] :tags_that_inbox_has_been_tagged_with__tags_can_be_added_to_inboxes_to_group_different_inboxes_within_an_account__you_can_also_search_for_inboxes_by_tag_in_the_dashboard_ui_
27
- # @option opts [String] :optional_name_of_the_inbox__displayed_in_the_dashboard_for_easier_search_and_used_as_the_sender_name_when_sending_emails_
28
- # @option opts [String] :optional_description_of_the_inbox_for_labelling_purposes__is_shown_in_the_dashboard_and_can_be_used_with
29
- # @option opts [Boolean] :use_the_mail_slurp_domain_name_pool_with_this_inbox_when_creating_the_email_address__defaults_to_null__if_enabled_the_inbox_will_be_an_email_address_with_a_domain_randomly_chosen_from_a_list_of_the_mail_slurp_domains__this_is_useful_when_the_default_mailslurp_com_email_addresses_used_with_inboxes_are_blocked_or_considered_spam_by_a_provider_or_receiving_service__when_domain_pool_is_enabled_an_email_address_will_be_generated_ending_in_mailslurp_worldinfoxyz______this_means_a_tld_is_randomly_selecting_from_a_list_of__biz__info__xyz_etc_to_add_variance_to_the_generated_email_addresses__when_null_or_false_mail_slurp_uses_the_default_behavior_of_mailslurp_com_or_custom_email_address_provided_by_the_email_address_field__note_this_feature_is_only_available_for_http_inbox_types_
30
- # @option opts [Boolean] :is_the_inbox_a_favorite__marking_an_inbox_as_a_favorite_is_typically_done_in_the_dashboard_for_quick_access_or_filtering
31
- # @option opts [DateTime] :optional_inbox_expiration_date__if_null_then_this_inbox_is_permanent_and_the_emails_in_it_wont_be_deleted__if_an_expiration_date_is_provided_or_is_required_by_your_plan_the_inbox_will_be_closed_when_the_expiration_time_is_reached__expired_inboxes_still_contain_their_emails_but_can_no_longer_send_or_receive_emails__an_expired_inbox_record_is_created_when_an_inbox_and_the_email_address_and_inbox_id_are_recorded__the_expires_at_property_is_a_timestamp_string_in_iso_date_time_format_yyyy_mm_dd_th_hmmss_sssxxx_
32
- # @option opts [Integer] :number_of_milliseconds_that_inbox_should_exist_for
33
- # @option opts [Boolean] :deprecated__team_access_is_always_true__grant_team_access_to_this_inbox_and_the_emails_that_belong_to_it_for_team_members_of_your_organization_
34
- # @option opts [String] :http__default_or_smtp_inbox_type__http_inboxes_are_default_and_best_solution_for_most_cases__smtp_inboxes_are_more_reliable_for_public_inbound_email_consumption__but_do_not_support_sending_emails__when_using_custom_domains_the_domain_type_must_match_the_inbox_type__http_inboxes_are_processed_by_aws_ses_while_smtp_inboxes_use_a_custom_mail_server_running_at_mx_mailslurp_com_
25
+ # @option opts [String] :email_address A custom email address to use with the inbox. Defaults to null. When null MailSlurp will assign a random email address to the inbox such as &#x60;123@mailslurp.com&#x60;. If you use the &#x60;useDomainPool&#x60; option when the email address is null it will generate an email address with a more varied domain ending such as &#x60;123@mailslurp.info&#x60; or &#x60;123@mailslurp.biz&#x60;. When a custom email address is provided the address is split into a domain and the domain is queried against your user. If you have created the domain in the MailSlurp dashboard and verified it you can use any email address that ends with the domain. Note domain types must match the inbox type - so &#x60;SMTP&#x60; inboxes will only work with &#x60;SMTP&#x60; type domains. Avoid &#x60;SMTP&#x60; inboxes if you need to send emails as they can only receive. Send an email to this address and the inbox will receive and store it for you. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID.
26
+ # @option opts [Array<String>] :tags Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI.
27
+ # @option opts [String] :name Optional name of the inbox. Displayed in the dashboard for easier search and used as the sender name when sending emails.
28
+ # @option opts [String] :description Optional description of the inbox for labelling purposes. Is shown in the dashboard and can be used with
29
+ # @option opts [Boolean] :use_domain_pool Use the MailSlurp domain name pool with this inbox when creating the email address. Defaults to null. If enabled the inbox will be an email address with a domain randomly chosen from a list of the MailSlurp domains. This is useful when the default &#x60;@mailslurp.com&#x60; email addresses used with inboxes are blocked or considered spam by a provider or receiving service. When domain pool is enabled an email address will be generated ending in &#x60;@mailslurp.{world,info,xyz,...}&#x60; . This means a TLD is randomly selecting from a list of &#x60;.biz&#x60;, &#x60;.info&#x60;, &#x60;.xyz&#x60; etc to add variance to the generated email addresses. When null or false MailSlurp uses the default behavior of &#x60;@mailslurp.com&#x60; or custom email address provided by the emailAddress field. Note this feature is only available for &#x60;HTTP&#x60; inbox types.
30
+ # @option opts [Boolean] :favourite Is the inbox a favorite. Marking an inbox as a favorite is typically done in the dashboard for quick access or filtering
31
+ # @option opts [DateTime] :expires_at Optional inbox expiration date. If null then this inbox is permanent and the emails in it won&#39;t be deleted. If an expiration date is provided or is required by your plan the inbox will be closed when the expiration time is reached. Expired inboxes still contain their emails but can no longer send or receive emails. An ExpiredInboxRecord is created when an inbox and the email address and inbox ID are recorded. The expiresAt property is a timestamp string in ISO DateTime Format yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSXXX.
32
+ # @option opts [Integer] :expires_in Number of milliseconds that inbox should exist for
33
+ # @option opts [Boolean] :allow_team_access DEPRECATED (team access is always true). Grant team access to this inbox and the emails that belong to it for team members of your organization.
34
+ # @option opts [String] :inbox_type HTTP (default) or SMTP inbox type. HTTP inboxes are default and best solution for most cases. SMTP inboxes are more reliable for public inbound email consumption (but do not support sending emails). When using custom domains the domain type must match the inbox type. HTTP inboxes are processed by AWS SES while SMTP inboxes use a custom mail server running at &#x60;mx.mailslurp.com&#x60;.
35
35
  # @return [InboxDto]
36
36
  def create_inbox(opts = {})
37
37
  data, _status_code, _headers = create_inbox_with_http_info(opts)
@@ -41,40 +41,40 @@ module MailSlurpClient
41
41
  # Create an inbox email address. An inbox has a real email address and can send and receive emails. Inboxes can be either &#x60;SMTP&#x60; or &#x60;HTTP&#x60; inboxes.
42
42
  # Create a new inbox and with a randomized email address to send and receive from. Pass emailAddress parameter if you wish to use a specific email address. Creating an inbox is required before sending or receiving emails. If writing tests it is recommended that you create a new inbox during each test method so that it is unique and empty.
43
43
  # @param [Hash] opts the optional parameters
44
- # @option opts [String] :a_custom_email_address_to_use_with_the_inbox__defaults_to_null__when_null_mail_slurp_will_assign_a_random_email_address_to_the_inbox_such_as_123mailslurp_com__if_you_use_the_use_domain_pool_option_when_the_email_address_is_null_it_will_generate_an_email_address_with_a_more_varied_domain_ending_such_as_123mailslurp_info_or_123mailslurp_biz__when_a_custom_email_address_is_provided_the_address_is_split_into_a_domain_and_the_domain_is_queried_against_your_user__if_you_have_created_the_domain_in_the_mail_slurp_dashboard_and_verified_it_you_can_use_any_email_address_that_ends_with_the_domain__note_domain_types_must_match_the_inbox_type___so_smtp_inboxes_will_only_work_with_smtp_type_domains__avoid_smtp_inboxes_if_you_need_to_send_emails_as_they_can_only_receive__send_an_email_to_this_address_and_the_inbox_will_receive_and_store_it_for_you__to_retrieve_the_email_use_the_inbox_and_email_controller_endpoints_with_the_inbox_id_
45
- # @option opts [Array<String>] :tags_that_inbox_has_been_tagged_with__tags_can_be_added_to_inboxes_to_group_different_inboxes_within_an_account__you_can_also_search_for_inboxes_by_tag_in_the_dashboard_ui_
46
- # @option opts [String] :optional_name_of_the_inbox__displayed_in_the_dashboard_for_easier_search_and_used_as_the_sender_name_when_sending_emails_
47
- # @option opts [String] :optional_description_of_the_inbox_for_labelling_purposes__is_shown_in_the_dashboard_and_can_be_used_with
48
- # @option opts [Boolean] :use_the_mail_slurp_domain_name_pool_with_this_inbox_when_creating_the_email_address__defaults_to_null__if_enabled_the_inbox_will_be_an_email_address_with_a_domain_randomly_chosen_from_a_list_of_the_mail_slurp_domains__this_is_useful_when_the_default_mailslurp_com_email_addresses_used_with_inboxes_are_blocked_or_considered_spam_by_a_provider_or_receiving_service__when_domain_pool_is_enabled_an_email_address_will_be_generated_ending_in_mailslurp_worldinfoxyz______this_means_a_tld_is_randomly_selecting_from_a_list_of__biz__info__xyz_etc_to_add_variance_to_the_generated_email_addresses__when_null_or_false_mail_slurp_uses_the_default_behavior_of_mailslurp_com_or_custom_email_address_provided_by_the_email_address_field__note_this_feature_is_only_available_for_http_inbox_types_
49
- # @option opts [Boolean] :is_the_inbox_a_favorite__marking_an_inbox_as_a_favorite_is_typically_done_in_the_dashboard_for_quick_access_or_filtering
50
- # @option opts [DateTime] :optional_inbox_expiration_date__if_null_then_this_inbox_is_permanent_and_the_emails_in_it_wont_be_deleted__if_an_expiration_date_is_provided_or_is_required_by_your_plan_the_inbox_will_be_closed_when_the_expiration_time_is_reached__expired_inboxes_still_contain_their_emails_but_can_no_longer_send_or_receive_emails__an_expired_inbox_record_is_created_when_an_inbox_and_the_email_address_and_inbox_id_are_recorded__the_expires_at_property_is_a_timestamp_string_in_iso_date_time_format_yyyy_mm_dd_th_hmmss_sssxxx_
51
- # @option opts [Integer] :number_of_milliseconds_that_inbox_should_exist_for
52
- # @option opts [Boolean] :deprecated__team_access_is_always_true__grant_team_access_to_this_inbox_and_the_emails_that_belong_to_it_for_team_members_of_your_organization_
53
- # @option opts [String] :http__default_or_smtp_inbox_type__http_inboxes_are_default_and_best_solution_for_most_cases__smtp_inboxes_are_more_reliable_for_public_inbound_email_consumption__but_do_not_support_sending_emails__when_using_custom_domains_the_domain_type_must_match_the_inbox_type__http_inboxes_are_processed_by_aws_ses_while_smtp_inboxes_use_a_custom_mail_server_running_at_mx_mailslurp_com_
44
+ # @option opts [String] :email_address A custom email address to use with the inbox. Defaults to null. When null MailSlurp will assign a random email address to the inbox such as &#x60;123@mailslurp.com&#x60;. If you use the &#x60;useDomainPool&#x60; option when the email address is null it will generate an email address with a more varied domain ending such as &#x60;123@mailslurp.info&#x60; or &#x60;123@mailslurp.biz&#x60;. When a custom email address is provided the address is split into a domain and the domain is queried against your user. If you have created the domain in the MailSlurp dashboard and verified it you can use any email address that ends with the domain. Note domain types must match the inbox type - so &#x60;SMTP&#x60; inboxes will only work with &#x60;SMTP&#x60; type domains. Avoid &#x60;SMTP&#x60; inboxes if you need to send emails as they can only receive. Send an email to this address and the inbox will receive and store it for you. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID.
45
+ # @option opts [Array<String>] :tags Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI.
46
+ # @option opts [String] :name Optional name of the inbox. Displayed in the dashboard for easier search and used as the sender name when sending emails.
47
+ # @option opts [String] :description Optional description of the inbox for labelling purposes. Is shown in the dashboard and can be used with
48
+ # @option opts [Boolean] :use_domain_pool Use the MailSlurp domain name pool with this inbox when creating the email address. Defaults to null. If enabled the inbox will be an email address with a domain randomly chosen from a list of the MailSlurp domains. This is useful when the default &#x60;@mailslurp.com&#x60; email addresses used with inboxes are blocked or considered spam by a provider or receiving service. When domain pool is enabled an email address will be generated ending in &#x60;@mailslurp.{world,info,xyz,...}&#x60; . This means a TLD is randomly selecting from a list of &#x60;.biz&#x60;, &#x60;.info&#x60;, &#x60;.xyz&#x60; etc to add variance to the generated email addresses. When null or false MailSlurp uses the default behavior of &#x60;@mailslurp.com&#x60; or custom email address provided by the emailAddress field. Note this feature is only available for &#x60;HTTP&#x60; inbox types.
49
+ # @option opts [Boolean] :favourite Is the inbox a favorite. Marking an inbox as a favorite is typically done in the dashboard for quick access or filtering
50
+ # @option opts [DateTime] :expires_at Optional inbox expiration date. If null then this inbox is permanent and the emails in it won&#39;t be deleted. If an expiration date is provided or is required by your plan the inbox will be closed when the expiration time is reached. Expired inboxes still contain their emails but can no longer send or receive emails. An ExpiredInboxRecord is created when an inbox and the email address and inbox ID are recorded. The expiresAt property is a timestamp string in ISO DateTime Format yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSXXX.
51
+ # @option opts [Integer] :expires_in Number of milliseconds that inbox should exist for
52
+ # @option opts [Boolean] :allow_team_access DEPRECATED (team access is always true). Grant team access to this inbox and the emails that belong to it for team members of your organization.
53
+ # @option opts [String] :inbox_type HTTP (default) or SMTP inbox type. HTTP inboxes are default and best solution for most cases. SMTP inboxes are more reliable for public inbound email consumption (but do not support sending emails). When using custom domains the domain type must match the inbox type. HTTP inboxes are processed by AWS SES while SMTP inboxes use a custom mail server running at &#x60;mx.mailslurp.com&#x60;.
54
54
  # @return [Array<(InboxDto, Integer, Hash)>] InboxDto data, response status code and response headers
55
55
  def create_inbox_with_http_info(opts = {})
56
56
  if @api_client.config.debugging
57
57
  @api_client.config.logger.debug 'Calling API: InboxControllerApi.create_inbox ...'
58
58
  end
59
59
  allowable_values = ["HTTP_INBOX", "SMTP_INBOX"]
60
- if @api_client.config.client_side_validation && opts[:'http__default_or_smtp_inbox_type__http_inboxes_are_default_and_best_solution_for_most_cases__smtp_inboxes_are_more_reliable_for_public_inbound_email_consumption__but_do_not_support_sending_emails__when_using_custom_domains_the_domain_type_must_match_the_inbox_type__http_inboxes_are_processed_by_aws_ses_while_smtp_inboxes_use_a_custom_mail_server_running_at_mx_mailslurp_com_'] && !allowable_values.include?(opts[:'http__default_or_smtp_inbox_type__http_inboxes_are_default_and_best_solution_for_most_cases__smtp_inboxes_are_more_reliable_for_public_inbound_email_consumption__but_do_not_support_sending_emails__when_using_custom_domains_the_domain_type_must_match_the_inbox_type__http_inboxes_are_processed_by_aws_ses_while_smtp_inboxes_use_a_custom_mail_server_running_at_mx_mailslurp_com_'])
61
- fail ArgumentError, "invalid value for \"http__default_or_smtp_inbox_type__http_inboxes_are_default_and_best_solution_for_most_cases__smtp_inboxes_are_more_reliable_for_public_inbound_email_consumption__but_do_not_support_sending_emails__when_using_custom_domains_the_domain_type_must_match_the_inbox_type__http_inboxes_are_processed_by_aws_ses_while_smtp_inboxes_use_a_custom_mail_server_running_at_mx_mailslurp_com_\", must be one of #{allowable_values}"
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
62
  end
63
63
  # resource path
64
64
  local_var_path = '/inboxes'
65
65
 
66
66
  # query parameters
67
67
  query_params = opts[:query_params] || {}
68
- query_params[:'A custom email address to use with the inbox. Defaults to null. When null MailSlurp will assign a random email address to the inbox such as `123@mailslurp.com`. If you use the `useDomainPool` option when the email address is null it will generate an email address with a more varied domain ending such as `123@mailslurp.info` or `123@mailslurp.biz`. When a custom email address is provided the address is split into a domain and the domain is queried against your user. If you have created the domain in the MailSlurp dashboard and verified it you can use any email address that ends with the domain. Note domain types must match the inbox type - so `SMTP` inboxes will only work with `SMTP` type domains. Avoid `SMTP` inboxes if you need to send emails as they can only receive. Send an email to this address and the inbox will receive and store it for you. To retrieve the email use the Inbox and Email Controller endpoints with the inbox ID.'] = opts[:'a_custom_email_address_to_use_with_the_inbox__defaults_to_null__when_null_mail_slurp_will_assign_a_random_email_address_to_the_inbox_such_as_123mailslurp_com__if_you_use_the_use_domain_pool_option_when_the_email_address_is_null_it_will_generate_an_email_address_with_a_more_varied_domain_ending_such_as_123mailslurp_info_or_123mailslurp_biz__when_a_custom_email_address_is_provided_the_address_is_split_into_a_domain_and_the_domain_is_queried_against_your_user__if_you_have_created_the_domain_in_the_mail_slurp_dashboard_and_verified_it_you_can_use_any_email_address_that_ends_with_the_domain__note_domain_types_must_match_the_inbox_type___so_smtp_inboxes_will_only_work_with_smtp_type_domains__avoid_smtp_inboxes_if_you_need_to_send_emails_as_they_can_only_receive__send_an_email_to_this_address_and_the_inbox_will_receive_and_store_it_for_you__to_retrieve_the_email_use_the_inbox_and_email_controller_endpoints_with_the_inbox_id_'] if !opts[:'a_custom_email_address_to_use_with_the_inbox__defaults_to_null__when_null_mail_slurp_will_assign_a_random_email_address_to_the_inbox_such_as_123mailslurp_com__if_you_use_the_use_domain_pool_option_when_the_email_address_is_null_it_will_generate_an_email_address_with_a_more_varied_domain_ending_such_as_123mailslurp_info_or_123mailslurp_biz__when_a_custom_email_address_is_provided_the_address_is_split_into_a_domain_and_the_domain_is_queried_against_your_user__if_you_have_created_the_domain_in_the_mail_slurp_dashboard_and_verified_it_you_can_use_any_email_address_that_ends_with_the_domain__note_domain_types_must_match_the_inbox_type___so_smtp_inboxes_will_only_work_with_smtp_type_domains__avoid_smtp_inboxes_if_you_need_to_send_emails_as_they_can_only_receive__send_an_email_to_this_address_and_the_inbox_will_receive_and_store_it_for_you__to_retrieve_the_email_use_the_inbox_and_email_controller_endpoints_with_the_inbox_id_'].nil?
69
- query_params[:'Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI.'] = @api_client.build_collection_param(opts[:'tags_that_inbox_has_been_tagged_with__tags_can_be_added_to_inboxes_to_group_different_inboxes_within_an_account__you_can_also_search_for_inboxes_by_tag_in_the_dashboard_ui_'], :multi) if !opts[:'tags_that_inbox_has_been_tagged_with__tags_can_be_added_to_inboxes_to_group_different_inboxes_within_an_account__you_can_also_search_for_inboxes_by_tag_in_the_dashboard_ui_'].nil?
70
- query_params[:'Optional name of the inbox. Displayed in the dashboard for easier search and used as the sender name when sending emails.'] = opts[:'optional_name_of_the_inbox__displayed_in_the_dashboard_for_easier_search_and_used_as_the_sender_name_when_sending_emails_'] if !opts[:'optional_name_of_the_inbox__displayed_in_the_dashboard_for_easier_search_and_used_as_the_sender_name_when_sending_emails_'].nil?
71
- query_params[:'Optional description of the inbox for labelling purposes. Is shown in the dashboard and can be used with'] = opts[:'optional_description_of_the_inbox_for_labelling_purposes__is_shown_in_the_dashboard_and_can_be_used_with'] if !opts[:'optional_description_of_the_inbox_for_labelling_purposes__is_shown_in_the_dashboard_and_can_be_used_with'].nil?
72
- query_params[:'Use the MailSlurp domain name pool with this inbox when creating the email address. Defaults to null. If enabled the inbox will be an email address with a domain randomly chosen from a list of the MailSlurp domains. This is useful when the default `@mailslurp.com` email addresses used with inboxes are blocked or considered spam by a provider or receiving service. When domain pool is enabled an email address will be generated ending in `@mailslurp.{world,info,xyz,...}` . This means a TLD is randomly selecting from a list of `.biz`, `.info`, `.xyz` etc to add variance to the generated email addresses. When null or false MailSlurp uses the default behavior of `@mailslurp.com` or custom email address provided by the emailAddress field. Note this feature is only available for `HTTP` inbox types.'] = opts[:'use_the_mail_slurp_domain_name_pool_with_this_inbox_when_creating_the_email_address__defaults_to_null__if_enabled_the_inbox_will_be_an_email_address_with_a_domain_randomly_chosen_from_a_list_of_the_mail_slurp_domains__this_is_useful_when_the_default_mailslurp_com_email_addresses_used_with_inboxes_are_blocked_or_considered_spam_by_a_provider_or_receiving_service__when_domain_pool_is_enabled_an_email_address_will_be_generated_ending_in_mailslurp_worldinfoxyz______this_means_a_tld_is_randomly_selecting_from_a_list_of__biz__info__xyz_etc_to_add_variance_to_the_generated_email_addresses__when_null_or_false_mail_slurp_uses_the_default_behavior_of_mailslurp_com_or_custom_email_address_provided_by_the_email_address_field__note_this_feature_is_only_available_for_http_inbox_types_'] if !opts[:'use_the_mail_slurp_domain_name_pool_with_this_inbox_when_creating_the_email_address__defaults_to_null__if_enabled_the_inbox_will_be_an_email_address_with_a_domain_randomly_chosen_from_a_list_of_the_mail_slurp_domains__this_is_useful_when_the_default_mailslurp_com_email_addresses_used_with_inboxes_are_blocked_or_considered_spam_by_a_provider_or_receiving_service__when_domain_pool_is_enabled_an_email_address_will_be_generated_ending_in_mailslurp_worldinfoxyz______this_means_a_tld_is_randomly_selecting_from_a_list_of__biz__info__xyz_etc_to_add_variance_to_the_generated_email_addresses__when_null_or_false_mail_slurp_uses_the_default_behavior_of_mailslurp_com_or_custom_email_address_provided_by_the_email_address_field__note_this_feature_is_only_available_for_http_inbox_types_'].nil?
73
- query_params[:'Is the inbox a favorite. Marking an inbox as a favorite is typically done in the dashboard for quick access or filtering'] = opts[:'is_the_inbox_a_favorite__marking_an_inbox_as_a_favorite_is_typically_done_in_the_dashboard_for_quick_access_or_filtering'] if !opts[:'is_the_inbox_a_favorite__marking_an_inbox_as_a_favorite_is_typically_done_in_the_dashboard_for_quick_access_or_filtering'].nil?
74
- query_params[:'Optional inbox expiration date. If null then this inbox is permanent and the emails in it won't be deleted. If an expiration date is provided or is required by your plan the inbox will be closed when the expiration time is reached. Expired inboxes still contain their emails but can no longer send or receive emails. An ExpiredInboxRecord is created when an inbox and the email address and inbox ID are recorded. The expiresAt property is a timestamp string in ISO DateTime Format yyyy-MM-dd'T'HH:mm:ss.SSSXXX.'] = opts[:'optional_inbox_expiration_date__if_null_then_this_inbox_is_permanent_and_the_emails_in_it_wont_be_deleted__if_an_expiration_date_is_provided_or_is_required_by_your_plan_the_inbox_will_be_closed_when_the_expiration_time_is_reached__expired_inboxes_still_contain_their_emails_but_can_no_longer_send_or_receive_emails__an_expired_inbox_record_is_created_when_an_inbox_and_the_email_address_and_inbox_id_are_recorded__the_expires_at_property_is_a_timestamp_string_in_iso_date_time_format_yyyy_mm_dd_th_hmmss_sssxxx_'] if !opts[:'optional_inbox_expiration_date__if_null_then_this_inbox_is_permanent_and_the_emails_in_it_wont_be_deleted__if_an_expiration_date_is_provided_or_is_required_by_your_plan_the_inbox_will_be_closed_when_the_expiration_time_is_reached__expired_inboxes_still_contain_their_emails_but_can_no_longer_send_or_receive_emails__an_expired_inbox_record_is_created_when_an_inbox_and_the_email_address_and_inbox_id_are_recorded__the_expires_at_property_is_a_timestamp_string_in_iso_date_time_format_yyyy_mm_dd_th_hmmss_sssxxx_'].nil?
75
- query_params[:'Number of milliseconds that inbox should exist for'] = opts[:'number_of_milliseconds_that_inbox_should_exist_for'] if !opts[:'number_of_milliseconds_that_inbox_should_exist_for'].nil?
76
- query_params[:'DEPRECATED (team access is always true). Grant team access to this inbox and the emails that belong to it for team members of your organization.'] = opts[:'deprecated__team_access_is_always_true__grant_team_access_to_this_inbox_and_the_emails_that_belong_to_it_for_team_members_of_your_organization_'] if !opts[:'deprecated__team_access_is_always_true__grant_team_access_to_this_inbox_and_the_emails_that_belong_to_it_for_team_members_of_your_organization_'].nil?
77
- query_params[:'HTTP (default) or SMTP inbox type. HTTP inboxes are default and best solution for most cases. SMTP inboxes are more reliable for public inbound email consumption (but do not support sending emails). When using custom domains the domain type must match the inbox type. HTTP inboxes are processed by AWS SES while SMTP inboxes use a custom mail server running at `mx.mailslurp.com`.'] = opts[:'http__default_or_smtp_inbox_type__http_inboxes_are_default_and_best_solution_for_most_cases__smtp_inboxes_are_more_reliable_for_public_inbound_email_consumption__but_do_not_support_sending_emails__when_using_custom_domains_the_domain_type_must_match_the_inbox_type__http_inboxes_are_processed_by_aws_ses_while_smtp_inboxes_use_a_custom_mail_server_running_at_mx_mailslurp_com_'] if !opts[:'http__default_or_smtp_inbox_type__http_inboxes_are_default_and_best_solution_for_most_cases__smtp_inboxes_are_more_reliable_for_public_inbound_email_consumption__but_do_not_support_sending_emails__when_using_custom_domains_the_domain_type_must_match_the_inbox_type__http_inboxes_are_processed_by_aws_ses_while_smtp_inboxes_use_a_custom_mail_server_running_at_mx_mailslurp_com_'].nil?
68
+ query_params[:'emailAddress'] = opts[:'email_address'] if !opts[:'email_address'].nil?
69
+ query_params[:'tags'] = @api_client.build_collection_param(opts[:'tags'], :multi) if !opts[:'tags'].nil?
70
+ query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
71
+ query_params[:'description'] = opts[:'description'] if !opts[:'description'].nil?
72
+ query_params[:'useDomainPool'] = opts[:'use_domain_pool'] if !opts[:'use_domain_pool'].nil?
73
+ query_params[:'favourite'] = opts[:'favourite'] if !opts[:'favourite'].nil?
74
+ query_params[:'expiresAt'] = opts[:'expires_at'] if !opts[:'expires_at'].nil?
75
+ query_params[:'expiresIn'] = opts[:'expires_in'] if !opts[:'expires_in'].nil?
76
+ query_params[:'allowTeamAccess'] = opts[:'allow_team_access'] if !opts[:'allow_team_access'].nil?
77
+ query_params[:'inboxType'] = opts[:'inbox_type'] if !opts[:'inbox_type'].nil?
78
78
 
79
79
  # header parameters
80
80
  header_params = opts[:header_params] || {}
@@ -111,7 +111,7 @@ module MailSlurpClient
111
111
 
112
112
  # Create an inbox ruleset
113
113
  # Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
114
- # @param inbox_id [String]
114
+ # @param inbox_id [String] inboxId
115
115
  # @param create_inbox_ruleset_options [CreateInboxRulesetOptions]
116
116
  # @param [Hash] opts the optional parameters
117
117
  # @return [InboxRulesetDto]
@@ -122,7 +122,7 @@ module MailSlurpClient
122
122
 
123
123
  # Create an inbox ruleset
124
124
  # Create a new inbox rule for forwarding, blocking, and allowing emails when sending and receiving
125
- # @param inbox_id [String]
125
+ # @param inbox_id [String] inboxId
126
126
  # @param create_inbox_ruleset_options [CreateInboxRulesetOptions]
127
127
  # @param [Hash] opts the optional parameters
128
128
  # @return [Array<(InboxRulesetDto, Integer, Hash)>] InboxRulesetDto data, response status code and response headers
@@ -542,7 +542,7 @@ module MailSlurpClient
542
542
  # @option opts [Boolean] :favourite Optionally filter results for favourites only (default to false)
543
543
  # @option opts [String] :search Optionally filter by search words partial matching ID, tags, name, and email address
544
544
  # @option opts [String] :tag Optionally filter by tags. Will return inboxes that include given tags
545
- # @option opts [Boolean] :deprecated__optionally_filter_by_team_access_
545
+ # @option opts [Boolean] :team_access DEPRECATED. Optionally filter by team access.
546
546
  # @option opts [DateTime] :since Optional filter by created after given date time
547
547
  # @option opts [DateTime] :before Optional filter by created before given date time
548
548
  # @return [PageInboxProjection]
@@ -560,7 +560,7 @@ module MailSlurpClient
560
560
  # @option opts [Boolean] :favourite Optionally filter results for favourites only
561
561
  # @option opts [String] :search Optionally filter by search words partial matching ID, tags, name, and email address
562
562
  # @option opts [String] :tag Optionally filter by tags. Will return inboxes that include given tags
563
- # @option opts [Boolean] :deprecated__optionally_filter_by_team_access_
563
+ # @option opts [Boolean] :team_access DEPRECATED. Optionally filter by team access.
564
564
  # @option opts [DateTime] :since Optional filter by created after given date time
565
565
  # @option opts [DateTime] :before Optional filter by created before given date time
566
566
  # @return [Array<(PageInboxProjection, Integer, Hash)>] PageInboxProjection data, response status code and response headers
@@ -583,7 +583,7 @@ module MailSlurpClient
583
583
  query_params[:'favourite'] = opts[:'favourite'] if !opts[:'favourite'].nil?
584
584
  query_params[:'search'] = opts[:'search'] if !opts[:'search'].nil?
585
585
  query_params[:'tag'] = opts[:'tag'] if !opts[:'tag'].nil?
586
- query_params[:'DEPRECATED. Optionally filter by team access.'] = opts[:'deprecated__optionally_filter_by_team_access_'] if !opts[:'deprecated__optionally_filter_by_team_access_'].nil?
586
+ query_params[:'teamAccess'] = opts[:'team_access'] if !opts[:'team_access'].nil?
587
587
  query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
588
588
  query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
589
589
 
@@ -622,7 +622,7 @@ module MailSlurpClient
622
622
 
623
623
  # Get emails in an Inbox. This method is not idempotent as it allows retries and waits if you want certain conditions to be met before returning. For simple listing and sorting of known emails use the email controller instead.
624
624
  # List emails that an inbox has received. Only emails that are sent to the inbox's email address will appear in the inbox. It may take several seconds for any email you send to an inbox's email address to appear in the inbox. To make this endpoint wait for a minimum number of emails use the `minCount` parameter. The server will retry the inbox database until the `minCount` is satisfied or the `retryTimeout` is reached
625
- # @param id_of_inbox_that_emails_belongs_to [String]
625
+ # @param inbox_id [String] Id of inbox that emails belongs to
626
626
  # @param [Hash] opts the optional parameters
627
627
  # @option opts [Integer] :alias_for_limit__assessed_first_before_assessing_any_passed_limit_
628
628
  # @option opts [Integer] :limit Limit the result set, ordered by received date time sort direction. Maximum 100. For more listing options see the email controller
@@ -631,17 +631,17 @@ module MailSlurpClient
631
631
  # @option opts [Integer] :delay_timeout
632
632
  # @option opts [Integer] :min_count Minimum acceptable email count. Will cause request to hang (and retry) until minCount is satisfied or retryTimeout is reached.
633
633
  # @option opts [Boolean] :unread_only
634
- # @option opts [DateTime] :exclude_emails_received_after_this_iso_8601_date_time
635
- # @option opts [DateTime] :exclude_emails_received_before_this_iso_8601_date_time
634
+ # @option opts [DateTime] :before Exclude emails received after this ISO 8601 date time
635
+ # @option opts [DateTime] :since Exclude emails received before this ISO 8601 date time
636
636
  # @return [Array<EmailPreview>]
637
- def get_emails(id_of_inbox_that_emails_belongs_to, opts = {})
638
- data, _status_code, _headers = get_emails_with_http_info(id_of_inbox_that_emails_belongs_to, opts)
637
+ def get_emails(inbox_id, opts = {})
638
+ data, _status_code, _headers = get_emails_with_http_info(inbox_id, opts)
639
639
  data
640
640
  end
641
641
 
642
642
  # Get emails in an Inbox. This method is not idempotent as it allows retries and waits if you want certain conditions to be met before returning. For simple listing and sorting of known emails use the email controller instead.
643
643
  # List emails that an inbox has received. Only emails that are sent to the inbox&#39;s email address will appear in the inbox. It may take several seconds for any email you send to an inbox&#39;s email address to appear in the inbox. To make this endpoint wait for a minimum number of emails use the &#x60;minCount&#x60; parameter. The server will retry the inbox database until the &#x60;minCount&#x60; is satisfied or the &#x60;retryTimeout&#x60; is reached
644
- # @param id_of_inbox_that_emails_belongs_to [String]
644
+ # @param inbox_id [String] Id of inbox that emails belongs to
645
645
  # @param [Hash] opts the optional parameters
646
646
  # @option opts [Integer] :alias_for_limit__assessed_first_before_assessing_any_passed_limit_
647
647
  # @option opts [Integer] :limit Limit the result set, ordered by received date time sort direction. Maximum 100. For more listing options see the email controller
@@ -650,16 +650,16 @@ module MailSlurpClient
650
650
  # @option opts [Integer] :delay_timeout
651
651
  # @option opts [Integer] :min_count Minimum acceptable email count. Will cause request to hang (and retry) until minCount is satisfied or retryTimeout is reached.
652
652
  # @option opts [Boolean] :unread_only
653
- # @option opts [DateTime] :exclude_emails_received_after_this_iso_8601_date_time
654
- # @option opts [DateTime] :exclude_emails_received_before_this_iso_8601_date_time
653
+ # @option opts [DateTime] :before Exclude emails received after this ISO 8601 date time
654
+ # @option opts [DateTime] :since Exclude emails received before this ISO 8601 date time
655
655
  # @return [Array<(Array<EmailPreview>, Integer, Hash)>] Array<EmailPreview> data, response status code and response headers
656
- def get_emails_with_http_info(id_of_inbox_that_emails_belongs_to, opts = {})
656
+ def get_emails_with_http_info(inbox_id, opts = {})
657
657
  if @api_client.config.debugging
658
658
  @api_client.config.logger.debug 'Calling API: InboxControllerApi.get_emails ...'
659
659
  end
660
- # verify the required parameter 'id_of_inbox_that_emails_belongs_to' is set
661
- if @api_client.config.client_side_validation && id_of_inbox_that_emails_belongs_to.nil?
662
- fail ArgumentError, "Missing the required parameter 'id_of_inbox_that_emails_belongs_to' when calling InboxControllerApi.get_emails"
660
+ # verify the required parameter 'inbox_id' is set
661
+ if @api_client.config.client_side_validation && inbox_id.nil?
662
+ fail ArgumentError, "Missing the required parameter 'inbox_id' when calling InboxControllerApi.get_emails"
663
663
  end
664
664
  if @api_client.config.client_side_validation && !opts[:'alias_for_limit__assessed_first_before_assessing_any_passed_limit_'].nil? && opts[:'alias_for_limit__assessed_first_before_assessing_any_passed_limit_'] > 100
665
665
  fail ArgumentError, 'invalid value for "opts[:"alias_for_limit__assessed_first_before_assessing_any_passed_limit_"]" when calling InboxControllerApi.get_emails, must be smaller than or equal to 100.'
@@ -674,7 +674,7 @@ module MailSlurpClient
674
674
  fail ArgumentError, "invalid value for \"sort_the_results_by_received_date_and_direction_asc_or_desc\", must be one of #{allowable_values}"
675
675
  end
676
676
  # resource path
677
- local_var_path = '/inboxes/{inboxId}/emails'.sub('{' + 'Id of inbox that emails belongs to' + '}', CGI.escape(id_of_inbox_that_emails_belongs_to.to_s))
677
+ local_var_path = '/inboxes/{inboxId}/emails'.sub('{' + 'inboxId' + '}', CGI.escape(inbox_id.to_s))
678
678
 
679
679
  # query parameters
680
680
  query_params = opts[:query_params] || {}
@@ -685,8 +685,8 @@ module MailSlurpClient
685
685
  query_params[:'delayTimeout'] = opts[:'delay_timeout'] if !opts[:'delay_timeout'].nil?
686
686
  query_params[:'minCount'] = opts[:'min_count'] if !opts[:'min_count'].nil?
687
687
  query_params[:'unreadOnly'] = opts[:'unread_only'] if !opts[:'unread_only'].nil?
688
- query_params[:'Exclude emails received after this ISO 8601 date time'] = opts[:'exclude_emails_received_after_this_iso_8601_date_time'] if !opts[:'exclude_emails_received_after_this_iso_8601_date_time'].nil?
689
- query_params[:'Exclude emails received before this ISO 8601 date time'] = opts[:'exclude_emails_received_before_this_iso_8601_date_time'] if !opts[:'exclude_emails_received_before_this_iso_8601_date_time'].nil?
688
+ query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
689
+ query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
690
690
 
691
691
  # header parameters
692
692
  header_params = opts[:header_params] || {}
@@ -838,28 +838,28 @@ module MailSlurpClient
838
838
  end
839
839
 
840
840
  # Get email count in inbox
841
- # @param id_of_inbox_that_emails_belongs_to [String]
841
+ # @param inbox_id [String] Id of inbox that emails belongs to
842
842
  # @param [Hash] opts the optional parameters
843
843
  # @return [CountDto]
844
- def get_inbox_email_count(id_of_inbox_that_emails_belongs_to, opts = {})
845
- data, _status_code, _headers = get_inbox_email_count_with_http_info(id_of_inbox_that_emails_belongs_to, opts)
844
+ def get_inbox_email_count(inbox_id, opts = {})
845
+ data, _status_code, _headers = get_inbox_email_count_with_http_info(inbox_id, opts)
846
846
  data
847
847
  end
848
848
 
849
849
  # Get email count in inbox
850
- # @param id_of_inbox_that_emails_belongs_to [String]
850
+ # @param inbox_id [String] Id of inbox that emails belongs to
851
851
  # @param [Hash] opts the optional parameters
852
852
  # @return [Array<(CountDto, Integer, Hash)>] CountDto data, response status code and response headers
853
- def get_inbox_email_count_with_http_info(id_of_inbox_that_emails_belongs_to, opts = {})
853
+ def get_inbox_email_count_with_http_info(inbox_id, opts = {})
854
854
  if @api_client.config.debugging
855
855
  @api_client.config.logger.debug 'Calling API: InboxControllerApi.get_inbox_email_count ...'
856
856
  end
857
- # verify the required parameter 'id_of_inbox_that_emails_belongs_to' is set
858
- if @api_client.config.client_side_validation && id_of_inbox_that_emails_belongs_to.nil?
859
- fail ArgumentError, "Missing the required parameter 'id_of_inbox_that_emails_belongs_to' when calling InboxControllerApi.get_inbox_email_count"
857
+ # verify the required parameter 'inbox_id' is set
858
+ if @api_client.config.client_side_validation && inbox_id.nil?
859
+ fail ArgumentError, "Missing the required parameter 'inbox_id' when calling InboxControllerApi.get_inbox_email_count"
860
860
  end
861
861
  # resource path
862
- local_var_path = '/inboxes/{inboxId}/emails/count'.sub('{' + 'Id of inbox that emails belongs to' + '}', CGI.escape(id_of_inbox_that_emails_belongs_to.to_s))
862
+ local_var_path = '/inboxes/{inboxId}/emails/count'.sub('{' + 'inboxId' + '}', CGI.escape(inbox_id.to_s))
863
863
 
864
864
  # query parameters
865
865
  query_params = opts[:query_params] || {}
@@ -899,7 +899,7 @@ module MailSlurpClient
899
899
 
900
900
  # Get inbox emails paginated
901
901
  # Get a paginated list of emails in an inbox. Does not hold connections open.
902
- # @param id_of_inbox_that_emails_belongs_to [String]
902
+ # @param inbox_id [String] Id of inbox that emails belongs to
903
903
  # @param [Hash] opts the optional parameters
904
904
  # @option opts [Integer] :page Optional page index in inbox emails list pagination (default to 0)
905
905
  # @option opts [Integer] :size Optional page size in inbox emails list pagination (default to 20)
@@ -907,14 +907,14 @@ module MailSlurpClient
907
907
  # @option opts [DateTime] :since Optional filter by received after given date time
908
908
  # @option opts [DateTime] :before Optional filter by received before given date time
909
909
  # @return [PageEmailPreview]
910
- def get_inbox_emails_paginated(id_of_inbox_that_emails_belongs_to, opts = {})
911
- data, _status_code, _headers = get_inbox_emails_paginated_with_http_info(id_of_inbox_that_emails_belongs_to, opts)
910
+ def get_inbox_emails_paginated(inbox_id, opts = {})
911
+ data, _status_code, _headers = get_inbox_emails_paginated_with_http_info(inbox_id, opts)
912
912
  data
913
913
  end
914
914
 
915
915
  # Get inbox emails paginated
916
916
  # Get a paginated list of emails in an inbox. Does not hold connections open.
917
- # @param id_of_inbox_that_emails_belongs_to [String]
917
+ # @param inbox_id [String] Id of inbox that emails belongs to
918
918
  # @param [Hash] opts the optional parameters
919
919
  # @option opts [Integer] :page Optional page index in inbox emails list pagination
920
920
  # @option opts [Integer] :size Optional page size in inbox emails list pagination
@@ -922,20 +922,20 @@ module MailSlurpClient
922
922
  # @option opts [DateTime] :since Optional filter by received after given date time
923
923
  # @option opts [DateTime] :before Optional filter by received before given date time
924
924
  # @return [Array<(PageEmailPreview, Integer, Hash)>] PageEmailPreview data, response status code and response headers
925
- def get_inbox_emails_paginated_with_http_info(id_of_inbox_that_emails_belongs_to, opts = {})
925
+ def get_inbox_emails_paginated_with_http_info(inbox_id, opts = {})
926
926
  if @api_client.config.debugging
927
927
  @api_client.config.logger.debug 'Calling API: InboxControllerApi.get_inbox_emails_paginated ...'
928
928
  end
929
- # verify the required parameter 'id_of_inbox_that_emails_belongs_to' is set
930
- if @api_client.config.client_side_validation && id_of_inbox_that_emails_belongs_to.nil?
931
- fail ArgumentError, "Missing the required parameter 'id_of_inbox_that_emails_belongs_to' when calling InboxControllerApi.get_inbox_emails_paginated"
929
+ # verify the required parameter 'inbox_id' is set
930
+ if @api_client.config.client_side_validation && inbox_id.nil?
931
+ fail ArgumentError, "Missing the required parameter 'inbox_id' when calling InboxControllerApi.get_inbox_emails_paginated"
932
932
  end
933
933
  allowable_values = ["ASC", "DESC"]
934
934
  if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
935
935
  fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
936
936
  end
937
937
  # resource path
938
- local_var_path = '/inboxes/{inboxId}/emails/paginated'.sub('{' + 'Id of inbox that emails belongs to' + '}', CGI.escape(id_of_inbox_that_emails_belongs_to.to_s))
938
+ local_var_path = '/inboxes/{inboxId}/emails/paginated'.sub('{' + 'inboxId' + '}', CGI.escape(inbox_id.to_s))
939
939
 
940
940
  # query parameters
941
941
  query_params = opts[:query_params] || {}
@@ -983,7 +983,7 @@ module MailSlurpClient
983
983
  # @param inbox_id [String]
984
984
  # @param [Hash] opts the optional parameters
985
985
  # @option opts [Integer] :page Optional page index in inbox sent email list pagination (default to 0)
986
- # @option opts [Integer] :optional_page_size_in_inbox_sent_email_list_pagination (default to 20)
986
+ # @option opts [Integer] :size Optional page size in inbox sent email list pagination (default to 20)
987
987
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
988
988
  # @option opts [String] :search_filter Optional sent email search
989
989
  # @option opts [DateTime] :since Optional filter by sent after given date time
@@ -999,7 +999,7 @@ module MailSlurpClient
999
999
  # @param inbox_id [String]
1000
1000
  # @param [Hash] opts the optional parameters
1001
1001
  # @option opts [Integer] :page Optional page index in inbox sent email list pagination
1002
- # @option opts [Integer] :optional_page_size_in_inbox_sent_email_list_pagination
1002
+ # @option opts [Integer] :size Optional page size in inbox sent email list pagination
1003
1003
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC
1004
1004
  # @option opts [String] :search_filter Optional sent email search
1005
1005
  # @option opts [DateTime] :since Optional filter by sent after given date time
@@ -1023,7 +1023,7 @@ module MailSlurpClient
1023
1023
  # query parameters
1024
1024
  query_params = opts[:query_params] || {}
1025
1025
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
1026
- query_params[:'Optional page size in inbox sent email list pagination'] = opts[:'optional_page_size_in_inbox_sent_email_list_pagination'] if !opts[:'optional_page_size_in_inbox_sent_email_list_pagination'].nil?
1026
+ query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
1027
1027
  query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
1028
1028
  query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
1029
1029
  query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
@@ -1361,7 +1361,7 @@ module MailSlurpClient
1361
1361
  # @param inbox_id [String]
1362
1362
  # @param [Hash] opts the optional parameters
1363
1363
  # @option opts [Integer] :page Optional page index in inbox tracking pixel list pagination (default to 0)
1364
- # @option opts [Integer] :optional_page_size_in_inbox_tracking_pixel_list_pagination (default to 20)
1364
+ # @option opts [Integer] :size Optional page size in inbox tracking pixel list pagination (default to 20)
1365
1365
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
1366
1366
  # @option opts [String] :search_filter Optional search filter
1367
1367
  # @option opts [DateTime] :since Optional filter by created after given date time
@@ -1377,7 +1377,7 @@ module MailSlurpClient
1377
1377
  # @param inbox_id [String]
1378
1378
  # @param [Hash] opts the optional parameters
1379
1379
  # @option opts [Integer] :page Optional page index in inbox tracking pixel list pagination
1380
- # @option opts [Integer] :optional_page_size_in_inbox_tracking_pixel_list_pagination
1380
+ # @option opts [Integer] :size Optional page size in inbox tracking pixel list pagination
1381
1381
  # @option opts [String] :sort Optional createdAt sort direction ASC or DESC
1382
1382
  # @option opts [String] :search_filter Optional search filter
1383
1383
  # @option opts [DateTime] :since Optional filter by created after given date time
@@ -1401,7 +1401,7 @@ module MailSlurpClient
1401
1401
  # query parameters
1402
1402
  query_params = opts[:query_params] || {}
1403
1403
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
1404
- query_params[:'Optional page size in inbox tracking pixel list pagination'] = opts[:'optional_page_size_in_inbox_tracking_pixel_list_pagination'] if !opts[:'optional_page_size_in_inbox_tracking_pixel_list_pagination'].nil?
1404
+ query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
1405
1405
  query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
1406
1406
  query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
1407
1407
  query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
@@ -1442,35 +1442,35 @@ module MailSlurpClient
1442
1442
 
1443
1443
  # Send Email
1444
1444
  # Send an email from an inbox's email address. The request body should contain the `SendEmailOptions` that include recipients, attachments, body etc. See `SendEmailOptions` for all available properties. Note the `inboxId` refers to the inbox's id not the inbox's email address. See https://www.mailslurp.com/guides/ for more information on how to send emails. This method does not return a sent email entity due to legacy reasons. To send and get a sent email as returned response use the sister method `sendEmailAndConfirm`.
1445
- # @param id_of_the_inbox_you_want_to_send_the_email_from [String]
1445
+ # @param inbox_id [String] ID of the inbox you want to send the email from
1446
1446
  # @param send_email_options [SendEmailOptions]
1447
1447
  # @param [Hash] opts the optional parameters
1448
1448
  # @return [nil]
1449
- def send_email(id_of_the_inbox_you_want_to_send_the_email_from, send_email_options, opts = {})
1450
- send_email_with_http_info(id_of_the_inbox_you_want_to_send_the_email_from, send_email_options, opts)
1449
+ def send_email(inbox_id, send_email_options, opts = {})
1450
+ send_email_with_http_info(inbox_id, send_email_options, opts)
1451
1451
  nil
1452
1452
  end
1453
1453
 
1454
1454
  # Send Email
1455
1455
  # Send an email from an inbox&#39;s email address. The request body should contain the &#x60;SendEmailOptions&#x60; that include recipients, attachments, body etc. See &#x60;SendEmailOptions&#x60; for all available properties. Note the &#x60;inboxId&#x60; refers to the inbox&#39;s id not the inbox&#39;s email address. See https://www.mailslurp.com/guides/ for more information on how to send emails. This method does not return a sent email entity due to legacy reasons. To send and get a sent email as returned response use the sister method &#x60;sendEmailAndConfirm&#x60;.
1456
- # @param id_of_the_inbox_you_want_to_send_the_email_from [String]
1456
+ # @param inbox_id [String] ID of the inbox you want to send the email from
1457
1457
  # @param send_email_options [SendEmailOptions]
1458
1458
  # @param [Hash] opts the optional parameters
1459
1459
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
1460
- def send_email_with_http_info(id_of_the_inbox_you_want_to_send_the_email_from, send_email_options, opts = {})
1460
+ def send_email_with_http_info(inbox_id, send_email_options, opts = {})
1461
1461
  if @api_client.config.debugging
1462
1462
  @api_client.config.logger.debug 'Calling API: InboxControllerApi.send_email ...'
1463
1463
  end
1464
- # verify the required parameter 'id_of_the_inbox_you_want_to_send_the_email_from' is set
1465
- if @api_client.config.client_side_validation && id_of_the_inbox_you_want_to_send_the_email_from.nil?
1466
- fail ArgumentError, "Missing the required parameter 'id_of_the_inbox_you_want_to_send_the_email_from' when calling InboxControllerApi.send_email"
1464
+ # verify the required parameter 'inbox_id' is set
1465
+ if @api_client.config.client_side_validation && inbox_id.nil?
1466
+ fail ArgumentError, "Missing the required parameter 'inbox_id' when calling InboxControllerApi.send_email"
1467
1467
  end
1468
1468
  # verify the required parameter 'send_email_options' is set
1469
1469
  if @api_client.config.client_side_validation && send_email_options.nil?
1470
1470
  fail ArgumentError, "Missing the required parameter 'send_email_options' when calling InboxControllerApi.send_email"
1471
1471
  end
1472
1472
  # resource path
1473
- local_var_path = '/inboxes/{inboxId}'.sub('{' + 'ID of the inbox you want to send the email from' + '}', CGI.escape(id_of_the_inbox_you_want_to_send_the_email_from.to_s))
1473
+ local_var_path = '/inboxes/{inboxId}'.sub('{' + 'inboxId' + '}', CGI.escape(inbox_id.to_s))
1474
1474
 
1475
1475
  # query parameters
1476
1476
  query_params = opts[:query_params] || {}
@@ -1510,35 +1510,35 @@ module MailSlurpClient
1510
1510
 
1511
1511
  # Send email and return sent confirmation
1512
1512
  # Sister method for standard `sendEmail` method with the benefit of returning a `SentEmail` entity confirming the successful sending of the email with a link to the sent object created for it.
1513
- # @param id_of_the_inbox_you_want_to_send_the_email_from [String]
1513
+ # @param inbox_id [String] ID of the inbox you want to send the email from
1514
1514
  # @param send_email_options [SendEmailOptions]
1515
1515
  # @param [Hash] opts the optional parameters
1516
1516
  # @return [SentEmailDto]
1517
- def send_email_and_confirm(id_of_the_inbox_you_want_to_send_the_email_from, send_email_options, opts = {})
1518
- data, _status_code, _headers = send_email_and_confirm_with_http_info(id_of_the_inbox_you_want_to_send_the_email_from, send_email_options, opts)
1517
+ def send_email_and_confirm(inbox_id, send_email_options, opts = {})
1518
+ data, _status_code, _headers = send_email_and_confirm_with_http_info(inbox_id, send_email_options, opts)
1519
1519
  data
1520
1520
  end
1521
1521
 
1522
1522
  # Send email and return sent confirmation
1523
1523
  # Sister method for standard &#x60;sendEmail&#x60; method with the benefit of returning a &#x60;SentEmail&#x60; entity confirming the successful sending of the email with a link to the sent object created for it.
1524
- # @param id_of_the_inbox_you_want_to_send_the_email_from [String]
1524
+ # @param inbox_id [String] ID of the inbox you want to send the email from
1525
1525
  # @param send_email_options [SendEmailOptions]
1526
1526
  # @param [Hash] opts the optional parameters
1527
1527
  # @return [Array<(SentEmailDto, Integer, Hash)>] SentEmailDto data, response status code and response headers
1528
- def send_email_and_confirm_with_http_info(id_of_the_inbox_you_want_to_send_the_email_from, send_email_options, opts = {})
1528
+ def send_email_and_confirm_with_http_info(inbox_id, send_email_options, opts = {})
1529
1529
  if @api_client.config.debugging
1530
1530
  @api_client.config.logger.debug 'Calling API: InboxControllerApi.send_email_and_confirm ...'
1531
1531
  end
1532
- # verify the required parameter 'id_of_the_inbox_you_want_to_send_the_email_from' is set
1533
- if @api_client.config.client_side_validation && id_of_the_inbox_you_want_to_send_the_email_from.nil?
1534
- fail ArgumentError, "Missing the required parameter 'id_of_the_inbox_you_want_to_send_the_email_from' when calling InboxControllerApi.send_email_and_confirm"
1532
+ # verify the required parameter 'inbox_id' is set
1533
+ if @api_client.config.client_side_validation && inbox_id.nil?
1534
+ fail ArgumentError, "Missing the required parameter 'inbox_id' when calling InboxControllerApi.send_email_and_confirm"
1535
1535
  end
1536
1536
  # verify the required parameter 'send_email_options' is set
1537
1537
  if @api_client.config.client_side_validation && send_email_options.nil?
1538
1538
  fail ArgumentError, "Missing the required parameter 'send_email_options' when calling InboxControllerApi.send_email_and_confirm"
1539
1539
  end
1540
1540
  # resource path
1541
- local_var_path = '/inboxes/{inboxId}/confirm'.sub('{' + 'ID of the inbox you want to send the email from' + '}', CGI.escape(id_of_the_inbox_you_want_to_send_the_email_from.to_s))
1541
+ local_var_path = '/inboxes/{inboxId}/confirm'.sub('{' + 'inboxId' + '}', CGI.escape(inbox_id.to_s))
1542
1542
 
1543
1543
  # query parameters
1544
1544
  query_params = opts[:query_params] || {}