Skip to content

Commit 0981679

Browse files
feat(api): manual updates
1 parent eedebc1 commit 0981679

34 files changed

Lines changed: 365 additions & 31 deletions

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 157
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-8469aee20249c9dcb2b57796df62fd39d2c14668a6853476b6c1bab9c80a4e4c.yml
3-
openapi_spec_hash: 3339f9fd912f2eb8ba5efc3c73f5d030
4-
config_hash: 620bf845d9ccfaf0ad7e2452463bb227
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-9580d7ed7ee603cba3dd0db9bb1ee48094dfe2a90c1ca13a7f10ab8deaa73e2c.yml
3+
openapi_spec_hash: 6f707e3df699aec761f20db720fb3a32
4+
config_hash: dc221a354631e360e545ebb7435ecd35

lib/lithic/models/card_list_params.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ class CardListParams < Lithic::Internal::Type::BaseModel
3434
# @return [String, nil]
3535
optional :ending_before, String
3636

37+
# @!attribute memo
38+
# Returns cards containing the specified partial or full memo text.
39+
#
40+
# @return [String, nil]
41+
optional :memo, String
42+
3743
# @!attribute page_size
3844
# Page size (for pagination).
3945
#
@@ -53,7 +59,7 @@ class CardListParams < Lithic::Internal::Type::BaseModel
5359
# @return [Symbol, Lithic::CardListParams::State, nil]
5460
optional :state, enum: -> { Lithic::CardListParams::State }
5561

56-
# @!method initialize(account_token: nil, begin_: nil, end_: nil, ending_before: nil, page_size: nil, starting_after: nil, state: nil, request_options: {})
62+
# @!method initialize(account_token: nil, begin_: nil, end_: nil, ending_before: nil, memo: nil, page_size: nil, starting_after: nil, state: nil, request_options: {})
5763
# Some parameter documentations has been truncated, see
5864
# {Lithic::Models::CardListParams} for more details.
5965
#
@@ -65,6 +71,8 @@ class CardListParams < Lithic::Internal::Type::BaseModel
6571
#
6672
# @param ending_before [String] A cursor representing an item's token before which a page of results should end.
6773
#
74+
# @param memo [String] Returns cards containing the specified partial or full memo text.
75+
#
6876
# @param page_size [Integer] Page size (for pagination).
6977
#
7078
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin

lib/lithic/models/event.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ module EventType
132132
EXTERNAL_PAYMENT_UPDATED = :"external_payment.updated"
133133
FINANCIAL_ACCOUNT_CREATED = :"financial_account.created"
134134
FINANCIAL_ACCOUNT_UPDATED = :"financial_account.updated"
135+
FUNDING_EVENT_CREATED = :"funding_event.created"
135136
LOAN_TAPE_CREATED = :"loan_tape.created"
136137
LOAN_TAPE_UPDATED = :"loan_tape.updated"
137138
MANAGEMENT_OPERATION_CREATED = :"management_operation.created"

lib/lithic/models/event_list_params.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ module EventType
103103
EXTERNAL_PAYMENT_UPDATED = :"external_payment.updated"
104104
FINANCIAL_ACCOUNT_CREATED = :"financial_account.created"
105105
FINANCIAL_ACCOUNT_UPDATED = :"financial_account.updated"
106+
FUNDING_EVENT_CREATED = :"funding_event.created"
106107
LOAN_TAPE_CREATED = :"loan_tape.created"
107108
LOAN_TAPE_UPDATED = :"loan_tape.updated"
108109
MANAGEMENT_OPERATION_CREATED = :"management_operation.created"

lib/lithic/models/event_subscription.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ module EventType
7676
EXTERNAL_PAYMENT_UPDATED = :"external_payment.updated"
7777
FINANCIAL_ACCOUNT_CREATED = :"financial_account.created"
7878
FINANCIAL_ACCOUNT_UPDATED = :"financial_account.updated"
79+
FUNDING_EVENT_CREATED = :"funding_event.created"
7980
LOAN_TAPE_CREATED = :"loan_tape.created"
8081
LOAN_TAPE_UPDATED = :"loan_tape.updated"
8182
MANAGEMENT_OPERATION_CREATED = :"management_operation.created"

