Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
19ac828
chore: configure new SDK language
stainless-app[bot] Jan 8, 2026
4bda069
chore(internal): configure MCP Server hosting
stainless-app[bot] Jan 8, 2026
9468191
chore(internal): codegen related update
stainless-app[bot] Jan 12, 2026
ef79410
feat(api): make filter optional for Spend Velocity Auth Rules
stainless-app[bot] Jan 13, 2026
ead10f3
fix(api): Correct field name from ach_hold__period to ach_hold_period
stainless-app[bot] Jan 13, 2026
79ba3d6
chore: fix typo in descriptions
stainless-app[bot] Jan 13, 2026
0466f6a
chore: Rework event type generation to support spec splitting
stainless-app[bot] Jan 14, 2026
98afb05
feat(api): Add idempotency key to cards POST and PATCH endpoints
stainless-app[bot] Jan 14, 2026
5940b21
chore(internal): upgrade babel, qs, js-yaml
stainless-app[bot] Jan 15, 2026
3bb4fc1
fix(api): mark AppleWebPushProvisioningResponse fields required
stainless-app[bot] Jan 16, 2026
3de8381
chore(internal): update `actions/checkout` version
stainless-app[bot] Jan 16, 2026
eefbc00
chore: Add spec linter for YAML and folded style multiline strings
stainless-app[bot] Jan 19, 2026
ca68a38
feat(api): Add card.updated event
stainless-app[bot] Jan 20, 2026
062acce
feat(api): Add tags field to card transactions
stainless-app[bot] Jan 21, 2026
18471f6
codegen metadata
stainless-app[bot] Jan 21, 2026
633b234
codegen metadata
stainless-app[bot] Jan 22, 2026
cd54d0d
chore(ci): upgrade `actions/github-script`
stainless-app[bot] Jan 23, 2026
112880e
docs: Remove deprecated tag from MERCHANT_LOCKED card type
stainless-app[bot] Jan 26, 2026
1b156ef
feat(api): Add merchant location fields to simulator endpoints
stainless-app[bot] Jan 27, 2026
b733143
release: 0.128.0
stainless-app[bot] Jan 27, 2026
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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ${{ github.repository == 'stainless-sdks/lithic-typescript' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Set up Node
uses: actions/setup-node@v4
Expand All @@ -41,7 +41,7 @@ jobs:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Set up Node
uses: actions/setup-node@v4
Expand All @@ -57,7 +57,7 @@ jobs:
- name: Get GitHub OIDC Token
if: github.repository == 'stainless-sdks/lithic-typescript'
id: github-oidc
uses: actions/github-script@v6
uses: actions/github-script@v8
with:
script: core.setOutput('github_token', await core.getIDToken());

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

- name: Set up Node
uses: actions/setup-node@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Set up Node
uses: actions/setup-node@v3
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-node' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- 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.127.0"
".": "0.128.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 176
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-4ecc06edca2cfad4eaf11573611e89823fda5f56370bac5cd02a498a6b277d09.yml
openapi_spec_hash: 8f4a30bec4348cbde85b1e65bef9189a
config_hash: 9dddee5f7af579864599849cb28a0770
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-ce2adff9b644ed4562b5342a4a43d0b40c98d43b4e063b4626f4ca5d342f1b92.yml
openapi_spec_hash: fbc84b866ce96457261ac58b4e75c71d
config_hash: 31d71922d7838f34ae0875c9b8026d99
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,42 @@
# Changelog

## 0.128.0 (2026-01-27)

Full Changelog: [v0.127.0...v0.128.0](https://github.com/lithic-com/lithic-node/compare/v0.127.0...v0.128.0)

### Features

* **api:** Add card.updated event ([ca68a38](https://github.com/lithic-com/lithic-node/commit/ca68a38160a3bb1aa0fce29571f5c8211ecb4079))
* **api:** Add idempotency key to cards POST and PATCH endpoints ([98afb05](https://github.com/lithic-com/lithic-node/commit/98afb051ae43204a74957b83edbc1b91bb89d6d1))
* **api:** Add merchant location fields to simulator endpoints ([1b156ef](https://github.com/lithic-com/lithic-node/commit/1b156efbd099ea98a42c5edcb999017a7d79f36b))
* **api:** Add tags field to card transactions ([062acce](https://github.com/lithic-com/lithic-node/commit/062acce766eae609ab715b095cf1e4226b4d0b8b))
* **api:** make filter optional for Spend Velocity Auth Rules ([ef79410](https://github.com/lithic-com/lithic-node/commit/ef79410ccbc6a8c6409f80ec94704cd2fe138253))


### Bug Fixes

* **api:** Correct field name from ach_hold__period to ach_hold_period ([ead10f3](https://github.com/lithic-com/lithic-node/commit/ead10f32c6352afe9af48fb91d7573cd4f7ab00f))
* **api:** mark AppleWebPushProvisioningResponse fields required ([3bb4fc1](https://github.com/lithic-com/lithic-node/commit/3bb4fc1d5d202fb0b04da2fd3940a67578618580))
* **api:** rename WIRE_DRAWDOWN_REQUEST to WIRE_INBOUND_DRAWDOWN_REQUEST ([ef79410](https://github.com/lithic-com/lithic-node/commit/ef79410ccbc6a8c6409f80ec94704cd2fe138253))


### Chores

* Add spec linter for YAML and folded style multiline strings ([eefbc00](https://github.com/lithic-com/lithic-node/commit/eefbc0001bd83cdd8d54f04ab0429a9d3d38d8e7))
* **ci:** upgrade `actions/github-script` ([cd54d0d](https://github.com/lithic-com/lithic-node/commit/cd54d0dfd14ad79f5a7ad017f901b9b35a2b4e89))
* configure new SDK language ([19ac828](https://github.com/lithic-com/lithic-node/commit/19ac828b81e7c57de8ccd7ead0839b0e47d909b9))
* fix typo in descriptions ([79ba3d6](https://github.com/lithic-com/lithic-node/commit/79ba3d6e33009523bb7cec77e96dca6ca94d3c7d))
* **internal:** codegen related update ([9468191](https://github.com/lithic-com/lithic-node/commit/94681910790a2cc3db84c31cb4dd4fe9f4e36cad))
* **internal:** configure MCP Server hosting ([4bda069](https://github.com/lithic-com/lithic-node/commit/4bda069ffdcb973684b39afa14aa4124eb9bf764))
* **internal:** update `actions/checkout` version ([3de8381](https://github.com/lithic-com/lithic-node/commit/3de8381be8cacf5cbd152c3945cb709f1ed9a145))
* **internal:** upgrade babel, qs, js-yaml ([5940b21](https://github.com/lithic-com/lithic-node/commit/5940b21506bacce1935195f6752b4b5293803c4e))
* Rework event type generation to support spec splitting ([0466f6a](https://github.com/lithic-com/lithic-node/commit/0466f6abc05e245b96a3f7ea4e77917c0ceb2b0f))


### Documentation

* Remove deprecated tag from MERCHANT_LOCKED card type ([112880e](https://github.com/lithic-com/lithic-node/commit/112880eaafa3d40d570af8710d4060423c46b65f))

## 0.127.0 (2026-01-08)

Full Changelog: [v0.126.0...v0.127.0](https://github.com/lithic-com/lithic-node/compare/v0.126.0...v0.127.0)
Expand Down
1 change: 1 addition & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,7 @@ Types:
- <code><a href="./src/resources/webhooks.ts">CardRenewedWebhookEvent</a></code>
- <code><a href="./src/resources/webhooks.ts">CardReissuedWebhookEvent</a></code>
- <code><a href="./src/resources/webhooks.ts">CardShippedWebhookEvent</a></code>
- <code><a href="./src/resources/webhooks.ts">CardUpdatedWebhookEvent</a></code>
- <code><a href="./src/resources/webhooks.ts">CardTransactionUpdatedWebhookEvent</a></code>
- <code><a href="./src/resources/webhooks.ts">CardTransactionEnhancedDataCreatedWebhookEvent</a></code>
- <code><a href="./src/resources/webhooks.ts">CardTransactionEnhancedDataUpdatedWebhookEvent</a></code>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lithic",
"version": "0.127.0",
"version": "0.128.0",
"description": "The official TypeScript library for the Lithic API",
"author": "Lithic <sdk-feedback@lithic.com>",
"types": "dist/index.d.ts",
Expand Down
2 changes: 2 additions & 0 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ import {
CardTransactionEnhancedDataCreatedWebhookEvent,
CardTransactionEnhancedDataUpdatedWebhookEvent,
CardTransactionUpdatedWebhookEvent,
CardUpdatedWebhookEvent,
DigitalWalletTokenizationApprovalRequestWebhookEvent,
DigitalWalletTokenizationResultWebhookEvent,
DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent,
Expand Down Expand Up @@ -1515,6 +1516,7 @@ export declare namespace Lithic {
type CardRenewedWebhookEvent as CardRenewedWebhookEvent,
type CardReissuedWebhookEvent as CardReissuedWebhookEvent,
type CardShippedWebhookEvent as CardShippedWebhookEvent,
type CardUpdatedWebhookEvent as CardUpdatedWebhookEvent,
type CardTransactionUpdatedWebhookEvent as CardTransactionUpdatedWebhookEvent,
type CardTransactionEnhancedDataCreatedWebhookEvent as CardTransactionEnhancedDataCreatedWebhookEvent,
type CardTransactionEnhancedDataUpdatedWebhookEvent as CardTransactionEnhancedDataUpdatedWebhookEvent,
Expand Down
4 changes: 2 additions & 2 deletions src/resources/auth-rules/v2/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -928,8 +928,6 @@ export namespace RuleStats {
}

export interface VelocityLimitParams {
filters: VelocityLimitParams.Filters;

/**
* Velocity over the current day since 00:00 / 12 AM in Eastern Time
*/
Expand All @@ -940,6 +938,8 @@ export interface VelocityLimitParams {
*/
scope: 'CARD' | 'ACCOUNT';

filters?: VelocityLimitParams.Filters;

/**
* The maximum amount of spend velocity allowed in the period in minor units (the
* smallest unit of a currency, e.g. cents for USD). Transactions exceeding this
Expand Down
Loading