svix 0.48.0 → 0.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/svix/api/message_api.rb +5 -2
- data/lib/svix/api/message_attempt_api.rb +172 -151
- data/lib/svix/message_attempt_api.rb +2 -2
- data/lib/svix/models/list_response_endpoint_message_out.rb +13 -4
- data/lib/svix/models/list_response_message_attempt_endpoint_out.rb +13 -4
- data/lib/svix/models/list_response_message_attempt_out.rb +13 -4
- data/lib/svix/models/list_response_message_out.rb +13 -4
- data/lib/svix/models/message_attempt_exhausted_event_data.rb +1 -1
- data/lib/svix/models/message_attempt_failed_data.rb +251 -0
- data/lib/svix/models/message_attempt_failing_event.rb +269 -0
- data/lib/svix/models/message_attempt_failing_event_data.rb +310 -0
- data/lib/svix/models/status_code_class.rb +41 -0
- data/lib/svix/models/webhook_types.rb +15 -1
- data/lib/svix/version.rb +1 -1
- data/lib/svix.rb +1 -0
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1fcb4204e40625fedfada1b7fe1403a8bf7523627d728ee5d619396b8a08a8e
|
4
|
+
data.tar.gz: 9f88f4f4d53250af40a5f626c16af03c00d2e5a56df3f7d715da0e471dda1612
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 880788a0c2c0c9485eb3198c3812d07064ebeb1367f99549422eb75a534d113d40ab7b147f78b21f1e11d975c461ade7c786f25d830114d4776e7c38aee1403a
|
7
|
+
data.tar.gz: d288fc316da27807c1cef13fb363605c186f2a886c6b50485082e1d0f216ee0ed89b5da478d0fcccbfc8dfd580b061e581f9c42a494abecaa37480ca7998cbae
|
data/Gemfile.lock
CHANGED
data/lib/svix/api/message_api.rb
CHANGED
@@ -208,7 +208,7 @@ module Svix
|
|
208
208
|
end
|
209
209
|
|
210
210
|
# List Messages
|
211
|
-
# List all of the application's messages. The `before` parameter lets you filter all items created before a certain date and is ignored if an iterator is passed.
|
211
|
+
# List all of the application's messages. The `before` parameter lets you filter all items created before a certain date and is ignored if an iterator is passed. The `after` parameter lets you filter all items created after a certain date and is ignored if an iterator is passed. `before` and `after` cannot be used simultaneously.
|
212
212
|
# @param app_id [String]
|
213
213
|
# @param [Hash] opts the optional parameters
|
214
214
|
# @option opts [String] :iterator
|
@@ -216,6 +216,7 @@ module Svix
|
|
216
216
|
# @option opts [Array<String>] :event_types
|
217
217
|
# @option opts [String] :channel
|
218
218
|
# @option opts [Time] :before
|
219
|
+
# @option opts [Time] :after
|
219
220
|
# @option opts [String] :idempotency_key The request's idempotency key
|
220
221
|
# @return [ListResponseMessageOut]
|
221
222
|
def list_messages_api_v1_app_app_id_msg_get(app_id, opts = {})
|
@@ -224,7 +225,7 @@ module Svix
|
|
224
225
|
end
|
225
226
|
|
226
227
|
# List Messages
|
227
|
-
# List all of the application's messages. The `before` parameter lets you filter all items created before a certain date and is ignored if an iterator is passed.
|
228
|
+
# List all of the application's messages. The `before` parameter lets you filter all items created before a certain date and is ignored if an iterator is passed. The `after` parameter lets you filter all items created after a certain date and is ignored if an iterator is passed. `before` and `after` cannot be used simultaneously.
|
228
229
|
# @param app_id [String]
|
229
230
|
# @param [Hash] opts the optional parameters
|
230
231
|
# @option opts [String] :iterator
|
@@ -232,6 +233,7 @@ module Svix
|
|
232
233
|
# @option opts [Array<String>] :event_types
|
233
234
|
# @option opts [String] :channel
|
234
235
|
# @option opts [Time] :before
|
236
|
+
# @option opts [Time] :after
|
235
237
|
# @option opts [String] :idempotency_key The request's idempotency key
|
236
238
|
# @return [Array<(ListResponseMessageOut, Integer, Hash)>] ListResponseMessageOut data, response status code and response headers
|
237
239
|
def list_messages_api_v1_app_app_id_msg_get_with_http_info(app_id, opts = {})
|
@@ -278,6 +280,7 @@ module Svix
|
|
278
280
|
query_params[:'event_types'] = @api_client.build_collection_param(opts[:'event_types'], :multi) if !opts[:'event_types'].nil?
|
279
281
|
query_params[:'channel'] = opts[:'channel'] if !opts[:'channel'].nil?
|
280
282
|
query_params[:'before'] = opts[:'before'] if !opts[:'before'].nil?
|
283
|
+
query_params[:'after'] = opts[:'after'] if !opts[:'after'].nil?
|
281
284
|
|
282
285
|
# header parameters
|
283
286
|
header_params = opts[:header_params] || {}
|