Skip to content
Open
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
1 change: 1 addition & 0 deletions src/main/java/com/skyflow/enums/DeidentifyFileStatus.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

public enum DeidentifyFileStatus {
IN_PROGRESS("IN_PROGRESS"),
FAILED("FAILED"),
SUCCESS("SUCCESS");

private final String value;
Expand Down
9 changes: 8 additions & 1 deletion src/main/java/com/skyflow/enums/DetectEntities.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,19 @@ public enum DetectEntities {
CREDIT_CARD_EXPIRATION("credit_card_expiration"),
CVV("cvv"),
DATE("date"),
DAY("day"),
DATE_INTERVAL("date_interval"),
DOB("dob"),
DOSE("dose"),
DRIVER_LICENSE("driver_license"),
DRUG("drug"),
DURATION("duration"),
EFFECT("effect"),
EMAIL_ADDRESS("email_address"),
EVENT("event"),
FILENAME("filename"),
FINANCIAL_METRIC("financial_metric"),
GENDER_SEXUALITY("gender_sexuality"),
GENDER("gender"),
HEALTHCARE_NUMBER("healthcare_number"),
INJURY("injury"),
IP_ADDRESS("ip_address"),
Expand All @@ -40,30 +42,35 @@ public enum DetectEntities {
MEDICAL_CODE("medical_code"),
MEDICAL_PROCESS("medical_process"),
MONEY("money"),
MONTH("month"),
NAME("name"),
NAME_FAMILY("name_family"),
NAME_GIVEN("name_given"),
NAME_MEDICAL_PROFESSIONAL("name_medical_professional"),
NUMERICAL_PII("numerical_pii"),
OCCUPATION("occupation"),
ORGANIZATION("organization"),
ORGANIZATION_ID("organization_id"),
ORGANIZATION_MEDICAL_FACILITY("organization_medical_facility"),
ORIGIN("origin"),
PASSPORT_NUMBER("passport_number"),
PASSWORD("password"),
PHONE_NUMBER("phone_number"),
PROJECT("project"),
PHYSICAL_ATTRIBUTE("physical_attribute"),
POLITICAL_AFFILIATION("political_affiliation"),
PRODUCT("product"),
RELIGION("religion"),
ROUTING_NUMBER("routing_number"),
SEXUALITY("sexuality"),
SSN("ssn"),
STATISTICS("statistics"),
TIME("time"),
TREND("trend"),
URL("url"),
USERNAME("username"),
VEHICLE_ID("vehicle_id"),
YEAR("year"),
ZODIAC_SIGN("zodiac_sign");

private final String detectEntities;
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/com/skyflow/generated/rest/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import com.skyflow.generated.rest.resources.audit.AuditClient;
import com.skyflow.generated.rest.resources.authentication.AuthenticationClient;
import com.skyflow.generated.rest.resources.binlookup.BinLookupClient;
import com.skyflow.generated.rest.resources.deprecated.DeprecatedClient;
import com.skyflow.generated.rest.resources.files.FilesClient;
import com.skyflow.generated.rest.resources.guardrails.GuardrailsClient;
import com.skyflow.generated.rest.resources.query.QueryClient;
import com.skyflow.generated.rest.resources.records.RecordsClient;
import com.skyflow.generated.rest.resources.strings.StringsClient;
Expand All @@ -31,7 +31,7 @@ public class ApiClient {

protected final Supplier<AuthenticationClient> authenticationClient;

protected final Supplier<DeprecatedClient> deprecatedClient;
protected final Supplier<GuardrailsClient> guardrailsClient;

protected final Supplier<StringsClient> stringsClient;

Expand All @@ -45,7 +45,7 @@ public ApiClient(ClientOptions clientOptions) {
this.tokensClient = Suppliers.memoize(() -> new TokensClient(clientOptions));
this.queryClient = Suppliers.memoize(() -> new QueryClient(clientOptions));
this.authenticationClient = Suppliers.memoize(() -> new AuthenticationClient(clientOptions));
this.deprecatedClient = Suppliers.memoize(() -> new DeprecatedClient(clientOptions));
this.guardrailsClient = Suppliers.memoize(() -> new GuardrailsClient(clientOptions));
this.stringsClient = Suppliers.memoize(() -> new StringsClient(clientOptions));
this.filesClient = Suppliers.memoize(() -> new FilesClient(clientOptions));
}
Expand Down Expand Up @@ -74,8 +74,8 @@ public AuthenticationClient authentication() {
return this.authenticationClient.get();
}

public DeprecatedClient deprecated() {
return this.deprecatedClient.get();
public GuardrailsClient guardrails() {
return this.guardrailsClient.get();
}

public StringsClient strings() {
Expand Down
13 changes: 7 additions & 6 deletions src/main/java/com/skyflow/generated/rest/AsyncApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,19 @@
*/
package com.skyflow.generated.rest;

import java.util.function.Supplier;

import com.skyflow.generated.rest.core.ClientOptions;
import com.skyflow.generated.rest.core.Suppliers;
import com.skyflow.generated.rest.resources.audit.AsyncAuditClient;
import com.skyflow.generated.rest.resources.authentication.AsyncAuthenticationClient;
import com.skyflow.generated.rest.resources.binlookup.AsyncBinLookupClient;
import com.skyflow.generated.rest.resources.deprecated.AsyncDeprecatedClient;
import com.skyflow.generated.rest.resources.files.AsyncFilesClient;
import com.skyflow.generated.rest.resources.guardrails.AsyncGuardrailsClient;
import com.skyflow.generated.rest.resources.query.AsyncQueryClient;
import com.skyflow.generated.rest.resources.records.AsyncRecordsClient;
import com.skyflow.generated.rest.resources.strings.AsyncStringsClient;
import com.skyflow.generated.rest.resources.tokens.AsyncTokensClient;
import java.util.function.Supplier;

public class AsyncApiClient {
protected final ClientOptions clientOptions;
Expand All @@ -31,7 +32,7 @@ public class AsyncApiClient {

protected final Supplier<AsyncAuthenticationClient> authenticationClient;

protected final Supplier<AsyncDeprecatedClient> deprecatedClient;
protected final Supplier<AsyncGuardrailsClient> guardrailsClient;

protected final Supplier<AsyncStringsClient> stringsClient;

Expand All @@ -45,7 +46,7 @@ public AsyncApiClient(ClientOptions clientOptions) {
this.tokensClient = Suppliers.memoize(() -> new AsyncTokensClient(clientOptions));
this.queryClient = Suppliers.memoize(() -> new AsyncQueryClient(clientOptions));
this.authenticationClient = Suppliers.memoize(() -> new AsyncAuthenticationClient(clientOptions));
this.deprecatedClient = Suppliers.memoize(() -> new AsyncDeprecatedClient(clientOptions));
this.guardrailsClient = Suppliers.memoize(() -> new AsyncGuardrailsClient(clientOptions));
this.stringsClient = Suppliers.memoize(() -> new AsyncStringsClient(clientOptions));
this.filesClient = Suppliers.memoize(() -> new AsyncFilesClient(clientOptions));
}
Expand Down Expand Up @@ -74,8 +75,8 @@ public AsyncAuthenticationClient authentication() {
return this.authenticationClient.get();
}

public AsyncDeprecatedClient deprecated() {
return this.deprecatedClient.get();
public AsyncGuardrailsClient guardrails() {
return this.guardrailsClient.get();
}

public AsyncStringsClient strings() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ private ClientOptions(
{
put("X-Fern-Language", "JAVA");
put("X-Fern-SDK-Name", "com.skyflow.fern:api-sdk");
put("X-Fern-SDK-Version", "0.0.219");
put("X-Fern-SDK-Version", "0.0.276");
}
});
this.headerSuppliers = headerSuppliers;
Expand Down
Loading
Loading