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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,5 @@
# Linux start script should use lf
/gradlew text eol=lf

# These are Windows script files and should use crlf
*.bat text eol=crlf

# This allows generated code to be indexed correctly
*.java linguist-generated=false
1,630 changes: 1,067 additions & 563 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ generation:
securityFeb2025: false
sharedErrorComponentsApr2025: false
sharedNestedComponentsJan2026: false
nameOverrideFeb2026: false
auth:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
Expand All @@ -28,7 +29,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
java:
version: 4.1.3
version: 4.1.4
additionalDependencies: []
additionalPlugins: []
artifactID: backend-api
Expand All @@ -39,13 +40,16 @@ java:
companyURL: www.mycompany.com
defaultErrorName: SDKError
enableCustomCodeRegions: false
enableFormatting: false
enableSlf4jLogging: false
enableStreamingUploads: false
explicitDocImports: false
flattenGlobalSecurity: true
forwardCompatibleEnumsByDefault: false
forwardCompatibleUnionsByDefault: "false"
generateOptionalUnionAccessors: false
generateSpringBootStarter: true
generateUnionDocs: false
githubURL: github.com/owner/repo
groupID: com.clerk
imports:
Expand All @@ -68,7 +72,9 @@ java:
nullFriendlyParameters: false
operationScopedParams: true
outputModelSuffix: output
prefixModeMethodNames: false
projectName: api
respectTitlesForPrimitiveUnionMembers: false
showSetterGetterTypesInDocs: false
templateVersion: v2
unionStrategy: populated-fields
13 changes: 6 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
speakeasyVersion: 1.719.0
speakeasyVersion: 1.748.0
sources:
clerk-java-sdk:
sourceNamespace: clerk-java-sdk
sourceRevisionDigest: sha256:67786e21dc7e6b0a9d7363f7d448ee91b877584ee464267868ab4bd24b533c51
sourceBlobDigest: sha256:88671be82807d36bb9992ddbcf3cff521c1a389a5f664e6bc0d85d27684a4db6
sourceRevisionDigest: sha256:9925228df9e79b73494a9562af086a54c935af7eb18119c3ac09a24d94f0abbe
sourceBlobDigest: sha256:de9c002b801ef4410225c475dfd97d83484bcd298f746efee66cd32490029399
tags:
- latest
- speakeasy-sdk-regen-1768262997
- "2025-11-10"
targets:
clerk-java:
source: clerk-java-sdk
sourceNamespace: clerk-java-sdk
sourceRevisionDigest: sha256:67786e21dc7e6b0a9d7363f7d448ee91b877584ee464267868ab4bd24b533c51
sourceBlobDigest: sha256:88671be82807d36bb9992ddbcf3cff521c1a389a5f664e6bc0d85d27684a4db6
sourceRevisionDigest: sha256:9925228df9e79b73494a9562af086a54c935af7eb18119c3ac09a24d94f0abbe
sourceBlobDigest: sha256:de9c002b801ef4410225c475dfd97d83484bcd298f746efee66cd32490029399
codeSamplesNamespace: clerk-java-sdk-code-samples
codeSamplesRevisionDigest: sha256:6664493944536da85f042d03312d78587af18aa4378d3d99c3f98e3cb385ba60
codeSamplesRevisionDigest: sha256:e6b8d35dbe9681214de0d8955a51c04a681e5e17af9ce0a1e82e059370500b1b
my-first-target:
source: clerk-java-sdk
sourceNamespace: clerk-java-sdk
Expand Down
104 changes: 73 additions & 31 deletions README.md

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,4 +398,14 @@ Based on:
### Generated
- [java v4.1.3] .
### Releases
- [Maven Central v4.1.3] https://central.sonatype.com/artifact/com.clerk/backend-api/4.1.3 - .
- [Maven Central v4.1.3] https://central.sonatype.com/artifact/com.clerk/backend-api/4.1.3 - .

