safetykit 0.16.0 → 0.17.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 +8 -0
- data/README.md +1 -1
- data/lib/safety_kit/models/beta/event_create_params.rb +14 -14
- data/lib/safety_kit/version.rb +1 -1
- data/rbi/safety_kit/models/beta/event_create_params.rbi +12 -14
- 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: b0ecade3f1646b38f5167b2a30723332e0690fd068445954238f877cefa931f6
|
|
4
|
+
data.tar.gz: 756251ed16bd2fc4325a64f6a8d491131c6933c1cbfc12324533072ad1ced668
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bef0b524ecd766e589ea73ed2c828c09e8bf47090c6818a3a3647ccbb0acc94232b30ffc944798ec6bfe4654933b8e62e5da56a777009e38466f042291d1c023
|
|
7
|
+
data.tar.gz: 133a4e9be9453a4d99ce72528439c6333dc8b2c867cf9576702fe1557fe3be70ffc49c6fa2fdaff9cead4c0fefd71b83674202152c5b07fcc0e2077571fcccb8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.17.0 (2026-06-03)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.16.0...v0.17.0](https://github.com/GetSafetyKit/safetykit-ruby/compare/v0.16.0...v0.17.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([f26d25e](https://github.com/GetSafetyKit/safetykit-ruby/commit/f26d25e37b4bc11b9a1947b382ce0226f03cb5c8))
|
|
10
|
+
|
|
3
11
|
## 0.16.0 (2026-06-03)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.15.0...v0.16.0](https://github.com/GetSafetyKit/safetykit-ruby/compare/v0.15.0...v0.16.0)
|
data/README.md
CHANGED
|
@@ -42,7 +42,7 @@ module SafetyKit
|
|
|
42
42
|
# A user or account profile, contact detail, payment detail, or public bio changes.
|
|
43
43
|
variant -> { SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest }
|
|
44
44
|
|
|
45
|
-
# A user-submitted report. Use user_id for the reporter, content and
|
|
45
|
+
# A user-submitted report. Use user_id for the reporter. Include target_user_id when a user is reported, target_content_id when content is reported, and both when the report is about content associated with a user. Use content and content_id for the report itself.
|
|
46
46
|
variant -> { SafetyKit::Beta::EventCreateParams::Body::UserReportEventRequest }
|
|
47
47
|
|
|
48
48
|
variant -> { SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember5Array }
|
|
@@ -1275,8 +1275,7 @@ module SafetyKit
|
|
|
1275
1275
|
-> { SafetyKit::Internal::Type::ArrayOf[SafetyKit::Beta::EventCreateParams::Body::UserReportEventRequest::ResourcesUsed] }
|
|
1276
1276
|
|
|
1277
1277
|
# @!attribute target_content_id
|
|
1278
|
-
# Your stable identifier for the
|
|
1279
|
-
# report.
|
|
1278
|
+
# Your stable identifier for the content being reported.
|
|
1280
1279
|
#
|
|
1281
1280
|
# @return [String, nil]
|
|
1282
1281
|
optional :target_content_id, String
|
|
@@ -1292,9 +1291,10 @@ module SafetyKit
|
|
|
1292
1291
|
# {SafetyKit::Models::Beta::EventCreateParams::Body::UserReportEventRequest} for
|
|
1293
1292
|
# more details.
|
|
1294
1293
|
#
|
|
1295
|
-
# A user-submitted report. Use user_id for the reporter
|
|
1296
|
-
#
|
|
1297
|
-
#
|
|
1294
|
+
# A user-submitted report. Use user_id for the reporter. Include target_user_id
|
|
1295
|
+
# when a user is reported, target_content_id when content is reported, and both
|
|
1296
|
+
# when the report is about content associated with a user. Use content and
|
|
1297
|
+
# content_id for the report itself.
|
|
1298
1298
|
#
|
|
1299
1299
|
# @param event_name [String] Stable, low-cardinality product action name. Use snake_case and put dynamic valu
|
|
1300
1300
|
#
|
|
@@ -1314,7 +1314,7 @@ module SafetyKit
|
|
|
1314
1314
|
#
|
|
1315
1315
|
# @param resources_used [Array<SafetyKit::Models::Beta::EventCreateParams::Body::UserReportEventRequest::ResourcesUsed>] Reusable resources observed during the event. Use this for emails, phone numbers
|
|
1316
1316
|
#
|
|
1317
|
-
# @param target_content_id [String] Your stable identifier for the
|
|
1317
|
+
# @param target_content_id [String] Your stable identifier for the content being reported.
|
|
1318
1318
|
#
|
|
1319
1319
|
# @param target_user_id [String] Your stable canonical identifier for the user being reported.
|
|
1320
1320
|
|
|
@@ -1556,7 +1556,7 @@ module SafetyKit
|
|
|
1556
1556
|
# A user or account profile, contact detail, payment detail, or public bio changes.
|
|
1557
1557
|
variant :update_account, -> { SafetyKit::Beta::EventCreateParams::Body::UnionMember5::UpdateAccount }
|
|
1558
1558
|
|
|
1559
|
-
# A user-submitted report. Use user_id for the reporter, content and
|
|
1559
|
+
# A user-submitted report. Use user_id for the reporter. Include target_user_id when a user is reported, target_content_id when content is reported, and both when the report is about content associated with a user. Use content and content_id for the report itself.
|
|
1560
1560
|
variant :user_report, -> { SafetyKit::Beta::EventCreateParams::Body::UnionMember5::UserReport }
|
|
1561
1561
|
|
|
1562
1562
|
class UserContact < SafetyKit::Internal::Type::BaseModel
|
|
@@ -2747,8 +2747,7 @@ module SafetyKit
|
|
|
2747
2747
|
-> { SafetyKit::Internal::Type::ArrayOf[SafetyKit::Beta::EventCreateParams::Body::UnionMember5::UserReport::ResourcesUsed] }
|
|
2748
2748
|
|
|
2749
2749
|
# @!attribute target_content_id
|
|
2750
|
-
# Your stable identifier for the
|
|
2751
|
-
# report.
|
|
2750
|
+
# Your stable identifier for the content being reported.
|
|
2752
2751
|
#
|
|
2753
2752
|
# @return [String, nil]
|
|
2754
2753
|
optional :target_content_id, String
|
|
@@ -2764,9 +2763,10 @@ module SafetyKit
|
|
|
2764
2763
|
# {SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember5::UserReport} for
|
|
2765
2764
|
# more details.
|
|
2766
2765
|
#
|
|
2767
|
-
# A user-submitted report. Use user_id for the reporter
|
|
2768
|
-
#
|
|
2769
|
-
#
|
|
2766
|
+
# A user-submitted report. Use user_id for the reporter. Include target_user_id
|
|
2767
|
+
# when a user is reported, target_content_id when content is reported, and both
|
|
2768
|
+
# when the report is about content associated with a user. Use content and
|
|
2769
|
+
# content_id for the report itself.
|
|
2770
2770
|
#
|
|
2771
2771
|
# @param event_name [String] Stable, low-cardinality product action name. Use snake_case and put dynamic valu
|
|
2772
2772
|
#
|
|
@@ -2784,7 +2784,7 @@ module SafetyKit
|
|
|
2784
2784
|
#
|
|
2785
2785
|
# @param resources_used [Array<SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember5::UserReport::ResourcesUsed>] Reusable resources observed during the event. Use this for emails, phone numbers
|
|
2786
2786
|
#
|
|
2787
|
-
# @param target_content_id [String] Your stable identifier for the
|
|
2787
|
+
# @param target_content_id [String] Your stable identifier for the content being reported.
|
|
2788
2788
|
#
|
|
2789
2789
|
# @param target_user_id [String] Your stable canonical identifier for the user being reported.
|
|
2790
2790
|
#
|
data/lib/safety_kit/version.rb
CHANGED
|
@@ -2716,8 +2716,7 @@ module SafetyKit
|
|
|
2716
2716
|
end
|
|
2717
2717
|
attr_writer :resources_used
|
|
2718
2718
|
|
|
2719
|
-
# Your stable identifier for the
|
|
2720
|
-
# report.
|
|
2719
|
+
# Your stable identifier for the content being reported.
|
|
2721
2720
|
sig { returns(T.nilable(String)) }
|
|
2722
2721
|
attr_reader :target_content_id
|
|
2723
2722
|
|
|
@@ -2731,9 +2730,10 @@ module SafetyKit
|
|
|
2731
2730
|
sig { params(target_user_id: String).void }
|
|
2732
2731
|
attr_writer :target_user_id
|
|
2733
2732
|
|
|
2734
|
-
# A user-submitted report. Use user_id for the reporter
|
|
2735
|
-
#
|
|
2736
|
-
#
|
|
2733
|
+
# A user-submitted report. Use user_id for the reporter. Include target_user_id
|
|
2734
|
+
# when a user is reported, target_content_id when content is reported, and both
|
|
2735
|
+
# when the report is about content associated with a user. Use content and
|
|
2736
|
+
# content_id for the report itself.
|
|
2737
2737
|
sig do
|
|
2738
2738
|
params(
|
|
2739
2739
|
event_name: String,
|
|
@@ -2791,8 +2791,7 @@ module SafetyKit
|
|
|
2791
2791
|
# numbers, names, addresses, social handles, URLs, payment identifiers, or similar
|
|
2792
2792
|
# identifiers.
|
|
2793
2793
|
resources_used: nil,
|
|
2794
|
-
# Your stable identifier for the
|
|
2795
|
-
# report.
|
|
2794
|
+
# Your stable identifier for the content being reported.
|
|
2796
2795
|
target_content_id: nil,
|
|
2797
2796
|
# Your stable canonical identifier for the user being reported.
|
|
2798
2797
|
target_user_id: nil
|
|
@@ -5750,8 +5749,7 @@ module SafetyKit
|
|
|
5750
5749
|
end
|
|
5751
5750
|
attr_writer :resources_used
|
|
5752
5751
|
|
|
5753
|
-
# Your stable identifier for the
|
|
5754
|
-
# report.
|
|
5752
|
+
# Your stable identifier for the content being reported.
|
|
5755
5753
|
sig { returns(T.nilable(String)) }
|
|
5756
5754
|
attr_reader :target_content_id
|
|
5757
5755
|
|
|
@@ -5765,9 +5763,10 @@ module SafetyKit
|
|
|
5765
5763
|
sig { params(target_user_id: String).void }
|
|
5766
5764
|
attr_writer :target_user_id
|
|
5767
5765
|
|
|
5768
|
-
# A user-submitted report. Use user_id for the reporter
|
|
5769
|
-
#
|
|
5770
|
-
#
|
|
5766
|
+
# A user-submitted report. Use user_id for the reporter. Include target_user_id
|
|
5767
|
+
# when a user is reported, target_content_id when content is reported, and both
|
|
5768
|
+
# when the report is about content associated with a user. Use content and
|
|
5769
|
+
# content_id for the report itself.
|
|
5771
5770
|
sig do
|
|
5772
5771
|
params(
|
|
5773
5772
|
event_name: String,
|
|
@@ -5823,8 +5822,7 @@ module SafetyKit
|
|
|
5823
5822
|
# numbers, names, addresses, social handles, URLs, payment identifiers, or similar
|
|
5824
5823
|
# identifiers.
|
|
5825
5824
|
resources_used: nil,
|
|
5826
|
-
# Your stable identifier for the
|
|
5827
|
-
# report.
|
|
5825
|
+
# Your stable identifier for the content being reported.
|
|
5828
5826
|
target_content_id: nil,
|
|
5829
5827
|
# Your stable canonical identifier for the user being reported.
|
|
5830
5828
|
target_user_id: nil,
|