Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/BotInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Extended bot information.
| SIGNED | "signed" |
| SPOOFED | "spoofed" |
| UNKNOWN | "unknown" |
| UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED | "unsupported_value_sdk_upgrade_required" |



Expand All @@ -35,6 +36,7 @@ Extended bot information.
| LOW | "low" |
| MEDIUM | "medium" |
| HIGH | "high" |
| UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED | "unsupported_value_sdk_upgrade_required" |



2 changes: 2 additions & 0 deletions docs/BotResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ Bot detection result:

* `NOT_DETECTED` (value: `"not_detected"`)

* `UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED` (value: `"unsupported_value_sdk_upgrade_required"`)



2 changes: 2 additions & 0 deletions docs/ErrorCode.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,7 @@ Error code:

* `RULESET_NOT_FOUND` (value: `"ruleset_not_found"`)

* `UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED` (value: `"unsupported_value_sdk_upgrade_required"`)



1 change: 1 addition & 0 deletions docs/Proximity.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Proximity ID represents a fixed geographical zone in a discrete global grid with
| NUMBER_3300 | 3300 |
| NUMBER_8500 | 8500 |
| NUMBER_22500 | 22500 |
| UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED | Integer.MAX_VALUE |



2 changes: 2 additions & 0 deletions docs/ProxyConfidence.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ Confidence level of the proxy detection. If a proxy is not detected, confidence

* `HIGH` (value: `"high"`)

* `UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED` (value: `"unsupported_value_sdk_upgrade_required"`)



1 change: 1 addition & 0 deletions docs/ProxyDetails.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Proxy detection details (present if `proxy` is `true`)
|---- | -----|
| RESIDENTIAL | "residential" |
| DATA_CENTER | "data_center" |
| UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED | "unsupported_value_sdk_upgrade_required" |



2 changes: 2 additions & 0 deletions docs/RuleActionType.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ Describes the action to take with the request.

* `BLOCK` (value: `"block"`)

* `UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED` (value: `"unsupported_value_sdk_upgrade_required"`)



1 change: 1 addition & 0 deletions docs/SDK.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Contains information about the SDK used to perform the request.
| ANDROID | "android" |
| IOS | "ios" |
| UNKNOWN | "unknown" |
| UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED | "unsupported_value_sdk_upgrade_required" |



2 changes: 2 additions & 0 deletions docs/SearchEventsBot.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ Filter events by the Bot Detection result, specifically:

* `NONE` (value: `"none"`)

* `UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED` (value: `"unsupported_value_sdk_upgrade_required"`)