## 2026-03-07 00:14:16
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.748.0 (2.852.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v4.1.4] .
### Releases
- [Maven Central v4.1.4] https://central.sonatype.com/artifact/com.clerk/backend-api/4.1.4 - .
2 changes: 1 addition & 1 deletion USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class Application {
.call();

if (res.emailAddress().isPresent()) {
// handle response
System.out.println(res.emailAddress().get());
}
}
}
Expand Down
19 changes: 19 additions & 0 deletions docs/models/components/Action.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Action

Whether to increase or decrease the credit balance.

## Example Usage

```java
import com.clerk.backend_api.models.components.Action;

Action value = Action.INCREASE;
```


## Values

| Name | Value |
| ---------- | ---------- |
| `INCREASE` | increase |
| `DECREASE` | decrease |
8 changes: 8 additions & 0 deletions docs/models/components/ActorTokenObject.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# ActorTokenObject

## Example Usage

```java
import com.clerk.backend_api.models.components.ActorTokenObject;

ActorTokenObject value = ActorTokenObject.ACTOR_TOKEN;
```


## Values

Expand Down
8 changes: 8 additions & 0 deletions docs/models/components/ActorTokenStatus.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# ActorTokenStatus

## Example Usage

```java
import com.clerk.backend_api.models.components.ActorTokenStatus;

ActorTokenStatus value = ActorTokenStatus.PENDING;
```


## Values

Expand Down
12 changes: 12 additions & 0 deletions docs/models/components/AdjustCreditBalanceRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# AdjustCreditBalanceRequest


## Fields

| Field | Type | Required | Description |
| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| `amount` | *long* | :heavy_check_mark: | The credit amount in cents. Must be greater than zero. |
| `action` | [Action](../../models/components/Action.md) | :heavy_check_mark: | Whether to increase or decrease the credit balance. |
| `currency` | *Optional\<String>* | :heavy_minus_sign: | The currency code (e.g. "USD"). Defaults to USD if not provided. |
| `idempotencyKey` | *String* | :heavy_check_mark: | A unique key to ensure the adjustment is applied only once. Repeated requests with the same key return the original ledger entry. |
| `note` | *Optional\<String>* | :heavy_minus_sign: | An optional note to attach to the ledger entry. |
13 changes: 13 additions & 0 deletions docs/models/components/AgentTask.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# AgentTask

Success


## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| `object` | [AgentTaskObject](../../models/components/AgentTaskObject.md) | :heavy_check_mark: | N/A |
| `agentId` | *String* | :heavy_check_mark: | A stable identifier for the agent, unique per agent_name within an instance.<br/> |
| `taskId` | *String* | :heavy_check_mark: | A unique identifier for this agent task.<br/> |
| `url` | *Optional\<String>* | :heavy_minus_sign: | The URL that, when visited, creates a session for the user. Only present in the response to a create request.<br/> |
16 changes: 16 additions & 0 deletions docs/models/components/AgentTaskObject.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# AgentTaskObject

## Example Usage

```java
import com.clerk.backend_api.models.components.AgentTaskObject;

AgentTaskObject value = AgentTaskObject.AGENT_TASK;
```


## Values

| Name | Value |
| ------------ | ------------ |
| `AGENT_TASK` | agent_task |
8 changes: 8 additions & 0 deletions docs/models/components/AllowlistIdentifierObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
String representing the object's type. Objects of the same type share the same value.


## Example Usage

```java
import com.clerk.backend_api.models.components.AllowlistIdentifierObject;

AllowlistIdentifierObject value = AllowlistIdentifierObject.ALLOWLIST_IDENTIFIER;
```


## Values

Expand Down
13 changes: 13 additions & 0 deletions docs/models/components/Balance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Balance

The current credit balance. Null when the payer has never had credits.


## Fields

| Field | Type | Required | Description |
| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- |
| `amount` | *long* | :heavy_check_mark: | The amount in cents. |
| `amountFormatted` | *String* | :heavy_check_mark: | The formatted amount as a string (e.g., "$49.99"). |
| `currency` | *String* | :heavy_check_mark: | The currency code (e.g., "USD"). |
| `currencySymbol` | *String* | :heavy_check_mark: | The currency symbol (e.g., "$"). |
Loading
Loading