oursprivacy-ingest 2.3.0 → 2.4.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 +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +1 -1
- data/lib/oursprivacy_ingest/models/batch_create_params.rb +7 -7
- data/lib/oursprivacy_ingest/models/track_event_params.rb +6 -7
- data/lib/oursprivacy_ingest/models/visitor_upsert_params.rb +6 -7
- data/lib/oursprivacy_ingest/resources/track.rb +1 -1
- data/lib/oursprivacy_ingest/resources/visitor.rb +1 -1
- data/lib/oursprivacy_ingest/version.rb +1 -1
- data/rbi/oursprivacy_ingest/models/batch_create_params.rbi +3 -9
- data/rbi/oursprivacy_ingest/models/track_event_params.rbi +3 -9
- data/rbi/oursprivacy_ingest/models/visitor_upsert_params.rbi +3 -9
- data/rbi/oursprivacy_ingest/resources/track.rbi +1 -3
- data/rbi/oursprivacy_ingest/resources/visitor.rbi +1 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 25983283fd9544f5f4c32cbff8f7101f6a5270e029d9995552d681e2e0d4b02f
|
|
4
|
+
data.tar.gz: a40fbf24b129c8172c60bc109f4c0e7c0530cf8855477123dc9115e406d54575
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2f256919f13371b43fe8b7dca1ea2a50535bf11229244d8816c5752c809abd8ad27e8bec7fee092da6a6268a776b1ce0a5c55d970a745385189cc9811a8b7465
|
|
7
|
+
data.tar.gz: 79340ab4ac7240d6bf58adf961f3c2110505c1f6c4e3d213ac5214b289f4776e3b827ba5d7ab9307bbaf821e8f733715d0863e224c29a30b143c9303d05f9fe2
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.4.0 (2026-11-13)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v2.3.0...v2.4.0](https://github.com/with-ours/ingest-sdk-ruby/compare/v2.3.0...v2.4.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** API update.
|
|
3
10
|
## 2.3.0 (2026-11-13)
|
|
4
11
|
|
|
5
12
|
Full Changelog: [v2.2.0...v2.3.0](https://github.com/with-ours/ingest-sdk-ruby/compare/v2.2.0...v2.3.0)
|
data/README.md
CHANGED
|
@@ -19,7 +19,7 @@ To use this gem, install via Bundler by adding the following to your application
|
|
|
19
19
|
<!-- x-release-please-start-version -->
|
|
20
20
|
|
|
21
21
|
```ruby
|
|
22
|
-
gem "oursprivacy-ingest", "~> 2.
|
|
22
|
+
gem "oursprivacy-ingest", "~> 2.4.0"
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
<!-- x-release-please-end -->
|
|
@@ -98,9 +98,9 @@ module OursprivacyIngest
|
|
|
98
98
|
optional :external_id, String, api_name: :externalId, nil?: true
|
|
99
99
|
|
|
100
100
|
# @!attribute identity_context
|
|
101
|
-
#
|
|
102
|
-
#
|
|
103
|
-
#
|
|
101
|
+
# @deprecated
|
|
102
|
+
#
|
|
103
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
104
104
|
#
|
|
105
105
|
# @return [OursprivacyIngest::Models::BatchCreateParams::Event::IdentityContext, nil]
|
|
106
106
|
optional :identity_context,
|
|
@@ -166,7 +166,7 @@ module OursprivacyIngest
|
|
|
166
166
|
#
|
|
167
167
|
# @param external_id [String, nil] Your system's unique identifier for this user. When visitorId is absent, we sear
|
|
168
168
|
#
|
|
169
|
-
# @param identity_context [OursprivacyIngest::Models::BatchCreateParams::Event::IdentityContext, nil]
|
|
169
|
+
# @param identity_context [OursprivacyIngest::Models::BatchCreateParams::Event::IdentityContext, nil] Deprecated and ignored. Accepted so existing clients keep working.
|
|
170
170
|
#
|
|
171
171
|
# @param time [Float, nil] The time at which the event occurred in milliseconds since UTC epoch. Times olde
|
|
172
172
|
#
|
|
@@ -1267,6 +1267,8 @@ module OursprivacyIngest
|
|
|
1267
1267
|
nil?: true]
|
|
1268
1268
|
end
|
|
1269
1269
|
|
|
1270
|
+
# @deprecated
|
|
1271
|
+
#
|
|
1270
1272
|
# @see OursprivacyIngest::Models::BatchCreateParams::Event#identity_context
|
|
1271
1273
|
class IdentityContext < OursprivacyIngest::Internal::Type::BaseModel
|
|
1272
1274
|
# @!attribute ip
|
|
@@ -1282,9 +1284,7 @@ module OursprivacyIngest
|
|
|
1282
1284
|
required :user_agent, String, api_name: :userAgent
|
|
1283
1285
|
|
|
1284
1286
|
# @!method initialize(ip:, user_agent:)
|
|
1285
|
-
#
|
|
1286
|
-
# identity resolution when the caller is a backend server rather than an end-user
|
|
1287
|
-
# browser.
|
|
1287
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
1288
1288
|
#
|
|
1289
1289
|
# @param ip [String] The end-user IP address (not the server IP).
|
|
1290
1290
|
#
|
|
@@ -81,9 +81,9 @@ module OursprivacyIngest
|
|
|
81
81
|
optional :external_id, String, api_name: :externalId, nil?: true
|
|
82
82
|
|
|
83
83
|
# @!attribute identity_context
|
|
84
|
-
#
|
|
85
|
-
#
|
|
86
|
-
#
|
|
84
|
+
# @deprecated
|
|
85
|
+
#
|
|
86
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
87
87
|
#
|
|
88
88
|
# @return [OursprivacyIngest::Models::TrackEventParams::IdentityContext, nil]
|
|
89
89
|
optional :identity_context,
|
|
@@ -151,7 +151,7 @@ module OursprivacyIngest
|
|
|
151
151
|
#
|
|
152
152
|
# @param external_id [String, nil] Your system's unique identifier for this user. When visitorId is absent, we sear
|
|
153
153
|
#
|
|
154
|
-
# @param identity_context [OursprivacyIngest::Models::TrackEventParams::IdentityContext, nil]
|
|
154
|
+
# @param identity_context [OursprivacyIngest::Models::TrackEventParams::IdentityContext, nil] Deprecated and ignored. Accepted so existing clients keep working.
|
|
155
155
|
#
|
|
156
156
|
# @param time [Float, nil] The time at which the event occurred in milliseconds since UTC epoch. Times olde
|
|
157
157
|
#
|
|
@@ -1251,6 +1251,7 @@ module OursprivacyIngest
|
|
|
1251
1251
|
nil?: true]
|
|
1252
1252
|
end
|
|
1253
1253
|
|
|
1254
|
+
# @deprecated
|
|
1254
1255
|
class IdentityContext < OursprivacyIngest::Internal::Type::BaseModel
|
|
1255
1256
|
# @!attribute ip
|
|
1256
1257
|
# The end-user IP address (not the server IP).
|
|
@@ -1265,9 +1266,7 @@ module OursprivacyIngest
|
|
|
1265
1266
|
required :user_agent, String, api_name: :userAgent
|
|
1266
1267
|
|
|
1267
1268
|
# @!method initialize(ip:, user_agent:)
|
|
1268
|
-
#
|
|
1269
|
-
# identity resolution when the caller is a backend server rather than an end-user
|
|
1270
|
-
# browser.
|
|
1269
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
1271
1270
|
#
|
|
1272
1271
|
# @param ip [String] The end-user IP address (not the server IP).
|
|
1273
1272
|
#
|
|
@@ -56,9 +56,9 @@ module OursprivacyIngest
|
|
|
56
56
|
optional :external_id, String, api_name: :externalId, nil?: true
|
|
57
57
|
|
|
58
58
|
# @!attribute identity_context
|
|
59
|
-
#
|
|
60
|
-
#
|
|
61
|
-
#
|
|
59
|
+
# @deprecated
|
|
60
|
+
#
|
|
61
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
62
62
|
#
|
|
63
63
|
# @return [OursprivacyIngest::Models::VisitorUpsertParams::IdentityContext, nil]
|
|
64
64
|
optional :identity_context,
|
|
@@ -104,7 +104,7 @@ module OursprivacyIngest
|
|
|
104
104
|
#
|
|
105
105
|
# @param external_id [String, nil] Your system's unique identifier for this user. When visitorId is absent, we sear
|
|
106
106
|
#
|
|
107
|
-
# @param identity_context [OursprivacyIngest::Models::VisitorUpsertParams::IdentityContext, nil]
|
|
107
|
+
# @param identity_context [OursprivacyIngest::Models::VisitorUpsertParams::IdentityContext, nil] Deprecated and ignored. Accepted so existing clients keep working.
|
|
108
108
|
#
|
|
109
109
|
# @param user_id [String, nil] The Ours Visitor ID stored in local storage and cookies on your web properties.
|
|
110
110
|
#
|
|
@@ -2151,6 +2151,7 @@ module OursprivacyIngest
|
|
|
2151
2151
|
end
|
|
2152
2152
|
end
|
|
2153
2153
|
|
|
2154
|
+
# @deprecated
|
|
2154
2155
|
class IdentityContext < OursprivacyIngest::Internal::Type::BaseModel
|
|
2155
2156
|
# @!attribute ip
|
|
2156
2157
|
# The end-user IP address (not the server IP).
|
|
@@ -2165,9 +2166,7 @@ module OursprivacyIngest
|
|
|
2165
2166
|
required :user_agent, String, api_name: :userAgent
|
|
2166
2167
|
|
|
2167
2168
|
# @!method initialize(ip:, user_agent:)
|
|
2168
|
-
#
|
|
2169
|
-
# identity resolution when the caller is a backend server rather than an end-user
|
|
2170
|
-
# browser.
|
|
2169
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
2171
2170
|
#
|
|
2172
2171
|
# @param ip [String] The end-user IP address (not the server IP).
|
|
2173
2172
|
#
|
|
@@ -35,7 +35,7 @@ module OursprivacyIngest
|
|
|
35
35
|
#
|
|
36
36
|
# @param external_id [String, nil] Your system's unique identifier for this user. When visitorId is absent, we sear
|
|
37
37
|
#
|
|
38
|
-
# @param identity_context [OursprivacyIngest::Models::TrackEventParams::IdentityContext, nil]
|
|
38
|
+
# @param identity_context [OursprivacyIngest::Models::TrackEventParams::IdentityContext, nil] Deprecated and ignored. Accepted so existing clients keep working.
|
|
39
39
|
#
|
|
40
40
|
# @param time [Float, nil] The time at which the event occurred in milliseconds since UTC epoch. Times olde
|
|
41
41
|
#
|
|
@@ -32,7 +32,7 @@ module OursprivacyIngest
|
|
|
32
32
|
#
|
|
33
33
|
# @param external_id [String, nil] Your system's unique identifier for this user. When visitorId is absent, we sear
|
|
34
34
|
#
|
|
35
|
-
# @param identity_context [OursprivacyIngest::Models::VisitorUpsertParams::IdentityContext, nil]
|
|
35
|
+
# @param identity_context [OursprivacyIngest::Models::VisitorUpsertParams::IdentityContext, nil] Deprecated and ignored. Accepted so existing clients keep working.
|
|
36
36
|
#
|
|
37
37
|
# @param user_id [String, nil] The Ours Visitor ID stored in local storage and cookies on your web properties.
|
|
38
38
|
#
|
|
@@ -132,9 +132,7 @@ module OursprivacyIngest
|
|
|
132
132
|
sig { returns(T.nilable(String)) }
|
|
133
133
|
attr_accessor :external_id
|
|
134
134
|
|
|
135
|
-
#
|
|
136
|
-
# identity resolution when the caller is a backend server rather than an end-user
|
|
137
|
-
# browser.
|
|
135
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
138
136
|
sig do
|
|
139
137
|
returns(
|
|
140
138
|
T.nilable(
|
|
@@ -264,9 +262,7 @@ module OursprivacyIngest
|
|
|
264
262
|
# validation; clients should send a string. Leading and trailing whitespace is
|
|
265
263
|
# removed before validation.
|
|
266
264
|
external_id: nil,
|
|
267
|
-
#
|
|
268
|
-
# identity resolution when the caller is a backend server rather than an end-user
|
|
269
|
-
# browser.
|
|
265
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
270
266
|
identity_context: nil,
|
|
271
267
|
# The time at which the event occurred in milliseconds since UTC epoch. Times
|
|
272
268
|
# older than one year are recorded as exactly one year ago, and future times as
|
|
@@ -1769,9 +1765,7 @@ module OursprivacyIngest
|
|
|
1769
1765
|
sig { returns(String) }
|
|
1770
1766
|
attr_accessor :user_agent
|
|
1771
1767
|
|
|
1772
|
-
#
|
|
1773
|
-
# identity resolution when the caller is a backend server rather than an end-user
|
|
1774
|
-
# browser.
|
|
1768
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
1775
1769
|
sig do
|
|
1776
1770
|
params(ip: String, user_agent: String).returns(T.attached_class)
|
|
1777
1771
|
end
|
|
@@ -89,9 +89,7 @@ module OursprivacyIngest
|
|
|
89
89
|
sig { returns(T.nilable(String)) }
|
|
90
90
|
attr_accessor :external_id
|
|
91
91
|
|
|
92
|
-
#
|
|
93
|
-
# identity resolution when the caller is a backend server rather than an end-user
|
|
94
|
-
# browser.
|
|
92
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
95
93
|
sig do
|
|
96
94
|
returns(T.nilable(OursprivacyIngest::TrackEventParams::IdentityContext))
|
|
97
95
|
end
|
|
@@ -219,9 +217,7 @@ module OursprivacyIngest
|
|
|
219
217
|
# validation; clients should send a string. Leading and trailing whitespace is
|
|
220
218
|
# removed before validation.
|
|
221
219
|
external_id: nil,
|
|
222
|
-
#
|
|
223
|
-
# identity resolution when the caller is a backend server rather than an end-user
|
|
224
|
-
# browser.
|
|
220
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
225
221
|
identity_context: nil,
|
|
226
222
|
# The time at which the event occurred in milliseconds since UTC epoch. Times
|
|
227
223
|
# older than one year are recorded as exactly one year ago, and future times as
|
|
@@ -1721,9 +1717,7 @@ module OursprivacyIngest
|
|
|
1721
1717
|
sig { returns(String) }
|
|
1722
1718
|
attr_accessor :user_agent
|
|
1723
1719
|
|
|
1724
|
-
#
|
|
1725
|
-
# identity resolution when the caller is a backend server rather than an end-user
|
|
1726
|
-
# browser.
|
|
1720
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
1727
1721
|
sig { params(ip: String, user_agent: String).returns(T.attached_class) }
|
|
1728
1722
|
def self.new(
|
|
1729
1723
|
# The end-user IP address (not the server IP).
|
|
@@ -69,9 +69,7 @@ module OursprivacyIngest
|
|
|
69
69
|
sig { returns(T.nilable(String)) }
|
|
70
70
|
attr_accessor :external_id
|
|
71
71
|
|
|
72
|
-
#
|
|
73
|
-
# identity resolution when the caller is a backend server rather than an end-user
|
|
74
|
-
# browser.
|
|
72
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
75
73
|
sig do
|
|
76
74
|
returns(
|
|
77
75
|
T.nilable(OursprivacyIngest::VisitorUpsertParams::IdentityContext)
|
|
@@ -151,9 +149,7 @@ module OursprivacyIngest
|
|
|
151
149
|
# validation; clients should send a string. Leading and trailing whitespace is
|
|
152
150
|
# removed before validation.
|
|
153
151
|
external_id: nil,
|
|
154
|
-
#
|
|
155
|
-
# identity resolution when the caller is a backend server rather than an end-user
|
|
156
|
-
# browser.
|
|
152
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
157
153
|
identity_context: nil,
|
|
158
154
|
# The Ours Visitor ID stored in local storage and cookies on your web properties.
|
|
159
155
|
# When present, this is used directly — no lookup by externalId, email, or phone
|
|
@@ -2918,9 +2914,7 @@ module OursprivacyIngest
|
|
|
2918
2914
|
sig { returns(String) }
|
|
2919
2915
|
attr_accessor :user_agent
|
|
2920
2916
|
|
|
2921
|
-
#
|
|
2922
|
-
# identity resolution when the caller is a backend server rather than an end-user
|
|
2923
|
-
# browser.
|
|
2917
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
2924
2918
|
sig { params(ip: String, user_agent: String).returns(T.attached_class) }
|
|
2925
2919
|
def self.new(
|
|
2926
2920
|
# The end-user IP address (not the server IP).
|
|
@@ -86,9 +86,7 @@ module OursprivacyIngest
|
|
|
86
86
|
# validation; clients should send a string. Leading and trailing whitespace is
|
|
87
87
|
# removed before validation.
|
|
88
88
|
external_id: nil,
|
|
89
|
-
#
|
|
90
|
-
# identity resolution when the caller is a backend server rather than an end-user
|
|
91
|
-
# browser.
|
|
89
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
92
90
|
identity_context: nil,
|
|
93
91
|
# The time at which the event occurred in milliseconds since UTC epoch. Times
|
|
94
92
|
# older than one year are recorded as exactly one year ago, and future times as
|
|
@@ -60,9 +60,7 @@ module OursprivacyIngest
|
|
|
60
60
|
# validation; clients should send a string. Leading and trailing whitespace is
|
|
61
61
|
# removed before validation.
|
|
62
62
|
external_id: nil,
|
|
63
|
-
#
|
|
64
|
-
# identity resolution when the caller is a backend server rather than an end-user
|
|
65
|
-
# browser.
|
|
63
|
+
# Deprecated and ignored. Accepted so existing clients keep working.
|
|
66
64
|
identity_context: nil,
|
|
67
65
|
# The Ours Visitor ID stored in local storage and cookies on your web properties.
|
|
68
66
|
# When present, this is used directly — no lookup by externalId, email, or phone
|