diff --git a/.fern/metadata.json b/.fern/metadata.json index c1f3d60..6e64caf 100644 --- a/.fern/metadata.json +++ b/.fern/metadata.json @@ -10,10 +10,10 @@ "enable-wire-tests": true, "publish-to": "central" }, - "originGitCommit": "8c63b16b085fcf9b05835232378d834802257e7a", + "originGitCommit": "c61889b06b6ef367f5e7d6aef5f2b8cbca390aa7", "originGitCommitIsDirty": true, "invokedBy": "ci", "requestedVersion": "AUTO", "ciProvider": "unknown", - "sdkVersion": "17.9.2" -} + "sdkVersion": "17.9.3" +} \ No newline at end of file diff --git a/.fern/replay.lock b/.fern/replay.lock index 3e0e7da..fb2bbab 100644 --- a/.fern/replay.lock +++ b/.fern/replay.lock @@ -36,5 +36,11 @@ generations: cli_version: unknown generator_versions: fernapi/fern-java-sdk: 4.13.2 -current_generation: ad8f1c18af911a38c62271b6dacd4a5c5eb103a0 + - commit_sha: b084333f105af59ec72747fda200ecb1c3d556d3 + tree_hash: b40ad1c06d93eebc24f8c6a11c915e51a4872d50 + timestamp: 2026-07-11T12:56:08.666Z + cli_version: unknown + generator_versions: + fernapi/fern-java-sdk: 4.13.2 +current_generation: b084333f105af59ec72747fda200ecb1c3d556d3 patches: [] diff --git a/build.gradle b/build.gradle index b2d23d4..3175455 100644 --- a/build.gradle +++ b/build.gradle @@ -58,7 +58,7 @@ java { group = 'com.phenoml.maven' -version = '17.9.2' +version = '17.9.3' jar { dependsOn(":generatePomFileForMavenPublication") @@ -89,7 +89,7 @@ publishing { maven(MavenPublication) { groupId = 'com.phenoml.maven' artifactId = 'phenoml-java-sdk' - version = '17.9.2' + version = '17.9.3' from components.java pom { name = 'phenoml' diff --git a/code-examples.json b/code-examples.json index 18574f6..ea4493c 100644 --- a/code-examples.json +++ b/code-examples.json @@ -2,8 +2,8 @@ "metadata": { "language": "java", "packageName": "com.phenoml.maven:phenoml-java-sdk", - "sdkVersion": "17.9.2", - "specCommit": "8c63b16b085fcf9b05835232378d834802257e7a", + "sdkVersion": "17.9.3", + "specCommit": "c61889b06b6ef367f5e7d6aef5f2b8cbca390aa7", "generatorName": "fernapi/fern-java-sdk" }, "renderRules": { diff --git a/reference.md b/reference.md index 271085b..331b099 100644 --- a/reference.md +++ b/reference.md @@ -1171,7 +1171,7 @@ client.agent().prompts().patch( OAuth 2.0 client credentials token endpoint (RFC 6749 §4.4). Accepts client_id and client_secret in the request body (JSON or form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and -returns an access token with expiration information. +returns an access token with token expiration information. diff --git a/src/main/java/com/phenoml/api/core/ClientOptions.java b/src/main/java/com/phenoml/api/core/ClientOptions.java index ea60970..24ef3cd 100644 --- a/src/main/java/com/phenoml/api/core/ClientOptions.java +++ b/src/main/java/com/phenoml/api/core/ClientOptions.java @@ -47,10 +47,10 @@ private ClientOptions( this.headers.putAll(headers); this.headers.putAll(new HashMap() { { - put("User-Agent", "com.phenoml.maven.phenoml-java-sdk/17.9.2"); + put("User-Agent", "com.phenoml.maven.phenoml-java-sdk/17.9.3"); put("X-Fern-Language", "JAVA"); put("X-Fern-SDK-Name", "com.phenoml.fern:api-sdk"); - put("X-Fern-SDK-Version", "17.9.2"); + put("X-Fern-SDK-Version", "17.9.3"); } }); this.headerSuppliers = headerSuppliers; diff --git a/src/main/java/com/phenoml/api/resources/authtoken/AsyncAuthtokenClient.java b/src/main/java/com/phenoml/api/resources/authtoken/AsyncAuthtokenClient.java index 83c7baf..3d0b948 100644 --- a/src/main/java/com/phenoml/api/resources/authtoken/AsyncAuthtokenClient.java +++ b/src/main/java/com/phenoml/api/resources/authtoken/AsyncAuthtokenClient.java @@ -30,7 +30,7 @@ public AsyncRawAuthtokenClient withRawResponse() { * OAuth 2.0 client credentials token endpoint (RFC 6749 §4.4). * Accepts client_id and client_secret in the request body (JSON or * form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and - * returns an access token with expiration information. + * returns an access token with token expiration information. */ public CompletableFuture getToken() { return this.rawClient.getToken().thenApply(response -> response.body()); @@ -40,7 +40,7 @@ public CompletableFuture getToken() { * OAuth 2.0 client credentials token endpoint (RFC 6749 §4.4). * Accepts client_id and client_secret in the request body (JSON or * form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and - * returns an access token with expiration information. + * returns an access token with token expiration information. */ public CompletableFuture getToken(RequestOptions requestOptions) { return this.rawClient.getToken(requestOptions).thenApply(response -> response.body()); @@ -50,7 +50,7 @@ public CompletableFuture getToken(RequestOptions requestOptions) * OAuth 2.0 client credentials token endpoint (RFC 6749 §4.4). * Accepts client_id and client_secret in the request body (JSON or * form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and - * returns an access token with expiration information. + * returns an access token with token expiration information. */ public CompletableFuture getToken(ClientCredentialsRequest request) { return this.rawClient.getToken(request).thenApply(response -> response.body()); @@ -60,7 +60,7 @@ public CompletableFuture getToken(ClientCredentialsRequest reques * OAuth 2.0 client credentials token endpoint (RFC 6749 §4.4). * Accepts client_id and client_secret in the request body (JSON or * form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and - * returns an access token with expiration information. + * returns an access token with token expiration information. */ public CompletableFuture getToken(ClientCredentialsRequest request, RequestOptions requestOptions) { return this.rawClient.getToken(request, requestOptions).thenApply(response -> response.body()); diff --git a/src/main/java/com/phenoml/api/resources/authtoken/AsyncRawAuthtokenClient.java b/src/main/java/com/phenoml/api/resources/authtoken/AsyncRawAuthtokenClient.java index 01d0c54..8d25480 100644 --- a/src/main/java/com/phenoml/api/resources/authtoken/AsyncRawAuthtokenClient.java +++ b/src/main/java/com/phenoml/api/resources/authtoken/AsyncRawAuthtokenClient.java @@ -41,7 +41,7 @@ public AsyncRawAuthtokenClient(ClientOptions clientOptions) { * OAuth 2.0 client credentials token endpoint (RFC 6749 §4.4). * Accepts client_id and client_secret in the request body (JSON or * form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and - * returns an access token with expiration information. + * returns an access token with token expiration information. */ public CompletableFuture> getToken() { return getToken(ClientCredentialsRequest.builder().build()); @@ -51,7 +51,7 @@ public CompletableFuture> getToken() { * OAuth 2.0 client credentials token endpoint (RFC 6749 §4.4). * Accepts client_id and client_secret in the request body (JSON or * form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and - * returns an access token with expiration information. + * returns an access token with token expiration information. */ public CompletableFuture> getToken(RequestOptions requestOptions) { return getToken(ClientCredentialsRequest.builder().build(), requestOptions); @@ -61,7 +61,7 @@ public CompletableFuture> getToken(Requ * OAuth 2.0 client credentials token endpoint (RFC 6749 §4.4). * Accepts client_id and client_secret in the request body (JSON or * form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and - * returns an access token with expiration information. + * returns an access token with token expiration information. */ public CompletableFuture> getToken(ClientCredentialsRequest request) { return getToken(request, null); @@ -71,7 +71,7 @@ public CompletableFuture> getToken(Clie * OAuth 2.0 client credentials token endpoint (RFC 6749 §4.4). * Accepts client_id and client_secret in the request body (JSON or * form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and - * returns an access token with expiration information. + * returns an access token with token expiration information. */ public CompletableFuture> getToken( ClientCredentialsRequest request, RequestOptions requestOptions) { diff --git a/src/main/java/com/phenoml/api/resources/authtoken/AuthtokenClient.java b/src/main/java/com/phenoml/api/resources/authtoken/AuthtokenClient.java index df8b01b..c685420 100644 --- a/src/main/java/com/phenoml/api/resources/authtoken/AuthtokenClient.java +++ b/src/main/java/com/phenoml/api/resources/authtoken/AuthtokenClient.java @@ -29,7 +29,7 @@ public RawAuthtokenClient withRawResponse() { * OAuth 2.0 client credentials token endpoint (RFC 6749 §4.4). * Accepts client_id and client_secret in the request body (JSON or * form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and - * returns an access token with expiration information. + * returns an access token with token expiration information. */ public TokenResponse getToken() { return this.rawClient.getToken().body(); @@ -39,7 +39,7 @@ public TokenResponse getToken() { * OAuth 2.0 client credentials token endpoint (RFC 6749 §4.4). * Accepts client_id and client_secret in the request body (JSON or * form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and - * returns an access token with expiration information. + * returns an access token with token expiration information. */ public TokenResponse getToken(RequestOptions requestOptions) { return this.rawClient.getToken(requestOptions).body(); @@ -49,7 +49,7 @@ public TokenResponse getToken(RequestOptions requestOptions) { * OAuth 2.0 client credentials token endpoint (RFC 6749 §4.4). * Accepts client_id and client_secret in the request body (JSON or * form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and - * returns an access token with expiration information. + * returns an access token with token expiration information. */ public TokenResponse getToken(ClientCredentialsRequest request) { return this.rawClient.getToken(request).body(); @@ -59,7 +59,7 @@ public TokenResponse getToken(ClientCredentialsRequest request) { * OAuth 2.0 client credentials token endpoint (RFC 6749 §4.4). * Accepts client_id and client_secret in the request body (JSON or * form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and - * returns an access token with expiration information. + * returns an access token with token expiration information. */ public TokenResponse getToken(ClientCredentialsRequest request, RequestOptions requestOptions) { return this.rawClient.getToken(request, requestOptions).body(); diff --git a/src/main/java/com/phenoml/api/resources/authtoken/RawAuthtokenClient.java b/src/main/java/com/phenoml/api/resources/authtoken/RawAuthtokenClient.java index db3a3b9..f14c6c6 100644 --- a/src/main/java/com/phenoml/api/resources/authtoken/RawAuthtokenClient.java +++ b/src/main/java/com/phenoml/api/resources/authtoken/RawAuthtokenClient.java @@ -37,7 +37,7 @@ public RawAuthtokenClient(ClientOptions clientOptions) { * OAuth 2.0 client credentials token endpoint (RFC 6749 §4.4). * Accepts client_id and client_secret in the request body (JSON or * form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and - * returns an access token with expiration information. + * returns an access token with token expiration information. */ public PhenomlClientHttpResponse getToken() { return getToken(ClientCredentialsRequest.builder().build()); @@ -47,7 +47,7 @@ public PhenomlClientHttpResponse getToken() { * OAuth 2.0 client credentials token endpoint (RFC 6749 §4.4). * Accepts client_id and client_secret in the request body (JSON or * form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and - * returns an access token with expiration information. + * returns an access token with token expiration information. */ public PhenomlClientHttpResponse getToken(RequestOptions requestOptions) { return getToken(ClientCredentialsRequest.builder().build(), requestOptions); @@ -57,7 +57,7 @@ public PhenomlClientHttpResponse getToken(RequestOptions requestO * OAuth 2.0 client credentials token endpoint (RFC 6749 §4.4). * Accepts client_id and client_secret in the request body (JSON or * form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and - * returns an access token with expiration information. + * returns an access token with token expiration information. */ public PhenomlClientHttpResponse getToken(ClientCredentialsRequest request) { return getToken(request, null); @@ -67,7 +67,7 @@ public PhenomlClientHttpResponse getToken(ClientCredentialsReques * OAuth 2.0 client credentials token endpoint (RFC 6749 §4.4). * Accepts client_id and client_secret in the request body (JSON or * form-encoded) or via Basic Auth header (RFC 6749 §2.3.1), and - * returns an access token with expiration information. + * returns an access token with token expiration information. */ public PhenomlClientHttpResponse getToken( ClientCredentialsRequest request, RequestOptions requestOptions) { diff --git a/src/main/resources/openapi/openapi.json b/src/main/resources/openapi/openapi.json index aca5998..0d8fbc9 100644 --- a/src/main/resources/openapi/openapi.json +++ b/src/main/resources/openapi/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.0.3", "info": { "title": "Phenoml API", - "version": "8c63b16b085fcf9b05835232378d834802257e7a" + "version": "c61889b06b6ef367f5e7d6aef5f2b8cbca390aa7" }, "x-services": [ { @@ -1448,7 +1448,7 @@ "post": { "operationId": "authtoken_getToken", "summary": "Request an access token", - "description": "OAuth 2.0 client credentials token endpoint (RFC 6749 \u00a74.4).\nAccepts client_id and client_secret in the request body (JSON or\nform-encoded) or via Basic Auth header (RFC 6749 \u00a72.3.1), and\nreturns an access token with expiration information.\n", + "description": "OAuth 2.0 client credentials token endpoint (RFC 6749 \u00a74.4).\nAccepts client_id and client_secret in the request body (JSON or\nform-encoded) or via Basic Auth header (RFC 6749 \u00a72.3.1), and\nreturns an access token with token expiration information.\n", "security": [ { "BasicAuth": []