prelude-sdk 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/prelude_sdk/models/verification/phone/history_list_response.rb +4 -4
- data/lib/prelude_sdk/models/verification/phone/history_retrieve_response.rb +56 -36
- data/lib/prelude_sdk/models/verification_create_response.rb +59 -33
- data/lib/prelude_sdk/models/watch_evaluate_response.rb +54 -2
- data/lib/prelude_sdk/models/watch_predict_response.rb +53 -30
- data/lib/prelude_sdk/resources/watch.rb +3 -3
- data/lib/prelude_sdk/version.rb +1 -1
- data/rbi/prelude_sdk/models/verification/phone/history_list_response.rbi +6 -6
- data/rbi/prelude_sdk/models/verification/phone/history_retrieve_response.rbi +131 -70
- data/rbi/prelude_sdk/models/verification_create_response.rbi +143 -65
- data/rbi/prelude_sdk/models/watch_evaluate_response.rbi +105 -5
- data/rbi/prelude_sdk/models/watch_predict_response.rbi +135 -62
- data/rbi/prelude_sdk/resources/watch.rbi +3 -3
- data/sig/prelude_sdk/models/verification/phone/history_retrieve_response.rbs +30 -16
- data/sig/prelude_sdk/models/verification_create_response.rbs +32 -14
- data/sig/prelude_sdk/models/watch_evaluate_response.rbs +28 -4
- data/sig/prelude_sdk/models/watch_predict_response.rbs +32 -14
- metadata +2 -2
|
@@ -48,30 +48,48 @@ module PreludeSDK
|
|
|
48
48
|
|
|
49
49
|
type risk_factor =
|
|
50
50
|
:account_risk_profile
|
|
51
|
-
| :
|
|
52
|
-
| :
|
|
51
|
+
| :automation_signature
|
|
52
|
+
| :carrier_not_permitted
|
|
53
|
+
| :client_fingerprint_mismatch
|
|
54
|
+
| :custom_policy
|
|
55
|
+
| :device_emulator
|
|
56
|
+
| :device_not_permitted
|
|
57
|
+
| :device_reuse
|
|
58
|
+
| :expired_signals
|
|
53
59
|
| :fraud_database
|
|
54
|
-
| :
|
|
55
|
-
| :
|
|
60
|
+
| :invalid_signature
|
|
61
|
+
| :ip_concentration
|
|
62
|
+
| :ip_reputation
|
|
63
|
+
| :location_mismatch
|
|
64
|
+
| :missing_signals
|
|
65
|
+
| :number_range_abuse
|
|
56
66
|
| :poor_conversion_history
|
|
57
|
-
| :
|
|
58
|
-
| :
|
|
59
|
-
| :suspicious_ip_address
|
|
67
|
+
| :proxy_network
|
|
68
|
+
| :repeated_attempts
|
|
60
69
|
| :temporary_phone_number
|
|
61
70
|
|
|
62
71
|
module RiskFactor
|
|
63
72
|
extend PreludeSDK::Internal::Type::Enum
|
|
64
73
|
|
|
65
74
|
ACCOUNT_RISK_PROFILE: :account_risk_profile
|
|
66
|
-
|
|
67
|
-
|
|
75
|
+
AUTOMATION_SIGNATURE: :automation_signature
|
|
76
|
+
CARRIER_NOT_PERMITTED: :carrier_not_permitted
|
|
77
|
+
CLIENT_FINGERPRINT_MISMATCH: :client_fingerprint_mismatch
|
|
78
|
+
CUSTOM_POLICY: :custom_policy
|
|
79
|
+
DEVICE_EMULATOR: :device_emulator
|
|
80
|
+
DEVICE_NOT_PERMITTED: :device_not_permitted
|
|
81
|
+
DEVICE_REUSE: :device_reuse
|
|
82
|
+
EXPIRED_SIGNALS: :expired_signals
|
|
68
83
|
FRAUD_DATABASE: :fraud_database
|
|
69
|
-
|
|
70
|
-
|
|
84
|
+
INVALID_SIGNATURE: :invalid_signature
|
|
85
|
+
IP_CONCENTRATION: :ip_concentration
|
|
86
|
+
IP_REPUTATION: :ip_reputation
|
|
87
|
+
LOCATION_MISMATCH: :location_mismatch
|
|
88
|
+
MISSING_SIGNALS: :missing_signals
|
|
89
|
+
NUMBER_RANGE_ABUSE: :number_range_abuse
|
|
71
90
|
POOR_CONVERSION_HISTORY: :poor_conversion_history
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
SUSPICIOUS_IP_ADDRESS: :suspicious_ip_address
|
|
91
|
+
PROXY_NETWORK: :proxy_network
|
|
92
|
+
REPEATED_ATTEMPTS: :repeated_attempts
|
|
75
93
|
TEMPORARY_PHONE_NUMBER: :temporary_phone_number
|
|
76
94
|
|
|
77
95
|
def self?.values: -> ::Array[PreludeSDK::Models::WatchPredictResponse::risk_factor]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: prelude-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.9.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Prelude
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-10-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|