safetykit 0.22.0 → 0.24.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 +16 -0
- data/README.md +1 -1
- data/lib/safety_kit/models/beta/event_create_params.rb +12 -14
- data/lib/safety_kit/version.rb +1 -1
- data/rbi/safety_kit/models/beta/event_create_params.rbi +18 -22
- 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: 1dd1eaa679268c2bc71b3526c371fee2aa4268be1e718a6f9d4d3ba6542909bb
|
|
4
|
+
data.tar.gz: 12e815385ff4f54e556ba9ab40bf6860a33c22519af7da9a02674ad079d32be8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 630392c2423d7e9f703f234c3bf1152bcf8a8f947c50aae4bbc967c659365464518359fd27e8aebff052c8b346db01abc6e96bbb56b8957c68f7df4754f3bd49
|
|
7
|
+
data.tar.gz: 045e3a538378d2e174ab9f4be64821f040d2161eaa616d369d3ab9b182ae688f5769f95c3c56e438059f9c48a17eede8a8c944c4dc882d1f1ea155fbfadd7cb1
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.24.0 (2026-06-09)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.23.0...v0.24.0](https://github.com/GetSafetyKit/safetykit-ruby/compare/v0.23.0...v0.24.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([a0f495f](https://github.com/GetSafetyKit/safetykit-ruby/commit/a0f495f347543d2108866e7f33e0bdb94d295322))
|
|
10
|
+
|
|
11
|
+
## 0.23.0 (2026-06-09)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.22.0...v0.23.0](https://github.com/GetSafetyKit/safetykit-ruby/compare/v0.22.0...v0.23.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([e094686](https://github.com/GetSafetyKit/safetykit-ruby/commit/e09468636d83ce7137e5df336b83c4276299ed67))
|
|
18
|
+
|
|
3
19
|
## 0.22.0 (2026-06-09)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v0.21.0...v0.22.0](https://github.com/GetSafetyKit/safetykit-ruby/compare/v0.21.0...v0.22.0)
|
data/README.md
CHANGED
|
@@ -1602,10 +1602,9 @@ module SafetyKit
|
|
|
1602
1602
|
-> { SafetyKit::Internal::Type::ArrayOf[SafetyKit::Beta::EventCreateParams::Body::ModerationDecisionEventRequest::Label] }
|
|
1603
1603
|
|
|
1604
1604
|
# @!attribute source_id
|
|
1605
|
-
# Stable identifier within source_type. Examples:
|
|
1606
|
-
#
|
|
1607
|
-
# automated_review_v2026_06_04 for automation, or
|
|
1608
|
-
# vendor. Use stable opaque IDs rather than vendor names.
|
|
1605
|
+
# Stable identifier within source_type. Examples: moderator@example.com or
|
|
1606
|
+
# 550e8400-e29b-41d4-a716-446655440000 for expert_labeler or human_moderator,
|
|
1607
|
+
# automated_review_v2026_06_04 for automation, or <vendor_name>-v2.1 for vendor.
|
|
1609
1608
|
#
|
|
1610
1609
|
# @return [String]
|
|
1611
1610
|
required :source_id, String
|
|
@@ -1613,7 +1612,7 @@ module SafetyKit
|
|
|
1613
1612
|
# @!attribute source_type
|
|
1614
1613
|
# Coarse attribution category for the moderation decision source. Supported
|
|
1615
1614
|
# values: human_moderator (a human reviewer in your moderation workflow),
|
|
1616
|
-
# expert_labeler (
|
|
1615
|
+
# expert_labeler (an expert human labeler or specialist reviewer), automation (an
|
|
1617
1616
|
# automated model, rules engine, or enforcement workflow), or vendor (an external
|
|
1618
1617
|
# review or moderation provider).
|
|
1619
1618
|
#
|
|
@@ -1698,7 +1697,7 @@ module SafetyKit
|
|
|
1698
1697
|
#
|
|
1699
1698
|
# @param labels [Array<SafetyKit::Models::Beta::EventCreateParams::Body::ModerationDecisionEventRequest::Label>] One or more label categories supplied with the report.
|
|
1700
1699
|
#
|
|
1701
|
-
# @param source_id [String] Stable identifier within source_type. Examples:
|
|
1700
|
+
# @param source_id [String] Stable identifier within source_type. Examples: moderator@example.com or 550e840
|
|
1702
1701
|
#
|
|
1703
1702
|
# @param source_type [Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::ModerationDecisionEventRequest::SourceType] Coarse attribution category for the moderation decision source. Supported values
|
|
1704
1703
|
#
|
|
@@ -1735,7 +1734,7 @@ module SafetyKit
|
|
|
1735
1734
|
|
|
1736
1735
|
# Coarse attribution category for the moderation decision source. Supported
|
|
1737
1736
|
# values: human_moderator (a human reviewer in your moderation workflow),
|
|
1738
|
-
# expert_labeler (
|
|
1737
|
+
# expert_labeler (an expert human labeler or specialist reviewer), automation (an
|
|
1739
1738
|
# automated model, rules engine, or enforcement workflow), or vendor (an external
|
|
1740
1739
|
# review or moderation provider).
|
|
1741
1740
|
#
|
|
@@ -3486,10 +3485,9 @@ module SafetyKit
|
|
|
3486
3485
|
-> { SafetyKit::Internal::Type::ArrayOf[SafetyKit::Beta::EventCreateParams::Body::UnionMember6::ModerationDecision::Label] }
|
|
3487
3486
|
|
|
3488
3487
|
# @!attribute source_id
|
|
3489
|
-
# Stable identifier within source_type. Examples:
|
|
3490
|
-
#
|
|
3491
|
-
# automated_review_v2026_06_04 for automation, or
|
|
3492
|
-
# vendor. Use stable opaque IDs rather than vendor names.
|
|
3488
|
+
# Stable identifier within source_type. Examples: moderator@example.com or
|
|
3489
|
+
# 550e8400-e29b-41d4-a716-446655440000 for expert_labeler or human_moderator,
|
|
3490
|
+
# automated_review_v2026_06_04 for automation, or <vendor_name>-v2.1 for vendor.
|
|
3493
3491
|
#
|
|
3494
3492
|
# @return [String]
|
|
3495
3493
|
required :source_id, String
|
|
@@ -3497,7 +3495,7 @@ module SafetyKit
|
|
|
3497
3495
|
# @!attribute source_type
|
|
3498
3496
|
# Coarse attribution category for the moderation decision source. Supported
|
|
3499
3497
|
# values: human_moderator (a human reviewer in your moderation workflow),
|
|
3500
|
-
# expert_labeler (
|
|
3498
|
+
# expert_labeler (an expert human labeler or specialist reviewer), automation (an
|
|
3501
3499
|
# automated model, rules engine, or enforcement workflow), or vendor (an external
|
|
3502
3500
|
# review or moderation provider).
|
|
3503
3501
|
#
|
|
@@ -3581,7 +3579,7 @@ module SafetyKit
|
|
|
3581
3579
|
#
|
|
3582
3580
|
# @param labels [Array<SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember6::ModerationDecision::Label>] One or more label categories supplied with the report.
|
|
3583
3581
|
#
|
|
3584
|
-
# @param source_id [String] Stable identifier within source_type. Examples:
|
|
3582
|
+
# @param source_id [String] Stable identifier within source_type. Examples: moderator@example.com or 550e840
|
|
3585
3583
|
#
|
|
3586
3584
|
# @param source_type [Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember6::ModerationDecision::SourceType] Coarse attribution category for the moderation decision source. Supported values
|
|
3587
3585
|
#
|
|
@@ -3618,7 +3616,7 @@ module SafetyKit
|
|
|
3618
3616
|
|
|
3619
3617
|
# Coarse attribution category for the moderation decision source. Supported
|
|
3620
3618
|
# values: human_moderator (a human reviewer in your moderation workflow),
|
|
3621
|
-
# expert_labeler (
|
|
3619
|
+
# expert_labeler (an expert human labeler or specialist reviewer), automation (an
|
|
3622
3620
|
# automated model, rules engine, or enforcement workflow), or vendor (an external
|
|
3623
3621
|
# review or moderation provider).
|
|
3624
3622
|
#
|
data/lib/safety_kit/version.rb
CHANGED
|
@@ -3376,16 +3376,15 @@ module SafetyKit
|
|
|
3376
3376
|
end
|
|
3377
3377
|
attr_accessor :labels
|
|
3378
3378
|
|
|
3379
|
-
# Stable identifier within source_type. Examples:
|
|
3380
|
-
#
|
|
3381
|
-
# automated_review_v2026_06_04 for automation, or
|
|
3382
|
-
# vendor. Use stable opaque IDs rather than vendor names.
|
|
3379
|
+
# Stable identifier within source_type. Examples: moderator@example.com or
|
|
3380
|
+
# 550e8400-e29b-41d4-a716-446655440000 for expert_labeler or human_moderator,
|
|
3381
|
+
# automated_review_v2026_06_04 for automation, or <vendor_name>-v2.1 for vendor.
|
|
3383
3382
|
sig { returns(String) }
|
|
3384
3383
|
attr_accessor :source_id
|
|
3385
3384
|
|
|
3386
3385
|
# Coarse attribution category for the moderation decision source. Supported
|
|
3387
3386
|
# values: human_moderator (a human reviewer in your moderation workflow),
|
|
3388
|
-
# expert_labeler (
|
|
3387
|
+
# expert_labeler (an expert human labeler or specialist reviewer), automation (an
|
|
3389
3388
|
# automated model, rules engine, or enforcement workflow), or vendor (an external
|
|
3390
3389
|
# review or moderation provider).
|
|
3391
3390
|
sig do
|
|
@@ -3559,14 +3558,13 @@ module SafetyKit
|
|
|
3559
3558
|
event_name:,
|
|
3560
3559
|
# One or more label categories supplied with the report.
|
|
3561
3560
|
labels:,
|
|
3562
|
-
# Stable identifier within source_type. Examples:
|
|
3563
|
-
#
|
|
3564
|
-
# automated_review_v2026_06_04 for automation, or
|
|
3565
|
-
# vendor. Use stable opaque IDs rather than vendor names.
|
|
3561
|
+
# Stable identifier within source_type. Examples: moderator@example.com or
|
|
3562
|
+
# 550e8400-e29b-41d4-a716-446655440000 for expert_labeler or human_moderator,
|
|
3563
|
+
# automated_review_v2026_06_04 for automation, or <vendor_name>-v2.1 for vendor.
|
|
3566
3564
|
source_id:,
|
|
3567
3565
|
# Coarse attribution category for the moderation decision source. Supported
|
|
3568
3566
|
# values: human_moderator (a human reviewer in your moderation workflow),
|
|
3569
|
-
# expert_labeler (
|
|
3567
|
+
# expert_labeler (an expert human labeler or specialist reviewer), automation (an
|
|
3570
3568
|
# automated model, rules engine, or enforcement workflow), or vendor (an external
|
|
3571
3569
|
# review or moderation provider).
|
|
3572
3570
|
source_type:,
|
|
@@ -3665,7 +3663,7 @@ module SafetyKit
|
|
|
3665
3663
|
|
|
3666
3664
|
# Coarse attribution category for the moderation decision source. Supported
|
|
3667
3665
|
# values: human_moderator (a human reviewer in your moderation workflow),
|
|
3668
|
-
# expert_labeler (
|
|
3666
|
+
# expert_labeler (an expert human labeler or specialist reviewer), automation (an
|
|
3669
3667
|
# automated model, rules engine, or enforcement workflow), or vendor (an external
|
|
3670
3668
|
# review or moderation provider).
|
|
3671
3669
|
module SourceType
|
|
@@ -7223,16 +7221,15 @@ module SafetyKit
|
|
|
7223
7221
|
end
|
|
7224
7222
|
attr_accessor :labels
|
|
7225
7223
|
|
|
7226
|
-
# Stable identifier within source_type. Examples:
|
|
7227
|
-
#
|
|
7228
|
-
# automated_review_v2026_06_04 for automation, or
|
|
7229
|
-
# vendor. Use stable opaque IDs rather than vendor names.
|
|
7224
|
+
# Stable identifier within source_type. Examples: moderator@example.com or
|
|
7225
|
+
# 550e8400-e29b-41d4-a716-446655440000 for expert_labeler or human_moderator,
|
|
7226
|
+
# automated_review_v2026_06_04 for automation, or <vendor_name>-v2.1 for vendor.
|
|
7230
7227
|
sig { returns(String) }
|
|
7231
7228
|
attr_accessor :source_id
|
|
7232
7229
|
|
|
7233
7230
|
# Coarse attribution category for the moderation decision source. Supported
|
|
7234
7231
|
# values: human_moderator (a human reviewer in your moderation workflow),
|
|
7235
|
-
# expert_labeler (
|
|
7232
|
+
# expert_labeler (an expert human labeler or specialist reviewer), automation (an
|
|
7236
7233
|
# automated model, rules engine, or enforcement workflow), or vendor (an external
|
|
7237
7234
|
# review or moderation provider).
|
|
7238
7235
|
sig do
|
|
@@ -7401,14 +7398,13 @@ module SafetyKit
|
|
|
7401
7398
|
event_name:,
|
|
7402
7399
|
# One or more label categories supplied with the report.
|
|
7403
7400
|
labels:,
|
|
7404
|
-
# Stable identifier within source_type. Examples:
|
|
7405
|
-
#
|
|
7406
|
-
# automated_review_v2026_06_04 for automation, or
|
|
7407
|
-
# vendor. Use stable opaque IDs rather than vendor names.
|
|
7401
|
+
# Stable identifier within source_type. Examples: moderator@example.com or
|
|
7402
|
+
# 550e8400-e29b-41d4-a716-446655440000 for expert_labeler or human_moderator,
|
|
7403
|
+
# automated_review_v2026_06_04 for automation, or <vendor_name>-v2.1 for vendor.
|
|
7408
7404
|
source_id:,
|
|
7409
7405
|
# Coarse attribution category for the moderation decision source. Supported
|
|
7410
7406
|
# values: human_moderator (a human reviewer in your moderation workflow),
|
|
7411
|
-
# expert_labeler (
|
|
7407
|
+
# expert_labeler (an expert human labeler or specialist reviewer), automation (an
|
|
7412
7408
|
# automated model, rules engine, or enforcement workflow), or vendor (an external
|
|
7413
7409
|
# review or moderation provider).
|
|
7414
7410
|
source_type:,
|
|
@@ -7506,7 +7502,7 @@ module SafetyKit
|
|
|
7506
7502
|
|
|
7507
7503
|
# Coarse attribution category for the moderation decision source. Supported
|
|
7508
7504
|
# values: human_moderator (a human reviewer in your moderation workflow),
|
|
7509
|
-
# expert_labeler (
|
|
7505
|
+
# expert_labeler (an expert human labeler or specialist reviewer), automation (an
|
|
7510
7506
|
# automated model, rules engine, or enforcement workflow), or vendor (an external
|
|
7511
7507
|
# review or moderation provider).
|
|
7512
7508
|
module SourceType
|