lib/lithic/models/events/subscription_create_params.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ module EventType
8080
EXTERNAL_PAYMENT_UPDATED = :"external_payment.updated"
8181
FINANCIAL_ACCOUNT_CREATED = :"financial_account.created"
8282
FINANCIAL_ACCOUNT_UPDATED = :"financial_account.updated"
83+
FUNDING_EVENT_CREATED = :"funding_event.created"
8384
LOAN_TAPE_CREATED = :"loan_tape.created"
8485
LOAN_TAPE_UPDATED = :"loan_tape.updated"
8586
MANAGEMENT_OPERATION_CREATED = :"management_operation.created"

lib/lithic/models/events/subscription_send_simulated_example_params.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ module EventType
5050
EXTERNAL_PAYMENT_UPDATED = :"external_payment.updated"
5151
FINANCIAL_ACCOUNT_CREATED = :"financial_account.created"
5252
FINANCIAL_ACCOUNT_UPDATED = :"financial_account.updated"
53+
FUNDING_EVENT_CREATED = :"funding_event.created"
5354
LOAN_TAPE_CREATED = :"loan_tape.created"
5455
LOAN_TAPE_UPDATED = :"loan_tape.updated"
5556
MANAGEMENT_OPERATION_CREATED = :"management_operation.created"

lib/lithic/models/events/subscription_update_params.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ module EventType
8080
EXTERNAL_PAYMENT_UPDATED = :"external_payment.updated"
8181
FINANCIAL_ACCOUNT_CREATED = :"financial_account.created"
8282
FINANCIAL_ACCOUNT_UPDATED = :"financial_account.updated"
83+
FUNDING_EVENT_CREATED = :"funding_event.created"
8384
LOAN_TAPE_CREATED = :"loan_tape.created"
8485
LOAN_TAPE_UPDATED = :"loan_tape.updated"
8586
MANAGEMENT_OPERATION_CREATED = :"management_operation.created"

lib/lithic/models/financial_accounts/statements/statement_line_items.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ module Category
142142
MANAGEMENT_FEE = :MANAGEMENT_FEE
143143
MANAGEMENT_REWARD = :MANAGEMENT_REWARD
144144
MANAGEMENT_DISBURSEMENT = :MANAGEMENT_DISBURSEMENT
145+
PROGRAM_FUNDING = :PROGRAM_FUNDING
145146

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

lib/lithic/models/three_ds/authentication_retrieve_response.rb

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1011,6 +1011,13 @@ class Transaction < Lithic::Internal::Type::BaseModel
10111011
# @return [Float]
10121012
required :amount, Float
10131013

1014+
# @!attribute cardholder_amount
1015+
# Approximate amount of the purchase in minor units of cardholder currency.
1016+
# Derived from `amount` using a daily conversion rate.
1017+
#
1018+
# @return [Float, nil]
1019+
required :cardholder_amount, Float, nil?: true
1020+
10141021
# @!attribute currency
10151022
# Currency of the purchase. Maps to EMV 3DS field purchaseCurrency.
10161023
#
@@ -1040,7 +1047,7 @@ class Transaction < Lithic::Internal::Type::BaseModel
10401047
enum: -> { Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Transaction::Type },
10411048
nil?: true
10421049

1043-
# @!method initialize(amount:, currency:, currency_exponent:, date_time:, type:)
1050+
# @!method initialize(amount:, cardholder_amount:, currency:, currency_exponent:, date_time:, type:)
10441051
# Some parameter documentations has been truncated, see
10451052
# {Lithic::Models::ThreeDS::AuthenticationRetrieveResponse::Transaction} for more
10461053
# details.
@@ -1050,6 +1057,8 @@ class Transaction < Lithic::Internal::Type::BaseModel
10501057
#
10511058
# @param amount [Float] Amount of the purchase in minor units of currency with all punctuation removed.
10521059
#
1060+
# @param cardholder_amount [Float, nil] Approximate amount of the purchase in minor units of cardholder currency. Derive
1061+
#
10531062
# @param currency [String] Currency of the purchase. Maps to EMV 3DS field purchaseCurrency.
10541063
#
10551064
# @param currency_exponent [Float] Minor units of currency, as specified in ISO 4217 currency exponent. Maps to EMV

0 commit comments

Comments
 (0)