safetykit 0.14.0 → 0.15.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 +80 -8
- data/lib/safety_kit/version.rb +1 -1
- data/rbi/safety_kit/models/beta/event_create_params.rbi +104 -0
- data/sig/safety_kit/models/beta/event_create_params.rbs +56 -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: 83f5c179730e784f2598e142bfe281f90c81473e24f29d6f37defa0526d2c5fd
|
|
4
|
+
data.tar.gz: 69ab0dc10e473c557af3c8d4bb0f5e9cd7d3bd3a35dbbe160b2456eb17029ca9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fe73a0bd88c65ff25dbedd9c34964cbaa85de3a85e81f4302c03d38ce98fe77f123c1edbaf9078708e863799d37aebc78c8facee286e845fa703840667b4a5f2
|
|
7
|
+
data.tar.gz: cbe4fcff0c466ea3240eef5159f95631f14fffb9b9a47f3c70e704ae3f7a9cf060ff1313c0bc91431fa4c5425642a148492f687f5b6301e0180bdd85f5d12a3c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.15.0 (2026-06-03)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.14.0...v0.15.0](https://github.com/GetSafetyKit/safetykit-ruby/compare/v0.14.0...v0.15.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([e6da242](https://github.com/GetSafetyKit/safetykit-ruby/commit/e6da242be8bb651e2592e3f5a0e79cb9264cec8a))
|
|
10
|
+
|
|
3
11
|
## 0.14.0 (2026-06-03)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.13.1...v0.14.0](https://github.com/GetSafetyKit/safetykit-ruby/compare/v0.13.1...v0.14.0)
|
data/README.md
CHANGED
|
@@ -85,6 +85,13 @@ module SafetyKit
|
|
|
85
85
|
optional :content,
|
|
86
86
|
-> { SafetyKit::Internal::Type::ArrayOf[union: SafetyKit::Beta::EventCreateParams::Body::UserContactEventRequest::Content] }
|
|
87
87
|
|
|
88
|
+
# @!attribute content_id
|
|
89
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
90
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
91
|
+
#
|
|
92
|
+
# @return [String, nil]
|
|
93
|
+
optional :content_id, String
|
|
94
|
+
|
|
88
95
|
# @!attribute metadata
|
|
89
96
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
90
97
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
@@ -102,7 +109,7 @@ module SafetyKit
|
|
|
102
109
|
optional :resources_used,
|
|
103
110
|
-> { SafetyKit::Internal::Type::ArrayOf[SafetyKit::Beta::EventCreateParams::Body::UserContactEventRequest::ResourcesUsed] }
|
|
104
111
|
|
|
105
|
-
# @!method initialize(event_name:, target_user_id:, timestamp:, type:, user_id:, content: nil, metadata: nil, resources_used: nil)
|
|
112
|
+
# @!method initialize(event_name:, target_user_id:, timestamp:, type:, user_id:, content: nil, content_id: nil, metadata: nil, resources_used: nil)
|
|
106
113
|
# Some parameter documentations has been truncated, see
|
|
107
114
|
# {SafetyKit::Models::Beta::EventCreateParams::Body::UserContactEventRequest} for
|
|
108
115
|
# more details.
|
|
@@ -121,6 +128,8 @@ module SafetyKit
|
|
|
121
128
|
#
|
|
122
129
|
# @param content [Array<SafetyKit::Models::Beta::EventCreateParams::Body::UserContactEventRequest::Content::EventTextContent, SafetyKit::Models::Beta::EventCreateParams::Body::UserContactEventRequest::Content::EventImageContent>] User-authored or user-uploaded content parts. Use this for message bodies, bios,
|
|
123
130
|
#
|
|
131
|
+
# @param content_id [String] Your stable identifier for the content involved in this event, such as a message
|
|
132
|
+
#
|
|
124
133
|
# @param metadata [Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean>}] Non-PII product context for filtering, segmentation, and debugging. Values may b
|
|
125
134
|
#
|
|
126
135
|
# @param resources_used [Array<SafetyKit::Models::Beta::EventCreateParams::Body::UserContactEventRequest::ResourcesUsed>] Reusable resources observed during the event. Use this for emails, phone numbers
|
|
@@ -366,6 +375,13 @@ module SafetyKit
|
|
|
366
375
|
# @return [String]
|
|
367
376
|
required :user_id, String
|
|
368
377
|
|
|
378
|
+
# @!attribute content_id
|
|
379
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
380
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
381
|
+
#
|
|
382
|
+
# @return [String, nil]
|
|
383
|
+
optional :content_id, String
|
|
384
|
+
|
|
369
385
|
# @!attribute metadata
|
|
370
386
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
371
387
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
@@ -383,7 +399,7 @@ module SafetyKit
|
|
|
383
399
|
optional :resources_used,
|
|
384
400
|
-> { SafetyKit::Internal::Type::ArrayOf[SafetyKit::Beta::EventCreateParams::Body::ContentUploadedEventRequest::ResourcesUsed] }
|
|
385
401
|
|
|
386
|
-
# @!method initialize(content:, event_name:, timestamp:, type:, user_id:, metadata: nil, resources_used: nil)
|
|
402
|
+
# @!method initialize(content:, event_name:, timestamp:, type:, user_id:, content_id: nil, metadata: nil, resources_used: nil)
|
|
387
403
|
# Some parameter documentations has been truncated, see
|
|
388
404
|
# {SafetyKit::Models::Beta::EventCreateParams::Body::ContentUploadedEventRequest}
|
|
389
405
|
# for more details.
|
|
@@ -400,6 +416,8 @@ module SafetyKit
|
|
|
400
416
|
#
|
|
401
417
|
# @param user_id [String] Your stable canonical identifier for the user or account.
|
|
402
418
|
#
|
|
419
|
+
# @param content_id [String] Your stable identifier for the content involved in this event, such as a message
|
|
420
|
+
#
|
|
403
421
|
# @param metadata [Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean>}] Non-PII product context for filtering, segmentation, and debugging. Values may b
|
|
404
422
|
#
|
|
405
423
|
# @param resources_used [Array<SafetyKit::Models::Beta::EventCreateParams::Body::ContentUploadedEventRequest::ResourcesUsed>] Reusable resources observed during the event. Use this for emails, phone numbers
|
|
@@ -645,6 +663,13 @@ module SafetyKit
|
|
|
645
663
|
optional :content,
|
|
646
664
|
-> { SafetyKit::Internal::Type::ArrayOf[union: SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::Content] }
|
|
647
665
|
|
|
666
|
+
# @!attribute content_id
|
|
667
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
668
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
669
|
+
#
|
|
670
|
+
# @return [String, nil]
|
|
671
|
+
optional :content_id, String
|
|
672
|
+
|
|
648
673
|
# @!attribute metadata
|
|
649
674
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
650
675
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
@@ -662,7 +687,7 @@ module SafetyKit
|
|
|
662
687
|
optional :resources_used,
|
|
663
688
|
-> { SafetyKit::Internal::Type::ArrayOf[SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::ResourcesUsed] }
|
|
664
689
|
|
|
665
|
-
# @!method initialize(event_name:, timestamp:, type:, user_id:, content: nil, metadata: nil, resources_used: nil)
|
|
690
|
+
# @!method initialize(event_name:, timestamp:, type:, user_id:, content: nil, content_id: nil, metadata: nil, resources_used: nil)
|
|
666
691
|
# Some parameter documentations has been truncated, see
|
|
667
692
|
# {SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest}
|
|
668
693
|
# for more details.
|
|
@@ -679,6 +704,8 @@ module SafetyKit
|
|
|
679
704
|
#
|
|
680
705
|
# @param content [Array<SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::Content::EventTextContent, SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::Content::EventImageContent>] User-authored or user-uploaded content parts. Use this for message bodies, bios,
|
|
681
706
|
#
|
|
707
|
+
# @param content_id [String] Your stable identifier for the content involved in this event, such as a message
|
|
708
|
+
#
|
|
682
709
|
# @param metadata [Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean>}] Non-PII product context for filtering, segmentation, and debugging. Values may b
|
|
683
710
|
#
|
|
684
711
|
# @param resources_used [Array<SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::ResourcesUsed>] Reusable resources observed during the event. Use this for emails, phone numbers
|
|
@@ -924,6 +951,13 @@ module SafetyKit
|
|
|
924
951
|
optional :content,
|
|
925
952
|
-> { SafetyKit::Internal::Type::ArrayOf[union: SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::Content] }
|
|
926
953
|
|
|
954
|
+
# @!attribute content_id
|
|
955
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
956
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
957
|
+
#
|
|
958
|
+
# @return [String, nil]
|
|
959
|
+
optional :content_id, String
|
|
960
|
+
|
|
927
961
|
# @!attribute metadata
|
|
928
962
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
929
963
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
@@ -941,7 +975,7 @@ module SafetyKit
|
|
|
941
975
|
optional :resources_used,
|
|
942
976
|
-> { SafetyKit::Internal::Type::ArrayOf[SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::ResourcesUsed] }
|
|
943
977
|
|
|
944
|
-
# @!method initialize(event_name:, timestamp:, type:, user_id:, content: nil, metadata: nil, resources_used: nil)
|
|
978
|
+
# @!method initialize(event_name:, timestamp:, type:, user_id:, content: nil, content_id: nil, metadata: nil, resources_used: nil)
|
|
945
979
|
# Some parameter documentations has been truncated, see
|
|
946
980
|
# {SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest}
|
|
947
981
|
# for more details.
|
|
@@ -959,6 +993,8 @@ module SafetyKit
|
|
|
959
993
|
#
|
|
960
994
|
# @param content [Array<SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::Content::EventTextContent, SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::Content::EventImageContent>] User-authored or user-uploaded content parts. Use this for message bodies, bios,
|
|
961
995
|
#
|
|
996
|
+
# @param content_id [String] Your stable identifier for the content involved in this event, such as a message
|
|
997
|
+
#
|
|
962
998
|
# @param metadata [Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean>}] Non-PII product context for filtering, segmentation, and debugging. Values may b
|
|
963
999
|
#
|
|
964
1000
|
# @param resources_used [Array<SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::ResourcesUsed>] Reusable resources observed during the event. Use this for emails, phone numbers
|
|
@@ -1229,6 +1265,13 @@ module SafetyKit
|
|
|
1229
1265
|
optional :content,
|
|
1230
1266
|
-> { SafetyKit::Internal::Type::ArrayOf[union: SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UserContact::Content] }
|
|
1231
1267
|
|
|
1268
|
+
# @!attribute content_id
|
|
1269
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
1270
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
1271
|
+
#
|
|
1272
|
+
# @return [String, nil]
|
|
1273
|
+
optional :content_id, String
|
|
1274
|
+
|
|
1232
1275
|
# @!attribute metadata
|
|
1233
1276
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
1234
1277
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
@@ -1246,7 +1289,7 @@ module SafetyKit
|
|
|
1246
1289
|
optional :resources_used,
|
|
1247
1290
|
-> { SafetyKit::Internal::Type::ArrayOf[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UserContact::ResourcesUsed] }
|
|
1248
1291
|
|
|
1249
|
-
# @!method initialize(event_name:, target_user_id:, timestamp:, user_id:, content: nil, metadata: nil, resources_used: nil, type: :user_contact)
|
|
1292
|
+
# @!method initialize(event_name:, target_user_id:, timestamp:, user_id:, content: nil, content_id: nil, metadata: nil, resources_used: nil, type: :user_contact)
|
|
1250
1293
|
# Some parameter documentations has been truncated, see
|
|
1251
1294
|
# {SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UserContact}
|
|
1252
1295
|
# for more details.
|
|
@@ -1263,6 +1306,8 @@ module SafetyKit
|
|
|
1263
1306
|
#
|
|
1264
1307
|
# @param content [Array<SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UserContact::Content::EventTextContent, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UserContact::Content::EventImageContent>] User-authored or user-uploaded content parts. Use this for message bodies, bios,
|
|
1265
1308
|
#
|
|
1309
|
+
# @param content_id [String] Your stable identifier for the content involved in this event, such as a message
|
|
1310
|
+
#
|
|
1266
1311
|
# @param metadata [Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean>}] Non-PII product context for filtering, segmentation, and debugging. Values may b
|
|
1267
1312
|
#
|
|
1268
1313
|
# @param resources_used [Array<SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UserContact::ResourcesUsed>] Reusable resources observed during the event. Use this for emails, phone numbers
|
|
@@ -1500,6 +1545,13 @@ module SafetyKit
|
|
|
1500
1545
|
# @return [String]
|
|
1501
1546
|
required :user_id, String
|
|
1502
1547
|
|
|
1548
|
+
# @!attribute content_id
|
|
1549
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
1550
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
1551
|
+
#
|
|
1552
|
+
# @return [String, nil]
|
|
1553
|
+
optional :content_id, String
|
|
1554
|
+
|
|
1503
1555
|
# @!attribute metadata
|
|
1504
1556
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
1505
1557
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
@@ -1517,7 +1569,7 @@ module SafetyKit
|
|
|
1517
1569
|
optional :resources_used,
|
|
1518
1570
|
-> { SafetyKit::Internal::Type::ArrayOf[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::ContentUploaded::ResourcesUsed] }
|
|
1519
1571
|
|
|
1520
|
-
# @!method initialize(content:, event_name:, timestamp:, user_id:, metadata: nil, resources_used: nil, type: :content_uploaded)
|
|
1572
|
+
# @!method initialize(content:, event_name:, timestamp:, user_id:, content_id: nil, metadata: nil, resources_used: nil, type: :content_uploaded)
|
|
1521
1573
|
# Some parameter documentations has been truncated, see
|
|
1522
1574
|
# {SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::ContentUploaded}
|
|
1523
1575
|
# for more details.
|
|
@@ -1532,6 +1584,8 @@ module SafetyKit
|
|
|
1532
1584
|
#
|
|
1533
1585
|
# @param user_id [String] Your stable canonical identifier for the user or account.
|
|
1534
1586
|
#
|
|
1587
|
+
# @param content_id [String] Your stable identifier for the content involved in this event, such as a message
|
|
1588
|
+
#
|
|
1535
1589
|
# @param metadata [Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean>}] Non-PII product context for filtering, segmentation, and debugging. Values may b
|
|
1536
1590
|
#
|
|
1537
1591
|
# @param resources_used [Array<SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::ContentUploaded::ResourcesUsed>] Reusable resources observed during the event. Use this for emails, phone numbers
|
|
@@ -1769,6 +1823,13 @@ module SafetyKit
|
|
|
1769
1823
|
optional :content,
|
|
1770
1824
|
-> { SafetyKit::Internal::Type::ArrayOf[union: SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::Content] }
|
|
1771
1825
|
|
|
1826
|
+
# @!attribute content_id
|
|
1827
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
1828
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
1829
|
+
#
|
|
1830
|
+
# @return [String, nil]
|
|
1831
|
+
optional :content_id, String
|
|
1832
|
+
|
|
1772
1833
|
# @!attribute metadata
|
|
1773
1834
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
1774
1835
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
@@ -1786,7 +1847,7 @@ module SafetyKit
|
|
|
1786
1847
|
optional :resources_used,
|
|
1787
1848
|
-> { SafetyKit::Internal::Type::ArrayOf[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::ResourcesUsed] }
|
|
1788
1849
|
|
|
1789
|
-
# @!method initialize(event_name:, timestamp:, user_id:, content: nil, metadata: nil, resources_used: nil, type: :create_account)
|
|
1850
|
+
# @!method initialize(event_name:, timestamp:, user_id:, content: nil, content_id: nil, metadata: nil, resources_used: nil, type: :create_account)
|
|
1790
1851
|
# Some parameter documentations has been truncated, see
|
|
1791
1852
|
# {SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount}
|
|
1792
1853
|
# for more details.
|
|
@@ -1801,6 +1862,8 @@ module SafetyKit
|
|
|
1801
1862
|
#
|
|
1802
1863
|
# @param content [Array<SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::Content::EventTextContent, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::Content::EventImageContent>] User-authored or user-uploaded content parts. Use this for message bodies, bios,
|
|
1803
1864
|
#
|
|
1865
|
+
# @param content_id [String] Your stable identifier for the content involved in this event, such as a message
|
|
1866
|
+
#
|
|
1804
1867
|
# @param metadata [Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean>}] Non-PII product context for filtering, segmentation, and debugging. Values may b
|
|
1805
1868
|
#
|
|
1806
1869
|
# @param resources_used [Array<SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::ResourcesUsed>] Reusable resources observed during the event. Use this for emails, phone numbers
|
|
@@ -2038,6 +2101,13 @@ module SafetyKit
|
|
|
2038
2101
|
optional :content,
|
|
2039
2102
|
-> { SafetyKit::Internal::Type::ArrayOf[union: SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::Content] }
|
|
2040
2103
|
|
|
2104
|
+
# @!attribute content_id
|
|
2105
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
2106
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
2107
|
+
#
|
|
2108
|
+
# @return [String, nil]
|
|
2109
|
+
optional :content_id, String
|
|
2110
|
+
|
|
2041
2111
|
# @!attribute metadata
|
|
2042
2112
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
2043
2113
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
@@ -2055,7 +2125,7 @@ module SafetyKit
|
|
|
2055
2125
|
optional :resources_used,
|
|
2056
2126
|
-> { SafetyKit::Internal::Type::ArrayOf[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::ResourcesUsed] }
|
|
2057
2127
|
|
|
2058
|
-
# @!method initialize(event_name:, timestamp:, user_id:, content: nil, metadata: nil, resources_used: nil, type: :update_account)
|
|
2128
|
+
# @!method initialize(event_name:, timestamp:, user_id:, content: nil, content_id: nil, metadata: nil, resources_used: nil, type: :update_account)
|
|
2059
2129
|
# Some parameter documentations has been truncated, see
|
|
2060
2130
|
# {SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount}
|
|
2061
2131
|
# for more details.
|
|
@@ -2071,6 +2141,8 @@ module SafetyKit
|
|
|
2071
2141
|
#
|
|
2072
2142
|
# @param content [Array<SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::Content::EventTextContent, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::Content::EventImageContent>] User-authored or user-uploaded content parts. Use this for message bodies, bios,
|
|
2073
2143
|
#
|
|
2144
|
+
# @param content_id [String] Your stable identifier for the content involved in this event, such as a message
|
|
2145
|
+
#
|
|
2074
2146
|
# @param metadata [Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean>}] Non-PII product context for filtering, segmentation, and debugging. Values may b
|
|
2075
2147
|
#
|
|
2076
2148
|
# @param resources_used [Array<SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::ResourcesUsed>] Reusable resources observed during the event. Use this for emails, phone numbers
|
data/lib/safety_kit/version.rb
CHANGED
|
@@ -175,6 +175,14 @@ module SafetyKit
|
|
|
175
175
|
end
|
|
176
176
|
attr_writer :content
|
|
177
177
|
|
|
178
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
179
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
180
|
+
sig { returns(T.nilable(String)) }
|
|
181
|
+
attr_reader :content_id
|
|
182
|
+
|
|
183
|
+
sig { params(content_id: String).void }
|
|
184
|
+
attr_writer :content_id
|
|
185
|
+
|
|
178
186
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
179
187
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
180
188
|
sig do
|
|
@@ -240,6 +248,7 @@ module SafetyKit
|
|
|
240
248
|
SafetyKit::Beta::EventCreateParams::Body::UserContactEventRequest::Content::EventImageContent::OrHash
|
|
241
249
|
)
|
|
242
250
|
],
|
|
251
|
+
content_id: String,
|
|
243
252
|
metadata:
|
|
244
253
|
T::Hash[
|
|
245
254
|
Symbol,
|
|
@@ -267,6 +276,9 @@ module SafetyKit
|
|
|
267
276
|
# listing text, image URLs, and similar content SafetyKit should compare or
|
|
268
277
|
# analyze.
|
|
269
278
|
content: nil,
|
|
279
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
280
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
281
|
+
content_id: nil,
|
|
270
282
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
271
283
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
272
284
|
metadata: nil,
|
|
@@ -293,6 +305,7 @@ module SafetyKit
|
|
|
293
305
|
SafetyKit::Beta::EventCreateParams::Body::UserContactEventRequest::Content::EventImageContent
|
|
294
306
|
)
|
|
295
307
|
],
|
|
308
|
+
content_id: String,
|
|
296
309
|
metadata:
|
|
297
310
|
T::Hash[
|
|
298
311
|
Symbol,
|
|
@@ -771,6 +784,14 @@ module SafetyKit
|
|
|
771
784
|
sig { returns(String) }
|
|
772
785
|
attr_accessor :user_id
|
|
773
786
|
|
|
787
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
788
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
789
|
+
sig { returns(T.nilable(String)) }
|
|
790
|
+
attr_reader :content_id
|
|
791
|
+
|
|
792
|
+
sig { params(content_id: String).void }
|
|
793
|
+
attr_writer :content_id
|
|
794
|
+
|
|
774
795
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
775
796
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
776
797
|
sig do
|
|
@@ -835,6 +856,7 @@ module SafetyKit
|
|
|
835
856
|
type:
|
|
836
857
|
SafetyKit::Beta::EventCreateParams::Body::ContentUploadedEventRequest::Type::OrSymbol,
|
|
837
858
|
user_id: String,
|
|
859
|
+
content_id: String,
|
|
838
860
|
metadata:
|
|
839
861
|
T::Hash[
|
|
840
862
|
Symbol,
|
|
@@ -859,6 +881,9 @@ module SafetyKit
|
|
|
859
881
|
type:,
|
|
860
882
|
# Your stable canonical identifier for the user or account.
|
|
861
883
|
user_id:,
|
|
884
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
885
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
886
|
+
content_id: nil,
|
|
862
887
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
863
888
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
864
889
|
metadata: nil,
|
|
@@ -884,6 +909,7 @@ module SafetyKit
|
|
|
884
909
|
type:
|
|
885
910
|
SafetyKit::Beta::EventCreateParams::Body::ContentUploadedEventRequest::Type::OrSymbol,
|
|
886
911
|
user_id: String,
|
|
912
|
+
content_id: String,
|
|
887
913
|
metadata:
|
|
888
914
|
T::Hash[
|
|
889
915
|
Symbol,
|
|
@@ -1377,6 +1403,14 @@ module SafetyKit
|
|
|
1377
1403
|
end
|
|
1378
1404
|
attr_writer :content
|
|
1379
1405
|
|
|
1406
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
1407
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
1408
|
+
sig { returns(T.nilable(String)) }
|
|
1409
|
+
attr_reader :content_id
|
|
1410
|
+
|
|
1411
|
+
sig { params(content_id: String).void }
|
|
1412
|
+
attr_writer :content_id
|
|
1413
|
+
|
|
1380
1414
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
1381
1415
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
1382
1416
|
sig do
|
|
@@ -1441,6 +1475,7 @@ module SafetyKit
|
|
|
1441
1475
|
SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::Content::EventImageContent::OrHash
|
|
1442
1476
|
)
|
|
1443
1477
|
],
|
|
1478
|
+
content_id: String,
|
|
1444
1479
|
metadata:
|
|
1445
1480
|
T::Hash[
|
|
1446
1481
|
Symbol,
|
|
@@ -1465,6 +1500,9 @@ module SafetyKit
|
|
|
1465
1500
|
# listing text, image URLs, and similar content SafetyKit should compare or
|
|
1466
1501
|
# analyze.
|
|
1467
1502
|
content: nil,
|
|
1503
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
1504
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
1505
|
+
content_id: nil,
|
|
1468
1506
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
1469
1507
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
1470
1508
|
metadata: nil,
|
|
@@ -1490,6 +1528,7 @@ module SafetyKit
|
|
|
1490
1528
|
SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::Content::EventImageContent
|
|
1491
1529
|
)
|
|
1492
1530
|
],
|
|
1531
|
+
content_id: String,
|
|
1493
1532
|
metadata:
|
|
1494
1533
|
T::Hash[
|
|
1495
1534
|
Symbol,
|
|
@@ -1983,6 +2022,14 @@ module SafetyKit
|
|
|
1983
2022
|
end
|
|
1984
2023
|
attr_writer :content
|
|
1985
2024
|
|
|
2025
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
2026
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
2027
|
+
sig { returns(T.nilable(String)) }
|
|
2028
|
+
attr_reader :content_id
|
|
2029
|
+
|
|
2030
|
+
sig { params(content_id: String).void }
|
|
2031
|
+
attr_writer :content_id
|
|
2032
|
+
|
|
1986
2033
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
1987
2034
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
1988
2035
|
sig do
|
|
@@ -2048,6 +2095,7 @@ module SafetyKit
|
|
|
2048
2095
|
SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::Content::EventImageContent::OrHash
|
|
2049
2096
|
)
|
|
2050
2097
|
],
|
|
2098
|
+
content_id: String,
|
|
2051
2099
|
metadata:
|
|
2052
2100
|
T::Hash[
|
|
2053
2101
|
Symbol,
|
|
@@ -2072,6 +2120,9 @@ module SafetyKit
|
|
|
2072
2120
|
# listing text, image URLs, and similar content SafetyKit should compare or
|
|
2073
2121
|
# analyze.
|
|
2074
2122
|
content: nil,
|
|
2123
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
2124
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
2125
|
+
content_id: nil,
|
|
2075
2126
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
2076
2127
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
2077
2128
|
metadata: nil,
|
|
@@ -2097,6 +2148,7 @@ module SafetyKit
|
|
|
2097
2148
|
SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::Content::EventImageContent
|
|
2098
2149
|
)
|
|
2099
2150
|
],
|
|
2151
|
+
content_id: String,
|
|
2100
2152
|
metadata:
|
|
2101
2153
|
T::Hash[
|
|
2102
2154
|
Symbol,
|
|
@@ -2605,6 +2657,14 @@ module SafetyKit
|
|
|
2605
2657
|
end
|
|
2606
2658
|
attr_writer :content
|
|
2607
2659
|
|
|
2660
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
2661
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
2662
|
+
sig { returns(T.nilable(String)) }
|
|
2663
|
+
attr_reader :content_id
|
|
2664
|
+
|
|
2665
|
+
sig { params(content_id: String).void }
|
|
2666
|
+
attr_writer :content_id
|
|
2667
|
+
|
|
2608
2668
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
2609
2669
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
2610
2670
|
sig do
|
|
@@ -2668,6 +2728,7 @@ module SafetyKit
|
|
|
2668
2728
|
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UserContact::Content::EventImageContent::OrHash
|
|
2669
2729
|
)
|
|
2670
2730
|
],
|
|
2731
|
+
content_id: String,
|
|
2671
2732
|
metadata:
|
|
2672
2733
|
T::Hash[
|
|
2673
2734
|
Symbol,
|
|
@@ -2695,6 +2756,9 @@ module SafetyKit
|
|
|
2695
2756
|
# listing text, image URLs, and similar content SafetyKit should compare or
|
|
2696
2757
|
# analyze.
|
|
2697
2758
|
content: nil,
|
|
2759
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
2760
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
2761
|
+
content_id: nil,
|
|
2698
2762
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
2699
2763
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
2700
2764
|
metadata: nil,
|
|
@@ -2721,6 +2785,7 @@ module SafetyKit
|
|
|
2721
2785
|
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UserContact::Content::EventImageContent
|
|
2722
2786
|
)
|
|
2723
2787
|
],
|
|
2788
|
+
content_id: String,
|
|
2724
2789
|
metadata:
|
|
2725
2790
|
T::Hash[
|
|
2726
2791
|
Symbol,
|
|
@@ -3166,6 +3231,14 @@ module SafetyKit
|
|
|
3166
3231
|
sig { returns(String) }
|
|
3167
3232
|
attr_accessor :user_id
|
|
3168
3233
|
|
|
3234
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
3235
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
3236
|
+
sig { returns(T.nilable(String)) }
|
|
3237
|
+
attr_reader :content_id
|
|
3238
|
+
|
|
3239
|
+
sig { params(content_id: String).void }
|
|
3240
|
+
attr_writer :content_id
|
|
3241
|
+
|
|
3169
3242
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
3170
3243
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
3171
3244
|
sig do
|
|
@@ -3228,6 +3301,7 @@ module SafetyKit
|
|
|
3228
3301
|
event_name: String,
|
|
3229
3302
|
timestamp: Time,
|
|
3230
3303
|
user_id: String,
|
|
3304
|
+
content_id: String,
|
|
3231
3305
|
metadata:
|
|
3232
3306
|
T::Hash[
|
|
3233
3307
|
Symbol,
|
|
@@ -3252,6 +3326,9 @@ module SafetyKit
|
|
|
3252
3326
|
timestamp:,
|
|
3253
3327
|
# Your stable canonical identifier for the user or account.
|
|
3254
3328
|
user_id:,
|
|
3329
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
3330
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
3331
|
+
content_id: nil,
|
|
3255
3332
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
3256
3333
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
3257
3334
|
metadata: nil,
|
|
@@ -3277,6 +3354,7 @@ module SafetyKit
|
|
|
3277
3354
|
timestamp: Time,
|
|
3278
3355
|
type: Symbol,
|
|
3279
3356
|
user_id: String,
|
|
3357
|
+
content_id: String,
|
|
3280
3358
|
metadata:
|
|
3281
3359
|
T::Hash[
|
|
3282
3360
|
Symbol,
|
|
@@ -3737,6 +3815,14 @@ module SafetyKit
|
|
|
3737
3815
|
end
|
|
3738
3816
|
attr_writer :content
|
|
3739
3817
|
|
|
3818
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
3819
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
3820
|
+
sig { returns(T.nilable(String)) }
|
|
3821
|
+
attr_reader :content_id
|
|
3822
|
+
|
|
3823
|
+
sig { params(content_id: String).void }
|
|
3824
|
+
attr_writer :content_id
|
|
3825
|
+
|
|
3740
3826
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
3741
3827
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
3742
3828
|
sig do
|
|
@@ -3799,6 +3885,7 @@ module SafetyKit
|
|
|
3799
3885
|
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::Content::EventImageContent::OrHash
|
|
3800
3886
|
)
|
|
3801
3887
|
],
|
|
3888
|
+
content_id: String,
|
|
3802
3889
|
metadata:
|
|
3803
3890
|
T::Hash[
|
|
3804
3891
|
Symbol,
|
|
@@ -3823,6 +3910,9 @@ module SafetyKit
|
|
|
3823
3910
|
# listing text, image URLs, and similar content SafetyKit should compare or
|
|
3824
3911
|
# analyze.
|
|
3825
3912
|
content: nil,
|
|
3913
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
3914
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
3915
|
+
content_id: nil,
|
|
3826
3916
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
3827
3917
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
3828
3918
|
metadata: nil,
|
|
@@ -3848,6 +3938,7 @@ module SafetyKit
|
|
|
3848
3938
|
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::Content::EventImageContent
|
|
3849
3939
|
)
|
|
3850
3940
|
],
|
|
3941
|
+
content_id: String,
|
|
3851
3942
|
metadata:
|
|
3852
3943
|
T::Hash[
|
|
3853
3944
|
Symbol,
|
|
@@ -4308,6 +4399,14 @@ module SafetyKit
|
|
|
4308
4399
|
end
|
|
4309
4400
|
attr_writer :content
|
|
4310
4401
|
|
|
4402
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
4403
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
4404
|
+
sig { returns(T.nilable(String)) }
|
|
4405
|
+
attr_reader :content_id
|
|
4406
|
+
|
|
4407
|
+
sig { params(content_id: String).void }
|
|
4408
|
+
attr_writer :content_id
|
|
4409
|
+
|
|
4311
4410
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
4312
4411
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
4313
4412
|
sig do
|
|
@@ -4371,6 +4470,7 @@ module SafetyKit
|
|
|
4371
4470
|
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::Content::EventImageContent::OrHash
|
|
4372
4471
|
)
|
|
4373
4472
|
],
|
|
4473
|
+
content_id: String,
|
|
4374
4474
|
metadata:
|
|
4375
4475
|
T::Hash[
|
|
4376
4476
|
Symbol,
|
|
@@ -4395,6 +4495,9 @@ module SafetyKit
|
|
|
4395
4495
|
# listing text, image URLs, and similar content SafetyKit should compare or
|
|
4396
4496
|
# analyze.
|
|
4397
4497
|
content: nil,
|
|
4498
|
+
# Your stable identifier for the content involved in this event, such as a
|
|
4499
|
+
# message, listing, page, post, profile, or uploaded media item.
|
|
4500
|
+
content_id: nil,
|
|
4398
4501
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
4399
4502
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
4400
4503
|
metadata: nil,
|
|
@@ -4420,6 +4523,7 @@ module SafetyKit
|
|
|
4420
4523
|
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::Content::EventImageContent
|
|
4421
4524
|
)
|
|
4422
4525
|
],
|
|
4526
|
+
content_id: String,
|
|
4423
4527
|
metadata:
|
|
4424
4528
|
T::Hash[
|
|
4425
4529
|
Symbol,
|
|
@@ -39,6 +39,7 @@ module SafetyKit
|
|
|
39
39
|
type: SafetyKit::Models::Beta::EventCreateParams::Body::UserContactEventRequest::type_,
|
|
40
40
|
user_id: String,
|
|
41
41
|
content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UserContactEventRequest::content],
|
|
42
|
+
content_id: String,
|
|
42
43
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UserContactEventRequest::metadata],
|
|
43
44
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UserContactEventRequest::ResourcesUsed]
|
|
44
45
|
}
|
|
@@ -60,6 +61,10 @@ module SafetyKit
|
|
|
60
61
|
::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UserContactEventRequest::content]
|
|
61
62
|
) -> ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UserContactEventRequest::content]
|
|
62
63
|
|
|
64
|
+
attr_reader content_id: String?
|
|
65
|
+
|
|
66
|
+
def content_id=: (String) -> String
|
|
67
|
+
|
|
63
68
|
attr_reader metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UserContactEventRequest::metadata]?
|
|
64
69
|
|
|
65
70
|
def metadata=: (
|
|
@@ -79,6 +84,7 @@ module SafetyKit
|
|
|
79
84
|
type: SafetyKit::Models::Beta::EventCreateParams::Body::UserContactEventRequest::type_,
|
|
80
85
|
user_id: String,
|
|
81
86
|
?content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UserContactEventRequest::content],
|
|
87
|
+
?content_id: String,
|
|
82
88
|
?metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UserContactEventRequest::metadata],
|
|
83
89
|
?resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UserContactEventRequest::ResourcesUsed]
|
|
84
90
|
) -> void
|
|
@@ -90,6 +96,7 @@ module SafetyKit
|
|
|
90
96
|
type: SafetyKit::Models::Beta::EventCreateParams::Body::UserContactEventRequest::type_,
|
|
91
97
|
user_id: String,
|
|
92
98
|
content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UserContactEventRequest::content],
|
|
99
|
+
content_id: String,
|
|
93
100
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UserContactEventRequest::metadata],
|
|
94
101
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UserContactEventRequest::ResourcesUsed]
|
|
95
102
|
}
|
|
@@ -266,6 +273,7 @@ module SafetyKit
|
|
|
266
273
|
timestamp: Time,
|
|
267
274
|
type: SafetyKit::Models::Beta::EventCreateParams::Body::ContentUploadedEventRequest::type_,
|
|
268
275
|
user_id: String,
|
|
276
|
+
content_id: String,
|
|
269
277
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::ContentUploadedEventRequest::metadata],
|
|
270
278
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::ContentUploadedEventRequest::ResourcesUsed]
|
|
271
279
|
}
|
|
@@ -281,6 +289,10 @@ module SafetyKit
|
|
|
281
289
|
|
|
282
290
|
attr_accessor user_id: String
|
|
283
291
|
|
|
292
|
+
attr_reader content_id: String?
|
|
293
|
+
|
|
294
|
+
def content_id=: (String) -> String
|
|
295
|
+
|
|
284
296
|
attr_reader metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::ContentUploadedEventRequest::metadata]?
|
|
285
297
|
|
|
286
298
|
def metadata=: (
|
|
@@ -299,6 +311,7 @@ module SafetyKit
|
|
|
299
311
|
timestamp: Time,
|
|
300
312
|
type: SafetyKit::Models::Beta::EventCreateParams::Body::ContentUploadedEventRequest::type_,
|
|
301
313
|
user_id: String,
|
|
314
|
+
?content_id: String,
|
|
302
315
|
?metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::ContentUploadedEventRequest::metadata],
|
|
303
316
|
?resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::ContentUploadedEventRequest::ResourcesUsed]
|
|
304
317
|
) -> void
|
|
@@ -309,6 +322,7 @@ module SafetyKit
|
|
|
309
322
|
timestamp: Time,
|
|
310
323
|
type: SafetyKit::Models::Beta::EventCreateParams::Body::ContentUploadedEventRequest::type_,
|
|
311
324
|
user_id: String,
|
|
325
|
+
content_id: String,
|
|
312
326
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::ContentUploadedEventRequest::metadata],
|
|
313
327
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::ContentUploadedEventRequest::ResourcesUsed]
|
|
314
328
|
}
|
|
@@ -485,6 +499,7 @@ module SafetyKit
|
|
|
485
499
|
type: SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::type_,
|
|
486
500
|
user_id: String,
|
|
487
501
|
content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::content],
|
|
502
|
+
content_id: String,
|
|
488
503
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::metadata],
|
|
489
504
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::ResourcesUsed]
|
|
490
505
|
}
|
|
@@ -504,6 +519,10 @@ module SafetyKit
|
|
|
504
519
|
::Array[SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::content]
|
|
505
520
|
) -> ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::content]
|
|
506
521
|
|
|
522
|
+
attr_reader content_id: String?
|
|
523
|
+
|
|
524
|
+
def content_id=: (String) -> String
|
|
525
|
+
|
|
507
526
|
attr_reader metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::metadata]?
|
|
508
527
|
|
|
509
528
|
def metadata=: (
|
|
@@ -522,6 +541,7 @@ module SafetyKit
|
|
|
522
541
|
type: SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::type_,
|
|
523
542
|
user_id: String,
|
|
524
543
|
?content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::content],
|
|
544
|
+
?content_id: String,
|
|
525
545
|
?metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::metadata],
|
|
526
546
|
?resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::ResourcesUsed]
|
|
527
547
|
) -> void
|
|
@@ -532,6 +552,7 @@ module SafetyKit
|
|
|
532
552
|
type: SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::type_,
|
|
533
553
|
user_id: String,
|
|
534
554
|
content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::content],
|
|
555
|
+
content_id: String,
|
|
535
556
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::metadata],
|
|
536
557
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::ResourcesUsed]
|
|
537
558
|
}
|
|
@@ -708,6 +729,7 @@ module SafetyKit
|
|
|
708
729
|
type: SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::type_,
|
|
709
730
|
user_id: String,
|
|
710
731
|
content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::content],
|
|
732
|
+
content_id: String,
|
|
711
733
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::metadata],
|
|
712
734
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::ResourcesUsed]
|
|
713
735
|
}
|
|
@@ -727,6 +749,10 @@ module SafetyKit
|
|
|
727
749
|
::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::content]
|
|
728
750
|
) -> ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::content]
|
|
729
751
|
|
|
752
|
+
attr_reader content_id: String?
|
|
753
|
+
|
|
754
|
+
def content_id=: (String) -> String
|
|
755
|
+
|
|
730
756
|
attr_reader metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::metadata]?
|
|
731
757
|
|
|
732
758
|
def metadata=: (
|
|
@@ -745,6 +771,7 @@ module SafetyKit
|
|
|
745
771
|
type: SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::type_,
|
|
746
772
|
user_id: String,
|
|
747
773
|
?content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::content],
|
|
774
|
+
?content_id: String,
|
|
748
775
|
?metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::metadata],
|
|
749
776
|
?resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::ResourcesUsed]
|
|
750
777
|
) -> void
|
|
@@ -755,6 +782,7 @@ module SafetyKit
|
|
|
755
782
|
type: SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::type_,
|
|
756
783
|
user_id: String,
|
|
757
784
|
content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::content],
|
|
785
|
+
content_id: String,
|
|
758
786
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::metadata],
|
|
759
787
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::ResourcesUsed]
|
|
760
788
|
}
|
|
@@ -941,6 +969,7 @@ module SafetyKit
|
|
|
941
969
|
type: :user_contact,
|
|
942
970
|
user_id: String,
|
|
943
971
|
content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UserContact::content],
|
|
972
|
+
content_id: String,
|
|
944
973
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UserContact::metadata],
|
|
945
974
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UserContact::ResourcesUsed]
|
|
946
975
|
}
|
|
@@ -962,6 +991,10 @@ module SafetyKit
|
|
|
962
991
|
::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UserContact::content]
|
|
963
992
|
) -> ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UserContact::content]
|
|
964
993
|
|
|
994
|
+
attr_reader content_id: String?
|
|
995
|
+
|
|
996
|
+
def content_id=: (String) -> String
|
|
997
|
+
|
|
965
998
|
attr_reader metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UserContact::metadata]?
|
|
966
999
|
|
|
967
1000
|
def metadata=: (
|
|
@@ -980,6 +1013,7 @@ module SafetyKit
|
|
|
980
1013
|
timestamp: Time,
|
|
981
1014
|
user_id: String,
|
|
982
1015
|
?content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UserContact::content],
|
|
1016
|
+
?content_id: String,
|
|
983
1017
|
?metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UserContact::metadata],
|
|
984
1018
|
?resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UserContact::ResourcesUsed],
|
|
985
1019
|
?type: :user_contact
|
|
@@ -992,6 +1026,7 @@ module SafetyKit
|
|
|
992
1026
|
type: :user_contact,
|
|
993
1027
|
user_id: String,
|
|
994
1028
|
content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UserContact::content],
|
|
1029
|
+
content_id: String,
|
|
995
1030
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UserContact::metadata],
|
|
996
1031
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UserContact::ResourcesUsed]
|
|
997
1032
|
}
|
|
@@ -1158,6 +1193,7 @@ module SafetyKit
|
|
|
1158
1193
|
timestamp: Time,
|
|
1159
1194
|
type: :content_uploaded,
|
|
1160
1195
|
user_id: String,
|
|
1196
|
+
content_id: String,
|
|
1161
1197
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::ContentUploaded::metadata],
|
|
1162
1198
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::ContentUploaded::ResourcesUsed]
|
|
1163
1199
|
}
|
|
@@ -1173,6 +1209,10 @@ module SafetyKit
|
|
|
1173
1209
|
|
|
1174
1210
|
attr_accessor user_id: String
|
|
1175
1211
|
|
|
1212
|
+
attr_reader content_id: String?
|
|
1213
|
+
|
|
1214
|
+
def content_id=: (String) -> String
|
|
1215
|
+
|
|
1176
1216
|
attr_reader metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::ContentUploaded::metadata]?
|
|
1177
1217
|
|
|
1178
1218
|
def metadata=: (
|
|
@@ -1190,6 +1230,7 @@ module SafetyKit
|
|
|
1190
1230
|
event_name: String,
|
|
1191
1231
|
timestamp: Time,
|
|
1192
1232
|
user_id: String,
|
|
1233
|
+
?content_id: String,
|
|
1193
1234
|
?metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::ContentUploaded::metadata],
|
|
1194
1235
|
?resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::ContentUploaded::ResourcesUsed],
|
|
1195
1236
|
?type: :content_uploaded
|
|
@@ -1201,6 +1242,7 @@ module SafetyKit
|
|
|
1201
1242
|
timestamp: Time,
|
|
1202
1243
|
type: :content_uploaded,
|
|
1203
1244
|
user_id: String,
|
|
1245
|
+
content_id: String,
|
|
1204
1246
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::ContentUploaded::metadata],
|
|
1205
1247
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::ContentUploaded::ResourcesUsed]
|
|
1206
1248
|
}
|
|
@@ -1367,6 +1409,7 @@ module SafetyKit
|
|
|
1367
1409
|
type: :create_account,
|
|
1368
1410
|
user_id: String,
|
|
1369
1411
|
content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::content],
|
|
1412
|
+
content_id: String,
|
|
1370
1413
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::metadata],
|
|
1371
1414
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::ResourcesUsed]
|
|
1372
1415
|
}
|
|
@@ -1386,6 +1429,10 @@ module SafetyKit
|
|
|
1386
1429
|
::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::content]
|
|
1387
1430
|
) -> ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::content]
|
|
1388
1431
|
|
|
1432
|
+
attr_reader content_id: String?
|
|
1433
|
+
|
|
1434
|
+
def content_id=: (String) -> String
|
|
1435
|
+
|
|
1389
1436
|
attr_reader metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::metadata]?
|
|
1390
1437
|
|
|
1391
1438
|
def metadata=: (
|
|
@@ -1403,6 +1450,7 @@ module SafetyKit
|
|
|
1403
1450
|
timestamp: Time,
|
|
1404
1451
|
user_id: String,
|
|
1405
1452
|
?content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::content],
|
|
1453
|
+
?content_id: String,
|
|
1406
1454
|
?metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::metadata],
|
|
1407
1455
|
?resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::ResourcesUsed],
|
|
1408
1456
|
?type: :create_account
|
|
@@ -1414,6 +1462,7 @@ module SafetyKit
|
|
|
1414
1462
|
type: :create_account,
|
|
1415
1463
|
user_id: String,
|
|
1416
1464
|
content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::content],
|
|
1465
|
+
content_id: String,
|
|
1417
1466
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::metadata],
|
|
1418
1467
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::ResourcesUsed]
|
|
1419
1468
|
}
|
|
@@ -1580,6 +1629,7 @@ module SafetyKit
|
|
|
1580
1629
|
type: :update_account,
|
|
1581
1630
|
user_id: String,
|
|
1582
1631
|
content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::content],
|
|
1632
|
+
content_id: String,
|
|
1583
1633
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::metadata],
|
|
1584
1634
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::ResourcesUsed]
|
|
1585
1635
|
}
|
|
@@ -1599,6 +1649,10 @@ module SafetyKit
|
|
|
1599
1649
|
::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::content]
|
|
1600
1650
|
) -> ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::content]
|
|
1601
1651
|
|
|
1652
|
+
attr_reader content_id: String?
|
|
1653
|
+
|
|
1654
|
+
def content_id=: (String) -> String
|
|
1655
|
+
|
|
1602
1656
|
attr_reader metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::metadata]?
|
|
1603
1657
|
|
|
1604
1658
|
def metadata=: (
|
|
@@ -1616,6 +1670,7 @@ module SafetyKit
|
|
|
1616
1670
|
timestamp: Time,
|
|
1617
1671
|
user_id: String,
|
|
1618
1672
|
?content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::content],
|
|
1673
|
+
?content_id: String,
|
|
1619
1674
|
?metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::metadata],
|
|
1620
1675
|
?resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::ResourcesUsed],
|
|
1621
1676
|
?type: :update_account
|
|
@@ -1627,6 +1682,7 @@ module SafetyKit
|
|
|
1627
1682
|
type: :update_account,
|
|
1628
1683
|
user_id: String,
|
|
1629
1684
|
content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::content],
|
|
1685
|
+
content_id: String,
|
|
1630
1686
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::metadata],
|
|
1631
1687
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::ResourcesUsed]
|
|
1632
1688
|
}
|