svix 0.56.0 → 0.57.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 999f9ef3bed7cf438ed92938fe75853bb8f703c32ed2fd324bedf9820f13da49
4
- data.tar.gz: 0c7a697c590244a390ba0ae2e5e3c230178f707f669ab6417338845b5482e636
3
+ metadata.gz: d985c30c15c4150663804aaf8153ce5c610abb55de45ac585f99122d75374bb1
4
+ data.tar.gz: 0c6f108f008f567491455101a3a5b86287220db28a8247f2bfa378d12fac91d0
5
5
  SHA512:
6
- metadata.gz: 530c165ecaf4d0cd7140f6f421a1add8e47037275afcb7996eaa96c97f3f89f989dc25cbc17995f107be97b03e8286c393f29ed24237222797604b4a26b940f4
7
- data.tar.gz: 6741ace4501b2e3955d84788d9b80e3a39c48ee40025f9c217f583b01d8735384d3655f724fe854aea7b7b002a6b98dfb1311ddd9062d75595c01a9776d79d5a
6
+ metadata.gz: df2b3d3575c197b038becabeb4523d75015d26e66d8f3466eb335ad6849e29a15a2b1173739cec52fcdf33d8c7cfd5cf41c05fb0f4af9725d7d0d4fe1a2ae717
7
+ data.tar.gz: eaeb2352bb256fcaffe9583e6762faabe60566718a3ee446bd2e13cdf4fa0c9657351088cf15da989523e5efcda4173cf615a57e7e511b527a3df1fa10c53080
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- svix (0.56.0)
4
+ svix (0.57.0)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -23,7 +23,7 @@ module Svix
23
23
  # Create a new application.
24
24
  # @param application_in [ApplicationIn]
25
25
  # @param [Hash] opts the optional parameters
26
- # @option opts [Boolean] :get_if_exists (default to false)
26
+ # @option opts [Boolean] :get_if_exists Get an existing application, or create a new one if doesn't exist. It's two separate functions in the libs. (default to false)
27
27
  # @option opts [String] :idempotency_key The request's idempotency key
28
28
  # @return [ApplicationOut]
29
29
  def create_application_api_v1_app_post(application_in, opts = {})
@@ -35,7 +35,7 @@ module Svix
35
35
  # Create a new application.
36
36
  # @param application_in [ApplicationIn]
37
37
  # @param [Hash] opts the optional parameters
38
- # @option opts [Boolean] :get_if_exists
38
+ # @option opts [Boolean] :get_if_exists Get an existing application, or create a new one if doesn't exist. It's two separate functions in the libs.
39
39
  # @option opts [String] :idempotency_key The request's idempotency key
40
40
  # @return [Array<(ApplicationOut, Integer, Hash)>] ApplicationOut data, response status code and response headers
41
41
  def create_application_api_v1_app_post_with_http_info(application_in, opts = {})
@@ -19,8 +19,8 @@ module Svix
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # Get Dashboard Access
23
- # Use this function to get magic links (and authentication codes) for connecting your users to the management UIs.
22
+ # Get App Portal Access
23
+ # Use this function to get magic links (and authentication codes) for connecting your users to the Application Portal.
24
24
  # @param app_id [String]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @option opts [String] :idempotency_key The request&#39;s idempotency key
@@ -30,8 +30,8 @@ module Svix
30
30
  data
31
31
  end
32
32
 
33
- # Get Dashboard Access
34
- # Use this function to get magic links (and authentication codes) for connecting your users to the management UIs.
33
+ # Get App Portal Access
34
+ # Use this function to get magic links (and authentication codes) for connecting your users to the Application Portal.
35
35
  # @param app_id [String]
36
36
  # @param [Hash] opts the optional parameters
37
37
  # @option opts [String] :idempotency_key The request&#39;s idempotency key
@@ -20,7 +20,7 @@ module Svix
20
20
  @api_client = api_client
21
21
  end
22
22
  # Create Message