2 changes: 2 additions & 0 deletions docs/SearchEventsSdkPlatform.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ Filter events by the SDK Platform associated with the identification event (`sdk

* `IOS` (value: `"ios"`)

* `UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED` (value: `"unsupported_value_sdk_upgrade_required"`)



2 changes: 2 additions & 0 deletions docs/SearchEventsVpnConfidence.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,7 @@ Filter events by VPN Detection result confidence level.

* `LOW` (value: `"low"`)

* `UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED` (value: `"unsupported_value_sdk_upgrade_required"`)



2 changes: 2 additions & 0 deletions docs/VpnConfidence.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@ A confidence rating for the VPN detection result — "low", "medium", or "high".

* `HIGH` (value: `"high"`)

* `UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED` (value: `"unsupported_value_sdk_upgrade_required"`)



1 change: 1 addition & 0 deletions sdk/sdk.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ openApiGenerate {
configOptions.put("openApiNullable", "false")
configOptions.put("disallowAdditionalPropertiesIfNotPresent", "false")
configOptions.put("useOneOfInterfaces", "true")
configOptions.put("enumUnknownDefaultCase", "true")
}

tasks.register("removeDocs") {
Expand Down
12 changes: 8 additions & 4 deletions sdk/src/main/java/com/fingerprint/v4/model/BotInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ public enum IdentityEnum {

SPOOFED(String.valueOf("spoofed")),

UNKNOWN(String.valueOf("unknown"));
UNKNOWN(String.valueOf("unknown")),

UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED("unsupported_value_sdk_upgrade_required");

private String value;

Expand All @@ -81,7 +83,7 @@ public static IdentityEnum fromValue(String value) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
return UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED;
}
}

Expand All @@ -96,7 +98,9 @@ public enum ConfidenceEnum {

MEDIUM(String.valueOf("medium")),

HIGH(String.valueOf("high"));
HIGH(String.valueOf("high")),

UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED("unsupported_value_sdk_upgrade_required");

private String value;

Expand All @@ -121,7 +125,7 @@ public static ConfidenceEnum fromValue(String value) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
return UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED;
}
}

Expand Down
6 changes: 4 additions & 2 deletions sdk/src/main/java/com/fingerprint/v4/model/BotResult.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ public enum BotResult {

GOOD("good"),

NOT_DETECTED("not_detected");
NOT_DETECTED("not_detected"),

UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED("unsupported_value_sdk_upgrade_required");

private String value;

Expand All @@ -48,6 +50,6 @@ public static BotResult fromValue(String value) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
return UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED;
}
}
6 changes: 4 additions & 2 deletions sdk/src/main/java/com/fingerprint/v4/model/ErrorCode.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ public enum ErrorCode {

SERVICE_UNAVAILABLE("service_unavailable"),

RULESET_NOT_FOUND("ruleset_not_found");
RULESET_NOT_FOUND("ruleset_not_found"),

UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED("unsupported_value_sdk_upgrade_required");

private String value;

Expand All @@ -78,6 +80,6 @@ public static ErrorCode fromValue(String value) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
return UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED;
}
}
6 changes: 4 additions & 2 deletions sdk/src/main/java/com/fingerprint/v4/model/Proximity.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ public enum PrecisionRadiusEnum {

NUMBER_8500(Integer.valueOf(8500)),

NUMBER_22500(Integer.valueOf(22500));
NUMBER_22500(Integer.valueOf(22500)),

UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED(Integer.MAX_VALUE);

private Integer value;

Expand All @@ -79,7 +81,7 @@ public static PrecisionRadiusEnum fromValue(Integer value) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
return UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ public enum ProxyConfidence {

MEDIUM("medium"),

HIGH("high");
HIGH("high"),

UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED("unsupported_value_sdk_upgrade_required");

private String value;

Expand All @@ -48,6 +50,6 @@ public static ProxyConfidence fromValue(String value) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
return UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED;
}
}
6 changes: 4 additions & 2 deletions sdk/src/main/java/com/fingerprint/v4/model/ProxyDetails.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ public class ProxyDetails {
public enum ProxyTypeEnum {
RESIDENTIAL(String.valueOf("residential")),

DATA_CENTER(String.valueOf("data_center"));
DATA_CENTER(String.valueOf("data_center")),

UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED("unsupported_value_sdk_upgrade_required");

private String value;

Expand All @@ -62,7 +64,7 @@ public static ProxyTypeEnum fromValue(String value) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
return UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
public enum RuleActionType {
ALLOW("allow"),

BLOCK("block");
BLOCK("block"),

UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED("unsupported_value_sdk_upgrade_required");

private String value;

Expand All @@ -46,6 +48,6 @@ public static RuleActionType fromValue(String value) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
return UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED;
}
}
6 changes: 4 additions & 2 deletions sdk/src/main/java/com/fingerprint/v4/model/SDK.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ public enum PlatformEnum {

IOS(String.valueOf("ios")),

UNKNOWN(String.valueOf("unknown"));
UNKNOWN(String.valueOf("unknown")),

UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED("unsupported_value_sdk_upgrade_required");

private String value;

Expand All @@ -68,7 +70,7 @@ public static PlatformEnum fromValue(String value) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
return UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ public enum SearchEventsBot {

BAD("bad"),

NONE("none");
NONE("none"),

UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED("unsupported_value_sdk_upgrade_required");

private String value;

Expand All @@ -50,6 +52,6 @@ public static SearchEventsBot fromValue(String value) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
return UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ public enum SearchEventsSdkPlatform {

ANDROID("android"),

IOS("ios");
IOS("ios"),

UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED("unsupported_value_sdk_upgrade_required");

private String value;

Expand All @@ -48,6 +50,6 @@ public static SearchEventsSdkPlatform fromValue(String value) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
return UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ public enum SearchEventsVpnConfidence {

MEDIUM("medium"),

LOW("low");
LOW("low"),

UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED("unsupported_value_sdk_upgrade_required");

private String value;

Expand All @@ -48,6 +50,6 @@ public static SearchEventsVpnConfidence fromValue(String value) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
return UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED;
}
}
6 changes: 4 additions & 2 deletions sdk/src/main/java/com/fingerprint/v4/model/VpnConfidence.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ public enum VpnConfidence {

MEDIUM("medium"),

HIGH("high");
HIGH("high"),

UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED("unsupported_value_sdk_upgrade_required");

private String value;

Expand All @@ -48,6 +50,6 @@ public static VpnConfidence fromValue(String value) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
return UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED;
}
}
Loading
Loading