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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1,682 changes: 1,439 additions & 243 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ generation:
generateNewTests: false
skipResponseBodyAssertions: false
java:
version: 4.1.5
version: 5.0.0
additionalDependencies: []
additionalPlugins: []
artifactID: backend-api
Expand Down
16 changes: 8 additions & 8 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
speakeasyVersion: 1.761.9
speakeasyVersion: 1.777.0
sources:
clerk-java-sdk:
sourceNamespace: clerk-java-sdk
sourceRevisionDigest: sha256:e03f6d56009bfb224f266d3da9243c18c5d9f0b51f3e4be4c73c85156057379f
sourceBlobDigest: sha256:5af09101a437c8ff1fdeca198717f89e09f460c7c50bac24a236be2bb1033c5a
sourceRevisionDigest: sha256:d15346bde80f5abad95d77c66b96208b660c78544a4c4dca48b2068565d13717
sourceBlobDigest: sha256:2ca2b3040b8261f61ac0c56c7fd9a942f7ad5ed5312eb73d44b7b9b648605b29
tags:
- latest
- "2025-11-10"
- "2026-05-12"
targets:
clerk-java:
source: clerk-java-sdk
sourceNamespace: clerk-java-sdk
sourceRevisionDigest: sha256:e03f6d56009bfb224f266d3da9243c18c5d9f0b51f3e4be4c73c85156057379f
sourceBlobDigest: sha256:5af09101a437c8ff1fdeca198717f89e09f460c7c50bac24a236be2bb1033c5a
sourceRevisionDigest: sha256:d15346bde80f5abad95d77c66b96208b660c78544a4c4dca48b2068565d13717
sourceBlobDigest: sha256:2ca2b3040b8261f61ac0c56c7fd9a942f7ad5ed5312eb73d44b7b9b648605b29
codeSamplesNamespace: clerk-java-sdk-code-samples
codeSamplesRevisionDigest: sha256:7aa77e3187d4d1dc439a3fa9a88126a6b7b9e9d0ecb5879593d1bd95065e3f80
codeSamplesRevisionDigest: sha256:32607a6473b6c49509d6ece1b9e94b3a87ac3637e18aa700d8b08c90997c9cd9
my-first-target:
source: clerk-java-sdk
sourceNamespace: clerk-java-sdk
Expand All @@ -26,7 +26,7 @@ workflow:
sources:
clerk-java-sdk:
inputs:
- location: https://raw.githubusercontent.com/clerk/openapi-specs/refs/heads/main/bapi/2025-11-10.yml
- location: https://raw.githubusercontent.com/clerk/openapi-specs/refs/heads/main/bapi/2026-05-12.yml
overlays:
- location: https://raw.githubusercontent.com/clerk/openapi-specs/refs/heads/main/.speakeasy/bapi/fixes.yml
registry:
Expand Down
87 changes: 57 additions & 30 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 @@ -418,4 +418,14 @@ Based on:
### Generated
- [java v4.1.5] .
### Releases
- [Maven Central v4.1.5] https://central.sonatype.com/artifact/com.clerk/backend-api/4.1.5 - .
- [Maven Central v4.1.5] https://central.sonatype.com/artifact/com.clerk/backend-api/4.1.5 - .

