mailslurp_client 7.0.7 → 7.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/Makefile +3 -0
  3. data/README.md +26 -13
  4. data/docs/AliasControllerApi.md +337 -0
  5. data/docs/AttachmentControllerApi.md +3 -1
  6. data/docs/AttachmentMetaData.md +4 -4
  7. data/docs/BulkSendEmailOptions.md +1 -1
  8. data/docs/CommonActionsControllerApi.md +60 -9
  9. data/docs/CreateAnonymousAliasOptions.md +17 -0
  10. data/docs/CreateOwnedAliasOptions.md +23 -0
  11. data/docs/EmailAnalysis.md +5 -5
  12. data/docs/FormControllerApi.md +79 -0
  13. data/docs/ForwardEmailOptions.md +7 -7
  14. data/docs/InboxControllerApi.md +54 -1
  15. data/docs/ModelAlias.md +31 -0
  16. data/docs/PageAlias.md +37 -0
  17. data/docs/SimpleSendEmailOptions.md +23 -0
  18. data/docs/ValidationDto.md +2 -2
  19. data/docs/WaitForConditions.md +6 -6
  20. data/docs/WaitForControllerApi.md +3 -3
  21. data/lib/mailslurp_client.rb +8 -1
  22. data/lib/mailslurp_client/api/alias_controller_api.rb +405 -0
  23. data/lib/mailslurp_client/api/attachment_controller_api.rb +4 -1
  24. data/lib/mailslurp_client/api/bulk_actions_controller_api.rb +1 -1
  25. data/lib/mailslurp_client/api/common_actions_controller_api.rb +71 -15
  26. data/lib/mailslurp_client/api/contact_controller_api.rb +1 -1
  27. data/lib/mailslurp_client/api/domain_controller_api.rb +1 -1
  28. data/lib/mailslurp_client/api/email_controller_api.rb +1 -1
  29. data/lib/mailslurp_client/api/form_controller_api.rb +104 -0
  30. data/lib/mailslurp_client/api/group_controller_api.rb +1 -1
  31. data/lib/mailslurp_client/api/inbox_controller_api.rb +60 -1
  32. data/lib/mailslurp_client/api/template_controller_api.rb +1 -1
  33. data/lib/mailslurp_client/api/wait_for_controller_api.rb +5 -5
  34. data/lib/mailslurp_client/api/webhook_controller_api.rb +1 -1
  35. data/lib/mailslurp_client/api_client.rb +1 -1
  36. data/lib/mailslurp_client/api_error.rb +1 -1
  37. data/lib/mailslurp_client/configuration.rb +1 -1
  38. data/lib/mailslurp_client/models/attachment_meta_data.rb +6 -21
  39. data/lib/mailslurp_client/models/basic_auth_options.rb +1 -1
  40. data/lib/mailslurp_client/models/bulk_send_email_options.rb +2 -7
  41. data/lib/mailslurp_client/models/contact_dto.rb +1 -1
  42. data/lib/mailslurp_client/models/contact_projection.rb +1 -1
  43. data/lib/mailslurp_client/models/create_anonymous_alias_options.rb +208 -0
  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_owned_alias_options.rb +238 -0
  48. data/lib/mailslurp_client/models/create_template_options.rb +1 -1
  49. data/lib/mailslurp_client/models/create_webhook_options.rb +1 -1
  50. data/lib/mailslurp_client/models/domain_dto.rb +1 -1
  51. data/lib/mailslurp_client/models/domain_preview.rb +1 -1
  52. data/lib/mailslurp_client/models/email.rb +2 -2
  53. data/lib/mailslurp_client/models/email_analysis.rb +7 -2
  54. data/lib/mailslurp_client/models/email_preview.rb +2 -2
  55. data/lib/mailslurp_client/models/email_projection.rb +2 -1
  56. data/lib/mailslurp_client/models/forward_email_options.rb +29 -30
  57. data/lib/mailslurp_client/models/group_contacts_dto.rb +1 -1
  58. data/lib/mailslurp_client/models/group_dto.rb +1 -1
  59. data/lib/mailslurp_client/models/group_projection.rb +1 -1
  60. data/lib/mailslurp_client/models/html_validation_result.rb +1 -1
  61. data/lib/mailslurp_client/models/inbox.rb +1 -1
  62. data/lib/mailslurp_client/models/inbox_projection.rb +1 -1
  63. data/lib/mailslurp_client/models/json_node.rb +1 -1
  64. data/lib/mailslurp_client/models/match_option.rb +1 -1
  65. data/lib/mailslurp_client/models/match_options.rb +2 -2
  66. data/lib/mailslurp_client/models/model_alias.rb +284 -0
  67. data/lib/mailslurp_client/models/page_alias.rb +298 -0
  68. data/lib/mailslurp_client/models/page_contact_projection.rb +1 -1
  69. data/lib/mailslurp_client/models/page_email_preview.rb +1 -1
  70. data/lib/mailslurp_client/models/page_email_projection.rb +1 -1
  71. data/lib/mailslurp_client/models/page_group_projection.rb +1 -1
  72. data/lib/mailslurp_client/models/page_inbox_projection.rb +1 -1
  73. data/lib/mailslurp_client/models/page_template_projection.rb +1 -1
  74. data/lib/mailslurp_client/models/page_webhook_projection.rb +1 -1
  75. data/lib/mailslurp_client/models/pageable.rb +1 -1
  76. data/lib/mailslurp_client/models/raw_email_json.rb +1 -1
  77. data/lib/mailslurp_client/models/send_email_options.rb +1 -1
  78. data/lib/mailslurp_client/models/set_inbox_favourited_options.rb +1 -1
  79. data/lib/mailslurp_client/models/simple_send_email_options.rb +237 -0
  80. data/lib/mailslurp_client/models/sort.rb +1 -1
  81. data/lib/mailslurp_client/models/template_dto.rb +1 -1
  82. data/lib/mailslurp_client/models/template_projection.rb +1 -1
  83. data/lib/mailslurp_client/models/template_variable.rb +1 -1
  84. data/lib/mailslurp_client/models/unread_count.rb +1 -1
  85. data/lib/mailslurp_client/models/update_group_contacts.rb +1 -1
  86. data/lib/mailslurp_client/models/update_inbox_options.rb +1 -1
  87. data/lib/mailslurp_client/models/upload_attachment_options.rb +2 -2
  88. data/lib/mailslurp_client/models/validation_dto.rb +3 -11
  89. data/lib/mailslurp_client/models/validation_message.rb +1 -1
  90. data/lib/mailslurp_client/models/wait_for_conditions.rb +8 -7
  91. data/lib/mailslurp_client/models/webhook_dto.rb +1 -1
  92. data/lib/mailslurp_client/models/webhook_projection.rb +1 -1
  93. data/lib/mailslurp_client/models/webhook_test_request.rb +1 -1
  94. data/lib/mailslurp_client/models/webhook_test_response.rb +1 -1
  95. data/lib/mailslurp_client/models/webhook_test_result.rb +1 -1
  96. data/lib/mailslurp_client/version.rb +2 -2
  97. data/mailslurp_client.gemspec +2 -2
  98. data/spec/api/alias_controller_api_spec.rb +107 -0
  99. data/spec/api/form_controller_api_spec.rb +54 -0
  100. data/spec/models/create_anonymous_alias_options_spec.rb +41 -0
  101. data/spec/models/create_owned_alias_options_spec.rb +59 -0
  102. data/spec/models/model_alias_spec.rb +83 -0
  103. data/spec/models/page_alias_spec.rb +101 -0
  104. data/spec/models/simple_send_email_options_spec.rb +59 -0
  105. metadata +33 -3
@@ -88,7 +88,8 @@ api_instance = MailSlurpClient::AttachmentControllerApi.new
88
88
  file = File.new('/path/to/file') # File | file
89
89
  opts = {
90
90
  content_type: 'content_type_example', # String | contentType
91
- filename: 'filename_example' # String | filename
91
+ filename: 'filename_example', # String | filename
92
+ x_filename: 'x_filename_example' # String | x-filename
92
93
  }
93
94
 
94
95
  begin
@@ -108,6 +109,7 @@ Name | Type | Description | Notes
108
109
  **file** | **File**| file |
109
110
  **content_type** | **String**| contentType | [optional]
110
111
  **filename** | **String**| filename | [optional]
112
+ **x_filename** | **String**| x-filename | [optional]
111
113
 
112
114
  ### Return type
113
115
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **content_length** | **Integer** | |
8
- **content_type** | **String** | |
9
- **id** | **String** | |
10
- **name** | **String** | |
7
+ **content_length** | **Integer** | Size of attachment in bytes | [optional]
8
+ **content_type** | **String** | Content type of attachment | [optional]
9
+ **id** | **String** | ID of attachment | [optional]
10
+ **name** | **String** | Name of attachment | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -5,7 +5,7 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **inbox_ids** | **Array<String>** | Inboxes to send the email from | [optional]
8
- **send_email_options** | [**SendEmailOptions**](SendEmailOptions.md) | |
8
+ **send_email_options** | [**SendEmailOptions**](SendEmailOptions.md) | | [optional]
9
9
 
