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
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Java
uses: actions/setup-java@v5
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
distribution: temurin
java-version: |
Expand All @@ -34,7 +34,7 @@ jobs:
cache: gradle

- name: Set up Gradle
uses: gradle/actions/setup-gradle@v4
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3

- name: Run lints
run: ./scripts/lint
Expand All @@ -49,10 +49,10 @@ jobs:
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Java
uses: actions/setup-java@v5
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
distribution: temurin
java-version: |
Expand All @@ -61,7 +61,7 @@ jobs:
cache: gradle

- name: Set up Gradle
uses: gradle/actions/setup-gradle@v4
uses: gradle/actions/setup-gradle@ed408507eac070d1f99cc633dbcf757c94c7933a # v4.4.3

- name: Build SDK
run: ./scripts/build
Expand All @@ -71,7 +71,7 @@ jobs:
github.repository == 'stainless-sdks/lithic-java' &&
!startsWith(github.ref, 'refs/heads/stl/')
id: github-oidc
uses: actions/github-script@v8
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
script: core.setOutput('github_token', await core.getIDToken());

Expand All @@ -91,10 +91,10 @@ jobs:
runs-on: ${{ github.repository == 'stainless-sdks/lithic-java' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Java
uses: actions/setup-java@v5
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
distribution: temurin
java-version: |
Expand All @@ -103,7 +103,7 @@ jobs:
cache: gradle

- name: Set up Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2.12.0

- name: Run tests
run: ./scripts/test
6 changes: 3 additions & 3 deletions .github/workflows/publish-sonatype.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Set up Java
uses: actions/setup-java@v5
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
distribution: temurin
java-version: |
Expand All @@ -26,7 +26,7 @@ jobs:
cache: gradle

- name: Set up Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa # v2.12.0

- name: Publish to Sonatype
run: |-
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
if: github.repository == 'lithic-com/lithic-java' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Check release environment
run: |
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.126.0"
".": "0.126.1"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 193
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-00f07b0edcc0c3c5ef79920ced7f58dac2434df5e4c27ff6041783e8228315f9.yml
openapi_spec_hash: 963688b09480159a06865075c94a2577
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-edd62262c633378b046a4c774cb9a824e2f6bf8f6c0cec613d3fb56e96ba1a29.yml
openapi_spec_hash: e90bfadcd60afbaf9e0c9ebaea4e374e
config_hash: 265a2b679964f4ad5706de101ad2a942
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.126.1 (2026-05-14)

Full Changelog: [v0.126.0...v0.126.1](https://github.com/lithic-com/lithic-java/compare/v0.126.0...v0.126.1)

### Bug Fixes

* **types:** change number from Long to Double in ConditionalValue and conditional actions ([57b5b27](https://github.com/lithic-com/lithic-java/commit/57b5b279f5c23550dbc40946227d483410ca0c14))

## 0.126.0 (2026-05-08)

Full Changelog: [v0.125.0...v0.126.0](https://github.com/lithic-com/lithic-java/compare/v0.125.0...v0.126.0)
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<!-- x-release-please-start-version -->

[![Maven Central](https://img.shields.io/maven-central/v/com.lithic.api/lithic-java)](https://central.sonatype.com/artifact/com.lithic.api/lithic-java/0.126.0)
[![javadoc](https://javadoc.io/badge2/com.lithic.api/lithic-java/0.126.0/javadoc.svg)](https://javadoc.io/doc/com.lithic.api/lithic-java/0.126.0)
[![Maven Central](https://img.shields.io/maven-central/v/com.lithic.api/lithic-java)](https://central.sonatype.com/artifact/com.lithic.api/lithic-java/0.126.1)
[![javadoc](https://javadoc.io/badge2/com.lithic.api/lithic-java/0.126.1/javadoc.svg)](https://javadoc.io/doc/com.lithic.api/lithic-java/0.126.1)

<!-- x-release-please-end -->

Expand All @@ -22,7 +22,7 @@ Use the Lithic MCP Server to enable AI assistants to interact with this API, all

<!-- x-release-please-start-version -->

The REST API documentation can be found on [docs.lithic.com](https://docs.lithic.com). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.lithic.api/lithic-java/0.126.0).
The REST API documentation can be found on [docs.lithic.com](https://docs.lithic.com). Javadocs are available on [javadoc.io](https://javadoc.io/doc/com.lithic.api/lithic-java/0.126.1).

<!-- x-release-please-end -->

Expand All @@ -33,7 +33,7 @@ The REST API documentation can be found on [docs.lithic.com](https://docs.lithic
### Gradle

```kotlin
implementation("com.lithic.api:lithic-java:0.126.0")
implementation("com.lithic.api:lithic-java:0.126.1")
```

### Maven
Expand All @@ -42,7 +42,7 @@ implementation("com.lithic.api:lithic-java:0.126.0")
<dependency>
<groupId>com.lithic.api</groupId>
<artifactId>lithic-java</artifactId>
<version>0.126.0</version>
<version>0.126.1</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repositories {

allprojects {
group = "com.lithic.api"
version = "0.126.0" // x-release-please-version
version = "0.126.1" // x-release-please-version
}

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,11 @@ private constructor(
/** Alias for calling [value] with `ConditionalValue.ofRegex(regex)`. */
fun value(regex: String) = value(ConditionalValue.ofRegex(regex))

/** Alias for calling [value] with `ConditionalValue.ofInteger(integer)`. */
fun value(integer: Long) = value(ConditionalValue.ofInteger(integer))

/** Alias for calling [value] with `ConditionalValue.ofNumber(number)`. */
fun value(number: Long) = value(ConditionalValue.ofNumber(number))
fun value(number: Double) = value(ConditionalValue.ofNumber(number))

/** Alias for calling [value] with `ConditionalValue.ofListOfStrings(listOfStrings)`. */
fun valueOfListOfStrings(listOfStrings: List<String>) =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -406,9 +406,9 @@ private constructor(
* * `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer fee
* field in the settlement/cardholder billing currency. This is the amount the issuer
* should authorize against unless the issuer is paying the acquirer fee on behalf of the
* cardholder.
* cardholder. Use an integer value.
* * `RISK_SCORE`: Mastercard only: Assessment by the network of the authentication risk
* level, with a higher value indicating a higher amount of risk.
* level, with a higher value indicating a higher amount of risk. Use an integer value.
* * `MESSAGE_CATEGORY`: The category of the authentication being processed.
* * `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address data with
* the cardholder KYC data if it exists. Valid values are `MATCH`, `MATCH_ADDRESS_ONLY`,
Expand Down Expand Up @@ -520,9 +520,10 @@ private constructor(
* * `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer fee
* field in the settlement/cardholder billing currency. This is the amount the issuer
* should authorize against unless the issuer is paying the acquirer fee on behalf of
* the cardholder.
* the cardholder. Use an integer value.
* * `RISK_SCORE`: Mastercard only: Assessment by the network of the authentication risk
* level, with a higher value indicating a higher amount of risk.
* level, with a higher value indicating a higher amount of risk. Use an integer
* value.
* * `MESSAGE_CATEGORY`: The category of the authentication being processed.
* * `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address data
* with the cardholder KYC data if it exists. Valid values are `MATCH`,
Expand Down Expand Up @@ -568,8 +569,11 @@ private constructor(
/** Alias for calling [value] with `ConditionalValue.ofRegex(regex)`. */
fun value(regex: String) = value(ConditionalValue.ofRegex(regex))

/** Alias for calling [value] with `ConditionalValue.ofInteger(integer)`. */
fun value(integer: Long) = value(ConditionalValue.ofInteger(integer))

/** Alias for calling [value] with `ConditionalValue.ofNumber(number)`. */
fun value(number: Long) = value(ConditionalValue.ofNumber(number))
fun value(number: Double) = value(ConditionalValue.ofNumber(number))

/** Alias for calling [value] with `ConditionalValue.ofListOfStrings(listOfStrings)`. */
fun valueOfListOfStrings(listOfStrings: List<String>) =
Expand Down Expand Up @@ -677,9 +681,9 @@ private constructor(
* * `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer fee
* field in the settlement/cardholder billing currency. This is the amount the issuer
* should authorize against unless the issuer is paying the acquirer fee on behalf of the
* cardholder.
* cardholder. Use an integer value.
* * `RISK_SCORE`: Mastercard only: Assessment by the network of the authentication risk
* level, with a higher value indicating a higher amount of risk.
* level, with a higher value indicating a higher amount of risk. Use an integer value.
* * `MESSAGE_CATEGORY`: The category of the authentication being processed.
* * `ADDRESS_MATCH`: Lithic's evaluation result comparing transaction's address data with
* the cardholder KYC data if it exists. Valid values are `MATCH`, `MATCH_ADDRESS_ONLY`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1701,7 +1701,8 @@ private constructor(
* * `COMPANY_ID`: The company ID (also known as Standard Entry Class (SEC) Company ID) of
* the entity initiating the ACH transaction.
* * `TIMESTAMP`: The timestamp of the ACH transaction in ISO 8601 format.
* * `TRANSACTION_AMOUNT`: The amount of the ACH transaction in minor units (cents).
* * `TRANSACTION_AMOUNT`: The amount of the ACH transaction in minor units (cents). Use an
* integer value.
* * `SEC_CODE`: Standard Entry Class code indicating the type of ACH transaction. Valid
* values include PPD (Prearranged Payment and Deposit Entry), CCD (Corporate Credit or
* Debit Entry), WEB (Internet-Initiated/Mobile Entry), TEL (Telephone-Initiated Entry),
Expand Down Expand Up @@ -1805,7 +1806,8 @@ private constructor(
* * `COMPANY_ID`: The company ID (also known as Standard Entry Class (SEC) Company ID)
* of the entity initiating the ACH transaction.
* * `TIMESTAMP`: The timestamp of the ACH transaction in ISO 8601 format.
* * `TRANSACTION_AMOUNT`: The amount of the ACH transaction in minor units (cents).
* * `TRANSACTION_AMOUNT`: The amount of the ACH transaction in minor units (cents). Use
* an integer value.
* * `SEC_CODE`: Standard Entry Class code indicating the type of ACH transaction. Valid
* values include PPD (Prearranged Payment and Deposit Entry), CCD (Corporate Credit
* or Debit Entry), WEB (Internet-Initiated/Mobile Entry), TEL (Telephone-Initiated
Expand Down Expand Up @@ -1852,8 +1854,11 @@ private constructor(
/** Alias for calling [value] with `ConditionalValue.ofRegex(regex)`. */
fun value(regex: String) = value(ConditionalValue.ofRegex(regex))

/** Alias for calling [value] with `ConditionalValue.ofInteger(integer)`. */
fun value(integer: Long) = value(ConditionalValue.ofInteger(integer))

/** Alias for calling [value] with `ConditionalValue.ofNumber(number)`. */
fun value(number: Long) = value(ConditionalValue.ofNumber(number))
fun value(number: Double) = value(ConditionalValue.ofNumber(number))

/** Alias for calling [value] with `ConditionalValue.ofListOfStrings(listOfStrings)`. */
fun valueOfListOfStrings(listOfStrings: List<String>) =
Expand Down Expand Up @@ -1954,7 +1959,8 @@ private constructor(
* * `COMPANY_ID`: The company ID (also known as Standard Entry Class (SEC) Company ID) of
* the entity initiating the ACH transaction.
* * `TIMESTAMP`: The timestamp of the ACH transaction in ISO 8601 format.
* * `TRANSACTION_AMOUNT`: The amount of the ACH transaction in minor units (cents).
* * `TRANSACTION_AMOUNT`: The amount of the ACH transaction in minor units (cents). Use an
* integer value.
* * `SEC_CODE`: Standard Entry Class code indicating the type of ACH transaction. Valid
* values include PPD (Prearranged Payment and Deposit Entry), CCD (Corporate Credit or
* Debit Entry), WEB (Internet-Initiated/Mobile Entry), TEL (Telephone-Initiated Entry),
Expand Down
Loading
Loading