23
- # Creates a new message and dispatches it to all of the application's endpoints. The `eventId` is an optional custom unique ID. It's verified to be unique only up to a day, after that no verification will be made. If a message with the same `eventId` already exists for any application in your environment, a 409 conflict error will be returned. The `eventType` indicates the type and schema of the event. All messages of a certain `eventType` are expected to have the same schema. Endpoints can choose to only listen to specific event types. Messages can also have `channels`, which similar to event types let endpoints filter by them. Unlike event types, messages can have multiple channels, and channels don't imply a specific message content or schema.
23
+ # Creates a new message and dispatches it to all of the application's endpoints. The `eventId` is an optional custom unique ID. It's verified to be unique only up to a day, after that no verification will be made. If a message with the same `eventId` already exists for any application in your environment, a 409 conflict error will be returned. The `eventType` indicates the type and schema of the event. All messages of a certain `eventType` are expected to have the same schema. Endpoints can choose to only listen to specific event types. Messages can also have `channels`, which similar to event types let endpoints filter by them. Unlike event types, messages can have multiple channels, and channels don't imply a specific message content or schema. The `payload' property is the webhook's body (the actual webhook message).
24
24
  # @param app_id [String]
25
25
  # @param message_in [MessageIn]
26
26
  # @param [Hash] opts the optional parameters
@@ -33,7 +33,7 @@ module Svix
33
33
  end
34
34
 
35
35
  # Create Message
36
- # Creates a new message and dispatches it to all of the application&#39;s endpoints. The &#x60;eventId&#x60; is an optional custom unique ID. It&#39;s verified to be unique only up to a day, after that no verification will be made. If a message with the same &#x60;eventId&#x60; already exists for any application in your environment, a 409 conflict error will be returned. The &#x60;eventType&#x60; indicates the type and schema of the event. All messages of a certain &#x60;eventType&#x60; are expected to have the same schema. Endpoints can choose to only listen to specific event types. Messages can also have &#x60;channels&#x60;, which similar to event types let endpoints filter by them. Unlike event types, messages can have multiple channels, and channels don&#39;t imply a specific message content or schema.
36
+ # Creates a new message and dispatches it to all of the application&#39;s endpoints. The &#x60;eventId&#x60; is an optional custom unique ID. It&#39;s verified to be unique only up to a day, after that no verification will be made. If a message with the same &#x60;eventId&#x60; already exists for any application in your environment, a 409 conflict error will be returned. The &#x60;eventType&#x60; indicates the type and schema of the event. All messages of a certain &#x60;eventType&#x60; are expected to have the same schema. Endpoints can choose to only listen to specific event types. Messages can also have &#x60;channels&#x60;, which similar to event types let endpoints filter by them. Unlike event types, messages can have multiple channels, and channels don&#39;t imply a specific message content or schema. The &#x60;payload&#39; property is the webhook&#39;s body (the actual webhook message).
37
37
  # @param app_id [String]
38
38
  # @param message_in [MessageIn]
39
39
  # @param [Hash] opts the optional parameters
@@ -123,6 +123,110 @@ module Svix
123
123
  return data, status_code, headers
124
124
  end
125
125
 
