svix 0.66.0 → 0.68.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/svix/api/application_api.rb +177 -0
- data/lib/svix/api/endpoint_api.rb +106 -0
- data/lib/svix/models/application_in.rb +13 -1
- data/lib/svix/models/application_out.rb +13 -1
- data/lib/svix/models/application_stats.rb +283 -0
- data/lib/svix/models/endpoint_in.rb +13 -1
- data/lib/svix/models/endpoint_out.rb +13 -1
- data/lib/svix/models/endpoint_update.rb +13 -1
- data/lib/svix/models/environment_settings_out.rb +15 -4
- data/lib/svix/models/list_response_application_stats.rb +249 -0
- data/lib/svix/models/message_endpoint_out.rb +13 -1
- data/lib/svix/models/replay_in.rb +223 -0
- data/lib/svix/models/settings_in.rb +27 -5
- data/lib/svix/models/settings_out.rb +27 -5
- data/lib/svix/version.rb +1 -1
- metadata +5 -2
@@ -37,10 +37,14 @@ module Svix
|
|
37
37
|
|
38
38
|
attr_accessor :enable_integration_management
|
39
39
|
|
40
|
+
attr_accessor :enable_transformations
|
41
|
+
|
40
42
|
attr_accessor :enforce_https
|
41
43
|
|
42
44
|
attr_accessor :event_catalog_published
|
43
45
|
|
46
|
+
attr_accessor :read_only
|
47
|
+
|
44
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
45
49
|
def self.attribute_map
|
46
50
|
{
|
@@ -55,8 +59,10 @@ module Svix
|
|
55
59
|
:'display_name' => :'displayName',
|
56
60
|
:'enable_channels' => :'enableChannels',
|
57
61
|
:'enable_integration_management' => :'enableIntegrationManagement',
|
62
|
+
:'enable_transformations' => :'enableTransformations',
|
58
63
|
:'enforce_https' => :'enforceHttps',
|
59
|
-
:'event_catalog_published' => :'eventCatalogPublished'
|
64
|
+
:'event_catalog_published' => :'eventCatalogPublished',
|
65
|
+
:'read_only' => :'readOnly'
|
60
66
|
}
|
61
67
|
end
|
62
68
|
|
@@ -79,8 +85,10 @@ module Svix
|
|
79
85
|
:'display_name' => :'String',
|
80
86
|
:'enable_channels' => :'Boolean',
|
81
87
|
:'enable_integration_management' => :'Boolean',
|
88
|
+
:'enable_transformations' => :'Boolean',
|
82
89
|
:'enforce_https' => :'Boolean',
|
83
|
-
:'event_catalog_published' => :'Boolean'
|
90
|
+
:'event_catalog_published' => :'Boolean',
|
91
|
+
:'read_only' => :'Boolean'
|
84
92
|
}
|
85
93
|
end
|
86
94
|
|
@@ -92,7 +100,7 @@ module Svix
|
|
92
100
|
:'custom_font_family',
|
93
101
|
:'custom_logo_url',
|
94
102
|
:'display_name',
|
95
|
-
:'event_catalog_published'
|
103
|
+
:'event_catalog_published',
|
96
104
|
])
|
97
105
|
end
|
98
106
|
|
@@ -161,6 +169,12 @@ module Svix
|
|
161
169
|
self.enable_integration_management = false
|
162
170
|
end
|
163
171
|
|
172
|
+
if attributes.key?(:'enable_transformations')
|
173
|
+
self.enable_transformations = attributes[:'enable_transformations']
|
174
|
+
else
|
175
|
+
self.enable_transformations = false
|
176
|
+
end
|
177
|
+
|
164
178
|
if attributes.key?(:'enforce_https')
|
165
179
|
self.enforce_https = attributes[:'enforce_https']
|
166
180
|
else
|
@@ -172,6 +186,12 @@ module Svix
|
|
172
186
|
else
|
173
187
|
self.event_catalog_published = false
|
174
188
|
end
|
189
|
+
|
190
|
+
if attributes.key?(:'read_only')
|
191
|
+
self.read_only = attributes[:'read_only']
|
192
|
+
else
|
193
|
+
self.read_only = false
|
194
|
+
end
|
175
195
|
end
|
176
196
|
|
177
197
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -244,8 +264,10 @@ module Svix
|
|
244
264
|
display_name == o.display_name &&
|
245
265
|
enable_channels == o.enable_channels &&
|
246
266
|
enable_integration_management == o.enable_integration_management &&
|
267
|
+
enable_transformations == o.enable_transformations &&
|
247
268
|
enforce_https == o.enforce_https &&
|
248
|
-
event_catalog_published == o.event_catalog_published
|
269
|
+
event_catalog_published == o.event_catalog_published &&
|
270
|
+
read_only == o.read_only
|
249
271
|
end
|
250
272
|
|
251
273
|
# @see the `==` method
|
@@ -257,7 +279,7 @@ module Svix
|
|
257
279
|
# Calculates hash code according to all attributes.
|
258
280
|
# @return [Integer] Hash code
|
259
281
|
def hash
|
260
|
-
[color_palette_dark, color_palette_light, custom_base_font_size, custom_color, custom_font_family, custom_logo_url, custom_theme_override, disable_endpoint_on_failure, display_name, enable_channels, enable_integration_management, enforce_https, event_catalog_published].hash
|
282
|
+
[color_palette_dark, color_palette_light, custom_base_font_size, custom_color, custom_font_family, custom_logo_url, custom_theme_override, disable_endpoint_on_failure, display_name, enable_channels, enable_integration_management, enable_transformations, enforce_https, event_catalog_published, read_only].hash
|
261
283
|
end
|
262
284
|
|
263
285
|
# Builds the object from hash
|
data/lib/svix/version.rb
CHANGED
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.
|
4
|
+
version: 0.68.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-
|
11
|
+
date: 2022-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -109,6 +109,7 @@ files:
|
|
109
109
|
- lib/svix/message_attempt_api.rb
|
110
110
|
- lib/svix/models/application_in.rb
|
111
111
|
- lib/svix/models/application_out.rb
|
112
|
+
- lib/svix/models/application_stats.rb
|
112
113
|
- lib/svix/models/attempt_statistics_data.rb
|
113
114
|
- lib/svix/models/attempt_statistics_response.rb
|
114
115
|
- lib/svix/models/border_radius_config.rb
|
@@ -155,6 +156,7 @@ files:
|
|
155
156
|
- lib/svix/models/integration_out.rb
|
156
157
|
- lib/svix/models/integration_update.rb
|
157
158
|
- lib/svix/models/list_response_application_out.rb
|
159
|
+
- lib/svix/models/list_response_application_stats.rb
|
158
160
|
- lib/svix/models/list_response_endpoint_message_out.rb
|
159
161
|
- lib/svix/models/list_response_endpoint_out.rb
|
160
162
|
- lib/svix/models/list_response_event_type_out.rb
|
@@ -177,6 +179,7 @@ files:
|
|
177
179
|
- lib/svix/models/message_out.rb
|
178
180
|
- lib/svix/models/message_status.rb
|
179
181
|
- lib/svix/models/recover_in.rb
|
182
|
+
- lib/svix/models/replay_in.rb
|
180
183
|
- lib/svix/models/settings_in.rb
|
181
184
|
- lib/svix/models/settings_out.rb
|
182
185
|
- lib/svix/models/statistics_period.rb
|