lithic 0.1.0.pre.alpha.53 → 0.1.0.pre.alpha.55
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 +34 -0
- data/README.md +1 -1
- data/lib/lithic/internal/transport/base_client.rb +7 -1
- data/lib/lithic/internal/transport/pooled_net_requester.rb +6 -2
- data/lib/lithic/models/account_activity_list_response.rb +1 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +1 -0
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +2 -2
- data/lib/lithic/models/account_holder_update_response.rb +4 -4
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +252 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +38 -284
- data/lib/lithic/models/auth_rules/v2_create_response.rb +8 -508
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +4 -250
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +8 -508
- data/lib/lithic/models/auth_rules/v2_list_response.rb +8 -508
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +8 -508
- data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +4 -11
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +8 -508
- data/lib/lithic/models/auth_rules/v2_update_response.rb +8 -508
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +4 -7
- data/lib/lithic/models/auth_rules/velocity_limit_period.rb +154 -0
- data/lib/lithic/models/book_transfer_response.rb +5 -5
- data/lib/lithic/models/dispute.rb +510 -242
- data/lib/lithic/models/dispute_create_response.rb +326 -0
- data/lib/lithic/models/dispute_delete_response.rb +326 -0
- data/lib/lithic/models/dispute_list_response.rb +326 -0
- data/lib/lithic/models/dispute_retrieve_response.rb +326 -0
- data/lib/lithic/models/dispute_update_response.rb +326 -0
- data/lib/lithic/models/event.rb +213 -69
- data/lib/lithic/models/event_list_params.rb +112 -6
- data/lib/lithic/models/event_subscription.rb +112 -6
- data/lib/lithic/models/events/subscription_create_params.rb +112 -6
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +12 -6
- data/lib/lithic/models/events/subscription_update_params.rb +112 -6
- data/lib/lithic/models/financial_account.rb +1 -65
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -64
- data/lib/lithic/models/financial_accounts/loan_tape.rb +99 -3
- data/lib/lithic/models/financial_accounts/statement.rb +66 -2
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +1 -0
- data/lib/lithic/models/financial_transaction.rb +1 -0
- data/lib/lithic/models/payment.rb +29 -18
- data/lib/lithic/models/payment_simulate_action_params.rb +17 -1
- data/lib/lithic/models/tokenization.rb +189 -23
- data/lib/lithic/models/transaction.rb +12 -116
- data/lib/lithic/models/transactions/events/enhanced_data.rb +9 -9
- data/lib/lithic/models/transfer.rb +1 -0
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -5
- data/lib/lithic/resources/auth_rules/v2.rb +13 -56
- data/lib/lithic/resources/disputes.rb +10 -10
- data/lib/lithic/resources/payments.rb +5 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +8 -3
- data/manifest.yaml +1 -0
- data/rbi/lithic/internal/transport/base_client.rbi +5 -0
- data/rbi/lithic/internal/transport/pooled_net_requester.rbi +6 -2
- data/rbi/lithic/internal/type/base_model.rbi +8 -4
- data/rbi/lithic/models/account_activity_list_response.rbi +5 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +5 -0
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +3 -6
- data/rbi/lithic/models/account_holder_update_response.rbi +6 -12
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +577 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +85 -679
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +4 -1146
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +4 -575
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +4 -1146
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +4 -1146
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +4 -1146
- data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +9 -22
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +4 -1146
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +4 -1146
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +17 -29
- data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +223 -0
- data/rbi/lithic/models/book_transfer_response.rbi +14 -11
- data/rbi/lithic/models/dispute.rbi +942 -395
- data/rbi/lithic/models/dispute_create_response.rbi +599 -0
- data/rbi/lithic/models/dispute_delete_response.rbi +599 -0
- data/rbi/lithic/models/dispute_list_response.rbi +582 -0
- data/rbi/lithic/models/dispute_retrieve_response.rbi +601 -0
- data/rbi/lithic/models/dispute_update_response.rbi +599 -0
- data/rbi/lithic/models/event.rbi +348 -111
- data/rbi/lithic/models/event_list_params.rbi +155 -25
- data/rbi/lithic/models/event_subscription.rbi +155 -25
- data/rbi/lithic/models/events/subscription_create_params.rbi +155 -25
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +55 -25
- data/rbi/lithic/models/events/subscription_update_params.rbi +155 -25
- data/rbi/lithic/models/financial_account.rbi +3 -132
- data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +3 -136
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +132 -9
- data/rbi/lithic/models/financial_accounts/statement.rbi +88 -6
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +5 -0
- data/rbi/lithic/models/financial_transaction.rbi +5 -0
- data/rbi/lithic/models/payment.rbi +52 -28
- data/rbi/lithic/models/payment_simulate_action_params.rbi +22 -0
- data/rbi/lithic/models/tokenization.rbi +429 -34
- data/rbi/lithic/models/transaction.rbi +22 -246
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +12 -12
- data/rbi/lithic/models/transfer.rbi +5 -0
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +0 -3
- data/rbi/lithic/resources/auth_rules/v2.rbi +24 -72
- data/rbi/lithic/resources/disputes.rbi +7 -5
- data/rbi/lithic/resources/payments.rbi +6 -0
- data/sig/lithic/internal/transport/base_client.rbs +2 -0
- data/sig/lithic/internal/transport/pooled_net_requester.rbs +4 -1
- data/sig/lithic/models/account_activity_list_response.rbs +2 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +2 -0
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +4 -6
- data/sig/lithic/models/account_holder_update_response.rbs +8 -12
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +163 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +22 -188
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +2 -318
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -159
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +2 -318
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +2 -318
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +2 -318
- data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -4
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +2 -318
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +2 -318
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -4
- data/sig/lithic/models/auth_rules/velocity_limit_period.rbs +91 -0
- data/sig/lithic/models/book_transfer_response.rbs +7 -7
- data/sig/lithic/models/dispute.rbs +417 -157
- data/sig/lithic/models/dispute_create_response.rbs +210 -0
- data/sig/lithic/models/dispute_delete_response.rbs +210 -0
- data/sig/lithic/models/dispute_list_response.rbs +210 -0
- data/sig/lithic/models/dispute_retrieve_response.rbs +210 -0
- data/sig/lithic/models/dispute_update_response.rbs +210 -0
- data/sig/lithic/models/event.rbs +25 -13
- data/sig/lithic/models/event_list_params.rbs +25 -13
- data/sig/lithic/models/event_subscription.rbs +25 -13
- data/sig/lithic/models/events/subscription_create_params.rbs +25 -13
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +25 -13
- data/sig/lithic/models/events/subscription_update_params.rbs +25 -13
- data/sig/lithic/models/financial_account.rbs +3 -45
- data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +3 -49
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +87 -9
- data/sig/lithic/models/financial_accounts/statement.rbs +58 -6
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/payment.rbs +16 -12
- data/sig/lithic/models/payment_simulate_action_params.rbs +14 -0
- data/sig/lithic/models/tokenization.rbs +160 -13
- data/sig/lithic/models/transaction.rbs +13 -94
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +15 -15
- data/sig/lithic/models/transfer.rbs +2 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +2 -12
- data/sig/lithic/resources/disputes.rbs +5 -5
- data/sig/lithic/resources/payments.rbs +2 -0
- metadata +23 -11
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +0 -56
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +0 -766
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +0 -248
- data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +0 -86
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +0 -1638
- data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +0 -557
- data/sig/lithic/models/auth_rules/v2_apply_params.rbs +0 -54
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +0 -509
- data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +0 -223
|
@@ -37,26 +37,31 @@ module Lithic
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
type event_type =
|
|
40
|
-
:"
|
|
40
|
+
:"account_holder_document.updated"
|
|
41
|
+
| :"account_holder.created"
|
|
41
42
|
| :"account_holder.updated"
|
|
42
43
|
| :"account_holder.verification"
|
|
44
|
+
| :"auth_rules.backtest_report.created"
|
|
43
45
|
| :"balance.updated"
|
|
44
46
|
| :"book_transfer_transaction.created"
|
|
47
|
+
| :"book_transfer_transaction.updated"
|
|
48
|
+
| :"card_transaction.enhanced_data.created"
|
|
49
|
+
| :"card_transaction.enhanced_data.updated"
|
|
50
|
+
| :"card_transaction.updated"
|
|
51
|
+
| :"card.converted"
|
|
45
52
|
| :"card.created"
|
|
46
|
-
| :"card.renewed"
|
|
47
53
|
| :"card.reissued"
|
|
48
|
-
| :"card.
|
|
54
|
+
| :"card.renewed"
|
|
49
55
|
| :"card.shipped"
|
|
50
|
-
| :"card_transaction.updated"
|
|
51
56
|
| :"digital_wallet.tokenization_approval_request"
|
|
52
57
|
| :"digital_wallet.tokenization_result"
|
|
53
58
|
| :"digital_wallet.tokenization_two_factor_authentication_code"
|
|
54
59
|
| :"digital_wallet.tokenization_two_factor_authentication_code_sent"
|
|
55
60
|
| :"digital_wallet.tokenization_updated"
|
|
56
|
-
| :"dispute.updated"
|
|
57
61
|
| :"dispute_evidence.upload_failed"
|
|
58
62
|
| :"dispute_transaction.created"
|
|
59
63
|
| :"dispute_transaction.updated"
|
|
64
|
+
| :"dispute.updated"
|
|
60
65
|
| :"external_bank_account.created"
|
|
61
66
|
| :"external_bank_account.updated"
|
|
62
67
|
| :"external_payment.created"
|
|
@@ -64,6 +69,8 @@ module Lithic
|
|
|
64
69
|
| :"financial_account.created"
|
|
65
70
|
| :"financial_account.updated"
|
|
66
71
|
| :"funding_event.created"
|
|
72
|
+
| :"internal_transaction.created"
|
|
73
|
+
| :"internal_transaction.updated"
|
|
67
74
|
| :"loan_tape.created"
|
|
68
75
|
| :"loan_tape.updated"
|
|
69
76
|
| :"management_operation.created"
|
|
@@ -72,10 +79,9 @@ module Lithic
|
|
|
72
79
|
| :"network_total.updated"
|
|
73
80
|
| :"payment_transaction.created"
|
|
74
81
|
| :"payment_transaction.updated"
|
|
75
|
-
| :"internal_transaction.created"
|
|
76
|
-
| :"internal_transaction.updated"
|
|
77
82
|
| :"settlement_report.updated"
|
|
78
83
|
| :"statements.created"
|
|
84
|
+
| :"three_ds_authentication.challenge"
|
|
79
85
|
| :"three_ds_authentication.created"
|
|
80
86
|
| :"three_ds_authentication.updated"
|
|
81
87
|
| :"tokenization.approval_request"
|
|
@@ -87,26 +93,31 @@ module Lithic
|
|
|
87
93
|
module EventType
|
|
88
94
|
extend Lithic::Internal::Type::Enum
|
|
89
95
|
|
|
96
|
+
ACCOUNT_HOLDER_DOCUMENT_UPDATED: :"account_holder_document.updated"
|
|
90
97
|
ACCOUNT_HOLDER_CREATED: :"account_holder.created"
|
|
91
98
|
ACCOUNT_HOLDER_UPDATED: :"account_holder.updated"
|
|
92
99
|
ACCOUNT_HOLDER_VERIFICATION: :"account_holder.verification"
|
|
100
|
+
AUTH_RULES_BACKTEST_REPORT_CREATED: :"auth_rules.backtest_report.created"
|
|
93
101
|
BALANCE_UPDATED: :"balance.updated"
|
|
94
102
|
BOOK_TRANSFER_TRANSACTION_CREATED: :"book_transfer_transaction.created"
|
|
103
|
+
BOOK_TRANSFER_TRANSACTION_UPDATED: :"book_transfer_transaction.updated"
|
|
104
|
+
CARD_TRANSACTION_ENHANCED_DATA_CREATED: :"card_transaction.enhanced_data.created"
|
|
105
|
+
CARD_TRANSACTION_ENHANCED_DATA_UPDATED: :"card_transaction.enhanced_data.updated"
|
|
106
|
+
CARD_TRANSACTION_UPDATED: :"card_transaction.updated"
|
|
107
|
+
CARD_CONVERTED: :"card.converted"
|
|
95
108
|
CARD_CREATED: :"card.created"
|
|
96
|
-
CARD_RENEWED: :"card.renewed"
|
|
97
109
|
CARD_REISSUED: :"card.reissued"
|
|
98
|
-
|
|
110
|
+
CARD_RENEWED: :"card.renewed"
|
|
99
111
|
CARD_SHIPPED: :"card.shipped"
|
|
100
|
-
CARD_TRANSACTION_UPDATED: :"card_transaction.updated"
|
|
101
112
|
DIGITAL_WALLET_TOKENIZATION_APPROVAL_REQUEST: :"digital_wallet.tokenization_approval_request"
|
|
102
113
|
DIGITAL_WALLET_TOKENIZATION_RESULT: :"digital_wallet.tokenization_result"
|
|
103
114
|
DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE: :"digital_wallet.tokenization_two_factor_authentication_code"
|
|
104
115
|
DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE_SENT: :"digital_wallet.tokenization_two_factor_authentication_code_sent"
|
|
105
116
|
DIGITAL_WALLET_TOKENIZATION_UPDATED: :"digital_wallet.tokenization_updated"
|
|
106
|
-
DISPUTE_UPDATED: :"dispute.updated"
|
|
107
117
|
DISPUTE_EVIDENCE_UPLOAD_FAILED: :"dispute_evidence.upload_failed"
|
|
108
118
|
DISPUTE_TRANSACTION_CREATED: :"dispute_transaction.created"
|
|
109
119
|
DISPUTE_TRANSACTION_UPDATED: :"dispute_transaction.updated"
|
|
120
|
+
DISPUTE_UPDATED: :"dispute.updated"
|
|
110
121
|
EXTERNAL_BANK_ACCOUNT_CREATED: :"external_bank_account.created"
|
|
111
122
|
EXTERNAL_BANK_ACCOUNT_UPDATED: :"external_bank_account.updated"
|
|
112
123
|
EXTERNAL_PAYMENT_CREATED: :"external_payment.created"
|
|
@@ -114,6 +125,8 @@ module Lithic
|
|
|
114
125
|
FINANCIAL_ACCOUNT_CREATED: :"financial_account.created"
|
|
115
126
|
FINANCIAL_ACCOUNT_UPDATED: :"financial_account.updated"
|
|
116
127
|
FUNDING_EVENT_CREATED: :"funding_event.created"
|
|
128
|
+
INTERNAL_TRANSACTION_CREATED: :"internal_transaction.created"
|
|
129
|
+
INTERNAL_TRANSACTION_UPDATED: :"internal_transaction.updated"
|
|
117
130
|
LOAN_TAPE_CREATED: :"loan_tape.created"
|
|
118
131
|
LOAN_TAPE_UPDATED: :"loan_tape.updated"
|
|
119
132
|
MANAGEMENT_OPERATION_CREATED: :"management_operation.created"
|
|
@@ -122,10 +135,9 @@ module Lithic
|
|
|
122
135
|
NETWORK_TOTAL_UPDATED: :"network_total.updated"
|
|
123
136
|
PAYMENT_TRANSACTION_CREATED: :"payment_transaction.created"
|
|
124
137
|
PAYMENT_TRANSACTION_UPDATED: :"payment_transaction.updated"
|
|
125
|
-
INTERNAL_TRANSACTION_CREATED: :"internal_transaction.created"
|
|
126
|
-
INTERNAL_TRANSACTION_UPDATED: :"internal_transaction.updated"
|
|
127
138
|
SETTLEMENT_REPORT_UPDATED: :"settlement_report.updated"
|
|
128
139
|
STATEMENTS_CREATED: :"statements.created"
|
|
140
|
+
THREE_DS_AUTHENTICATION_CHALLENGE: :"three_ds_authentication.challenge"
|
|
129
141
|
THREE_DS_AUTHENTICATION_CREATED: :"three_ds_authentication.created"
|
|
130
142
|
THREE_DS_AUTHENTICATION_UPDATED: :"three_ds_authentication.updated"
|
|
131
143
|
TOKENIZATION_APPROVAL_REQUEST: :"tokenization.approval_request"
|
|
@@ -47,26 +47,31 @@ module Lithic
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
type event_type =
|
|
50
|
-
:"
|
|
50
|
+
:"account_holder_document.updated"
|
|
51
|
+
| :"account_holder.created"
|
|
51
52
|
| :"account_holder.updated"
|
|
52
53
|
| :"account_holder.verification"
|
|
54
|
+
| :"auth_rules.backtest_report.created"
|
|
53
55
|
| :"balance.updated"
|
|
54
56
|
| :"book_transfer_transaction.created"
|
|
57
|
+
| :"book_transfer_transaction.updated"
|
|
58
|
+
| :"card_transaction.enhanced_data.created"
|
|
59
|
+
| :"card_transaction.enhanced_data.updated"
|
|
60
|
+
| :"card_transaction.updated"
|
|
61
|
+
| :"card.converted"
|
|
55
62
|
| :"card.created"
|
|
56
|
-
| :"card.renewed"
|
|
57
63
|
| :"card.reissued"
|
|
58
|
-
| :"card.
|
|
64
|
+
| :"card.renewed"
|
|
59
65
|
| :"card.shipped"
|
|
60
|
-
| :"card_transaction.updated"
|
|
61
66
|
| :"digital_wallet.tokenization_approval_request"
|
|
62
67
|
| :"digital_wallet.tokenization_result"
|
|
63
68
|
| :"digital_wallet.tokenization_two_factor_authentication_code"
|
|
64
69
|
| :"digital_wallet.tokenization_two_factor_authentication_code_sent"
|
|
65
70
|
| :"digital_wallet.tokenization_updated"
|
|
66
|
-
| :"dispute.updated"
|
|
67
71
|
| :"dispute_evidence.upload_failed"
|
|
68
72
|
| :"dispute_transaction.created"
|
|
69
73
|
| :"dispute_transaction.updated"
|
|
74
|
+
| :"dispute.updated"
|
|
70
75
|
| :"external_bank_account.created"
|
|
71
76
|
| :"external_bank_account.updated"
|
|
72
77
|
| :"external_payment.created"
|
|
@@ -74,6 +79,8 @@ module Lithic
|
|
|
74
79
|
| :"financial_account.created"
|
|
75
80
|
| :"financial_account.updated"
|
|
76
81
|
| :"funding_event.created"
|
|
82
|
+
| :"internal_transaction.created"
|
|
83
|
+
| :"internal_transaction.updated"
|
|
77
84
|
| :"loan_tape.created"
|
|
78
85
|
| :"loan_tape.updated"
|
|
79
86
|
| :"management_operation.created"
|
|
@@ -82,10 +89,9 @@ module Lithic
|
|
|
82
89
|
| :"network_total.updated"
|
|
83
90
|
| :"payment_transaction.created"
|
|
84
91
|
| :"payment_transaction.updated"
|
|
85
|
-
| :"internal_transaction.created"
|
|
86
|
-
| :"internal_transaction.updated"
|
|
87
92
|
| :"settlement_report.updated"
|
|
88
93
|
| :"statements.created"
|
|
94
|
+
| :"three_ds_authentication.challenge"
|
|
89
95
|
| :"three_ds_authentication.created"
|
|
90
96
|
| :"three_ds_authentication.updated"
|
|
91
97
|
| :"tokenization.approval_request"
|
|
@@ -97,26 +103,31 @@ module Lithic
|
|
|
97
103
|
module EventType
|
|
98
104
|
extend Lithic::Internal::Type::Enum
|
|
99
105
|
|
|
106
|
+
ACCOUNT_HOLDER_DOCUMENT_UPDATED: :"account_holder_document.updated"
|
|
100
107
|
ACCOUNT_HOLDER_CREATED: :"account_holder.created"
|
|
101
108
|
ACCOUNT_HOLDER_UPDATED: :"account_holder.updated"
|
|
102
109
|
ACCOUNT_HOLDER_VERIFICATION: :"account_holder.verification"
|
|
110
|
+
AUTH_RULES_BACKTEST_REPORT_CREATED: :"auth_rules.backtest_report.created"
|
|
103
111
|
BALANCE_UPDATED: :"balance.updated"
|
|
104
112
|
BOOK_TRANSFER_TRANSACTION_CREATED: :"book_transfer_transaction.created"
|
|
113
|
+
BOOK_TRANSFER_TRANSACTION_UPDATED: :"book_transfer_transaction.updated"
|
|
114
|
+
CARD_TRANSACTION_ENHANCED_DATA_CREATED: :"card_transaction.enhanced_data.created"
|
|
115
|
+
CARD_TRANSACTION_ENHANCED_DATA_UPDATED: :"card_transaction.enhanced_data.updated"
|
|
116
|
+
CARD_TRANSACTION_UPDATED: :"card_transaction.updated"
|
|
117
|
+
CARD_CONVERTED: :"card.converted"
|
|
105
118
|
CARD_CREATED: :"card.created"
|
|
106
|
-
CARD_RENEWED: :"card.renewed"
|
|
107
119
|
CARD_REISSUED: :"card.reissued"
|
|
108
|
-
|
|
120
|
+
CARD_RENEWED: :"card.renewed"
|
|
109
121
|
CARD_SHIPPED: :"card.shipped"
|
|
110
|
-
CARD_TRANSACTION_UPDATED: :"card_transaction.updated"
|
|
111
122
|
DIGITAL_WALLET_TOKENIZATION_APPROVAL_REQUEST: :"digital_wallet.tokenization_approval_request"
|
|
112
123
|
DIGITAL_WALLET_TOKENIZATION_RESULT: :"digital_wallet.tokenization_result"
|
|
113
124
|
DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE: :"digital_wallet.tokenization_two_factor_authentication_code"
|
|
114
125
|
DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE_SENT: :"digital_wallet.tokenization_two_factor_authentication_code_sent"
|
|
115
126
|
DIGITAL_WALLET_TOKENIZATION_UPDATED: :"digital_wallet.tokenization_updated"
|
|
116
|
-
DISPUTE_UPDATED: :"dispute.updated"
|
|
117
127
|
DISPUTE_EVIDENCE_UPLOAD_FAILED: :"dispute_evidence.upload_failed"
|
|
118
128
|
DISPUTE_TRANSACTION_CREATED: :"dispute_transaction.created"
|
|
119
129
|
DISPUTE_TRANSACTION_UPDATED: :"dispute_transaction.updated"
|
|
130
|
+
DISPUTE_UPDATED: :"dispute.updated"
|
|
120
131
|
EXTERNAL_BANK_ACCOUNT_CREATED: :"external_bank_account.created"
|
|
121
132
|
EXTERNAL_BANK_ACCOUNT_UPDATED: :"external_bank_account.updated"
|
|
122
133
|
EXTERNAL_PAYMENT_CREATED: :"external_payment.created"
|
|
@@ -124,6 +135,8 @@ module Lithic
|
|
|
124
135
|
FINANCIAL_ACCOUNT_CREATED: :"financial_account.created"
|
|
125
136
|
FINANCIAL_ACCOUNT_UPDATED: :"financial_account.updated"
|
|
126
137
|
FUNDING_EVENT_CREATED: :"funding_event.created"
|
|
138
|
+
INTERNAL_TRANSACTION_CREATED: :"internal_transaction.created"
|
|
139
|
+
INTERNAL_TRANSACTION_UPDATED: :"internal_transaction.updated"
|
|
127
140
|
LOAN_TAPE_CREATED: :"loan_tape.created"
|
|
128
141
|
LOAN_TAPE_UPDATED: :"loan_tape.updated"
|
|
129
142
|
MANAGEMENT_OPERATION_CREATED: :"management_operation.created"
|
|
@@ -132,10 +145,9 @@ module Lithic
|
|
|
132
145
|
NETWORK_TOTAL_UPDATED: :"network_total.updated"
|
|
133
146
|
PAYMENT_TRANSACTION_CREATED: :"payment_transaction.created"
|
|
134
147
|
PAYMENT_TRANSACTION_UPDATED: :"payment_transaction.updated"
|
|
135
|
-
INTERNAL_TRANSACTION_CREATED: :"internal_transaction.created"
|
|
136
|
-
INTERNAL_TRANSACTION_UPDATED: :"internal_transaction.updated"
|
|
137
148
|
SETTLEMENT_REPORT_UPDATED: :"settlement_report.updated"
|
|
138
149
|
STATEMENTS_CREATED: :"statements.created"
|
|
150
|
+
THREE_DS_AUTHENTICATION_CHALLENGE: :"three_ds_authentication.challenge"
|
|
139
151
|
THREE_DS_AUTHENTICATION_CREATED: :"three_ds_authentication.created"
|
|
140
152
|
THREE_DS_AUTHENTICATION_UPDATED: :"three_ds_authentication.updated"
|
|
141
153
|
TOKENIZATION_APPROVAL_REQUEST: :"tokenization.approval_request"
|
|
@@ -28,26 +28,31 @@ module Lithic
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
type event_type =
|
|
31
|
-
:"
|
|
31
|
+
:"account_holder_document.updated"
|
|
32
|
+
| :"account_holder.created"
|
|
32
33
|
| :"account_holder.updated"
|
|
33
34
|
| :"account_holder.verification"
|
|
35
|
+
| :"auth_rules.backtest_report.created"
|
|
34
36
|
| :"balance.updated"
|
|
35
37
|
| :"book_transfer_transaction.created"
|
|
38
|
+
| :"book_transfer_transaction.updated"
|
|
39
|
+
| :"card_transaction.enhanced_data.created"
|
|
40
|
+
| :"card_transaction.enhanced_data.updated"
|
|
41
|
+
| :"card_transaction.updated"
|
|
42
|
+
| :"card.converted"
|
|
36
43
|
| :"card.created"
|
|
37
|
-
| :"card.renewed"
|
|
38
44
|
| :"card.reissued"
|
|
39
|
-
| :"card.
|
|
45
|
+
| :"card.renewed"
|
|
40
46
|
| :"card.shipped"
|
|
41
|
-
| :"card_transaction.updated"
|
|
42
47
|
| :"digital_wallet.tokenization_approval_request"
|
|
43
48
|
| :"digital_wallet.tokenization_result"
|
|
44
49
|
| :"digital_wallet.tokenization_two_factor_authentication_code"
|
|
45
50
|
| :"digital_wallet.tokenization_two_factor_authentication_code_sent"
|
|
46
51
|
| :"digital_wallet.tokenization_updated"
|
|
47
|
-
| :"dispute.updated"
|
|
48
52
|
| :"dispute_evidence.upload_failed"
|
|
49
53
|
| :"dispute_transaction.created"
|
|
50
54
|
| :"dispute_transaction.updated"
|
|
55
|
+
| :"dispute.updated"
|
|
51
56
|
| :"external_bank_account.created"
|
|
52
57
|
| :"external_bank_account.updated"
|
|
53
58
|
| :"external_payment.created"
|
|
@@ -55,6 +60,8 @@ module Lithic
|
|
|
55
60
|
| :"financial_account.created"
|
|
56
61
|
| :"financial_account.updated"
|
|
57
62
|
| :"funding_event.created"
|
|
63
|
+
| :"internal_transaction.created"
|
|
64
|
+
| :"internal_transaction.updated"
|
|
58
65
|
| :"loan_tape.created"
|
|
59
66
|
| :"loan_tape.updated"
|
|
60
67
|
| :"management_operation.created"
|
|
@@ -63,10 +70,9 @@ module Lithic
|
|
|
63
70
|
| :"network_total.updated"
|
|
64
71
|
| :"payment_transaction.created"
|
|
65
72
|
| :"payment_transaction.updated"
|
|
66
|
-
| :"internal_transaction.created"
|
|
67
|
-
| :"internal_transaction.updated"
|
|
68
73
|
| :"settlement_report.updated"
|
|
69
74
|
| :"statements.created"
|
|
75
|
+
| :"three_ds_authentication.challenge"
|
|
70
76
|
| :"three_ds_authentication.created"
|
|
71
77
|
| :"three_ds_authentication.updated"
|
|
72
78
|
| :"tokenization.approval_request"
|
|
@@ -78,26 +84,31 @@ module Lithic
|
|
|
78
84
|
module EventType
|
|
79
85
|
extend Lithic::Internal::Type::Enum
|
|
80
86
|
|
|
87
|
+
ACCOUNT_HOLDER_DOCUMENT_UPDATED: :"account_holder_document.updated"
|
|
81
88
|
ACCOUNT_HOLDER_CREATED: :"account_holder.created"
|
|
82
89
|
ACCOUNT_HOLDER_UPDATED: :"account_holder.updated"
|
|
83
90
|
ACCOUNT_HOLDER_VERIFICATION: :"account_holder.verification"
|
|
91
|
+
AUTH_RULES_BACKTEST_REPORT_CREATED: :"auth_rules.backtest_report.created"
|
|
84
92
|
BALANCE_UPDATED: :"balance.updated"
|
|
85
93
|
BOOK_TRANSFER_TRANSACTION_CREATED: :"book_transfer_transaction.created"
|
|
94
|
+
BOOK_TRANSFER_TRANSACTION_UPDATED: :"book_transfer_transaction.updated"
|
|
95
|
+
CARD_TRANSACTION_ENHANCED_DATA_CREATED: :"card_transaction.enhanced_data.created"
|
|
96
|
+
CARD_TRANSACTION_ENHANCED_DATA_UPDATED: :"card_transaction.enhanced_data.updated"
|
|
97
|
+
CARD_TRANSACTION_UPDATED: :"card_transaction.updated"
|
|
98
|
+
CARD_CONVERTED: :"card.converted"
|
|
86
99
|
CARD_CREATED: :"card.created"
|
|
87
|
-
CARD_RENEWED: :"card.renewed"
|
|
88
100
|
CARD_REISSUED: :"card.reissued"
|
|
89
|
-
|
|
101
|
+
CARD_RENEWED: :"card.renewed"
|
|
90
102
|
CARD_SHIPPED: :"card.shipped"
|
|
91
|
-
CARD_TRANSACTION_UPDATED: :"card_transaction.updated"
|
|
92
103
|
DIGITAL_WALLET_TOKENIZATION_APPROVAL_REQUEST: :"digital_wallet.tokenization_approval_request"
|
|
93
104
|
DIGITAL_WALLET_TOKENIZATION_RESULT: :"digital_wallet.tokenization_result"
|
|
94
105
|
DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE: :"digital_wallet.tokenization_two_factor_authentication_code"
|
|
95
106
|
DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE_SENT: :"digital_wallet.tokenization_two_factor_authentication_code_sent"
|
|
96
107
|
DIGITAL_WALLET_TOKENIZATION_UPDATED: :"digital_wallet.tokenization_updated"
|
|
97
|
-
DISPUTE_UPDATED: :"dispute.updated"
|
|
98
108
|
DISPUTE_EVIDENCE_UPLOAD_FAILED: :"dispute_evidence.upload_failed"
|
|
99
109
|
DISPUTE_TRANSACTION_CREATED: :"dispute_transaction.created"
|
|
100
110
|
DISPUTE_TRANSACTION_UPDATED: :"dispute_transaction.updated"
|
|
111
|
+
DISPUTE_UPDATED: :"dispute.updated"
|
|
101
112
|
EXTERNAL_BANK_ACCOUNT_CREATED: :"external_bank_account.created"
|
|
102
113
|
EXTERNAL_BANK_ACCOUNT_UPDATED: :"external_bank_account.updated"
|
|
103
114
|
EXTERNAL_PAYMENT_CREATED: :"external_payment.created"
|
|
@@ -105,6 +116,8 @@ module Lithic
|
|
|
105
116
|
FINANCIAL_ACCOUNT_CREATED: :"financial_account.created"
|
|
106
117
|
FINANCIAL_ACCOUNT_UPDATED: :"financial_account.updated"
|
|
107
118
|
FUNDING_EVENT_CREATED: :"funding_event.created"
|
|
119
|
+
INTERNAL_TRANSACTION_CREATED: :"internal_transaction.created"
|
|
120
|
+
INTERNAL_TRANSACTION_UPDATED: :"internal_transaction.updated"
|
|
108
121
|
LOAN_TAPE_CREATED: :"loan_tape.created"
|
|
109
122
|
LOAN_TAPE_UPDATED: :"loan_tape.updated"
|
|
110
123
|
MANAGEMENT_OPERATION_CREATED: :"management_operation.created"
|
|
@@ -113,10 +126,9 @@ module Lithic
|
|
|
113
126
|
NETWORK_TOTAL_UPDATED: :"network_total.updated"
|
|
114
127
|
PAYMENT_TRANSACTION_CREATED: :"payment_transaction.created"
|
|
115
128
|
PAYMENT_TRANSACTION_UPDATED: :"payment_transaction.updated"
|
|
116
|
-
INTERNAL_TRANSACTION_CREATED: :"internal_transaction.created"
|
|
117
|
-
INTERNAL_TRANSACTION_UPDATED: :"internal_transaction.updated"
|
|
118
129
|
SETTLEMENT_REPORT_UPDATED: :"settlement_report.updated"
|
|
119
130
|
STATEMENTS_CREATED: :"statements.created"
|
|
131
|
+
THREE_DS_AUTHENTICATION_CHALLENGE: :"three_ds_authentication.challenge"
|
|
120
132
|
THREE_DS_AUTHENTICATION_CREATED: :"three_ds_authentication.created"
|
|
121
133
|
THREE_DS_AUTHENTICATION_UPDATED: :"three_ds_authentication.updated"
|
|
122
134
|
TOKENIZATION_APPROVAL_REQUEST: :"tokenization.approval_request"
|
|
@@ -47,26 +47,31 @@ module Lithic
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
type event_type =
|
|
50
|
-
:"
|
|
50
|
+
:"account_holder_document.updated"
|
|
51
|
+
| :"account_holder.created"
|
|
51
52
|
| :"account_holder.updated"
|
|
52
53
|
| :"account_holder.verification"
|
|
54
|
+
| :"auth_rules.backtest_report.created"
|
|
53
55
|
| :"balance.updated"
|
|
54
56
|
| :"book_transfer_transaction.created"
|
|
57
|
+
| :"book_transfer_transaction.updated"
|
|
58
|
+
| :"card_transaction.enhanced_data.created"
|
|
59
|
+
| :"card_transaction.enhanced_data.updated"
|
|
60
|
+
| :"card_transaction.updated"
|
|
61
|
+
| :"card.converted"
|
|
55
62
|
| :"card.created"
|
|
56
|
-
| :"card.renewed"
|
|
57
63
|
| :"card.reissued"
|
|
58
|
-
| :"card.
|
|
64
|
+
| :"card.renewed"
|
|
59
65
|
| :"card.shipped"
|
|
60
|
-
| :"card_transaction.updated"
|
|
61
66
|
| :"digital_wallet.tokenization_approval_request"
|
|
62
67
|
| :"digital_wallet.tokenization_result"
|
|
63
68
|
| :"digital_wallet.tokenization_two_factor_authentication_code"
|
|
64
69
|
| :"digital_wallet.tokenization_two_factor_authentication_code_sent"
|
|
65
70
|
| :"digital_wallet.tokenization_updated"
|
|
66
|
-
| :"dispute.updated"
|
|
67
71
|
| :"dispute_evidence.upload_failed"
|
|
68
72
|
| :"dispute_transaction.created"
|
|
69
73
|
| :"dispute_transaction.updated"
|
|
74
|
+
| :"dispute.updated"
|
|
70
75
|
| :"external_bank_account.created"
|
|
71
76
|
| :"external_bank_account.updated"
|
|
72
77
|
| :"external_payment.created"
|
|
@@ -74,6 +79,8 @@ module Lithic
|
|
|
74
79
|
| :"financial_account.created"
|
|
75
80
|
| :"financial_account.updated"
|
|
76
81
|
| :"funding_event.created"
|
|
82
|
+
| :"internal_transaction.created"
|
|
83
|
+
| :"internal_transaction.updated"
|
|
77
84
|
| :"loan_tape.created"
|
|
78
85
|
| :"loan_tape.updated"
|
|
79
86
|
| :"management_operation.created"
|
|
@@ -82,10 +89,9 @@ module Lithic
|
|
|
82
89
|
| :"network_total.updated"
|
|
83
90
|
| :"payment_transaction.created"
|
|
84
91
|
| :"payment_transaction.updated"
|
|
85
|
-
| :"internal_transaction.created"
|
|
86
|
-
| :"internal_transaction.updated"
|
|
87
92
|
| :"settlement_report.updated"
|
|
88
93
|
| :"statements.created"
|
|
94
|
+
| :"three_ds_authentication.challenge"
|
|
89
95
|
| :"three_ds_authentication.created"
|
|
90
96
|
| :"three_ds_authentication.updated"
|
|
91
97
|
| :"tokenization.approval_request"
|
|
@@ -97,26 +103,31 @@ module Lithic
|
|
|
97
103
|
module EventType
|
|
98
104
|
extend Lithic::Internal::Type::Enum
|
|
99
105
|
|
|
106
|
+
ACCOUNT_HOLDER_DOCUMENT_UPDATED: :"account_holder_document.updated"
|
|
100
107
|
ACCOUNT_HOLDER_CREATED: :"account_holder.created"
|
|
101
108
|
ACCOUNT_HOLDER_UPDATED: :"account_holder.updated"
|
|
102
109
|
ACCOUNT_HOLDER_VERIFICATION: :"account_holder.verification"
|
|
110
|
+
AUTH_RULES_BACKTEST_REPORT_CREATED: :"auth_rules.backtest_report.created"
|
|
103
111
|
BALANCE_UPDATED: :"balance.updated"
|
|
104
112
|
BOOK_TRANSFER_TRANSACTION_CREATED: :"book_transfer_transaction.created"
|
|
113
|
+
BOOK_TRANSFER_TRANSACTION_UPDATED: :"book_transfer_transaction.updated"
|
|
114
|
+
CARD_TRANSACTION_ENHANCED_DATA_CREATED: :"card_transaction.enhanced_data.created"
|
|
115
|
+
CARD_TRANSACTION_ENHANCED_DATA_UPDATED: :"card_transaction.enhanced_data.updated"
|
|
116
|
+
CARD_TRANSACTION_UPDATED: :"card_transaction.updated"
|
|
117
|
+
CARD_CONVERTED: :"card.converted"
|
|
105
118
|
CARD_CREATED: :"card.created"
|
|
106
|
-
CARD_RENEWED: :"card.renewed"
|
|
107
119
|
CARD_REISSUED: :"card.reissued"
|
|
108
|
-
|
|
120
|
+
CARD_RENEWED: :"card.renewed"
|
|
109
121
|
CARD_SHIPPED: :"card.shipped"
|
|
110
|
-
CARD_TRANSACTION_UPDATED: :"card_transaction.updated"
|
|
111
122
|
DIGITAL_WALLET_TOKENIZATION_APPROVAL_REQUEST: :"digital_wallet.tokenization_approval_request"
|
|
112
123
|
DIGITAL_WALLET_TOKENIZATION_RESULT: :"digital_wallet.tokenization_result"
|
|
113
124
|
DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE: :"digital_wallet.tokenization_two_factor_authentication_code"
|
|
114
125
|
DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE_SENT: :"digital_wallet.tokenization_two_factor_authentication_code_sent"
|
|
115
126
|
DIGITAL_WALLET_TOKENIZATION_UPDATED: :"digital_wallet.tokenization_updated"
|
|
116
|
-
DISPUTE_UPDATED: :"dispute.updated"
|
|
117
127
|
DISPUTE_EVIDENCE_UPLOAD_FAILED: :"dispute_evidence.upload_failed"
|
|
118
128
|
DISPUTE_TRANSACTION_CREATED: :"dispute_transaction.created"
|
|
119
129
|
DISPUTE_TRANSACTION_UPDATED: :"dispute_transaction.updated"
|
|
130
|
+
DISPUTE_UPDATED: :"dispute.updated"
|
|
120
131
|
EXTERNAL_BANK_ACCOUNT_CREATED: :"external_bank_account.created"
|
|
121
132
|
EXTERNAL_BANK_ACCOUNT_UPDATED: :"external_bank_account.updated"
|
|
122
133
|
EXTERNAL_PAYMENT_CREATED: :"external_payment.created"
|
|
@@ -124,6 +135,8 @@ module Lithic
|
|
|
124
135
|
FINANCIAL_ACCOUNT_CREATED: :"financial_account.created"
|
|
125
136
|
FINANCIAL_ACCOUNT_UPDATED: :"financial_account.updated"
|
|
126
137
|
FUNDING_EVENT_CREATED: :"funding_event.created"
|
|
138
|
+
INTERNAL_TRANSACTION_CREATED: :"internal_transaction.created"
|
|
139
|
+
INTERNAL_TRANSACTION_UPDATED: :"internal_transaction.updated"
|
|
127
140
|
LOAN_TAPE_CREATED: :"loan_tape.created"
|
|
128
141
|
LOAN_TAPE_UPDATED: :"loan_tape.updated"
|
|
129
142
|
MANAGEMENT_OPERATION_CREATED: :"management_operation.created"
|
|
@@ -132,10 +145,9 @@ module Lithic
|
|
|
132
145
|
NETWORK_TOTAL_UPDATED: :"network_total.updated"
|
|
133
146
|
PAYMENT_TRANSACTION_CREATED: :"payment_transaction.created"
|
|
134
147
|
PAYMENT_TRANSACTION_UPDATED: :"payment_transaction.updated"
|
|
135
|
-
INTERNAL_TRANSACTION_CREATED: :"internal_transaction.created"
|
|
136
|
-
INTERNAL_TRANSACTION_UPDATED: :"internal_transaction.updated"
|
|
137
148
|
SETTLEMENT_REPORT_UPDATED: :"settlement_report.updated"
|
|
138
149
|
STATEMENTS_CREATED: :"statements.created"
|
|
150
|
+
THREE_DS_AUTHENTICATION_CHALLENGE: :"three_ds_authentication.challenge"
|
|
139
151
|
THREE_DS_AUTHENTICATION_CREATED: :"three_ds_authentication.created"
|
|
140
152
|
THREE_DS_AUTHENTICATION_UPDATED: :"three_ds_authentication.updated"
|
|
141
153
|
TOKENIZATION_APPROVAL_REQUEST: :"tokenization.approval_request"
|
|
@@ -77,10 +77,7 @@ module Lithic
|
|
|
77
77
|
credit_limit: Integer?,
|
|
78
78
|
credit_product_token: String?,
|
|
79
79
|
external_bank_account_token: String?,
|
|
80
|
-
tier: String
|
|
81
|
-
charged_off_reason: Lithic::Models::FinancialAccount::CreditConfiguration::charged_off_reason?,
|
|
82
|
-
financial_account_state: Lithic::Models::FinancialAccount::CreditConfiguration::financial_account_state?,
|
|
83
|
-
is_spend_blocked: bool
|
|
80
|
+
tier: String?
|
|
84
81
|
}
|
|
85
82
|
|
|
86
83
|
class CreditConfiguration < Lithic::Internal::Type::BaseModel
|
|
@@ -94,23 +91,12 @@ module Lithic
|
|
|
94
91
|
|
|
95
92
|
attr_accessor tier: String?
|
|
96
93
|
|
|
97
|
-
attr_accessor charged_off_reason: Lithic::Models::FinancialAccount::CreditConfiguration::charged_off_reason?
|
|
98
|
-
|
|
99
|
-
attr_accessor financial_account_state: Lithic::Models::FinancialAccount::CreditConfiguration::financial_account_state?
|
|
100
|
-
|
|
101
|
-
attr_reader is_spend_blocked: bool?
|
|
102
|
-
|
|
103
|
-
def is_spend_blocked=: (bool) -> bool
|
|
104
|
-
|
|
105
94
|
def initialize: (
|
|
106
95
|
auto_collection_configuration: Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration,
|
|
107
96
|
credit_limit: Integer?,
|
|
108
97
|
credit_product_token: String?,
|
|
109
98
|
external_bank_account_token: String?,
|
|
110
|
-
tier: String
|
|
111
|
-
?charged_off_reason: Lithic::Models::FinancialAccount::CreditConfiguration::charged_off_reason?,
|
|
112
|
-
?financial_account_state: Lithic::Models::FinancialAccount::CreditConfiguration::financial_account_state?,
|
|
113
|
-
?is_spend_blocked: bool
|
|
99
|
+
tier: String?
|
|
114
100
|
) -> void
|
|
115
101
|
|
|
116
102
|
def to_hash: -> {
|
|
@@ -118,10 +104,7 @@ module Lithic
|
|
|
118
104
|
credit_limit: Integer?,
|
|
119
105
|
credit_product_token: String?,
|
|
120
106
|
external_bank_account_token: String?,
|
|
121
|
-
tier: String
|
|
122
|
-
charged_off_reason: Lithic::Models::FinancialAccount::CreditConfiguration::charged_off_reason?,
|
|
123
|
-
financial_account_state: Lithic::Models::FinancialAccount::CreditConfiguration::financial_account_state?,
|
|
124
|
-
is_spend_blocked: bool
|
|
107
|
+
tier: String?
|
|
125
108
|
}
|
|
126
109
|
|
|
127
110
|
type auto_collection_configuration = { auto_collection_enabled: bool }
|
|
@@ -133,31 +116,6 @@ module Lithic
|
|
|
133
116
|
|
|
134
117
|
def to_hash: -> { auto_collection_enabled: bool }
|
|
135
118
|
end
|
|
136
|
-
|
|
137
|
-
type charged_off_reason = :DELINQUENT | :FRAUD
|
|
138
|
-
|
|
139
|
-
module ChargedOffReason
|
|
140
|
-
extend Lithic::Internal::Type::Enum
|
|
141
|
-
|
|
142
|
-
DELINQUENT: :DELINQUENT
|
|
143
|
-
FRAUD: :FRAUD
|
|
144
|
-
|
|
145
|
-
def self?.values: -> ::Array[Lithic::Models::FinancialAccount::CreditConfiguration::charged_off_reason]
|
|
146
|
-
end
|
|
147
|
-
|
|
148
|
-
type financial_account_state =
|
|
149
|
-
:PENDING | :CURRENT | :DELINQUENT | :CHARGED_OFF
|
|
150
|
-
|
|
151
|
-
module FinancialAccountState
|
|
152
|
-
extend Lithic::Internal::Type::Enum
|
|
153
|
-
|
|
154
|
-
PENDING: :PENDING
|
|
155
|
-
CURRENT: :CURRENT
|
|
156
|
-
DELINQUENT: :DELINQUENT
|
|
157
|
-
CHARGED_OFF: :CHARGED_OFF
|
|
158
|
-
|
|
159
|
-
def self?.values: -> ::Array[Lithic::Models::FinancialAccount::CreditConfiguration::financial_account_state]
|
|
160
|
-
end
|
|
161
119
|
end
|
|
162
120
|
|
|
163
121
|
type status = :OPEN | :CLOSED | :SUSPENDED | :PENDING
|
|
@@ -10,10 +10,7 @@ module Lithic
|
|
|
10
10
|
credit_limit: Integer?,
|
|
11
11
|
credit_product_token: String?,
|
|
12
12
|
external_bank_account_token: String?,
|
|
13
|
-
tier: String
|
|
14
|
-
charged_off_reason: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::charged_off_reason?,
|
|
15
|
-
financial_account_state: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::financial_account_state,
|
|
16
|
-
is_spend_blocked: bool
|
|
13
|
+
tier: String?
|
|
17
14
|
}
|
|
18
15
|
|
|
19
16
|
class FinancialAccountCreditConfig < Lithic::Internal::Type::BaseModel
|
|
@@ -29,28 +26,13 @@ module Lithic
|
|
|
29
26
|
|
|
30
27
|
attr_accessor tier: String?
|
|
31
28
|
|
|
32
|
-
attr_accessor charged_off_reason: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::charged_off_reason?
|
|
33
|
-
|
|
34
|
-
attr_reader financial_account_state: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::financial_account_state?
|
|
35
|
-
|
|
36
|
-
def financial_account_state=: (
|
|
37
|
-
Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::financial_account_state
|
|
38
|
-
) -> Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::financial_account_state
|
|
39
|
-
|
|
40
|
-
attr_reader is_spend_blocked: bool?
|
|
41
|
-
|
|
42
|
-
def is_spend_blocked=: (bool) -> bool
|
|
43
|
-
|
|
44
29
|
def initialize: (
|
|
45
30
|
account_token: String,
|
|
46
31
|
auto_collection_configuration: Lithic::FinancialAccounts::FinancialAccountCreditConfig::AutoCollectionConfiguration,
|
|
47
32
|
credit_limit: Integer?,
|
|
48
33
|
credit_product_token: String?,
|
|
49
34
|
external_bank_account_token: String?,
|
|
50
|
-
tier: String
|
|
51
|
-
?charged_off_reason: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::charged_off_reason?,
|
|
52
|
-
?financial_account_state: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::financial_account_state,
|
|
53
|
-
?is_spend_blocked: bool
|
|
35
|
+
tier: String?
|
|
54
36
|
) -> void
|
|
55
37
|
|
|
56
38
|
def to_hash: -> {
|
|
@@ -59,10 +41,7 @@ module Lithic
|
|
|
59
41
|
credit_limit: Integer?,
|
|
60
42
|
credit_product_token: String?,
|
|
61
43
|
external_bank_account_token: String?,
|
|
62
|
-
tier: String
|
|
63
|
-
charged_off_reason: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::charged_off_reason?,
|
|
64
|
-
financial_account_state: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::financial_account_state,
|
|
65
|
-
is_spend_blocked: bool
|
|
44
|
+
tier: String?
|
|
66
45
|
}
|
|
67
46
|
|
|
68
47
|
type auto_collection_configuration = { auto_collection_enabled: bool }
|
|
@@ -74,31 +53,6 @@ module Lithic
|
|
|
74
53
|
|
|
75
54
|
def to_hash: -> { auto_collection_enabled: bool }
|
|
76
55
|
end
|
|
77
|
-
|
|
78
|
-
type charged_off_reason = :DELINQUENT | :FRAUD
|
|
79
|
-
|
|
80
|
-
module ChargedOffReason
|
|
81
|
-
extend Lithic::Internal::Type::Enum
|
|
82
|
-
|
|
83
|
-
DELINQUENT: :DELINQUENT
|
|
84
|
-
FRAUD: :FRAUD
|
|
85
|
-
|
|
86
|
-
def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::charged_off_reason]
|
|
87
|
-
end
|
|
88
|
-
|
|
89
|
-
type financial_account_state =
|
|
90
|
-
:PENDING | :CURRENT | :DELINQUENT | :CHARGED_OFF
|
|
91
|
-
|
|
92
|
-
module FinancialAccountState
|
|
93
|
-
extend Lithic::Internal::Type::Enum
|
|
94
|
-
|
|
95
|
-
PENDING: :PENDING
|
|
96
|
-
CURRENT: :CURRENT
|
|
97
|
-
DELINQUENT: :DELINQUENT
|
|
98
|
-
CHARGED_OFF: :CHARGED_OFF
|
|
99
|
-
|
|
100
|
-
def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::financial_account_state]
|
|
101
|
-
end
|
|
102
56
|
end
|
|
103
57
|
end
|
|
104
58
|
end
|