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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.1.0-alpha.41"
".": "0.1.0-alpha.42"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 169
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-117e0ee9b030a2efc3b09e189e445fb1a26fd32f1c563f385b9d7071a959c550.yml
openapi_spec_hash: e529a3fa8c3a79d3664db391683334c3
config_hash: 22e4b128e110e2767daa9d95428ebf9d
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-1d44bb7fad99487af1161eb24dfd5369440eda7e80ed237cbc1acc6802a7d212.yml
openapi_spec_hash: 1b6b6215b60094b76b91c56b925a251a
config_hash: ac676e77c8ca051c7aad978c26e96345
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.1.0-alpha.42 (2025-09-09)

Full Changelog: [v0.1.0-alpha.41...v0.1.0-alpha.42](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.41...v0.1.0-alpha.42)

### Features

* **api:** adds support for unpauseing external bank accounts ([ad64d5d](https://github.com/lithic-com/lithic-ruby/commit/ad64d5d1cbd89b6d908f6a414b80004de94cb168))

## 0.1.0-alpha.41 (2025-09-03)

Full Changelog: [v0.1.0-alpha.40...v0.1.0-alpha.41](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.40...v0.1.0-alpha.41)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
lithic (0.1.0.pre.alpha.41)
lithic (0.1.0.pre.alpha.42)
connection_pool

GEM
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "lithic", "~> 0.1.0.pre.alpha.41"
gem "lithic", "~> 0.1.0.pre.alpha.42"
```

<!-- x-release-please-end -->
Expand Down
18 changes: 10 additions & 8 deletions lib/lithic/models/account_activity_list_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ class AccountActivityListParams < Lithic::Internal::Type::BaseModel
# @!attribute result
# Filter by transaction result
#
# @return [Array<Symbol, Lithic::Models::AccountActivityListParams::Result>, nil]
optional :result, -> { Lithic::Internal::Type::ArrayOf[enum: Lithic::AccountActivityListParams::Result] }
# @return [Symbol, Lithic::Models::AccountActivityListParams::Result, nil]
optional :result, enum: -> { Lithic::AccountActivityListParams::Result }

# @!attribute starting_after
# A cursor representing an item's token after which a page of results should
Expand All @@ -74,8 +74,8 @@ class AccountActivityListParams < Lithic::Internal::Type::BaseModel
# @!attribute status
# Filter by transaction status
#
# @return [Array<Symbol, Lithic::Models::AccountActivityListParams::Status>, nil]
optional :status, -> { Lithic::Internal::Type::ArrayOf[enum: Lithic::AccountActivityListParams::Status] }
# @return [Symbol, Lithic::Models::AccountActivityListParams::Status, nil]
optional :status, enum: -> { Lithic::AccountActivityListParams::Status }

# @!method initialize(account_token: nil, begin_: nil, business_account_token: nil, category: nil, end_: nil, ending_before: nil, financial_account_token: nil, page_size: nil, result: nil, starting_after: nil, status: nil, request_options: {})
# Some parameter documentations has been truncated, see
Expand All @@ -97,11 +97,11 @@ class AccountActivityListParams < Lithic::Internal::Type::BaseModel
#
# @param page_size [Integer] Page size (for pagination).
#
# @param result [Array<Symbol, Lithic::Models::AccountActivityListParams::Result>] Filter by transaction result
# @param result [Symbol, Lithic::Models::AccountActivityListParams::Result] Filter by transaction result
#
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
#
# @param status [Array<Symbol, Lithic::Models::AccountActivityListParams::Status>] Filter by transaction status
# @param status [Symbol, Lithic::Models::AccountActivityListParams::Status] Filter by transaction status
#
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]

Expand All @@ -127,6 +127,7 @@ module Category
# @return [Array<Symbol>]
end

# Filter by transaction result
module Result
extend Lithic::Internal::Type::Enum

Expand All @@ -137,16 +138,17 @@ module Result
# @return [Array<Symbol>]
end

# Filter by transaction status
module Status
extend Lithic::Internal::Type::Enum

DECLINED = :DECLINED
EXPIRED = :EXPIRED
PENDING = :PENDING
SETTLED = :SETTLED
VOIDED = :VOIDED
RETURNED = :RETURNED
REVERSED = :REVERSED
SETTLED = :SETTLED
VOIDED = :VOIDED

# @!method self.values
# @return [Array<Symbol>]
Expand Down
18 changes: 13 additions & 5 deletions lib/lithic/models/auth_rules/v2_apply_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@ class V2ApplyParams < Lithic::Internal::Type::BaseModel
# @!attribute account_tokens
# Account tokens to which the Auth Rule applies.
#
# @return [Array<String>]
required :account_tokens, Lithic::Internal::Type::ArrayOf[String]
# @return [Array<String>, nil]
optional :account_tokens, Lithic::Internal::Type::ArrayOf[String]

# @!attribute business_account_tokens
# Business Account tokens to which the Auth Rule applies.
#
# @return [Array<String>, nil]
optional :business_account_tokens, Lithic::Internal::Type::ArrayOf[String]

# @!attribute card_tokens
# Card tokens to which the Auth Rule applies.
Expand All @@ -32,13 +38,15 @@ class V2ApplyParams < Lithic::Internal::Type::BaseModel
# @return [Array<String>, nil]
optional :excluded_card_tokens, Lithic::Internal::Type::ArrayOf[String]

# @!method initialize(account_tokens:, card_tokens:, program_level:, excluded_card_tokens: nil, request_options: {})
# @param account_tokens [Array<String>] Account tokens to which the Auth Rule applies.
#
# @!method initialize(card_tokens:, program_level:, account_tokens: nil, business_account_tokens: nil, excluded_card_tokens: nil, request_options: {})
# @param card_tokens [Array<String>] Card tokens to which the Auth Rule applies.
#
# @param program_level [Boolean] Whether the Auth Rule applies to all authorizations on the card program.
#
# @param account_tokens [Array<String>] Account tokens to which the Auth Rule applies.
#
# @param business_account_tokens [Array<String>] Business Account tokens to which the Auth Rule applies.
#
# @param excluded_card_tokens [Array<String>] Card tokens to which the Auth Rule does not apply.
#
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
Expand Down
Loading