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
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.15.0"
".": "0.16.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 195
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-efe780032e44b3cf0f6914407e43bce6aa7176fa50aa6ec018f93c1f28af8490.yml
openapi_spec_hash: fcb4ca53ca59978f23f21d7c74fcc0b0
config_hash: a0a579b0564a5c18568a78f5ba2b6653
configured_endpoints: 213
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic/lithic-65a6644277529a38afcac424d99d87cbfa4d8294423ad618dbbd875634ec1d3c.yml
openapi_spec_hash: 6f3c1bb6a70830afb8af1dacd6352a97
config_hash: 126e04f676f61e5871a82889336dbf9d
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Changelog

## 0.16.0 (2026-06-10)

Full Changelog: [v0.15.0...v0.16.0](https://github.com/lithic-com/lithic-ruby/compare/v0.15.0...v0.16.0)

### Features

* **api:** Add created field to Challenge object ([e442303](https://github.com/lithic-com/lithic-ruby/commit/e44230324af07930c8cc84b3035677df54bc031f))
* **api:** add day_of_period field to loan_tape ([71ab28b](https://github.com/lithic-com/lithic-ruby/commit/71ab28b5af8e6118b2133bc8ed190520b6be2396))
* **api:** add hold_adjustment_action variant to auth_rules action parameter ([bae640f](https://github.com/lithic-com/lithic-ruby/commit/bae640faf01eef0b956cb24eaa73f92c40536082))
* **api:** add NVS name_validation fields to ASA request and response ([5747fda](https://github.com/lithic-com/lithic-ruby/commit/5747fda7c1065d257bc60d03e770f66be8677d48))
* **api:** add transaction_monitoring with cases/comments/files/queues, refactor entity_type ([37af713](https://github.com/lithic-com/lithic-ruby/commit/37af713a243f3380aea47019af34fe1d698bae35))


### Documentation

* **api:** update support contact from email to URL in account/card resources ([bd7f679](https://github.com/lithic-com/lithic-ruby/commit/bd7f67927187e7daa99059f5e9190c1df79424c3))

## 0.15.0 (2026-05-27)

Full Changelog: [v0.14.0...v0.15.0](https://github.com/lithic-com/lithic-ruby/compare/v0.14.0...v0.15.0)
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.15.0)
lithic (0.16.0)
cgi
connection_pool

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

```ruby
gem "lithic", "~> 0.15.0"
gem "lithic", "~> 0.16.0"
```

<!-- x-release-please-end -->
Expand Down
39 changes: 39 additions & 0 deletions lib/lithic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,40 @@
require_relative "lithic/models/token_metadata"
require_relative "lithic/models/transaction_expire_authorization_params"
require_relative "lithic/models/transaction_list_params"
require_relative "lithic/models/transaction_monitoring/case_activity_entry"
require_relative "lithic/models/transaction_monitoring/case_activity_type"
require_relative "lithic/models/transaction_monitoring/case_card"
require_relative "lithic/models/transaction_monitoring/case_entity"
require_relative "lithic/models/transaction_monitoring/case_list_activity_params"
require_relative "lithic/models/transaction_monitoring/case_list_params"
require_relative "lithic/models/transaction_monitoring/case_list_transactions_params"
require_relative "lithic/models/transaction_monitoring/case_priority"
require_relative "lithic/models/transaction_monitoring/case_retrieve_cards_params"
require_relative "lithic/models/transaction_monitoring/case_retrieve_cards_response"
require_relative "lithic/models/transaction_monitoring/case_retrieve_params"
require_relative "lithic/models/transaction_monitoring/cases/case_file"
require_relative "lithic/models/transaction_monitoring/cases/comment_create_params"
require_relative "lithic/models/transaction_monitoring/cases/comment_delete_params"
require_relative "lithic/models/transaction_monitoring/cases/comment_update_params"
require_relative "lithic/models/transaction_monitoring/cases/file_create_params"
require_relative "lithic/models/transaction_monitoring/cases/file_delete_params"
require_relative "lithic/models/transaction_monitoring/cases/file_list_params"
require_relative "lithic/models/transaction_monitoring/cases/file_retrieve_params"
require_relative "lithic/models/transaction_monitoring/cases/file_status"
require_relative "lithic/models/transaction_monitoring/cases/upload_constraints"
require_relative "lithic/models/transaction_monitoring/case_sort_order"
require_relative "lithic/models/transaction_monitoring/case_status"
require_relative "lithic/models/transaction_monitoring/case_transaction"
require_relative "lithic/models/transaction_monitoring/case_update_params"
require_relative "lithic/models/transaction_monitoring/entity_type"
require_relative "lithic/models/transaction_monitoring/monitoring_case"
require_relative "lithic/models/transaction_monitoring/queue"
require_relative "lithic/models/transaction_monitoring/queue_create_params"
require_relative "lithic/models/transaction_monitoring/queue_delete_params"
require_relative "lithic/models/transaction_monitoring/queue_list_params"
require_relative "lithic/models/transaction_monitoring/queue_retrieve_params"
require_relative "lithic/models/transaction_monitoring/queue_update_params"
require_relative "lithic/models/transaction_monitoring/resolution_outcome"
require_relative "lithic/models/transaction_retrieve_params"
require_relative "lithic/models/transactions/enhanced_commercial_data_retrieve_params"
require_relative "lithic/models/transactions/enhanced_commercial_data_retrieve_response"
Expand Down Expand Up @@ -525,6 +559,11 @@
require_relative "lithic/resources/three_ds/decisioning"
require_relative "lithic/resources/tokenization_decisioning"
require_relative "lithic/resources/tokenizations"
require_relative "lithic/resources/transaction_monitoring"
require_relative "lithic/resources/transaction_monitoring/cases"
require_relative "lithic/resources/transaction_monitoring/cases/comments"
require_relative "lithic/resources/transaction_monitoring/cases/files"
require_relative "lithic/resources/transaction_monitoring/queues"
require_relative "lithic/resources/transactions"
require_relative "lithic/resources/transactions/enhanced_commercial_data"
require_relative "lithic/resources/transactions/events"
Expand Down
4 changes: 4 additions & 0 deletions lib/lithic/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ class Client < Lithic::Internal::Transport::BaseClient
# @return [Lithic::Resources::AuthRules]
attr_reader :auth_rules

# @return [Lithic::Resources::TransactionMonitoring]
attr_reader :transaction_monitoring

# @return [Lithic::Resources::AuthStreamEnrollment]
attr_reader :auth_stream_enrollment

Expand Down Expand Up @@ -221,6 +224,7 @@ def initialize(
@accounts = Lithic::Resources::Accounts.new(client: self)
@account_holders = Lithic::Resources::AccountHolders.new(client: self)
@auth_rules = Lithic::Resources::AuthRules.new(client: self)
@transaction_monitoring = Lithic::Resources::TransactionMonitoring.new(client: self)
@auth_stream_enrollment = Lithic::Resources::AuthStreamEnrollment.new(client: self)
@tokenization_decisioning = Lithic::Resources::TokenizationDecisioning.new(client: self)
@tokenizations = Lithic::Resources::Tokenizations.new(client: self)
Expand Down
2 changes: 2 additions & 0 deletions lib/lithic/models.rb
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,8 @@ module Lithic

TransactionListParams = Lithic::Models::TransactionListParams

TransactionMonitoring = Lithic::Models::TransactionMonitoring

TransactionRetrieveParams = Lithic::Models::TransactionRetrieveParams

Transactions = Lithic::Models::Transactions
Expand Down
4 changes: 2 additions & 2 deletions lib/lithic/models/account.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Account < Lithic::Internal::Type::BaseModel
# accounts are unable to be transitioned to `ACTIVE` or `PAUSED` states.
# Accounts can be manually set to `CLOSED`, or this can be done by Lithic due to
# failure to pass KYB/KYC or for risk/compliance reasons. Please contact
# [support@lithic.com](mailto:support@lithic.com) if you believe this was done
# [support.lithic.com](https://support.lithic.com/) if you believe this was done
# by mistake.
#
# @return [Symbol, Lithic::Models::Account::State]
Expand Down Expand Up @@ -177,7 +177,7 @@ class SpendLimit < Lithic::Internal::Type::BaseModel
# accounts are unable to be transitioned to `ACTIVE` or `PAUSED` states.
# Accounts can be manually set to `CLOSED`, or this can be done by Lithic due to
# failure to pass KYB/KYC or for risk/compliance reasons. Please contact
# [support@lithic.com](mailto:support@lithic.com) if you believe this was done
# [support.lithic.com](https://support.lithic.com/) if you believe this was done
# by mistake.
#
# @see Lithic::Models::Account#state
Expand Down
19 changes: 3 additions & 16 deletions lib/lithic/models/account_holders/account_holder_entity.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ class AccountHolderEntity < Lithic::Internal::Type::BaseModel
# @!attribute type
# The type of entity
#
# @return [Symbol, Lithic::Models::AccountHolders::AccountHolderEntity::Type]
required :type, enum: -> { Lithic::AccountHolders::AccountHolderEntity::Type }
# @return [Symbol, Lithic::Models::TransactionMonitoring::EntityType]
required :type, enum: -> { Lithic::TransactionMonitoring::EntityType }

# @!method initialize(token:, account_holder_token:, address:, dob:, email:, first_name:, last_name:, phone_number:, status:, type:)
# Information about an entity associated with an account holder
Expand All @@ -86,7 +86,7 @@ class AccountHolderEntity < Lithic::Internal::Type::BaseModel
#
# @param status [Symbol, Lithic::Models::AccountHolders::AccountHolderEntity::Status] The status of the entity
#
# @param type [Symbol, Lithic::Models::AccountHolders::AccountHolderEntity::Type] The type of entity
# @param type [Symbol, Lithic::Models::TransactionMonitoring::EntityType] The type of entity

# @see Lithic::Models::AccountHolders::AccountHolderEntity#address
class Address < Lithic::Internal::Type::BaseModel
Expand Down Expand Up @@ -162,19 +162,6 @@ module Status
# @!method self.values
# @return [Array<Symbol>]
end

# The type of entity
#
# @see Lithic::Models::AccountHolders::AccountHolderEntity#type
module Type
extend Lithic::Internal::Type::Enum

BENEFICIAL_OWNER_INDIVIDUAL = :BENEFICIAL_OWNER_INDIVIDUAL
CONTROL_PERSON = :CONTROL_PERSON

# @!method self.values
# @return [Array<Symbol>]
end
end
end

Expand Down
17 changes: 3 additions & 14 deletions lib/lithic/models/account_holders/entity_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ class EntityCreateParams < Lithic::Internal::Type::BaseModel
# @!attribute type
# The type of entity to create on the account holder
#
# @return [Symbol, Lithic::Models::AccountHolders::EntityCreateParams::Type]
required :type, enum: -> { Lithic::AccountHolders::EntityCreateParams::Type }
# @return [Symbol, Lithic::Models::TransactionMonitoring::EntityType]
required :type, enum: -> { Lithic::TransactionMonitoring::EntityType }

# @!method initialize(account_holder_token:, address:, dob:, email:, first_name:, government_id:, last_name:, phone_number:, type:, request_options: {})
# Some parameter documentations has been truncated, see
Expand All @@ -86,7 +86,7 @@ class EntityCreateParams < Lithic::Internal::Type::BaseModel
#
# @param phone_number [String] Individual's phone number, entered in E.164 format.
#
# @param type [Symbol, Lithic::Models::AccountHolders::EntityCreateParams::Type] The type of entity to create on the account holder
# @param type [Symbol, Lithic::Models::TransactionMonitoring::EntityType] The type of entity to create on the account holder
#
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]

Expand Down Expand Up @@ -149,17 +149,6 @@ class Address < Lithic::Internal::Type::BaseModel
#
# @param address2 [String] Unit or apartment number (if applicable).
end

# The type of entity to create on the account holder
module Type
extend Lithic::Internal::Type::Enum

BENEFICIAL_OWNER_INDIVIDUAL = :BENEFICIAL_OWNER_INDIVIDUAL
CONTROL_PERSON = :CONTROL_PERSON

# @!method self.values
# @return [Array<Symbol>]
end
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,25 @@ module Lithic
module Models
module AuthRules
class ConditionalAuthorizationAdjustmentParameters < Lithic::Internal::Type::BaseModel
# @!attribute adjustment
# The hold adjustment to apply if the conditions are met
# @!attribute action
# The hold adjustment to apply if the conditions are met.
#
# @return [Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters::Adjustment]
required :adjustment, -> { Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters::Adjustment }
# @return [Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters::Action]
required :action, -> { Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters::Action }

# @!attribute conditions
#
# @return [Array<Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters::Condition>]
required :conditions,
-> { Lithic::Internal::Type::ArrayOf[Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters::Condition] }

# @!method initialize(adjustment:, conditions:)
# @param adjustment [Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters::Adjustment] The hold adjustment to apply if the conditions are met
# @!method initialize(action:, conditions:)
# @param action [Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters::Action] The hold adjustment to apply if the conditions are met.
#
# @param conditions [Array<Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters::Condition>]

# @see Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters#adjustment
class Adjustment < Lithic::Internal::Type::BaseModel
# @see Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters#action
class Action < Lithic::Internal::Type::BaseModel
# @!attribute mode
# The mode of the hold adjustment, determining how the value is interpreted:
#
Expand All @@ -31,16 +31,14 @@ class Adjustment < Lithic::Internal::Type::BaseModel
# represents a 10% increase, 0 represents no change.
# - `ADD_AMOUNT`: The value is added to the hold amount in cents.
#
# @return [Symbol, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters::Adjustment::Mode]
required :mode,
enum: -> { Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters::Adjustment::Mode }
# @return [Symbol, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters::Action::Mode]
required :mode, enum: -> { Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters::Action::Mode }

# @!attribute type
# The type of adjustment to apply
#
# @return [Symbol, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters::Adjustment::Type]
required :type,
enum: -> { Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters::Adjustment::Type }
# @return [Symbol, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters::Action::Type]
required :type, enum: -> { Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters::Action::Type }

# @!attribute value
# The value used for the hold adjustment, interpreted based on the mode
Expand All @@ -50,14 +48,14 @@ class Adjustment < Lithic::Internal::Type::BaseModel

# @!method initialize(mode:, type:, value:)
# Some parameter documentations has been truncated, see
# {Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters::Adjustment}
# {Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters::Action}
# for more details.
#
# The hold adjustment to apply if the conditions are met
# The hold adjustment to apply if the conditions are met.
#
# @param mode [Symbol, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters::Adjustment::Mode] The mode of the hold adjustment, determining how the value is interpreted:
# @param mode [Symbol, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters::Action::Mode] The mode of the hold adjustment, determining how the value is interpreted:
#
# @param type [Symbol, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters::Adjustment::Type] The type of adjustment to apply
# @param type [Symbol, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters::Action::Type] The type of adjustment to apply
#
# @param value [Integer] The value used for the hold adjustment, interpreted based on the mode

Expand All @@ -68,7 +66,7 @@ class Adjustment < Lithic::Internal::Type::BaseModel
# represents a 10% increase, 0 represents no change.
# - `ADD_AMOUNT`: The value is added to the hold amount in cents.
#
# @see Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters::Adjustment#mode
# @see Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters::Action#mode
module Mode
extend Lithic::Internal::Type::Enum

Expand All @@ -82,7 +80,7 @@ module Mode

# The type of adjustment to apply
#
# @see Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters::Adjustment#type
# @see Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters::Action#type
module Type
extend Lithic::Internal::Type::Enum

Expand Down
2 changes: 1 addition & 1 deletion lib/lithic/models/card.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Card < Lithic::Models::NonPCICard
# @!attribute pan
# Primary Account Number (PAN) (i.e. the card number). Customers must be PCI
# compliant to have PAN returned as a field in production. Please contact
# support@lithic.com for questions.
# https://support.lithic.com/ for questions.
#
# @return [String, nil]
optional :pan, String
Expand Down
Loading