## 2026-06-11 20:04:20
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.777.0 (2.903.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [java v5.0.0] .
### Releases
- [Maven Central v5.0.0] https://central.sonatype.com/artifact/com.clerk/backend-api/5.0.0 - .
42 changes: 0 additions & 42 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ plugins {
id 'signing'
// V2 publishing plugin (Sonatype Central Portal)
id 'cl.franciscosolis.sonatype-central-upload' version '1.0.3'
id "io.spring.dependency-management" version "1.1.6" apply false
}

compileJava.options.encoding = "UTF-8"
Expand Down Expand Up @@ -84,47 +83,6 @@ dependencies {
implementation 'jakarta.annotation:jakarta.annotation-api:3.0.0'
}

ext {
springBootVersion = '2.7.18'
}

subprojects {
if (name in [
'backend-api-spring-boot-autoconfigure',
'backend-api-spring-boot-starter'
]) {
// Ensure subprojects use the same group and version as root project
group = rootProject.group
version = rootProject.version

apply {
plugin "java-library"
plugin "io.spring.dependency-management"
plugin "maven-publish"
plugin "signing"
plugin "cl.franciscosolis.sonatype-central-upload"
}
dependencyManagement {
imports {
mavenBom "org.springframework.boot:spring-boot-dependencies:${rootProject.springBootVersion}"
}
}
repositories {
mavenCentral()
}
java {
withSourcesJar()
withJavadocJar()
}
tasks.withType(JavaCompile).configureEach {
options.release = 11
}

// Apply publishing configuration to all subprojects - they'll check for publishingConfig internally
apply from: rootProject.file('publishing.gradle')
}
}

ext {
publishingConfig = [
groupId: group,
Expand Down
15 changes: 15 additions & 0 deletions docs/models/components/AffiliationVerification.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# AffiliationVerification

Verification details for the user-facing affiliation between the domain and the organization (e.g. affiliation_email_code).



## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| `status` | *String* | :heavy_check_mark: | Status of the verification. It can be `unverified`, `verified`, `failed`, or `expired`. |
| `strategy` | *String* | :heavy_check_mark: | Name of the strategy used to verify the domain |
| `attempts` | *Optional\<Long>* | :heavy_check_mark: | How many attempts have been made to verify the domain |
| `expireAt` | *Optional\<Long>* | :heavy_check_mark: | Unix timestamp of when the verification will expire |
| `verifiedAt` | *Optional\<Long>* | :heavy_check_mark: | Unix timestamp of when ownership was verified. Only populated on `ownership_verification`; null on `affiliation_verification`.<br/> |
11 changes: 11 additions & 0 deletions docs/models/components/BillingPaymentAttemptDiscounts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# BillingPaymentAttemptDiscounts

Information about the discounts applied to the payment


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
| `proration` | [Optional\<BillingPaymentAttemptTotalsProration>](../../models/components/BillingPaymentAttemptTotalsProration.md) | :heavy_check_mark: | Proration details from passed subscription time |
| `total` | [CommerceMoneyResponse](../../models/components/CommerceMoneyResponse.md) | :heavy_check_mark: | N/A |
17 changes: 9 additions & 8 deletions docs/models/components/BillingPaymentAttemptTotals.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ Totals breakdown for this payment attempt.

## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ |
| `subtotal` | [CommerceMoneyResponse](../../models/components/CommerceMoneyResponse.md) | :heavy_check_mark: | N/A |
| `baseFee` | [CommerceMoneyResponse](../../models/components/CommerceMoneyResponse.md) | :heavy_check_mark: | N/A |
| `taxTotal` | [CommerceMoneyResponse](../../models/components/CommerceMoneyResponse.md) | :heavy_check_mark: | N/A |
| `grandTotal` | [CommerceMoneyResponse](../../models/components/CommerceMoneyResponse.md) | :heavy_check_mark: | N/A |
| `perUnitTotals` | List\<[CommercePerUnitTotal](../../models/components/CommercePerUnitTotal.md)> | :heavy_minus_sign: | N/A |
| `credits` | [JsonNullable\<BillingPaymentAttemptCredits>](../../models/components/BillingPaymentAttemptCredits.md) | :heavy_minus_sign: | N/A |
| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| `subtotal` | [CommerceMoneyResponse](../../models/components/CommerceMoneyResponse.md) | :heavy_check_mark: | N/A |
| `baseFee` | [CommerceMoneyResponse](../../models/components/CommerceMoneyResponse.md) | :heavy_check_mark: | N/A |
| `taxTotal` | [CommerceMoneyResponse](../../models/components/CommerceMoneyResponse.md) | :heavy_check_mark: | N/A |
| `grandTotal` | [CommerceMoneyResponse](../../models/components/CommerceMoneyResponse.md) | :heavy_check_mark: | N/A |
| `perUnitTotals` | List\<[SchemasCommercePerUnitTotal](../../models/components/SchemasCommercePerUnitTotal.md)> | :heavy_minus_sign: | N/A |
| `credits` | [JsonNullable\<BillingPaymentAttemptCredits>](../../models/components/BillingPaymentAttemptCredits.md) | :heavy_minus_sign: | N/A |
| `discounts` | [JsonNullable\<BillingPaymentAttemptDiscounts>](../../models/components/BillingPaymentAttemptDiscounts.md) | :heavy_minus_sign: | Information about the discounts applied to the payment |
13 changes: 13 additions & 0 deletions docs/models/components/BillingPaymentAttemptTotalsProration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# BillingPaymentAttemptTotalsProration

Proration details from passed subscription time


## Fields

| Field | Type | Required | Description |
| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| `amount` | [CommerceMoneyResponse](../../models/components/CommerceMoneyResponse.md) | :heavy_check_mark: | N/A |
| `cycleDaysPassed` | *long* | :heavy_check_mark: | Number of days that have passed in the billing cycle |
| `cycleDaysTotal` | *long* | :heavy_check_mark: | Total number of days in the billing cycle |
| `cyclePassedPercent` | *double* | :heavy_check_mark: | Percentage of the billing cycle that has passed |
Loading
Loading