svix 1.28.0 → 1.30.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: 19646ce466dd4ea958259793c083de007d46cf90d5bd6b177b879d66f960a318
4
- data.tar.gz: b3eefc719892e052305e91a714f2c796c14d4ac875d1b798dac9c82065397209
3
+ metadata.gz: 87c95bcfa216f8fd64498a21379c7acd075e79c11ef5619d0ba8d1f7c2330d98
4
+ data.tar.gz: 824c4aaa3488ad2f60389303ab751d926ecd8f8535dec358cdd32da3e0491e85
5
5
  SHA512:
6
- metadata.gz: a9db009d71092664ff0bf35a6ca18ad9ac2cc589b43df8739525a76f0fa17e879d4fb55a88872b37264abe554360d16530fd10785f047a198d62b42896ff064b
7
- data.tar.gz: de2ea5623dd139be5bc1ff6dce53e101c5bf6580dc5824b15aa35be01a786af6cd720d59aff498897c886680bcda01a16d9b6eea442e1ac66057152c8c3672f0
6
+ metadata.gz: cb01ce60809e2c0d8c9ced17be0ff901b27c0aef917fdb66467857e4ee8194fdca336219fab24cf58337842e22536c40299d9713a55ab6aac958678b617b7f23
7
+ data.tar.gz: 6fa418bb9d1f8d2de1c3ced7fd4ef97dfff61a65f5fc72d00e9787863ea566685a30d0d7cdcf63fb2bdbe5f71204b8c54b519a313e76bc0ef3ed654a4cc925c9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- svix (1.28.0)
4
+ svix (1.30.0)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -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
data/lib/svix/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Svix
4
- VERSION = "1.28.0"
4
+ VERSION = "1.30.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: 1.28.0
4
+ version: 1.30.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-02 00:00:00.000000000 Z
11
+ date: 2024-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus