svix 1.82.0 → 1.84.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fe562cc25a4c9a3553dd79de320a14ccc190310af38d14fc8837748b92c2e8c0
4
- data.tar.gz: 30b61396d159559ee109f4b1620336583d02867d65e7045a89802498f8ccbfdb
3
+ metadata.gz: 738aae5b3d08c1bf407a9a8340767b9e68206d0e36f2f826a9efd0f8670e9057
4
+ data.tar.gz: 7ef29a9cbc575421c839663f53821e5822c439b4f5148bac5abdd4958c157d96
5
5
  SHA512:
6
- metadata.gz: 1f85892f3c759484a6d20d0b184d145a0c22674bc2124e584dc873a307c0496f075482f1a152157965d28dd5913340cfb7589acbf9f958e3075a7717376ce8e8
7
- data.tar.gz: 2e2b4dec66a38f191611c02e06752a1e394178f0fd1bb042d91c04dfe11d5d4c1e29c3532ef42b982002ae74d7dc26ee64d6e0761a772f943e0fd4f0d9613ebf
6
+ metadata.gz: b50a632d44e6c3e62b2638a43df27af91831db212330b91af6f1447b2607c7208d65e713e73f5fc435c6be1561ca2fbf1987d7a66b7e5bf61ed55ab686fb7c19
7
+ data.tar.gz: d498f8338b3b988be068c0ac9be2b158224729f81a19199cd61292ff26dcfc325b75f6c3eeb62c7468693feb5a670ce3df0cb83047867083704b221003eae442
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- svix (1.82.0)
4
+ svix (1.84.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -6,7 +6,6 @@ module Svix
6
6
  class ApiTokenOut
7
7
  attr_accessor :created_at
8
8
  attr_accessor :expires_at
9
- # The GlobalApplicationToken's ID.
10
9
  attr_accessor :id
11
10
  attr_accessor :name
12
11
  attr_accessor :scopes
@@ -9,6 +9,7 @@ module Svix
9
9
  SDK_GENERATE = "sdk.generate".freeze
10
10
  EVENT_TYPE_AGGREGATE = "event-type.aggregate".freeze
11
11
  APPLICATION_PURGE_CONTENT = "application.purge_content".freeze
12
+ ENDPOINT_BULK_REPLAY = "endpoint.bulk_replay".freeze
12
13
 
13
14
  def self.all_vars
14
15
  @all_vars ||= [
@@ -18,7 +19,8 @@ module Svix
18
19
  MESSAGE_BROADCAST,
19
20
  SDK_GENERATE,
20
21
  EVENT_TYPE_AGGREGATE,
21
- APPLICATION_PURGE_CONTENT
22
+ APPLICATION_PURGE_CONTENT,
23
+ ENDPOINT_BULK_REPLAY
22
24
  ].freeze
23
25
  end
24
26
 
@@ -18,6 +18,7 @@ module Svix
18
18
  attr_accessor :org_id
19
19
  attr_accessor :product_type
20
20
  attr_accessor :transformation
21
+ attr_accessor :transformation_updated_at
21
22
  # The Connector's UID.
22
23
  attr_accessor :uid
23
24
  attr_accessor :updated_at
@@ -35,6 +36,7 @@ module Svix
35
36
  "org_id",
36
37
  "product_type",
37
38
  "transformation",
39
+ "transformation_updated_at",
38
40
  "uid",
39
41
  "updated_at"
40
42
  ].freeze
@@ -70,6 +72,7 @@ module Svix
70
72
  attrs["org_id"] = attributes["orgId"]
71
73
  attrs["product_type"] = Svix::ConnectorProduct.deserialize(attributes["productType"])
72
74
  attrs["transformation"] = attributes["transformation"]
75
+ attrs["transformation_updated_at"] = DateTime.rfc3339(attributes["transformationUpdatedAt"]).to_time
73
76
  attrs["uid"] = attributes["uid"]
74
77
  attrs["updated_at"] = DateTime.rfc3339(attributes["updatedAt"]).to_time
75
78
  new(attrs)
@@ -89,6 +92,10 @@ module Svix
89
92
  out["orgId"] = Svix::serialize_primitive(@org_id) if @org_id
90
93
  out["productType"] = Svix::serialize_schema_ref(@product_type) if @product_type
91
94
  out["transformation"] = Svix::serialize_primitive(@transformation) if @transformation
95
+ if @transformation_updated_at
96
+ out["transformationUpdatedAt"] = Svix::serialize_primitive(@transformation_updated_at)
97
+ end
98
+
92
99
  out["uid"] = Svix::serialize_primitive(@uid) if @uid
93
100
  out["updatedAt"] = Svix::serialize_primitive(@updated_at) if @updated_at
94
101
  out
@@ -6,8 +6,9 @@ module Svix
6
6
  class EndpointTransformationOut
7
7
  attr_accessor :code
8
8
  attr_accessor :enabled
9
+ attr_accessor :updated_at
9
10
 
10
- ALL_FIELD ||= ["code", "enabled"].freeze
11
+ ALL_FIELD ||= ["code", "enabled", "updated_at"].freeze
11
12
  private_constant :ALL_FIELD
12
13
 
13
14
  def initialize(attributes = {})
@@ -33,6 +34,7 @@ module Svix
33
34
  attrs = Hash.new
34
35
  attrs["code"] = attributes["code"]
35
36
  attrs["enabled"] = attributes["enabled"]
37
+ attrs["updated_at"] = DateTime.rfc3339(attributes["updatedAt"]).to_time if attributes["updatedAt"]
36
38
  new(attrs)
37
39
  end
38
40
 
@@ -40,6 +42,7 @@ module Svix
40
42
  out = Hash.new
41
43
  out["code"] = Svix::serialize_primitive(@code) if @code
42
44
  out["enabled"] = Svix::serialize_primitive(@enabled) if @enabled
45
+ out["updatedAt"] = Svix::serialize_primitive(@updated_at) if @updated_at
43
46
  out
44
47
  end
45
48
 
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.82.0"
4
+ VERSION = "1.84.0"
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: svix
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.82.0
4
+ version: 1.84.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Svix
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-12-02 00:00:00.000000000 Z
10
+ date: 2025-12-29 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: rake