mailslurp_client 15.0.3 → 15.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/lib/mailslurp_client/api/alias_controller_api.rb +60 -56
- data/lib/mailslurp_client/api/attachment_controller_api.rb +50 -61
- data/lib/mailslurp_client/api/bounce_controller_api.rb +27 -19
- data/lib/mailslurp_client/api/bulk_actions_controller_api.rb +16 -16
- data/lib/mailslurp_client/api/common_actions_controller_api.rb +129 -68
- data/lib/mailslurp_client/api/contact_controller_api.rb +23 -23
- data/lib/mailslurp_client/api/domain_controller_api.rb +33 -33
- data/lib/mailslurp_client/api/email_controller_api.rb +145 -122
- data/lib/mailslurp_client/api/expired_controller_api.rb +20 -20
- data/lib/mailslurp_client/api/export_controller_api.rb +39 -39
- data/lib/mailslurp_client/api/form_controller_api.rb +17 -19
- data/lib/mailslurp_client/api/group_controller_api.rb +53 -53
- data/lib/mailslurp_client/api/inbox_controller_api.rb +198 -178
- data/lib/mailslurp_client/api/inbox_forwarder_controller_api.rb +34 -30
- data/lib/mailslurp_client/api/inbox_ruleset_controller_api.rb +34 -30
- data/lib/mailslurp_client/api/mail_server_controller_api.rb +27 -27
- data/lib/mailslurp_client/api/missed_email_controller_api.rb +55 -43
- data/lib/mailslurp_client/api/sent_emails_controller_api.rb +158 -48
- data/lib/mailslurp_client/api/template_controller_api.rb +22 -22
- data/lib/mailslurp_client/api/tracking_controller_api.rb +17 -17
- data/lib/mailslurp_client/api/wait_for_controller_api.rb +129 -89
- data/lib/mailslurp_client/api/webhook_controller_api.rb +103 -87
- data/lib/mailslurp_client/api_client.rb +1 -1
- data/lib/mailslurp_client/api_error.rb +1 -1
- data/lib/mailslurp_client/configuration.rb +3 -3
- data/lib/mailslurp_client/models/abstract_webhook_payload.rb +22 -22
- data/lib/mailslurp_client/models/alias_dto.rb +64 -49
- data/lib/mailslurp_client/models/alias_projection.rb +50 -50
- data/lib/mailslurp_client/models/attachment_entity.rb +40 -40
- data/lib/mailslurp_client/models/attachment_meta_data.rb +42 -22
- data/lib/mailslurp_client/models/attachment_projection.rb +38 -33
- data/lib/mailslurp_client/models/basic_auth_options.rb +1 -1
- data/lib/mailslurp_client/models/bounce_projection.rb +19 -19
- data/lib/mailslurp_client/models/bounce_recipient.rb +31 -31
- data/lib/mailslurp_client/models/bounced_email_dto.rb +63 -63
- data/lib/mailslurp_client/models/bounced_recipient_dto.rb +23 -23
- data/lib/mailslurp_client/models/bulk_send_email_options.rb +11 -1
- data/lib/mailslurp_client/models/condition_option.rb +13 -3
- data/lib/mailslurp_client/models/contact_dto.rb +63 -63
- data/lib/mailslurp_client/models/contact_projection.rb +39 -39
- data/lib/mailslurp_client/models/content_match_options.rb +6 -1
- data/lib/mailslurp_client/models/count_dto.rb +1 -1
- data/lib/mailslurp_client/models/create_alias_options.rb +11 -1
- data/lib/mailslurp_client/models/create_contact_options.rb +43 -43
- data/lib/mailslurp_client/models/create_domain_options.rb +22 -17
- data/lib/mailslurp_client/models/create_group_options.rb +1 -1
- data/lib/mailslurp_client/models/create_inbox_dto.rb +59 -59
- data/lib/mailslurp_client/models/create_inbox_forwarder_options.rb +30 -15
- data/lib/mailslurp_client/models/create_inbox_ruleset_options.rb +39 -24
- data/lib/mailslurp_client/models/create_template_options.rb +1 -1
- data/lib/mailslurp_client/models/create_tracking_pixel_options.rb +1 -1
- data/lib/mailslurp_client/models/create_webhook_options.rb +24 -19
- data/lib/mailslurp_client/models/describe_domain_options.rb +1 -1
- data/lib/mailslurp_client/models/describe_mail_server_domain_result.rb +21 -21
- data/lib/mailslurp_client/models/dns_lookup_options.rb +30 -15
- data/lib/mailslurp_client/models/dns_lookup_result.rb +34 -33
- data/lib/mailslurp_client/models/dns_lookup_results.rb +1 -1
- data/lib/mailslurp_client/models/domain_dto.rb +100 -70
- data/lib/mailslurp_client/models/domain_name_record.rb +18 -17
- data/lib/mailslurp_client/models/domain_preview.rb +29 -28
- data/lib/mailslurp_client/models/download_attachment_dto.rb +16 -1
- data/lib/mailslurp_client/models/email.rb +179 -139
- data/lib/mailslurp_client/models/email_analysis.rb +29 -29
- data/lib/mailslurp_client/models/email_content_match_result.rb +19 -19
- data/lib/mailslurp_client/models/email_links_result.rb +19 -19
- data/lib/mailslurp_client/models/email_preview.rb +63 -48
- data/lib/mailslurp_client/models/email_projection.rb +77 -77
- data/lib/mailslurp_client/models/email_recipients.rb +17 -16
- data/lib/mailslurp_client/models/email_text_lines_result.rb +19 -19
- data/lib/mailslurp_client/models/email_verification_result.rb +22 -22
- data/lib/mailslurp_client/models/expiration_defaults.rb +17 -17
- data/lib/mailslurp_client/models/expired_inbox_dto.rb +19 -19
- data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +33 -33
- data/lib/mailslurp_client/models/export_link.rb +1 -1
- data/lib/mailslurp_client/models/export_options.rb +2 -2
- data/lib/mailslurp_client/models/flush_expired_inboxes_result.rb +19 -19
- data/lib/mailslurp_client/models/forward_email_options.rb +37 -32
- data/lib/mailslurp_client/models/gravatar_url.rb +19 -19
- data/lib/mailslurp_client/models/group_contacts_dto.rb +19 -19
- data/lib/mailslurp_client/models/group_dto.rb +28 -28
- data/lib/mailslurp_client/models/group_projection.rb +29 -29
- data/lib/mailslurp_client/models/html_validation_result.rb +27 -12
- data/lib/mailslurp_client/models/{inbox.rb → inbox_dto.rb} +72 -57
- data/lib/mailslurp_client/models/inbox_exists_dto.rb +1 -1
- data/lib/mailslurp_client/models/inbox_forwarder_dto.rb +48 -48
- data/lib/mailslurp_client/models/inbox_forwarder_test_options.rb +1 -1
- data/lib/mailslurp_client/models/inbox_forwarder_test_result.rb +19 -19
- data/lib/mailslurp_client/models/inbox_preview.rb +59 -39
- data/lib/mailslurp_client/models/inbox_ruleset_dto.rb +61 -61
- data/lib/mailslurp_client/models/inbox_ruleset_test_options.rb +1 -1
- data/lib/mailslurp_client/models/inbox_ruleset_test_result.rb +19 -14
- data/lib/mailslurp_client/models/inline_object.rb +221 -0
- data/lib/mailslurp_client/models/ip_address_result.rb +1 -1
- data/lib/mailslurp_client/models/json_schema_dto.rb +1 -1
- data/lib/mailslurp_client/models/match_option.rb +18 -3
- data/lib/mailslurp_client/models/match_options.rb +17 -17
- data/lib/mailslurp_client/models/missed_email.rb +77 -77
- data/lib/mailslurp_client/models/missed_email_projection.rb +25 -25
- data/lib/mailslurp_client/models/name_server_record.rb +16 -16
- data/lib/mailslurp_client/models/organization_inbox_projection.rb +70 -45
- data/lib/mailslurp_client/models/page_alias.rb +59 -50
- data/lib/mailslurp_client/models/page_attachment_entity.rb +59 -50
- data/lib/mailslurp_client/models/page_bounced_email.rb +59 -50
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +59 -50
- data/lib/mailslurp_client/models/page_contact_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_email_preview.rb +59 -50
- data/lib/mailslurp_client/models/page_email_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_group_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +59 -50
- data/lib/mailslurp_client/models/page_inbox_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +59 -50
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_sent_email_projection.rb +86 -47
- data/lib/mailslurp_client/models/page_template_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_thread_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_webhook_projection.rb +59 -50
- data/lib/mailslurp_client/models/page_webhook_result.rb +59 -50
- data/lib/mailslurp_client/models/{pageable.rb → pageable_object.rb} +32 -32
- data/lib/mailslurp_client/models/raw_email_json.rb +1 -1
- data/lib/mailslurp_client/models/recipient.rb +19 -19
- data/lib/mailslurp_client/models/reply_to_alias_email_options.rb +47 -35
- data/lib/mailslurp_client/models/reply_to_email_options.rb +57 -45
- data/lib/mailslurp_client/models/send_email_options.rb +112 -110
- data/lib/mailslurp_client/models/sender.rb +20 -19
- data/lib/mailslurp_client/models/sent_email_dto.rb +110 -95
- data/lib/mailslurp_client/models/sent_email_projection.rb +88 -87
- data/lib/mailslurp_client/models/set_inbox_favourited_options.rb +6 -1
- data/lib/mailslurp_client/models/simple_send_email_options.rb +30 -25
- data/lib/mailslurp_client/models/sort.rb +1 -1
- data/lib/mailslurp_client/models/template_dto.rb +33 -33
- data/lib/mailslurp_client/models/template_projection.rb +37 -37
- data/lib/mailslurp_client/models/template_variable.rb +1 -1
- data/lib/mailslurp_client/models/test_new_inbox_forwarder_options.rb +1 -1
- data/lib/mailslurp_client/models/test_new_inbox_ruleset_options.rb +1 -1
- data/lib/mailslurp_client/models/thread_projection.rb +71 -71
- data/lib/mailslurp_client/models/tracking_pixel_dto.rb +54 -54
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +42 -42
- data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +25 -25
- data/lib/mailslurp_client/models/unread_count.rb +1 -1
- data/lib/mailslurp_client/models/unseen_error_count_dto.rb +1 -1
- data/lib/mailslurp_client/models/update_alias_options.rb +1 -1
- data/lib/mailslurp_client/models/update_domain_options.rb +1 -1
- data/lib/mailslurp_client/models/update_group_contacts.rb +1 -1
- data/lib/mailslurp_client/models/update_inbox_options.rb +27 -27
- data/lib/mailslurp_client/models/upload_attachment_options.rb +15 -15
- data/lib/mailslurp_client/models/validation_dto.rb +11 -1
- data/lib/mailslurp_client/models/validation_message.rb +2 -1
- data/lib/mailslurp_client/models/verify_email_address_options.rb +1 -1
- data/lib/mailslurp_client/models/wait_for_conditions.rb +53 -53
- data/lib/mailslurp_client/models/webhook_dto.rb +105 -65
- data/lib/mailslurp_client/models/webhook_email_opened_payload.rb +83 -43
- data/lib/mailslurp_client/models/webhook_email_read_payload.rb +85 -50
- data/lib/mailslurp_client/models/webhook_new_attachment_payload.rb +79 -44
- data/lib/mailslurp_client/models/webhook_new_contact_payload.rb +98 -83
- data/lib/mailslurp_client/models/webhook_new_email_payload.rb +140 -85
- data/lib/mailslurp_client/models/webhook_projection.rb +47 -47
- data/lib/mailslurp_client/models/webhook_redrive_result.rb +19 -19
- data/lib/mailslurp_client/models/webhook_result_dto.rb +102 -102
- data/lib/mailslurp_client/models/webhook_test_request.rb +28 -28
- data/lib/mailslurp_client/models/webhook_test_response.rb +14 -14
- data/lib/mailslurp_client/models/webhook_test_result.rb +19 -19
- data/lib/mailslurp_client/version.rb +2 -2
- data/lib/mailslurp_client.rb +4 -3
- metadata +5 -4
@@ -4,7 +4,7 @@
|
|
4
4
|
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 6.5.2
|
7
|
-
|
7
|
+
Contact: contact@mailslurp.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
10
10
|
|
@@ -21,22 +21,22 @@ module MailSlurpClient
|
|
21
21
|
end
|
22
22
|
# Attach a WebHook URL to an inbox
|
23
23
|
# Get notified whenever an inbox receives an email via a WebHook URL. An emailID will be posted to this URL every time an email is received for this inbox. The URL must be publicly reachable by the MailSlurp server. You can provide basicAuth values if you wish to secure this endpoint.
|
24
|
-
# @param inbox_id [String]
|
25
|
-
# @param
|
24
|
+
# @param inbox_id [String]
|
25
|
+
# @param create_webhook_options [CreateWebhookOptions]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
27
|
# @return [WebhookDto]
|
28
|
-
def create_webhook(inbox_id,
|
29
|
-
data, _status_code, _headers = create_webhook_with_http_info(inbox_id,
|
28
|
+
def create_webhook(inbox_id, create_webhook_options, opts = {})
|
29
|
+
data, _status_code, _headers = create_webhook_with_http_info(inbox_id, create_webhook_options, opts)
|
30
30
|
data
|
31
31
|
end
|
32
32
|
|
33
33
|
# Attach a WebHook URL to an inbox
|
34
34
|
# Get notified whenever an inbox receives an email via a WebHook URL. An emailID will be posted to this URL every time an email is received for this inbox. The URL must be publicly reachable by the MailSlurp server. You can provide basicAuth values if you wish to secure this endpoint.
|
35
|
-
# @param inbox_id [String]
|
36
|
-
# @param
|
35
|
+
# @param inbox_id [String]
|
36
|
+
# @param create_webhook_options [CreateWebhookOptions]
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
38
|
# @return [Array<(WebhookDto, Integer, Hash)>] WebhookDto data, response status code and response headers
|
39
|
-
def create_webhook_with_http_info(inbox_id,
|
39
|
+
def create_webhook_with_http_info(inbox_id, create_webhook_options, opts = {})
|
40
40
|
if @api_client.config.debugging
|
41
41
|
@api_client.config.logger.debug 'Calling API: WebhookControllerApi.create_webhook ...'
|
42
42
|
end
|
@@ -44,9 +44,9 @@ module MailSlurpClient
|
|
44
44
|
if @api_client.config.client_side_validation && inbox_id.nil?
|
45
45
|
fail ArgumentError, "Missing the required parameter 'inbox_id' when calling WebhookControllerApi.create_webhook"
|
46
46
|
end
|
47
|
-
# verify the required parameter '
|
48
|
-
if @api_client.config.client_side_validation &&
|
49
|
-
fail ArgumentError, "Missing the required parameter '
|
47
|
+
# verify the required parameter 'create_webhook_options' is set
|
48
|
+
if @api_client.config.client_side_validation && create_webhook_options.nil?
|
49
|
+
fail ArgumentError, "Missing the required parameter 'create_webhook_options' when calling WebhookControllerApi.create_webhook"
|
50
50
|
end
|
51
51
|
# resource path
|
52
52
|
local_var_path = '/inboxes/{inboxId}/webhooks'.sub('{' + 'inboxId' + '}', CGI.escape(inbox_id.to_s))
|
@@ -57,7 +57,7 @@ module MailSlurpClient
|
|
57
57
|
# header parameters
|
58
58
|
header_params = opts[:header_params] || {}
|
59
59
|
# HTTP header 'Accept' (if needed)
|
60
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
60
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
61
61
|
# HTTP header 'Content-Type'
|
62
62
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
63
63
|
|
@@ -65,7 +65,7 @@ module MailSlurpClient
|
|
65
65
|
form_params = opts[:form_params] || {}
|
66
66
|
|
67
67
|
# http body (model)
|
68
|
-
post_body = opts[:body] || @api_client.object_to_http_body(
|
68
|
+
post_body = opts[:body] || @api_client.object_to_http_body(create_webhook_options)
|
69
69
|
|
70
70
|
# return_type
|
71
71
|
return_type = opts[:return_type] || 'WebhookDto'
|
@@ -142,8 +142,8 @@ module MailSlurpClient
|
|
142
142
|
end
|
143
143
|
|
144
144
|
# Delete and disable a Webhook for an Inbox
|
145
|
-
# @param inbox_id [String]
|
146
|
-
# @param webhook_id [String]
|
145
|
+
# @param inbox_id [String]
|
146
|
+
# @param webhook_id [String]
|
147
147
|
# @param [Hash] opts the optional parameters
|
148
148
|
# @return [nil]
|
149
149
|
def delete_webhook(inbox_id, webhook_id, opts = {})
|
@@ -152,8 +152,8 @@ module MailSlurpClient
|
|
152
152
|
end
|
153
153
|
|
154
154
|
# Delete and disable a Webhook for an Inbox
|
155
|
-
# @param inbox_id [String]
|
156
|
-
# @param webhook_id [String]
|
155
|
+
# @param inbox_id [String]
|
156
|
+
# @param webhook_id [String]
|
157
157
|
# @param [Hash] opts the optional parameters
|
158
158
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
159
159
|
def delete_webhook_with_http_info(inbox_id, webhook_id, opts = {})
|
@@ -207,12 +207,12 @@ module MailSlurpClient
|
|
207
207
|
|
208
208
|
# Get results for all webhooks
|
209
209
|
# @param [Hash] opts the optional parameters
|
210
|
-
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
211
210
|
# @option opts [Integer] :page Optional page index in list pagination (default to 0)
|
212
|
-
# @option opts [String] :search_filter Optional search filter
|
213
|
-
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
214
211
|
# @option opts [Integer] :size Optional page size in list pagination (default to 20)
|
215
212
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
213
|
+
# @option opts [String] :search_filter Optional search filter
|
214
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
215
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
216
216
|
# @option opts [Boolean] :unseen_only Filter for unseen exceptions only
|
217
217
|
# @return [PageWebhookResult]
|
218
218
|
def get_all_webhook_results(opts = {})
|
@@ -222,12 +222,12 @@ module MailSlurpClient
|
|
222
222
|
|
223
223
|
# Get results for all webhooks
|
224
224
|
# @param [Hash] opts the optional parameters
|
225
|
-
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
226
225
|
# @option opts [Integer] :page Optional page index in list pagination
|
227
|
-
# @option opts [String] :search_filter Optional search filter
|
228
|
-
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
229
226
|
# @option opts [Integer] :size Optional page size in list pagination
|
230
227
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
228
|
+
# @option opts [String] :search_filter Optional search filter
|
229
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
230
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
231
231
|
# @option opts [Boolean] :unseen_only Filter for unseen exceptions only
|
232
232
|
# @return [Array<(PageWebhookResult, Integer, Hash)>] PageWebhookResult data, response status code and response headers
|
233
233
|
def get_all_webhook_results_with_http_info(opts = {})
|
@@ -243,18 +243,18 @@ module MailSlurpClient
|
|
243
243
|
|
244
244
|
# query parameters
|
245
245
|
query_params = opts[:query_params] || {}
|
246
|
-
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
247
246
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
248
|
-
query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
|
249
|
-
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
250
247
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
251
248
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
249
|
+
query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
|
250
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
251
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
252
252
|
query_params[:'unseenOnly'] = opts[:'unseen_only'] if !opts[:'unseen_only'].nil?
|
253
253
|
|
254
254
|
# header parameters
|
255
255
|
header_params = opts[:header_params] || {}
|
256
256
|
# HTTP header 'Accept' (if needed)
|
257
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
257
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
258
258
|
|
259
259
|
# form parameters
|
260
260
|
form_params = opts[:form_params] || {}
|
@@ -287,12 +287,12 @@ module MailSlurpClient
|
|
287
287
|
# List Webhooks Paginated
|
288
288
|
# List webhooks in paginated form. Allows for page index, page size, and sort direction.
|
289
289
|
# @param [Hash] opts the optional parameters
|
290
|
-
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
291
290
|
# @option opts [Integer] :page Optional page index in list pagination (default to 0)
|
292
|
-
# @option opts [String] :search_filter Optional search filter
|
293
|
-
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
294
291
|
# @option opts [Integer] :size Optional page size for paginated result list. (default to 20)
|
295
292
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'DESC')
|
293
|
+
# @option opts [String] :search_filter Optional search filter
|
294
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
295
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
296
296
|
# @return [PageWebhookProjection]
|
297
297
|
def get_all_webhooks(opts = {})
|
298
298
|
data, _status_code, _headers = get_all_webhooks_with_http_info(opts)
|
@@ -302,17 +302,33 @@ module MailSlurpClient
|
|
302
302
|
# List Webhooks Paginated
|
303
303
|
# List webhooks in paginated form. Allows for page index, page size, and sort direction.
|
304
304
|
# @param [Hash] opts the optional parameters
|
305
|
-
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
306
305
|
# @option opts [Integer] :page Optional page index in list pagination
|
307
|
-
# @option opts [String] :search_filter Optional search filter
|
308
|
-
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
309
306
|
# @option opts [Integer] :size Optional page size for paginated result list.
|
310
307
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
308
|
+
# @option opts [String] :search_filter Optional search filter
|
309
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
310
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
311
311
|
# @return [Array<(PageWebhookProjection, Integer, Hash)>] PageWebhookProjection data, response status code and response headers
|
312
312
|
def get_all_webhooks_with_http_info(opts = {})
|
313
313
|
if @api_client.config.debugging
|
314
314
|
@api_client.config.logger.debug 'Calling API: WebhookControllerApi.get_all_webhooks ...'
|
315
315
|
end
|
316
|
+
if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] > 9223372036854775807
|
317
|
+
fail ArgumentError, 'invalid value for "opts[:"page"]" when calling WebhookControllerApi.get_all_webhooks, must be smaller than or equal to 9223372036854775807.'
|
318
|
+
end
|
319
|
+
|
320
|
+
if @api_client.config.client_side_validation && !opts[:'page'].nil? && opts[:'page'] < 0
|
321
|
+
fail ArgumentError, 'invalid value for "opts[:"page"]" when calling WebhookControllerApi.get_all_webhooks, must be greater than or equal to 0.'
|
322
|
+
end
|
323
|
+
|
324
|
+
if @api_client.config.client_side_validation && !opts[:'size'].nil? && opts[:'size'] > 100
|
325
|
+
fail ArgumentError, 'invalid value for "opts[:"size"]" when calling WebhookControllerApi.get_all_webhooks, must be smaller than or equal to 100.'
|
326
|
+
end
|
327
|
+
|
328
|
+
if @api_client.config.client_side_validation && !opts[:'size'].nil? && opts[:'size'] < 1
|
329
|
+
fail ArgumentError, 'invalid value for "opts[:"size"]" when calling WebhookControllerApi.get_all_webhooks, must be greater than or equal to 1.'
|
330
|
+
end
|
331
|
+
|
316
332
|
allowable_values = ["ASC", "DESC"]
|
317
333
|
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
|
318
334
|
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
|
@@ -322,17 +338,17 @@ module MailSlurpClient
|
|
322
338
|
|
323
339
|
# query parameters
|
324
340
|
query_params = opts[:query_params] || {}
|
325
|
-
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
326
341
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
327
|
-
query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
|
328
|
-
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
329
342
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
330
343
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
344
|
+
query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
|
345
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
346
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
331
347
|
|
332
348
|
# header parameters
|
333
349
|
header_params = opts[:header_params] || {}
|
334
350
|
# HTTP header 'Accept' (if needed)
|
335
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
351
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
336
352
|
|
337
353
|
# form parameters
|
338
354
|
form_params = opts[:form_params] || {}
|
@@ -363,14 +379,14 @@ module MailSlurpClient
|
|
363
379
|
end
|
364
380
|
|
365
381
|
# Get paginated webhooks for an Inbox
|
366
|
-
# @param inbox_id [String]
|
382
|
+
# @param inbox_id [String]
|
367
383
|
# @param [Hash] opts the optional parameters
|
368
|
-
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
369
384
|
# @option opts [Integer] :page Optional page index in list pagination (default to 0)
|
370
|
-
# @option opts [String] :search_filter Optional search filter
|
371
|
-
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
372
385
|
# @option opts [Integer] :size Optional page size in list pagination (default to 20)
|
373
386
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
387
|
+
# @option opts [String] :search_filter Optional search filter
|
388
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
389
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
374
390
|
# @return [PageWebhookProjection]
|
375
391
|
def get_inbox_webhooks_paginated(inbox_id, opts = {})
|
376
392
|
data, _status_code, _headers = get_inbox_webhooks_paginated_with_http_info(inbox_id, opts)
|
@@ -378,14 +394,14 @@ module MailSlurpClient
|
|
378
394
|
end
|
379
395
|
|
380
396
|
# Get paginated webhooks for an Inbox
|
381
|
-
# @param inbox_id [String]
|
397
|
+
# @param inbox_id [String]
|
382
398
|
# @param [Hash] opts the optional parameters
|
383
|
-
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
384
399
|
# @option opts [Integer] :page Optional page index in list pagination
|
385
|
-
# @option opts [String] :search_filter Optional search filter
|
386
|
-
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
387
400
|
# @option opts [Integer] :size Optional page size in list pagination
|
388
401
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
402
|
+
# @option opts [String] :search_filter Optional search filter
|
403
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
404
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
389
405
|
# @return [Array<(PageWebhookProjection, Integer, Hash)>] PageWebhookProjection data, response status code and response headers
|
390
406
|
def get_inbox_webhooks_paginated_with_http_info(inbox_id, opts = {})
|
391
407
|
if @api_client.config.debugging
|
@@ -404,17 +420,17 @@ module MailSlurpClient
|
|
404
420
|
|
405
421
|
# query parameters
|
406
422
|
query_params = opts[:query_params] || {}
|
407
|
-
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
408
423
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
409
|
-
query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
|
410
|
-
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
411
424
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
412
425
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
426
|
+
query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
|
427
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
428
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
413
429
|
|
414
430
|
# header parameters
|
415
431
|
header_params = opts[:header_params] || {}
|
416
432
|
# HTTP header 'Accept' (if needed)
|
417
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
433
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
418
434
|
|
419
435
|
# form parameters
|
420
436
|
form_params = opts[:form_params] || {}
|
@@ -445,7 +461,7 @@ module MailSlurpClient
|
|
445
461
|
end
|
446
462
|
|
447
463
|
# Get JSON Schema definition for webhook payload
|
448
|
-
# @param webhook_id [String]
|
464
|
+
# @param webhook_id [String]
|
449
465
|
# @param [Hash] opts the optional parameters
|
450
466
|
# @return [JSONSchemaDto]
|
451
467
|
def get_json_schema_for_webhook_payload(webhook_id, opts = {})
|
@@ -454,7 +470,7 @@ module MailSlurpClient
|
|
454
470
|
end
|
455
471
|
|
456
472
|
# Get JSON Schema definition for webhook payload
|
457
|
-
# @param webhook_id [String]
|
473
|
+
# @param webhook_id [String]
|
458
474
|
# @param [Hash] opts the optional parameters
|
459
475
|
# @return [Array<(JSONSchemaDto, Integer, Hash)>] JSONSchemaDto data, response status code and response headers
|
460
476
|
def get_json_schema_for_webhook_payload_with_http_info(webhook_id, opts = {})
|
@@ -474,7 +490,7 @@ module MailSlurpClient
|
|
474
490
|
# header parameters
|
475
491
|
header_params = opts[:header_params] || {}
|
476
492
|
# HTTP header 'Accept' (if needed)
|
477
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
493
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
478
494
|
|
479
495
|
# form parameters
|
480
496
|
form_params = opts[:form_params] || {}
|
@@ -506,7 +522,7 @@ module MailSlurpClient
|
|
506
522
|
|
507
523
|
# Get test webhook payload example. Response content depends on eventName passed. Uses `EMAIL_RECEIVED` as default.
|
508
524
|
# @param [Hash] opts the optional parameters
|
509
|
-
# @option opts [String] :event_name
|
525
|
+
# @option opts [String] :event_name
|
510
526
|
# @return [AbstractWebhookPayload]
|
511
527
|
def get_test_webhook_payload(opts = {})
|
512
528
|
data, _status_code, _headers = get_test_webhook_payload_with_http_info(opts)
|
@@ -515,7 +531,7 @@ module MailSlurpClient
|
|
515
531
|
|
516
532
|
# Get test webhook payload example. Response content depends on eventName passed. Uses `EMAIL_RECEIVED` as default.
|
517
533
|
# @param [Hash] opts the optional parameters
|
518
|
-
# @option opts [String] :event_name
|
534
|
+
# @option opts [String] :event_name
|
519
535
|
# @return [Array<(AbstractWebhookPayload, Integer, Hash)>] AbstractWebhookPayload data, response status code and response headers
|
520
536
|
def get_test_webhook_payload_with_http_info(opts = {})
|
521
537
|
if @api_client.config.debugging
|
@@ -535,7 +551,7 @@ module MailSlurpClient
|
|
535
551
|
# header parameters
|
536
552
|
header_params = opts[:header_params] || {}
|
537
553
|
# HTTP header 'Accept' (if needed)
|
538
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
554
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
539
555
|
|
540
556
|
# form parameters
|
541
557
|
form_params = opts[:form_params] || {}
|
@@ -589,7 +605,7 @@ module MailSlurpClient
|
|
589
605
|
# header parameters
|
590
606
|
header_params = opts[:header_params] || {}
|
591
607
|
# HTTP header 'Accept' (if needed)
|
592
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
608
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
593
609
|
|
594
610
|
# form parameters
|
595
611
|
form_params = opts[:form_params] || {}
|
@@ -643,7 +659,7 @@ module MailSlurpClient
|
|
643
659
|
# header parameters
|
644
660
|
header_params = opts[:header_params] || {}
|
645
661
|
# HTTP header 'Accept' (if needed)
|
646
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
662
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
647
663
|
|
648
664
|
# form parameters
|
649
665
|
form_params = opts[:form_params] || {}
|
@@ -674,7 +690,7 @@ module MailSlurpClient
|
|
674
690
|
end
|
675
691
|
|
676
692
|
# Get example payload for webhook
|
677
|
-
# @param webhook_id [String]
|
693
|
+
# @param webhook_id [String]
|
678
694
|
# @param [Hash] opts the optional parameters
|
679
695
|
# @return [AbstractWebhookPayload]
|
680
696
|
def get_test_webhook_payload_for_webhook(webhook_id, opts = {})
|
@@ -683,7 +699,7 @@ module MailSlurpClient
|
|
683
699
|
end
|
684
700
|
|
685
701
|
# Get example payload for webhook
|
686
|
-
# @param webhook_id [String]
|
702
|
+
# @param webhook_id [String]
|
687
703
|
# @param [Hash] opts the optional parameters
|
688
704
|
# @return [Array<(AbstractWebhookPayload, Integer, Hash)>] AbstractWebhookPayload data, response status code and response headers
|
689
705
|
def get_test_webhook_payload_for_webhook_with_http_info(webhook_id, opts = {})
|
@@ -703,7 +719,7 @@ module MailSlurpClient
|
|
703
719
|
# header parameters
|
704
720
|
header_params = opts[:header_params] || {}
|
705
721
|
# HTTP header 'Accept' (if needed)
|
706
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
722
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
707
723
|
|
708
724
|
# form parameters
|
709
725
|
form_params = opts[:form_params] || {}
|
@@ -757,7 +773,7 @@ module MailSlurpClient
|
|
757
773
|
# header parameters
|
758
774
|
header_params = opts[:header_params] || {}
|
759
775
|
# HTTP header 'Accept' (if needed)
|
760
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
776
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
761
777
|
|
762
778
|
# form parameters
|
763
779
|
form_params = opts[:form_params] || {}
|
@@ -811,7 +827,7 @@ module MailSlurpClient
|
|
811
827
|
# header parameters
|
812
828
|
header_params = opts[:header_params] || {}
|
813
829
|
# HTTP header 'Accept' (if needed)
|
814
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
830
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
815
831
|
|
816
832
|
# form parameters
|
817
833
|
form_params = opts[:form_params] || {}
|
@@ -865,7 +881,7 @@ module MailSlurpClient
|
|
865
881
|
# header parameters
|
866
882
|
header_params = opts[:header_params] || {}
|
867
883
|
# HTTP header 'Accept' (if needed)
|
868
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
884
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
869
885
|
|
870
886
|
# form parameters
|
871
887
|
form_params = opts[:form_params] || {}
|
@@ -896,7 +912,7 @@ module MailSlurpClient
|
|
896
912
|
end
|
897
913
|
|
898
914
|
# Get a webhook for an Inbox
|
899
|
-
# @param webhook_id [String]
|
915
|
+
# @param webhook_id [String]
|
900
916
|
# @param [Hash] opts the optional parameters
|
901
917
|
# @return [WebhookDto]
|
902
918
|
def get_webhook(webhook_id, opts = {})
|
@@ -905,7 +921,7 @@ module MailSlurpClient
|
|
905
921
|
end
|
906
922
|
|
907
923
|
# Get a webhook for an Inbox
|
908
|
-
# @param webhook_id [String]
|
924
|
+
# @param webhook_id [String]
|
909
925
|
# @param [Hash] opts the optional parameters
|
910
926
|
# @return [Array<(WebhookDto, Integer, Hash)>] WebhookDto data, response status code and response headers
|
911
927
|
def get_webhook_with_http_info(webhook_id, opts = {})
|
@@ -925,7 +941,7 @@ module MailSlurpClient
|
|
925
941
|
# header parameters
|
926
942
|
header_params = opts[:header_params] || {}
|
927
943
|
# HTTP header 'Accept' (if needed)
|
928
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
944
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
929
945
|
|
930
946
|
# form parameters
|
931
947
|
form_params = opts[:form_params] || {}
|
@@ -985,7 +1001,7 @@ module MailSlurpClient
|
|
985
1001
|
# header parameters
|
986
1002
|
header_params = opts[:header_params] || {}
|
987
1003
|
# HTTP header 'Accept' (if needed)
|
988
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
1004
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
989
1005
|
|
990
1006
|
# form parameters
|
991
1007
|
form_params = opts[:form_params] || {}
|
@@ -1018,12 +1034,12 @@ module MailSlurpClient
|
|
1018
1034
|
# Get a webhook results for a webhook
|
1019
1035
|
# @param webhook_id [String] ID of webhook to get results for
|
1020
1036
|
# @param [Hash] opts the optional parameters
|
1021
|
-
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
1022
1037
|
# @option opts [Integer] :page Optional page index in list pagination (default to 0)
|
1023
|
-
# @option opts [String] :search_filter Optional search filter
|
1024
|
-
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
1025
1038
|
# @option opts [Integer] :size Optional page size in list pagination (default to 20)
|
1026
1039
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
1040
|
+
# @option opts [String] :search_filter Optional search filter
|
1041
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
1042
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
1027
1043
|
# @option opts [Boolean] :unseen_only Filter for unseen exceptions only
|
1028
1044
|
# @return [PageWebhookResult]
|
1029
1045
|
def get_webhook_results(webhook_id, opts = {})
|
@@ -1034,12 +1050,12 @@ module MailSlurpClient
|
|
1034
1050
|
# Get a webhook results for a webhook
|
1035
1051
|
# @param webhook_id [String] ID of webhook to get results for
|
1036
1052
|
# @param [Hash] opts the optional parameters
|
1037
|
-
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
1038
1053
|
# @option opts [Integer] :page Optional page index in list pagination
|
1039
|
-
# @option opts [String] :search_filter Optional search filter
|
1040
|
-
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
1041
1054
|
# @option opts [Integer] :size Optional page size in list pagination
|
1042
1055
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
1056
|
+
# @option opts [String] :search_filter Optional search filter
|
1057
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
1058
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
1043
1059
|
# @option opts [Boolean] :unseen_only Filter for unseen exceptions only
|
1044
1060
|
# @return [Array<(PageWebhookResult, Integer, Hash)>] PageWebhookResult data, response status code and response headers
|
1045
1061
|
def get_webhook_results_with_http_info(webhook_id, opts = {})
|
@@ -1059,18 +1075,18 @@ module MailSlurpClient
|
|
1059
1075
|
|
1060
1076
|
# query parameters
|
1061
1077
|
query_params = opts[:query_params] || {}
|
1062
|
-
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
1063
1078
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
1064
|
-
query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
|
1065
|
-
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
1066
1079
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
1067
1080
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
1081
|
+
query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
|
1082
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
1083
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
1068
1084
|
query_params[:'unseenOnly'] = opts[:'unseen_only'] if !opts[:'unseen_only'].nil?
|
1069
1085
|
|
1070
1086
|
# header parameters
|
1071
1087
|
header_params = opts[:header_params] || {}
|
1072
1088
|
# HTTP header 'Accept' (if needed)
|
1073
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
1089
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
1074
1090
|
|
1075
1091
|
# form parameters
|
1076
1092
|
form_params = opts[:form_params] || {}
|
@@ -1101,7 +1117,7 @@ module MailSlurpClient
|
|
1101
1117
|
end
|
1102
1118
|
|
1103
1119
|
# Get count of unseen webhook results with error status
|
1104
|
-
# @param inbox_id [String]
|
1120
|
+
# @param inbox_id [String]
|
1105
1121
|
# @param [Hash] opts the optional parameters
|
1106
1122
|
# @return [UnseenErrorCountDto]
|
1107
1123
|
def get_webhook_results_unseen_error_count(inbox_id, opts = {})
|
@@ -1110,7 +1126,7 @@ module MailSlurpClient
|
|
1110
1126
|
end
|
1111
1127
|
|
1112
1128
|
# Get count of unseen webhook results with error status
|
1113
|
-
# @param inbox_id [String]
|
1129
|
+
# @param inbox_id [String]
|
1114
1130
|
# @param [Hash] opts the optional parameters
|
1115
1131
|
# @return [Array<(UnseenErrorCountDto, Integer, Hash)>] UnseenErrorCountDto data, response status code and response headers
|
1116
1132
|
def get_webhook_results_unseen_error_count_with_http_info(inbox_id, opts = {})
|
@@ -1130,7 +1146,7 @@ module MailSlurpClient
|
|
1130
1146
|
# header parameters
|
1131
1147
|
header_params = opts[:header_params] || {}
|
1132
1148
|
# HTTP header 'Accept' (if needed)
|
1133
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
1149
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
1134
1150
|
|
1135
1151
|
# form parameters
|
1136
1152
|
form_params = opts[:form_params] || {}
|
@@ -1161,7 +1177,7 @@ module MailSlurpClient
|
|
1161
1177
|
end
|
1162
1178
|
|
1163
1179
|
# Get all webhooks for an Inbox
|
1164
|
-
# @param inbox_id [String]
|
1180
|
+
# @param inbox_id [String]
|
1165
1181
|
# @param [Hash] opts the optional parameters
|
1166
1182
|
# @return [Array<WebhookDto>]
|
1167
1183
|
def get_webhooks(inbox_id, opts = {})
|
@@ -1170,7 +1186,7 @@ module MailSlurpClient
|
|
1170
1186
|
end
|
1171
1187
|
|
1172
1188
|
# Get all webhooks for an Inbox
|
1173
|
-
# @param inbox_id [String]
|
1189
|
+
# @param inbox_id [String]
|
1174
1190
|
# @param [Hash] opts the optional parameters
|
1175
1191
|
# @return [Array<(Array<WebhookDto>, Integer, Hash)>] Array<WebhookDto> data, response status code and response headers
|
1176
1192
|
def get_webhooks_with_http_info(inbox_id, opts = {})
|
@@ -1190,7 +1206,7 @@ module MailSlurpClient
|
|
1190
1206
|
# header parameters
|
1191
1207
|
header_params = opts[:header_params] || {}
|
1192
1208
|
# HTTP header 'Accept' (if needed)
|
1193
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
1209
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
1194
1210
|
|
1195
1211
|
# form parameters
|
1196
1212
|
form_params = opts[:form_params] || {}
|
@@ -1252,7 +1268,7 @@ module MailSlurpClient
|
|
1252
1268
|
# header parameters
|
1253
1269
|
header_params = opts[:header_params] || {}
|
1254
1270
|
# HTTP header 'Accept' (if needed)
|
1255
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
1271
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
1256
1272
|
|
1257
1273
|
# form parameters
|
1258
1274
|
form_params = opts[:form_params] || {}
|
@@ -1283,7 +1299,7 @@ module MailSlurpClient
|
|
1283
1299
|
end
|
1284
1300
|
|
1285
1301
|
# Send webhook test data
|
1286
|
-
# @param webhook_id [String]
|
1302
|
+
# @param webhook_id [String]
|
1287
1303
|
# @param [Hash] opts the optional parameters
|
1288
1304
|
# @return [WebhookTestResult]
|
1289
1305
|
def send_test_data(webhook_id, opts = {})
|
@@ -1292,7 +1308,7 @@ module MailSlurpClient
|
|
1292
1308
|
end
|
1293
1309
|
|
1294
1310
|
# Send webhook test data
|
1295
|
-
# @param webhook_id [String]
|
1311
|
+
# @param webhook_id [String]
|
1296
1312
|
# @param [Hash] opts the optional parameters
|
1297
1313
|
# @return [Array<(WebhookTestResult, Integer, Hash)>] WebhookTestResult data, response status code and response headers
|
1298
1314
|
def send_test_data_with_http_info(webhook_id, opts = {})
|
@@ -1312,7 +1328,7 @@ module MailSlurpClient
|
|
1312
1328
|
# header parameters
|
1313
1329
|
header_params = opts[:header_params] || {}
|
1314
1330
|
# HTTP header 'Accept' (if needed)
|
1315
|
-
header_params['Accept'] = @api_client.select_header_accept(['
|
1331
|
+
header_params['Accept'] = @api_client.select_header_accept(['*/*'])
|
1316
1332
|
|
1317
1333
|
# form parameters
|
1318
1334
|
form_params = opts[:form_params] || {}
|
@@ -4,7 +4,7 @@
|
|
4
4
|
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 6.5.2
|
7
|
-
|
7
|
+
Contact: contact@mailslurp.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 6.5.2
|
7
|
-
|
7
|
+
Contact: contact@mailslurp.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
10
10
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 6.5.2
|
7
|
-
|
7
|
+
Contact: contact@mailslurp.dev
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 4.3.1
|
10
10
|
|
@@ -207,8 +207,8 @@ module MailSlurpClient
|
|
207
207
|
def server_settings
|
208
208
|
[
|
209
209
|
{
|
210
|
-
url: "https://api.mailslurp.com
|
211
|
-
description: "
|
210
|
+
url: "https://api.mailslurp.com",
|
211
|
+
description: "MailSlurp API Server",
|
212
212
|
}
|
213
213
|
]
|
214
214
|
end
|