svix 1.27.0 → 1.29.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/models/event_type_from_open_api.rb +15 -1
- data/lib/svix/models/event_type_in.rb +12 -1
- data/lib/svix/models/event_type_out.rb +15 -1
- data/lib/svix/models/event_type_patch.rb +10 -1
- data/lib/svix/models/event_type_update.rb +12 -1
- data/lib/svix/models/message_attempt_endpoint_out.rb +15 -1
- data/lib/svix/models/message_attempt_out.rb +15 -1
- data/lib/svix/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ab9bde8b876818b28ad7e7e3e7d207d303dcbfa56a5618822f2286ba3d66537
|
4
|
+
data.tar.gz: 14afdedc8bd252f9ab1abf89a41c1046bad15dbe2ee37a77e9a663b45df696d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70a2ea96b48262ef7f45a43e3374012935e5616c009661f9c141476c86d4629d3be5a2b90cc83c17409269e3c8aff33e58475c44966e5988cb03677f1c4297cf
|
7
|
+
data.tar.gz: 6a087b19703da87705d7a7ba7c0166d43803f44d029800e4178ac5541c32481a968f4efe9d00f87ed4636cf811b913cf159b30d8a31116d130dadb18d468a6d5
|
data/Gemfile.lock
CHANGED
@@ -15,6 +15,8 @@ require 'time'
|
|
15
15
|
|
16
16
|
module Svix
|
17
17
|
class EventTypeFromOpenApi
|
18
|
+
attr_accessor :deprecated
|
19
|
+
|
18
20
|
attr_accessor :description
|
19
21
|
|
20
22
|
# The event type's name
|
@@ -25,6 +27,7 @@ module Svix
|
|
25
27
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
28
|
def self.attribute_map
|
27
29
|
{
|
30
|
+
:'deprecated' => :'deprecated',
|
28
31
|
:'description' => :'description',
|
29
32
|
:'name' => :'name',
|
30
33
|
:'schemas' => :'schemas'
|
@@ -39,6 +42,7 @@ module Svix
|
|
39
42
|
# Attribute type mapping.
|
40
43
|
def self.openapi_types
|
41
44
|
{
|
45
|
+
:'deprecated' => :'Boolean',
|
42
46
|
:'description' => :'String',
|
43
47
|
:'name' => :'String',
|
44
48
|
:'schemas' => :'Hash<String, Object>'
|
@@ -67,6 +71,10 @@ module Svix
|
|
67
71
|
h[k.to_sym] = v
|
68
72
|
}
|
69
73
|
|
74
|
+
if attributes.key?(:'deprecated')
|
75
|
+
self.deprecated = attributes[:'deprecated']
|
76
|
+
end
|
77
|
+
|
70
78
|
if attributes.key?(:'description')
|
71
79
|
self.description = attributes[:'description']
|
72
80
|
end
|
@@ -86,6 +94,10 @@ module Svix
|
|
86
94
|
# @return Array for valid properties with the reasons
|
87
95
|
def list_invalid_properties
|
88
96
|
invalid_properties = Array.new
|
97
|
+
if @deprecated.nil?
|
98
|
+
invalid_properties.push('invalid value for "deprecated", deprecated cannot be nil.')
|
99
|
+
end
|
100
|
+
|
89
101
|
if @description.nil?
|
90
102
|
invalid_properties.push('invalid value for "description", description cannot be nil.')
|
91
103
|
end
|
@@ -109,6 +121,7 @@ module Svix
|
|
109
121
|
# Check to see if the all the properties in the model are valid
|
110
122
|
# @return true if the model is valid
|
111
123
|
def valid?
|
124
|
+
return false if @deprecated.nil?
|
112
125
|
return false if @description.nil?
|
113
126
|
return false if @name.nil?
|
114
127
|
return false if @name.to_s.length > 256
|
@@ -140,6 +153,7 @@ module Svix
|
|
140
153
|
def ==(o)
|
141
154
|
return true if self.equal?(o)
|
142
155
|
self.class == o.class &&
|
156
|
+
deprecated == o.deprecated &&
|
143
157
|
description == o.description &&
|
144
158
|
name == o.name &&
|
145
159
|
schemas == o.schemas
|
@@ -154,7 +168,7 @@ module Svix
|
|
154
168
|
# Calculates hash code according to all attributes.
|
155
169
|
# @return [Integer] Hash code
|
156
170
|
def hash
|
157
|
-
[description, name, schemas].hash
|
171
|
+
[deprecated, description, name, schemas].hash
|
158
172
|
end
|
159
173
|
|
160
174
|
# Builds the object from hash
|
@@ -17,6 +17,8 @@ module Svix
|
|
17
17
|
class EventTypeIn
|
18
18
|
attr_accessor :archived
|
19
19
|
|
20
|
+
attr_accessor :deprecated
|
21
|
+
|
20
22
|
attr_accessor :description
|
21
23
|
|
22
24
|
attr_accessor :feature_flag
|
@@ -34,6 +36,7 @@ module Svix
|
|
34
36
|
def self.attribute_map
|
35
37
|
{
|
36
38
|
:'archived' => :'archived',
|
39
|
+
:'deprecated' => :'deprecated',
|
37
40
|
:'description' => :'description',
|
38
41
|
:'feature_flag' => :'featureFlag',
|
39
42
|
:'group_name' => :'groupName',
|
@@ -51,6 +54,7 @@ module Svix
|
|
51
54
|
def self.openapi_types
|
52
55
|
{
|
53
56
|
:'archived' => :'Boolean',
|
57
|
+
:'deprecated' => :'Boolean',
|
54
58
|
:'description' => :'String',
|
55
59
|
:'feature_flag' => :'String',
|
56
60
|
:'group_name' => :'String',
|
@@ -89,6 +93,12 @@ module Svix
|
|
89
93
|
self.archived = false
|
90
94
|
end
|
91
95
|
|
96
|
+
if attributes.key?(:'deprecated')
|
97
|
+
self.deprecated = attributes[:'deprecated']
|
98
|
+
else
|
99
|
+
self.deprecated = false
|
100
|
+
end
|
101
|
+
|
92
102
|
if attributes.key?(:'description')
|
93
103
|
self.description = attributes[:'description']
|
94
104
|
end
|
@@ -223,6 +233,7 @@ module Svix
|
|
223
233
|
return true if self.equal?(o)
|
224
234
|
self.class == o.class &&
|
225
235
|
archived == o.archived &&
|
236
|
+
deprecated == o.deprecated &&
|
226
237
|
description == o.description &&
|
227
238
|
feature_flag == o.feature_flag &&
|
228
239
|
group_name == o.group_name &&
|
@@ -239,7 +250,7 @@ module Svix
|
|
239
250
|
# Calculates hash code according to all attributes.
|
240
251
|
# @return [Integer] Hash code
|
241
252
|
def hash
|
242
|
-
[archived, description, feature_flag, group_name, name, schemas].hash
|
253
|
+
[archived, deprecated, description, feature_flag, group_name, name, schemas].hash
|
243
254
|
end
|
244
255
|
|
245
256
|
# Builds the object from hash
|
@@ -19,6 +19,8 @@ module Svix
|
|
19
19
|
|
20
20
|
attr_accessor :created_at
|
21
21
|
|
22
|
+
attr_accessor :deprecated
|
23
|
+
|
22
24
|
attr_accessor :description
|
23
25
|
|
24
26
|
attr_accessor :feature_flag
|
@@ -39,6 +41,7 @@ module Svix
|
|
39
41
|
{
|
40
42
|
:'archived' => :'archived',
|
41
43
|
:'created_at' => :'createdAt',
|
44
|
+
:'deprecated' => :'deprecated',
|
42
45
|
:'description' => :'description',
|
43
46
|
:'feature_flag' => :'featureFlag',
|
44
47
|
:'group_name' => :'groupName',
|
@@ -58,6 +61,7 @@ module Svix
|
|
58
61
|
{
|
59
62
|
:'archived' => :'Boolean',
|
60
63
|
:'created_at' => :'Time',
|
64
|
+
:'deprecated' => :'Boolean',
|
61
65
|
:'description' => :'String',
|
62
66
|
:'feature_flag' => :'String',
|
63
67
|
:'group_name' => :'String',
|
@@ -101,6 +105,10 @@ module Svix
|
|
101
105
|
self.created_at = attributes[:'created_at']
|
102
106
|
end
|
103
107
|
|
108
|
+
if attributes.key?(:'deprecated')
|
109
|
+
self.deprecated = attributes[:'deprecated']
|
110
|
+
end
|
111
|
+
|
104
112
|
if attributes.key?(:'description')
|
105
113
|
self.description = attributes[:'description']
|
106
114
|
end
|
@@ -136,6 +144,10 @@ module Svix
|
|
136
144
|
invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
|
137
145
|
end
|
138
146
|
|
147
|
+
if @deprecated.nil?
|
148
|
+
invalid_properties.push('invalid value for "deprecated", deprecated cannot be nil.')
|
149
|
+
end
|
150
|
+
|
139
151
|
if @description.nil?
|
140
152
|
invalid_properties.push('invalid value for "description", description cannot be nil.')
|
141
153
|
end
|
@@ -182,6 +194,7 @@ module Svix
|
|
182
194
|
# @return true if the model is valid
|
183
195
|
def valid?
|
184
196
|
return false if @created_at.nil?
|
197
|
+
return false if @deprecated.nil?
|
185
198
|
return false if @description.nil?
|
186
199
|
return false if !@feature_flag.nil? && @feature_flag.to_s.length > 256
|
187
200
|
return false if !@feature_flag.nil? && @feature_flag !~ Regexp.new(/^[a-zA-Z0-9\-_.]+$/)
|
@@ -250,6 +263,7 @@ module Svix
|
|
250
263
|
self.class == o.class &&
|
251
264
|
archived == o.archived &&
|
252
265
|
created_at == o.created_at &&
|
266
|
+
deprecated == o.deprecated &&
|
253
267
|
description == o.description &&
|
254
268
|
feature_flag == o.feature_flag &&
|
255
269
|
group_name == o.group_name &&
|
@@ -267,7 +281,7 @@ module Svix
|
|
267
281
|
# Calculates hash code according to all attributes.
|
268
282
|
# @return [Integer] Hash code
|
269
283
|
def hash
|
270
|
-
[archived, created_at, description, feature_flag, group_name, name, schemas, updated_at].hash
|
284
|
+
[archived, created_at, deprecated, description, feature_flag, group_name, name, schemas, updated_at].hash
|
271
285
|
end
|
272
286
|
|
273
287
|
# Builds the object from hash
|
@@ -17,6 +17,8 @@ module Svix
|
|
17
17
|
class EventTypePatch
|
18
18
|
attr_accessor :archived
|
19
19
|
|
20
|
+
attr_accessor :deprecated
|
21
|
+
|
20
22
|
attr_accessor :description
|
21
23
|
|
22
24
|
attr_accessor :feature_flag
|
@@ -30,6 +32,7 @@ module Svix
|
|
30
32
|
def self.attribute_map
|
31
33
|
{
|
32
34
|
:'archived' => :'archived',
|
35
|
+
:'deprecated' => :'deprecated',
|
33
36
|
:'description' => :'description',
|
34
37
|
:'feature_flag' => :'featureFlag',
|
35
38
|
:'group_name' => :'groupName',
|
@@ -46,6 +49,7 @@ module Svix
|
|
46
49
|
def self.openapi_types
|
47
50
|
{
|
48
51
|
:'archived' => :'Boolean',
|
52
|
+
:'deprecated' => :'Boolean',
|
49
53
|
:'description' => :'String',
|
50
54
|
:'feature_flag' => :'String',
|
51
55
|
:'group_name' => :'String',
|
@@ -81,6 +85,10 @@ module Svix
|
|
81
85
|
self.archived = attributes[:'archived']
|
82
86
|
end
|
83
87
|
|
88
|
+
if attributes.key?(:'deprecated')
|
89
|
+
self.deprecated = attributes[:'deprecated']
|
90
|
+
end
|
91
|
+
|
84
92
|
if attributes.key?(:'description')
|
85
93
|
self.description = attributes[:'description']
|
86
94
|
end
|
@@ -171,6 +179,7 @@ module Svix
|
|
171
179
|
return true if self.equal?(o)
|
172
180
|
self.class == o.class &&
|
173
181
|
archived == o.archived &&
|
182
|
+
deprecated == o.deprecated &&
|
174
183
|
description == o.description &&
|
175
184
|
feature_flag == o.feature_flag &&
|
176
185
|
group_name == o.group_name &&
|
@@ -186,7 +195,7 @@ module Svix
|
|
186
195
|
# Calculates hash code according to all attributes.
|
187
196
|
# @return [Integer] Hash code
|
188
197
|
def hash
|
189
|
-
[archived, description, feature_flag, group_name, schemas].hash
|
198
|
+
[archived, deprecated, description, feature_flag, group_name, schemas].hash
|
190
199
|
end
|
191
200
|
|
192
201
|
# Builds the object from hash
|
@@ -17,6 +17,8 @@ module Svix
|
|
17
17
|
class EventTypeUpdate
|
18
18
|
attr_accessor :archived
|
19
19
|
|
20
|
+
attr_accessor :deprecated
|
21
|
+
|
20
22
|
attr_accessor :description
|
21
23
|
|
22
24
|
attr_accessor :feature_flag
|
@@ -31,6 +33,7 @@ module Svix
|
|
31
33
|
def self.attribute_map
|
32
34
|
{
|
33
35
|
:'archived' => :'archived',
|
36
|
+
:'deprecated' => :'deprecated',
|
34
37
|
:'description' => :'description',
|
35
38
|
:'feature_flag' => :'featureFlag',
|
36
39
|
:'group_name' => :'groupName',
|
@@ -47,6 +50,7 @@ module Svix
|
|
47
50
|
def self.openapi_types
|
48
51
|
{
|
49
52
|
:'archived' => :'Boolean',
|
53
|
+
:'deprecated' => :'Boolean',
|
50
54
|
:'description' => :'String',
|
51
55
|
:'feature_flag' => :'String',
|
52
56
|
:'group_name' => :'String',
|
@@ -84,6 +88,12 @@ module Svix
|
|
84
88
|
self.archived = false
|
85
89
|
end
|
86
90
|
|
91
|
+
if attributes.key?(:'deprecated')
|
92
|
+
self.deprecated = attributes[:'deprecated']
|
93
|
+
else
|
94
|
+
self.deprecated = false
|
95
|
+
end
|
96
|
+
|
87
97
|
if attributes.key?(:'description')
|
88
98
|
self.description = attributes[:'description']
|
89
99
|
end
|
@@ -179,6 +189,7 @@ module Svix
|
|
179
189
|
return true if self.equal?(o)
|
180
190
|
self.class == o.class &&
|
181
191
|
archived == o.archived &&
|
192
|
+
deprecated == o.deprecated &&
|
182
193
|
description == o.description &&
|
183
194
|
feature_flag == o.feature_flag &&
|
184
195
|
group_name == o.group_name &&
|
@@ -194,7 +205,7 @@ module Svix
|
|
194
205
|
# Calculates hash code according to all attributes.
|
195
206
|
# @return [Integer] Hash code
|
196
207
|
def hash
|
197
|
-
[archived, description, feature_flag, group_name, schemas].hash
|
208
|
+
[archived, deprecated, description, feature_flag, group_name, schemas].hash
|
198
209
|
end
|
199
210
|
|
200
211
|
# Builds the object from hash
|
@@ -28,6 +28,8 @@ module Svix
|
|
28
28
|
|
29
29
|
attr_accessor :response
|
30
30
|
|
31
|
+
attr_accessor :response_duration_ms
|
32
|
+
|
31
33
|
attr_accessor :response_status_code
|
32
34
|
|
33
35
|
attr_accessor :status
|
@@ -46,6 +48,7 @@ module Svix
|
|
46
48
|
:'msg' => :'msg',
|
47
49
|
:'msg_id' => :'msgId',
|
48
50
|
:'response' => :'response',
|
51
|
+
:'response_duration_ms' => :'responseDurationMs',
|
49
52
|
:'response_status_code' => :'responseStatusCode',
|
50
53
|
:'status' => :'status',
|
51
54
|
:'timestamp' => :'timestamp',
|
@@ -67,6 +70,7 @@ module Svix
|
|
67
70
|
:'msg' => :'MessageOut',
|
68
71
|
:'msg_id' => :'String',
|
69
72
|
:'response' => :'String',
|
73
|
+
:'response_duration_ms' => :'Integer',
|
70
74
|
:'response_status_code' => :'Integer',
|
71
75
|
:'status' => :'MessageStatus',
|
72
76
|
:'timestamp' => :'Time',
|
@@ -116,6 +120,10 @@ module Svix
|
|
116
120
|
self.response = attributes[:'response']
|
117
121
|
end
|
118
122
|
|
123
|
+
if attributes.key?(:'response_duration_ms')
|
124
|
+
self.response_duration_ms = attributes[:'response_duration_ms']
|
125
|
+
end
|
126
|
+
|
119
127
|
if attributes.key?(:'response_status_code')
|
120
128
|
self.response_status_code = attributes[:'response_status_code']
|
121
129
|
end
|
@@ -157,6 +165,10 @@ module Svix
|
|
157
165
|
invalid_properties.push('invalid value for "response", response cannot be nil.')
|
158
166
|
end
|
159
167
|
|
168
|
+
if @response_duration_ms.nil?
|
169
|
+
invalid_properties.push('invalid value for "response_duration_ms", response_duration_ms cannot be nil.')
|
170
|
+
end
|
171
|
+
|
160
172
|
if @response_status_code.nil?
|
161
173
|
invalid_properties.push('invalid value for "response_status_code", response_status_code cannot be nil.')
|
162
174
|
end
|
@@ -195,6 +207,7 @@ module Svix
|
|
195
207
|
return false if @id.nil?
|
196
208
|
return false if @msg_id.nil?
|
197
209
|
return false if @response.nil?
|
210
|
+
return false if @response_duration_ms.nil?
|
198
211
|
return false if @response_status_code.nil?
|
199
212
|
return false if @status.nil?
|
200
213
|
return false if @timestamp.nil?
|
@@ -233,6 +246,7 @@ module Svix
|
|
233
246
|
msg == o.msg &&
|
234
247
|
msg_id == o.msg_id &&
|
235
248
|
response == o.response &&
|
249
|
+
response_duration_ms == o.response_duration_ms &&
|
236
250
|
response_status_code == o.response_status_code &&
|
237
251
|
status == o.status &&
|
238
252
|
timestamp == o.timestamp &&
|
@@ -249,7 +263,7 @@ module Svix
|
|
249
263
|
# Calculates hash code according to all attributes.
|
250
264
|
# @return [Integer] Hash code
|
251
265
|
def hash
|
252
|
-
[endpoint_id, id, msg, msg_id, response, response_status_code, status, timestamp, trigger_type, url].hash
|
266
|
+
[endpoint_id, id, msg, msg_id, response, response_duration_ms, response_status_code, status, timestamp, trigger_type, url].hash
|
253
267
|
end
|
254
268
|
|
255
269
|
# Builds the object from hash
|
@@ -28,6 +28,8 @@ module Svix
|
|
28
28
|
|
29
29
|
attr_accessor :response
|
30
30
|
|
31
|
+
attr_accessor :response_duration_ms
|
32
|
+
|
31
33
|
attr_accessor :response_status_code
|
32
34
|
|
33
35
|
attr_accessor :status
|
@@ -46,6 +48,7 @@ module Svix
|
|
46
48
|
:'msg' => :'msg',
|
47
49
|
:'msg_id' => :'msgId',
|
48
50
|
:'response' => :'response',
|
51
|
+
:'response_duration_ms' => :'responseDurationMs',
|
49
52
|
:'response_status_code' => :'responseStatusCode',
|
50
53
|
:'status' => :'status',
|
51
54
|
:'timestamp' => :'timestamp',
|
@@ -67,6 +70,7 @@ module Svix
|
|
67
70
|
:'msg' => :'MessageOut',
|
68
71
|
:'msg_id' => :'String',
|
69
72
|
:'response' => :'String',
|
73
|
+
:'response_duration_ms' => :'Integer',
|
70
74
|
:'response_status_code' => :'Integer',
|
71
75
|
:'status' => :'MessageStatus',
|
72
76
|
:'timestamp' => :'Time',
|
@@ -116,6 +120,10 @@ module Svix
|
|
116
120
|
self.response = attributes[:'response']
|
117
121
|
end
|
118
122
|
|
123
|
+
if attributes.key?(:'response_duration_ms')
|
124
|
+
self.response_duration_ms = attributes[:'response_duration_ms']
|
125
|
+
end
|
126
|
+
|
119
127
|
if attributes.key?(:'response_status_code')
|
120
128
|
self.response_status_code = attributes[:'response_status_code']
|
121
129
|
end
|
@@ -157,6 +165,10 @@ module Svix
|
|
157
165
|
invalid_properties.push('invalid value for "response", response cannot be nil.')
|
158
166
|
end
|
159
167
|
|
168
|
+
if @response_duration_ms.nil?
|
169
|
+
invalid_properties.push('invalid value for "response_duration_ms", response_duration_ms cannot be nil.')
|
170
|
+
end
|
171
|
+
|
160
172
|
if @response_status_code.nil?
|
161
173
|
invalid_properties.push('invalid value for "response_status_code", response_status_code cannot be nil.')
|
162
174
|
end
|
@@ -195,6 +207,7 @@ module Svix
|
|
195
207
|
return false if @id.nil?
|
196
208
|
return false if @msg_id.nil?
|
197
209
|
return false if @response.nil?
|
210
|
+
return false if @response_duration_ms.nil?
|
198
211
|
return false if @response_status_code.nil?
|
199
212
|
return false if @status.nil?
|
200
213
|
return false if @timestamp.nil?
|
@@ -233,6 +246,7 @@ module Svix
|
|
233
246
|
msg == o.msg &&
|
234
247
|
msg_id == o.msg_id &&
|
235
248
|
response == o.response &&
|
249
|
+
response_duration_ms == o.response_duration_ms &&
|
236
250
|
response_status_code == o.response_status_code &&
|
237
251
|
status == o.status &&
|
238
252
|
timestamp == o.timestamp &&
|
@@ -249,7 +263,7 @@ module Svix
|
|
249
263
|
# Calculates hash code according to all attributes.
|
250
264
|
# @return [Integer] Hash code
|
251
265
|
def hash
|
252
|
-
[endpoint_id, id, msg, msg_id, response, response_status_code, status, timestamp, trigger_type, url].hash
|
266
|
+
[endpoint_id, id, msg, msg_id, response, response_duration_ms, response_status_code, status, timestamp, trigger_type, url].hash
|
253
267
|
end
|
254
268
|
|
255
269
|
# 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: 1.
|
4
|
+
version: 1.29.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Svix
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|