moderation_api 2.21.0 → 2.22.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/moderation_api/models/webhook_event.rb +40 -4
- data/lib/moderation_api/version.rb +1 -1
- data/rbi/moderation_api/models/webhook_event.rbi +40 -0
- data/sig/moderation_api/models/webhook_event.rbs +20 -0
- 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: 702ad6b875faa58c838f59c5232b99a125ed63502886583bbfa3236e0e447bb2
|
|
4
|
+
data.tar.gz: c7c420f51bf7be8c8f5442b854f4061df43ae5ffa343303d60db1855ac5beb68
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4428e4355dc7b2b8e9b5bcf0a2929c36eb5078d02812dff5f1f52d932a38303b5d8bac87167d968475035a5919e037037fe71d4790ad464bee2f90f67460e2fe
|
|
7
|
+
data.tar.gz: 1383d052a974cf8fbfa1c00f800b1cc7cb2e47790b5efeb517792d97e099d2e800711ac8280f56bdbf37c70ceb6a6220f0b4b8c8be596c8c0f321c769bed0927
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.22.0 (2026-06-02)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v2.21.0...v2.22.0](https://github.com/moderation-api/sdk-ruby/compare/v2.21.0...v2.22.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([f04cbbf](https://github.com/moderation-api/sdk-ruby/commit/f04cbbf7be3373c6a08b3e0192e5ba45690e962f))
|
|
10
|
+
|
|
3
11
|
## 2.21.0 (2026-06-02)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v2.20.0...v2.21.0](https://github.com/moderation-api/sdk-ruby/compare/v2.20.0...v2.21.0)
|
data/README.md
CHANGED
|
@@ -2464,6 +2464,13 @@ module ModerationAPI
|
|
|
2464
2464
|
# @return [Boolean, nil]
|
|
2465
2465
|
required :flagged, ModerationAPI::Internal::Type::Boolean, nil?: true
|
|
2466
2466
|
|
|
2467
|
+
# @!attribute flagged_fields
|
|
2468
|
+
# For object content, the field keys (e.g. "bio") that triggered a flag. Empty
|
|
2469
|
+
# when no fields were flagged or the content is not an object.
|
|
2470
|
+
#
|
|
2471
|
+
# @return [Array<String>]
|
|
2472
|
+
required :flagged_fields, ModerationAPI::Internal::Type::ArrayOf[String]
|
|
2473
|
+
|
|
2467
2474
|
# @!attribute labels
|
|
2468
2475
|
# Moderation labels applied to the content
|
|
2469
2476
|
#
|
|
@@ -2506,7 +2513,7 @@ module ModerationAPI
|
|
|
2506
2513
|
# @return [Time]
|
|
2507
2514
|
required :timestamp, Time
|
|
2508
2515
|
|
|
2509
|
-
# @!method initialize(id:, author_id:, channel_key:, client_action:, content:, conversation_id:, flagged:, labels:, language:, meta_type:, metadata:, timestamp:)
|
|
2516
|
+
# @!method initialize(id:, author_id:, channel_key:, client_action:, content:, conversation_id:, flagged:, flagged_fields:, labels:, language:, meta_type:, metadata:, timestamp:)
|
|
2510
2517
|
# Some parameter documentations has been truncated, see
|
|
2511
2518
|
# {ModerationAPI::Models::WebhookEvent::QueueItemResolved::Data::Object::Item} for
|
|
2512
2519
|
# more details.
|
|
@@ -2525,6 +2532,8 @@ module ModerationAPI
|
|
|
2525
2532
|
#
|
|
2526
2533
|
# @param flagged [Boolean, nil] Whether the content was flagged by moderation
|
|
2527
2534
|
#
|
|
2535
|
+
# @param flagged_fields [Array<String>] For object content, the field keys (e.g. "bio") that triggered a flag. Empty whe
|
|
2536
|
+
#
|
|
2528
2537
|
# @param labels [Array<ModerationAPI::Models::WebhookEvent::QueueItemResolved::Data::Object::Item::Label>, nil] Moderation labels applied to the content
|
|
2529
2538
|
#
|
|
2530
2539
|
# @param language [String, nil] Detected ISO language code, if available
|
|
@@ -3810,6 +3819,13 @@ module ModerationAPI
|
|
|
3810
3819
|
# @return [Boolean, nil]
|
|
3811
3820
|
required :flagged, ModerationAPI::Internal::Type::Boolean, nil?: true
|
|
3812
3821
|
|
|
3822
|
+
# @!attribute flagged_fields
|
|
3823
|
+
# For object content, the field keys (e.g. "bio") that triggered a flag. Empty
|
|
3824
|
+
# when no fields were flagged or the content is not an object.
|
|
3825
|
+
#
|
|
3826
|
+
# @return [Array<String>]
|
|
3827
|
+
required :flagged_fields, ModerationAPI::Internal::Type::ArrayOf[String]
|
|
3828
|
+
|
|
3813
3829
|
# @!attribute labels
|
|
3814
3830
|
# Moderation labels applied to the content
|
|
3815
3831
|
#
|
|
@@ -3852,7 +3868,7 @@ module ModerationAPI
|
|
|
3852
3868
|
# @return [Time]
|
|
3853
3869
|
required :timestamp, Time
|
|
3854
3870
|
|
|
3855
|
-
# @!method initialize(id:, author_id:, channel_key:, client_action:, content:, conversation_id:, flagged:, labels:, language:, meta_type:, metadata:, timestamp:)
|
|
3871
|
+
# @!method initialize(id:, author_id:, channel_key:, client_action:, content:, conversation_id:, flagged:, flagged_fields:, labels:, language:, meta_type:, metadata:, timestamp:)
|
|
3856
3872
|
# Some parameter documentations has been truncated, see
|
|
3857
3873
|
# {ModerationAPI::Models::WebhookEvent::QueueItemAction::Data::Object::Item} for
|
|
3858
3874
|
# more details.
|
|
@@ -3873,6 +3889,8 @@ module ModerationAPI
|
|
|
3873
3889
|
#
|
|
3874
3890
|
# @param flagged [Boolean, nil] Whether the content was flagged by moderation
|
|
3875
3891
|
#
|
|
3892
|
+
# @param flagged_fields [Array<String>] For object content, the field keys (e.g. "bio") that triggered a flag. Empty whe
|
|
3893
|
+
#
|
|
3876
3894
|
# @param labels [Array<ModerationAPI::Models::WebhookEvent::QueueItemAction::Data::Object::Item::Label>, nil] Moderation labels applied to the content
|
|
3877
3895
|
#
|
|
3878
3896
|
# @param language [String, nil] Detected ISO language code, if available
|
|
@@ -4879,6 +4897,13 @@ module ModerationAPI
|
|
|
4879
4897
|
# @return [Boolean, nil]
|
|
4880
4898
|
required :flagged, ModerationAPI::Internal::Type::Boolean, nil?: true
|
|
4881
4899
|
|
|
4900
|
+
# @!attribute flagged_fields
|
|
4901
|
+
# For object content, the field keys (e.g. "bio") that triggered a flag. Empty
|
|
4902
|
+
# when no fields were flagged or the content is not an object.
|
|
4903
|
+
#
|
|
4904
|
+
# @return [Array<String>]
|
|
4905
|
+
required :flagged_fields, ModerationAPI::Internal::Type::ArrayOf[String]
|
|
4906
|
+
|
|
4882
4907
|
# @!attribute labels
|
|
4883
4908
|
# Moderation labels applied to the content
|
|
4884
4909
|
#
|
|
@@ -4921,7 +4946,7 @@ module ModerationAPI
|
|
|
4921
4946
|
# @return [Time]
|
|
4922
4947
|
required :timestamp, Time
|
|
4923
4948
|
|
|
4924
|
-
# @!method initialize(id:, author_id:, channel_key:, client_action:, content:, conversation_id:, flagged:, labels:, language:, meta_type:, metadata:, timestamp:)
|
|
4949
|
+
# @!method initialize(id:, author_id:, channel_key:, client_action:, content:, conversation_id:, flagged:, flagged_fields:, labels:, language:, meta_type:, metadata:, timestamp:)
|
|
4925
4950
|
# Some parameter documentations has been truncated, see
|
|
4926
4951
|
# {ModerationAPI::Models::WebhookEvent::QueueItemRejected::Data::Object::Item} for
|
|
4927
4952
|
# more details.
|
|
@@ -4942,6 +4967,8 @@ module ModerationAPI
|
|
|
4942
4967
|
#
|
|
4943
4968
|
# @param flagged [Boolean, nil] Whether the content was flagged by moderation
|
|
4944
4969
|
#
|
|
4970
|
+
# @param flagged_fields [Array<String>] For object content, the field keys (e.g. "bio") that triggered a flag. Empty whe
|
|
4971
|
+
#
|
|
4945
4972
|
# @param labels [Array<ModerationAPI::Models::WebhookEvent::QueueItemRejected::Data::Object::Item::Label>, nil] Moderation labels applied to the content
|
|
4946
4973
|
#
|
|
4947
4974
|
# @param language [String, nil] Detected ISO language code, if available
|
|
@@ -5945,6 +5972,13 @@ module ModerationAPI
|
|
|
5945
5972
|
# @return [Boolean, nil]
|
|
5946
5973
|
required :flagged, ModerationAPI::Internal::Type::Boolean, nil?: true
|
|
5947
5974
|
|
|
5975
|
+
# @!attribute flagged_fields
|
|
5976
|
+
# For object content, the field keys (e.g. "bio") that triggered a flag. Empty
|
|
5977
|
+
# when no fields were flagged or the content is not an object.
|
|
5978
|
+
#
|
|
5979
|
+
# @return [Array<String>]
|
|
5980
|
+
required :flagged_fields, ModerationAPI::Internal::Type::ArrayOf[String]
|
|
5981
|
+
|
|
5948
5982
|
# @!attribute labels
|
|
5949
5983
|
# Moderation labels applied to the content
|
|
5950
5984
|
#
|
|
@@ -5987,7 +6021,7 @@ module ModerationAPI
|
|
|
5987
6021
|
# @return [Time]
|
|
5988
6022
|
required :timestamp, Time
|
|
5989
6023
|
|
|
5990
|
-
# @!method initialize(id:, author_id:, channel_key:, client_action:, content:, conversation_id:, flagged:, labels:, language:, meta_type:, metadata:, timestamp:)
|
|
6024
|
+
# @!method initialize(id:, author_id:, channel_key:, client_action:, content:, conversation_id:, flagged:, flagged_fields:, labels:, language:, meta_type:, metadata:, timestamp:)
|
|
5991
6025
|
# Some parameter documentations has been truncated, see
|
|
5992
6026
|
# {ModerationAPI::Models::WebhookEvent::QueueItemAllowed::Data::Object::Item} for
|
|
5993
6027
|
# more details.
|
|
@@ -6008,6 +6042,8 @@ module ModerationAPI
|
|
|
6008
6042
|
#
|
|
6009
6043
|
# @param flagged [Boolean, nil] Whether the content was flagged by moderation
|
|
6010
6044
|
#
|
|
6045
|
+
# @param flagged_fields [Array<String>] For object content, the field keys (e.g. "bio") that triggered a flag. Empty whe
|
|
6046
|
+
#
|
|
6011
6047
|
# @param labels [Array<ModerationAPI::Models::WebhookEvent::QueueItemAllowed::Data::Object::Item::Label>, nil] Moderation labels applied to the content
|
|
6012
6048
|
#
|
|
6013
6049
|
# @param language [String, nil] Detected ISO language code, if available
|
|
@@ -4529,6 +4529,11 @@ module ModerationAPI
|
|
|
4529
4529
|
sig { returns(T.nilable(T::Boolean)) }
|
|
4530
4530
|
attr_accessor :flagged
|
|
4531
4531
|
|
|
4532
|
+
# For object content, the field keys (e.g. "bio") that triggered a flag. Empty
|
|
4533
|
+
# when no fields were flagged or the content is not an object.
|
|
4534
|
+
sig { returns(T::Array[String]) }
|
|
4535
|
+
attr_accessor :flagged_fields
|
|
4536
|
+
|
|
4532
4537
|
# Moderation labels applied to the content
|
|
4533
4538
|
sig do
|
|
4534
4539
|
returns(
|
|
@@ -4584,6 +4589,7 @@ module ModerationAPI
|
|
|
4584
4589
|
),
|
|
4585
4590
|
conversation_id: T.nilable(String),
|
|
4586
4591
|
flagged: T.nilable(T::Boolean),
|
|
4592
|
+
flagged_fields: T::Array[String],
|
|
4587
4593
|
labels:
|
|
4588
4594
|
T.nilable(
|
|
4589
4595
|
T::Array[
|
|
@@ -4615,6 +4621,9 @@ module ModerationAPI
|
|
|
4615
4621
|
conversation_id:,
|
|
4616
4622
|
# Whether the content was flagged by moderation
|
|
4617
4623
|
flagged:,
|
|
4624
|
+
# For object content, the field keys (e.g. "bio") that triggered a flag. Empty
|
|
4625
|
+
# when no fields were flagged or the content is not an object.
|
|
4626
|
+
flagged_fields:,
|
|
4618
4627
|
# Moderation labels applied to the content
|
|
4619
4628
|
labels:,
|
|
4620
4629
|
# Detected ISO language code, if available
|
|
@@ -4650,6 +4659,7 @@ module ModerationAPI
|
|
|
4650
4659
|
),
|
|
4651
4660
|
conversation_id: T.nilable(String),
|
|
4652
4661
|
flagged: T.nilable(T::Boolean),
|
|
4662
|
+
flagged_fields: T::Array[String],
|
|
4653
4663
|
labels:
|
|
4654
4664
|
T.nilable(
|
|
4655
4665
|
T::Array[
|
|
@@ -6997,6 +7007,11 @@ module ModerationAPI
|
|
|
6997
7007
|
sig { returns(T.nilable(T::Boolean)) }
|
|
6998
7008
|
attr_accessor :flagged
|
|
6999
7009
|
|
|
7010
|
+
# For object content, the field keys (e.g. "bio") that triggered a flag. Empty
|
|
7011
|
+
# when no fields were flagged or the content is not an object.
|
|
7012
|
+
sig { returns(T::Array[String]) }
|
|
7013
|
+
attr_accessor :flagged_fields
|
|
7014
|
+
|
|
7000
7015
|
# Moderation labels applied to the content
|
|
7001
7016
|
sig do
|
|
7002
7017
|
returns(
|
|
@@ -7053,6 +7068,7 @@ module ModerationAPI
|
|
|
7053
7068
|
),
|
|
7054
7069
|
conversation_id: T.nilable(String),
|
|
7055
7070
|
flagged: T.nilable(T::Boolean),
|
|
7071
|
+
flagged_fields: T::Array[String],
|
|
7056
7072
|
labels:
|
|
7057
7073
|
T.nilable(
|
|
7058
7074
|
T::Array[
|
|
@@ -7084,6 +7100,9 @@ module ModerationAPI
|
|
|
7084
7100
|
conversation_id:,
|
|
7085
7101
|
# Whether the content was flagged by moderation
|
|
7086
7102
|
flagged:,
|
|
7103
|
+
# For object content, the field keys (e.g. "bio") that triggered a flag. Empty
|
|
7104
|
+
# when no fields were flagged or the content is not an object.
|
|
7105
|
+
flagged_fields:,
|
|
7087
7106
|
# Moderation labels applied to the content
|
|
7088
7107
|
labels:,
|
|
7089
7108
|
# Detected ISO language code, if available
|
|
@@ -7119,6 +7138,7 @@ module ModerationAPI
|
|
|
7119
7138
|
),
|
|
7120
7139
|
conversation_id: T.nilable(String),
|
|
7121
7140
|
flagged: T.nilable(T::Boolean),
|
|
7141
|
+
flagged_fields: T::Array[String],
|
|
7122
7142
|
labels:
|
|
7123
7143
|
T.nilable(
|
|
7124
7144
|
T::Array[
|
|
@@ -8966,6 +8986,11 @@ module ModerationAPI
|
|
|
8966
8986
|
sig { returns(T.nilable(T::Boolean)) }
|
|
8967
8987
|
attr_accessor :flagged
|
|
8968
8988
|
|
|
8989
|
+
# For object content, the field keys (e.g. "bio") that triggered a flag. Empty
|
|
8990
|
+
# when no fields were flagged or the content is not an object.
|
|
8991
|
+
sig { returns(T::Array[String]) }
|
|
8992
|
+
attr_accessor :flagged_fields
|
|
8993
|
+
|
|
8969
8994
|
# Moderation labels applied to the content
|
|
8970
8995
|
sig do
|
|
8971
8996
|
returns(
|
|
@@ -9022,6 +9047,7 @@ module ModerationAPI
|
|
|
9022
9047
|
),
|
|
9023
9048
|
conversation_id: T.nilable(String),
|
|
9024
9049
|
flagged: T.nilable(T::Boolean),
|
|
9050
|
+
flagged_fields: T::Array[String],
|
|
9025
9051
|
labels:
|
|
9026
9052
|
T.nilable(
|
|
9027
9053
|
T::Array[
|
|
@@ -9053,6 +9079,9 @@ module ModerationAPI
|
|
|
9053
9079
|
conversation_id:,
|
|
9054
9080
|
# Whether the content was flagged by moderation
|
|
9055
9081
|
flagged:,
|
|
9082
|
+
# For object content, the field keys (e.g. "bio") that triggered a flag. Empty
|
|
9083
|
+
# when no fields were flagged or the content is not an object.
|
|
9084
|
+
flagged_fields:,
|
|
9056
9085
|
# Moderation labels applied to the content
|
|
9057
9086
|
labels:,
|
|
9058
9087
|
# Detected ISO language code, if available
|
|
@@ -9088,6 +9117,7 @@ module ModerationAPI
|
|
|
9088
9117
|
),
|
|
9089
9118
|
conversation_id: T.nilable(String),
|
|
9090
9119
|
flagged: T.nilable(T::Boolean),
|
|
9120
|
+
flagged_fields: T::Array[String],
|
|
9091
9121
|
labels:
|
|
9092
9122
|
T.nilable(
|
|
9093
9123
|
T::Array[
|
|
@@ -10933,6 +10963,11 @@ module ModerationAPI
|
|
|
10933
10963
|
sig { returns(T.nilable(T::Boolean)) }
|
|
10934
10964
|
attr_accessor :flagged
|
|
10935
10965
|
|
|
10966
|
+
# For object content, the field keys (e.g. "bio") that triggered a flag. Empty
|
|
10967
|
+
# when no fields were flagged or the content is not an object.
|
|
10968
|
+
sig { returns(T::Array[String]) }
|
|
10969
|
+
attr_accessor :flagged_fields
|
|
10970
|
+
|
|
10936
10971
|
# Moderation labels applied to the content
|
|
10937
10972
|
sig do
|
|
10938
10973
|
returns(
|
|
@@ -10989,6 +11024,7 @@ module ModerationAPI
|
|
|
10989
11024
|
),
|
|
10990
11025
|
conversation_id: T.nilable(String),
|
|
10991
11026
|
flagged: T.nilable(T::Boolean),
|
|
11027
|
+
flagged_fields: T::Array[String],
|
|
10992
11028
|
labels:
|
|
10993
11029
|
T.nilable(
|
|
10994
11030
|
T::Array[
|
|
@@ -11020,6 +11056,9 @@ module ModerationAPI
|
|
|
11020
11056
|
conversation_id:,
|
|
11021
11057
|
# Whether the content was flagged by moderation
|
|
11022
11058
|
flagged:,
|
|
11059
|
+
# For object content, the field keys (e.g. "bio") that triggered a flag. Empty
|
|
11060
|
+
# when no fields were flagged or the content is not an object.
|
|
11061
|
+
flagged_fields:,
|
|
11023
11062
|
# Moderation labels applied to the content
|
|
11024
11063
|
labels:,
|
|
11025
11064
|
# Detected ISO language code, if available
|
|
@@ -11055,6 +11094,7 @@ module ModerationAPI
|
|
|
11055
11094
|
),
|
|
11056
11095
|
conversation_id: T.nilable(String),
|
|
11057
11096
|
flagged: T.nilable(T::Boolean),
|
|
11097
|
+
flagged_fields: T::Array[String],
|
|
11058
11098
|
labels:
|
|
11059
11099
|
T.nilable(
|
|
11060
11100
|
T::Array[
|
|
@@ -1850,6 +1850,7 @@ module ModerationAPI
|
|
|
1850
1850
|
content: ModerationAPI::Models::WebhookEvent::QueueItemResolved::Data::Object::Item::content,
|
|
1851
1851
|
conversation_id: String?,
|
|
1852
1852
|
flagged: bool?,
|
|
1853
|
+
flagged_fields: ::Array[String],
|
|
1853
1854
|
labels: ::Array[ModerationAPI::WebhookEvent::QueueItemResolved::Data::Object::Item::Label]?,
|
|
1854
1855
|
language: String?,
|
|
1855
1856
|
meta_type: ModerationAPI::Models::WebhookEvent::QueueItemResolved::Data::Object::Item::meta_type?,
|
|
@@ -1872,6 +1873,8 @@ module ModerationAPI
|
|
|
1872
1873
|
|
|
1873
1874
|
attr_accessor flagged: bool?
|
|
1874
1875
|
|
|
1876
|
+
attr_accessor flagged_fields: ::Array[String]
|
|
1877
|
+
|
|
1875
1878
|
attr_accessor labels: ::Array[ModerationAPI::WebhookEvent::QueueItemResolved::Data::Object::Item::Label]?
|
|
1876
1879
|
|
|
1877
1880
|
attr_accessor language: String?
|
|
@@ -1890,6 +1893,7 @@ module ModerationAPI
|
|
|
1890
1893
|
content: ModerationAPI::Models::WebhookEvent::QueueItemResolved::Data::Object::Item::content,
|
|
1891
1894
|
conversation_id: String?,
|
|
1892
1895
|
flagged: bool?,
|
|
1896
|
+
flagged_fields: ::Array[String],
|
|
1893
1897
|
labels: ::Array[ModerationAPI::WebhookEvent::QueueItemResolved::Data::Object::Item::Label]?,
|
|
1894
1898
|
language: String?,
|
|
1895
1899
|
meta_type: ModerationAPI::Models::WebhookEvent::QueueItemResolved::Data::Object::Item::meta_type?,
|
|
@@ -1905,6 +1909,7 @@ module ModerationAPI
|
|
|
1905
1909
|
content: ModerationAPI::Models::WebhookEvent::QueueItemResolved::Data::Object::Item::content,
|
|
1906
1910
|
conversation_id: String?,
|
|
1907
1911
|
flagged: bool?,
|
|
1912
|
+
flagged_fields: ::Array[String],
|
|
1908
1913
|
labels: ::Array[ModerationAPI::WebhookEvent::QueueItemResolved::Data::Object::Item::Label]?,
|
|
1909
1914
|
language: String?,
|
|
1910
1915
|
meta_type: ModerationAPI::Models::WebhookEvent::QueueItemResolved::Data::Object::Item::meta_type?,
|
|
@@ -2867,6 +2872,7 @@ module ModerationAPI
|
|
|
2867
2872
|
content: ModerationAPI::Models::WebhookEvent::QueueItemAction::Data::Object::Item::content,
|
|
2868
2873
|
conversation_id: String?,
|
|
2869
2874
|
flagged: bool?,
|
|
2875
|
+
flagged_fields: ::Array[String],
|
|
2870
2876
|
labels: ::Array[ModerationAPI::WebhookEvent::QueueItemAction::Data::Object::Item::Label]?,
|
|
2871
2877
|
language: String?,
|
|
2872
2878
|
meta_type: ModerationAPI::Models::WebhookEvent::QueueItemAction::Data::Object::Item::meta_type?,
|
|
@@ -2889,6 +2895,8 @@ module ModerationAPI
|
|
|
2889
2895
|
|
|
2890
2896
|
attr_accessor flagged: bool?
|
|
2891
2897
|
|
|
2898
|
+
attr_accessor flagged_fields: ::Array[String]
|
|
2899
|
+
|
|
2892
2900
|
attr_accessor labels: ::Array[ModerationAPI::WebhookEvent::QueueItemAction::Data::Object::Item::Label]?
|
|
2893
2901
|
|
|
2894
2902
|
attr_accessor language: String?
|
|
@@ -2907,6 +2915,7 @@ module ModerationAPI
|
|
|
2907
2915
|
content: ModerationAPI::Models::WebhookEvent::QueueItemAction::Data::Object::Item::content,
|
|
2908
2916
|
conversation_id: String?,
|
|
2909
2917
|
flagged: bool?,
|
|
2918
|
+
flagged_fields: ::Array[String],
|
|
2910
2919
|
labels: ::Array[ModerationAPI::WebhookEvent::QueueItemAction::Data::Object::Item::Label]?,
|
|
2911
2920
|
language: String?,
|
|
2912
2921
|
meta_type: ModerationAPI::Models::WebhookEvent::QueueItemAction::Data::Object::Item::meta_type?,
|
|
@@ -2922,6 +2931,7 @@ module ModerationAPI
|
|
|
2922
2931
|
content: ModerationAPI::Models::WebhookEvent::QueueItemAction::Data::Object::Item::content,
|
|
2923
2932
|
conversation_id: String?,
|
|
2924
2933
|
flagged: bool?,
|
|
2934
|
+
flagged_fields: ::Array[String],
|
|
2925
2935
|
labels: ::Array[ModerationAPI::WebhookEvent::QueueItemAction::Data::Object::Item::Label]?,
|
|
2926
2936
|
language: String?,
|
|
2927
2937
|
meta_type: ModerationAPI::Models::WebhookEvent::QueueItemAction::Data::Object::Item::meta_type?,
|
|
@@ -3689,6 +3699,7 @@ module ModerationAPI
|
|
|
3689
3699
|
content: ModerationAPI::Models::WebhookEvent::QueueItemRejected::Data::Object::Item::content,
|
|
3690
3700
|
conversation_id: String?,
|
|
3691
3701
|
flagged: bool?,
|
|
3702
|
+
flagged_fields: ::Array[String],
|
|
3692
3703
|
labels: ::Array[ModerationAPI::WebhookEvent::QueueItemRejected::Data::Object::Item::Label]?,
|
|
3693
3704
|
language: String?,
|
|
3694
3705
|
meta_type: ModerationAPI::Models::WebhookEvent::QueueItemRejected::Data::Object::Item::meta_type?,
|
|
@@ -3711,6 +3722,8 @@ module ModerationAPI
|
|
|
3711
3722
|
|
|
3712
3723
|
attr_accessor flagged: bool?
|
|
3713
3724
|
|
|
3725
|
+
attr_accessor flagged_fields: ::Array[String]
|
|
3726
|
+
|
|
3714
3727
|
attr_accessor labels: ::Array[ModerationAPI::WebhookEvent::QueueItemRejected::Data::Object::Item::Label]?
|
|
3715
3728
|
|
|
3716
3729
|
attr_accessor language: String?
|
|
@@ -3729,6 +3742,7 @@ module ModerationAPI
|
|
|
3729
3742
|
content: ModerationAPI::Models::WebhookEvent::QueueItemRejected::Data::Object::Item::content,
|
|
3730
3743
|
conversation_id: String?,
|
|
3731
3744
|
flagged: bool?,
|
|
3745
|
+
flagged_fields: ::Array[String],
|
|
3732
3746
|
labels: ::Array[ModerationAPI::WebhookEvent::QueueItemRejected::Data::Object::Item::Label]?,
|
|
3733
3747
|
language: String?,
|
|
3734
3748
|
meta_type: ModerationAPI::Models::WebhookEvent::QueueItemRejected::Data::Object::Item::meta_type?,
|
|
@@ -3744,6 +3758,7 @@ module ModerationAPI
|
|
|
3744
3758
|
content: ModerationAPI::Models::WebhookEvent::QueueItemRejected::Data::Object::Item::content,
|
|
3745
3759
|
conversation_id: String?,
|
|
3746
3760
|
flagged: bool?,
|
|
3761
|
+
flagged_fields: ::Array[String],
|
|
3747
3762
|
labels: ::Array[ModerationAPI::WebhookEvent::QueueItemRejected::Data::Object::Item::Label]?,
|
|
3748
3763
|
language: String?,
|
|
3749
3764
|
meta_type: ModerationAPI::Models::WebhookEvent::QueueItemRejected::Data::Object::Item::meta_type?,
|
|
@@ -4511,6 +4526,7 @@ module ModerationAPI
|
|
|
4511
4526
|
content: ModerationAPI::Models::WebhookEvent::QueueItemAllowed::Data::Object::Item::content,
|
|
4512
4527
|
conversation_id: String?,
|
|
4513
4528
|
flagged: bool?,
|
|
4529
|
+
flagged_fields: ::Array[String],
|
|
4514
4530
|
labels: ::Array[ModerationAPI::WebhookEvent::QueueItemAllowed::Data::Object::Item::Label]?,
|
|
4515
4531
|
language: String?,
|
|
4516
4532
|
meta_type: ModerationAPI::Models::WebhookEvent::QueueItemAllowed::Data::Object::Item::meta_type?,
|
|
@@ -4533,6 +4549,8 @@ module ModerationAPI
|
|
|
4533
4549
|
|
|
4534
4550
|
attr_accessor flagged: bool?
|
|
4535
4551
|
|
|
4552
|
+
attr_accessor flagged_fields: ::Array[String]
|
|
4553
|
+
|
|
4536
4554
|
attr_accessor labels: ::Array[ModerationAPI::WebhookEvent::QueueItemAllowed::Data::Object::Item::Label]?
|
|
4537
4555
|
|
|
4538
4556
|
attr_accessor language: String?
|
|
@@ -4551,6 +4569,7 @@ module ModerationAPI
|
|
|
4551
4569
|
content: ModerationAPI::Models::WebhookEvent::QueueItemAllowed::Data::Object::Item::content,
|
|
4552
4570
|
conversation_id: String?,
|
|
4553
4571
|
flagged: bool?,
|
|
4572
|
+
flagged_fields: ::Array[String],
|
|
4554
4573
|
labels: ::Array[ModerationAPI::WebhookEvent::QueueItemAllowed::Data::Object::Item::Label]?,
|
|
4555
4574
|
language: String?,
|
|
4556
4575
|
meta_type: ModerationAPI::Models::WebhookEvent::QueueItemAllowed::Data::Object::Item::meta_type?,
|
|
@@ -4566,6 +4585,7 @@ module ModerationAPI
|
|
|
4566
4585
|
content: ModerationAPI::Models::WebhookEvent::QueueItemAllowed::Data::Object::Item::content,
|
|
4567
4586
|
conversation_id: String?,
|
|
4568
4587
|
flagged: bool?,
|
|
4588
|
+
flagged_fields: ::Array[String],
|
|
4569
4589
|
labels: ::Array[ModerationAPI::WebhookEvent::QueueItemAllowed::Data::Object::Item::Label]?,
|
|
4570
4590
|
language: String?,
|
|
4571
4591
|
meta_type: ModerationAPI::Models::WebhookEvent::QueueItemAllowed::Data::Object::Item::meta_type?,
|