126
+ # Get Attempt Headers
127
+ # Calculate and return headers used on a given message attempt
128
+ # @param app_id [String]
129
+ # @param msg_id [String]
130
+ # @param attempt_id [String]
131
+ # @param [Hash] opts the optional parameters
132
+ # @option opts [String] :idempotency_key The request&#39;s idempotency key
133
+ # @return [MessageAttemptHeadersOut]
134
+ def get_attempt_headers_api_v1_app_app_id_msg_msg_id_attempt_attempt_id_headers_get(app_id, msg_id, attempt_id, opts = {})
135
+ data, _status_code, _headers = get_attempt_headers_api_v1_app_app_id_msg_msg_id_attempt_attempt_id_headers_get_with_http_info(app_id, msg_id, attempt_id, opts)
136
+ data
137
+ end
138
+
139
+ # Get Attempt Headers
140
+ # Calculate and return headers used on a given message attempt
141
+ # @param app_id [String]
142
+ # @param msg_id [String]
143
+ # @param attempt_id [String]
144
+ # @param [Hash] opts the optional parameters
145
+ # @option opts [String] :idempotency_key The request&#39;s idempotency key
146
+ # @return [Array<(MessageAttemptHeadersOut, Integer, Hash)>] MessageAttemptHeadersOut data, response status code and response headers
147
+ def get_attempt_headers_api_v1_app_app_id_msg_msg_id_attempt_attempt_id_headers_get_with_http_info(app_id, msg_id, attempt_id, opts = {})
148
+ if @api_client.config.debugging
149
+ @api_client.config.logger.debug 'Calling API: MessageAttemptApi.get_attempt_headers_api_v1_app_app_id_msg_msg_id_attempt_attempt_id_headers_get ...'
150
+ end
151
+ # verify the required parameter 'app_id' is set
152
+ if @api_client.config.client_side_validation && app_id.nil?
153
+ fail ArgumentError, "Missing the required parameter 'app_id' when calling MessageAttemptApi.get_attempt_headers_api_v1_app_app_id_msg_msg_id_attempt_attempt_id_headers_get"
154
+ end
155
+ if @api_client.config.client_side_validation && app_id.to_s.length > 256
156
+ fail ArgumentError, 'invalid value for "app_id" when calling MessageAttemptApi.get_attempt_headers_api_v1_app_app_id_msg_msg_id_attempt_attempt_id_headers_get, the character length must be smaller than or equal to 256.'
157
+ end
158
+
159
+ if @api_client.config.client_side_validation && app_id.to_s.length < 1
160
+ fail ArgumentError, 'invalid value for "app_id" when calling MessageAttemptApi.get_attempt_headers_api_v1_app_app_id_msg_msg_id_attempt_attempt_id_headers_get, the character length must be great than or equal to 1.'
161
+ end
162
+
163
+ pattern = Regexp.new(/^[a-zA-Z0-9\-_.]+$/)
164
+ if @api_client.config.client_side_validation && app_id !~ pattern
165
+ fail ArgumentError, "invalid value for 'app_id' when calling MessageAttemptApi.get_attempt_headers_api_v1_app_app_id_msg_msg_id_attempt_attempt_id_headers_get, must conform to the pattern #{pattern}."
166
+ end
167
+
168
+ # verify the required parameter 'msg_id' is set
169
+ if @api_client.config.client_side_validation && msg_id.nil?
170
+ fail ArgumentError, "Missing the required parameter 'msg_id' when calling MessageAttemptApi.get_attempt_headers_api_v1_app_app_id_msg_msg_id_attempt_attempt_id_headers_get"
171
+ end
172
+ if @api_client.config.client_side_validation && msg_id.to_s.length > 256
173
+ fail ArgumentError, 'invalid value for "msg_id" when calling MessageAttemptApi.get_attempt_headers_api_v1_app_app_id_msg_msg_id_attempt_attempt_id_headers_get, the character length must be smaller than or equal to 256.'
174
+ end
175
+
176
+ if @api_client.config.client_side_validation && msg_id.to_s.length < 1
177
+ fail ArgumentError, 'invalid value for "msg_id" when calling MessageAttemptApi.get_attempt_headers_api_v1_app_app_id_msg_msg_id_attempt_attempt_id_headers_get, the character length must be great than or equal to 1.'
178
+ end
179
+
180
+ pattern = Regexp.new(/^[a-zA-Z0-9\-_.]+$/)
181
+ if @api_client.config.client_side_validation && msg_id !~ pattern
182
+ fail ArgumentError, "invalid value for 'msg_id' when calling MessageAttemptApi.get_attempt_headers_api_v1_app_app_id_msg_msg_id_attempt_attempt_id_headers_get, must conform to the pattern #{pattern}."
183
+ end
184
+
185
+ # verify the required parameter 'attempt_id' is set
186
+ if @api_client.config.client_side_validation && attempt_id.nil?
187
+ fail ArgumentError, "Missing the required parameter 'attempt_id' when calling MessageAttemptApi.get_attempt_headers_api_v1_app_app_id_msg_msg_id_attempt_attempt_id_headers_get"
188
+ end
189
+ # resource path
190
+ local_var_path = '/api/v1/app/{app_id}/msg/{msg_id}/attempt/{attempt_id}/headers/'.sub('{' + 'app_id' + '}', CGI.escape(app_id.to_s)).sub('{' + 'msg_id' + '}', CGI.escape(msg_id.to_s)).sub('{' + 'attempt_id' + '}', CGI.escape(attempt_id.to_s))
191
+
192
+ # query parameters
193
+ query_params = opts[:query_params] || {}
194
+
195
+ # header parameters
196
+ header_params = opts[:header_params] || {}
197
+ # HTTP header 'Accept' (if needed)
198
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
199
+ header_params[:'idempotency-key'] = opts[:'idempotency_key'] if !opts[:'idempotency_key'].nil?
200
+
201
+ # form parameters
202
+ form_params = opts[:form_params] || {}
203
+
204
+ # http body (model)
205
+ post_body = opts[:debug_body]
206
+
207
+ # return_type
208
+ return_type = opts[:debug_return_type] || 'MessageAttemptHeadersOut'
209
+
210
+ # auth_names
211
+ auth_names = opts[:debug_auth_names] || ['HTTPBearer']
212
+
213
+ new_options = opts.merge(
214
+ :operation => :"MessageAttemptApi.get_attempt_headers_api_v1_app_app_id_msg_msg_id_attempt_attempt_id_headers_get",
215
+ :header_params => header_params,
216
+ :query_params => query_params,
217
+ :form_params => form_params,
218
+ :body => post_body,
219
+ :auth_names => auth_names,
220
+ :return_type => return_type
221
+ )
222
+
223
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
224
+ if @api_client.config.debugging
225
+ @api_client.config.logger.debug "API called: MessageAttemptApi#get_attempt_headers_api_v1_app_app_id_msg_msg_id_attempt_attempt_id_headers_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
226
+ end
227
+ return data, status_code, headers
228
+ end
229
+
126
230
  # List Attempted Destinations
