lithic 0.1.0.pre.alpha.5 → 0.1.0.pre.alpha.6
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/README.md +29 -5
- data/lib/lithic/internal/cursor_page.rb +5 -1
- data/lib/lithic/internal/single_page.rb +5 -1
- data/lib/lithic/internal/transport/base_client.rb +2 -2
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/lithic/internal/type/array_of.rb +5 -3
- data/lib/lithic/internal/type/base_model.rb +12 -6
- data/lib/lithic/internal/type/base_page.rb +4 -1
- data/lib/lithic/internal/type/{boolean_model.rb → boolean.rb} +2 -2
- data/lib/lithic/internal/type/converter.rb +6 -1
- data/lib/lithic/internal/type/enum.rb +2 -0
- data/lib/lithic/internal/type/hash_of.rb +3 -1
- data/lib/lithic/internal/util.rb +28 -45
- data/lib/lithic/models/account_holder.rb +1 -2
- data/lib/lithic/models/account_holder_create_params.rb +89 -93
- data/lib/lithic/models/auth_rules/auth_rule.rb +1 -1
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_create_params.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_create_response.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_list_response.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_update_params.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_update_response.rb +1 -1
- data/lib/lithic/models/card_convert_physical_params.rb +5 -5
- data/lib/lithic/models/card_reissue_params.rb +5 -5
- data/lib/lithic/models/card_renew_params.rb +5 -5
- data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +1 -1
- data/lib/lithic/models/digital_card_art.rb +2 -2
- data/lib/lithic/models/event_list_params.rb +1 -1
- data/lib/lithic/models/event_subscription.rb +1 -1
- data/lib/lithic/models/events/event_subscription_resend_params.rb +27 -0
- data/lib/lithic/models/events/subscription_create_params.rb +1 -1
- data/lib/lithic/models/events/subscription_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_create_params.rb +1 -1
- data/lib/lithic/models/financial_account.rb +11 -13
- data/lib/lithic/models/financial_account_create_params.rb +1 -1
- data/lib/lithic/models/financial_account_update_status_params.rb +9 -9
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -1
- data/lib/lithic/models/financial_accounts/loan_tape.rb +11 -11
- data/lib/lithic/models/financial_accounts/statement.rb +11 -11
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +1 -1
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +1 -1
- data/lib/lithic/models/financial_accounts/statements.rb +1 -1
- data/lib/lithic/models/kyb.rb +89 -93
- data/lib/lithic/models/responder_endpoint_create_response.rb +1 -1
- data/lib/lithic/models/responder_endpoint_status.rb +1 -1
- data/lib/lithic/models/settlement_report.rb +1 -1
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +3 -3
- data/lib/lithic/models/transaction.rb +5 -5
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +1 -1
- data/lib/lithic/resources/account_holders.rb +3 -3
- data/lib/lithic/resources/accounts.rb +1 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +1 -1
- data/lib/lithic/resources/book_transfers.rb +1 -1
- data/lib/lithic/resources/cards/financial_transactions.rb +1 -1
- data/lib/lithic/resources/cards.rb +10 -7
- data/lib/lithic/resources/disputes.rb +2 -2
- data/lib/lithic/resources/events/event_subscriptions.rb +41 -0
- data/lib/lithic/resources/events/subscriptions.rb +3 -3
- data/lib/lithic/resources/events.rb +6 -2
- data/lib/lithic/resources/external_payments.rb +1 -1
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +1 -1
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +1 -1
- data/lib/lithic/resources/financial_accounts/statements.rb +1 -1
- data/lib/lithic/resources/financial_accounts.rb +5 -5
- data/lib/lithic/resources/management_operations.rb +1 -1
- data/lib/lithic/resources/payments.rb +2 -2
- data/lib/lithic/resources/reports/settlement/network_totals.rb +1 -1
- data/lib/lithic/resources/tokenizations.rb +1 -1
- data/lib/lithic/resources/transactions.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +3 -1
- data/rbi/lib/lithic/internal/type/array_of.rbi +2 -2
- data/rbi/lib/lithic/internal/type/{boolean_model.rbi → boolean.rbi} +1 -1
- data/rbi/lib/lithic/internal/util.rbi +7 -5
- data/rbi/lib/lithic/models/account_holder.rbi +1 -2
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +95 -95
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +5 -5
- data/rbi/lib/lithic/models/card_reissue_params.rbi +5 -5
- data/rbi/lib/lithic/models/card_renew_params.rbi +5 -5
- data/rbi/lib/lithic/models/events/event_subscription_resend_params.rbi +29 -0
- data/rbi/lib/lithic/models/financial_account.rbi +17 -19
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +15 -30
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +18 -18
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +18 -18
- data/rbi/lib/lithic/models/kyb.rbi +95 -95
- data/rbi/lib/lithic/resources/account_holders.rbi +6 -14
- data/rbi/lib/lithic/resources/cards.rbi +15 -12
- data/rbi/lib/lithic/resources/events/event_subscriptions.rbi +26 -0
- data/rbi/lib/lithic/resources/events.rbi +3 -0
- data/rbi/lib/lithic/resources/financial_accounts.rbi +3 -3
- data/rbi/lib/lithic/version.rbi +1 -1
- data/sig/lithic/internal/type/array_of.rbs +2 -2
- data/sig/lithic/internal/type/{boolean_model.rbs → boolean.rbs} +1 -1
- data/sig/lithic/internal/util.rbs +5 -5
- data/sig/lithic/models/account_holder_create_params.rbs +47 -43
- data/sig/lithic/models/card_convert_physical_params.rbs +2 -2
- data/sig/lithic/models/card_reissue_params.rbs +2 -2
- data/sig/lithic/models/card_renew_params.rbs +2 -2
- data/sig/lithic/models/events/event_subscription_resend_params.rbs +22 -0
- data/sig/lithic/models/financial_account.rbs +6 -6
- data/sig/lithic/models/financial_account_update_status_params.rbs +6 -6
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +6 -6
- data/sig/lithic/models/financial_accounts/statement.rbs +6 -6
- data/sig/lithic/models/kyb.rbs +47 -43
- data/sig/lithic/resources/account_holders.rbs +1 -1
- data/sig/lithic/resources/events/event_subscriptions.rbs +15 -0
- data/sig/lithic/resources/events.rbs +2 -0
- data/sig/lithic/resources/financial_accounts.rbs +1 -1
- data/sig/lithic/version.rbs +1 -1
- metadata +11 -5
@@ -29,8 +29,8 @@ module Lithic
|
|
29
29
|
sig { params(shipping_address: T.any(Lithic::Models::ShippingAddress, Lithic::Internal::AnyHash)).void }
|
30
30
|
attr_writer :shipping_address
|
31
31
|
|
32
|
-
# Shipping method for the card.
|
33
|
-
# additional permissions.
|
32
|
+
# Shipping method for the card. Only applies to cards of type PHYSICAL. Use of
|
33
|
+
# options besides `STANDARD` require additional permissions.
|
34
34
|
#
|
35
35
|
# - `STANDARD` - USPS regular mail or similar international option, with no
|
36
36
|
# tracking
|
@@ -81,8 +81,8 @@ module Lithic
|
|
81
81
|
def to_hash
|
82
82
|
end
|
83
83
|
|
84
|
-
# Shipping method for the card.
|
85
|
-
# additional permissions.
|
84
|
+
# Shipping method for the card. Only applies to cards of type PHYSICAL. Use of
|
85
|
+
# options besides `STANDARD` require additional permissions.
|
86
86
|
#
|
87
87
|
# - `STANDARD` - USPS regular mail or similar international option, with no
|
88
88
|
# tracking
|
@@ -100,7 +100,7 @@ module Lithic
|
|
100
100
|
OrSymbol =
|
101
101
|
T.type_alias { T.any(Symbol, String, Lithic::Models::CardReissueParams::ShippingMethod::TaggedSymbol) }
|
102
102
|
|
103
|
-
SHIPPING_METHOD_2_DAY = T.let(:"
|
103
|
+
SHIPPING_METHOD_2_DAY = T.let(:"2_DAY", Lithic::Models::CardReissueParams::ShippingMethod::TaggedSymbol)
|
104
104
|
EXPEDITED = T.let(:EXPEDITED, Lithic::Models::CardReissueParams::ShippingMethod::TaggedSymbol)
|
105
105
|
EXPRESS = T.let(:EXPRESS, Lithic::Models::CardReissueParams::ShippingMethod::TaggedSymbol)
|
106
106
|
PRIORITY = T.let(:PRIORITY, Lithic::Models::CardReissueParams::ShippingMethod::TaggedSymbol)
|
@@ -45,8 +45,8 @@ module Lithic
|
|
45
45
|
sig { params(product_id: String).void }
|
46
46
|
attr_writer :product_id
|
47
47
|
|
48
|
-
# Shipping method for the card.
|
49
|
-
# additional permissions.
|
48
|
+
# Shipping method for the card. Only applies to cards of type PHYSICAL. Use of
|
49
|
+
# options besides `STANDARD` require additional permissions.
|
50
50
|
#
|
51
51
|
# - `STANDARD` - USPS regular mail or similar international option, with no
|
52
52
|
# tracking
|
@@ -103,8 +103,8 @@ module Lithic
|
|
103
103
|
def to_hash
|
104
104
|
end
|
105
105
|
|
106
|
-
# Shipping method for the card.
|
107
|
-
# additional permissions.
|
106
|
+
# Shipping method for the card. Only applies to cards of type PHYSICAL. Use of
|
107
|
+
# options besides `STANDARD` require additional permissions.
|
108
108
|
#
|
109
109
|
# - `STANDARD` - USPS regular mail or similar international option, with no
|
110
110
|
# tracking
|
@@ -122,7 +122,7 @@ module Lithic
|
|
122
122
|
OrSymbol =
|
123
123
|
T.type_alias { T.any(Symbol, String, Lithic::Models::CardRenewParams::ShippingMethod::TaggedSymbol) }
|
124
124
|
|
125
|
-
SHIPPING_METHOD_2_DAY = T.let(:"
|
125
|
+
SHIPPING_METHOD_2_DAY = T.let(:"2_DAY", Lithic::Models::CardRenewParams::ShippingMethod::TaggedSymbol)
|
126
126
|
EXPEDITED = T.let(:EXPEDITED, Lithic::Models::CardRenewParams::ShippingMethod::TaggedSymbol)
|
127
127
|
EXPRESS = T.let(:EXPRESS, Lithic::Models::CardRenewParams::ShippingMethod::TaggedSymbol)
|
128
128
|
PRIORITY = T.let(:PRIORITY, Lithic::Models::CardRenewParams::ShippingMethod::TaggedSymbol)
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# typed: strong
|
2
|
+
|
3
|
+
module Lithic
|
4
|
+
module Models
|
5
|
+
module Events
|
6
|
+
class EventSubscriptionResendParams < Lithic::Internal::Type::BaseModel
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
8
|
+
include Lithic::Internal::Type::RequestParameters
|
9
|
+
|
10
|
+
sig { returns(String) }
|
11
|
+
attr_accessor :event_token
|
12
|
+
|
13
|
+
sig do
|
14
|
+
params(
|
15
|
+
event_token: String,
|
16
|
+
request_options: T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash)
|
17
|
+
)
|
18
|
+
.returns(T.attached_class)
|
19
|
+
end
|
20
|
+
def self.new(event_token:, request_options: {})
|
21
|
+
end
|
22
|
+
|
23
|
+
sig { override.returns({event_token: String, request_options: Lithic::RequestOptions}) }
|
24
|
+
def to_hash
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -47,9 +47,9 @@ module Lithic
|
|
47
47
|
sig { returns(T.nilable(String)) }
|
48
48
|
attr_accessor :routing_number
|
49
49
|
|
50
|
-
#
|
51
|
-
sig { returns(T.nilable(Lithic::Models::FinancialAccount::
|
52
|
-
attr_accessor :
|
50
|
+
# Substatus for the financial account
|
51
|
+
sig { returns(T.nilable(Lithic::Models::FinancialAccount::Substatus::TaggedSymbol)) }
|
52
|
+
attr_accessor :substatus
|
53
53
|
|
54
54
|
sig do
|
55
55
|
params(
|
@@ -64,7 +64,7 @@ module Lithic
|
|
64
64
|
updated: Time,
|
65
65
|
account_number: T.nilable(String),
|
66
66
|
routing_number: T.nilable(String),
|
67
|
-
|
67
|
+
substatus: T.nilable(Lithic::Models::FinancialAccount::Substatus::OrSymbol)
|
68
68
|
)
|
69
69
|
.returns(T.attached_class)
|
70
70
|
end
|
@@ -80,7 +80,7 @@ module Lithic
|
|
80
80
|
updated:,
|
81
81
|
account_number: nil,
|
82
82
|
routing_number: nil,
|
83
|
-
|
83
|
+
substatus: nil
|
84
84
|
)
|
85
85
|
end
|
86
86
|
|
@@ -99,7 +99,7 @@ module Lithic
|
|
99
99
|
updated: Time,
|
100
100
|
account_number: T.nilable(String),
|
101
101
|
routing_number: T.nilable(String),
|
102
|
-
|
102
|
+
substatus: T.nilable(Lithic::Models::FinancialAccount::Substatus::TaggedSymbol)
|
103
103
|
}
|
104
104
|
)
|
105
105
|
end
|
@@ -287,24 +287,22 @@ module Lithic
|
|
287
287
|
end
|
288
288
|
end
|
289
289
|
|
290
|
-
#
|
291
|
-
module
|
290
|
+
# Substatus for the financial account
|
291
|
+
module Substatus
|
292
292
|
extend Lithic::Internal::Type::Enum
|
293
293
|
|
294
|
-
TaggedSymbol = T.type_alias { T.all(Symbol, Lithic::Models::FinancialAccount::
|
294
|
+
TaggedSymbol = T.type_alias { T.all(Symbol, Lithic::Models::FinancialAccount::Substatus) }
|
295
295
|
OrSymbol =
|
296
|
-
T.type_alias { T.any(Symbol, String, Lithic::Models::FinancialAccount::
|
296
|
+
T.type_alias { T.any(Symbol, String, Lithic::Models::FinancialAccount::Substatus::TaggedSymbol) }
|
297
297
|
|
298
298
|
CHARGED_OFF_DELINQUENT =
|
299
|
-
T.let(:CHARGED_OFF_DELINQUENT, Lithic::Models::FinancialAccount::
|
300
|
-
CHARGED_OFF_FRAUD =
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
sig { override.returns(T::Array[Lithic::Models::FinancialAccount::StatusChangeReason::TaggedSymbol]) }
|
299
|
+
T.let(:CHARGED_OFF_DELINQUENT, Lithic::Models::FinancialAccount::Substatus::TaggedSymbol)
|
300
|
+
CHARGED_OFF_FRAUD = T.let(:CHARGED_OFF_FRAUD, Lithic::Models::FinancialAccount::Substatus::TaggedSymbol)
|
301
|
+
END_USER_REQUEST = T.let(:END_USER_REQUEST, Lithic::Models::FinancialAccount::Substatus::TaggedSymbol)
|
302
|
+
BANK_REQUEST = T.let(:BANK_REQUEST, Lithic::Models::FinancialAccount::Substatus::TaggedSymbol)
|
303
|
+
DELINQUENT = T.let(:DELINQUENT, Lithic::Models::FinancialAccount::Substatus::TaggedSymbol)
|
304
|
+
|
305
|
+
sig { override.returns(T::Array[Lithic::Models::FinancialAccount::Substatus::TaggedSymbol]) }
|
308
306
|
def self.values
|
309
307
|
end
|
310
308
|
end
|
@@ -10,19 +10,19 @@ module Lithic
|
|
10
10
|
sig { returns(Lithic::Models::FinancialAccountUpdateStatusParams::Status::OrSymbol) }
|
11
11
|
attr_accessor :status
|
12
12
|
|
13
|
-
#
|
14
|
-
sig { returns(T.nilable(Lithic::Models::FinancialAccountUpdateStatusParams::
|
15
|
-
attr_accessor :
|
13
|
+
# Substatus for the financial account
|
14
|
+
sig { returns(T.nilable(Lithic::Models::FinancialAccountUpdateStatusParams::Substatus::OrSymbol)) }
|
15
|
+
attr_accessor :substatus
|
16
16
|
|
17
17
|
sig do
|
18
18
|
params(
|
19
19
|
status: Lithic::Models::FinancialAccountUpdateStatusParams::Status::OrSymbol,
|
20
|
-
|
20
|
+
substatus: T.nilable(Lithic::Models::FinancialAccountUpdateStatusParams::Substatus::OrSymbol),
|
21
21
|
request_options: T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash)
|
22
22
|
)
|
23
23
|
.returns(T.attached_class)
|
24
24
|
end
|
25
|
-
def self.new(status:,
|
25
|
+
def self.new(status:, substatus:, request_options: {})
|
26
26
|
end
|
27
27
|
|
28
28
|
sig do
|
@@ -30,7 +30,7 @@ module Lithic
|
|
30
30
|
.returns(
|
31
31
|
{
|
32
32
|
status: Lithic::Models::FinancialAccountUpdateStatusParams::Status::OrSymbol,
|
33
|
-
|
33
|
+
substatus: T.nilable(Lithic::Models::FinancialAccountUpdateStatusParams::Substatus::OrSymbol),
|
34
34
|
request_options: Lithic::RequestOptions
|
35
35
|
}
|
36
36
|
)
|
@@ -56,43 +56,28 @@ module Lithic
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
#
|
60
|
-
module
|
59
|
+
# Substatus for the financial account
|
60
|
+
module Substatus
|
61
61
|
extend Lithic::Internal::Type::Enum
|
62
62
|
|
63
63
|
TaggedSymbol =
|
64
|
-
T.type_alias { T.all(Symbol, Lithic::Models::FinancialAccountUpdateStatusParams::
|
64
|
+
T.type_alias { T.all(Symbol, Lithic::Models::FinancialAccountUpdateStatusParams::Substatus) }
|
65
65
|
OrSymbol =
|
66
|
-
T.type_alias
|
67
|
-
T.any(
|
68
|
-
Symbol,
|
69
|
-
String,
|
70
|
-
Lithic::Models::FinancialAccountUpdateStatusParams::StatusChangeReason::TaggedSymbol
|
71
|
-
)
|
72
|
-
end
|
66
|
+
T.type_alias { T.any(Symbol, String, Lithic::Models::FinancialAccountUpdateStatusParams::Substatus::TaggedSymbol) }
|
73
67
|
|
74
68
|
CHARGED_OFF_FRAUD =
|
75
|
-
T.let(
|
76
|
-
:CHARGED_OFF_FRAUD,
|
77
|
-
Lithic::Models::FinancialAccountUpdateStatusParams::StatusChangeReason::TaggedSymbol
|
78
|
-
)
|
69
|
+
T.let(:CHARGED_OFF_FRAUD, Lithic::Models::FinancialAccountUpdateStatusParams::Substatus::TaggedSymbol)
|
79
70
|
END_USER_REQUEST =
|
80
|
-
T.let(
|
81
|
-
:END_USER_REQUEST,
|
82
|
-
Lithic::Models::FinancialAccountUpdateStatusParams::StatusChangeReason::TaggedSymbol
|
83
|
-
)
|
71
|
+
T.let(:END_USER_REQUEST, Lithic::Models::FinancialAccountUpdateStatusParams::Substatus::TaggedSymbol)
|
84
72
|
BANK_REQUEST =
|
85
|
-
T.let(:BANK_REQUEST, Lithic::Models::FinancialAccountUpdateStatusParams::
|
73
|
+
T.let(:BANK_REQUEST, Lithic::Models::FinancialAccountUpdateStatusParams::Substatus::TaggedSymbol)
|
86
74
|
CHARGED_OFF_DELINQUENT =
|
87
75
|
T.let(
|
88
76
|
:CHARGED_OFF_DELINQUENT,
|
89
|
-
Lithic::Models::FinancialAccountUpdateStatusParams::
|
77
|
+
Lithic::Models::FinancialAccountUpdateStatusParams::Substatus::TaggedSymbol
|
90
78
|
)
|
91
79
|
|
92
|
-
sig
|
93
|
-
override
|
94
|
-
.returns(T::Array[Lithic::Models::FinancialAccountUpdateStatusParams::StatusChangeReason::TaggedSymbol])
|
95
|
-
end
|
80
|
+
sig { override.returns(T::Array[Lithic::Models::FinancialAccountUpdateStatusParams::Substatus::TaggedSymbol]) }
|
96
81
|
def self.values
|
97
82
|
end
|
98
83
|
end
|
@@ -343,27 +343,27 @@ module Lithic
|
|
343
343
|
end
|
344
344
|
attr_accessor :status
|
345
345
|
|
346
|
-
#
|
346
|
+
# Substatus for the financial account
|
347
347
|
sig do
|
348
348
|
returns(
|
349
349
|
T.nilable(
|
350
|
-
Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::
|
350
|
+
Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::Substatus::TaggedSymbol
|
351
351
|
)
|
352
352
|
)
|
353
353
|
end
|
354
|
-
attr_accessor :
|
354
|
+
attr_accessor :substatus
|
355
355
|
|
356
356
|
# Information about the financial account state
|
357
357
|
sig do
|
358
358
|
params(
|
359
359
|
status: Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::Status::OrSymbol,
|
360
|
-
|
361
|
-
Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::
|
360
|
+
substatus: T.nilable(
|
361
|
+
Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::Substatus::OrSymbol
|
362
362
|
)
|
363
363
|
)
|
364
364
|
.returns(T.attached_class)
|
365
365
|
end
|
366
|
-
def self.new(status:,
|
366
|
+
def self.new(status:, substatus: nil)
|
367
367
|
end
|
368
368
|
|
369
369
|
sig do
|
@@ -371,8 +371,8 @@ module Lithic
|
|
371
371
|
.returns(
|
372
372
|
{
|
373
373
|
status: Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::Status::TaggedSymbol,
|
374
|
-
|
375
|
-
Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::
|
374
|
+
substatus: T.nilable(
|
375
|
+
Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::Substatus::TaggedSymbol
|
376
376
|
)
|
377
377
|
}
|
378
378
|
)
|
@@ -426,54 +426,54 @@ module Lithic
|
|
426
426
|
end
|
427
427
|
end
|
428
428
|
|
429
|
-
#
|
430
|
-
module
|
429
|
+
# Substatus for the financial account
|
430
|
+
module Substatus
|
431
431
|
extend Lithic::Internal::Type::Enum
|
432
432
|
|
433
433
|
TaggedSymbol =
|
434
434
|
T.type_alias do
|
435
|
-
T.all(Symbol, Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::
|
435
|
+
T.all(Symbol, Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::Substatus)
|
436
436
|
end
|
437
437
|
OrSymbol =
|
438
438
|
T.type_alias do
|
439
439
|
T.any(
|
440
440
|
Symbol,
|
441
441
|
String,
|
442
|
-
Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::
|
442
|
+
Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::Substatus::TaggedSymbol
|
443
443
|
)
|
444
444
|
end
|
445
445
|
|
446
446
|
CHARGED_OFF_DELINQUENT =
|
447
447
|
T.let(
|
448
448
|
:CHARGED_OFF_DELINQUENT,
|
449
|
-
Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::
|
449
|
+
Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::Substatus::TaggedSymbol
|
450
450
|
)
|
451
451
|
CHARGED_OFF_FRAUD =
|
452
452
|
T.let(
|
453
453
|
:CHARGED_OFF_FRAUD,
|
454
|
-
Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::
|
454
|
+
Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::Substatus::TaggedSymbol
|
455
455
|
)
|
456
456
|
END_USER_REQUEST =
|
457
457
|
T.let(
|
458
458
|
:END_USER_REQUEST,
|
459
|
-
Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::
|
459
|
+
Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::Substatus::TaggedSymbol
|
460
460
|
)
|
461
461
|
BANK_REQUEST =
|
462
462
|
T.let(
|
463
463
|
:BANK_REQUEST,
|
464
|
-
Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::
|
464
|
+
Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::Substatus::TaggedSymbol
|
465
465
|
)
|
466
466
|
DELINQUENT =
|
467
467
|
T.let(
|
468
468
|
:DELINQUENT,
|
469
|
-
Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::
|
469
|
+
Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::Substatus::TaggedSymbol
|
470
470
|
)
|
471
471
|
|
472
472
|
sig do
|
473
473
|
override
|
474
474
|
.returns(
|
475
475
|
T::Array[
|
476
|
-
Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::
|
476
|
+
Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::Substatus::TaggedSymbol
|
477
477
|
]
|
478
478
|
)
|
479
479
|
end
|
@@ -309,27 +309,27 @@ module Lithic
|
|
309
309
|
end
|
310
310
|
attr_accessor :status
|
311
311
|
|
312
|
-
#
|
312
|
+
# Substatus for the financial account
|
313
313
|
sig do
|
314
314
|
returns(
|
315
315
|
T.nilable(
|
316
|
-
Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::
|
316
|
+
Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::Substatus::TaggedSymbol
|
317
317
|
)
|
318
318
|
)
|
319
319
|
end
|
320
|
-
attr_accessor :
|
320
|
+
attr_accessor :substatus
|
321
321
|
|
322
322
|
# Information about the financial account state
|
323
323
|
sig do
|
324
324
|
params(
|
325
325
|
status: Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::Status::OrSymbol,
|
326
|
-
|
327
|
-
Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::
|
326
|
+
substatus: T.nilable(
|
327
|
+
Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::Substatus::OrSymbol
|
328
328
|
)
|
329
329
|
)
|
330
330
|
.returns(T.attached_class)
|
331
331
|
end
|
332
|
-
def self.new(status:,
|
332
|
+
def self.new(status:, substatus: nil)
|
333
333
|
end
|
334
334
|
|
335
335
|
sig do
|
@@ -337,8 +337,8 @@ module Lithic
|
|
337
337
|
.returns(
|
338
338
|
{
|
339
339
|
status: Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::Status::TaggedSymbol,
|
340
|
-
|
341
|
-
Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::
|
340
|
+
substatus: T.nilable(
|
341
|
+
Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::Substatus::TaggedSymbol
|
342
342
|
)
|
343
343
|
}
|
344
344
|
)
|
@@ -394,54 +394,54 @@ module Lithic
|
|
394
394
|
end
|
395
395
|
end
|
396
396
|
|
397
|
-
#
|
398
|
-
module
|
397
|
+
# Substatus for the financial account
|
398
|
+
module Substatus
|
399
399
|
extend Lithic::Internal::Type::Enum
|
400
400
|
|
401
401
|
TaggedSymbol =
|
402
402
|
T.type_alias do
|
403
|
-
T.all(Symbol, Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::
|
403
|
+
T.all(Symbol, Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::Substatus)
|
404
404
|
end
|
405
405
|
OrSymbol =
|
406
406
|
T.type_alias do
|
407
407
|
T.any(
|
408
408
|
Symbol,
|
409
409
|
String,
|
410
|
-
Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::
|
410
|
+
Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::Substatus::TaggedSymbol
|
411
411
|
)
|
412
412
|
end
|
413
413
|
|
414
414
|
CHARGED_OFF_DELINQUENT =
|
415
415
|
T.let(
|
416
416
|
:CHARGED_OFF_DELINQUENT,
|
417
|
-
Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::
|
417
|
+
Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::Substatus::TaggedSymbol
|
418
418
|
)
|
419
419
|
CHARGED_OFF_FRAUD =
|
420
420
|
T.let(
|
421
421
|
:CHARGED_OFF_FRAUD,
|
422
|
-
Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::
|
422
|
+
Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::Substatus::TaggedSymbol
|
423
423
|
)
|
424
424
|
END_USER_REQUEST =
|
425
425
|
T.let(
|
426
426
|
:END_USER_REQUEST,
|
427
|
-
Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::
|
427
|
+
Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::Substatus::TaggedSymbol
|
428
428
|
)
|
429
429
|
BANK_REQUEST =
|
430
430
|
T.let(
|
431
431
|
:BANK_REQUEST,
|
432
|
-
Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::
|
432
|
+
Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::Substatus::TaggedSymbol
|
433
433
|
)
|
434
434
|
DELINQUENT =
|
435
435
|
T.let(
|
436
436
|
:DELINQUENT,
|
437
|
-
Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::
|
437
|
+
Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::Substatus::TaggedSymbol
|
438
438
|
)
|
439
439
|
|
440
440
|
sig do
|
441
441
|
override
|
442
442
|
.returns(
|
443
443
|
T::Array[
|
444
|
-
Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::
|
444
|
+
Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::Substatus::TaggedSymbol
|
445
445
|
]
|
446
446
|
)
|
447
447
|
end
|