svix 1.83.0 → 1.84.1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dd52a9b6c78cc13fc1e6d1b075a691a5667bf9f1142a660b62335d549412d8f1
|
|
4
|
+
data.tar.gz: 2906b91957a05bcee34c59fe931354658915c69a6934dc1fb7343204dd71ccff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 42e8db088fc5000fd734adadd440db869639597f92f63cb23c6da1d781cb97cb01471bd80c2ba302922a483ef837b49fe28d9070750f1190d690a32121b86fb1
|
|
7
|
+
data.tar.gz: 1d9cec5036e966a00c0d5c02fb89877a31c32ff701e2c1eb91ae94b47e4d5c97e1aa6a1c9f0ca6e568b5258cfdb6c5204a2a1a1d147553b9a93d5e5b67208a7d
|
data/Gemfile.lock
CHANGED
|
@@ -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
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.
|
|
4
|
+
version: 1.84.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Svix
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2025-12-
|
|
10
|
+
date: 2025-12-30 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: rake
|