lithic 0.1.0 → 0.3.0
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 +51 -0
- data/README.md +36 -1
- data/lib/lithic/client.rb +9 -10
- data/lib/lithic/errors.rb +15 -0
- data/lib/lithic/internal/transport/pooled_net_requester.rb +12 -10
- data/lib/lithic/internal/util.rb +7 -2
- data/lib/lithic/models/account_holder_created_webhook_event.rb +75 -0
- data/lib/lithic/models/account_holder_document_updated_webhook_event.rb +191 -0
- data/lib/lithic/models/account_holder_updated_webhook_event.rb +702 -0
- data/lib/lithic/models/account_holder_verification_webhook_event.rb +69 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +5 -0
- data/lib/lithic/models/auth_rules_backtest_report_created_webhook_event.rb +16 -0
- data/lib/lithic/models/balance_updated_webhook_event.rb +23 -0
- data/lib/lithic/models/book_transfer_retry_params.rb +26 -0
- data/lib/lithic/models/book_transfer_transaction_created_webhook_event.rb +18 -0
- data/lib/lithic/models/book_transfer_transaction_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/card_authorization_approval_request_webhook_event.rb +1032 -0
- data/lib/lithic/models/card_converted_webhook_event.rb +24 -0
- data/lib/lithic/models/card_created_webhook_event.rb +32 -0
- data/lib/lithic/models/card_reissued_webhook_event.rb +24 -0
- data/lib/lithic/models/card_renewed_webhook_event.rb +56 -0
- data/lib/lithic/models/card_shipped_webhook_event.rb +70 -0
- data/lib/lithic/models/card_transaction_enhanced_data_created_webhook_event.rb +16 -0
- data/lib/lithic/models/card_transaction_enhanced_data_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/card_transaction_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rb +253 -0
- data/lib/lithic/models/digital_wallet_tokenization_result_webhook_event.rb +145 -0
- data/lib/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rb +100 -0
- data/lib/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rb +108 -0
- data/lib/lithic/models/digital_wallet_tokenization_updated_webhook_event.rb +47 -0
- data/lib/lithic/models/dispute_evidence_upload_failed_webhook_event.rb +18 -0
- data/lib/lithic/models/dispute_transaction_created_webhook_event.rb +18 -0
- data/lib/lithic/models/dispute_transaction_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/dispute_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/external_bank_account_created_webhook_event.rb +16 -0
- data/lib/lithic/models/external_bank_account_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/external_payment_create_params.rb +15 -1
- data/lib/lithic/models/external_payment_created_webhook_event.rb +16 -0
- data/lib/lithic/models/external_payment_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/financial_account.rb +33 -25
- data/lib/lithic/models/financial_account_created_webhook_event.rb +16 -0
- data/lib/lithic/models/financial_account_update_status_params.rb +9 -1
- data/lib/lithic/models/financial_account_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +52 -3
- data/lib/lithic/models/funding_event_created_webhook_event.rb +16 -0
- data/lib/lithic/models/internal_transaction_created_webhook_event.rb +16 -0
- data/lib/lithic/models/internal_transaction_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/loan_tape_created_webhook_event.rb +16 -0
- data/lib/lithic/models/loan_tape_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/management_operation_create_params.rb +6 -1
- data/lib/lithic/models/management_operation_created_webhook_event.rb +16 -0
- data/lib/lithic/models/management_operation_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/network_total_created_webhook_event.rb +16 -0
- data/lib/lithic/models/network_total_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/parsed_webhook_event.rb +817 -0
- data/lib/lithic/models/payment.rb +10 -1
- data/lib/lithic/models/payment_transaction_created_webhook_event.rb +18 -0
- data/lib/lithic/models/payment_transaction_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/settlement_report_updated_webhook_event.rb +16 -0
- data/lib/lithic/models/statements_created_webhook_event.rb +16 -0
- data/lib/lithic/models/three_ds_authentication_approval_request_webhook_event.rb +17 -0
- data/lib/lithic/models/three_ds_authentication_challenge_webhook_event.rb +89 -0
- data/lib/lithic/models/three_ds_authentication_created_webhook_event.rb +18 -0
- data/lib/lithic/models/three_ds_authentication_updated_webhook_event.rb +18 -0
- data/lib/lithic/models/tokenization_approval_request_webhook_event.rb +249 -0
- data/lib/lithic/models/tokenization_decisioning_request_webhook_event.rb +159 -0
- data/lib/lithic/models/tokenization_result_webhook_event.rb +141 -0
- data/lib/lithic/models/tokenization_two_factor_authentication_code_sent_webhook_event.rb +100 -0
- data/lib/lithic/models/tokenization_two_factor_authentication_code_webhook_event.rb +108 -0
- data/lib/lithic/models/tokenization_updated_webhook_event.rb +47 -0
- data/lib/lithic/models/transaction.rb +2 -0
- data/lib/lithic/models/transfer_limit_list_params.rb +22 -0
- data/lib/lithic/models/transfer_limits_response.rb +274 -0
- data/lib/lithic/models/webhook_parsed_params.rb +14 -0
- data/lib/lithic/models.rb +130 -4
- data/lib/lithic/resources/book_transfers.rb +27 -0
- data/lib/lithic/resources/cards.rb +1 -5
- data/lib/lithic/resources/external_payments.rb +13 -1
- data/lib/lithic/resources/financial_accounts.rb +3 -1
- data/lib/lithic/resources/management_operations.rb +4 -1
- data/lib/lithic/resources/transfer_limits.rb +37 -0
- data/lib/lithic/resources/webhooks.rb +88 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +79 -23
- data/rbi/lithic/client.rbi +6 -3
- data/rbi/lithic/models/account_holder_created_webhook_event.rbi +149 -0
- data/rbi/lithic/models/account_holder_document_updated_webhook_event.rbi +479 -0
- data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +1274 -0
- data/rbi/lithic/models/account_holder_verification_webhook_event.rbi +143 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +11 -0
- data/rbi/lithic/models/auth_rules_backtest_report_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/balance_updated_webhook_event.rbi +43 -0
- data/rbi/lithic/models/book_transfer_retry_params.rbi +42 -0
- data/rbi/lithic/models/book_transfer_transaction_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/book_transfer_transaction_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/card_authorization_approval_request_webhook_event.rbi +2367 -0
- data/rbi/lithic/models/card_converted_webhook_event.rbi +35 -0
- data/rbi/lithic/models/card_created_webhook_event.rbi +53 -0
- data/rbi/lithic/models/card_reissued_webhook_event.rbi +38 -0
- data/rbi/lithic/models/card_renewed_webhook_event.rbi +92 -0
- data/rbi/lithic/models/card_shipped_webhook_event.rbi +150 -0
- data/rbi/lithic/models/card_transaction_enhanced_data_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/card_transaction_enhanced_data_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/card_transaction_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/digital_wallet_token_metadata.rbi +2 -2
- data/rbi/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbi +548 -0
- data/rbi/lithic/models/digital_wallet_tokenization_result_webhook_event.rbi +295 -0
- data/rbi/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rbi +186 -0
- data/rbi/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rbi +194 -0
- data/rbi/lithic/models/digital_wallet_tokenization_updated_webhook_event.rbi +73 -0
- data/rbi/lithic/models/dispute_evidence_upload_failed_webhook_event.rbi +31 -0
- data/rbi/lithic/models/dispute_transaction_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/dispute_transaction_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/dispute_updated_webhook_event.rbi +28 -0
- data/rbi/lithic/models/external_bank_account_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/external_bank_account_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/external_payment_create_params.rbi +4 -0
- data/rbi/lithic/models/external_payment_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/external_payment_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/financial_account.rbi +62 -54
- data/rbi/lithic/models/financial_account_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/financial_account_update_status_params.rbi +11 -0
- data/rbi/lithic/models/financial_account_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +93 -4
- data/rbi/lithic/models/funding_event_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/internal_transaction.rbi +15 -10
- data/rbi/lithic/models/internal_transaction_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/internal_transaction_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/loan_tape_created_webhook_event.rbi +27 -0
- data/rbi/lithic/models/loan_tape_updated_webhook_event.rbi +27 -0
- data/rbi/lithic/models/management_operation_create_params.rbi +4 -0
- data/rbi/lithic/models/management_operation_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/management_operation_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/network_total_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/network_total_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +1310 -0
- data/rbi/lithic/models/payment.rbi +13 -3
- data/rbi/lithic/models/payment_transaction_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/payment_transaction_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/settlement_report_updated_webhook_event.rbi +30 -0
- data/rbi/lithic/models/statements_created_webhook_event.rbi +30 -0
- data/rbi/lithic/models/three_ds_authentication_approval_request_webhook_event.rbi +27 -0
- data/rbi/lithic/models/three_ds_authentication_challenge_webhook_event.rbi +175 -0
- data/rbi/lithic/models/three_ds_authentication_created_webhook_event.rbi +31 -0
- data/rbi/lithic/models/three_ds_authentication_updated_webhook_event.rbi +31 -0
- data/rbi/lithic/models/tokenization_approval_request_webhook_event.rbi +548 -0
- data/rbi/lithic/models/tokenization_decisioning_request_webhook_event.rbi +333 -0
- data/rbi/lithic/models/tokenization_result_webhook_event.rbi +295 -0
- data/rbi/lithic/models/tokenization_two_factor_authentication_code_sent_webhook_event.rbi +186 -0
- data/rbi/lithic/models/tokenization_two_factor_authentication_code_webhook_event.rbi +194 -0
- data/rbi/lithic/models/tokenization_updated_webhook_event.rbi +73 -0
- data/rbi/lithic/models/transaction.rbi +10 -0
- data/rbi/lithic/models/transfer_limit_list_params.rbi +43 -0
- data/rbi/lithic/models/transfer_limits_response.rbi +604 -0
- data/rbi/lithic/models/webhook_parsed_params.rbi +27 -0
- data/rbi/lithic/models.rbi +165 -4
- data/rbi/lithic/resources/book_transfers.rbi +18 -0
- data/rbi/lithic/resources/cards.rbi +1 -4
- data/rbi/lithic/resources/external_payments.rbi +2 -0
- data/rbi/lithic/resources/financial_accounts.rbi +3 -0
- data/rbi/lithic/resources/management_operations.rbi +2 -0
- data/rbi/lithic/resources/transfer_limits.rbi +28 -0
- data/rbi/lithic/resources/webhooks.rbi +36 -0
- data/sig/lithic/client.rbs +4 -2
- data/sig/lithic/models/account_holder_created_webhook_event.rbs +77 -0
- data/sig/lithic/models/account_holder_document_updated_webhook_event.rbs +219 -0
- data/sig/lithic/models/account_holder_updated_webhook_event.rbs +587 -0
- data/sig/lithic/models/account_holder_verification_webhook_event.rbs +69 -0
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules_backtest_report_created_webhook_event.rbs +20 -0
- data/sig/lithic/models/balance_updated_webhook_event.rbs +25 -0
- data/sig/lithic/models/book_transfer_retry_params.rbs +23 -0
- data/sig/lithic/models/book_transfer_transaction_created_webhook_event.rbs +20 -0
- data/sig/lithic/models/book_transfer_transaction_updated_webhook_event.rbs +20 -0
- data/sig/lithic/models/card_authorization_approval_request_webhook_event.rbs +886 -0
- data/sig/lithic/models/card_converted_webhook_event.rbs +19 -0
- data/sig/lithic/models/card_created_webhook_event.rbs +30 -0
- data/sig/lithic/models/card_reissued_webhook_event.rbs +21 -0
- data/sig/lithic/models/card_renewed_webhook_event.rbs +55 -0
- data/sig/lithic/models/card_shipped_webhook_event.rbs +71 -0
- data/sig/lithic/models/card_transaction_enhanced_data_created_webhook_event.rbs +20 -0
- data/sig/lithic/models/card_transaction_enhanced_data_updated_webhook_event.rbs +20 -0
- data/sig/lithic/models/card_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/digital_wallet_tokenization_approval_request_webhook_event.rbs +223 -0
- data/sig/lithic/models/digital_wallet_tokenization_result_webhook_event.rbs +133 -0
- data/sig/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event.rbs +78 -0
- data/sig/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rbs +83 -0
- data/sig/lithic/models/digital_wallet_tokenization_updated_webhook_event.rbs +40 -0
- data/sig/lithic/models/dispute_evidence_upload_failed_webhook_event.rbs +18 -0
- data/sig/lithic/models/dispute_transaction_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/dispute_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/dispute_updated_webhook_event.rbs +15 -0
- data/sig/lithic/models/external_bank_account_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/external_bank_account_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/external_payment_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/external_payment_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/financial_account.rbs +32 -27
- data/sig/lithic/models/financial_account_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/financial_account_update_status_params.rbs +8 -1
- data/sig/lithic/models/financial_account_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +46 -4
- data/sig/lithic/models/funding_event_created_webhook_event.rbs +16 -0
- data/sig/lithic/models/internal_transaction_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/internal_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/loan_tape_created_webhook_event.rbs +15 -0
- data/sig/lithic/models/loan_tape_updated_webhook_event.rbs +15 -0
- data/sig/lithic/models/management_operation_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/management_operation_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/network_total_created_webhook_event.rbs +16 -0
- data/sig/lithic/models/network_total_updated_webhook_event.rbs +16 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +641 -0
- data/sig/lithic/models/payment.rbs +10 -3
- data/sig/lithic/models/payment_transaction_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/payment_transaction_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/settlement_report_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/statements_created_webhook_event.rbs +16 -0
- data/sig/lithic/models/three_ds_authentication_approval_request_webhook_event.rbs +22 -0
- data/sig/lithic/models/three_ds_authentication_challenge_webhook_event.rbs +72 -0
- data/sig/lithic/models/three_ds_authentication_created_webhook_event.rbs +18 -0
- data/sig/lithic/models/three_ds_authentication_updated_webhook_event.rbs +18 -0
- data/sig/lithic/models/tokenization_approval_request_webhook_event.rbs +223 -0
- data/sig/lithic/models/tokenization_decisioning_request_webhook_event.rbs +134 -0
- data/sig/lithic/models/tokenization_result_webhook_event.rbs +133 -0
- data/sig/lithic/models/tokenization_two_factor_authentication_code_sent_webhook_event.rbs +78 -0
- data/sig/lithic/models/tokenization_two_factor_authentication_code_webhook_event.rbs +83 -0
- data/sig/lithic/models/tokenization_updated_webhook_event.rbs +40 -0
- data/sig/lithic/models/transaction.rbs +4 -0
- data/sig/lithic/models/transfer_limit_list_params.rbs +22 -0
- data/sig/lithic/models/transfer_limits_response.rbs +232 -0
- data/sig/lithic/models/webhook_parsed_params.rbs +15 -0
- data/sig/lithic/models.rbs +120 -4
- data/sig/lithic/resources/book_transfers.rbs +6 -0
- data/sig/lithic/resources/cards.rbs +0 -2
- data/sig/lithic/resources/financial_accounts.rbs +1 -0
- data/sig/lithic/resources/transfer_limits.rbs +12 -0
- data/sig/lithic/resources/webhooks.rbs +21 -0
- metadata +188 -20
- data/lib/lithic/models/aggregate_balance.rb +0 -113
- data/lib/lithic/models/aggregate_balance_list_params.rb +0 -35
- data/lib/lithic/models/cards/aggregate_balance_list_params.rb +0 -32
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +0 -92
- data/lib/lithic/resources/aggregate_balances.rb +0 -38
- data/lib/lithic/resources/cards/aggregate_balances.rb +0 -41
- data/rbi/lithic/models/aggregate_balance.rbi +0 -164
- data/rbi/lithic/models/aggregate_balance_list_params.rbi +0 -104
- data/rbi/lithic/models/cards/aggregate_balance_list_params.rbi +0 -62
- data/rbi/lithic/models/cards/aggregate_balance_list_response.rbi +0 -115
- data/rbi/lithic/resources/aggregate_balances.rbi +0 -28
- data/rbi/lithic/resources/cards/aggregate_balances.rbi +0 -35
- data/sig/lithic/models/aggregate_balance.rbs +0 -78
- data/sig/lithic/models/aggregate_balance_list_params.rbs +0 -43
- data/sig/lithic/models/cards/aggregate_balance_list_params.rbs +0 -34
- data/sig/lithic/models/cards/aggregate_balance_list_response.rbs +0 -62
- data/sig/lithic/resources/aggregate_balances.rbs +0 -12
- data/sig/lithic/resources/cards/aggregate_balances.rbs +0 -15
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type digital_wallet_tokenization_two_factor_authentication_code_sent_webhook_event =
|
|
4
|
+
{
|
|
5
|
+
account_token: String,
|
|
6
|
+
activation_method: Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod,
|
|
7
|
+
card_token: String,
|
|
8
|
+
created: Time,
|
|
9
|
+
event_type: :"digital_wallet.tokenization_two_factor_authentication_code_sent",
|
|
10
|
+
tokenization_token: String
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
class DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
14
|
+
attr_accessor account_token: String
|
|
15
|
+
|
|
16
|
+
attr_accessor activation_method: Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod
|
|
17
|
+
|
|
18
|
+
attr_accessor card_token: String
|
|
19
|
+
|
|
20
|
+
attr_accessor created: Time
|
|
21
|
+
|
|
22
|
+
attr_accessor event_type: :"digital_wallet.tokenization_two_factor_authentication_code_sent"
|
|
23
|
+
|
|
24
|
+
attr_accessor tokenization_token: String
|
|
25
|
+
|
|
26
|
+
def initialize: (
|
|
27
|
+
account_token: String,
|
|
28
|
+
activation_method: Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod,
|
|
29
|
+
card_token: String,
|
|
30
|
+
created: Time,
|
|
31
|
+
tokenization_token: String,
|
|
32
|
+
?event_type: :"digital_wallet.tokenization_two_factor_authentication_code_sent"
|
|
33
|
+
) -> void
|
|
34
|
+
|
|
35
|
+
def to_hash: -> {
|
|
36
|
+
account_token: String,
|
|
37
|
+
activation_method: Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod,
|
|
38
|
+
card_token: String,
|
|
39
|
+
created: Time,
|
|
40
|
+
event_type: :"digital_wallet.tokenization_two_factor_authentication_code_sent",
|
|
41
|
+
tokenization_token: String
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
type activation_method =
|
|
45
|
+
{
|
|
46
|
+
type: Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod::type_,
|
|
47
|
+
value: String
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
class ActivationMethod < Lithic::Internal::Type::BaseModel
|
|
51
|
+
attr_accessor type: Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod::type_
|
|
52
|
+
|
|
53
|
+
attr_accessor value: String
|
|
54
|
+
|
|
55
|
+
def initialize: (
|
|
56
|
+
type: Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod::type_,
|
|
57
|
+
value: String
|
|
58
|
+
) -> void
|
|
59
|
+
|
|
60
|
+
def to_hash: -> {
|
|
61
|
+
type: Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod::type_,
|
|
62
|
+
value: String
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
type type_ = :EMAIL_TO_CARDHOLDER_ADDRESS | :TEXT_TO_CARDHOLDER_NUMBER
|
|
66
|
+
|
|
67
|
+
module Type
|
|
68
|
+
extend Lithic::Internal::Type::Enum
|
|
69
|
+
|
|
70
|
+
EMAIL_TO_CARDHOLDER_ADDRESS: :EMAIL_TO_CARDHOLDER_ADDRESS
|
|
71
|
+
TEXT_TO_CARDHOLDER_NUMBER: :TEXT_TO_CARDHOLDER_NUMBER
|
|
72
|
+
|
|
73
|
+
def self?.values: -> ::Array[Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent::ActivationMethod::type_]
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
end
|
data/sig/lithic/models/digital_wallet_tokenization_two_factor_authentication_code_webhook_event.rbs
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type digital_wallet_tokenization_two_factor_authentication_code_webhook_event =
|
|
4
|
+
{
|
|
5
|
+
account_token: String,
|
|
6
|
+
activation_method: Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod,
|
|
7
|
+
authentication_code: String,
|
|
8
|
+
card_token: String,
|
|
9
|
+
created: Time,
|
|
10
|
+
event_type: :"digital_wallet.tokenization_two_factor_authentication_code",
|
|
11
|
+
tokenization_token: String
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
class DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
15
|
+
attr_accessor account_token: String
|
|
16
|
+
|
|
17
|
+
attr_accessor activation_method: Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod
|
|
18
|
+
|
|
19
|
+
attr_accessor authentication_code: String
|
|
20
|
+
|
|
21
|
+
attr_accessor card_token: String
|
|
22
|
+
|
|
23
|
+
attr_accessor created: Time
|
|
24
|
+
|
|
25
|
+
attr_accessor event_type: :"digital_wallet.tokenization_two_factor_authentication_code"
|
|
26
|
+
|
|
27
|
+
attr_accessor tokenization_token: String
|
|
28
|
+
|
|
29
|
+
def initialize: (
|
|
30
|
+
account_token: String,
|
|
31
|
+
activation_method: Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod,
|
|
32
|
+
authentication_code: String,
|
|
33
|
+
card_token: String,
|
|
34
|
+
created: Time,
|
|
35
|
+
tokenization_token: String,
|
|
36
|
+
?event_type: :"digital_wallet.tokenization_two_factor_authentication_code"
|
|
37
|
+
) -> void
|
|
38
|
+
|
|
39
|
+
def to_hash: -> {
|
|
40
|
+
account_token: String,
|
|
41
|
+
activation_method: Lithic::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod,
|
|
42
|
+
authentication_code: String,
|
|
43
|
+
card_token: String,
|
|
44
|
+
created: Time,
|
|
45
|
+
event_type: :"digital_wallet.tokenization_two_factor_authentication_code",
|
|
46
|
+
tokenization_token: String
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
type activation_method =
|
|
50
|
+
{
|
|
51
|
+
type: Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod::type_,
|
|
52
|
+
value: String
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
class ActivationMethod < Lithic::Internal::Type::BaseModel
|
|
56
|
+
attr_accessor type: Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod::type_
|
|
57
|
+
|
|
58
|
+
attr_accessor value: String
|
|
59
|
+
|
|
60
|
+
def initialize: (
|
|
61
|
+
type: Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod::type_,
|
|
62
|
+
value: String
|
|
63
|
+
) -> void
|
|
64
|
+
|
|
65
|
+
def to_hash: -> {
|
|
66
|
+
type: Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod::type_,
|
|
67
|
+
value: String
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
type type_ = :EMAIL_TO_CARDHOLDER_ADDRESS | :TEXT_TO_CARDHOLDER_NUMBER
|
|
71
|
+
|
|
72
|
+
module Type
|
|
73
|
+
extend Lithic::Internal::Type::Enum
|
|
74
|
+
|
|
75
|
+
EMAIL_TO_CARDHOLDER_ADDRESS: :EMAIL_TO_CARDHOLDER_ADDRESS
|
|
76
|
+
TEXT_TO_CARDHOLDER_NUMBER: :TEXT_TO_CARDHOLDER_NUMBER
|
|
77
|
+
|
|
78
|
+
def self?.values: -> ::Array[Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent::ActivationMethod::type_]
|
|
79
|
+
end
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type digital_wallet_tokenization_updated_webhook_event =
|
|
4
|
+
{
|
|
5
|
+
account_token: String,
|
|
6
|
+
card_token: String,
|
|
7
|
+
created: Time,
|
|
8
|
+
event_type: :"digital_wallet.tokenization_updated",
|
|
9
|
+
tokenization: Lithic::Tokenization
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
class DigitalWalletTokenizationUpdatedWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
13
|
+
attr_accessor account_token: String
|
|
14
|
+
|
|
15
|
+
attr_accessor card_token: String
|
|
16
|
+
|
|
17
|
+
attr_accessor created: Time
|
|
18
|
+
|
|
19
|
+
attr_accessor event_type: :"digital_wallet.tokenization_updated"
|
|
20
|
+
|
|
21
|
+
attr_accessor tokenization: Lithic::Tokenization
|
|
22
|
+
|
|
23
|
+
def initialize: (
|
|
24
|
+
account_token: String,
|
|
25
|
+
card_token: String,
|
|
26
|
+
created: Time,
|
|
27
|
+
tokenization: Lithic::Tokenization,
|
|
28
|
+
?event_type: :"digital_wallet.tokenization_updated"
|
|
29
|
+
) -> void
|
|
30
|
+
|
|
31
|
+
def to_hash: -> {
|
|
32
|
+
account_token: String,
|
|
33
|
+
card_token: String,
|
|
34
|
+
created: Time,
|
|
35
|
+
event_type: :"digital_wallet.tokenization_updated",
|
|
36
|
+
tokenization: Lithic::Tokenization
|
|
37
|
+
}
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type dispute_evidence_upload_failed_webhook_event =
|
|
4
|
+
{ event_type: :"dispute_evidence.upload_failed" }
|
|
5
|
+
|
|
6
|
+
class DisputeEvidenceUploadFailedWebhookEvent < Lithic::Models::DisputeEvidence
|
|
7
|
+
def event_type: -> :"dispute_evidence.upload_failed"
|
|
8
|
+
|
|
9
|
+
def event_type=: (
|
|
10
|
+
:"dispute_evidence.upload_failed" _
|
|
11
|
+
) -> :"dispute_evidence.upload_failed"
|
|
12
|
+
|
|
13
|
+
def initialize: (?event_type: :"dispute_evidence.upload_failed") -> void
|
|
14
|
+
|
|
15
|
+
def to_hash: -> { event_type: :"dispute_evidence.upload_failed" }
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type dispute_transaction_created_webhook_event =
|
|
4
|
+
{ event_type: :"dispute_transaction.created" }
|
|
5
|
+
|
|
6
|
+
class DisputeTransactionCreatedWebhookEvent < Lithic::Models::DisputeV2
|
|
7
|
+
def event_type: -> :"dispute_transaction.created"
|
|
8
|
+
|
|
9
|
+
def event_type=: (
|
|
10
|
+
:"dispute_transaction.created" _
|
|
11
|
+
) -> :"dispute_transaction.created"
|
|
12
|
+
|
|
13
|
+
def initialize: (?event_type: :"dispute_transaction.created") -> void
|
|
14
|
+
|
|
15
|
+
def to_hash: -> { event_type: :"dispute_transaction.created" }
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type dispute_transaction_updated_webhook_event =
|
|
4
|
+
{ event_type: :"dispute_transaction.updated" }
|
|
5
|
+
|
|
6
|
+
class DisputeTransactionUpdatedWebhookEvent < Lithic::Models::DisputeV2
|
|
7
|
+
def event_type: -> :"dispute_transaction.updated"
|
|
8
|
+
|
|
9
|
+
def event_type=: (
|
|
10
|
+
:"dispute_transaction.updated" _
|
|
11
|
+
) -> :"dispute_transaction.updated"
|
|
12
|
+
|
|
13
|
+
def initialize: (?event_type: :"dispute_transaction.updated") -> void
|
|
14
|
+
|
|
15
|
+
def to_hash: -> { event_type: :"dispute_transaction.updated" }
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type dispute_updated_webhook_event = { event_type: :"dispute.updated" }
|
|
4
|
+
|
|
5
|
+
class DisputeUpdatedWebhookEvent < Lithic::Models::Dispute
|
|
6
|
+
def event_type: -> :"dispute.updated"
|
|
7
|
+
|
|
8
|
+
def event_type=: (:"dispute.updated" _) -> :"dispute.updated"
|
|
9
|
+
|
|
10
|
+
def initialize: (?event_type: :"dispute.updated") -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { event_type: :"dispute.updated" }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type external_bank_account_created_webhook_event =
|
|
4
|
+
{ event_type: :"external_bank_account.created" }
|
|
5
|
+
|
|
6
|
+
class ExternalBankAccountCreatedWebhookEvent < Lithic::Models::ExternalBankAccount
|
|
7
|
+
def event_type: -> :"external_bank_account.created"
|
|
8
|
+
|
|
9
|
+
def event_type=: (
|
|
10
|
+
:"external_bank_account.created" _
|
|
11
|
+
) -> :"external_bank_account.created"
|
|
12
|
+
|
|
13
|
+
def initialize: (?event_type: :"external_bank_account.created") -> void
|
|
14
|
+
|
|
15
|
+
def to_hash: -> { event_type: :"external_bank_account.created" }
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type external_bank_account_updated_webhook_event =
|
|
4
|
+
{ event_type: :"external_bank_account.updated" }
|
|
5
|
+
|
|
6
|
+
class ExternalBankAccountUpdatedWebhookEvent < Lithic::Models::ExternalBankAccount
|
|
7
|
+
def event_type: -> :"external_bank_account.updated"
|
|
8
|
+
|
|
9
|
+
def event_type=: (
|
|
10
|
+
:"external_bank_account.updated" _
|
|
11
|
+
) -> :"external_bank_account.updated"
|
|
12
|
+
|
|
13
|
+
def initialize: (?event_type: :"external_bank_account.updated") -> void
|
|
14
|
+
|
|
15
|
+
def to_hash: -> { event_type: :"external_bank_account.updated" }
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type external_payment_created_webhook_event =
|
|
4
|
+
{ event_type: :"external_payment.created" }
|
|
5
|
+
|
|
6
|
+
class ExternalPaymentCreatedWebhookEvent < Lithic::Models::ExternalPayment
|
|
7
|
+
def event_type: -> :"external_payment.created"
|
|
8
|
+
|
|
9
|
+
def event_type=: (
|
|
10
|
+
:"external_payment.created" _
|
|
11
|
+
) -> :"external_payment.created"
|
|
12
|
+
|
|
13
|
+
def initialize: (?event_type: :"external_payment.created") -> void
|
|
14
|
+
|
|
15
|
+
def to_hash: -> { event_type: :"external_payment.created" }
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type external_payment_updated_webhook_event =
|
|
4
|
+
{ event_type: :"external_payment.updated" }
|
|
5
|
+
|
|
6
|
+
class ExternalPaymentUpdatedWebhookEvent < Lithic::Models::ExternalPayment
|
|
7
|
+
def event_type: -> :"external_payment.updated"
|
|
8
|
+
|
|
9
|
+
def event_type=: (
|
|
10
|
+
:"external_payment.updated" _
|
|
11
|
+
) -> :"external_payment.updated"
|
|
12
|
+
|
|
13
|
+
def initialize: (?event_type: :"external_payment.updated") -> void
|
|
14
|
+
|
|
15
|
+
def to_hash: -> { event_type: :"external_payment.updated" }
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -9,11 +9,12 @@ module Lithic
|
|
|
9
9
|
is_for_benefit_of: bool,
|
|
10
10
|
nickname: String?,
|
|
11
11
|
status: Lithic::Models::FinancialAccount::status,
|
|
12
|
+
substatus: Lithic::Models::FinancialAccount::substatus?,
|
|
12
13
|
type: Lithic::Models::FinancialAccount::type_,
|
|
13
14
|
updated: Time,
|
|
15
|
+
user_defined_status: String?,
|
|
14
16
|
account_number: String?,
|
|
15
|
-
routing_number: String
|
|
16
|
-
substatus: Lithic::Models::FinancialAccount::substatus?
|
|
17
|
+
routing_number: String?
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
class FinancialAccount < Lithic::Internal::Type::BaseModel
|
|
@@ -31,16 +32,18 @@ module Lithic
|
|
|
31
32
|
|
|
32
33
|
attr_accessor status: Lithic::Models::FinancialAccount::status
|
|
33
34
|
|
|
35
|
+
attr_accessor substatus: Lithic::Models::FinancialAccount::substatus?
|
|
36
|
+
|
|
34
37
|
attr_accessor type: Lithic::Models::FinancialAccount::type_
|
|
35
38
|
|
|
36
39
|
attr_accessor updated: Time
|
|
37
40
|
|
|
41
|
+
attr_accessor user_defined_status: String?
|
|
42
|
+
|
|
38
43
|
attr_accessor account_number: String?
|
|
39
44
|
|
|
40
45
|
attr_accessor routing_number: String?
|
|
41
46
|
|
|
42
|
-
attr_accessor substatus: Lithic::Models::FinancialAccount::substatus?
|
|
43
|
-
|
|
44
47
|
def initialize: (
|
|
45
48
|
token: String,
|
|
46
49
|
account_token: String?,
|
|
@@ -49,11 +52,12 @@ module Lithic
|
|
|
49
52
|
is_for_benefit_of: bool,
|
|
50
53
|
nickname: String?,
|
|
51
54
|
status: Lithic::Models::FinancialAccount::status,
|
|
55
|
+
substatus: Lithic::Models::FinancialAccount::substatus?,
|
|
52
56
|
type: Lithic::Models::FinancialAccount::type_,
|
|
53
57
|
updated: Time,
|
|
58
|
+
user_defined_status: String?,
|
|
54
59
|
?account_number: String?,
|
|
55
|
-
?routing_number: String
|
|
56
|
-
?substatus: Lithic::Models::FinancialAccount::substatus?
|
|
60
|
+
?routing_number: String?
|
|
57
61
|
) -> void
|
|
58
62
|
|
|
59
63
|
def to_hash: -> {
|
|
@@ -64,11 +68,12 @@ module Lithic
|
|
|
64
68
|
is_for_benefit_of: bool,
|
|
65
69
|
nickname: String?,
|
|
66
70
|
status: Lithic::Models::FinancialAccount::status,
|
|
71
|
+
substatus: Lithic::Models::FinancialAccount::substatus?,
|
|
67
72
|
type: Lithic::Models::FinancialAccount::type_,
|
|
68
73
|
updated: Time,
|
|
74
|
+
user_defined_status: String?,
|
|
69
75
|
account_number: String?,
|
|
70
|
-
routing_number: String
|
|
71
|
-
substatus: Lithic::Models::FinancialAccount::substatus?
|
|
76
|
+
routing_number: String?
|
|
72
77
|
}
|
|
73
78
|
|
|
74
79
|
type credit_configuration =
|
|
@@ -131,6 +136,25 @@ module Lithic
|
|
|
131
136
|
def self?.values: -> ::Array[Lithic::Models::FinancialAccount::status]
|
|
132
137
|
end
|
|
133
138
|
|
|
139
|
+
type substatus =
|
|
140
|
+
:CHARGED_OFF_DELINQUENT
|
|
141
|
+
| :CHARGED_OFF_FRAUD
|
|
142
|
+
| :END_USER_REQUEST
|
|
143
|
+
| :BANK_REQUEST
|
|
144
|
+
| :DELINQUENT
|
|
145
|
+
|
|
146
|
+
module Substatus
|
|
147
|
+
extend Lithic::Internal::Type::Enum
|
|
148
|
+
|
|
149
|
+
CHARGED_OFF_DELINQUENT: :CHARGED_OFF_DELINQUENT
|
|
150
|
+
CHARGED_OFF_FRAUD: :CHARGED_OFF_FRAUD
|
|
151
|
+
END_USER_REQUEST: :END_USER_REQUEST
|
|
152
|
+
BANK_REQUEST: :BANK_REQUEST
|
|
153
|
+
DELINQUENT: :DELINQUENT
|
|
154
|
+
|
|
155
|
+
def self?.values: -> ::Array[Lithic::Models::FinancialAccount::substatus]
|
|
156
|
+
end
|
|
157
|
+
|
|
134
158
|
type type_ =
|
|
135
159
|
:ISSUING
|
|
136
160
|
| :RESERVE
|
|
@@ -159,25 +183,6 @@ module Lithic
|
|
|
159
183
|
|
|
160
184
|
def self?.values: -> ::Array[Lithic::Models::FinancialAccount::type_]
|
|
161
185
|
end
|
|
162
|
-
|
|
163
|
-
type substatus =
|
|
164
|
-
:CHARGED_OFF_DELINQUENT
|
|
165
|
-
| :CHARGED_OFF_FRAUD
|
|
166
|
-
| :END_USER_REQUEST
|
|
167
|
-
| :BANK_REQUEST
|
|
168
|
-
| :DELINQUENT
|
|
169
|
-
|
|
170
|
-
module Substatus
|
|
171
|
-
extend Lithic::Internal::Type::Enum
|
|
172
|
-
|
|
173
|
-
CHARGED_OFF_DELINQUENT: :CHARGED_OFF_DELINQUENT
|
|
174
|
-
CHARGED_OFF_FRAUD: :CHARGED_OFF_FRAUD
|
|
175
|
-
END_USER_REQUEST: :END_USER_REQUEST
|
|
176
|
-
BANK_REQUEST: :BANK_REQUEST
|
|
177
|
-
DELINQUENT: :DELINQUENT
|
|
178
|
-
|
|
179
|
-
def self?.values: -> ::Array[Lithic::Models::FinancialAccount::substatus]
|
|
180
|
-
end
|
|
181
186
|
end
|
|
182
187
|
end
|
|
183
188
|
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type financial_account_created_webhook_event =
|
|
4
|
+
{ event_type: :"financial_account.created" }
|
|
5
|
+
|
|
6
|
+
class FinancialAccountCreatedWebhookEvent < Lithic::Models::FinancialAccount
|
|
7
|
+
def event_type: -> :"financial_account.created"
|
|
8
|
+
|
|
9
|
+
def event_type=: (
|
|
10
|
+
:"financial_account.created" _
|
|
11
|
+
) -> :"financial_account.created"
|
|
12
|
+
|
|
13
|
+
def initialize: (?event_type: :"financial_account.created") -> void
|
|
14
|
+
|
|
15
|
+
def to_hash: -> { event_type: :"financial_account.created" }
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -3,7 +3,8 @@ module Lithic
|
|
|
3
3
|
type financial_account_update_status_params =
|
|
4
4
|
{
|
|
5
5
|
status: Lithic::Models::FinancialAccountUpdateStatusParams::status,
|
|
6
|
-
substatus: Lithic::Models::FinancialAccountUpdateStatusParams::substatus
|
|
6
|
+
substatus: Lithic::Models::FinancialAccountUpdateStatusParams::substatus?,
|
|
7
|
+
user_defined_status: String
|
|
7
8
|
}
|
|
8
9
|
& Lithic::Internal::Type::request_parameters
|
|
9
10
|
|
|
@@ -15,15 +16,21 @@ module Lithic
|
|
|
15
16
|
|
|
16
17
|
attr_accessor substatus: Lithic::Models::FinancialAccountUpdateStatusParams::substatus?
|
|
17
18
|
|
|
19
|
+
attr_reader user_defined_status: String?
|
|
20
|
+
|
|
21
|
+
def user_defined_status=: (String) -> String
|
|
22
|
+
|
|
18
23
|
def initialize: (
|
|
19
24
|
status: Lithic::Models::FinancialAccountUpdateStatusParams::status,
|
|
20
25
|
substatus: Lithic::Models::FinancialAccountUpdateStatusParams::substatus?,
|
|
26
|
+
?user_defined_status: String,
|
|
21
27
|
?request_options: Lithic::request_opts
|
|
22
28
|
) -> void
|
|
23
29
|
|
|
24
30
|
def to_hash: -> {
|
|
25
31
|
status: Lithic::Models::FinancialAccountUpdateStatusParams::status,
|
|
26
32
|
substatus: Lithic::Models::FinancialAccountUpdateStatusParams::substatus?,
|
|
33
|
+
user_defined_status: String,
|
|
27
34
|
request_options: Lithic::RequestOptions
|
|
28
35
|
}
|
|
29
36
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type financial_account_updated_webhook_event =
|
|
4
|
+
{ event_type: :"financial_account.updated" }
|
|
5
|
+
|
|
6
|
+
class FinancialAccountUpdatedWebhookEvent < Lithic::Models::FinancialAccount
|
|
7
|
+
def event_type: -> :"financial_account.updated"
|
|
8
|
+
|
|
9
|
+
def event_type=: (
|
|
10
|
+
:"financial_account.updated" _
|
|
11
|
+
) -> :"financial_account.updated"
|
|
12
|
+
|
|
13
|
+
def initialize: (?event_type: :"financial_account.updated") -> void
|
|
14
|
+
|
|
15
|
+
def to_hash: -> { event_type: :"financial_account.updated" }
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -17,7 +17,7 @@ module Lithic
|
|
|
17
17
|
financial_account_token: String,
|
|
18
18
|
interest_details: Lithic::FinancialAccounts::LoanTape::InterestDetails?,
|
|
19
19
|
minimum_payment_balance: Lithic::FinancialAccounts::LoanTape::MinimumPaymentBalance,
|
|
20
|
-
payment_allocation: Lithic::FinancialAccounts::
|
|
20
|
+
payment_allocation: Lithic::FinancialAccounts::LoanTape::PaymentAllocation,
|
|
21
21
|
period_totals: Lithic::StatementTotals,
|
|
22
22
|
previous_statement_balance: Lithic::FinancialAccounts::LoanTape::PreviousStatementBalance,
|
|
23
23
|
starting_balance: Integer,
|
|
@@ -56,7 +56,7 @@ module Lithic
|
|
|
56
56
|
|
|
57
57
|
attr_accessor minimum_payment_balance: Lithic::FinancialAccounts::LoanTape::MinimumPaymentBalance
|
|
58
58
|
|
|
59
|
-
attr_accessor payment_allocation: Lithic::FinancialAccounts::
|
|
59
|
+
attr_accessor payment_allocation: Lithic::FinancialAccounts::LoanTape::PaymentAllocation
|
|
60
60
|
|
|
61
61
|
attr_accessor period_totals: Lithic::StatementTotals
|
|
62
62
|
|
|
@@ -87,7 +87,7 @@ module Lithic
|
|
|
87
87
|
financial_account_token: String,
|
|
88
88
|
interest_details: Lithic::FinancialAccounts::LoanTape::InterestDetails?,
|
|
89
89
|
minimum_payment_balance: Lithic::FinancialAccounts::LoanTape::MinimumPaymentBalance,
|
|
90
|
-
payment_allocation: Lithic::FinancialAccounts::
|
|
90
|
+
payment_allocation: Lithic::FinancialAccounts::LoanTape::PaymentAllocation,
|
|
91
91
|
period_totals: Lithic::StatementTotals,
|
|
92
92
|
previous_statement_balance: Lithic::FinancialAccounts::LoanTape::PreviousStatementBalance,
|
|
93
93
|
starting_balance: Integer,
|
|
@@ -112,7 +112,7 @@ module Lithic
|
|
|
112
112
|
financial_account_token: String,
|
|
113
113
|
interest_details: Lithic::FinancialAccounts::LoanTape::InterestDetails?,
|
|
114
114
|
minimum_payment_balance: Lithic::FinancialAccounts::LoanTape::MinimumPaymentBalance,
|
|
115
|
-
payment_allocation: Lithic::FinancialAccounts::
|
|
115
|
+
payment_allocation: Lithic::FinancialAccounts::LoanTape::PaymentAllocation,
|
|
116
116
|
period_totals: Lithic::StatementTotals,
|
|
117
117
|
previous_statement_balance: Lithic::FinancialAccounts::LoanTape::PreviousStatementBalance,
|
|
118
118
|
starting_balance: Integer,
|
|
@@ -342,6 +342,48 @@ module Lithic
|
|
|
342
342
|
def to_hash: -> { amount: Integer, remaining: Integer }
|
|
343
343
|
end
|
|
344
344
|
|
|
345
|
+
type payment_allocation =
|
|
346
|
+
{
|
|
347
|
+
fee_details: Lithic::CategoryDetails?,
|
|
348
|
+
fees: Integer,
|
|
349
|
+
interest: Integer,
|
|
350
|
+
interest_details: Lithic::CategoryDetails?,
|
|
351
|
+
principal: Integer,
|
|
352
|
+
principal_details: Lithic::CategoryDetails?
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
class PaymentAllocation < Lithic::Internal::Type::BaseModel
|
|
356
|
+
attr_accessor fee_details: Lithic::CategoryDetails?
|
|
357
|
+
|
|
358
|
+
attr_accessor fees: Integer
|
|
359
|
+
|
|
360
|
+
attr_accessor interest: Integer
|
|
361
|
+
|
|
362
|
+
attr_accessor interest_details: Lithic::CategoryDetails?
|
|
363
|
+
|
|
364
|
+
attr_accessor principal: Integer
|
|
365
|
+
|
|
366
|
+
attr_accessor principal_details: Lithic::CategoryDetails?
|
|
367
|
+
|
|
368
|
+
def initialize: (
|
|
369
|
+
fee_details: Lithic::CategoryDetails?,
|
|
370
|
+
fees: Integer,
|
|
371
|
+
interest: Integer,
|
|
372
|
+
interest_details: Lithic::CategoryDetails?,
|
|
373
|
+
principal: Integer,
|
|
374
|
+
principal_details: Lithic::CategoryDetails?
|
|
375
|
+
) -> void
|
|
376
|
+
|
|
377
|
+
def to_hash: -> {
|
|
378
|
+
fee_details: Lithic::CategoryDetails?,
|
|
379
|
+
fees: Integer,
|
|
380
|
+
interest: Integer,
|
|
381
|
+
interest_details: Lithic::CategoryDetails?,
|
|
382
|
+
principal: Integer,
|
|
383
|
+
principal_details: Lithic::CategoryDetails?
|
|
384
|
+
}
|
|
385
|
+
end
|
|
386
|
+
|
|
345
387
|
type previous_statement_balance =
|
|
346
388
|
{ amount: Integer, remaining: Integer }
|
|
347
389
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type funding_event_created_webhook_event =
|
|
4
|
+
{ event_type: :"funding_event.created" }
|
|
5
|
+
|
|
6
|
+
class FundingEventCreatedWebhookEvent < Lithic::Models::FundingEvent
|
|
7
|
+
def event_type: -> :"funding_event.created"
|
|
8
|
+
|
|
9
|
+
def event_type=: (:"funding_event.created" _) -> :"funding_event.created"
|
|
10
|
+
|
|
11
|
+
def initialize: (?event_type: :"funding_event.created") -> void
|
|
12
|
+
|
|
13
|
+
def to_hash: -> { event_type: :"funding_event.created" }
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type internal_transaction_created_webhook_event =
|
|
4
|
+
{ event_type: :"internal_transaction.created" }
|
|
5
|
+
|
|
6
|
+
class InternalTransactionCreatedWebhookEvent < Lithic::Models::InternalTransactionAPI
|
|
7
|
+
def event_type: -> :"internal_transaction.created"
|
|
8
|
+
|
|
9
|
+
def event_type=: (
|
|
10
|
+
:"internal_transaction.created" _
|
|
11
|
+
) -> :"internal_transaction.created"
|
|
12
|
+
|
|
13
|
+
def initialize: (?event_type: :"internal_transaction.created") -> void
|
|
14
|
+
|
|
15
|
+
def to_hash: -> { event_type: :"internal_transaction.created" }
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|