diff --git a/.schema-version b/.schema-version index 871b3b4b..de1eb445 100644 --- a/.schema-version +++ b/.schema-version @@ -1 +1 @@ -v3.4.0 \ No newline at end of file +v3.4.1 \ No newline at end of file diff --git a/README.md b/README.md index ebff91a4..789030b5 100644 --- a/README.md +++ b/README.md @@ -341,9 +341,9 @@ Class | Method | HTTP request | Description - [SearchEventsBot](docs/SearchEventsBot.md) - [SearchEventsBotInfo](docs/SearchEventsBotInfo.md) - [SearchEventsIncrementalIdentificationStatus](docs/SearchEventsIncrementalIdentificationStatus.md) - - [SearchEventsInline](docs/SearchEventsInline.md) - [SearchEventsRareDevicePercentileBucket](docs/SearchEventsRareDevicePercentileBucket.md) - [SearchEventsSdkPlatform](docs/SearchEventsSdkPlatform.md) + - [SearchEventsSource](docs/SearchEventsSource.md) - [SearchEventsVpnConfidence](docs/SearchEventsVpnConfidence.md) - [SupplementaryIDHighRecall](docs/SupplementaryIDHighRecall.md) - [TamperingConfidence](docs/TamperingConfidence.md) diff --git a/docs/FingerprintApi.md b/docs/FingerprintApi.md index 6d708237..17953192 100644 --- a/docs/FingerprintApi.md +++ b/docs/FingerprintApi.md @@ -319,7 +319,7 @@ public class FingerprintApiExample { Boolean torNode = true; // Boolean | Filter events by Tor Node detection result. > Note: When using this parameter, only events with the `tor_node` property set to `true` or `false` are returned. Events without a `tor_node` detection result are left out of the response. SearchEventsIncrementalIdentificationStatus incrementalIdentificationStatus = SearchEventsIncrementalIdentificationStatus.fromValue("partially_completed"); // SearchEventsIncrementalIdentificationStatus | Filter events by their incremental identification status (`incremental_identification_status` property). Non incremental identification events are left out of the response. Boolean simulator = true; // Boolean | Filter events by iOS Simulator Detection result. > Note: When using this parameter, only events with the `simulator` property set to `true` or `false` are returned. Events without a `simulator` Smart Signal result are left out of the response. - List source = Arrays.asList(); // List | Selects the source of events to search. When omitted, only traditional identification events generated from devices are returned (the default behavior). When set to `edge`, only Automation Intelligence (Edge) events are returned. > Note: The Automation Intelligence API is in public preview testing phase. If you encounter any issues, please [contact](https://fingerprint.com/support/) our support team. + List source = Arrays.asList(); // List | Selects the source of events to search. When omitted, only traditional identification events generated from devices are returned (the default behavior). When set to `edge`, only Automation Intelligence (Edge) events are returned. > Note: The Automation Intelligence API is in public preview testing phase. If you encounter any issues, please [contact](https://fingerprint.com/support/) our support team. try { EventSearch result = api.searchEvents(new FingerprintApi.SearchEventsOptionalParams() .setLimit(limit) @@ -449,7 +449,7 @@ Object containing optional parameters for API method. Supports a fluent interfac | **torNode** | **Boolean**| Filter events by Tor Node detection result. > Note: When using this parameter, only events with the `tor_node` property set to `true` or `false` are returned. Events without a `tor_node` detection result are left out of the response. | [optional] | | **incrementalIdentificationStatus** | **SearchEventsIncrementalIdentificationStatus**| Filter events by their incremental identification status (`incremental_identification_status` property). Non incremental identification events are left out of the response. | [optional] [enum: partially_completed, completed] | | **simulator** | **Boolean**| Filter events by iOS Simulator Detection result. > Note: When using this parameter, only events with the `simulator` property set to `true` or `false` are returned. Events without a `simulator` Smart Signal result are left out of the response. | [optional] | -| **source** | **List<SearchEventsInline>**| Selects the source of events to search. When omitted, only traditional identification events generated from devices are returned (the default behavior). When set to `edge`, only Automation Intelligence (Edge) events are returned. > Note: The Automation Intelligence API is in public preview testing phase. If you encounter any issues, please [contact](https://fingerprint.com/support/) our support team. | [optional] | +| **source** | **List<SearchEventsSource>**| Selects the source of events to search. When omitted, only traditional identification events generated from devices are returned (the default behavior). When set to `edge`, only Automation Intelligence (Edge) events are returned. > Note: The Automation Intelligence API is in public preview testing phase. If you encounter any issues, please [contact](https://fingerprint.com/support/) our support team. | [optional] | ### Return type diff --git a/docs/SearchEventsInline.md b/docs/SearchEventsSource.md similarity index 86% rename from docs/SearchEventsInline.md rename to docs/SearchEventsSource.md index 38379bb5..63ffa6d2 100644 --- a/docs/SearchEventsInline.md +++ b/docs/SearchEventsSource.md @@ -1,6 +1,6 @@ -# SearchEventsInline +# SearchEventsSource ## Enum diff --git a/res/fingerprint-server-api.yaml b/res/fingerprint-server-api.yaml index ebbc7646..dcead304 100644 --- a/res/fingerprint-server-api.yaml +++ b/res/fingerprint-server-api.yaml @@ -870,7 +870,7 @@ paths: type: array maxItems: 1 items: - $ref: '#/components/schemas/SearchEventsInline' + $ref: '#/components/schemas/SearchEventsSource' description: > Selects the source of events to search. When omitted, only traditional identification events generated from devices are @@ -3069,7 +3069,7 @@ components: Filter events by their incremental identification status (`incremental_identification_status` property). Non incremental identification events are left out of the response. - SearchEventsInline: + SearchEventsSource: type: string enum: - edge diff --git a/sdk/src/main/java/com/fingerprint/v4/api/FingerprintApi.java b/sdk/src/main/java/com/fingerprint/v4/api/FingerprintApi.java index cbcb4739..31fd29a3 100644 --- a/sdk/src/main/java/com/fingerprint/v4/api/FingerprintApi.java +++ b/sdk/src/main/java/com/fingerprint/v4/api/FingerprintApi.java @@ -9,9 +9,9 @@ import com.fingerprint.v4.model.SearchEventsBot; import com.fingerprint.v4.model.SearchEventsBotInfo; import com.fingerprint.v4.model.SearchEventsIncrementalIdentificationStatus; -import com.fingerprint.v4.model.SearchEventsInline; import com.fingerprint.v4.model.SearchEventsRareDevicePercentileBucket; import com.fingerprint.v4.model.SearchEventsSdkPlatform; +import com.fingerprint.v4.model.SearchEventsSource; import com.fingerprint.v4.model.SearchEventsVpnConfidence; import com.fingerprint.v4.sdk.ApiClient; import com.fingerprint.v4.sdk.ApiException; @@ -327,7 +327,7 @@ public static class SearchEventsOptionalParams { private Boolean torNode; private SearchEventsIncrementalIdentificationStatus incrementalIdentificationStatus; private Boolean simulator; - private List source; + private List source; /** * getter for limit - Maximum number of events to return. Defaults to 10 when omitted. Results are selected from the time range (`start`, `end`), ordered by `reverse`, then truncated to provided `limit` size. So `reverse=true` returns the oldest N=`limit` events, otherwise the newest N=`limit` events. @@ -1143,14 +1143,14 @@ public SearchEventsOptionalParams setSimulator(Boolean simulator) { /** * getter for source - Selects the source of events to search. When omitted, only traditional identification events generated from devices are returned (the default behavior). When set to `edge`, only Automation Intelligence (Edge) events are returned. > Note: The Automation Intelligence API is in public preview testing phase. If you encounter any issues, please [contact](https://fingerprint.com/support/) our support team. */ - public List getSource() { + public List getSource() { return source; } /** * setter for source - Selects the source of events to search. When omitted, only traditional identification events generated from devices are returned (the default behavior). When set to `edge`, only Automation Intelligence (Edge) events are returned. > Note: The Automation Intelligence API is in public preview testing phase. If you encounter any issues, please [contact](https://fingerprint.com/support/) our support team. */ - public SearchEventsOptionalParams setSource(List source) { + public SearchEventsOptionalParams setSource(List source) { this.source = source; return this; } diff --git a/sdk/src/main/java/com/fingerprint/v4/model/SearchEventsInline.java b/sdk/src/main/java/com/fingerprint/v4/model/SearchEventsSource.java similarity index 85% rename from sdk/src/main/java/com/fingerprint/v4/model/SearchEventsInline.java rename to sdk/src/main/java/com/fingerprint/v4/model/SearchEventsSource.java index 2b12cc89..9ce0d26a 100644 --- a/sdk/src/main/java/com/fingerprint/v4/model/SearchEventsInline.java +++ b/sdk/src/main/java/com/fingerprint/v4/model/SearchEventsSource.java @@ -16,16 +16,16 @@ import com.fasterxml.jackson.annotation.JsonValue; /** - * Gets or Sets SearchEventsInline + * Gets or Sets SearchEventsSource */ -public enum SearchEventsInline { +public enum SearchEventsSource { EDGE("edge"), UNSUPPORTED_VALUE_SDK_UPGRADE_REQUIRED("unsupported_value_sdk_upgrade_required"); private String value; - SearchEventsInline(String value) { + SearchEventsSource(String value) { this.value = value; } @@ -40,8 +40,8 @@ public String toString() { } @JsonCreator - public static SearchEventsInline fromValue(String value) { - for (SearchEventsInline b : SearchEventsInline.values()) { + public static SearchEventsSource fromValue(String value) { + for (SearchEventsSource b : SearchEventsSource.values()) { if (b.value.equals(value)) { return b; }