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.38"
".": "0.1.0-alpha.39"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 165
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-80f2056989855259782c8e23b9b95530b708b87669d2ba82594ecfee843b4db3.yml
openapi_spec_hash: 160aa2f0e95a7be3ad9d68390ae9aa7c
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-1aaf1d9d9aea1bfa14a48559f01d539aa1449d65f252dc9c3b606c7bca300af1.yml
openapi_spec_hash: 3327246caf3bcbd3504ce99c81062075
config_hash: a5d12cd64a37624cbe350cd7b2380693
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.1.0-alpha.39 (2025-07-03)

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

### Features

* **api:** api update ([c096398](https://github.com/lithic-com/lithic-ruby/commit/c0963987f272b3c94603f5072a0e480b06d99a02))
* **api:** api update ([d85ee36](https://github.com/lithic-com/lithic-ruby/commit/d85ee366181cd1d8c2530049d4bf13bfd8f22d19))

## 0.1.0-alpha.38 (2025-07-02)

Full Changelog: [v0.1.0-alpha.37...v0.1.0-alpha.38](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.37...v0.1.0-alpha.38)
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.38)
lithic (0.1.0.pre.alpha.39)
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.38"
gem "lithic", "~> 0.1.0.pre.alpha.39"
```

<!-- x-release-please-end -->
Expand Down
2 changes: 2 additions & 0 deletions lib/lithic/models/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ module EventType
LOAN_TAPE_UPDATED = :"loan_tape.updated"
MANAGEMENT_OPERATION_CREATED = :"management_operation.created"
MANAGEMENT_OPERATION_UPDATED = :"management_operation.updated"
NETWORK_TOTAL_CREATED = :"network_total.created"
NETWORK_TOTAL_UPDATED = :"network_total.updated"
PAYMENT_TRANSACTION_CREATED = :"payment_transaction.created"
PAYMENT_TRANSACTION_UPDATED = :"payment_transaction.updated"
INTERNAL_TRANSACTION_CREATED = :"internal_transaction.created"
Expand Down
2 changes: 2 additions & 0 deletions lib/lithic/models/event_list_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ module EventType
LOAN_TAPE_UPDATED = :"loan_tape.updated"
MANAGEMENT_OPERATION_CREATED = :"management_operation.created"
MANAGEMENT_OPERATION_UPDATED = :"management_operation.updated"
NETWORK_TOTAL_CREATED = :"network_total.created"
NETWORK_TOTAL_UPDATED = :"network_total.updated"
PAYMENT_TRANSACTION_CREATED = :"payment_transaction.created"
PAYMENT_TRANSACTION_UPDATED = :"payment_transaction.updated"
INTERNAL_TRANSACTION_CREATED = :"internal_transaction.created"
Expand Down
2 changes: 2 additions & 0 deletions lib/lithic/models/event_subscription.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ module EventType
LOAN_TAPE_UPDATED = :"loan_tape.updated"
MANAGEMENT_OPERATION_CREATED = :"management_operation.created"
MANAGEMENT_OPERATION_UPDATED = :"management_operation.updated"
NETWORK_TOTAL_CREATED = :"network_total.created"
NETWORK_TOTAL_UPDATED = :"network_total.updated"
PAYMENT_TRANSACTION_CREATED = :"payment_transaction.created"
PAYMENT_TRANSACTION_UPDATED = :"payment_transaction.updated"
INTERNAL_TRANSACTION_CREATED = :"internal_transaction.created"
Expand Down
2 changes: 2 additions & 0 deletions lib/lithic/models/events/subscription_create_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ module EventType
LOAN_TAPE_UPDATED = :"loan_tape.updated"
MANAGEMENT_OPERATION_CREATED = :"management_operation.created"
MANAGEMENT_OPERATION_UPDATED = :"management_operation.updated"
NETWORK_TOTAL_CREATED = :"network_total.created"
NETWORK_TOTAL_UPDATED = :"network_total.updated"
PAYMENT_TRANSACTION_CREATED = :"payment_transaction.created"
PAYMENT_TRANSACTION_UPDATED = :"payment_transaction.updated"
INTERNAL_TRANSACTION_CREATED = :"internal_transaction.created"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ module EventType
LOAN_TAPE_UPDATED = :"loan_tape.updated"
MANAGEMENT_OPERATION_CREATED = :"management_operation.created"
MANAGEMENT_OPERATION_UPDATED = :"management_operation.updated"
NETWORK_TOTAL_CREATED = :"network_total.created"
NETWORK_TOTAL_UPDATED = :"network_total.updated"
PAYMENT_TRANSACTION_CREATED = :"payment_transaction.created"
PAYMENT_TRANSACTION_UPDATED = :"payment_transaction.updated"
INTERNAL_TRANSACTION_CREATED = :"internal_transaction.created"
Expand Down
2 changes: 2 additions & 0 deletions lib/lithic/models/events/subscription_update_params.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ module EventType
LOAN_TAPE_UPDATED = :"loan_tape.updated"
MANAGEMENT_OPERATION_CREATED = :"management_operation.created"
MANAGEMENT_OPERATION_UPDATED = :"management_operation.updated"
NETWORK_TOTAL_CREATED = :"network_total.created"
NETWORK_TOTAL_UPDATED = :"network_total.updated"
PAYMENT_TRANSACTION_CREATED = :"payment_transaction.created"
PAYMENT_TRANSACTION_UPDATED = :"payment_transaction.updated"
INTERNAL_TRANSACTION_CREATED = :"internal_transaction.created"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,16 @@ class NetworkTotalListResponse < Lithic::Internal::Type::BaseModel
# @return [String]
required :institution_id, String

# @!attribute is_complete
# Indicates that all settlement records related to this Network Total are
# available in the details endpoint.
#
# @return [Boolean]
required :is_complete, Lithic::Internal::Type::Boolean

# @!attribute network
# Card network where the transaction took place. VISA, MASTERCARD, MAESTRO, or
# INTERLINK.
# Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
# or INTERLINK.
#
# @return [Symbol, Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network]
required :network, enum: -> { Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network }
Expand Down Expand Up @@ -76,7 +83,7 @@ class NetworkTotalListResponse < Lithic::Internal::Type::BaseModel
# @return [Integer, nil]
optional :cycle, Integer

# @!method initialize(token:, amounts:, created:, currency:, institution_id:, network:, report_date:, settlement_institution_id:, settlement_service:, updated:, cycle: nil)
# @!method initialize(token:, amounts:, created:, currency:, institution_id:, is_complete:, network:, report_date:, settlement_institution_id:, settlement_service:, updated:, cycle: nil)
# Some parameter documentations has been truncated, see
# {Lithic::Models::Reports::Settlement::NetworkTotalListResponse} for more
# details.
Expand All @@ -91,7 +98,9 @@ class NetworkTotalListResponse < Lithic::Internal::Type::BaseModel
#
# @param institution_id [String] The institution that activity occurred on. For Mastercard: ICA (Interbank Card A
#
# @param network [Symbol, Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network] Card network where the transaction took place. VISA, MASTERCARD, MAESTRO, or INT
# @param is_complete [Boolean] Indicates that all settlement records related to this Network Total are availabl
#
# @param network [Symbol, Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network] Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
#
# @param report_date [Date] Date that the network total record applies to. YYYY-MM-DD format.
#
Expand Down Expand Up @@ -144,13 +153,14 @@ class Amounts < Lithic::Internal::Type::BaseModel
# @param visa_charges [Integer] Charges specific to Visa/Interlink, in currency's smallest unit.
end

# Card network where the transaction took place. VISA, MASTERCARD, MAESTRO, or
# INTERLINK.
# Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
# or INTERLINK.
#
# @see Lithic::Models::Reports::Settlement::NetworkTotalListResponse#network
module Network
extend Lithic::Internal::Type::Enum

AMEX = :AMEX
VISA = :VISA
MASTERCARD = :MASTERCARD
MAESTRO = :MAESTRO
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,16 @@ class NetworkTotalRetrieveResponse < Lithic::Internal::Type::BaseModel
# @return [String]
required :institution_id, String

# @!attribute is_complete
# Indicates that all settlement records related to this Network Total are
# available in the details endpoint.
#
# @return [Boolean]
required :is_complete, Lithic::Internal::Type::Boolean

# @!attribute network
# Card network where the transaction took place. VISA, MASTERCARD, MAESTRO, or
# INTERLINK.
# Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
# or INTERLINK.
#
# @return [Symbol, Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse::Network]
required :network, enum: -> { Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse::Network }
Expand Down Expand Up @@ -76,7 +83,7 @@ class NetworkTotalRetrieveResponse < Lithic::Internal::Type::BaseModel
# @return [Integer, nil]
optional :cycle, Integer

# @!method initialize(token:, amounts:, created:, currency:, institution_id:, network:, report_date:, settlement_institution_id:, settlement_service:, updated:, cycle: nil)
# @!method initialize(token:, amounts:, created:, currency:, institution_id:, is_complete:, network:, report_date:, settlement_institution_id:, settlement_service:, updated:, cycle: nil)
# Some parameter documentations has been truncated, see
# {Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse} for more
# details.
Expand All @@ -91,7 +98,9 @@ class NetworkTotalRetrieveResponse < Lithic::Internal::Type::BaseModel
#
# @param institution_id [String] The institution that activity occurred on. For Mastercard: ICA (Interbank Card A
#
# @param network [Symbol, Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse::Network] Card network where the transaction took place. VISA, MASTERCARD, MAESTRO, or INT
# @param is_complete [Boolean] Indicates that all settlement records related to this Network Total are availabl
#
# @param network [Symbol, Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse::Network] Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
#
# @param report_date [Date] Date that the network total record applies to. YYYY-MM-DD format.
#
Expand Down Expand Up @@ -144,13 +153,14 @@ class Amounts < Lithic::Internal::Type::BaseModel
# @param visa_charges [Integer] Charges specific to Visa/Interlink, in currency's smallest unit.
end

# Card network where the transaction took place. VISA, MASTERCARD, MAESTRO, or
# INTERLINK.
# Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
# or INTERLINK.
#
# @see Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse#network
module Network
extend Lithic::Internal::Type::Enum

AMEX = :AMEX
VISA = :VISA
MASTERCARD = :MASTERCARD
MAESTRO = :MAESTRO
Expand Down
2 changes: 1 addition & 1 deletion lib/lithic/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Lithic
VERSION = "0.1.0.pre.alpha.38"
VERSION = "0.1.0.pre.alpha.39"
end
10 changes: 10 additions & 0 deletions rbi/lithic/models/event.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,16 @@ module Lithic
:"management_operation.updated",
Lithic::Event::EventType::TaggedSymbol
)
NETWORK_TOTAL_CREATED =
T.let(
:"network_total.created",
Lithic::Event::EventType::TaggedSymbol
)
NETWORK_TOTAL_UPDATED =
T.let(
:"network_total.updated",
Lithic::Event::EventType::TaggedSymbol
)
PAYMENT_TRANSACTION_CREATED =
T.let(
:"payment_transaction.created",
Expand Down
10 changes: 10 additions & 0 deletions rbi/lithic/models/event_list_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,16 @@ module Lithic
:"management_operation.updated",
Lithic::EventListParams::EventType::TaggedSymbol
)
NETWORK_TOTAL_CREATED =
T.let(
:"network_total.created",
Lithic::EventListParams::EventType::TaggedSymbol
)
NETWORK_TOTAL_UPDATED =
T.let(
:"network_total.updated",
Lithic::EventListParams::EventType::TaggedSymbol
)
PAYMENT_TRANSACTION_CREATED =
T.let(
:"payment_transaction.created",
Expand Down
10 changes: 10 additions & 0 deletions rbi/lithic/models/event_subscription.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,16 @@ module Lithic
:"management_operation.updated",
Lithic::EventSubscription::EventType::TaggedSymbol
)
NETWORK_TOTAL_CREATED =
T.let(
:"network_total.created",
Lithic::EventSubscription::EventType::TaggedSymbol
)
NETWORK_TOTAL_UPDATED =
T.let(
:"network_total.updated",
Lithic::EventSubscription::EventType::TaggedSymbol
)
PAYMENT_TRANSACTION_CREATED =
T.let(
:"payment_transaction.created",
Expand Down
10 changes: 10 additions & 0 deletions rbi/lithic/models/events/subscription_create_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,16 @@ module Lithic
:"management_operation.updated",
Lithic::Events::SubscriptionCreateParams::EventType::TaggedSymbol
)
NETWORK_TOTAL_CREATED =
T.let(
:"network_total.created",
Lithic::Events::SubscriptionCreateParams::EventType::TaggedSymbol
)
NETWORK_TOTAL_UPDATED =
T.let(
:"network_total.updated",
Lithic::Events::SubscriptionCreateParams::EventType::TaggedSymbol
)
PAYMENT_TRANSACTION_CREATED =
T.let(
:"payment_transaction.created",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,16 @@ module Lithic
:"management_operation.updated",
Lithic::Events::SubscriptionSendSimulatedExampleParams::EventType::TaggedSymbol
)
NETWORK_TOTAL_CREATED =
T.let(
:"network_total.created",
Lithic::Events::SubscriptionSendSimulatedExampleParams::EventType::TaggedSymbol
)
NETWORK_TOTAL_UPDATED =
T.let(
:"network_total.updated",
Lithic::Events::SubscriptionSendSimulatedExampleParams::EventType::TaggedSymbol
)
PAYMENT_TRANSACTION_CREATED =
T.let(
:"payment_transaction.created",
Expand Down
10 changes: 10 additions & 0 deletions rbi/lithic/models/events/subscription_update_params.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,16 @@ module Lithic
:"management_operation.updated",
Lithic::Events::SubscriptionUpdateParams::EventType::TaggedSymbol
)
NETWORK_TOTAL_CREATED =
T.let(
:"network_total.created",
Lithic::Events::SubscriptionUpdateParams::EventType::TaggedSymbol
)
NETWORK_TOTAL_UPDATED =
T.let(
:"network_total.updated",
Lithic::Events::SubscriptionUpdateParams::EventType::TaggedSymbol
)
PAYMENT_TRANSACTION_CREATED =
T.let(
:"payment_transaction.created",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,13 @@ module Lithic
sig { returns(String) }
attr_accessor :institution_id

# Card network where the transaction took place. VISA, MASTERCARD, MAESTRO, or
# INTERLINK.
# Indicates that all settlement records related to this Network Total are
# available in the details endpoint.
sig { returns(T::Boolean) }
attr_accessor :is_complete

# Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
# or INTERLINK.
sig do
returns(
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network::TaggedSymbol
Expand Down Expand Up @@ -88,6 +93,7 @@ module Lithic
created: Time,
currency: String,
institution_id: String,
is_complete: T::Boolean,
network:
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network::OrSymbol,
report_date: Date,
Expand All @@ -109,8 +115,11 @@ module Lithic
# Association). For Maestro: institution ID. For Visa: lowest level SRE
# (Settlement Reporting Entity).
institution_id:,
# Card network where the transaction took place. VISA, MASTERCARD, MAESTRO, or
# INTERLINK.
# Indicates that all settlement records related to this Network Total are
# available in the details endpoint.
is_complete:,
# Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
# or INTERLINK.
network:,
# Date that the network total record applies to. YYYY-MM-DD format.
report_date:,
Expand All @@ -136,6 +145,7 @@ module Lithic
created: Time,
currency: String,
institution_id: String,
is_complete: T::Boolean,
network:
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network::TaggedSymbol,
report_date: Date,
Expand Down Expand Up @@ -213,8 +223,8 @@ module Lithic
end
end

# Card network where the transaction took place. VISA, MASTERCARD, MAESTRO, or
# INTERLINK.
# Card network where the transaction took place. AMEX, VISA, MASTERCARD, MAESTRO,
# or INTERLINK.
module Network
extend Lithic::Internal::Type::Enum

Expand All @@ -227,6 +237,11 @@ module Lithic
end
OrSymbol = T.type_alias { T.any(Symbol, String) }

AMEX =
T.let(
:AMEX,
Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network::TaggedSymbol
)
VISA =
T.let(
:VISA,
Expand Down
Loading