127
231
  # `msg_id`: Use a message id or a message `eventId`
128
232
  # @param msg_id [String]
@@ -0,0 +1,225 @@
1
+ =begin
2
+ #Svix API
3
+
4
+ #Welcome to the Svix API documentation! Useful links: [Homepage](https://www.svix.com) | [Support email](mailto:support+docs@svix.com) | [Blog](https://www.svix.com/blog/) | [Slack Community](https://www.svix.com/slack/) # Introduction This is the reference documentation and schemas for the [Svix webhook service](https://www.svix.com) API. For tutorials and other documentation please refer to [the documentation](https://docs.svix.com). ## Main concepts In Svix you have four important entities you will be interacting with: - `messages`: these are the webhooks being sent. They can have contents and a few other properties. - `application`: this is where `messages` are sent to. Usually you want to create one application for each user on your platform. - `endpoint`: endpoints are the URLs messages will be sent to. Each application can have multiple `endpoints` and each message sent to that application will be sent to all of them (unless they are not subscribed to the sent event type). - `event-type`: event types are identifiers denoting the type of the message being sent. Event types are primarily used to decide which events are sent to which endpoint. ## Authentication Get your authentication token (`AUTH_TOKEN`) from the [Svix dashboard](https://dashboard.svix.com) and use it as part of the `Authorization` header as such: `Authorization: Bearer ${AUTH_TOKEN}`. <SecurityDefinitions /> ## Code samples The code samples assume you already have the respective libraries installed and you know how to use them. For the latest information on how to do that, please refer to [the documentation](https://docs.svix.com/). ## Idempotency Svix supports [idempotency](https://en.wikipedia.org/wiki/Idempotence) for safely retrying requests without accidentally performing the same operation twice. This is useful when an API call is disrupted in transit and you do not receive a response. To perform an idempotent request, pass the idempotency key in the `Idempotency-Key` header to the request. The idempotency key should be a unique value generated by the client. You can create the key in however way you like, though we suggest using UUID v4, or any other string with enough entropy to avoid collisions. Svix's idempotency works by saving the resulting status code and body of the first request made for any given idempotency key for any successful request. Subsequent requests with the same key return the same result. Please note that idempotency is only supported for `POST` requests. ## Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/). And that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site.
5
+
6
+ The version of the OpenAPI document: 1.4
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.2.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Svix
17
+ class MessageAttemptHeadersOut
18
+ attr_accessor :sent_headers
19
+
20
+ # Attribute mapping from ruby-style variable name to JSON key.
21
+ def self.attribute_map
22
+ {
23
+ :'sent_headers' => :'sentHeaders'
24
+ }
25
+ end
26
+
27
+ # Returns all the JSON keys this model knows about
28
+ def self.acceptable_attributes
29
+ attribute_map.values
30
+ end
31
+
32
+ # Attribute type mapping.
33
+ def self.openapi_types
34
+ {
35
+ :'sent_headers' => :'Hash<String, String>'
36
+ }
37
+ end
38
+
39
+ # List of attributes with nullable: true
40
+ def self.openapi_nullable
41
+ Set.new([
42
+ ])
43
+ end
44
+
45
+ # Initializes the object
46
+ # @param [Hash] attributes Model attributes in the form of hash
47
+ def initialize(attributes = {})
48
+ if (!attributes.is_a?(Hash))
49
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Svix::MessageAttemptHeadersOut` initialize method"
50
+ end
51
+
52
+ # check to see if the attribute exists and convert string to symbol for hash key
53
+ attributes = attributes.each_with_object({}) { |(k, v), h|
54
+ if (!self.class.attribute_map.key?(k.to_sym))
55
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Svix::MessageAttemptHeadersOut`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
56
+ end
57
+ h[k.to_sym] = v
58
+ }
59
+
60
+ if attributes.key?(:'sent_headers')
61
+ if (value = attributes[:'sent_headers']).is_a?(Hash)
62
+ self.sent_headers = value
63
+ end
64
+ end
65
+ end
66
+
67
+ # Show invalid properties with the reasons. Usually used together with valid?
68
+ # @return Array for valid properties with the reasons
69
+ def list_invalid_properties
70
+ invalid_properties = Array.new
71
+ if @sent_headers.nil?
72
+ invalid_properties.push('invalid value for "sent_headers", sent_headers cannot be nil.')
73
+ end
74
+
75
+ invalid_properties
76
+ end
77
+
78
+ # Check to see if the all the properties in the model are valid
79
+ # @return true if the model is valid
80
+ def valid?
81
+ return false if @sent_headers.nil?
82
+ true
83
+ end
84
+
85
+ # Checks equality by comparing each attribute.
86
+ # @param [Object] Object to be compared
87
+ def ==(o)
88
+ return true if self.equal?(o)
89
+ self.class == o.class &&
90
+ sent_headers == o.sent_headers
91
+ end
92
+
93
+ # @see the `==` method
94
+ # @param [Object] Object to be compared
95
+ def eql?(o)
96
+ self == o
97
+ end
98
+
99
+ # Calculates hash code according to all attributes.
100
+ # @return [Integer] Hash code
101
+ def hash
102
+ [sent_headers].hash
103
+ end
104
+
105
+ # Builds the object from hash
106
+ # @param [Hash] attributes Model attributes in the form of hash
107
+ # @return [Object] Returns the model itself
108
+ def self.build_from_hash(attributes)
109
+ new.build_from_hash(attributes)
110
+ end
111
+
112
+ # Builds the object from hash
113
+ # @param [Hash] attributes Model attributes in the form of hash
114
+ # @return [Object] Returns the model itself
115
+ def build_from_hash(attributes)
116
+ return nil unless attributes.is_a?(Hash)
117
+ self.class.openapi_types.each_pair do |key, type|
118
+ if attributes[self.class.attribute_map[key]].nil? && self.class.openapi_nullable.include?(key)
119
+ self.send("#{key}=", nil)
120
+ elsif type =~ /\AArray<(.*)>/i
121
+ # check to ensure the input is an array given that the attribute
122
+ # is documented as an array but the input is not
123
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
124
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
125
+ end
126
+ elsif !attributes[self.class.attribute_map[key]].nil?
127
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
128
+ end
129
+ end
130
+
131
+ self
132
+ end
133
+
134
+ # Deserializes the data based on type
135
+ # @param string type Data type
136
+ # @param string value Value to be deserialized
137
+ # @return [Object] Deserialized data
138
+ def _deserialize(type, value)
139
+ case type.to_sym
140
+ when :Time
141
+ Time.parse(value)
142
+ when :Date
143
+ Date.parse(value)
144
+ when :String
145
+ value.to_s
146
+ when :Integer
147
+ value.to_i
148
+ when :Float
149
+ value.to_f
150
+ when :Boolean
151
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
152
+ true
153
+ else
154
+ false
155
+ end
156
+ when :Object
157
+ # generic object (usually a Hash), return directly
158
+ value
159
+ when /\AArray<(?<inner_type>.+)>\z/
160
+ inner_type = Regexp.last_match[:inner_type]
161
+ value.map { |v| _deserialize(inner_type, v) }
162
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
163
+ k_type = Regexp.last_match[:k_type]
164
+ v_type = Regexp.last_match[:v_type]
165
+ {}.tap do |hash|
166
+ value.each do |k, v|
167
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
168
+ end
169
+ end
170
+ else # model
171
+ # models (e.g. Pet) or oneOf
172
+ klass = Svix.const_get(type)
173
+ klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
174
+ end
175
+ end
176
+
177
+ # Returns the string representation of the object
178
+ # @return [String] String presentation of the object
179
+ def to_s
180
+ to_hash.to_s
181
+ end
182
+
183
+ # to_body is an alias to to_hash (backward compatibility)
184
+ # @return [Hash] Returns the object in the form of hash
185
+ def to_body
186
+ to_hash
187
+ end
188
+
189
+ # Returns the object in the form of hash
190
+ # @return [Hash] Returns the object in the form of hash
191
+ def to_hash
192
+ hash = {}
193
+ self.class.attribute_map.each_pair do |attr, param|
194
+ value = self.send(attr)
195
+ if value.nil?
196
+ is_nullable = self.class.openapi_nullable.include?(attr)
197
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
198
+ end
199
+
200
+ hash[param] = _to_hash(value)
201
+ end
202
+ hash
203
+ end
204
+
205
+ # Outputs non-array value in the form of hash
206
+ # For object, use to_hash. Otherwise, just return the value
207
+ # @param [Object] value Any valid value
208
+ # @return [Hash] Returns the value in the form of hash
209
+ def _to_hash(value)
210
+ if value.is_a?(Array)
211
+ value.compact.map { |v| _to_hash(v) }
212
+ elsif value.is_a?(Hash)
213
+ {}.tap do |hash|
214
+ value.each { |k, v| hash[k] = _to_hash(v) }
215
+ end
216
+ elsif value.respond_to? :to_hash
217
+ value.to_hash
218
+ else
219
+ value
220
+ end
221
+ end
222
+
223
+ end
224
+
225
+ end
data/lib/svix/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Svix
4
- VERSION = "0.56.0"
4
+ VERSION = "0.57.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: svix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.56.0
4
+ version: 0.57.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Svix
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-04-11 00:00:00.000000000 Z
11
+ date: 2022-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -163,6 +163,7 @@ files:
163
163
  - lib/svix/models/message_attempt_failed_data.rb
164
164
  - lib/svix/models/message_attempt_failing_event.rb
165
165
  - lib/svix/models/message_attempt_failing_event_data.rb
166
+ - lib/svix/models/message_attempt_headers_out.rb
166
167
  - lib/svix/models/message_attempt_out.rb
167
168
  - lib/svix/models/message_attempt_trigger_type.rb
168
169
  - lib/svix/models/message_endpoint_out.rb