Skip to content

Commit 3d54444

Browse files
feat(api): add interchange/chargeback/provisional_credit_account to financial account type enums
1 parent fb4f7d9 commit 3d54444

7 files changed

Lines changed: 38 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 190
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-0340e93de3d3691236aa19c800980112e05dc61fa13f8d8d7ca72e335720a31b.yml
3-
openapi_spec_hash: a271f7753dd6e560fcee7dd8b9e17927
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-968332d811097ed493d8cc12d89a29b66f993fe106f5f786998a9e04358584d1.yml
3+
openapi_spec_hash: a68060c43dc156d25ef4d68dfe73e55d
44
config_hash: edbdfefeb0d3d927c2f9fe3402793215

lib/lithic/models/financial_account.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,9 @@ module Type
203203
COLLECTION = :COLLECTION
204204
PROGRAM_BANK_ACCOUNTS_PAYABLE = :PROGRAM_BANK_ACCOUNTS_PAYABLE
205205
EARLY_DIRECT_DEPOSIT_FLOAT = :EARLY_DIRECT_DEPOSIT_FLOAT
206+
INTERCHANGE = :INTERCHANGE
207+
CHARGEBACK = :CHARGEBACK
208+
PROVISIONAL_CREDIT_ACCOUNT = :PROVISIONAL_CREDIT_ACCOUNT
206209

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

lib/lithic/models/instance_financial_account_type.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ module InstanceFinancialAccountType
1717
COLLECTION = :COLLECTION
1818
PROGRAM_BANK_ACCOUNTS_PAYABLE = :PROGRAM_BANK_ACCOUNTS_PAYABLE
1919
EARLY_DIRECT_DEPOSIT_FLOAT = :EARLY_DIRECT_DEPOSIT_FLOAT
20+
INTERCHANGE = :INTERCHANGE
21+
CHARGEBACK = :CHARGEBACK
22+
PROVISIONAL_CREDIT_ACCOUNT = :PROVISIONAL_CREDIT_ACCOUNT
2023

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

rbi/lithic/models/financial_account.rbi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,15 @@ module Lithic
349349
:EARLY_DIRECT_DEPOSIT_FLOAT,
350350
Lithic::FinancialAccount::Type::TaggedSymbol
351351
)
352+
INTERCHANGE =
353+
T.let(:INTERCHANGE, Lithic::FinancialAccount::Type::TaggedSymbol)
354+
CHARGEBACK =
355+
T.let(:CHARGEBACK, Lithic::FinancialAccount::Type::TaggedSymbol)
356+
PROVISIONAL_CREDIT_ACCOUNT =
357+
T.let(
358+
:PROVISIONAL_CREDIT_ACCOUNT,
359+
Lithic::FinancialAccount::Type::TaggedSymbol
360+
)
352361

353362
sig do
354363
override.returns(

rbi/lithic/models/instance_financial_account_type.rbi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,15 @@ module Lithic
5050
:EARLY_DIRECT_DEPOSIT_FLOAT,
5151
Lithic::InstanceFinancialAccountType::TaggedSymbol
5252
)
53+
INTERCHANGE =
54+
T.let(:INTERCHANGE, Lithic::InstanceFinancialAccountType::TaggedSymbol)
55+
CHARGEBACK =
56+
T.let(:CHARGEBACK, Lithic::InstanceFinancialAccountType::TaggedSymbol)
57+
PROVISIONAL_CREDIT_ACCOUNT =
58+
T.let(
59+
:PROVISIONAL_CREDIT_ACCOUNT,
60+
Lithic::InstanceFinancialAccountType::TaggedSymbol
61+
)
5362

5463
sig do
5564
override.returns(

sig/lithic/models/financial_account.rbs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ module Lithic
169169
| :COLLECTION
170170
| :PROGRAM_BANK_ACCOUNTS_PAYABLE
171171
| :EARLY_DIRECT_DEPOSIT_FLOAT
172+
| :INTERCHANGE
173+
| :CHARGEBACK
174+
| :PROVISIONAL_CREDIT_ACCOUNT
172175

173176
module Type
174177
extend Lithic::Internal::Type::Enum
@@ -184,6 +187,9 @@ module Lithic
184187
COLLECTION: :COLLECTION
185188
PROGRAM_BANK_ACCOUNTS_PAYABLE: :PROGRAM_BANK_ACCOUNTS_PAYABLE
186189
EARLY_DIRECT_DEPOSIT_FLOAT: :EARLY_DIRECT_DEPOSIT_FLOAT
190+
INTERCHANGE: :INTERCHANGE
191+
CHARGEBACK: :CHARGEBACK
192+
PROVISIONAL_CREDIT_ACCOUNT: :PROVISIONAL_CREDIT_ACCOUNT
187193

188194
def self?.values: -> ::Array[Lithic::Models::FinancialAccount::type_]
189195
end

sig/lithic/models/instance_financial_account_type.rbs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ module Lithic
1212
| :COLLECTION
1313
| :PROGRAM_BANK_ACCOUNTS_PAYABLE
1414
| :EARLY_DIRECT_DEPOSIT_FLOAT
15+
| :INTERCHANGE
16+
| :CHARGEBACK
17+
| :PROVISIONAL_CREDIT_ACCOUNT
1518

1619
module InstanceFinancialAccountType
1720
extend Lithic::Internal::Type::Enum
@@ -27,6 +30,9 @@ module Lithic
2730
COLLECTION: :COLLECTION
2831
PROGRAM_BANK_ACCOUNTS_PAYABLE: :PROGRAM_BANK_ACCOUNTS_PAYABLE
2932
EARLY_DIRECT_DEPOSIT_FLOAT: :EARLY_DIRECT_DEPOSIT_FLOAT
33+
INTERCHANGE: :INTERCHANGE
34+
CHARGEBACK: :CHARGEBACK
35+
PROVISIONAL_CREDIT_ACCOUNT: :PROVISIONAL_CREDIT_ACCOUNT
3036

3137
def self?.values: -> ::Array[Lithic::Models::instance_financial_account_type]
3238
end

0 commit comments

Comments
 (0)