lithic 0.13.0 → 0.15.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 +35 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/internal/transport/base_client.rb +2 -0
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +4 -4
- data/lib/lithic/models/account_retrieve_signals_params.rb +20 -0
- data/lib/lithic/models/auth_rules/auth_rule.rb +10 -6
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +2 -2
- data/lib/lithic/models/auth_rules/auth_rule_version.rb +5 -3
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +8 -6
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +4 -4
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +119 -44
- data/lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb +533 -0
- data/lib/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rb +18 -14
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +6 -6
- data/lib/lithic/models/auth_rules/conditional_value.rb +3 -2
- data/lib/lithic/models/auth_rules/v2_create_params.rb +15 -9
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +5 -3
- data/lib/lithic/models/balance.rb +8 -6
- data/lib/lithic/models/card_authorization.rb +1266 -0
- data/lib/lithic/models/card_authorization_approval_request_webhook_event.rb +3 -1253
- data/lib/lithic/models/card_authorization_challenge_response_params.rb +40 -0
- data/lib/lithic/models/card_authorization_challenge_response_webhook_event.rb +1 -0
- data/lib/lithic/models/card_authorization_challenge_webhook_event.rb +67 -0
- data/lib/lithic/models/card_program.rb +2 -2
- data/lib/lithic/models/card_retrieve_signals_params.rb +20 -0
- data/lib/lithic/models/event.rb +13 -4
- data/lib/lithic/models/event_list_params.rb +7 -2
- data/lib/lithic/models/event_subscription.rb +7 -2
- data/lib/lithic/models/events/subscription_create_params.rb +7 -2
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
- data/lib/lithic/models/events/subscription_update_params.rb +7 -2
- data/lib/lithic/models/external_bank_account.rb +1 -1
- data/lib/lithic/models/external_bank_account_pause_params.rb +20 -0
- data/lib/lithic/models/financial_accounts/statement.rb +4 -4
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +3 -2
- data/lib/lithic/models/financial_event.rb +1 -0
- data/lib/lithic/models/kyb_business_entity.rb +2 -2
- data/lib/lithic/models/parsed_webhook_event.rb +4 -1
- data/lib/lithic/models/settlement_detail.rb +14 -14
- data/lib/lithic/models/signals_response.rb +306 -0
- data/lib/lithic/models/statement_totals.rb +6 -6
- data/lib/lithic/models/tokenization_decline_reason.rb +1 -0
- data/lib/lithic/models/transaction.rb +2 -2
- data/lib/lithic/models/transfer_limits_response.rb +12 -12
- data/lib/lithic/models.rb +14 -0
- data/lib/lithic/resources/accounts.rb +27 -0
- data/lib/lithic/resources/auth_rules/v2.rb +1 -1
- data/lib/lithic/resources/card_authorizations.rb +45 -0
- data/lib/lithic/resources/cards.rb +25 -0
- data/lib/lithic/resources/external_bank_accounts.rb +19 -0
- data/lib/lithic/resources/webhooks.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +9 -0
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +6 -12
- data/rbi/lithic/models/account_retrieve_signals_params.rbi +35 -0
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +8 -4
- data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +4 -2
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +9 -6
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +3 -3
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +214 -63
- data/rbi/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbi +1147 -0
- data/rbi/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rbi +24 -18
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +6 -6
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +1 -1
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +24 -12
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +8 -4
- data/rbi/lithic/models/balance.rbi +12 -6
- data/rbi/lithic/models/card_authorization.rbi +2540 -0
- data/rbi/lithic/models/card_authorization_approval_request_webhook_event.rbi +5 -2758
- data/rbi/lithic/models/card_authorization_challenge_response_params.rbi +93 -0
- data/rbi/lithic/models/card_authorization_challenge_response_webhook_event.rbi +5 -0
- data/rbi/lithic/models/card_authorization_challenge_webhook_event.rbi +119 -0
- data/rbi/lithic/models/card_program.rbi +3 -6
- data/rbi/lithic/models/card_retrieve_signals_params.rbi +35 -0
- data/rbi/lithic/models/event.rbi +23 -6
- data/rbi/lithic/models/event_list_params.rbi +11 -2
- data/rbi/lithic/models/event_subscription.rbi +11 -2
- data/rbi/lithic/models/events/subscription_create_params.rbi +11 -2
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +11 -2
- data/rbi/lithic/models/external_bank_account_pause_params.rbi +41 -0
- data/rbi/lithic/models/financial_accounts/statement.rbi +6 -12
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +8 -6
- data/rbi/lithic/models/financial_event.rbi +2 -0
- data/rbi/lithic/models/kyb_business_entity.rbi +3 -6
- data/rbi/lithic/models/parsed_webhook_event.rbi +1 -0
- data/rbi/lithic/models/settlement_detail.rbi +15 -15
- data/rbi/lithic/models/signals_response.rbi +352 -0
- data/rbi/lithic/models/statement_totals.rbi +9 -18
- data/rbi/lithic/models/tokenization_decline_reason.rbi +2 -0
- data/rbi/lithic/models/transaction.rbi +3 -3
- data/rbi/lithic/models/transfer_limits_response.rbi +48 -48
- data/rbi/lithic/models.rbi +17 -0
- data/rbi/lithic/resources/accounts.rbi +21 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +2 -1
- data/rbi/lithic/resources/card_authorizations.rbi +35 -0
- data/rbi/lithic/resources/cards.rbi +19 -0
- data/rbi/lithic/resources/external_bank_accounts.rbi +10 -0
- data/rbi/lithic/resources/webhooks.rbi +4 -1
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +8 -12
- data/sig/lithic/models/account_retrieve_signals_params.rbs +23 -0
- data/sig/lithic/models/auth_rules/auth_rule.rbs +2 -0
- data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +29 -3
- data/sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs +276 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +1 -1
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +3 -0
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -0
- data/sig/lithic/models/balance.rbs +17 -9
- data/sig/lithic/models/card_authorization.rbs +1038 -0
- data/sig/lithic/models/card_authorization_approval_request_webhook_event.rbs +7 -1013
- data/sig/lithic/models/card_authorization_challenge_response_params.rbs +42 -0
- data/sig/lithic/models/card_authorization_challenge_response_webhook_event.rbs +2 -1
- data/sig/lithic/models/card_authorization_challenge_webhook_event.rbs +53 -0
- data/sig/lithic/models/card_program.rbs +4 -6
- data/sig/lithic/models/card_retrieve_signals_params.rbs +23 -0
- data/sig/lithic/models/event.rbs +2 -0
- data/sig/lithic/models/event_list_params.rbs +2 -0
- data/sig/lithic/models/event_subscription.rbs +2 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +2 -0
- data/sig/lithic/models/external_bank_account_pause_params.rbs +24 -0
- data/sig/lithic/models/financial_accounts/statement.rbs +8 -12
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +6 -6
- data/sig/lithic/models/financial_event.rbs +2 -0
- data/sig/lithic/models/kyb_business_entity.rbs +4 -6
- data/sig/lithic/models/parsed_webhook_event.rbs +1 -0
- data/sig/lithic/models/settlement_detail.rbs +18 -18
- data/sig/lithic/models/signals_response.rbs +170 -0
- data/sig/lithic/models/statement_totals.rbs +12 -18
- data/sig/lithic/models/tokenization_decline_reason.rbs +2 -0
- data/sig/lithic/models/transaction.rbs +4 -8
- data/sig/lithic/models/transfer_limits_response.rbs +24 -36
- data/sig/lithic/models.rbs +14 -0
- data/sig/lithic/resources/accounts.rbs +5 -0
- data/sig/lithic/resources/card_authorizations.rbs +13 -0
- data/sig/lithic/resources/cards.rbs +5 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +5 -0
- data/sig/lithic/resources/webhooks.rbs +1 -0
- metadata +29 -2
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type card_authorization_challenge_response_params =
|
|
4
|
+
{
|
|
5
|
+
event_token: String,
|
|
6
|
+
response: Lithic::Models::CardAuthorizationChallengeResponseParams::response
|
|
7
|
+
}
|
|
8
|
+
& Lithic::Internal::Type::request_parameters
|
|
9
|
+
|
|
10
|
+
class CardAuthorizationChallengeResponseParams < Lithic::Internal::Type::BaseModel
|
|
11
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
12
|
+
include Lithic::Internal::Type::RequestParameters
|
|
13
|
+
|
|
14
|
+
attr_accessor event_token: String
|
|
15
|
+
|
|
16
|
+
attr_accessor response: Lithic::Models::CardAuthorizationChallengeResponseParams::response
|
|
17
|
+
|
|
18
|
+
def initialize: (
|
|
19
|
+
event_token: String,
|
|
20
|
+
response: Lithic::Models::CardAuthorizationChallengeResponseParams::response,
|
|
21
|
+
?request_options: Lithic::request_opts
|
|
22
|
+
) -> void
|
|
23
|
+
|
|
24
|
+
def to_hash: -> {
|
|
25
|
+
event_token: String,
|
|
26
|
+
response: Lithic::Models::CardAuthorizationChallengeResponseParams::response,
|
|
27
|
+
request_options: Lithic::RequestOptions
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
type response = :APPROVE | :DECLINE
|
|
31
|
+
|
|
32
|
+
module Response
|
|
33
|
+
extend Lithic::Internal::Type::Enum
|
|
34
|
+
|
|
35
|
+
APPROVE: :APPROVE
|
|
36
|
+
DECLINE: :DECLINE
|
|
37
|
+
|
|
38
|
+
def self?.values: -> ::Array[Lithic::Models::CardAuthorizationChallengeResponseParams::response]
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
end
|
|
@@ -51,12 +51,13 @@ module Lithic
|
|
|
51
51
|
transaction_token: String?
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
type challenge_method = :SMS
|
|
54
|
+
type challenge_method = :SMS | :OUT_OF_BAND
|
|
55
55
|
|
|
56
56
|
module ChallengeMethod
|
|
57
57
|
extend Lithic::Internal::Type::Enum
|
|
58
58
|
|
|
59
59
|
SMS: :SMS
|
|
60
|
+
OUT_OF_BAND: :OUT_OF_BAND
|
|
60
61
|
|
|
61
62
|
def self?.values: -> ::Array[Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent::challenge_method]
|
|
62
63
|
end
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type card_authorization_challenge_webhook_event =
|
|
4
|
+
{
|
|
5
|
+
authorization: Lithic::CardAuthorization,
|
|
6
|
+
challenge: Lithic::CardAuthorizationChallengeWebhookEvent::Challenge,
|
|
7
|
+
event_type: :"card_authorization.challenge"
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
class CardAuthorizationChallengeWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
11
|
+
attr_accessor authorization: Lithic::CardAuthorization
|
|
12
|
+
|
|
13
|
+
attr_accessor challenge: Lithic::CardAuthorizationChallengeWebhookEvent::Challenge
|
|
14
|
+
|
|
15
|
+
attr_accessor event_type: :"card_authorization.challenge"
|
|
16
|
+
|
|
17
|
+
def initialize: (
|
|
18
|
+
authorization: Lithic::CardAuthorization,
|
|
19
|
+
challenge: Lithic::CardAuthorizationChallengeWebhookEvent::Challenge,
|
|
20
|
+
?event_type: :"card_authorization.challenge"
|
|
21
|
+
) -> void
|
|
22
|
+
|
|
23
|
+
def to_hash: -> {
|
|
24
|
+
authorization: Lithic::CardAuthorization,
|
|
25
|
+
challenge: Lithic::CardAuthorizationChallengeWebhookEvent::Challenge,
|
|
26
|
+
event_type: :"card_authorization.challenge"
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
type challenge =
|
|
30
|
+
{ event_token: String, expiry_time: Time, start_time: Time }
|
|
31
|
+
|
|
32
|
+
class Challenge < Lithic::Internal::Type::BaseModel
|
|
33
|
+
attr_accessor event_token: String
|
|
34
|
+
|
|
35
|
+
attr_accessor expiry_time: Time
|
|
36
|
+
|
|
37
|
+
attr_accessor start_time: Time
|
|
38
|
+
|
|
39
|
+
def initialize: (
|
|
40
|
+
event_token: String,
|
|
41
|
+
expiry_time: Time,
|
|
42
|
+
start_time: Time
|
|
43
|
+
) -> void
|
|
44
|
+
|
|
45
|
+
def to_hash: -> {
|
|
46
|
+
event_token: String,
|
|
47
|
+
expiry_time: Time,
|
|
48
|
+
start_time: Time
|
|
49
|
+
}
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
@@ -8,7 +8,7 @@ module Lithic
|
|
|
8
8
|
name: String,
|
|
9
9
|
pan_range_end: String,
|
|
10
10
|
pan_range_start: String,
|
|
11
|
-
cardholder_currency: String
|
|
11
|
+
cardholder_currency: String?,
|
|
12
12
|
settlement_currencies: ::Array[String]
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -25,9 +25,7 @@ module Lithic
|
|
|
25
25
|
|
|
26
26
|
attr_accessor pan_range_start: String
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
def cardholder_currency=: (String) -> String
|
|
28
|
+
attr_accessor cardholder_currency: String?
|
|
31
29
|
|
|
32
30
|
attr_reader settlement_currencies: ::Array[String]?
|
|
33
31
|
|
|
@@ -40,7 +38,7 @@ module Lithic
|
|
|
40
38
|
name: String,
|
|
41
39
|
pan_range_end: String,
|
|
42
40
|
pan_range_start: String,
|
|
43
|
-
?cardholder_currency: String
|
|
41
|
+
?cardholder_currency: String?,
|
|
44
42
|
?settlement_currencies: ::Array[String]
|
|
45
43
|
) -> void
|
|
46
44
|
|
|
@@ -51,7 +49,7 @@ module Lithic
|
|
|
51
49
|
name: String,
|
|
52
50
|
pan_range_end: String,
|
|
53
51
|
pan_range_start: String,
|
|
54
|
-
cardholder_currency: String
|
|
52
|
+
cardholder_currency: String?,
|
|
55
53
|
settlement_currencies: ::Array[String]
|
|
56
54
|
}
|
|
57
55
|
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type card_retrieve_signals_params =
|
|
4
|
+
{ card_token: String } & Lithic::Internal::Type::request_parameters
|
|
5
|
+
|
|
6
|
+
class CardRetrieveSignalsParams < Lithic::Internal::Type::BaseModel
|
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Lithic::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
attr_accessor card_token: String
|
|
11
|
+
|
|
12
|
+
def initialize: (
|
|
13
|
+
card_token: String,
|
|
14
|
+
?request_options: Lithic::request_opts
|
|
15
|
+
) -> void
|
|
16
|
+
|
|
17
|
+
def to_hash: -> {
|
|
18
|
+
card_token: String,
|
|
19
|
+
request_options: Lithic::RequestOptions
|
|
20
|
+
}
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
data/sig/lithic/models/event.rbs
CHANGED
|
@@ -40,6 +40,7 @@ module Lithic
|
|
|
40
40
|
| :"balance.updated"
|
|
41
41
|
| :"book_transfer_transaction.created"
|
|
42
42
|
| :"book_transfer_transaction.updated"
|
|
43
|
+
| :"card_authorization.challenge"
|
|
43
44
|
| :"card_authorization.challenge_response"
|
|
44
45
|
| :"card_transaction.enhanced_data.created"
|
|
45
46
|
| :"card_transaction.enhanced_data.updated"
|
|
@@ -97,6 +98,7 @@ module Lithic
|
|
|
97
98
|
BALANCE_UPDATED: :"balance.updated"
|
|
98
99
|
BOOK_TRANSFER_TRANSACTION_CREATED: :"book_transfer_transaction.created"
|
|
99
100
|
BOOK_TRANSFER_TRANSACTION_UPDATED: :"book_transfer_transaction.updated"
|
|
101
|
+
CARD_AUTHORIZATION_CHALLENGE: :"card_authorization.challenge"
|
|
100
102
|
CARD_AUTHORIZATION_CHALLENGE_RESPONSE: :"card_authorization.challenge_response"
|
|
101
103
|
CARD_TRANSACTION_ENHANCED_DATA_CREATED: :"card_transaction.enhanced_data.created"
|
|
102
104
|
CARD_TRANSACTION_ENHANCED_DATA_UPDATED: :"card_transaction.enhanced_data.updated"
|
|
@@ -77,6 +77,7 @@ module Lithic
|
|
|
77
77
|
| :"balance.updated"
|
|
78
78
|
| :"book_transfer_transaction.created"
|
|
79
79
|
| :"book_transfer_transaction.updated"
|
|
80
|
+
| :"card_authorization.challenge"
|
|
80
81
|
| :"card_authorization.challenge_response"
|
|
81
82
|
| :"card_transaction.enhanced_data.created"
|
|
82
83
|
| :"card_transaction.enhanced_data.updated"
|
|
@@ -134,6 +135,7 @@ module Lithic
|
|
|
134
135
|
BALANCE_UPDATED: :"balance.updated"
|
|
135
136
|
BOOK_TRANSFER_TRANSACTION_CREATED: :"book_transfer_transaction.created"
|
|
136
137
|
BOOK_TRANSFER_TRANSACTION_UPDATED: :"book_transfer_transaction.updated"
|
|
138
|
+
CARD_AUTHORIZATION_CHALLENGE: :"card_authorization.challenge"
|
|
137
139
|
CARD_AUTHORIZATION_CHALLENGE_RESPONSE: :"card_authorization.challenge_response"
|
|
138
140
|
CARD_TRANSACTION_ENHANCED_DATA_CREATED: :"card_transaction.enhanced_data.created"
|
|
139
141
|
CARD_TRANSACTION_ENHANCED_DATA_UPDATED: :"card_transaction.enhanced_data.updated"
|
|
@@ -45,6 +45,7 @@ module Lithic
|
|
|
45
45
|
| :"balance.updated"
|
|
46
46
|
| :"book_transfer_transaction.created"
|
|
47
47
|
| :"book_transfer_transaction.updated"
|
|
48
|
+
| :"card_authorization.challenge"
|
|
48
49
|
| :"card_authorization.challenge_response"
|
|
49
50
|
| :"card_transaction.enhanced_data.created"
|
|
50
51
|
| :"card_transaction.enhanced_data.updated"
|
|
@@ -102,6 +103,7 @@ module Lithic
|
|
|
102
103
|
BALANCE_UPDATED: :"balance.updated"
|
|
103
104
|
BOOK_TRANSFER_TRANSACTION_CREATED: :"book_transfer_transaction.created"
|
|
104
105
|
BOOK_TRANSFER_TRANSACTION_UPDATED: :"book_transfer_transaction.updated"
|
|
106
|
+
CARD_AUTHORIZATION_CHALLENGE: :"card_authorization.challenge"
|
|
105
107
|
CARD_AUTHORIZATION_CHALLENGE_RESPONSE: :"card_authorization.challenge_response"
|
|
106
108
|
CARD_TRANSACTION_ENHANCED_DATA_CREATED: :"card_transaction.enhanced_data.created"
|
|
107
109
|
CARD_TRANSACTION_ENHANCED_DATA_UPDATED: :"card_transaction.enhanced_data.updated"
|
|
@@ -55,6 +55,7 @@ module Lithic
|
|
|
55
55
|
| :"balance.updated"
|
|
56
56
|
| :"book_transfer_transaction.created"
|
|
57
57
|
| :"book_transfer_transaction.updated"
|
|
58
|
+
| :"card_authorization.challenge"
|
|
58
59
|
| :"card_authorization.challenge_response"
|
|
59
60
|
| :"card_transaction.enhanced_data.created"
|
|
60
61
|
| :"card_transaction.enhanced_data.updated"
|
|
@@ -112,6 +113,7 @@ module Lithic
|
|
|
112
113
|
BALANCE_UPDATED: :"balance.updated"
|
|
113
114
|
BOOK_TRANSFER_TRANSACTION_CREATED: :"book_transfer_transaction.created"
|
|
114
115
|
BOOK_TRANSFER_TRANSACTION_UPDATED: :"book_transfer_transaction.updated"
|
|
116
|
+
CARD_AUTHORIZATION_CHALLENGE: :"card_authorization.challenge"
|
|
115
117
|
CARD_AUTHORIZATION_CHALLENGE_RESPONSE: :"card_authorization.challenge_response"
|
|
116
118
|
CARD_TRANSACTION_ENHANCED_DATA_CREATED: :"card_transaction.enhanced_data.created"
|
|
117
119
|
CARD_TRANSACTION_ENHANCED_DATA_UPDATED: :"card_transaction.enhanced_data.updated"
|
|
@@ -41,6 +41,7 @@ module Lithic
|
|
|
41
41
|
| :"balance.updated"
|
|
42
42
|
| :"book_transfer_transaction.created"
|
|
43
43
|
| :"book_transfer_transaction.updated"
|
|
44
|
+
| :"card_authorization.challenge"
|
|
44
45
|
| :"card_authorization.challenge_response"
|
|
45
46
|
| :"card_transaction.enhanced_data.created"
|
|
46
47
|
| :"card_transaction.enhanced_data.updated"
|
|
@@ -98,6 +99,7 @@ module Lithic
|
|
|
98
99
|
BALANCE_UPDATED: :"balance.updated"
|
|
99
100
|
BOOK_TRANSFER_TRANSACTION_CREATED: :"book_transfer_transaction.created"
|
|
100
101
|
BOOK_TRANSFER_TRANSACTION_UPDATED: :"book_transfer_transaction.updated"
|
|
102
|
+
CARD_AUTHORIZATION_CHALLENGE: :"card_authorization.challenge"
|
|
101
103
|
CARD_AUTHORIZATION_CHALLENGE_RESPONSE: :"card_authorization.challenge_response"
|
|
102
104
|
CARD_TRANSACTION_ENHANCED_DATA_CREATED: :"card_transaction.enhanced_data.created"
|
|
103
105
|
CARD_TRANSACTION_ENHANCED_DATA_UPDATED: :"card_transaction.enhanced_data.updated"
|
|
@@ -60,6 +60,7 @@ module Lithic
|
|
|
60
60
|
| :"balance.updated"
|
|
61
61
|
| :"book_transfer_transaction.created"
|
|
62
62
|
| :"book_transfer_transaction.updated"
|
|
63
|
+
| :"card_authorization.challenge"
|
|
63
64
|
| :"card_authorization.challenge_response"
|
|
64
65
|
| :"card_transaction.enhanced_data.created"
|
|
65
66
|
| :"card_transaction.enhanced_data.updated"
|
|
@@ -117,6 +118,7 @@ module Lithic
|
|
|
117
118
|
BALANCE_UPDATED: :"balance.updated"
|
|
118
119
|
BOOK_TRANSFER_TRANSACTION_CREATED: :"book_transfer_transaction.created"
|
|
119
120
|
BOOK_TRANSFER_TRANSACTION_UPDATED: :"book_transfer_transaction.updated"
|
|
121
|
+
CARD_AUTHORIZATION_CHALLENGE: :"card_authorization.challenge"
|
|
120
122
|
CARD_AUTHORIZATION_CHALLENGE_RESPONSE: :"card_authorization.challenge_response"
|
|
121
123
|
CARD_TRANSACTION_ENHANCED_DATA_CREATED: :"card_transaction.enhanced_data.created"
|
|
122
124
|
CARD_TRANSACTION_ENHANCED_DATA_UPDATED: :"card_transaction.enhanced_data.updated"
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type external_bank_account_pause_params =
|
|
4
|
+
{ external_bank_account_token: String }
|
|
5
|
+
& Lithic::Internal::Type::request_parameters
|
|
6
|
+
|
|
7
|
+
class ExternalBankAccountPauseParams < Lithic::Internal::Type::BaseModel
|
|
8
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Lithic::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
attr_accessor external_bank_account_token: String
|
|
12
|
+
|
|
13
|
+
def initialize: (
|
|
14
|
+
external_bank_account_token: String,
|
|
15
|
+
?request_options: Lithic::request_opts
|
|
16
|
+
) -> void
|
|
17
|
+
|
|
18
|
+
def to_hash: -> {
|
|
19
|
+
external_bank_account_token: String,
|
|
20
|
+
request_options: Lithic::RequestOptions
|
|
21
|
+
}
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -22,8 +22,8 @@ module Lithic
|
|
|
22
22
|
updated: Time,
|
|
23
23
|
ytd_totals: Lithic::StatementTotals,
|
|
24
24
|
interest_details: Lithic::FinancialAccounts::Statement::InterestDetails?,
|
|
25
|
-
next_payment_due_date: Date
|
|
26
|
-
next_statement_end_date: Date
|
|
25
|
+
next_payment_due_date: Date?,
|
|
26
|
+
next_statement_end_date: Date?,
|
|
27
27
|
payoff_details: Lithic::FinancialAccounts::Statement::PayoffDetails?,
|
|
28
28
|
statement_totals: Lithic::StatementTotals
|
|
29
29
|
}
|
|
@@ -67,13 +67,9 @@ module Lithic
|
|
|
67
67
|
|
|
68
68
|
attr_accessor interest_details: Lithic::FinancialAccounts::Statement::InterestDetails?
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
attr_accessor next_payment_due_date: Date?
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
attr_reader next_statement_end_date: Date?
|
|
75
|
-
|
|
76
|
-
def next_statement_end_date=: (Date) -> Date
|
|
72
|
+
attr_accessor next_statement_end_date: Date?
|
|
77
73
|
|
|
78
74
|
attr_accessor payoff_details: Lithic::FinancialAccounts::Statement::PayoffDetails?
|
|
79
75
|
|
|
@@ -103,8 +99,8 @@ module Lithic
|
|
|
103
99
|
updated: Time,
|
|
104
100
|
ytd_totals: Lithic::StatementTotals,
|
|
105
101
|
?interest_details: Lithic::FinancialAccounts::Statement::InterestDetails?,
|
|
106
|
-
?next_payment_due_date: Date
|
|
107
|
-
?next_statement_end_date: Date
|
|
102
|
+
?next_payment_due_date: Date?,
|
|
103
|
+
?next_statement_end_date: Date?,
|
|
108
104
|
?payoff_details: Lithic::FinancialAccounts::Statement::PayoffDetails?,
|
|
109
105
|
?statement_totals: Lithic::StatementTotals
|
|
110
106
|
) -> void
|
|
@@ -129,8 +125,8 @@ module Lithic
|
|
|
129
125
|
updated: Time,
|
|
130
126
|
ytd_totals: Lithic::StatementTotals,
|
|
131
127
|
interest_details: Lithic::FinancialAccounts::Statement::InterestDetails?,
|
|
132
|
-
next_payment_due_date: Date
|
|
133
|
-
next_statement_end_date: Date
|
|
128
|
+
next_payment_due_date: Date?,
|
|
129
|
+
next_statement_end_date: Date?,
|
|
134
130
|
payoff_details: Lithic::FinancialAccounts::Statement::PayoffDetails?,
|
|
135
131
|
statement_totals: Lithic::StatementTotals
|
|
136
132
|
}
|
|
@@ -37,7 +37,7 @@ module Lithic
|
|
|
37
37
|
financial_account_token: String,
|
|
38
38
|
financial_transaction_event_token: String,
|
|
39
39
|
financial_transaction_token: String,
|
|
40
|
-
card_token: String
|
|
40
|
+
card_token: String?,
|
|
41
41
|
descriptor: String,
|
|
42
42
|
event_subtype: String?,
|
|
43
43
|
loan_tape_date: Date?
|
|
@@ -64,9 +64,7 @@ module Lithic
|
|
|
64
64
|
|
|
65
65
|
attr_accessor financial_transaction_token: String
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
def card_token=: (String) -> String
|
|
67
|
+
attr_accessor card_token: String?
|
|
70
68
|
|
|
71
69
|
attr_reader descriptor: String?
|
|
72
70
|
|
|
@@ -87,7 +85,7 @@ module Lithic
|
|
|
87
85
|
financial_account_token: String,
|
|
88
86
|
financial_transaction_event_token: String,
|
|
89
87
|
financial_transaction_token: String,
|
|
90
|
-
?card_token: String
|
|
88
|
+
?card_token: String?,
|
|
91
89
|
?descriptor: String,
|
|
92
90
|
?event_subtype: String?,
|
|
93
91
|
?loan_tape_date: Date?
|
|
@@ -104,7 +102,7 @@ module Lithic
|
|
|
104
102
|
financial_account_token: String,
|
|
105
103
|
financial_transaction_event_token: String,
|
|
106
104
|
financial_transaction_token: String,
|
|
107
|
-
card_token: String
|
|
105
|
+
card_token: String?,
|
|
108
106
|
descriptor: String,
|
|
109
107
|
event_subtype: String?,
|
|
110
108
|
loan_tape_date: Date?
|
|
@@ -251,6 +249,7 @@ module Lithic
|
|
|
251
249
|
| :QUARTERLY_REVERSAL
|
|
252
250
|
| :MONTHLY
|
|
253
251
|
| :MONTHLY_REVERSAL
|
|
252
|
+
| :ACCOUNT_TO_ACCOUNT
|
|
254
253
|
|
|
255
254
|
module EventType
|
|
256
255
|
extend Lithic::Internal::Type::Enum
|
|
@@ -342,6 +341,7 @@ module Lithic
|
|
|
342
341
|
QUARTERLY_REVERSAL: :QUARTERLY_REVERSAL
|
|
343
342
|
MONTHLY: :MONTHLY
|
|
344
343
|
MONTHLY_REVERSAL: :MONTHLY_REVERSAL
|
|
344
|
+
ACCOUNT_TO_ACCOUNT: :ACCOUNT_TO_ACCOUNT
|
|
345
345
|
|
|
346
346
|
def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::Statements::StatementLineItems::Data::event_type]
|
|
347
347
|
end
|
|
@@ -149,6 +149,7 @@ module Lithic
|
|
|
149
149
|
| :QUARTERLY_REVERSAL
|
|
150
150
|
| :MONTHLY
|
|
151
151
|
| :MONTHLY_REVERSAL
|
|
152
|
+
| :ACCOUNT_TO_ACCOUNT
|
|
152
153
|
|
|
153
154
|
module Type
|
|
154
155
|
extend Lithic::Internal::Type::Enum
|
|
@@ -240,6 +241,7 @@ module Lithic
|
|
|
240
241
|
QUARTERLY_REVERSAL: :QUARTERLY_REVERSAL
|
|
241
242
|
MONTHLY: :MONTHLY
|
|
242
243
|
MONTHLY_REVERSAL: :MONTHLY_REVERSAL
|
|
244
|
+
ACCOUNT_TO_ACCOUNT: :ACCOUNT_TO_ACCOUNT
|
|
243
245
|
|
|
244
246
|
def self?.values: -> ::Array[Lithic::Models::FinancialEvent::type_]
|
|
245
247
|
end
|
|
@@ -7,7 +7,7 @@ module Lithic
|
|
|
7
7
|
legal_business_name: String,
|
|
8
8
|
phone_numbers: ::Array[String],
|
|
9
9
|
dba_business_name: String,
|
|
10
|
-
parent_company: String
|
|
10
|
+
parent_company: String?
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
class KYBBusinessEntity < Lithic::Internal::Type::BaseModel
|
|
@@ -23,9 +23,7 @@ module Lithic
|
|
|
23
23
|
|
|
24
24
|
def dba_business_name=: (String) -> String
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
def parent_company=: (String) -> String
|
|
26
|
+
attr_accessor parent_company: String?
|
|
29
27
|
|
|
30
28
|
def initialize: (
|
|
31
29
|
address: Lithic::KYBBusinessEntity::Address,
|
|
@@ -33,7 +31,7 @@ module Lithic
|
|
|
33
31
|
legal_business_name: String,
|
|
34
32
|
phone_numbers: ::Array[String],
|
|
35
33
|
?dba_business_name: String,
|
|
36
|
-
?parent_company: String
|
|
34
|
+
?parent_company: String?
|
|
37
35
|
) -> void
|
|
38
36
|
|
|
39
37
|
def to_hash: -> {
|
|
@@ -42,7 +40,7 @@ module Lithic
|
|
|
42
40
|
legal_business_name: String,
|
|
43
41
|
phone_numbers: ::Array[String],
|
|
44
42
|
dba_business_name: String,
|
|
45
|
-
parent_company: String
|
|
43
|
+
parent_company: String?
|
|
46
44
|
}
|
|
47
45
|
|
|
48
46
|
type address =
|
|
@@ -8,6 +8,7 @@ module Lithic
|
|
|
8
8
|
| Lithic::AccountHolderVerificationWebhookEvent
|
|
9
9
|
| Lithic::AccountHolderDocumentUpdatedWebhookEvent
|
|
10
10
|
| Lithic::CardAuthorizationApprovalRequestWebhookEvent
|
|
11
|
+
| Lithic::CardAuthorizationChallengeWebhookEvent
|
|
11
12
|
| Lithic::CardAuthorizationChallengeResponseWebhookEvent
|
|
12
13
|
| Lithic::AuthRulesBacktestReportCreatedWebhookEvent
|
|
13
14
|
| Lithic::BalanceUpdatedWebhookEvent
|
|
@@ -3,9 +3,9 @@ module Lithic
|
|
|
3
3
|
type settlement_detail =
|
|
4
4
|
{
|
|
5
5
|
token: String,
|
|
6
|
-
account_token: String
|
|
7
|
-
card_program_token: String
|
|
8
|
-
card_token: String
|
|
6
|
+
account_token: String?,
|
|
7
|
+
card_program_token: String?,
|
|
8
|
+
card_token: String?,
|
|
9
9
|
created: Time,
|
|
10
10
|
currency: String,
|
|
11
11
|
disputes_gross_amount: Integer,
|
|
@@ -18,7 +18,7 @@ module Lithic
|
|
|
18
18
|
other_fees_gross_amount: Integer,
|
|
19
19
|
report_date: String,
|
|
20
20
|
settlement_date: String,
|
|
21
|
-
transaction_token: String
|
|
21
|
+
transaction_token: String?,
|
|
22
22
|
transactions_gross_amount: Integer,
|
|
23
23
|
type: Lithic::Models::SettlementDetail::type_,
|
|
24
24
|
updated: Time,
|
|
@@ -28,11 +28,11 @@ module Lithic
|
|
|
28
28
|
class SettlementDetail < Lithic::Internal::Type::BaseModel
|
|
29
29
|
attr_accessor token: String
|
|
30
30
|
|
|
31
|
-
attr_accessor account_token: String
|
|
31
|
+
attr_accessor account_token: String?
|
|
32
32
|
|
|
33
|
-
attr_accessor card_program_token: String
|
|
33
|
+
attr_accessor card_program_token: String?
|
|
34
34
|
|
|
35
|
-
attr_accessor card_token: String
|
|
35
|
+
attr_accessor card_token: String?
|
|
36
36
|
|
|
37
37
|
attr_accessor created: Time
|
|
38
38
|
|
|
@@ -58,7 +58,7 @@ module Lithic
|
|
|
58
58
|
|
|
59
59
|
attr_accessor settlement_date: String
|
|
60
60
|
|
|
61
|
-
attr_accessor transaction_token: String
|
|
61
|
+
attr_accessor transaction_token: String?
|
|
62
62
|
|
|
63
63
|
attr_accessor transactions_gross_amount: Integer
|
|
64
64
|
|
|
@@ -72,9 +72,9 @@ module Lithic
|
|
|
72
72
|
|
|
73
73
|
def initialize: (
|
|
74
74
|
token: String,
|
|
75
|
-
account_token: String
|
|
76
|
-
card_program_token: String
|
|
77
|
-
card_token: String
|
|
75
|
+
account_token: String?,
|
|
76
|
+
card_program_token: String?,
|
|
77
|
+
card_token: String?,
|
|
78
78
|
created: Time,
|
|
79
79
|
currency: String,
|
|
80
80
|
disputes_gross_amount: Integer,
|
|
@@ -87,7 +87,7 @@ module Lithic
|
|
|
87
87
|
other_fees_gross_amount: Integer,
|
|
88
88
|
report_date: String,
|
|
89
89
|
settlement_date: String,
|
|
90
|
-
transaction_token: String
|
|
90
|
+
transaction_token: String?,
|
|
91
91
|
transactions_gross_amount: Integer,
|
|
92
92
|
type: Lithic::Models::SettlementDetail::type_,
|
|
93
93
|
updated: Time,
|
|
@@ -96,9 +96,9 @@ module Lithic
|
|
|
96
96
|
|
|
97
97
|
def to_hash: -> {
|
|
98
98
|
token: String,
|
|
99
|
-
account_token: String
|
|
100
|
-
card_program_token: String
|
|
101
|
-
card_token: String
|
|
99
|
+
account_token: String?,
|
|
100
|
+
card_program_token: String?,
|
|
101
|
+
card_token: String?,
|
|
102
102
|
created: Time,
|
|
103
103
|
currency: String,
|
|
104
104
|
disputes_gross_amount: Integer,
|
|
@@ -111,7 +111,7 @@ module Lithic
|
|
|
111
111
|
other_fees_gross_amount: Integer,
|
|
112
112
|
report_date: String,
|
|
113
113
|
settlement_date: String,
|
|
114
|
-
transaction_token: String
|
|
114
|
+
transaction_token: String?,
|
|
115
115
|
transactions_gross_amount: Integer,
|
|
116
116
|
type: Lithic::Models::SettlementDetail::type_,
|
|
117
117
|
updated: Time,
|
|
@@ -154,7 +154,7 @@ module Lithic
|
|
|
154
154
|
| :COLLABORATION
|
|
155
155
|
| :FEE
|
|
156
156
|
| :FINANCIAL
|
|
157
|
-
| :
|
|
157
|
+
| :NON_FINANCIAL
|
|
158
158
|
| :PREARBITRATION
|
|
159
159
|
| :REPRESENTMENT
|
|
160
160
|
|
|
@@ -168,7 +168,7 @@ module Lithic
|
|
|
168
168
|
COLLABORATION: :COLLABORATION
|
|
169
169
|
FEE: :FEE
|
|
170
170
|
FINANCIAL: :FINANCIAL
|
|
171
|
-
NON_FINANCIAL: :
|
|
171
|
+
NON_FINANCIAL: :NON_FINANCIAL
|
|
172
172
|
PREARBITRATION: :PREARBITRATION
|
|
173
173
|
REPRESENTMENT: :REPRESENTMENT
|
|
174
174
|
|