10
10
  ## Code Sample
11
11
 
@@ -4,9 +4,10 @@ All URIs are relative to *https://api.mailslurp.com*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**create_new_email_address**](CommonActionsControllerApi.md#create_new_email_address) | **POST** /newEmailAddress | Create new random inbox
7
+ [**create_new_email_address**](CommonActionsControllerApi.md#create_new_email_address) | **POST** /createInbox | Create new random inbox
8
+ [**create_new_email_address1**](CommonActionsControllerApi.md#create_new_email_address1) | **POST** /newEmailAddress | Create new random inbox
8
9
  [**empty_inbox**](CommonActionsControllerApi.md#empty_inbox) | **DELETE** /emptyInbox | Delete all emails in an inbox
9
- [**send_email_simple**](CommonActionsControllerApi.md#send_email_simple) | **POST** /sendEmail | Send an email from a random email address
10
+ [**send_email_simple**](CommonActionsControllerApi.md#send_email_simple) | **POST** /sendEmail | Send an email
10
11
 
11
12
 
12
13
 
@@ -60,6 +61,56 @@ This endpoint does not need any parameter.
60
61
  - **Accept**: application/json
61
62
 
62
63
 
64
+ ## create_new_email_address1
65
+
66
+ > Inbox create_new_email_address1
67
+
68
+ Create new random inbox
69
+
70
+ Returns an Inbox with an `id` and an `emailAddress`
71
+
72
+ ### Example
73
+
74
+ ```ruby
75
+ # load the gem
76
+ require 'mailslurp_client'
77
+ # setup authorization
78
+ MailSlurpClient.configure do |config|
79
+ # Configure API key authorization: API_KEY
80
+ config.api_key['x-api-key'] = 'YOUR API KEY'
81
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
82
+ #config.api_key_prefix['x-api-key'] = 'Bearer'
83
+ end
84
+
85
+ api_instance = MailSlurpClient::CommonActionsControllerApi.new
86
+
87
+ begin
88
+ #Create new random inbox
89
+ result = api_instance.create_new_email_address1
90
+ p result
91
+ rescue MailSlurpClient::ApiError => e
92
+ puts "Exception when calling CommonActionsControllerApi->create_new_email_address1: #{e}"
93
+ end
94
+ ```
95
+
96
+ ### Parameters
97
+
98
+ This endpoint does not need any parameter.
99
+
100
+ ### Return type
101
+
102
+ [**Inbox**](Inbox.md)
103
+
104
+ ### Authorization
105
+
106
+ [API_KEY](../README.md#API_KEY)
107
+
108
+ ### HTTP request headers
109
+
110
+ - **Content-Type**: Not defined
111
+ - **Accept**: application/json
112
+
113
+
63
114
  ## empty_inbox
64
115
 
65
116
  > empty_inbox(inbox_id)
@@ -115,11 +166,11 @@ nil (empty response body)
115
166
 
116
167
  ## send_email_simple
117
168
 
118
- > send_email_simple(send_email_options)
169
+ > send_email_simple(email_options)
119
170
 
120
- Send an email from a random email address
171
+ Send an email
121
172
 
122
- To specify an email address first create an inbox and use that with the other send email methods
173
+ If no senderId or inboxId provided a random email address will be used to send from.
123
174
 
124
175
  ### Example
125
176
 
@@ -135,11 +186,11 @@ MailSlurpClient.configure do |config|
135
186
  end
136
187
 
137
188
  api_instance = MailSlurpClient::CommonActionsControllerApi.new
138
- send_email_options = MailSlurpClient::SendEmailOptions.new # SendEmailOptions | sendEmailOptions
189
+ email_options = MailSlurpClient::SimpleSendEmailOptions.new # SimpleSendEmailOptions | emailOptions
139
190
 
140
191
  begin
141
- #Send an email from a random email address
142
- api_instance.send_email_simple(send_email_options)
192
+ #Send an email
193
+ api_instance.send_email_simple(email_options)
143
194
  rescue MailSlurpClient::ApiError => e
144
195
  puts "Exception when calling CommonActionsControllerApi->send_email_simple: #{e}"
145
196
  end
@@ -150,7 +201,7 @@ end
150
201
 
151
202
  Name | Type | Description | Notes
152
203
  ------------- | ------------- | ------------- | -------------
153
- **send_email_options** | [**SendEmailOptions**](SendEmailOptions.md)| sendEmailOptions |
204
+ **email_options** | [**SimpleSendEmailOptions**](SimpleSendEmailOptions.md)| emailOptions |
154
205
 
155
206
  ### Return type
156
207
 
@@ -0,0 +1,17 @@
1
+ # MailSlurpClient::CreateAnonymousAliasOptions
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **email_address** | **String** | Email address to be hidden behind alias | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'MailSlurpClient'
13
+
14
+ instance = MailSlurpClient::CreateAnonymousAliasOptions.new(email_address: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,23 @@
1
+ # MailSlurpClient::CreateOwnedAliasOptions
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **email_address** | **String** | Email address to be hidden behind alias | [optional]
8
+ **inbox_id** | **String** | Optional inbox ID to attach to alias. Emails received by this inbox will be forwarded to the alias email address | [optional]
9
+ **name** | **String** | Optional name for alias | [optional]
10
+ **proxied** | **Boolean** | Optional proxied flag. When proxied is true alias will forward the incoming emails to the aliased email address via a proxy inbox. A new proxy is created for every new email thread. By replying to the proxy you can correspond with using your email alias without revealing your real email address. | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'MailSlurpClient'
16
+
17
+ instance = MailSlurpClient::CreateOwnedAliasOptions.new(email_address: null,
18
+ inbox_id: null,
19
+ name: null,
20
+ proxied: null)
21
+ ```
22
+
23
+
@@ -4,11 +4,11 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **dkim_verdict** | **String** | | [optional]
8
- **dmarc_verdict** | **String** | | [optional]
9
- **spam_verdict** | **String** | | [optional]
10
- **spf_verdict** | **String** | | [optional]
11
- **virus_verdict** | **String** | | [optional]
7
+ **dkim_verdict** | **String** | Verdict of DomainKeys Identified Mail analysis | [optional]
8
+ **dmarc_verdict** | **String** | Verdict of Domain-based Message Authentication Reporting and Conformance analysis | [optional]
9
+ **spam_verdict** | **String** | Verdict of spam ranking analysis | [optional]
10
+ **spf_verdict** | **String** | Verdict of Send Policy Framework record spoofing analysis | [optional]
11
+ **virus_verdict** | **String** | Verdict of virus scan analysis | [optional]
12
12
 
13
13
  ## Code Sample
14
14
 
@@ -0,0 +1,79 @@
1
+ # MailSlurpClient::FormControllerApi
2
+
3
+ All URIs are relative to *https://api.mailslurp.com*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**submit_form**](FormControllerApi.md#submit_form) | **POST** /forms | Submit a form to be parsed and sent as an email to an address determined by the form fields
8
+
9
+
10
+
11
+ ## submit_form
12
+
13
+ > String submit_form(opts)
14
+
15
+ Submit a form to be parsed and sent as an email to an address determined by the form fields
16
+
17
+ This endpoint allows you to submit HTML forms and receive the field values and files via email. #### Parameters The endpoint looks for special meta parameters in the form fields OR in the URL request parameters. The meta parameters can be used to specify the behaviour of the email. You must provide at-least a `_to` email address or a `_toAlias` email alias ID to tell the endpoint where the form should be emailed. These can be submitted as hidden HTML input fields with the corresponding `name` attributes or as URL query parameters such as `?_to=test@example.com` The endpoint takes all other form fields that are named and includes them in the message body of the email. Files are sent as attachments. #### Submitting This endpoint accepts form submission via POST method. It accepts `application/x-www-form-urlencoded`, and `multipart/form-data` content-types. #### HTML Example ```html <form action=\"https://api.mailslurp.com/forms\" method=\"post\" > <input name=\"_to\" type=\"hidden\" value=\"test@example.com\"/> <textarea name=\"feedback\"></textarea> <button type=\"submit\">Submit</button> </form> ``` #### URL Example ```html <form action=\"https://api.mailslurp.com/forms?_toAlias=test@example.com\" method=\"post\" > <textarea name=\"feedback\"></textarea> <button type=\"submit\">Submit</button> </form> ``` The email address is specified by a `_to` field OR is extracted from an email alias specified by a `_toAlias` field (see the alias controller for more information). Endpoint accepts . You can specify a content type in HTML forms using the `enctype` attribute, for instance: `<form enctype=\"multipart/form-data\">`.
18
+
19
+ ### Example
20
+
21
+ ```ruby
22
+ # load the gem
23
+ require 'mailslurp_client'
24
+ # setup authorization
25
+ MailSlurpClient.configure do |config|
26
+ # Configure API key authorization: API_KEY
27
+ config.api_key['x-api-key'] = 'YOUR API KEY'
28
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
29
+ #config.api_key_prefix['x-api-key'] = 'Bearer'
30
+ end
31
+
32
+ api_instance = MailSlurpClient::FormControllerApi.new
33
+ opts = {
34
+ _email_address: '_email_address_example', # String | Email address of the submitting user. Include this if you wish to record the submitters email address and reply to it later.
35
+ _redirect_to: '_redirect_to_example', # String | Optional URL to redirect form submitter to after submission. If not present user will see a success message.
36
+ _spam_check: '_spam_check_example', # String | Optional but recommended field that catches spammers out. Include as a hidden form field but LEAVE EMPTY. Spam-bots will usually fill every field. If the _spamCheck field is filled the form submission will be ignored.
37
+ _subject: '_subject_example', # String | Optional subject of the email that will be sent.
38
+ _success_message: '_success_message_example', # String | Optional success message to display if no _redirectTo present.
39
+ _to: '_to_example', # String | The email address that submitted form should be sent to. Either this or _toAlias must be present for a form to be successfully submitted..
40
+ _to_alias: '_to_alias_example', # String | ID of an email alias to that form should be sent to. Aliases must be created before submission and can be used to hide an email address and reduce spam.
41
+ other_parameters: 'other_parameters_example' # String | All other parameters or fields will be accepted and attached to the sent email. This includes files and any HTML form field with a name. These fields will become the body of the email that is sent.
42
+ }
43
+
44
+ begin
45
+ #Submit a form to be parsed and sent as an email to an address determined by the form fields
46
+ result = api_instance.submit_form(opts)
47
+ p result
48
+ rescue MailSlurpClient::ApiError => e
49
+ puts "Exception when calling FormControllerApi->submit_form: #{e}"
50
+ end
51
+ ```
52
+
53
+ ### Parameters
54
+
55
+
56
+ Name | Type | Description | Notes
57
+ ------------- | ------------- | ------------- | -------------
58
+ **_email_address** | **String**| Email address of the submitting user. Include this if you wish to record the submitters email address and reply to it later. | [optional]
59
+ **_redirect_to** | **String**| Optional URL to redirect form submitter to after submission. If not present user will see a success message. | [optional]
60
+ **_spam_check** | **String**| Optional but recommended field that catches spammers out. Include as a hidden form field but LEAVE EMPTY. Spam-bots will usually fill every field. If the _spamCheck field is filled the form submission will be ignored. | [optional]
61
+ **_subject** | **String**| Optional subject of the email that will be sent. | [optional]
62
+ **_success_message** | **String**| Optional success message to display if no _redirectTo present. | [optional]
63
+ **_to** | **String**| The email address that submitted form should be sent to. Either this or _toAlias must be present for a form to be successfully submitted.. | [optional]
64
+ **_to_alias** | **String**| ID of an email alias to that form should be sent to. Aliases must be created before submission and can be used to hide an email address and reduce spam. | [optional]
65
+ **other_parameters** | **String**| All other parameters or fields will be accepted and attached to the sent email. This includes files and any HTML form field with a name. These fields will become the body of the email that is sent. | [optional]
66
+
67
+ ### Return type
68
+
69
+ **String**
70
+
71
+ ### Authorization
72
+
73
+ [API_KEY](../README.md#API_KEY)
74
+
75
+ ### HTTP request headers
76
+
77
+ - **Content-Type**: multipart/form-data, application/x-www-form-urlencoded
78
+ - **Accept**: application/json
79
+
@@ -4,20 +4,20 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **to** | **Array&lt;String&gt;** | |
8
- **subject** | **String** | | [optional]
9
- **cc** | **Array&lt;String&gt;** | | [optional]
10
- **bcc** | **Array&lt;String&gt;** | | [optional]
7
+ **bcc** | **Array&lt;String&gt;** | Optional bcc recipients | [optional]
8
+ **cc** | **Array&lt;String&gt;** | Optional cc recipients | [optional]
9
+ **subject** | **String** | Subject for forwarded email | [optional]
10
+ **to** | **Array&lt;String&gt;** | To recipients for forwarded email | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
14
14
  ```ruby
15
15
  require 'MailSlurpClient'
16
16
 
17
- instance = MailSlurpClient::ForwardEmailOptions.new(to: null,
18
- subject: null,
17
+ instance = MailSlurpClient::ForwardEmailOptions.new(bcc: null,
19
18
  cc: null,
20
- bcc: null)
19
+ subject: null,
20
+ to: null)
21
21
  ```
22
22
 
23
23
 
@@ -11,6 +11,7 @@ Method | HTTP request | Description
11
11
  [**get_emails**](InboxControllerApi.md#get_emails) | **GET** /inboxes/{inboxId}/emails | Get emails in an Inbox
12
12
  [**get_inbox**](InboxControllerApi.md#get_inbox) | **GET** /inboxes/{inboxId} | Get Inbox
13
13
  [**get_inbox_emails_paginated**](InboxControllerApi.md#get_inbox_emails_paginated) | **GET** /inboxes/{inboxId}/emails/paginated | Get inbox emails paginated
14
+ [**get_inbox_tags**](InboxControllerApi.md#get_inbox_tags) | **GET** /inboxes/tags | Get inbox tags
14
15
  [**get_inboxes**](InboxControllerApi.md#get_inboxes) | **GET** /inboxes | List Inboxes / Email Addresses
15
16
  [**send_email**](InboxControllerApi.md#send_email) | **POST** /inboxes/{inboxId} | Send Email
16
17
  [**set_inbox_favourited**](InboxControllerApi.md#set_inbox_favourited) | **PUT** /inboxes/{inboxId}/favourite | Set inbox favourited state
@@ -213,7 +214,8 @@ opts = {
213
214
  page: 0, # Integer | Optional page index in inbox list pagination
214
215
  search: 'search_example', # String | Optionally filter by search words partial matching ID, tags, name, and email address
215
216
  size: 20, # Integer | Optional page size in inbox list pagination
216
- sort: 'ASC' # String | Optional createdAt sort direction ASC or DESC
217
+ sort: 'ASC', # String | Optional createdAt sort direction ASC or DESC
218
+ tag: 'tag_example' # String | Optionally filter by tags
217
219
  }
218
220
 
219
221
  begin
@@ -235,6 +237,7 @@ Name | Type | Description | Notes
235
237
  **search** | **String**| Optionally filter by search words partial matching ID, tags, name, and email address | [optional]
236
238
  **size** | **Integer**| Optional page size in inbox list pagination | [optional] [default to 20]
237
239
  **sort** | **String**| Optional createdAt sort direction ASC or DESC | [optional] [default to &#39;ASC&#39;]
240
+ **tag** | **String**| Optionally filter by tags | [optional]
238
241
 
239
242
  ### Return type
240
243
 
@@ -432,6 +435,56 @@ Name | Type | Description | Notes
432
435
  - **Accept**: application/json
433
436
 
434
437
 
438
+ ## get_inbox_tags
439
+
440
+ > Array&lt;String&gt; get_inbox_tags
441
+
442
+ Get inbox tags
443
+
444
+ Get all inbox tags
445
+
446
+ ### Example
447
+
448
+ ```ruby
449
+ # load the gem
450
+ require 'mailslurp_client'
451
+ # setup authorization
452
+ MailSlurpClient.configure do |config|
453
+ # Configure API key authorization: API_KEY
454
+ config.api_key['x-api-key'] = 'YOUR API KEY'
455
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
456
+ #config.api_key_prefix['x-api-key'] = 'Bearer'
457
+ end
458
+
459
+ api_instance = MailSlurpClient::InboxControllerApi.new
460
+
461
+ begin
462
+ #Get inbox tags
463
+ result = api_instance.get_inbox_tags
464
+ p result
465
+ rescue MailSlurpClient::ApiError => e
466
+ puts "Exception when calling InboxControllerApi->get_inbox_tags: #{e}"
467
+ end
468
+ ```
469
+
470
+ ### Parameters
471
+
472
+ This endpoint does not need any parameter.
473
+
474
+ ### Return type
475
+
476
+ **Array&lt;String&gt;**
477
+
478
+ ### Authorization
479
+
480
+ [API_KEY](../README.md#API_KEY)
481
+
482
+ ### HTTP request headers
483
+
484
+ - **Content-Type**: Not defined
485
+ - **Accept**: application/json
486
+
487
+
435
488
  ## get_inboxes
436
489
 
437
490
  > Array&lt;Inbox&gt; get_inboxes
@@ -0,0 +1,31 @@
1
+ # MailSlurpClient::ModelAlias
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **created_at** | **DateTime** | |
8
+ **email_address** | **String** | |
9
+ **id** | **String** | | [optional]
10
+ **inbox_id** | **String** | | [optional]
11
+ **name** | **String** | | [optional]
12
+ **proxied** | **Boolean** | | [optional]
13
+ **updated_at** | **DateTime** | |
14
+ **user_id** | **String** | | [optional]
15
+
16
+ ## Code Sample
17
+
18
+ ```ruby
19
+ require 'MailSlurpClient'
20
+
21
+ instance = MailSlurpClient::ModelAlias.new(created_at: null,
22
+ email_address: null,
23
+ id: null,
24
+ inbox_id: null,
25
+ name: null,
26
+ proxied: null,
27
+ updated_at: null,
28
+ user_id: null)
29
+ ```
30
+
31
+
data/docs/PageAlias.md ADDED
@@ -0,0 +1,37 @@
1
+ # MailSlurpClient::PageAlias
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **content** | [**Array&lt;ModelAlias&gt;**](ModelAlias.md) | | [optional]
8
+ **empty** | **Boolean** | | [optional]
9
+ **first** | **Boolean** | | [optional]
10
+ **last** | **Boolean** | | [optional]
11
+ **number** | **Integer** | | [optional]
12
+ **number_of_elements** | **Integer** | | [optional]
13
+ **pageable** | [**Pageable**](Pageable.md) | | [optional]
14
+ **size** | **Integer** | | [optional]
15
+ **sort** | [**Sort**](Sort.md) | | [optional]
16
+ **total_elements** | **Integer** | | [optional]
17
+ **total_pages** | **Integer** | | [optional]
18
+
19
+ ## Code Sample
20
+
21
+ ```ruby
22
+ require 'MailSlurpClient'
23
+
24
+ instance = MailSlurpClient::PageAlias.new(content: null,
25
+ empty: null,
26
+ first: null,
27
+ last: null,
28
+ number: null,
29
+ number_of_elements: null,
30
+ pageable: null,
31
+ size: null,
32
+ sort: null,
33
+ total_elements: null,
34
+ total_pages: null)
35
+ ```
36
+
37
+