safetykit 0.8.0 → 0.9.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 +4 -200
- data/lib/safety_kit/version.rb +1 -1
- data/rbi/safety_kit/models/beta/event_create_params.rbi +0 -396
- data/sig/safety_kit/models/beta/event_create_params.rbs +0 -196
- 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: f1a671107be88330ee0f811d53e8682de7abeb3af6a2688377967666e24cd914
|
|
4
|
+
data.tar.gz: f3dacbc2b9ec525bf4227eb490ea5e9b49bd9c1504899b0b1211648ea2e78155
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 236641839506941d2c51deea450ac238e96b06dab2f3127a8e4c2ef6408cb4c4b8fd5c65c514a256ecfd18151c92d4d5122acd0f75898ca88e0d858f5d06e10b
|
|
7
|
+
data.tar.gz: 9f0391fc5968b36964e3afff66bc74a39f9abb9889b15f34028ed5a534d52b0cff47f014d0bf499233172796a84cf99721a495c7f07d1fa5329d0e73c6cd25d5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.9.0 (2026-06-01)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.8.0...v0.9.0](https://github.com/GetSafetyKit/safetykit-ruby/compare/v0.8.0...v0.9.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([b7fe7a1](https://github.com/GetSafetyKit/safetykit-ruby/commit/b7fe7a10ba9629daa9877731d322d59c8b192e9a))
|
|
10
|
+
|
|
3
11
|
## 0.8.0 (2026-06-01)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.7.0...v0.8.0](https://github.com/GetSafetyKit/safetykit-ruby/compare/v0.7.0...v0.8.0)
|
data/README.md
CHANGED
|
@@ -653,14 +653,6 @@ module SafetyKit
|
|
|
653
653
|
optional :metadata,
|
|
654
654
|
-> { SafetyKit::Internal::Type::HashOf[union: SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::Metadata] }
|
|
655
655
|
|
|
656
|
-
# @!attribute properties
|
|
657
|
-
# Stable, typed account-level facts SafetyKit can use in rules and aggregate
|
|
658
|
-
# analysis.
|
|
659
|
-
#
|
|
660
|
-
# @return [SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::Properties, nil]
|
|
661
|
-
optional :properties,
|
|
662
|
-
-> { SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::Properties }
|
|
663
|
-
|
|
664
656
|
# @!attribute resources_used
|
|
665
657
|
# Reusable resources observed during the event. Use this for emails, phone
|
|
666
658
|
# numbers, names, addresses, social handles, URLs, payment identifiers, or similar
|
|
@@ -670,7 +662,7 @@ module SafetyKit
|
|
|
670
662
|
optional :resources_used,
|
|
671
663
|
-> { SafetyKit::Internal::Type::ArrayOf[SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::ResourcesUsed] }
|
|
672
664
|
|
|
673
|
-
# @!method initialize(event_name:, timestamp:, type:, user_id:, content: nil, metadata: nil,
|
|
665
|
+
# @!method initialize(event_name:, timestamp:, type:, user_id:, content: nil, metadata: nil, resources_used: nil)
|
|
674
666
|
# Some parameter documentations has been truncated, see
|
|
675
667
|
# {SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest}
|
|
676
668
|
# for more details.
|
|
@@ -689,8 +681,6 @@ module SafetyKit
|
|
|
689
681
|
#
|
|
690
682
|
# @param metadata [Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean>}] Non-PII product context for filtering, segmentation, and debugging. Values may b
|
|
691
683
|
#
|
|
692
|
-
# @param properties [SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::Properties] Stable, typed account-level facts SafetyKit can use in rules and aggregate analy
|
|
693
|
-
#
|
|
694
684
|
# @param resources_used [Array<SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::ResourcesUsed>] Reusable resources observed during the event. Use this for emails, phone numbers
|
|
695
685
|
|
|
696
686
|
# @see SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest#type
|
|
@@ -871,45 +861,6 @@ module SafetyKit
|
|
|
871
861
|
}]
|
|
872
862
|
end
|
|
873
863
|
|
|
874
|
-
# @see SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest#properties
|
|
875
|
-
class Properties < SafetyKit::Internal::Type::BaseModel
|
|
876
|
-
# @!attribute account_state
|
|
877
|
-
# Current account lifecycle or moderation state.
|
|
878
|
-
#
|
|
879
|
-
# @return [String, nil]
|
|
880
|
-
optional :account_state, String
|
|
881
|
-
|
|
882
|
-
# @!attribute account_types
|
|
883
|
-
# Stable account categories in your product.
|
|
884
|
-
#
|
|
885
|
-
# @return [Array<String>, nil]
|
|
886
|
-
optional :account_types, SafetyKit::Internal::Type::ArrayOf[String]
|
|
887
|
-
|
|
888
|
-
# @!attribute country
|
|
889
|
-
# Country associated with the account.
|
|
890
|
-
#
|
|
891
|
-
# @return [String, nil]
|
|
892
|
-
optional :country, String
|
|
893
|
-
|
|
894
|
-
# @!attribute email_verified
|
|
895
|
-
# Whether the account's email address has been verified.
|
|
896
|
-
#
|
|
897
|
-
# @return [Boolean, nil]
|
|
898
|
-
optional :email_verified, SafetyKit::Internal::Type::Boolean
|
|
899
|
-
|
|
900
|
-
# @!method initialize(account_state: nil, account_types: nil, country: nil, email_verified: nil)
|
|
901
|
-
# Stable, typed account-level facts SafetyKit can use in rules and aggregate
|
|
902
|
-
# analysis.
|
|
903
|
-
#
|
|
904
|
-
# @param account_state [String] Current account lifecycle or moderation state.
|
|
905
|
-
#
|
|
906
|
-
# @param account_types [Array<String>] Stable account categories in your product.
|
|
907
|
-
#
|
|
908
|
-
# @param country [String] Country associated with the account.
|
|
909
|
-
#
|
|
910
|
-
# @param email_verified [Boolean] Whether the account's email address has been verified.
|
|
911
|
-
end
|
|
912
|
-
|
|
913
864
|
class ResourcesUsed < SafetyKit::Internal::Type::BaseModel
|
|
914
865
|
# @!attribute type
|
|
915
866
|
# Resource family, such as email, phone, name, address, url, instagram, tiktok,
|
|
@@ -981,14 +932,6 @@ module SafetyKit
|
|
|
981
932
|
optional :metadata,
|
|
982
933
|
-> { SafetyKit::Internal::Type::HashOf[union: SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::Metadata] }
|
|
983
934
|
|
|
984
|
-
# @!attribute properties
|
|
985
|
-
# Stable, typed account-level facts SafetyKit can use in rules and aggregate
|
|
986
|
-
# analysis.
|
|
987
|
-
#
|
|
988
|
-
# @return [SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::Properties, nil]
|
|
989
|
-
optional :properties,
|
|
990
|
-
-> { SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::Properties }
|
|
991
|
-
|
|
992
935
|
# @!attribute resources_used
|
|
993
936
|
# Reusable resources observed during the event. Use this for emails, phone
|
|
994
937
|
# numbers, names, addresses, social handles, URLs, payment identifiers, or similar
|
|
@@ -998,7 +941,7 @@ module SafetyKit
|
|
|
998
941
|
optional :resources_used,
|
|
999
942
|
-> { SafetyKit::Internal::Type::ArrayOf[SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::ResourcesUsed] }
|
|
1000
943
|
|
|
1001
|
-
# @!method initialize(event_name:, timestamp:, type:, user_id:, content: nil, metadata: nil,
|
|
944
|
+
# @!method initialize(event_name:, timestamp:, type:, user_id:, content: nil, metadata: nil, resources_used: nil)
|
|
1002
945
|
# Some parameter documentations has been truncated, see
|
|
1003
946
|
# {SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest}
|
|
1004
947
|
# for more details.
|
|
@@ -1018,8 +961,6 @@ module SafetyKit
|
|
|
1018
961
|
#
|
|
1019
962
|
# @param metadata [Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean>}] Non-PII product context for filtering, segmentation, and debugging. Values may b
|
|
1020
963
|
#
|
|
1021
|
-
# @param properties [SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::Properties] Stable, typed account-level facts SafetyKit can use in rules and aggregate analy
|
|
1022
|
-
#
|
|
1023
964
|
# @param resources_used [Array<SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::ResourcesUsed>] Reusable resources observed during the event. Use this for emails, phone numbers
|
|
1024
965
|
|
|
1025
966
|
# @see SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest#type
|
|
@@ -1200,45 +1141,6 @@ module SafetyKit
|
|
|
1200
1141
|
}]
|
|
1201
1142
|
end
|
|
1202
1143
|
|
|
1203
|
-
# @see SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest#properties
|
|
1204
|
-
class Properties < SafetyKit::Internal::Type::BaseModel
|
|
1205
|
-
# @!attribute account_state
|
|
1206
|
-
# Current account lifecycle or moderation state.
|
|
1207
|
-
#
|
|
1208
|
-
# @return [String, nil]
|
|
1209
|
-
optional :account_state, String
|
|
1210
|
-
|
|
1211
|
-
# @!attribute account_types
|
|
1212
|
-
# Stable account categories in your product.
|
|
1213
|
-
#
|
|
1214
|
-
# @return [Array<String>, nil]
|
|
1215
|
-
optional :account_types, SafetyKit::Internal::Type::ArrayOf[String]
|
|
1216
|
-
|
|
1217
|
-
# @!attribute country
|
|
1218
|
-
# Country associated with the account.
|
|
1219
|
-
#
|
|
1220
|
-
# @return [String, nil]
|
|
1221
|
-
optional :country, String
|
|
1222
|
-
|
|
1223
|
-
# @!attribute email_verified
|
|
1224
|
-
# Whether the account's email address has been verified.
|
|
1225
|
-
#
|
|
1226
|
-
# @return [Boolean, nil]
|
|
1227
|
-
optional :email_verified, SafetyKit::Internal::Type::Boolean
|
|
1228
|
-
|
|
1229
|
-
# @!method initialize(account_state: nil, account_types: nil, country: nil, email_verified: nil)
|
|
1230
|
-
# Stable, typed account-level facts SafetyKit can use in rules and aggregate
|
|
1231
|
-
# analysis.
|
|
1232
|
-
#
|
|
1233
|
-
# @param account_state [String] Current account lifecycle or moderation state.
|
|
1234
|
-
#
|
|
1235
|
-
# @param account_types [Array<String>] Stable account categories in your product.
|
|
1236
|
-
#
|
|
1237
|
-
# @param country [String] Country associated with the account.
|
|
1238
|
-
#
|
|
1239
|
-
# @param email_verified [Boolean] Whether the account's email address has been verified.
|
|
1240
|
-
end
|
|
1241
|
-
|
|
1242
1144
|
class ResourcesUsed < SafetyKit::Internal::Type::BaseModel
|
|
1243
1145
|
# @!attribute type
|
|
1244
1146
|
# Resource family, such as email, phone, name, address, url, instagram, tiktok,
|
|
@@ -1875,14 +1777,6 @@ module SafetyKit
|
|
|
1875
1777
|
optional :metadata,
|
|
1876
1778
|
-> { SafetyKit::Internal::Type::HashOf[union: SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::Metadata] }
|
|
1877
1779
|
|
|
1878
|
-
# @!attribute properties
|
|
1879
|
-
# Stable, typed account-level facts SafetyKit can use in rules and aggregate
|
|
1880
|
-
# analysis.
|
|
1881
|
-
#
|
|
1882
|
-
# @return [SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::Properties, nil]
|
|
1883
|
-
optional :properties,
|
|
1884
|
-
-> { SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::Properties }
|
|
1885
|
-
|
|
1886
1780
|
# @!attribute resources_used
|
|
1887
1781
|
# Reusable resources observed during the event. Use this for emails, phone
|
|
1888
1782
|
# numbers, names, addresses, social handles, URLs, payment identifiers, or similar
|
|
@@ -1892,7 +1786,7 @@ module SafetyKit
|
|
|
1892
1786
|
optional :resources_used,
|
|
1893
1787
|
-> { SafetyKit::Internal::Type::ArrayOf[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::ResourcesUsed] }
|
|
1894
1788
|
|
|
1895
|
-
# @!method initialize(event_name:, timestamp:, user_id:, content: nil, metadata: nil,
|
|
1789
|
+
# @!method initialize(event_name:, timestamp:, user_id:, content: nil, metadata: nil, resources_used: nil, type: :create_account)
|
|
1896
1790
|
# Some parameter documentations has been truncated, see
|
|
1897
1791
|
# {SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount}
|
|
1898
1792
|
# for more details.
|
|
@@ -1909,8 +1803,6 @@ module SafetyKit
|
|
|
1909
1803
|
#
|
|
1910
1804
|
# @param metadata [Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean>}] Non-PII product context for filtering, segmentation, and debugging. Values may b
|
|
1911
1805
|
#
|
|
1912
|
-
# @param properties [SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::Properties] Stable, typed account-level facts SafetyKit can use in rules and aggregate analy
|
|
1913
|
-
#
|
|
1914
1806
|
# @param resources_used [Array<SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::ResourcesUsed>] Reusable resources observed during the event. Use this for emails, phone numbers
|
|
1915
1807
|
#
|
|
1916
1808
|
# @param type [Symbol, :create_account]
|
|
@@ -2083,45 +1975,6 @@ module SafetyKit
|
|
|
2083
1975
|
]
|
|
2084
1976
|
end
|
|
2085
1977
|
|
|
2086
|
-
# @see SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount#properties
|
|
2087
|
-
class Properties < SafetyKit::Internal::Type::BaseModel
|
|
2088
|
-
# @!attribute account_state
|
|
2089
|
-
# Current account lifecycle or moderation state.
|
|
2090
|
-
#
|
|
2091
|
-
# @return [String, nil]
|
|
2092
|
-
optional :account_state, String
|
|
2093
|
-
|
|
2094
|
-
# @!attribute account_types
|
|
2095
|
-
# Stable account categories in your product.
|
|
2096
|
-
#
|
|
2097
|
-
# @return [Array<String>, nil]
|
|
2098
|
-
optional :account_types, SafetyKit::Internal::Type::ArrayOf[String]
|
|
2099
|
-
|
|
2100
|
-
# @!attribute country
|
|
2101
|
-
# Country associated with the account.
|
|
2102
|
-
#
|
|
2103
|
-
# @return [String, nil]
|
|
2104
|
-
optional :country, String
|
|
2105
|
-
|
|
2106
|
-
# @!attribute email_verified
|
|
2107
|
-
# Whether the account's email address has been verified.
|
|
2108
|
-
#
|
|
2109
|
-
# @return [Boolean, nil]
|
|
2110
|
-
optional :email_verified, SafetyKit::Internal::Type::Boolean
|
|
2111
|
-
|
|
2112
|
-
# @!method initialize(account_state: nil, account_types: nil, country: nil, email_verified: nil)
|
|
2113
|
-
# Stable, typed account-level facts SafetyKit can use in rules and aggregate
|
|
2114
|
-
# analysis.
|
|
2115
|
-
#
|
|
2116
|
-
# @param account_state [String] Current account lifecycle or moderation state.
|
|
2117
|
-
#
|
|
2118
|
-
# @param account_types [Array<String>] Stable account categories in your product.
|
|
2119
|
-
#
|
|
2120
|
-
# @param country [String] Country associated with the account.
|
|
2121
|
-
#
|
|
2122
|
-
# @param email_verified [Boolean] Whether the account's email address has been verified.
|
|
2123
|
-
end
|
|
2124
|
-
|
|
2125
1978
|
class ResourcesUsed < SafetyKit::Internal::Type::BaseModel
|
|
2126
1979
|
# @!attribute type
|
|
2127
1980
|
# Resource family, such as email, phone, name, address, url, instagram, tiktok,
|
|
@@ -2193,14 +2046,6 @@ module SafetyKit
|
|
|
2193
2046
|
optional :metadata,
|
|
2194
2047
|
-> { SafetyKit::Internal::Type::HashOf[union: SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::Metadata] }
|
|
2195
2048
|
|
|
2196
|
-
# @!attribute properties
|
|
2197
|
-
# Stable, typed account-level facts SafetyKit can use in rules and aggregate
|
|
2198
|
-
# analysis.
|
|
2199
|
-
#
|
|
2200
|
-
# @return [SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::Properties, nil]
|
|
2201
|
-
optional :properties,
|
|
2202
|
-
-> { SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::Properties }
|
|
2203
|
-
|
|
2204
2049
|
# @!attribute resources_used
|
|
2205
2050
|
# Reusable resources observed during the event. Use this for emails, phone
|
|
2206
2051
|
# numbers, names, addresses, social handles, URLs, payment identifiers, or similar
|
|
@@ -2210,7 +2055,7 @@ module SafetyKit
|
|
|
2210
2055
|
optional :resources_used,
|
|
2211
2056
|
-> { SafetyKit::Internal::Type::ArrayOf[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::ResourcesUsed] }
|
|
2212
2057
|
|
|
2213
|
-
# @!method initialize(event_name:, timestamp:, user_id:, content: nil, metadata: nil,
|
|
2058
|
+
# @!method initialize(event_name:, timestamp:, user_id:, content: nil, metadata: nil, resources_used: nil, type: :update_account)
|
|
2214
2059
|
# Some parameter documentations has been truncated, see
|
|
2215
2060
|
# {SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount}
|
|
2216
2061
|
# for more details.
|
|
@@ -2228,8 +2073,6 @@ module SafetyKit
|
|
|
2228
2073
|
#
|
|
2229
2074
|
# @param metadata [Hash{Symbol=>String, Float, Boolean, Array<String, Float, Boolean>}] Non-PII product context for filtering, segmentation, and debugging. Values may b
|
|
2230
2075
|
#
|
|
2231
|
-
# @param properties [SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::Properties] Stable, typed account-level facts SafetyKit can use in rules and aggregate analy
|
|
2232
|
-
#
|
|
2233
2076
|
# @param resources_used [Array<SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::ResourcesUsed>] Reusable resources observed during the event. Use this for emails, phone numbers
|
|
2234
2077
|
#
|
|
2235
2078
|
# @param type [Symbol, :update_account]
|
|
@@ -2402,45 +2245,6 @@ module SafetyKit
|
|
|
2402
2245
|
]
|
|
2403
2246
|
end
|
|
2404
2247
|
|
|
2405
|
-
# @see SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount#properties
|
|
2406
|
-
class Properties < SafetyKit::Internal::Type::BaseModel
|
|
2407
|
-
# @!attribute account_state
|
|
2408
|
-
# Current account lifecycle or moderation state.
|
|
2409
|
-
#
|
|
2410
|
-
# @return [String, nil]
|
|
2411
|
-
optional :account_state, String
|
|
2412
|
-
|
|
2413
|
-
# @!attribute account_types
|
|
2414
|
-
# Stable account categories in your product.
|
|
2415
|
-
#
|
|
2416
|
-
# @return [Array<String>, nil]
|
|
2417
|
-
optional :account_types, SafetyKit::Internal::Type::ArrayOf[String]
|
|
2418
|
-
|
|
2419
|
-
# @!attribute country
|
|
2420
|
-
# Country associated with the account.
|
|
2421
|
-
#
|
|
2422
|
-
# @return [String, nil]
|
|
2423
|
-
optional :country, String
|
|
2424
|
-
|
|
2425
|
-
# @!attribute email_verified
|
|
2426
|
-
# Whether the account's email address has been verified.
|
|
2427
|
-
#
|
|
2428
|
-
# @return [Boolean, nil]
|
|
2429
|
-
optional :email_verified, SafetyKit::Internal::Type::Boolean
|
|
2430
|
-
|
|
2431
|
-
# @!method initialize(account_state: nil, account_types: nil, country: nil, email_verified: nil)
|
|
2432
|
-
# Stable, typed account-level facts SafetyKit can use in rules and aggregate
|
|
2433
|
-
# analysis.
|
|
2434
|
-
#
|
|
2435
|
-
# @param account_state [String] Current account lifecycle or moderation state.
|
|
2436
|
-
#
|
|
2437
|
-
# @param account_types [Array<String>] Stable account categories in your product.
|
|
2438
|
-
#
|
|
2439
|
-
# @param country [String] Country associated with the account.
|
|
2440
|
-
#
|
|
2441
|
-
# @param email_verified [Boolean] Whether the account's email address has been verified.
|
|
2442
|
-
end
|
|
2443
|
-
|
|
2444
2248
|
class ResourcesUsed < SafetyKit::Internal::Type::BaseModel
|
|
2445
2249
|
# @!attribute type
|
|
2446
2250
|
# Resource family, such as email, phone, name, address, url, instagram, tiktok,
|
data/lib/safety_kit/version.rb
CHANGED
|
@@ -1402,25 +1402,6 @@ module SafetyKit
|
|
|
1402
1402
|
end
|
|
1403
1403
|
attr_writer :metadata
|
|
1404
1404
|
|
|
1405
|
-
# Stable, typed account-level facts SafetyKit can use in rules and aggregate
|
|
1406
|
-
# analysis.
|
|
1407
|
-
sig do
|
|
1408
|
-
returns(
|
|
1409
|
-
T.nilable(
|
|
1410
|
-
SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::Properties
|
|
1411
|
-
)
|
|
1412
|
-
)
|
|
1413
|
-
end
|
|
1414
|
-
attr_reader :properties
|
|
1415
|
-
|
|
1416
|
-
sig do
|
|
1417
|
-
params(
|
|
1418
|
-
properties:
|
|
1419
|
-
SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::Properties::OrHash
|
|
1420
|
-
).void
|
|
1421
|
-
end
|
|
1422
|
-
attr_writer :properties
|
|
1423
|
-
|
|
1424
1405
|
# Reusable resources observed during the event. Use this for emails, phone
|
|
1425
1406
|
# numbers, names, addresses, social handles, URLs, payment identifiers, or similar
|
|
1426
1407
|
# identifiers.
|
|
@@ -1465,8 +1446,6 @@ module SafetyKit
|
|
|
1465
1446
|
Symbol,
|
|
1466
1447
|
SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::Metadata::Variants
|
|
1467
1448
|
],
|
|
1468
|
-
properties:
|
|
1469
|
-
SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::Properties::OrHash,
|
|
1470
1449
|
resources_used:
|
|
1471
1450
|
T::Array[
|
|
1472
1451
|
SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::ResourcesUsed::OrHash
|
|
@@ -1489,9 +1468,6 @@ module SafetyKit
|
|
|
1489
1468
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
1490
1469
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
1491
1470
|
metadata: nil,
|
|
1492
|
-
# Stable, typed account-level facts SafetyKit can use in rules and aggregate
|
|
1493
|
-
# analysis.
|
|
1494
|
-
properties: nil,
|
|
1495
1471
|
# Reusable resources observed during the event. Use this for emails, phone
|
|
1496
1472
|
# numbers, names, addresses, social handles, URLs, payment identifiers, or similar
|
|
1497
1473
|
# identifiers.
|
|
@@ -1519,8 +1495,6 @@ module SafetyKit
|
|
|
1519
1495
|
Symbol,
|
|
1520
1496
|
SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::Metadata::Variants
|
|
1521
1497
|
],
|
|
1522
|
-
properties:
|
|
1523
|
-
SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::Properties,
|
|
1524
1498
|
resources_used:
|
|
1525
1499
|
T::Array[
|
|
1526
1500
|
SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::ResourcesUsed
|
|
@@ -1910,79 +1884,6 @@ module SafetyKit
|
|
|
1910
1884
|
)
|
|
1911
1885
|
end
|
|
1912
1886
|
|
|
1913
|
-
class Properties < SafetyKit::Internal::Type::BaseModel
|
|
1914
|
-
OrHash =
|
|
1915
|
-
T.type_alias do
|
|
1916
|
-
T.any(
|
|
1917
|
-
SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::Properties,
|
|
1918
|
-
SafetyKit::Internal::AnyHash
|
|
1919
|
-
)
|
|
1920
|
-
end
|
|
1921
|
-
|
|
1922
|
-
# Current account lifecycle or moderation state.
|
|
1923
|
-
sig { returns(T.nilable(String)) }
|
|
1924
|
-
attr_reader :account_state
|
|
1925
|
-
|
|
1926
|
-
sig { params(account_state: String).void }
|
|
1927
|
-
attr_writer :account_state
|
|
1928
|
-
|
|
1929
|
-
# Stable account categories in your product.
|
|
1930
|
-
sig { returns(T.nilable(T::Array[String])) }
|
|
1931
|
-
attr_reader :account_types
|
|
1932
|
-
|
|
1933
|
-
sig { params(account_types: T::Array[String]).void }
|
|
1934
|
-
attr_writer :account_types
|
|
1935
|
-
|
|
1936
|
-
# Country associated with the account.
|
|
1937
|
-
sig { returns(T.nilable(String)) }
|
|
1938
|
-
attr_reader :country
|
|
1939
|
-
|
|
1940
|
-
sig { params(country: String).void }
|
|
1941
|
-
attr_writer :country
|
|
1942
|
-
|
|
1943
|
-
# Whether the account's email address has been verified.
|
|
1944
|
-
sig { returns(T.nilable(T::Boolean)) }
|
|
1945
|
-
attr_reader :email_verified
|
|
1946
|
-
|
|
1947
|
-
sig { params(email_verified: T::Boolean).void }
|
|
1948
|
-
attr_writer :email_verified
|
|
1949
|
-
|
|
1950
|
-
# Stable, typed account-level facts SafetyKit can use in rules and aggregate
|
|
1951
|
-
# analysis.
|
|
1952
|
-
sig do
|
|
1953
|
-
params(
|
|
1954
|
-
account_state: String,
|
|
1955
|
-
account_types: T::Array[String],
|
|
1956
|
-
country: String,
|
|
1957
|
-
email_verified: T::Boolean
|
|
1958
|
-
).returns(T.attached_class)
|
|
1959
|
-
end
|
|
1960
|
-
def self.new(
|
|
1961
|
-
# Current account lifecycle or moderation state.
|
|
1962
|
-
account_state: nil,
|
|
1963
|
-
# Stable account categories in your product.
|
|
1964
|
-
account_types: nil,
|
|
1965
|
-
# Country associated with the account.
|
|
1966
|
-
country: nil,
|
|
1967
|
-
# Whether the account's email address has been verified.
|
|
1968
|
-
email_verified: nil
|
|
1969
|
-
)
|
|
1970
|
-
end
|
|
1971
|
-
|
|
1972
|
-
sig do
|
|
1973
|
-
override.returns(
|
|
1974
|
-
{
|
|
1975
|
-
account_state: String,
|
|
1976
|
-
account_types: T::Array[String],
|
|
1977
|
-
country: String,
|
|
1978
|
-
email_verified: T::Boolean
|
|
1979
|
-
}
|
|
1980
|
-
)
|
|
1981
|
-
end
|
|
1982
|
-
def to_hash
|
|
1983
|
-
end
|
|
1984
|
-
end
|
|
1985
|
-
|
|
1986
1887
|
class ResourcesUsed < SafetyKit::Internal::Type::BaseModel
|
|
1987
1888
|
OrHash =
|
|
1988
1889
|
T.type_alias do
|
|
@@ -2107,25 +2008,6 @@ module SafetyKit
|
|
|
2107
2008
|
end
|
|
2108
2009
|
attr_writer :metadata
|
|
2109
2010
|
|
|
2110
|
-
# Stable, typed account-level facts SafetyKit can use in rules and aggregate
|
|
2111
|
-
# analysis.
|
|
2112
|
-
sig do
|
|
2113
|
-
returns(
|
|
2114
|
-
T.nilable(
|
|
2115
|
-
SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::Properties
|
|
2116
|
-
)
|
|
2117
|
-
)
|
|
2118
|
-
end
|
|
2119
|
-
attr_reader :properties
|
|
2120
|
-
|
|
2121
|
-
sig do
|
|
2122
|
-
params(
|
|
2123
|
-
properties:
|
|
2124
|
-
SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::Properties::OrHash
|
|
2125
|
-
).void
|
|
2126
|
-
end
|
|
2127
|
-
attr_writer :properties
|
|
2128
|
-
|
|
2129
2011
|
# Reusable resources observed during the event. Use this for emails, phone
|
|
2130
2012
|
# numbers, names, addresses, social handles, URLs, payment identifiers, or similar
|
|
2131
2013
|
# identifiers.
|
|
@@ -2171,8 +2053,6 @@ module SafetyKit
|
|
|
2171
2053
|
Symbol,
|
|
2172
2054
|
SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::Metadata::Variants
|
|
2173
2055
|
],
|
|
2174
|
-
properties:
|
|
2175
|
-
SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::Properties::OrHash,
|
|
2176
2056
|
resources_used:
|
|
2177
2057
|
T::Array[
|
|
2178
2058
|
SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::ResourcesUsed::OrHash
|
|
@@ -2195,9 +2075,6 @@ module SafetyKit
|
|
|
2195
2075
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
2196
2076
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
2197
2077
|
metadata: nil,
|
|
2198
|
-
# Stable, typed account-level facts SafetyKit can use in rules and aggregate
|
|
2199
|
-
# analysis.
|
|
2200
|
-
properties: nil,
|
|
2201
2078
|
# Reusable resources observed during the event. Use this for emails, phone
|
|
2202
2079
|
# numbers, names, addresses, social handles, URLs, payment identifiers, or similar
|
|
2203
2080
|
# identifiers.
|
|
@@ -2225,8 +2102,6 @@ module SafetyKit
|
|
|
2225
2102
|
Symbol,
|
|
2226
2103
|
SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::Metadata::Variants
|
|
2227
2104
|
],
|
|
2228
|
-
properties:
|
|
2229
|
-
SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::Properties,
|
|
2230
2105
|
resources_used:
|
|
2231
2106
|
T::Array[
|
|
2232
2107
|
SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::ResourcesUsed
|
|
@@ -2616,79 +2491,6 @@ module SafetyKit
|
|
|
2616
2491
|
)
|
|
2617
2492
|
end
|
|
2618
2493
|
|
|
2619
|
-
class Properties < SafetyKit::Internal::Type::BaseModel
|
|
2620
|
-
OrHash =
|
|
2621
|
-
T.type_alias do
|
|
2622
|
-
T.any(
|
|
2623
|
-
SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::Properties,
|
|
2624
|
-
SafetyKit::Internal::AnyHash
|
|
2625
|
-
)
|
|
2626
|
-
end
|
|
2627
|
-
|
|
2628
|
-
# Current account lifecycle or moderation state.
|
|
2629
|
-
sig { returns(T.nilable(String)) }
|
|
2630
|
-
attr_reader :account_state
|
|
2631
|
-
|
|
2632
|
-
sig { params(account_state: String).void }
|
|
2633
|
-
attr_writer :account_state
|
|
2634
|
-
|
|
2635
|
-
# Stable account categories in your product.
|
|
2636
|
-
sig { returns(T.nilable(T::Array[String])) }
|
|
2637
|
-
attr_reader :account_types
|
|
2638
|
-
|
|
2639
|
-
sig { params(account_types: T::Array[String]).void }
|
|
2640
|
-
attr_writer :account_types
|
|
2641
|
-
|
|
2642
|
-
# Country associated with the account.
|
|
2643
|
-
sig { returns(T.nilable(String)) }
|
|
2644
|
-
attr_reader :country
|
|
2645
|
-
|
|
2646
|
-
sig { params(country: String).void }
|
|
2647
|
-
attr_writer :country
|
|
2648
|
-
|
|
2649
|
-
# Whether the account's email address has been verified.
|
|
2650
|
-
sig { returns(T.nilable(T::Boolean)) }
|
|
2651
|
-
attr_reader :email_verified
|
|
2652
|
-
|
|
2653
|
-
sig { params(email_verified: T::Boolean).void }
|
|
2654
|
-
attr_writer :email_verified
|
|
2655
|
-
|
|
2656
|
-
# Stable, typed account-level facts SafetyKit can use in rules and aggregate
|
|
2657
|
-
# analysis.
|
|
2658
|
-
sig do
|
|
2659
|
-
params(
|
|
2660
|
-
account_state: String,
|
|
2661
|
-
account_types: T::Array[String],
|
|
2662
|
-
country: String,
|
|
2663
|
-
email_verified: T::Boolean
|
|
2664
|
-
).returns(T.attached_class)
|
|
2665
|
-
end
|
|
2666
|
-
def self.new(
|
|
2667
|
-
# Current account lifecycle or moderation state.
|
|
2668
|
-
account_state: nil,
|
|
2669
|
-
# Stable account categories in your product.
|
|
2670
|
-
account_types: nil,
|
|
2671
|
-
# Country associated with the account.
|
|
2672
|
-
country: nil,
|
|
2673
|
-
# Whether the account's email address has been verified.
|
|
2674
|
-
email_verified: nil
|
|
2675
|
-
)
|
|
2676
|
-
end
|
|
2677
|
-
|
|
2678
|
-
sig do
|
|
2679
|
-
override.returns(
|
|
2680
|
-
{
|
|
2681
|
-
account_state: String,
|
|
2682
|
-
account_types: T::Array[String],
|
|
2683
|
-
country: String,
|
|
2684
|
-
email_verified: T::Boolean
|
|
2685
|
-
}
|
|
2686
|
-
)
|
|
2687
|
-
end
|
|
2688
|
-
def to_hash
|
|
2689
|
-
end
|
|
2690
|
-
end
|
|
2691
|
-
|
|
2692
2494
|
class ResourcesUsed < SafetyKit::Internal::Type::BaseModel
|
|
2693
2495
|
OrHash =
|
|
2694
2496
|
T.type_alias do
|
|
@@ -3960,25 +3762,6 @@ module SafetyKit
|
|
|
3960
3762
|
end
|
|
3961
3763
|
attr_writer :metadata
|
|
3962
3764
|
|
|
3963
|
-
# Stable, typed account-level facts SafetyKit can use in rules and aggregate
|
|
3964
|
-
# analysis.
|
|
3965
|
-
sig do
|
|
3966
|
-
returns(
|
|
3967
|
-
T.nilable(
|
|
3968
|
-
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::Properties
|
|
3969
|
-
)
|
|
3970
|
-
)
|
|
3971
|
-
end
|
|
3972
|
-
attr_reader :properties
|
|
3973
|
-
|
|
3974
|
-
sig do
|
|
3975
|
-
params(
|
|
3976
|
-
properties:
|
|
3977
|
-
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::Properties::OrHash
|
|
3978
|
-
).void
|
|
3979
|
-
end
|
|
3980
|
-
attr_writer :properties
|
|
3981
|
-
|
|
3982
3765
|
# Reusable resources observed during the event. Use this for emails, phone
|
|
3983
3766
|
# numbers, names, addresses, social handles, URLs, payment identifiers, or similar
|
|
3984
3767
|
# identifiers.
|
|
@@ -4021,8 +3804,6 @@ module SafetyKit
|
|
|
4021
3804
|
Symbol,
|
|
4022
3805
|
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::Metadata::Variants
|
|
4023
3806
|
],
|
|
4024
|
-
properties:
|
|
4025
|
-
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::Properties::OrHash,
|
|
4026
3807
|
resources_used:
|
|
4027
3808
|
T::Array[
|
|
4028
3809
|
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::ResourcesUsed::OrHash
|
|
@@ -4045,9 +3826,6 @@ module SafetyKit
|
|
|
4045
3826
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
4046
3827
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
4047
3828
|
metadata: nil,
|
|
4048
|
-
# Stable, typed account-level facts SafetyKit can use in rules and aggregate
|
|
4049
|
-
# analysis.
|
|
4050
|
-
properties: nil,
|
|
4051
3829
|
# Reusable resources observed during the event. Use this for emails, phone
|
|
4052
3830
|
# numbers, names, addresses, social handles, URLs, payment identifiers, or similar
|
|
4053
3831
|
# identifiers.
|
|
@@ -4075,8 +3853,6 @@ module SafetyKit
|
|
|
4075
3853
|
Symbol,
|
|
4076
3854
|
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::Metadata::Variants
|
|
4077
3855
|
],
|
|
4078
|
-
properties:
|
|
4079
|
-
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::Properties,
|
|
4080
3856
|
resources_used:
|
|
4081
3857
|
T::Array[
|
|
4082
3858
|
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::ResourcesUsed
|
|
@@ -4437,79 +4213,6 @@ module SafetyKit
|
|
|
4437
4213
|
)
|
|
4438
4214
|
end
|
|
4439
4215
|
|
|
4440
|
-
class Properties < SafetyKit::Internal::Type::BaseModel
|
|
4441
|
-
OrHash =
|
|
4442
|
-
T.type_alias do
|
|
4443
|
-
T.any(
|
|
4444
|
-
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::Properties,
|
|
4445
|
-
SafetyKit::Internal::AnyHash
|
|
4446
|
-
)
|
|
4447
|
-
end
|
|
4448
|
-
|
|
4449
|
-
# Current account lifecycle or moderation state.
|
|
4450
|
-
sig { returns(T.nilable(String)) }
|
|
4451
|
-
attr_reader :account_state
|
|
4452
|
-
|
|
4453
|
-
sig { params(account_state: String).void }
|
|
4454
|
-
attr_writer :account_state
|
|
4455
|
-
|
|
4456
|
-
# Stable account categories in your product.
|
|
4457
|
-
sig { returns(T.nilable(T::Array[String])) }
|
|
4458
|
-
attr_reader :account_types
|
|
4459
|
-
|
|
4460
|
-
sig { params(account_types: T::Array[String]).void }
|
|
4461
|
-
attr_writer :account_types
|
|
4462
|
-
|
|
4463
|
-
# Country associated with the account.
|
|
4464
|
-
sig { returns(T.nilable(String)) }
|
|
4465
|
-
attr_reader :country
|
|
4466
|
-
|
|
4467
|
-
sig { params(country: String).void }
|
|
4468
|
-
attr_writer :country
|
|
4469
|
-
|
|
4470
|
-
# Whether the account's email address has been verified.
|
|
4471
|
-
sig { returns(T.nilable(T::Boolean)) }
|
|
4472
|
-
attr_reader :email_verified
|
|
4473
|
-
|
|
4474
|
-
sig { params(email_verified: T::Boolean).void }
|
|
4475
|
-
attr_writer :email_verified
|
|
4476
|
-
|
|
4477
|
-
# Stable, typed account-level facts SafetyKit can use in rules and aggregate
|
|
4478
|
-
# analysis.
|
|
4479
|
-
sig do
|
|
4480
|
-
params(
|
|
4481
|
-
account_state: String,
|
|
4482
|
-
account_types: T::Array[String],
|
|
4483
|
-
country: String,
|
|
4484
|
-
email_verified: T::Boolean
|
|
4485
|
-
).returns(T.attached_class)
|
|
4486
|
-
end
|
|
4487
|
-
def self.new(
|
|
4488
|
-
# Current account lifecycle or moderation state.
|
|
4489
|
-
account_state: nil,
|
|
4490
|
-
# Stable account categories in your product.
|
|
4491
|
-
account_types: nil,
|
|
4492
|
-
# Country associated with the account.
|
|
4493
|
-
country: nil,
|
|
4494
|
-
# Whether the account's email address has been verified.
|
|
4495
|
-
email_verified: nil
|
|
4496
|
-
)
|
|
4497
|
-
end
|
|
4498
|
-
|
|
4499
|
-
sig do
|
|
4500
|
-
override.returns(
|
|
4501
|
-
{
|
|
4502
|
-
account_state: String,
|
|
4503
|
-
account_types: T::Array[String],
|
|
4504
|
-
country: String,
|
|
4505
|
-
email_verified: T::Boolean
|
|
4506
|
-
}
|
|
4507
|
-
)
|
|
4508
|
-
end
|
|
4509
|
-
def to_hash
|
|
4510
|
-
end
|
|
4511
|
-
end
|
|
4512
|
-
|
|
4513
4216
|
class ResourcesUsed < SafetyKit::Internal::Type::BaseModel
|
|
4514
4217
|
OrHash =
|
|
4515
4218
|
T.type_alias do
|
|
@@ -4630,25 +4333,6 @@ module SafetyKit
|
|
|
4630
4333
|
end
|
|
4631
4334
|
attr_writer :metadata
|
|
4632
4335
|
|
|
4633
|
-
# Stable, typed account-level facts SafetyKit can use in rules and aggregate
|
|
4634
|
-
# analysis.
|
|
4635
|
-
sig do
|
|
4636
|
-
returns(
|
|
4637
|
-
T.nilable(
|
|
4638
|
-
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::Properties
|
|
4639
|
-
)
|
|
4640
|
-
)
|
|
4641
|
-
end
|
|
4642
|
-
attr_reader :properties
|
|
4643
|
-
|
|
4644
|
-
sig do
|
|
4645
|
-
params(
|
|
4646
|
-
properties:
|
|
4647
|
-
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::Properties::OrHash
|
|
4648
|
-
).void
|
|
4649
|
-
end
|
|
4650
|
-
attr_writer :properties
|
|
4651
|
-
|
|
4652
4336
|
# Reusable resources observed during the event. Use this for emails, phone
|
|
4653
4337
|
# numbers, names, addresses, social handles, URLs, payment identifiers, or similar
|
|
4654
4338
|
# identifiers.
|
|
@@ -4692,8 +4376,6 @@ module SafetyKit
|
|
|
4692
4376
|
Symbol,
|
|
4693
4377
|
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::Metadata::Variants
|
|
4694
4378
|
],
|
|
4695
|
-
properties:
|
|
4696
|
-
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::Properties::OrHash,
|
|
4697
4379
|
resources_used:
|
|
4698
4380
|
T::Array[
|
|
4699
4381
|
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::ResourcesUsed::OrHash
|
|
@@ -4716,9 +4398,6 @@ module SafetyKit
|
|
|
4716
4398
|
# Non-PII product context for filtering, segmentation, and debugging. Values may
|
|
4717
4399
|
# be strings, numbers, booleans, or arrays of those scalar values.
|
|
4718
4400
|
metadata: nil,
|
|
4719
|
-
# Stable, typed account-level facts SafetyKit can use in rules and aggregate
|
|
4720
|
-
# analysis.
|
|
4721
|
-
properties: nil,
|
|
4722
4401
|
# Reusable resources observed during the event. Use this for emails, phone
|
|
4723
4402
|
# numbers, names, addresses, social handles, URLs, payment identifiers, or similar
|
|
4724
4403
|
# identifiers.
|
|
@@ -4746,8 +4425,6 @@ module SafetyKit
|
|
|
4746
4425
|
Symbol,
|
|
4747
4426
|
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::Metadata::Variants
|
|
4748
4427
|
],
|
|
4749
|
-
properties:
|
|
4750
|
-
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::Properties,
|
|
4751
4428
|
resources_used:
|
|
4752
4429
|
T::Array[
|
|
4753
4430
|
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::ResourcesUsed
|
|
@@ -5108,79 +4785,6 @@ module SafetyKit
|
|
|
5108
4785
|
)
|
|
5109
4786
|
end
|
|
5110
4787
|
|
|
5111
|
-
class Properties < SafetyKit::Internal::Type::BaseModel
|
|
5112
|
-
OrHash =
|
|
5113
|
-
T.type_alias do
|
|
5114
|
-
T.any(
|
|
5115
|
-
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::Properties,
|
|
5116
|
-
SafetyKit::Internal::AnyHash
|
|
5117
|
-
)
|
|
5118
|
-
end
|
|
5119
|
-
|
|
5120
|
-
# Current account lifecycle or moderation state.
|
|
5121
|
-
sig { returns(T.nilable(String)) }
|
|
5122
|
-
attr_reader :account_state
|
|
5123
|
-
|
|
5124
|
-
sig { params(account_state: String).void }
|
|
5125
|
-
attr_writer :account_state
|
|
5126
|
-
|
|
5127
|
-
# Stable account categories in your product.
|
|
5128
|
-
sig { returns(T.nilable(T::Array[String])) }
|
|
5129
|
-
attr_reader :account_types
|
|
5130
|
-
|
|
5131
|
-
sig { params(account_types: T::Array[String]).void }
|
|
5132
|
-
attr_writer :account_types
|
|
5133
|
-
|
|
5134
|
-
# Country associated with the account.
|
|
5135
|
-
sig { returns(T.nilable(String)) }
|
|
5136
|
-
attr_reader :country
|
|
5137
|
-
|
|
5138
|
-
sig { params(country: String).void }
|
|
5139
|
-
attr_writer :country
|
|
5140
|
-
|
|
5141
|
-
# Whether the account's email address has been verified.
|
|
5142
|
-
sig { returns(T.nilable(T::Boolean)) }
|
|
5143
|
-
attr_reader :email_verified
|
|
5144
|
-
|
|
5145
|
-
sig { params(email_verified: T::Boolean).void }
|
|
5146
|
-
attr_writer :email_verified
|
|
5147
|
-
|
|
5148
|
-
# Stable, typed account-level facts SafetyKit can use in rules and aggregate
|
|
5149
|
-
# analysis.
|
|
5150
|
-
sig do
|
|
5151
|
-
params(
|
|
5152
|
-
account_state: String,
|
|
5153
|
-
account_types: T::Array[String],
|
|
5154
|
-
country: String,
|
|
5155
|
-
email_verified: T::Boolean
|
|
5156
|
-
).returns(T.attached_class)
|
|
5157
|
-
end
|
|
5158
|
-
def self.new(
|
|
5159
|
-
# Current account lifecycle or moderation state.
|
|
5160
|
-
account_state: nil,
|
|
5161
|
-
# Stable account categories in your product.
|
|
5162
|
-
account_types: nil,
|
|
5163
|
-
# Country associated with the account.
|
|
5164
|
-
country: nil,
|
|
5165
|
-
# Whether the account's email address has been verified.
|
|
5166
|
-
email_verified: nil
|
|
5167
|
-
)
|
|
5168
|
-
end
|
|
5169
|
-
|
|
5170
|
-
sig do
|
|
5171
|
-
override.returns(
|
|
5172
|
-
{
|
|
5173
|
-
account_state: String,
|
|
5174
|
-
account_types: T::Array[String],
|
|
5175
|
-
country: String,
|
|
5176
|
-
email_verified: T::Boolean
|
|
5177
|
-
}
|
|
5178
|
-
)
|
|
5179
|
-
end
|
|
5180
|
-
def to_hash
|
|
5181
|
-
end
|
|
5182
|
-
end
|
|
5183
|
-
|
|
5184
4788
|
class ResourcesUsed < SafetyKit::Internal::Type::BaseModel
|
|
5185
4789
|
OrHash =
|
|
5186
4790
|
T.type_alias do
|
|
@@ -486,7 +486,6 @@ module SafetyKit
|
|
|
486
486
|
user_id: String,
|
|
487
487
|
content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::content],
|
|
488
488
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::metadata],
|
|
489
|
-
properties: SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::Properties,
|
|
490
489
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::ResourcesUsed]
|
|
491
490
|
}
|
|
492
491
|
|
|
@@ -511,12 +510,6 @@ module SafetyKit
|
|
|
511
510
|
::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::metadata]
|
|
512
511
|
) -> ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::metadata]
|
|
513
512
|
|
|
514
|
-
attr_reader properties: SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::Properties?
|
|
515
|
-
|
|
516
|
-
def properties=: (
|
|
517
|
-
SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::Properties
|
|
518
|
-
) -> SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::Properties
|
|
519
|
-
|
|
520
513
|
attr_reader resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::ResourcesUsed]?
|
|
521
514
|
|
|
522
515
|
def resources_used=: (
|
|
@@ -530,7 +523,6 @@ module SafetyKit
|
|
|
530
523
|
user_id: String,
|
|
531
524
|
?content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::content],
|
|
532
525
|
?metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::metadata],
|
|
533
|
-
?properties: SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::Properties,
|
|
534
526
|
?resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::ResourcesUsed]
|
|
535
527
|
) -> void
|
|
536
528
|
|
|
@@ -541,7 +533,6 @@ module SafetyKit
|
|
|
541
533
|
user_id: String,
|
|
542
534
|
content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::content],
|
|
543
535
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::CreateAccountEventRequest::metadata],
|
|
544
|
-
properties: SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::Properties,
|
|
545
536
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::CreateAccountEventRequest::ResourcesUsed]
|
|
546
537
|
}
|
|
547
538
|
|
|
@@ -697,46 +688,6 @@ module SafetyKit
|
|
|
697
688
|
UnionMember3Array: SafetyKit::Internal::Type::Converter
|
|
698
689
|
end
|
|
699
690
|
|
|
700
|
-
type properties =
|
|
701
|
-
{
|
|
702
|
-
account_state: String,
|
|
703
|
-
account_types: ::Array[String],
|
|
704
|
-
country: String,
|
|
705
|
-
email_verified: bool
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
class Properties < SafetyKit::Internal::Type::BaseModel
|
|
709
|
-
attr_reader account_state: String?
|
|
710
|
-
|
|
711
|
-
def account_state=: (String) -> String
|
|
712
|
-
|
|
713
|
-
attr_reader account_types: ::Array[String]?
|
|
714
|
-
|
|
715
|
-
def account_types=: (::Array[String]) -> ::Array[String]
|
|
716
|
-
|
|
717
|
-
attr_reader country: String?
|
|
718
|
-
|
|
719
|
-
def country=: (String) -> String
|
|
720
|
-
|
|
721
|
-
attr_reader email_verified: bool?
|
|
722
|
-
|
|
723
|
-
def email_verified=: (bool) -> bool
|
|
724
|
-
|
|
725
|
-
def initialize: (
|
|
726
|
-
?account_state: String,
|
|
727
|
-
?account_types: ::Array[String],
|
|
728
|
-
?country: String,
|
|
729
|
-
?email_verified: bool
|
|
730
|
-
) -> void
|
|
731
|
-
|
|
732
|
-
def to_hash: -> {
|
|
733
|
-
account_state: String,
|
|
734
|
-
account_types: ::Array[String],
|
|
735
|
-
country: String,
|
|
736
|
-
email_verified: bool
|
|
737
|
-
}
|
|
738
|
-
end
|
|
739
|
-
|
|
740
691
|
type resources_used = { type: String, value: String }
|
|
741
692
|
|
|
742
693
|
class ResourcesUsed < SafetyKit::Internal::Type::BaseModel
|
|
@@ -758,7 +709,6 @@ module SafetyKit
|
|
|
758
709
|
user_id: String,
|
|
759
710
|
content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::content],
|
|
760
711
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::metadata],
|
|
761
|
-
properties: SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::Properties,
|
|
762
712
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::ResourcesUsed]
|
|
763
713
|
}
|
|
764
714
|
|
|
@@ -783,12 +733,6 @@ module SafetyKit
|
|
|
783
733
|
::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::metadata]
|
|
784
734
|
) -> ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::metadata]
|
|
785
735
|
|
|
786
|
-
attr_reader properties: SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::Properties?
|
|
787
|
-
|
|
788
|
-
def properties=: (
|
|
789
|
-
SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::Properties
|
|
790
|
-
) -> SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::Properties
|
|
791
|
-
|
|
792
736
|
attr_reader resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::ResourcesUsed]?
|
|
793
737
|
|
|
794
738
|
def resources_used=: (
|
|
@@ -802,7 +746,6 @@ module SafetyKit
|
|
|
802
746
|
user_id: String,
|
|
803
747
|
?content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::content],
|
|
804
748
|
?metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::metadata],
|
|
805
|
-
?properties: SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::Properties,
|
|
806
749
|
?resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::ResourcesUsed]
|
|
807
750
|
) -> void
|
|
808
751
|
|
|
@@ -813,7 +756,6 @@ module SafetyKit
|
|
|
813
756
|
user_id: String,
|
|
814
757
|
content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::content],
|
|
815
758
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UpdateAccountEventRequest::metadata],
|
|
816
|
-
properties: SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::Properties,
|
|
817
759
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UpdateAccountEventRequest::ResourcesUsed]
|
|
818
760
|
}
|
|
819
761
|
|
|
@@ -969,46 +911,6 @@ module SafetyKit
|
|
|
969
911
|
UnionMember3Array: SafetyKit::Internal::Type::Converter
|
|
970
912
|
end
|
|
971
913
|
|
|
972
|
-
type properties =
|
|
973
|
-
{
|
|
974
|
-
account_state: String,
|
|
975
|
-
account_types: ::Array[String],
|
|
976
|
-
country: String,
|
|
977
|
-
email_verified: bool
|
|
978
|
-
}
|
|
979
|
-
|
|
980
|
-
class Properties < SafetyKit::Internal::Type::BaseModel
|
|
981
|
-
attr_reader account_state: String?
|
|
982
|
-
|
|
983
|
-
def account_state=: (String) -> String
|
|
984
|
-
|
|
985
|
-
attr_reader account_types: ::Array[String]?
|
|
986
|
-
|
|
987
|
-
def account_types=: (::Array[String]) -> ::Array[String]
|
|
988
|
-
|
|
989
|
-
attr_reader country: String?
|
|
990
|
-
|
|
991
|
-
def country=: (String) -> String
|
|
992
|
-
|
|
993
|
-
attr_reader email_verified: bool?
|
|
994
|
-
|
|
995
|
-
def email_verified=: (bool) -> bool
|
|
996
|
-
|
|
997
|
-
def initialize: (
|
|
998
|
-
?account_state: String,
|
|
999
|
-
?account_types: ::Array[String],
|
|
1000
|
-
?country: String,
|
|
1001
|
-
?email_verified: bool
|
|
1002
|
-
) -> void
|
|
1003
|
-
|
|
1004
|
-
def to_hash: -> {
|
|
1005
|
-
account_state: String,
|
|
1006
|
-
account_types: ::Array[String],
|
|
1007
|
-
country: String,
|
|
1008
|
-
email_verified: bool
|
|
1009
|
-
}
|
|
1010
|
-
end
|
|
1011
|
-
|
|
1012
914
|
type resources_used = { type: String, value: String }
|
|
1013
915
|
|
|
1014
916
|
class ResourcesUsed < SafetyKit::Internal::Type::BaseModel
|
|
@@ -1466,7 +1368,6 @@ module SafetyKit
|
|
|
1466
1368
|
user_id: String,
|
|
1467
1369
|
content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::content],
|
|
1468
1370
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::metadata],
|
|
1469
|
-
properties: SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::Properties,
|
|
1470
1371
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::ResourcesUsed]
|
|
1471
1372
|
}
|
|
1472
1373
|
|
|
@@ -1491,12 +1392,6 @@ module SafetyKit
|
|
|
1491
1392
|
::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::metadata]
|
|
1492
1393
|
) -> ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::metadata]
|
|
1493
1394
|
|
|
1494
|
-
attr_reader properties: SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::Properties?
|
|
1495
|
-
|
|
1496
|
-
def properties=: (
|
|
1497
|
-
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::Properties
|
|
1498
|
-
) -> SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::Properties
|
|
1499
|
-
|
|
1500
1395
|
attr_reader resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::ResourcesUsed]?
|
|
1501
1396
|
|
|
1502
1397
|
def resources_used=: (
|
|
@@ -1509,7 +1404,6 @@ module SafetyKit
|
|
|
1509
1404
|
user_id: String,
|
|
1510
1405
|
?content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::content],
|
|
1511
1406
|
?metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::metadata],
|
|
1512
|
-
?properties: SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::Properties,
|
|
1513
1407
|
?resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::ResourcesUsed],
|
|
1514
1408
|
?type: :create_account
|
|
1515
1409
|
) -> void
|
|
@@ -1521,7 +1415,6 @@ module SafetyKit
|
|
|
1521
1415
|
user_id: String,
|
|
1522
1416
|
content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::content],
|
|
1523
1417
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::metadata],
|
|
1524
|
-
properties: SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::Properties,
|
|
1525
1418
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::CreateAccount::ResourcesUsed]
|
|
1526
1419
|
}
|
|
1527
1420
|
|
|
@@ -1667,46 +1560,6 @@ module SafetyKit
|
|
|
1667
1560
|
UnionMember3Array: SafetyKit::Internal::Type::Converter
|
|
1668
1561
|
end
|
|
1669
1562
|
|
|
1670
|
-
type properties =
|
|
1671
|
-
{
|
|
1672
|
-
account_state: String,
|
|
1673
|
-
account_types: ::Array[String],
|
|
1674
|
-
country: String,
|
|
1675
|
-
email_verified: bool
|
|
1676
|
-
}
|
|
1677
|
-
|
|
1678
|
-
class Properties < SafetyKit::Internal::Type::BaseModel
|
|
1679
|
-
attr_reader account_state: String?
|
|
1680
|
-
|
|
1681
|
-
def account_state=: (String) -> String
|
|
1682
|
-
|
|
1683
|
-
attr_reader account_types: ::Array[String]?
|
|
1684
|
-
|
|
1685
|
-
def account_types=: (::Array[String]) -> ::Array[String]
|
|
1686
|
-
|
|
1687
|
-
attr_reader country: String?
|
|
1688
|
-
|
|
1689
|
-
def country=: (String) -> String
|
|
1690
|
-
|
|
1691
|
-
attr_reader email_verified: bool?
|
|
1692
|
-
|
|
1693
|
-
def email_verified=: (bool) -> bool
|
|
1694
|
-
|
|
1695
|
-
def initialize: (
|
|
1696
|
-
?account_state: String,
|
|
1697
|
-
?account_types: ::Array[String],
|
|
1698
|
-
?country: String,
|
|
1699
|
-
?email_verified: bool
|
|
1700
|
-
) -> void
|
|
1701
|
-
|
|
1702
|
-
def to_hash: -> {
|
|
1703
|
-
account_state: String,
|
|
1704
|
-
account_types: ::Array[String],
|
|
1705
|
-
country: String,
|
|
1706
|
-
email_verified: bool
|
|
1707
|
-
}
|
|
1708
|
-
end
|
|
1709
|
-
|
|
1710
1563
|
type resources_used = { type: String, value: String }
|
|
1711
1564
|
|
|
1712
1565
|
class ResourcesUsed < SafetyKit::Internal::Type::BaseModel
|
|
@@ -1728,7 +1581,6 @@ module SafetyKit
|
|
|
1728
1581
|
user_id: String,
|
|
1729
1582
|
content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::content],
|
|
1730
1583
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::metadata],
|
|
1731
|
-
properties: SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::Properties,
|
|
1732
1584
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::ResourcesUsed]
|
|
1733
1585
|
}
|
|
1734
1586
|
|
|
@@ -1753,12 +1605,6 @@ module SafetyKit
|
|
|
1753
1605
|
::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::metadata]
|
|
1754
1606
|
) -> ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::metadata]
|
|
1755
1607
|
|
|
1756
|
-
attr_reader properties: SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::Properties?
|
|
1757
|
-
|
|
1758
|
-
def properties=: (
|
|
1759
|
-
SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::Properties
|
|
1760
|
-
) -> SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::Properties
|
|
1761
|
-
|
|
1762
1608
|
attr_reader resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::ResourcesUsed]?
|
|
1763
1609
|
|
|
1764
1610
|
def resources_used=: (
|
|
@@ -1771,7 +1617,6 @@ module SafetyKit
|
|
|
1771
1617
|
user_id: String,
|
|
1772
1618
|
?content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::content],
|
|
1773
1619
|
?metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::metadata],
|
|
1774
|
-
?properties: SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::Properties,
|
|
1775
1620
|
?resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::ResourcesUsed],
|
|
1776
1621
|
?type: :update_account
|
|
1777
1622
|
) -> void
|
|
@@ -1783,7 +1628,6 @@ module SafetyKit
|
|
|
1783
1628
|
user_id: String,
|
|
1784
1629
|
content: ::Array[SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::content],
|
|
1785
1630
|
metadata: ::Hash[Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::metadata],
|
|
1786
|
-
properties: SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::Properties,
|
|
1787
1631
|
resources_used: ::Array[SafetyKit::Beta::EventCreateParams::Body::UnionMember4::UpdateAccount::ResourcesUsed]
|
|
1788
1632
|
}
|
|
1789
1633
|
|
|
@@ -1929,46 +1773,6 @@ module SafetyKit
|
|
|
1929
1773
|
UnionMember3Array: SafetyKit::Internal::Type::Converter
|
|
1930
1774
|
end
|
|
1931
1775
|
|
|
1932
|
-
type properties =
|
|
1933
|
-
{
|
|
1934
|
-
account_state: String,
|
|
1935
|
-
account_types: ::Array[String],
|
|
1936
|
-
country: String,
|
|
1937
|
-
email_verified: bool
|
|
1938
|
-
}
|
|
1939
|
-
|
|
1940
|
-
class Properties < SafetyKit::Internal::Type::BaseModel
|
|
1941
|
-
attr_reader account_state: String?
|
|
1942
|
-
|
|
1943
|
-
def account_state=: (String) -> String
|
|
1944
|
-
|
|
1945
|
-
attr_reader account_types: ::Array[String]?
|
|
1946
|
-
|
|
1947
|
-
def account_types=: (::Array[String]) -> ::Array[String]
|
|
1948
|
-
|
|
1949
|
-
attr_reader country: String?
|
|
1950
|
-
|
|
1951
|
-
def country=: (String) -> String
|
|
1952
|
-
|
|
1953
|
-
attr_reader email_verified: bool?
|
|
1954
|
-
|
|
1955
|
-
def email_verified=: (bool) -> bool
|
|
1956
|
-
|
|
1957
|
-
def initialize: (
|
|
1958
|
-
?account_state: String,
|
|
1959
|
-
?account_types: ::Array[String],
|
|
1960
|
-
?country: String,
|
|
1961
|
-
?email_verified: bool
|
|
1962
|
-
) -> void
|
|
1963
|
-
|
|
1964
|
-
def to_hash: -> {
|
|
1965
|
-
account_state: String,
|
|
1966
|
-
account_types: ::Array[String],
|
|
1967
|
-
country: String,
|
|
1968
|
-
email_verified: bool
|
|
1969
|
-
}
|
|
1970
|
-
end
|
|
1971
|
-
|
|
1972
1776
|
type resources_used = { type: String, value: String }
|
|
1973
1777
|
|
|
1974
1778
|
class ResourcesUsed < SafetyKit::Internal::Type::BaseModel
|