svix 0.79.0 → 0.81.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: b17b568b38e2f0b3df7922e92e68a2a1212d1ec093eede214c973f104adeb85d
4
- data.tar.gz: 96090ca00e41daceac0996dbc5a6d7ad4b454781eca44555a76a9c2142d782e0
3
+ metadata.gz: ec0c833df4a2314a1c59e766b5e319d1a3bc10b04f31cbd2dee97d611250e3bd
4
+ data.tar.gz: 8a714a1c9dd9138e6532f6b1310e83cbc67dd2dac1c7bc5fd2eef31f60fcc325
5
5
  SHA512:
6
- metadata.gz: 3ed9830f816898a1af04740b1837f9694079804b9b7f40e07f21665609b32495fc2be624f14660eab1c7d4e5062aa39b23df3088fd6fac1c7d66c5c742a6c249
7
- data.tar.gz: 6dfc4a84489c77f186c045a3267dbe36c5b592e56bc16c6b2e961e7b468f762fe4b9f85d9a67dc9cdffce7e8a3d8eedbe726885a74bb420bc333bc5222241e14
6
+ metadata.gz: 963075e2ebcc1279323814bf5ff483bd18a40997cc1719d7851fd9a8ba9603738c1e6558ca8ee8b6af3604d341246ed635b3c36344df891639990ce804a43d3a
7
+ data.tar.gz: 2c8fd5eb63f59ddb9049dd7f19ebd75097d52e26028c731a0e557420d5d4120c0e75ad527625ce9aa71e40040589f08b2e9edff3738caef2aaa704f47e714889
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- svix (0.79.0)
4
+ svix (0.81.0)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -430,6 +430,7 @@ module Svix
430
430
  # @param [Hash] opts the optional parameters
431
431
  # @option opts [String] :iterator
432
432
  # @option opts [Integer] :limit (default to 50)
433
+ # @option opts [Ordering] :order
433
434
  # @option opts [String] :idempotency_key The request's idempotency key
434
435
  # @return [ListResponseApplicationOut]
435
436
  def list_applications_api_v1_app_get(opts = {})
@@ -442,6 +443,7 @@ module Svix
442
443
  # @param [Hash] opts the optional parameters
443
444
  # @option opts [String] :iterator
444
445
  # @option opts [Integer] :limit
446
+ # @option opts [Ordering] :order
445
447
  # @option opts [String] :idempotency_key The request's idempotency key
446
448
  # @return [Array<(ListResponseApplicationOut, Integer, Hash)>] ListResponseApplicationOut data, response status code and response headers
447
449
  def list_applications_api_v1_app_get_with_http_info(opts = {})
@@ -459,6 +461,7 @@ module Svix
459
461
  query_params = opts[:query_params] || {}
460
462
  query_params[:'iterator'] = opts[:'iterator'] if !opts[:'iterator'].nil?
461
463
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
464
+ query_params[:'order'] = opts[:'order'] if !opts[:'order'].nil?
462
465
 
463
466
  # header parameters
464
467
  header_params = opts[:header_params] || {}
@@ -21,12 +21,15 @@ module Svix
21
21
 
22
22
  attr_accessor :iterator
23
23
 
24
+ attr_accessor :prev_iterator
25
+
24
26
  # Attribute mapping from ruby-style variable name to JSON key.
25
27
  def self.attribute_map
26
28
  {
27
29
  :'data' => :'data',
28
30
  :'done' => :'done',
29
- :'iterator' => :'iterator'
31
+ :'iterator' => :'iterator',
32
+ :'prev_iterator' => :'prevIterator'
30
33
  }
31
34
  end
32
35
 
@@ -40,14 +43,16 @@ module Svix
40
43
  {
41
44
  :'data' => :'Array<EventTypeOut>',
42
45
  :'done' => :'Boolean',
43
- :'iterator' => :'String'
46
+ :'iterator' => :'String',
47
+ :'prev_iterator' => :'String'
44
48
  }
45
49
  end
46
50
 
47
51
  # List of attributes with nullable: true
48
52
  def self.openapi_nullable
49
53
  Set.new([
50
- :'iterator'
54
+ :'iterator',
55
+ :'prev_iterator'
51
56
  ])
52
57
  end
53
58
 
@@ -79,6 +84,10 @@ module Svix
79
84
  if attributes.key?(:'iterator')
80
85
  self.iterator = attributes[:'iterator']
81
86
  end
87
+
88
+ if attributes.key?(:'prev_iterator')
89
+ self.prev_iterator = attributes[:'prev_iterator']
90
+ end
82
91
  end
83
92
 
84
93
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -111,7 +120,8 @@ module Svix
111
120
  self.class == o.class &&
112
121
  data == o.data &&
113
122
  done == o.done &&
114
- iterator == o.iterator
123
+ iterator == o.iterator &&
124
+ prev_iterator == o.prev_iterator
115
125
  end
116
126
 
117
127
  # @see the `==` method
@@ -123,7 +133,7 @@ module Svix
123
133
  # Calculates hash code according to all attributes.
124
134
  # @return [Integer] Hash code
125
135
  def hash
126
- [data, done, iterator].hash
136
+ [data, done, iterator, prev_iterator].hash
127
137
  end
128
138
 
129
139
  # Builds the object from hash
@@ -15,6 +15,8 @@ require 'time'
15
15
 
16
16
  module Svix
17
17
  class MessageIn
18
+ attr_accessor :application
19
+
18
20
  # List of free-form identifiers that endpoints can filter by
19
21
  attr_accessor :channels
20
22
 
@@ -31,6 +33,7 @@ module Svix
31
33
  # Attribute mapping from ruby-style variable name to JSON key.
32
34
  def self.attribute_map
33
35
  {
36
+ :'application' => :'application',
34
37
  :'channels' => :'channels',
35
38
  :'event_id' => :'eventId',
36
39
  :'event_type' => :'eventType',
@@ -47,6 +50,7 @@ module Svix
47
50
  # Attribute type mapping.
48
51
  def self.openapi_types
49
52
  {
53
+ :'application' => :'ApplicationIn',
50
54
  :'channels' => :'Array<String>',
51
55
  :'event_id' => :'String',
52
56
  :'event_type' => :'String',
@@ -78,6 +82,10 @@ module Svix
78
82
  h[k.to_sym] = v
79
83
  }
80
84
 
85
+ if attributes.key?(:'application')
86
+ self.application = attributes[:'application']
87
+ end
88
+
81
89
  if attributes.key?(:'channels')
82
90
  if (value = attributes[:'channels']).is_a?(Array)
83
91
  self.channels = value
@@ -244,6 +252,7 @@ module Svix
244
252
  def ==(o)
245
253
  return true if self.equal?(o)
246
254
  self.class == o.class &&
255
+ application == o.application &&
247
256
  channels == o.channels &&
248
257
  event_id == o.event_id &&
249
258
  event_type == o.event_type &&
@@ -260,7 +269,7 @@ module Svix
260
269
  # Calculates hash code according to all attributes.
261
270
  # @return [Integer] Hash code
262
271
  def hash
263
- [channels, event_id, event_type, payload, payload_retention_period].hash
272
+ [application, channels, event_id, event_type, payload, payload_retention_period].hash
264
273
  end
265
274
 
266
275
  # 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 = "0.79.0"
4
+ VERSION = "0.81.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.79.0
4
+ version: 0.81.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Svix
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-02-13 00:00:00.000000000 Z
11
+ date: 2023-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus