mailslurp_client 13.0.1 → 14.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mailslurp_client/api/alias_controller_api.rb +19 -1
- data/lib/mailslurp_client/api/attachment_controller_api.rb +7 -1
- data/lib/mailslurp_client/api/bounce_controller_api.rb +13 -1
- data/lib/mailslurp_client/api/bulk_actions_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/common_actions_controller_api.rb +45 -1
- data/lib/mailslurp_client/api/contact_controller_api.rb +7 -1
- data/lib/mailslurp_client/api/domain_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/email_controller_api.rb +17 -5
- data/lib/mailslurp_client/api/expired_controller_api.rb +7 -1
- data/lib/mailslurp_client/api/export_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/form_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/group_controller_api.rb +13 -1
- data/lib/mailslurp_client/api/inbox_controller_api.rb +111 -7
- data/lib/mailslurp_client/api/inbox_forwarder_controller_api.rb +7 -1
- data/lib/mailslurp_client/api/inbox_ruleset_controller_api.rb +7 -1
- data/lib/mailslurp_client/api/mail_server_controller_api.rb +1 -1
- data/lib/mailslurp_client/api/missed_email_controller_api.rb +94 -1
- data/lib/mailslurp_client/api/sent_emails_controller_api.rb +25 -1
- data/lib/mailslurp_client/api/template_controller_api.rb +81 -7
- data/lib/mailslurp_client/api/tracking_controller_api.rb +7 -1
- data/lib/mailslurp_client/api/wait_for_controller_api.rb +22 -7
- data/lib/mailslurp_client/api/webhook_controller_api.rb +386 -8
- data/lib/mailslurp_client/api_client.rb +1 -1
- data/lib/mailslurp_client/api_error.rb +1 -1
- data/lib/mailslurp_client/configuration.rb +1 -1
- data/lib/mailslurp_client/models/abstract_webhook_payload.rb +3 -3
- data/lib/mailslurp_client/models/alias_dto.rb +1 -1
- data/lib/mailslurp_client/models/alias_projection.rb +1 -1
- data/lib/mailslurp_client/models/attachment_entity.rb +1 -1
- data/lib/mailslurp_client/models/attachment_meta_data.rb +1 -1
- data/lib/mailslurp_client/models/attachment_projection.rb +1 -1
- data/lib/mailslurp_client/models/basic_auth_options.rb +1 -1
- data/lib/mailslurp_client/models/bounce_projection.rb +1 -1
- data/lib/mailslurp_client/models/bounce_recipient.rb +1 -1
- data/lib/mailslurp_client/models/bounced_email_dto.rb +1 -1
- data/lib/mailslurp_client/models/bounced_recipient_dto.rb +1 -1
- data/lib/mailslurp_client/models/bulk_send_email_options.rb +1 -1
- data/lib/mailslurp_client/models/condition_option.rb +1 -1
- data/lib/mailslurp_client/models/contact_dto.rb +1 -1
- data/lib/mailslurp_client/models/contact_projection.rb +1 -1
- data/lib/mailslurp_client/models/content_match_options.rb +1 -1
- data/lib/mailslurp_client/models/create_alias_options.rb +1 -1
- data/lib/mailslurp_client/models/create_contact_options.rb +1 -1
- data/lib/mailslurp_client/models/create_domain_options.rb +1 -1
- data/lib/mailslurp_client/models/create_group_options.rb +1 -1
- data/lib/mailslurp_client/models/create_inbox_dto.rb +2 -2
- data/lib/mailslurp_client/models/create_inbox_forwarder_options.rb +18 -29
- data/lib/mailslurp_client/models/create_inbox_ruleset_options.rb +1 -1
- 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 +3 -3
- data/lib/mailslurp_client/models/describe_domain_options.rb +1 -1
- data/lib/mailslurp_client/models/describe_mail_server_domain_result.rb +1 -1
- data/lib/mailslurp_client/models/dns_lookup_options.rb +1 -1
- data/lib/mailslurp_client/models/dns_lookup_result.rb +1 -1
- data/lib/mailslurp_client/models/dns_lookup_results.rb +1 -1
- data/lib/mailslurp_client/models/domain_dto.rb +1 -1
- data/lib/mailslurp_client/models/domain_name_record.rb +1 -1
- data/lib/mailslurp_client/models/domain_preview.rb +1 -1
- data/lib/mailslurp_client/models/download_attachment_dto.rb +1 -1
- data/lib/mailslurp_client/models/email.rb +29 -11
- data/lib/mailslurp_client/models/email_analysis.rb +1 -1
- data/lib/mailslurp_client/models/email_content_match_result.rb +1 -1
- data/lib/mailslurp_client/models/email_links_result.rb +1 -1
- data/lib/mailslurp_client/models/email_preview.rb +7 -7
- data/lib/mailslurp_client/models/email_projection.rb +1 -1
- data/lib/mailslurp_client/models/email_recipients.rb +230 -0
- data/lib/mailslurp_client/models/email_text_lines_result.rb +1 -1
- data/lib/mailslurp_client/models/email_verification_result.rb +2 -2
- data/lib/mailslurp_client/models/expiration_defaults.rb +19 -5
- data/lib/mailslurp_client/models/expired_inbox_dto.rb +1 -1
- data/lib/mailslurp_client/models/expired_inbox_record_projection.rb +1 -1
- data/lib/mailslurp_client/models/export_link.rb +1 -1
- data/lib/mailslurp_client/models/export_options.rb +1 -1
- data/lib/mailslurp_client/models/flush_expired_inboxes_result.rb +227 -0
- data/lib/mailslurp_client/models/forward_email_options.rb +1 -1
- data/lib/mailslurp_client/models/gravatar_url.rb +1 -1
- data/lib/mailslurp_client/models/group_contacts_dto.rb +1 -1
- data/lib/mailslurp_client/models/group_dto.rb +1 -1
- data/lib/mailslurp_client/models/group_projection.rb +1 -1
- data/lib/mailslurp_client/models/html_validation_result.rb +1 -1
- data/lib/mailslurp_client/models/inbox.rb +1 -1
- data/lib/mailslurp_client/models/inbox_forwarder_dto.rb +1 -1
- data/lib/mailslurp_client/models/inbox_forwarder_test_options.rb +1 -1
- data/lib/mailslurp_client/models/inbox_forwarder_test_result.rb +1 -1
- data/lib/mailslurp_client/models/{inbox_projection.rb → inbox_preview.rb} +23 -25
- data/lib/mailslurp_client/models/inbox_ruleset_dto.rb +1 -1
- data/lib/mailslurp_client/models/inbox_ruleset_test_options.rb +1 -1
- data/lib/mailslurp_client/models/inbox_ruleset_test_result.rb +1 -1
- data/lib/mailslurp_client/models/ip_address_result.rb +1 -1
- data/lib/mailslurp_client/models/json_schema_dto.rb +211 -0
- data/lib/mailslurp_client/models/match_option.rb +1 -1
- data/lib/mailslurp_client/models/match_options.rb +1 -1
- data/lib/mailslurp_client/models/missed_email.rb +1 -6
- data/lib/mailslurp_client/models/missed_email_projection.rb +1 -6
- data/lib/mailslurp_client/models/name_server_record.rb +1 -1
- data/lib/mailslurp_client/models/organization_inbox_projection.rb +1 -1
- data/lib/mailslurp_client/models/page_alias.rb +1 -1
- data/lib/mailslurp_client/models/page_attachment_entity.rb +1 -1
- data/lib/mailslurp_client/models/page_bounced_email.rb +1 -1
- data/lib/mailslurp_client/models/page_bounced_recipients.rb +1 -1
- data/lib/mailslurp_client/models/page_contact_projection.rb +1 -1
- data/lib/mailslurp_client/models/page_email_preview.rb +1 -1
- data/lib/mailslurp_client/models/page_email_projection.rb +1 -1
- data/lib/mailslurp_client/models/page_expired_inbox_record_projection.rb +1 -1
- data/lib/mailslurp_client/models/page_group_projection.rb +1 -1
- data/lib/mailslurp_client/models/page_inbox_forwarder_dto.rb +1 -1
- data/lib/mailslurp_client/models/page_inbox_projection.rb +2 -2
- data/lib/mailslurp_client/models/page_inbox_ruleset_dto.rb +1 -1
- data/lib/mailslurp_client/models/page_missed_email_projection.rb +1 -1
- data/lib/mailslurp_client/models/page_organization_inbox_projection.rb +1 -1
- data/lib/mailslurp_client/models/page_sent_email_projection.rb +1 -1
- data/lib/mailslurp_client/models/page_template_projection.rb +1 -1
- data/lib/mailslurp_client/models/page_thread_projection.rb +1 -1
- data/lib/mailslurp_client/models/page_tracking_pixel_projection.rb +1 -1
- data/lib/mailslurp_client/models/page_unknown_missed_email_projection.rb +299 -0
- data/lib/mailslurp_client/models/page_webhook_projection.rb +2 -1
- data/lib/mailslurp_client/models/page_webhook_result.rb +2 -2
- data/lib/mailslurp_client/models/pageable.rb +1 -1
- data/lib/mailslurp_client/models/raw_email_json.rb +1 -1
- data/lib/mailslurp_client/models/{model_alias.rb → recipient.rb} +14 -74
- data/lib/mailslurp_client/models/reply_to_alias_email_options.rb +1 -1
- data/lib/mailslurp_client/models/reply_to_email_options.rb +1 -1
- data/lib/mailslurp_client/models/send_email_options.rb +1 -1
- data/lib/mailslurp_client/models/sender.rb +234 -0
- data/lib/mailslurp_client/models/sent_email_dto.rb +1 -1
- data/lib/mailslurp_client/models/sent_email_projection.rb +1 -1
- data/lib/mailslurp_client/models/set_inbox_favourited_options.rb +1 -1
- data/lib/mailslurp_client/models/simple_send_email_options.rb +1 -1
- data/lib/mailslurp_client/models/sort.rb +1 -1
- data/lib/mailslurp_client/models/template_dto.rb +1 -1
- data/lib/mailslurp_client/models/template_projection.rb +1 -1
- 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 +1 -1
- data/lib/mailslurp_client/models/tracking_pixel_dto.rb +1 -1
- data/lib/mailslurp_client/models/tracking_pixel_projection.rb +1 -1
- data/lib/mailslurp_client/models/unknown_missed_email_projection.rb +254 -0
- data/lib/mailslurp_client/models/unread_count.rb +1 -1
- data/lib/mailslurp_client/models/unseen_error_count_dto.rb +211 -0
- 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 +1 -1
- data/lib/mailslurp_client/models/upload_attachment_options.rb +2 -2
- data/lib/mailslurp_client/models/validation_dto.rb +1 -1
- data/lib/mailslurp_client/models/validation_message.rb +1 -1
- data/lib/mailslurp_client/models/verify_email_address_options.rb +1 -1
- data/lib/mailslurp_client/models/wait_for_conditions.rb +43 -3
- data/lib/mailslurp_client/models/webhook_dto.rb +4 -4
- data/lib/mailslurp_client/models/webhook_email_opened_payload.rb +3 -3
- data/lib/mailslurp_client/models/webhook_email_read_payload.rb +312 -0
- data/lib/mailslurp_client/models/webhook_new_attachment_payload.rb +3 -3
- data/lib/mailslurp_client/models/webhook_new_contact_payload.rb +3 -3
- data/lib/mailslurp_client/models/webhook_new_email_payload.rb +8 -8
- data/lib/mailslurp_client/models/webhook_projection.rb +3 -3
- data/lib/mailslurp_client/models/webhook_redrive_result.rb +234 -0
- data/lib/mailslurp_client/models/{webhook_result_entity.rb → webhook_result_dto.rb} +25 -7
- data/lib/mailslurp_client/models/webhook_test_request.rb +1 -1
- data/lib/mailslurp_client/models/webhook_test_response.rb +1 -1
- data/lib/mailslurp_client/models/webhook_test_result.rb +1 -1
- data/lib/mailslurp_client/version.rb +2 -2
- data/lib/mailslurp_client.rb +13 -4
- metadata +14 -5
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#MailSlurp API
|
3
3
|
|
4
|
-
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
4
|
+
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 6.5.2
|
7
7
|
|
@@ -21,9 +21,11 @@ module MailSlurpClient
|
|
21
21
|
end
|
22
22
|
# Get all MissedEmails in paginated format
|
23
23
|
# @param [Hash] opts the optional parameters
|
24
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
24
25
|
# @option opts [String] :inbox_id Optional inbox ID filter
|
25
26
|
# @option opts [Integer] :page Optional page index in list pagination (default to 0)
|
26
27
|
# @option opts [String] :search_filter Optional search filter
|
28
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
27
29
|
# @option opts [Integer] :size Optional page size in list pagination (default to 20)
|
28
30
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
29
31
|
# @return [PageMissedEmailProjection]
|
@@ -34,9 +36,11 @@ module MailSlurpClient
|
|
34
36
|
|
35
37
|
# Get all MissedEmails in paginated format
|
36
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
37
40
|
# @option opts [String] :inbox_id Optional inbox ID filter
|
38
41
|
# @option opts [Integer] :page Optional page index in list pagination
|
39
42
|
# @option opts [String] :search_filter Optional search filter
|
43
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
40
44
|
# @option opts [Integer] :size Optional page size in list pagination
|
41
45
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
42
46
|
# @return [Array<(PageMissedEmailProjection, Integer, Hash)>] PageMissedEmailProjection data, response status code and response headers
|
@@ -53,9 +57,11 @@ module MailSlurpClient
|
|
53
57
|
|
54
58
|
# query parameters
|
55
59
|
query_params = opts[:query_params] || {}
|
60
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
56
61
|
query_params[:'inboxId'] = opts[:'inbox_id'] if !opts[:'inbox_id'].nil?
|
57
62
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
58
63
|
query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
|
64
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
59
65
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
60
66
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
61
67
|
|
@@ -92,6 +98,87 @@ module MailSlurpClient
|
|
92
98
|
return data, status_code, headers
|
93
99
|
end
|
94
100
|
|
101
|
+
# Get all unknown missed emails in paginated format
|
102
|
+
# Unknown missed emails are emails that were sent to MailSlurp but could not be assigned to an existing inbox.
|
103
|
+
# @param [Hash] opts the optional parameters
|
104
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
105
|
+
# @option opts [String] :inbox_id Optional inbox ID filter
|
106
|
+
# @option opts [Integer] :page Optional page index in list pagination (default to 0)
|
107
|
+
# @option opts [String] :search_filter Optional search filter
|
108
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
109
|
+
# @option opts [Integer] :size Optional page size in list pagination (default to 20)
|
110
|
+
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
111
|
+
# @return [PageUnknownMissedEmailProjection]
|
112
|
+
def get_all_unknown_missed_emails(opts = {})
|
113
|
+
data, _status_code, _headers = get_all_unknown_missed_emails_with_http_info(opts)
|
114
|
+
data
|
115
|
+
end
|
116
|
+
|
117
|
+
# Get all unknown missed emails in paginated format
|
118
|
+
# Unknown missed emails are emails that were sent to MailSlurp but could not be assigned to an existing inbox.
|
119
|
+
# @param [Hash] opts the optional parameters
|
120
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
121
|
+
# @option opts [String] :inbox_id Optional inbox ID filter
|
122
|
+
# @option opts [Integer] :page Optional page index in list pagination
|
123
|
+
# @option opts [String] :search_filter Optional search filter
|
124
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
125
|
+
# @option opts [Integer] :size Optional page size in list pagination
|
126
|
+
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
127
|
+
# @return [Array<(PageUnknownMissedEmailProjection, Integer, Hash)>] PageUnknownMissedEmailProjection data, response status code and response headers
|
128
|
+
def get_all_unknown_missed_emails_with_http_info(opts = {})
|
129
|
+
if @api_client.config.debugging
|
130
|
+
@api_client.config.logger.debug 'Calling API: MissedEmailControllerApi.get_all_unknown_missed_emails ...'
|
131
|
+
end
|
132
|
+
allowable_values = ["ASC", "DESC"]
|
133
|
+
if @api_client.config.client_side_validation && opts[:'sort'] && !allowable_values.include?(opts[:'sort'])
|
134
|
+
fail ArgumentError, "invalid value for \"sort\", must be one of #{allowable_values}"
|
135
|
+
end
|
136
|
+
# resource path
|
137
|
+
local_var_path = '/missed-emails/unknown'
|
138
|
+
|
139
|
+
# query parameters
|
140
|
+
query_params = opts[:query_params] || {}
|
141
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
142
|
+
query_params[:'inboxId'] = opts[:'inbox_id'] if !opts[:'inbox_id'].nil?
|
143
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
144
|
+
query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
|
145
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
146
|
+
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
147
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
148
|
+
|
149
|
+
# header parameters
|
150
|
+
header_params = opts[:header_params] || {}
|
151
|
+
# HTTP header 'Accept' (if needed)
|
152
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
153
|
+
|
154
|
+
# form parameters
|
155
|
+
form_params = opts[:form_params] || {}
|
156
|
+
|
157
|
+
# http body (model)
|
158
|
+
post_body = opts[:body]
|
159
|
+
|
160
|
+
# return_type
|
161
|
+
return_type = opts[:return_type] || 'PageUnknownMissedEmailProjection'
|
162
|
+
|
163
|
+
# auth_names
|
164
|
+
auth_names = opts[:auth_names] || ['API_KEY']
|
165
|
+
|
166
|
+
new_options = opts.merge(
|
167
|
+
:header_params => header_params,
|
168
|
+
:query_params => query_params,
|
169
|
+
:form_params => form_params,
|
170
|
+
:body => post_body,
|
171
|
+
:auth_names => auth_names,
|
172
|
+
:return_type => return_type
|
173
|
+
)
|
174
|
+
|
175
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
176
|
+
if @api_client.config.debugging
|
177
|
+
@api_client.config.logger.debug "API called: MissedEmailControllerApi#get_all_unknown_missed_emails\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
178
|
+
end
|
179
|
+
return data, status_code, headers
|
180
|
+
end
|
181
|
+
|
95
182
|
# Get MissedEmail
|
96
183
|
# @param missed_email_id [String] missedEmailId
|
97
184
|
# @param [Hash] opts the optional parameters
|
@@ -155,8 +242,10 @@ module MailSlurpClient
|
|
155
242
|
# Wait for Nth missed email
|
156
243
|
# Wait for 0 based index missed email
|
157
244
|
# @param [Hash] opts the optional parameters
|
245
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
158
246
|
# @option opts [String] :inbox_id Optional inbox ID filter
|
159
247
|
# @option opts [Integer] :index Zero based index of the email to wait for. If 1 missed email already and you want to wait for the 2nd email pass index=1
|
248
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
160
249
|
# @option opts [Integer] :timeout Optional timeout milliseconds
|
161
250
|
# @return [MissedEmail]
|
162
251
|
def wait_for_nth_missed_email(opts = {})
|
@@ -167,8 +256,10 @@ module MailSlurpClient
|
|
167
256
|
# Wait for Nth missed email
|
168
257
|
# Wait for 0 based index missed email
|
169
258
|
# @param [Hash] opts the optional parameters
|
259
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
170
260
|
# @option opts [String] :inbox_id Optional inbox ID filter
|
171
261
|
# @option opts [Integer] :index Zero based index of the email to wait for. If 1 missed email already and you want to wait for the 2nd email pass index=1
|
262
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
172
263
|
# @option opts [Integer] :timeout Optional timeout milliseconds
|
173
264
|
# @return [Array<(MissedEmail, Integer, Hash)>] MissedEmail data, response status code and response headers
|
174
265
|
def wait_for_nth_missed_email_with_http_info(opts = {})
|
@@ -180,8 +271,10 @@ module MailSlurpClient
|
|
180
271
|
|
181
272
|
# query parameters
|
182
273
|
query_params = opts[:query_params] || {}
|
274
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
183
275
|
query_params[:'inboxId'] = opts[:'inbox_id'] if !opts[:'inbox_id'].nil?
|
184
276
|
query_params[:'index'] = opts[:'index'] if !opts[:'index'].nil?
|
277
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
185
278
|
query_params[:'timeout'] = opts[:'timeout'] if !opts[:'timeout'].nil?
|
186
279
|
|
187
280
|
# header parameters
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#MailSlurp API
|
3
3
|
|
4
|
-
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
4
|
+
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 6.5.2
|
7
7
|
|
@@ -21,8 +21,10 @@ module MailSlurpClient
|
|
21
21
|
end
|
22
22
|
# Get all sent email tracking pixels in paginated form
|
23
23
|
# @param [Hash] opts the optional parameters
|
24
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
24
25
|
# @option opts [Integer] :page Optional page index in sent email tracking pixel list pagination (default to 0)
|
25
26
|
# @option opts [String] :search_filter Optional search filter
|
27
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
26
28
|
# @option opts [Integer] :size Optional page size in sent email tracking pixel list pagination (default to 20)
|
27
29
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
28
30
|
# @return [PageTrackingPixelProjection]
|
@@ -33,8 +35,10 @@ module MailSlurpClient
|
|
33
35
|
|
34
36
|
# Get all sent email tracking pixels in paginated form
|
35
37
|
# @param [Hash] opts the optional parameters
|
38
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
36
39
|
# @option opts [Integer] :page Optional page index in sent email tracking pixel list pagination
|
37
40
|
# @option opts [String] :search_filter Optional search filter
|
41
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
38
42
|
# @option opts [Integer] :size Optional page size in sent email tracking pixel list pagination
|
39
43
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
40
44
|
# @return [Array<(PageTrackingPixelProjection, Integer, Hash)>] PageTrackingPixelProjection data, response status code and response headers
|
@@ -51,8 +55,10 @@ module MailSlurpClient
|
|
51
55
|
|
52
56
|
# query parameters
|
53
57
|
query_params = opts[:query_params] || {}
|
58
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
54
59
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
55
60
|
query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
|
61
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
56
62
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
57
63
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
58
64
|
|
@@ -212,8 +218,10 @@ module MailSlurpClient
|
|
212
218
|
# Get all tracking pixels for a sent email in paginated form
|
213
219
|
# @param id [String] id
|
214
220
|
# @param [Hash] opts the optional parameters
|
221
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
215
222
|
# @option opts [Integer] :page Optional page index in sent email tracking pixel list pagination (default to 0)
|
216
223
|
# @option opts [String] :search_filter Optional search filter
|
224
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
217
225
|
# @option opts [Integer] :size Optional page size in sent email tracking pixel list pagination (default to 20)
|
218
226
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
219
227
|
# @return [PageTrackingPixelProjection]
|
@@ -225,8 +233,10 @@ module MailSlurpClient
|
|
225
233
|
# Get all tracking pixels for a sent email in paginated form
|
226
234
|
# @param id [String] id
|
227
235
|
# @param [Hash] opts the optional parameters
|
236
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
228
237
|
# @option opts [Integer] :page Optional page index in sent email tracking pixel list pagination
|
229
238
|
# @option opts [String] :search_filter Optional search filter
|
239
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
230
240
|
# @option opts [Integer] :size Optional page size in sent email tracking pixel list pagination
|
231
241
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
232
242
|
# @return [Array<(PageTrackingPixelProjection, Integer, Hash)>] PageTrackingPixelProjection data, response status code and response headers
|
@@ -247,8 +257,10 @@ module MailSlurpClient
|
|
247
257
|
|
248
258
|
# query parameters
|
249
259
|
query_params = opts[:query_params] || {}
|
260
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
250
261
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
251
262
|
query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
|
263
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
252
264
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
253
265
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
254
266
|
|
@@ -287,9 +299,11 @@ module MailSlurpClient
|
|
287
299
|
|
288
300
|
# Get all sent emails in paginated form
|
289
301
|
# @param [Hash] opts the optional parameters
|
302
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
290
303
|
# @option opts [String] :inbox_id Optional inboxId to filter sender of sent emails by
|
291
304
|
# @option opts [Integer] :page Optional page index in inbox sent email list pagination (default to 0)
|
292
305
|
# @option opts [String] :search_filter Optional search filter
|
306
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
293
307
|
# @option opts [Integer] :size Optional page size in inbox sent email list pagination (default to 20)
|
294
308
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
295
309
|
# @return [PageSentEmailProjection]
|
@@ -300,9 +314,11 @@ module MailSlurpClient
|
|
300
314
|
|
301
315
|
# Get all sent emails in paginated form
|
302
316
|
# @param [Hash] opts the optional parameters
|
317
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
303
318
|
# @option opts [String] :inbox_id Optional inboxId to filter sender of sent emails by
|
304
319
|
# @option opts [Integer] :page Optional page index in inbox sent email list pagination
|
305
320
|
# @option opts [String] :search_filter Optional search filter
|
321
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
306
322
|
# @option opts [Integer] :size Optional page size in inbox sent email list pagination
|
307
323
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
308
324
|
# @return [Array<(PageSentEmailProjection, Integer, Hash)>] PageSentEmailProjection data, response status code and response headers
|
@@ -319,9 +335,11 @@ module MailSlurpClient
|
|
319
335
|
|
320
336
|
# query parameters
|
321
337
|
query_params = opts[:query_params] || {}
|
338
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
322
339
|
query_params[:'inboxId'] = opts[:'inbox_id'] if !opts[:'inbox_id'].nil?
|
323
340
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
324
341
|
query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
|
342
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
325
343
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
326
344
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
327
345
|
|
@@ -360,9 +378,11 @@ module MailSlurpClient
|
|
360
378
|
|
361
379
|
# Get all sent organization emails in paginated form
|
362
380
|
# @param [Hash] opts the optional parameters
|
381
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
363
382
|
# @option opts [String] :inbox_id Optional inboxId to filter sender of sent emails by
|
364
383
|
# @option opts [Integer] :page Optional page index in sent email list pagination (default to 0)
|
365
384
|
# @option opts [String] :search_filter Optional search filter
|
385
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
366
386
|
# @option opts [Integer] :size Optional page size in sent email list pagination (default to 20)
|
367
387
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
368
388
|
# @return [PageSentEmailProjection]
|
@@ -373,9 +393,11 @@ module MailSlurpClient
|
|
373
393
|
|
374
394
|
# Get all sent organization emails in paginated form
|
375
395
|
# @param [Hash] opts the optional parameters
|
396
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
376
397
|
# @option opts [String] :inbox_id Optional inboxId to filter sender of sent emails by
|
377
398
|
# @option opts [Integer] :page Optional page index in sent email list pagination
|
378
399
|
# @option opts [String] :search_filter Optional search filter
|
400
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
379
401
|
# @option opts [Integer] :size Optional page size in sent email list pagination
|
380
402
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
381
403
|
# @return [Array<(PageSentEmailProjection, Integer, Hash)>] PageSentEmailProjection data, response status code and response headers
|
@@ -392,9 +414,11 @@ module MailSlurpClient
|
|
392
414
|
|
393
415
|
# query parameters
|
394
416
|
query_params = opts[:query_params] || {}
|
417
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
395
418
|
query_params[:'inboxId'] = opts[:'inbox_id'] if !opts[:'inbox_id'].nil?
|
396
419
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
397
420
|
query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
|
421
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
398
422
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
399
423
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
400
424
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#MailSlurp API
|
3
3
|
|
4
|
-
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
4
|
+
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 6.5.2
|
7
7
|
|
@@ -82,7 +82,7 @@ module MailSlurpClient
|
|
82
82
|
end
|
83
83
|
|
84
84
|
# Delete Template
|
85
|
-
# @param template_id [String]
|
85
|
+
# @param template_id [String] templateId
|
86
86
|
# @param [Hash] opts the optional parameters
|
87
87
|
# @return [nil]
|
88
88
|
def delete_template(template_id, opts = {})
|
@@ -91,7 +91,7 @@ module MailSlurpClient
|
|
91
91
|
end
|
92
92
|
|
93
93
|
# Delete Template
|
94
|
-
# @param template_id [String]
|
94
|
+
# @param template_id [String] templateId
|
95
95
|
# @param [Hash] opts the optional parameters
|
96
96
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
97
97
|
def delete_template_with_http_info(template_id, opts = {})
|
@@ -103,7 +103,7 @@ module MailSlurpClient
|
|
103
103
|
fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplateControllerApi.delete_template"
|
104
104
|
end
|
105
105
|
# resource path
|
106
|
-
local_var_path = '/templates/{
|
106
|
+
local_var_path = '/templates/{templateId}'.sub('{' + 'templateId' + '}', CGI.escape(template_id.to_s))
|
107
107
|
|
108
108
|
# query parameters
|
109
109
|
query_params = opts[:query_params] || {}
|
@@ -141,7 +141,9 @@ module MailSlurpClient
|
|
141
141
|
|
142
142
|
# Get all Templates in paginated format
|
143
143
|
# @param [Hash] opts the optional parameters
|
144
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
144
145
|
# @option opts [Integer] :page Optional page index in list pagination (default to 0)
|
146
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
145
147
|
# @option opts [Integer] :size Optional page size in list pagination (default to 20)
|
146
148
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
147
149
|
# @return [PageTemplateProjection]
|
@@ -152,7 +154,9 @@ module MailSlurpClient
|
|
152
154
|
|
153
155
|
# Get all Templates in paginated format
|
154
156
|
# @param [Hash] opts the optional parameters
|
157
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
155
158
|
# @option opts [Integer] :page Optional page index in list pagination
|
159
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
156
160
|
# @option opts [Integer] :size Optional page size in list pagination
|
157
161
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
158
162
|
# @return [Array<(PageTemplateProjection, Integer, Hash)>] PageTemplateProjection data, response status code and response headers
|
@@ -169,7 +173,9 @@ module MailSlurpClient
|
|
169
173
|
|
170
174
|
# query parameters
|
171
175
|
query_params = opts[:query_params] || {}
|
176
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
172
177
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
178
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
173
179
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
174
180
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
175
181
|
|
@@ -207,7 +213,7 @@ module MailSlurpClient
|
|
207
213
|
end
|
208
214
|
|
209
215
|
# Get Template
|
210
|
-
# @param template_id [String]
|
216
|
+
# @param template_id [String] templateId
|
211
217
|
# @param [Hash] opts the optional parameters
|
212
218
|
# @return [TemplateDto]
|
213
219
|
def get_template(template_id, opts = {})
|
@@ -216,7 +222,7 @@ module MailSlurpClient
|
|
216
222
|
end
|
217
223
|
|
218
224
|
# Get Template
|
219
|
-
# @param template_id [String]
|
225
|
+
# @param template_id [String] templateId
|
220
226
|
# @param [Hash] opts the optional parameters
|
221
227
|
# @return [Array<(TemplateDto, Integer, Hash)>] TemplateDto data, response status code and response headers
|
222
228
|
def get_template_with_http_info(template_id, opts = {})
|
@@ -228,7 +234,7 @@ module MailSlurpClient
|
|
228
234
|
fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplateControllerApi.get_template"
|
229
235
|
end
|
230
236
|
# resource path
|
231
|
-
local_var_path = '/templates/{
|
237
|
+
local_var_path = '/templates/{templateId}'.sub('{' + 'templateId' + '}', CGI.escape(template_id.to_s))
|
232
238
|
|
233
239
|
# query parameters
|
234
240
|
query_params = opts[:query_params] || {}
|
@@ -319,5 +325,73 @@ module MailSlurpClient
|
|
319
325
|
end
|
320
326
|
return data, status_code, headers
|
321
327
|
end
|
328
|
+
|
329
|
+
# Update a Template
|
330
|
+
# @param template_id [String] templateId
|
331
|
+
# @param create_template_options [CreateTemplateOptions] createTemplateOptions
|
332
|
+
# @param [Hash] opts the optional parameters
|
333
|
+
# @return [TemplateDto]
|
334
|
+
def update_template(template_id, create_template_options, opts = {})
|
335
|
+
data, _status_code, _headers = update_template_with_http_info(template_id, create_template_options, opts)
|
336
|
+
data
|
337
|
+
end
|
338
|
+
|
339
|
+
# Update a Template
|
340
|
+
# @param template_id [String] templateId
|
341
|
+
# @param create_template_options [CreateTemplateOptions] createTemplateOptions
|
342
|
+
# @param [Hash] opts the optional parameters
|
343
|
+
# @return [Array<(TemplateDto, Integer, Hash)>] TemplateDto data, response status code and response headers
|
344
|
+
def update_template_with_http_info(template_id, create_template_options, opts = {})
|
345
|
+
if @api_client.config.debugging
|
346
|
+
@api_client.config.logger.debug 'Calling API: TemplateControllerApi.update_template ...'
|
347
|
+
end
|
348
|
+
# verify the required parameter 'template_id' is set
|
349
|
+
if @api_client.config.client_side_validation && template_id.nil?
|
350
|
+
fail ArgumentError, "Missing the required parameter 'template_id' when calling TemplateControllerApi.update_template"
|
351
|
+
end
|
352
|
+
# verify the required parameter 'create_template_options' is set
|
353
|
+
if @api_client.config.client_side_validation && create_template_options.nil?
|
354
|
+
fail ArgumentError, "Missing the required parameter 'create_template_options' when calling TemplateControllerApi.update_template"
|
355
|
+
end
|
356
|
+
# resource path
|
357
|
+
local_var_path = '/templates/{templateId}'.sub('{' + 'templateId' + '}', CGI.escape(template_id.to_s))
|
358
|
+
|
359
|
+
# query parameters
|
360
|
+
query_params = opts[:query_params] || {}
|
361
|
+
|
362
|
+
# header parameters
|
363
|
+
header_params = opts[:header_params] || {}
|
364
|
+
# HTTP header 'Accept' (if needed)
|
365
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
366
|
+
# HTTP header 'Content-Type'
|
367
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
368
|
+
|
369
|
+
# form parameters
|
370
|
+
form_params = opts[:form_params] || {}
|
371
|
+
|
372
|
+
# http body (model)
|
373
|
+
post_body = opts[:body] || @api_client.object_to_http_body(create_template_options)
|
374
|
+
|
375
|
+
# return_type
|
376
|
+
return_type = opts[:return_type] || 'TemplateDto'
|
377
|
+
|
378
|
+
# auth_names
|
379
|
+
auth_names = opts[:auth_names] || ['API_KEY']
|
380
|
+
|
381
|
+
new_options = opts.merge(
|
382
|
+
:header_params => header_params,
|
383
|
+
:query_params => query_params,
|
384
|
+
:form_params => form_params,
|
385
|
+
:body => post_body,
|
386
|
+
:auth_names => auth_names,
|
387
|
+
:return_type => return_type
|
388
|
+
)
|
389
|
+
|
390
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
391
|
+
if @api_client.config.debugging
|
392
|
+
@api_client.config.logger.debug "API called: TemplateControllerApi#update_template\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
393
|
+
end
|
394
|
+
return data, status_code, headers
|
395
|
+
end
|
322
396
|
end
|
323
397
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
=begin
|
2
2
|
#MailSlurp API
|
3
3
|
|
4
|
-
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
4
|
+
#MailSlurp is an API for sending and receiving emails from dynamically allocated email addresses. It's designed for developers and QA teams to test applications, process inbound emails, send templated notifications, attachments, and more. ## Resources - [Homepage](https://www.mailslurp.com) - Get an [API KEY](https://app.mailslurp.com/sign-up/) - Generated [SDK Clients](https://www.mailslurp.com/docs/) - [Examples](https://github.com/mailslurp/examples) repository
|
5
5
|
|
6
6
|
The version of the OpenAPI document: 6.5.2
|
7
7
|
|
@@ -86,8 +86,10 @@ module MailSlurpClient
|
|
86
86
|
# Get tracking pixels
|
87
87
|
# List tracking pixels in paginated form
|
88
88
|
# @param [Hash] opts the optional parameters
|
89
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
89
90
|
# @option opts [Integer] :page Optional page index in list pagination (default to 0)
|
90
91
|
# @option opts [String] :search_filter Optional search filter
|
92
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
91
93
|
# @option opts [Integer] :size Optional page size in list pagination (default to 20)
|
92
94
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC (default to 'ASC')
|
93
95
|
# @return [PageTrackingPixelProjection]
|
@@ -99,8 +101,10 @@ module MailSlurpClient
|
|
99
101
|
# Get tracking pixels
|
100
102
|
# List tracking pixels in paginated form
|
101
103
|
# @param [Hash] opts the optional parameters
|
104
|
+
# @option opts [DateTime] :before Filter by created at before the given timestamp
|
102
105
|
# @option opts [Integer] :page Optional page index in list pagination
|
103
106
|
# @option opts [String] :search_filter Optional search filter
|
107
|
+
# @option opts [DateTime] :since Filter by created at after the given timestamp
|
104
108
|
# @option opts [Integer] :size Optional page size in list pagination
|
105
109
|
# @option opts [String] :sort Optional createdAt sort direction ASC or DESC
|
106
110
|
# @return [Array<(PageTrackingPixelProjection, Integer, Hash)>] PageTrackingPixelProjection data, response status code and response headers
|
@@ -117,8 +121,10 @@ module MailSlurpClient
|
|
117
121
|
|
118
122
|
# query parameters
|
119
123
|
query_params = opts[:query_params] || {}
|
124
|
+
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
120
125
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
121
126
|
query_params[:'searchFilter'] = opts[:'search_filter'] if !opts[:'search_filter'].nil?
|
127
|
+
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
122
128
|
query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
|
123
129
|
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
124
130
|
|