lithic 0.1.0.pre.alpha.31 → 0.1.0.pre.alpha.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +23 -0
- data/README.md +1 -1
- data/lib/lithic/errors.rb +22 -0
- data/lib/lithic/internal/type/array_of.rb +6 -1
- data/lib/lithic/internal/type/base_model.rb +77 -25
- data/lib/lithic/internal/type/boolean.rb +7 -1
- data/lib/lithic/internal/type/converter.rb +42 -34
- data/lib/lithic/internal/type/enum.rb +10 -2
- data/lib/lithic/internal/type/file_input.rb +6 -1
- data/lib/lithic/internal/type/hash_of.rb +6 -1
- data/lib/lithic/internal/type/union.rb +12 -7
- data/lib/lithic/internal/type/unknown.rb +7 -1
- data/lib/lithic/models/account.rb +10 -10
- data/lib/lithic/models/account_update_params.rb +1 -0
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +1 -0
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +3 -0
- data/lib/lithic/models/financial_account.rb +1 -0
- data/lib/lithic/models/financial_account_register_account_number_params.rb +20 -0
- data/lib/lithic/models/instance_financial_account_type.rb +1 -0
- data/lib/lithic/models/settlement_detail.rb +4 -2
- data/lib/lithic/models/transaction.rb +1 -0
- data/lib/lithic/models/verification_method.rb +1 -0
- data/lib/lithic/models.rb +2 -0
- data/lib/lithic/resources/financial_accounts.rb +24 -0
- data/lib/lithic/resources/three_ds/authentication.rb +3 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +1 -0
- data/rbi/lithic/errors.rbi +16 -0
- data/rbi/lithic/internal/type/boolean.rbi +2 -0
- data/rbi/lithic/internal/type/converter.rbi +15 -15
- data/rbi/lithic/internal/type/union.rbi +5 -0
- data/rbi/lithic/internal/type/unknown.rbi +2 -0
- data/rbi/lithic/models/account.rbi +15 -15
- data/rbi/lithic/models/account_update_params.rbi +2 -0
- data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +7 -0
- data/rbi/lithic/models/financial_account.rbi +2 -0
- data/rbi/lithic/models/financial_account_register_account_number_params.rbi +38 -0
- data/rbi/lithic/models/instance_financial_account_type.rbi +2 -0
- data/rbi/lithic/models/settlement_detail.rbi +6 -2
- data/rbi/lithic/models/transaction.rbi +5 -0
- data/rbi/lithic/models/verification_method.rbi +1 -0
- data/rbi/lithic/models.rbi +3 -0
- data/rbi/lithic/resources/financial_accounts.rbi +16 -0
- data/rbi/lithic/resources/three_ds/authentication.rbi +3 -1
- data/sig/lithic/errors.rbs +9 -0
- data/sig/lithic/internal/type/converter.rbs +7 -1
- data/sig/lithic/models/account_update_params.rbs +2 -1
- data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +2 -1
- data/sig/lithic/models/financial_account.rbs +2 -0
- data/sig/lithic/models/financial_account_register_account_number_params.rbs +23 -0
- data/sig/lithic/models/instance_financial_account_type.rbs +2 -0
- data/sig/lithic/models/transaction.rbs +3 -1
- data/sig/lithic/models/verification_method.rbs +7 -1
- data/sig/lithic/models.rbs +2 -0
- data/sig/lithic/resources/financial_accounts.rbs +6 -0
- metadata +5 -2
@@ -9,6 +9,7 @@ module Lithic
|
|
9
9
|
| :CHARGED_OFF_PRINCIPAL
|
10
10
|
| :SECURITY
|
11
11
|
| :PROGRAM_RECEIVABLES
|
12
|
+
| :COLLECTION
|
12
13
|
|
13
14
|
module InstanceFinancialAccountType
|
14
15
|
extend Lithic::Internal::Type::Enum
|
@@ -21,6 +22,7 @@ module Lithic
|
|
21
22
|
CHARGED_OFF_PRINCIPAL: :CHARGED_OFF_PRINCIPAL
|
22
23
|
SECURITY: :SECURITY
|
23
24
|
PROGRAM_RECEIVABLES: :PROGRAM_RECEIVABLES
|
25
|
+
COLLECTION: :COLLECTION
|
24
26
|
|
25
27
|
def self?.values: -> ::Array[Lithic::Models::instance_financial_account_type]
|
26
28
|
end
|
@@ -342,7 +342,8 @@ module Lithic
|
|
342
342
|
end
|
343
343
|
|
344
344
|
type decision_made_by =
|
345
|
-
:
|
345
|
+
:CUSTOMER_RULES
|
346
|
+
| :CUSTOMER_ENDPOINT
|
346
347
|
| :LITHIC_DEFAULT
|
347
348
|
| :LITHIC_RULES
|
348
349
|
| :NETWORK
|
@@ -351,6 +352,7 @@ module Lithic
|
|
351
352
|
module DecisionMadeBy
|
352
353
|
extend Lithic::Internal::Type::Enum
|
353
354
|
|
355
|
+
CUSTOMER_RULES: :CUSTOMER_RULES
|
354
356
|
CUSTOMER_ENDPOINT: :CUSTOMER_ENDPOINT
|
355
357
|
LITHIC_DEFAULT: :LITHIC_DEFAULT
|
356
358
|
LITHIC_RULES: :LITHIC_RULES
|
@@ -1,7 +1,12 @@
|
|
1
1
|
module Lithic
|
2
2
|
module Models
|
3
3
|
type verification_method =
|
4
|
-
:MANUAL
|
4
|
+
:MANUAL
|
5
|
+
| :MICRO_DEPOSIT
|
6
|
+
| :PLAID
|
7
|
+
| :PRENOTE
|
8
|
+
| :EXTERNALLY_VERIFIED
|
9
|
+
| :UNVERIFIED
|
5
10
|
|
6
11
|
module VerificationMethod
|
7
12
|
extend Lithic::Internal::Type::Enum
|
@@ -11,6 +16,7 @@ module Lithic
|
|
11
16
|
PLAID: :PLAID
|
12
17
|
PRENOTE: :PRENOTE
|
13
18
|
EXTERNALLY_VERIFIED: :EXTERNALLY_VERIFIED
|
19
|
+
UNVERIFIED: :UNVERIFIED
|
14
20
|
|
15
21
|
def self?.values: -> ::Array[Lithic::Models::verification_method]
|
16
22
|
end
|
data/sig/lithic/models.rbs
CHANGED
@@ -189,6 +189,8 @@ module Lithic
|
|
189
189
|
|
190
190
|
class FinancialAccountListParams = Lithic::Models::FinancialAccountListParams
|
191
191
|
|
192
|
+
class FinancialAccountRegisterAccountNumberParams = Lithic::Models::FinancialAccountRegisterAccountNumberParams
|
193
|
+
|
192
194
|
class FinancialAccountRetrieveParams = Lithic::Models::FinancialAccountRetrieveParams
|
193
195
|
|
194
196
|
module FinancialAccounts = Lithic::Models::FinancialAccounts
|
@@ -38,6 +38,12 @@ module Lithic
|
|
38
38
|
?request_options: Lithic::request_opts
|
39
39
|
) -> Lithic::Internal::SinglePage[Lithic::FinancialAccount]
|
40
40
|
|
41
|
+
def register_account_number: (
|
42
|
+
String financial_account_token,
|
43
|
+
account_number: String,
|
44
|
+
?request_options: Lithic::request_opts
|
45
|
+
) -> nil
|
46
|
+
|
41
47
|
def update_status: (
|
42
48
|
String financial_account_token,
|
43
49
|
status: Lithic::Models::FinancialAccountUpdateStatusParams::status,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lithic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.pre.alpha.
|
4
|
+
version: 0.1.0.pre.alpha.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lithic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|
@@ -213,6 +213,7 @@ files:
|
|
213
213
|
- lib/lithic/models/financial_account.rb
|
214
214
|
- lib/lithic/models/financial_account_create_params.rb
|
215
215
|
- lib/lithic/models/financial_account_list_params.rb
|
216
|
+
- lib/lithic/models/financial_account_register_account_number_params.rb
|
216
217
|
- lib/lithic/models/financial_account_retrieve_params.rb
|
217
218
|
- lib/lithic/models/financial_account_update_params.rb
|
218
219
|
- lib/lithic/models/financial_account_update_status_params.rb
|
@@ -566,6 +567,7 @@ files:
|
|
566
567
|
- rbi/lithic/models/financial_account.rbi
|
567
568
|
- rbi/lithic/models/financial_account_create_params.rbi
|
568
569
|
- rbi/lithic/models/financial_account_list_params.rbi
|
570
|
+
- rbi/lithic/models/financial_account_register_account_number_params.rbi
|
569
571
|
- rbi/lithic/models/financial_account_retrieve_params.rbi
|
570
572
|
- rbi/lithic/models/financial_account_update_params.rbi
|
571
573
|
- rbi/lithic/models/financial_account_update_status_params.rbi
|
@@ -918,6 +920,7 @@ files:
|
|
918
920
|
- sig/lithic/models/financial_account.rbs
|
919
921
|
- sig/lithic/models/financial_account_create_params.rbs
|
920
922
|
- sig/lithic/models/financial_account_list_params.rbs
|
923
|
+
- sig/lithic/models/financial_account_register_account_number_params.rbs
|
921
924
|
- sig/lithic/models/financial_account_retrieve_params.rbs
|
922
925
|
- sig/lithic/models/financial_account_update_params.rbs
|
923
926
|
- sig/lithic/models/financial_account_update_status_params.rbs
|