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
@@ -0,0 +1,22 @@
|
|
1
|
+
module Lithic
|
2
|
+
module Models
|
3
|
+
module Events
|
4
|
+
type event_subscription_resend_params =
|
5
|
+
{ event_token: String } & Lithic::Internal::Type::request_parameters
|
6
|
+
|
7
|
+
class EventSubscriptionResendParams < Lithic::Internal::Type::BaseModel
|
8
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
9
|
+
include Lithic::Internal::Type::RequestParameters
|
10
|
+
|
11
|
+
attr_accessor event_token: String
|
12
|
+
|
13
|
+
def initialize: (
|
14
|
+
event_token: String,
|
15
|
+
?request_options: Lithic::request_opts
|
16
|
+
) -> void
|
17
|
+
|
18
|
+
def to_hash: -> Lithic::Models::Events::event_subscription_resend_params
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -13,7 +13,7 @@ module Lithic
|
|
13
13
|
updated: Time,
|
14
14
|
account_number: String?,
|
15
15
|
routing_number: String?,
|
16
|
-
|
16
|
+
substatus: Lithic::Models::FinancialAccount::substatus?
|
17
17
|
}
|
18
18
|
|
19
19
|
class FinancialAccount < Lithic::Internal::Type::BaseModel
|
@@ -39,7 +39,7 @@ module Lithic
|
|
39
39
|
|
40
40
|
attr_accessor routing_number: String?
|
41
41
|
|
42
|
-
attr_accessor
|
42
|
+
attr_accessor substatus: Lithic::Models::FinancialAccount::substatus?
|
43
43
|
|
44
44
|
def initialize: (
|
45
45
|
token: String,
|
@@ -53,7 +53,7 @@ module Lithic
|
|
53
53
|
updated: Time,
|
54
54
|
?account_number: String?,
|
55
55
|
?routing_number: String?,
|
56
|
-
?
|
56
|
+
?substatus: Lithic::Models::FinancialAccount::substatus?
|
57
57
|
) -> void
|
58
58
|
|
59
59
|
def to_hash: -> Lithic::Models::financial_account
|
@@ -156,14 +156,14 @@ module Lithic
|
|
156
156
|
def self?.values: -> ::Array[Lithic::Models::FinancialAccount::type_]
|
157
157
|
end
|
158
158
|
|
159
|
-
type
|
159
|
+
type substatus =
|
160
160
|
:CHARGED_OFF_DELINQUENT
|
161
161
|
| :CHARGED_OFF_FRAUD
|
162
162
|
| :END_USER_REQUEST
|
163
163
|
| :BANK_REQUEST
|
164
164
|
| :DELINQUENT
|
165
165
|
|
166
|
-
module
|
166
|
+
module Substatus
|
167
167
|
extend Lithic::Internal::Type::Enum
|
168
168
|
|
169
169
|
CHARGED_OFF_DELINQUENT: :CHARGED_OFF_DELINQUENT
|
@@ -172,7 +172,7 @@ module Lithic
|
|
172
172
|
BANK_REQUEST: :BANK_REQUEST
|
173
173
|
DELINQUENT: :DELINQUENT
|
174
174
|
|
175
|
-
def self?.values: -> ::Array[Lithic::Models::FinancialAccount::
|
175
|
+
def self?.values: -> ::Array[Lithic::Models::FinancialAccount::substatus]
|
176
176
|
end
|
177
177
|
end
|
178
178
|
end
|
@@ -3,7 +3,7 @@ module Lithic
|
|
3
3
|
type financial_account_update_status_params =
|
4
4
|
{
|
5
5
|
status: Lithic::Models::FinancialAccountUpdateStatusParams::status,
|
6
|
-
|
6
|
+
substatus: Lithic::Models::FinancialAccountUpdateStatusParams::substatus?
|
7
7
|
}
|
8
8
|
& Lithic::Internal::Type::request_parameters
|
9
9
|
|
@@ -13,11 +13,11 @@ module Lithic
|
|
13
13
|
|
14
14
|
attr_accessor status: Lithic::Models::FinancialAccountUpdateStatusParams::status
|
15
15
|
|
16
|
-
attr_accessor
|
16
|
+
attr_accessor substatus: Lithic::Models::FinancialAccountUpdateStatusParams::substatus?
|
17
17
|
|
18
18
|
def initialize: (
|
19
19
|
status: Lithic::Models::FinancialAccountUpdateStatusParams::status,
|
20
|
-
|
20
|
+
substatus: Lithic::Models::FinancialAccountUpdateStatusParams::substatus?,
|
21
21
|
?request_options: Lithic::request_opts
|
22
22
|
) -> void
|
23
23
|
|
@@ -36,13 +36,13 @@ module Lithic
|
|
36
36
|
def self?.values: -> ::Array[Lithic::Models::FinancialAccountUpdateStatusParams::status]
|
37
37
|
end
|
38
38
|
|
39
|
-
type
|
39
|
+
type substatus =
|
40
40
|
:CHARGED_OFF_FRAUD
|
41
41
|
| :END_USER_REQUEST
|
42
42
|
| :BANK_REQUEST
|
43
43
|
| :CHARGED_OFF_DELINQUENT
|
44
44
|
|
45
|
-
module
|
45
|
+
module Substatus
|
46
46
|
extend Lithic::Internal::Type::Enum
|
47
47
|
|
48
48
|
CHARGED_OFF_FRAUD: :CHARGED_OFF_FRAUD
|
@@ -50,7 +50,7 @@ module Lithic
|
|
50
50
|
BANK_REQUEST: :BANK_REQUEST
|
51
51
|
CHARGED_OFF_DELINQUENT: :CHARGED_OFF_DELINQUENT
|
52
52
|
|
53
|
-
def self?.values: -> ::Array[Lithic::Models::FinancialAccountUpdateStatusParams::
|
53
|
+
def self?.values: -> ::Array[Lithic::Models::FinancialAccountUpdateStatusParams::substatus]
|
54
54
|
end
|
55
55
|
end
|
56
56
|
end
|
@@ -146,17 +146,17 @@ module Lithic
|
|
146
146
|
type financial_account_state =
|
147
147
|
{
|
148
148
|
status: Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::status,
|
149
|
-
|
149
|
+
substatus: Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::substatus?
|
150
150
|
}
|
151
151
|
|
152
152
|
class FinancialAccountState < Lithic::Internal::Type::BaseModel
|
153
153
|
attr_accessor status: Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::status
|
154
154
|
|
155
|
-
attr_accessor
|
155
|
+
attr_accessor substatus: Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::substatus?
|
156
156
|
|
157
157
|
def initialize: (
|
158
158
|
status: Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::status,
|
159
|
-
?
|
159
|
+
?substatus: Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::substatus?
|
160
160
|
) -> void
|
161
161
|
|
162
162
|
def to_hash: -> Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::financial_account_state
|
@@ -174,14 +174,14 @@ module Lithic
|
|
174
174
|
def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::status]
|
175
175
|
end
|
176
176
|
|
177
|
-
type
|
177
|
+
type substatus =
|
178
178
|
:CHARGED_OFF_DELINQUENT
|
179
179
|
| :CHARGED_OFF_FRAUD
|
180
180
|
| :END_USER_REQUEST
|
181
181
|
| :BANK_REQUEST
|
182
182
|
| :DELINQUENT
|
183
183
|
|
184
|
-
module
|
184
|
+
module Substatus
|
185
185
|
extend Lithic::Internal::Type::Enum
|
186
186
|
|
187
187
|
CHARGED_OFF_DELINQUENT: :CHARGED_OFF_DELINQUENT
|
@@ -190,7 +190,7 @@ module Lithic
|
|
190
190
|
BANK_REQUEST: :BANK_REQUEST
|
191
191
|
DELINQUENT: :DELINQUENT
|
192
192
|
|
193
|
-
def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::
|
193
|
+
def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::LoanTape::AccountStanding::FinancialAccountState::substatus]
|
194
194
|
end
|
195
195
|
end
|
196
196
|
|
@@ -144,17 +144,17 @@ module Lithic
|
|
144
144
|
type financial_account_state =
|
145
145
|
{
|
146
146
|
status: Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::status,
|
147
|
-
|
147
|
+
substatus: Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::substatus?
|
148
148
|
}
|
149
149
|
|
150
150
|
class FinancialAccountState < Lithic::Internal::Type::BaseModel
|
151
151
|
attr_accessor status: Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::status
|
152
152
|
|
153
|
-
attr_accessor
|
153
|
+
attr_accessor substatus: Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::substatus?
|
154
154
|
|
155
155
|
def initialize: (
|
156
156
|
status: Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::status,
|
157
|
-
?
|
157
|
+
?substatus: Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::substatus?
|
158
158
|
) -> void
|
159
159
|
|
160
160
|
def to_hash: -> Lithic::Models::FinancialAccounts::Statement::AccountStanding::financial_account_state
|
@@ -172,14 +172,14 @@ module Lithic
|
|
172
172
|
def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::status]
|
173
173
|
end
|
174
174
|
|
175
|
-
type
|
175
|
+
type substatus =
|
176
176
|
:CHARGED_OFF_DELINQUENT
|
177
177
|
| :CHARGED_OFF_FRAUD
|
178
178
|
| :END_USER_REQUEST
|
179
179
|
| :BANK_REQUEST
|
180
180
|
| :DELINQUENT
|
181
181
|
|
182
|
-
module
|
182
|
+
module Substatus
|
183
183
|
extend Lithic::Internal::Type::Enum
|
184
184
|
|
185
185
|
CHARGED_OFF_DELINQUENT: :CHARGED_OFF_DELINQUENT
|
@@ -188,7 +188,7 @@ module Lithic
|
|
188
188
|
BANK_REQUEST: :BANK_REQUEST
|
189
189
|
DELINQUENT: :DELINQUENT
|
190
190
|
|
191
|
-
def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::
|
191
|
+
def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::Statement::AccountStanding::FinancialAccountState::substatus]
|
192
192
|
end
|
193
193
|
end
|
194
194
|
|
data/sig/lithic/models/kyb.rbs
CHANGED
@@ -2,21 +2,19 @@ module Lithic
|
|
2
2
|
module Models
|
3
3
|
type kyb =
|
4
4
|
{
|
5
|
-
beneficial_owner_entities: ::Array[Lithic::Models::KYB::BeneficialOwnerEntity],
|
6
5
|
beneficial_owner_individuals: ::Array[Lithic::Models::KYB::BeneficialOwnerIndividual],
|
7
6
|
business_entity: Lithic::Models::KYB::BusinessEntity,
|
8
7
|
control_person: Lithic::Models::KYB::ControlPerson,
|
9
8
|
nature_of_business: String,
|
10
9
|
tos_timestamp: String,
|
11
10
|
workflow: Lithic::Models::KYB::workflow,
|
11
|
+
beneficial_owner_entities: ::Array[Lithic::Models::KYB::BeneficialOwnerEntity],
|
12
12
|
external_id: String,
|
13
13
|
kyb_passed_timestamp: String,
|
14
14
|
website_url: String
|
15
15
|
}
|
16
16
|
|
17
17
|
class KYB < Lithic::Internal::Type::BaseModel
|
18
|
-
attr_accessor beneficial_owner_entities: ::Array[Lithic::Models::KYB::BeneficialOwnerEntity]
|
19
|
-
|
20
18
|
attr_accessor beneficial_owner_individuals: ::Array[Lithic::Models::KYB::BeneficialOwnerIndividual]
|
21
19
|
|
22
20
|
attr_accessor business_entity: Lithic::Models::KYB::BusinessEntity
|
@@ -29,6 +27,12 @@ module Lithic
|
|
29
27
|
|
30
28
|
attr_accessor workflow: Lithic::Models::KYB::workflow
|
31
29
|
|
30
|
+
attr_reader beneficial_owner_entities: ::Array[Lithic::Models::KYB::BeneficialOwnerEntity]?
|
31
|
+
|
32
|
+
def beneficial_owner_entities=: (
|
33
|
+
::Array[Lithic::Models::KYB::BeneficialOwnerEntity]
|
34
|
+
) -> ::Array[Lithic::Models::KYB::BeneficialOwnerEntity]
|
35
|
+
|
32
36
|
attr_reader external_id: String?
|
33
37
|
|
34
38
|
def external_id=: (String) -> String
|
@@ -42,13 +46,13 @@ module Lithic
|
|
42
46
|
def website_url=: (String) -> String
|
43
47
|
|
44
48
|
def initialize: (
|
45
|
-
beneficial_owner_entities: ::Array[Lithic::Models::KYB::BeneficialOwnerEntity],
|
46
49
|
beneficial_owner_individuals: ::Array[Lithic::Models::KYB::BeneficialOwnerIndividual],
|
47
50
|
business_entity: Lithic::Models::KYB::BusinessEntity,
|
48
51
|
control_person: Lithic::Models::KYB::ControlPerson,
|
49
52
|
nature_of_business: String,
|
50
53
|
tos_timestamp: String,
|
51
54
|
workflow: Lithic::Models::KYB::workflow,
|
55
|
+
?beneficial_owner_entities: ::Array[Lithic::Models::KYB::BeneficialOwnerEntity],
|
52
56
|
?external_id: String,
|
53
57
|
?kyb_passed_timestamp: String,
|
54
58
|
?website_url: String
|
@@ -56,45 +60,6 @@ module Lithic
|
|
56
60
|
|
57
61
|
def to_hash: -> Lithic::Models::kyb
|
58
62
|
|
59
|
-
type beneficial_owner_entity =
|
60
|
-
{
|
61
|
-
address: Lithic::Models::Address,
|
62
|
-
government_id: String,
|
63
|
-
legal_business_name: String,
|
64
|
-
phone_numbers: ::Array[String],
|
65
|
-
dba_business_name: String,
|
66
|
-
parent_company: String
|
67
|
-
}
|
68
|
-
|
69
|
-
class BeneficialOwnerEntity < Lithic::Internal::Type::BaseModel
|
70
|
-
attr_accessor address: Lithic::Models::Address
|
71
|
-
|
72
|
-
attr_accessor government_id: String
|
73
|
-
|
74
|
-
attr_accessor legal_business_name: String
|
75
|
-
|
76
|
-
attr_accessor phone_numbers: ::Array[String]
|
77
|
-
|
78
|
-
attr_reader dba_business_name: String?
|
79
|
-
|
80
|
-
def dba_business_name=: (String) -> String
|
81
|
-
|
82
|
-
attr_reader parent_company: String?
|
83
|
-
|
84
|
-
def parent_company=: (String) -> String
|
85
|
-
|
86
|
-
def initialize: (
|
87
|
-
address: Lithic::Models::Address,
|
88
|
-
government_id: String,
|
89
|
-
legal_business_name: String,
|
90
|
-
phone_numbers: ::Array[String],
|
91
|
-
?dba_business_name: String,
|
92
|
-
?parent_company: String
|
93
|
-
) -> void
|
94
|
-
|
95
|
-
def to_hash: -> Lithic::Models::KYB::beneficial_owner_entity
|
96
|
-
end
|
97
|
-
|
98
63
|
type beneficial_owner_individual =
|
99
64
|
{
|
100
65
|
address: Lithic::Models::Address,
|
@@ -226,6 +191,45 @@ module Lithic
|
|
226
191
|
|
227
192
|
def self?.values: -> ::Array[Lithic::Models::KYB::workflow]
|
228
193
|
end
|
194
|
+
|
195
|
+
type beneficial_owner_entity =
|
196
|
+
{
|
197
|
+
address: Lithic::Models::Address,
|
198
|
+
government_id: String,
|
199
|
+
legal_business_name: String,
|
200
|
+
phone_numbers: ::Array[String],
|
201
|
+
dba_business_name: String,
|
202
|
+
parent_company: String
|
203
|
+
}
|
204
|
+
|
205
|
+
class BeneficialOwnerEntity < Lithic::Internal::Type::BaseModel
|
206
|
+
attr_accessor address: Lithic::Models::Address
|
207
|
+
|
208
|
+
attr_accessor government_id: String
|
209
|
+
|
210
|
+
attr_accessor legal_business_name: String
|
211
|
+
|
212
|
+
attr_accessor phone_numbers: ::Array[String]
|
213
|
+
|
214
|
+
attr_reader dba_business_name: String?
|
215
|
+
|
216
|
+
def dba_business_name=: (String) -> String
|
217
|
+
|
218
|
+
attr_reader parent_company: String?
|
219
|
+
|
220
|
+
def parent_company=: (String) -> String
|
221
|
+
|
222
|
+
def initialize: (
|
223
|
+
address: Lithic::Models::Address,
|
224
|
+
government_id: String,
|
225
|
+
legal_business_name: String,
|
226
|
+
phone_numbers: ::Array[String],
|
227
|
+
?dba_business_name: String,
|
228
|
+
?parent_company: String
|
229
|
+
) -> void
|
230
|
+
|
231
|
+
def to_hash: -> Lithic::Models::KYB::beneficial_owner_entity
|
232
|
+
end
|
229
233
|
end
|
230
234
|
end
|
231
235
|
end
|
@@ -2,7 +2,6 @@ module Lithic
|
|
2
2
|
module Resources
|
3
3
|
class AccountHolders
|
4
4
|
def create: (
|
5
|
-
beneficial_owner_entities: ::Array[Lithic::Models::AccountHolderCreateParams::BeneficialOwnerEntity],
|
6
5
|
beneficial_owner_individuals: ::Array[Lithic::Models::AccountHolderCreateParams::BeneficialOwnerIndividual],
|
7
6
|
business_entity: Lithic::Models::AccountHolderCreateParams::BusinessEntity,
|
8
7
|
control_person: Lithic::Models::AccountHolderCreateParams::ControlPerson,
|
@@ -16,6 +15,7 @@ module Lithic
|
|
16
15
|
kyc_exemption_type: Lithic::Models::AccountHolderCreateParams::kyc_exemption_type,
|
17
16
|
last_name: String,
|
18
17
|
phone_number: String,
|
18
|
+
?beneficial_owner_entities: ::Array[Lithic::Models::AccountHolderCreateParams::BeneficialOwnerEntity],
|
19
19
|
?external_id: String,
|
20
20
|
?kyb_passed_timestamp: String,
|
21
21
|
?website_url: String,
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module Lithic
|
2
|
+
module Resources
|
3
|
+
class Events
|
4
|
+
class EventSubscriptions
|
5
|
+
def resend: (
|
6
|
+
String event_subscription_token,
|
7
|
+
event_token: String,
|
8
|
+
?request_options: Lithic::request_opts
|
9
|
+
) -> nil
|
10
|
+
|
11
|
+
def initialize: (client: Lithic::Client) -> void
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -41,7 +41,7 @@ module Lithic
|
|
41
41
|
def update_status: (
|
42
42
|
String financial_account_token,
|
43
43
|
status: Lithic::Models::FinancialAccountUpdateStatusParams::status,
|
44
|
-
|
44
|
+
substatus: Lithic::Models::FinancialAccountUpdateStatusParams::substatus?,
|
45
45
|
?request_options: Lithic::request_opts
|
46
46
|
) -> Lithic::Models::FinancialAccount
|
47
47
|
|
data/sig/lithic/version.rbs
CHANGED
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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lithic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|
@@ -43,7 +43,7 @@ files:
|
|
43
43
|
- lib/lithic/internal/type/array_of.rb
|
44
44
|
- lib/lithic/internal/type/base_model.rb
|
45
45
|
- lib/lithic/internal/type/base_page.rb
|
46
|
-
- lib/lithic/internal/type/
|
46
|
+
- lib/lithic/internal/type/boolean.rb
|
47
47
|
- lib/lithic/internal/type/converter.rb
|
48
48
|
- lib/lithic/internal/type/enum.rb
|
49
49
|
- lib/lithic/internal/type/hash_of.rb
|
@@ -164,6 +164,7 @@ files:
|
|
164
164
|
- lib/lithic/models/event_list_params.rb
|
165
165
|
- lib/lithic/models/event_retrieve_params.rb
|
166
166
|
- lib/lithic/models/event_subscription.rb
|
167
|
+
- lib/lithic/models/events/event_subscription_resend_params.rb
|
167
168
|
- lib/lithic/models/events/subscription_create_params.rb
|
168
169
|
- lib/lithic/models/events/subscription_delete_params.rb
|
169
170
|
- lib/lithic/models/events/subscription_list_attempts_params.rb
|
@@ -340,6 +341,7 @@ files:
|
|
340
341
|
- lib/lithic/resources/digital_card_art.rb
|
341
342
|
- lib/lithic/resources/disputes.rb
|
342
343
|
- lib/lithic/resources/events.rb
|
344
|
+
- lib/lithic/resources/events/event_subscriptions.rb
|
343
345
|
- lib/lithic/resources/events/subscriptions.rb
|
344
346
|
- lib/lithic/resources/external_bank_accounts.rb
|
345
347
|
- lib/lithic/resources/external_bank_accounts/micro_deposits.rb
|
@@ -379,7 +381,7 @@ files:
|
|
379
381
|
- rbi/lib/lithic/internal/type/array_of.rbi
|
380
382
|
- rbi/lib/lithic/internal/type/base_model.rbi
|
381
383
|
- rbi/lib/lithic/internal/type/base_page.rbi
|
382
|
-
- rbi/lib/lithic/internal/type/
|
384
|
+
- rbi/lib/lithic/internal/type/boolean.rbi
|
383
385
|
- rbi/lib/lithic/internal/type/converter.rbi
|
384
386
|
- rbi/lib/lithic/internal/type/enum.rbi
|
385
387
|
- rbi/lib/lithic/internal/type/hash_of.rbi
|
@@ -500,6 +502,7 @@ files:
|
|
500
502
|
- rbi/lib/lithic/models/event_list_params.rbi
|
501
503
|
- rbi/lib/lithic/models/event_retrieve_params.rbi
|
502
504
|
- rbi/lib/lithic/models/event_subscription.rbi
|
505
|
+
- rbi/lib/lithic/models/events/event_subscription_resend_params.rbi
|
503
506
|
- rbi/lib/lithic/models/events/subscription_create_params.rbi
|
504
507
|
- rbi/lib/lithic/models/events/subscription_delete_params.rbi
|
505
508
|
- rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi
|
@@ -676,6 +679,7 @@ files:
|
|
676
679
|
- rbi/lib/lithic/resources/digital_card_art.rbi
|
677
680
|
- rbi/lib/lithic/resources/disputes.rbi
|
678
681
|
- rbi/lib/lithic/resources/events.rbi
|
682
|
+
- rbi/lib/lithic/resources/events/event_subscriptions.rbi
|
679
683
|
- rbi/lib/lithic/resources/events/subscriptions.rbi
|
680
684
|
- rbi/lib/lithic/resources/external_bank_accounts.rbi
|
681
685
|
- rbi/lib/lithic/resources/external_bank_accounts/micro_deposits.rbi
|
@@ -714,7 +718,7 @@ files:
|
|
714
718
|
- sig/lithic/internal/type/array_of.rbs
|
715
719
|
- sig/lithic/internal/type/base_model.rbs
|
716
720
|
- sig/lithic/internal/type/base_page.rbs
|
717
|
-
- sig/lithic/internal/type/
|
721
|
+
- sig/lithic/internal/type/boolean.rbs
|
718
722
|
- sig/lithic/internal/type/converter.rbs
|
719
723
|
- sig/lithic/internal/type/enum.rbs
|
720
724
|
- sig/lithic/internal/type/hash_of.rbs
|
@@ -835,6 +839,7 @@ files:
|
|
835
839
|
- sig/lithic/models/event_list_params.rbs
|
836
840
|
- sig/lithic/models/event_retrieve_params.rbs
|
837
841
|
- sig/lithic/models/event_subscription.rbs
|
842
|
+
- sig/lithic/models/events/event_subscription_resend_params.rbs
|
838
843
|
- sig/lithic/models/events/subscription_create_params.rbs
|
839
844
|
- sig/lithic/models/events/subscription_delete_params.rbs
|
840
845
|
- sig/lithic/models/events/subscription_list_attempts_params.rbs
|
@@ -1011,6 +1016,7 @@ files:
|
|
1011
1016
|
- sig/lithic/resources/digital_card_art.rbs
|
1012
1017
|
- sig/lithic/resources/disputes.rbs
|
1013
1018
|
- sig/lithic/resources/events.rbs
|
1019
|
+
- sig/lithic/resources/events/event_subscriptions.rbs
|
1014
1020
|
- sig/lithic/resources/events/subscriptions.rbs
|
1015
1021
|
- sig/lithic/resources/external_bank_accounts.rbs
|
1016
1022
|
- sig/lithic/resources/external_bank_accounts/micro_deposits.rbs
|