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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
permissions:
contents: read
id-token: write
runs-on: ${{ github.repository == 'stainless-sdks/lithic-go' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: |-
github.repository == 'stainless-sdks/lithic-go' &&
(github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
lint:
timeout-minutes: 10
name: lint
runs-on: ${{ github.repository == 'stainless-sdks/lithic-go' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork

steps:
Expand All @@ -65,7 +65,7 @@ jobs:
test:
timeout-minutes: 10
name: test
runs-on: ${{ github.repository == 'stainless-sdks/lithic-go' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
runs-on: ${{ startsWith(github.repository, 'stainless-sdks/') && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
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.115.0"
".": "0.116.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 214
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-9e397c65ffb81e2928b8ecf979769a79131ae6058b6fb373a5e930dc8a168732.yml
openapi_spec_hash: 93aea3855d2d1c390107d223762aa818
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-90a1307b64fb449a81303dd73185b15e40f48c10415f4e4f483e59d828c53084.yml
openapi_spec_hash: 4c752106ab99b1c537fc364535736eaa
config_hash: 5bb913c05ebeb301ec925b16e75bb251
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# Changelog

## 0.116.0 (2026-07-22)

Full Changelog: [v0.115.0...v0.116.0](https://github.com/lithic-com/lithic-go/compare/v0.115.0...v0.116.0)

### Features

* **api:** add embed.session_generated and embed.viewed webhook event types ([8390f53](https://github.com/lithic-com/lithic-go/commit/8390f539f5b3a7318b3f383a4e4427f71f0ac8c1))
* **api:** add PAYMENT event type to book transfers ([030f8d1](https://github.com/lithic-com/lithic-go/commit/030f8d1641d8f3885039f2e597d97553c398ff96))
* **api:** add PROGRAM_TRANSFER category and event types to financial transaction types ([4f41a62](https://github.com/lithic-com/lithic-go/commit/4f41a62df97ba7b41f2db2a06e0182cb3d399e97))
* **api:** add recipient_name field to payment method attributes ([8e7e6da](https://github.com/lithic-com/lithic-go/commit/8e7e6dabd2b9dbef32ad087cfa630803a7bbbd3c))
* **api:** add REVERSED status to payment list parameters ([778117c](https://github.com/lithic-com/lithic-go/commit/778117c555bbed242991722481bb8c2ed1637db7))
* **stlc:** configurable CI runner and private-production-repo support in workflow templates ([38d2c5f](https://github.com/lithic-com/lithic-go/commit/38d2c5fe79e876071fce56f643988b5df2cd1c91))


### Bug Fixes

* **types:** make comment/created_at/fraud_type/updated_at nullable in fraud_transaction ([93e72ca](https://github.com/lithic-com/lithic-go/commit/93e72caa416a97b8b97bc333ae9b945794553144))


### Documentation

* **api:** clarify SimulateClearing supports multiple calls ([be5af7c](https://github.com/lithic-com/lithic-go/commit/be5af7c05e9876ca298bd5f7557960a63aa18d58))
* **api:** update category parameter description in external payment list ([b140a08](https://github.com/lithic-com/lithic-go/commit/b140a0824b51b1a08b28fd257457387fd93cc418))
* **api:** update max duration for velocity limit period in auth rule v2 ([7ceb706](https://github.com/lithic-com/lithic-go/commit/7ceb7065bc83e6f5c9413def796b4cdd76b8da63))
* **types:** clarify dispute event type descriptions ([0d4a3b0](https://github.com/lithic-com/lithic-go/commit/0d4a3b07a2c3d4c421411249326972cb75e83e61))

## 0.115.0 (2026-06-29)

Full Changelog: [v0.114.0...v0.115.0](https://github.com/lithic-com/lithic-go/compare/v0.114.0...v0.115.0)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Or to pin the version:
<!-- x-release-please-start-version -->

```sh
go get -u 'github.com/lithic-com/lithic-go@v0.115.0'
go get -u 'github.com/lithic-com/lithic-go@v0.116.0'
```

<!-- x-release-please-end -->
Expand Down
15 changes: 10 additions & 5 deletions accountactivity.go

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,12 @@ const FinancialEventTypeReturnedPaymentReversal = shared.FinancialEventTypeRetur
// This is an alias to an internal value.
const FinancialEventTypeLithicNetworkPayment = shared.FinancialEventTypeLithicNetworkPayment

// This is an alias to an internal value.
const FinancialEventTypeLithicProgramTransfer = shared.FinancialEventTypeLithicProgramTransfer

// This is an alias to an internal value.
const FinancialEventTypeBankProgramTransfer = shared.FinancialEventTypeBankProgramTransfer

// This is an alias to an internal value.
const FinancialEventTypeAnnual = shared.FinancialEventTypeAnnual

Expand Down
2 changes: 2 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -966,6 +966,8 @@ Response Types:
- <a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#DigitalWalletTokenizationUpdatedWebhookEvent">DigitalWalletTokenizationUpdatedWebhookEvent</a>
- <a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#DisputeUpdatedWebhookEvent">DisputeUpdatedWebhookEvent</a>
- <a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#DisputeEvidenceUploadFailedWebhookEvent">DisputeEvidenceUploadFailedWebhookEvent</a>
- <a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#EmbedSessionGeneratedWebhookEvent">EmbedSessionGeneratedWebhookEvent</a>
- <a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#EmbedViewedWebhookEvent">EmbedViewedWebhookEvent</a>
- <a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#ExternalBankAccountCreatedWebhookEvent">ExternalBankAccountCreatedWebhookEvent</a>
- <a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#ExternalBankAccountUpdatedWebhookEvent">ExternalBankAccountUpdatedWebhookEvent</a>
- <a href="https://pkg.go.dev/github.com/lithic-com/lithic-go">lithic</a>.<a href="https://pkg.go.dev/github.com/lithic-com/lithic-go#ExternalPaymentCreatedWebhookEvent">ExternalPaymentCreatedWebhookEvent</a>
Expand Down
8 changes: 4 additions & 4 deletions authrulev2.go
Original file line number Diff line number Diff line change
Expand Up @@ -7180,7 +7180,7 @@ type VelocityLimitPeriod struct {
// 7 is Sunday. Defaults to Monday if not specified.
DayOfWeek int64 `json:"day_of_week"`
// The size of the trailing window to calculate Spend Velocity over in seconds. The
// minimum value is 10 seconds, and the maximum value is 2678400 seconds (31 days).
// minimum value is 10 seconds, and the maximum value is 7776000 seconds (90 days).
Duration int64 `json:"duration"`
// The month to start from. 1 is January and 12 is December. Defaults to January if
// not specified.
Expand Down Expand Up @@ -7263,7 +7263,7 @@ func init() {

type VelocityLimitPeriodTrailingWindowObject struct {
// The size of the trailing window to calculate Spend Velocity over in seconds. The
// minimum value is 10 seconds, and the maximum value is 2678400 seconds (31 days).
// minimum value is 10 seconds, and the maximum value is 7776000 seconds (90 days).
Duration int64 `json:"duration" api:"required"`
Type VelocityLimitPeriodTrailingWindowObjectType `json:"type" api:"required"`
JSON velocityLimitPeriodTrailingWindowObjectJSON `json:"-"`
Expand Down Expand Up @@ -7505,7 +7505,7 @@ type VelocityLimitPeriodParam struct {
// 7 is Sunday. Defaults to Monday if not specified.
DayOfWeek param.Field[int64] `json:"day_of_week"`
// The size of the trailing window to calculate Spend Velocity over in seconds. The
// minimum value is 10 seconds, and the maximum value is 2678400 seconds (31 days).
// minimum value is 10 seconds, and the maximum value is 7776000 seconds (90 days).
Duration param.Field[int64] `json:"duration"`
// The month to start from. 1 is January and 12 is December. Defaults to January if
// not specified.
Expand All @@ -7531,7 +7531,7 @@ type VelocityLimitPeriodUnionParam interface {

type VelocityLimitPeriodTrailingWindowObjectParam struct {
// The size of the trailing window to calculate Spend Velocity over in seconds. The
// minimum value is 10 seconds, and the maximum value is 2678400 seconds (31 days).
// minimum value is 10 seconds, and the maximum value is 7776000 seconds (90 days).
Duration param.Field[int64] `json:"duration" api:"required"`
Type param.Field[VelocityLimitPeriodTrailingWindowObjectType] `json:"type" api:"required"`
}
Expand Down
Loading
Loading