lithic 0.14.0 → 0.16.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 +52 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +8 -0
- data/lib/lithic/internal/transport/base_client.rb +5 -0
- data/lib/lithic/models/account.rb +2 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +4 -4
- data/lib/lithic/models/account_holders/account_holder_entity.rb +3 -16
- data/lib/lithic/models/account_holders/entity_create_params.rb +3 -14
- data/lib/lithic/models/auth_rules/auth_rule.rb +14 -8
- 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 +52 -34
- data/lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb +531 -0
- data/lib/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rb +213 -23
- 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/rule_feature.rb +29 -6
- data/lib/lithic/models/auth_rules/typescript_code_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_create_params.rb +27 -15
- 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.rb +1 -1
- data/lib/lithic/models/card_authorization.rb +1372 -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/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/loan_tape.rb +9 -1
- 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/payment.rb +13 -1
- data/lib/lithic/models/settlement_detail.rb +14 -14
- 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/transaction_monitoring/case_activity_entry.rb +74 -0
- data/lib/lithic/models/transaction_monitoring/case_activity_type.rb +35 -0
- data/lib/lithic/models/transaction_monitoring/case_card.rb +37 -0
- data/lib/lithic/models/transaction_monitoring/case_entity.rb +50 -0
- data/lib/lithic/models/transaction_monitoring/case_list_activity_params.rb +53 -0
- data/lib/lithic/models/transaction_monitoring/case_list_params.rb +136 -0
- data/lib/lithic/models/transaction_monitoring/case_list_transactions_params.rb +53 -0
- data/lib/lithic/models/transaction_monitoring/case_priority.rb +20 -0
- data/lib/lithic/models/transaction_monitoring/case_retrieve_cards_params.rb +22 -0
- data/lib/lithic/models/transaction_monitoring/case_retrieve_cards_response.rb +11 -0
- data/lib/lithic/models/transaction_monitoring/case_retrieve_params.rb +22 -0
- data/lib/lithic/models/transaction_monitoring/case_sort_order.rb +29 -0
- data/lib/lithic/models/transaction_monitoring/case_status.rb +31 -0
- data/lib/lithic/models/transaction_monitoring/case_transaction.rb +53 -0
- data/lib/lithic/models/transaction_monitoring/case_update_params.rb +116 -0
- data/lib/lithic/models/transaction_monitoring/cases/case_file.rb +141 -0
- data/lib/lithic/models/transaction_monitoring/cases/comment_create_params.rb +47 -0
- data/lib/lithic/models/transaction_monitoring/cases/comment_delete_params.rb +30 -0
- data/lib/lithic/models/transaction_monitoring/cases/comment_update_params.rb +54 -0
- data/lib/lithic/models/transaction_monitoring/cases/file_create_params.rb +33 -0
- data/lib/lithic/models/transaction_monitoring/cases/file_delete_params.rb +30 -0
- data/lib/lithic/models/transaction_monitoring/cases/file_list_params.rb +54 -0
- data/lib/lithic/models/transaction_monitoring/cases/file_retrieve_params.rb +30 -0
- data/lib/lithic/models/transaction_monitoring/cases/file_status.rb +26 -0
- data/lib/lithic/models/transaction_monitoring/cases/upload_constraints.rb +31 -0
- data/lib/lithic/models/transaction_monitoring/entity_type.rb +18 -0
- data/lib/lithic/models/transaction_monitoring/monitoring_case.rb +168 -0
- data/lib/lithic/models/transaction_monitoring/queue.rb +120 -0
- data/lib/lithic/models/transaction_monitoring/queue_create_params.rb +32 -0
- data/lib/lithic/models/transaction_monitoring/queue_delete_params.rb +22 -0
- data/lib/lithic/models/transaction_monitoring/queue_list_params.rb +45 -0
- data/lib/lithic/models/transaction_monitoring/queue_retrieve_params.rb +22 -0
- data/lib/lithic/models/transaction_monitoring/queue_update_params.rb +39 -0
- data/lib/lithic/models/transaction_monitoring/resolution_outcome.rb +28 -0
- data/lib/lithic/models/transaction_route_params.rb +29 -0
- data/lib/lithic/models/transfer_limits_response.rb +12 -12
- data/lib/lithic/models.rb +12 -0
- data/lib/lithic/resources/account_holders/entities.rb +1 -1
- 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 +2 -2
- data/lib/lithic/resources/external_bank_accounts.rb +19 -0
- data/lib/lithic/resources/transaction_monitoring/cases/comments.rb +111 -0
- data/lib/lithic/resources/transaction_monitoring/cases/files.rb +131 -0
- data/lib/lithic/resources/transaction_monitoring/cases.rb +228 -0
- data/lib/lithic/resources/transaction_monitoring/queues.rb +137 -0
- data/lib/lithic/resources/transaction_monitoring.rb +22 -0
- data/lib/lithic/resources/transactions.rb +25 -0
- data/lib/lithic/resources/webhooks.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +46 -0
- data/rbi/lithic/client.rbi +6 -0
- data/rbi/lithic/models/account.rbi +3 -3
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +6 -12
- data/rbi/lithic/models/account_holders/account_holder_entity.rbi +3 -40
- data/rbi/lithic/models/account_holders/entity_create_params.rbi +3 -37
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +14 -7
- 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 +75 -48
- 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 +419 -30
- 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/rule_feature.rbi +41 -5
- data/rbi/lithic/models/auth_rules/typescript_code_parameters.rbi +3 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +42 -21
- 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.rbi +2 -2
- data/rbi/lithic/models/card_authorization.rbi +2769 -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/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/loan_tape.rbi +8 -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/payment.rbi +13 -0
- data/rbi/lithic/models/settlement_detail.rbi +15 -15
- 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/transaction_monitoring/case_activity_entry.rbi +107 -0
- data/rbi/lithic/models/transaction_monitoring/case_activity_type.rbi +84 -0
- data/rbi/lithic/models/transaction_monitoring/case_card.rbi +60 -0
- data/rbi/lithic/models/transaction_monitoring/case_entity.rbi +101 -0
- data/rbi/lithic/models/transaction_monitoring/case_list_activity_params.rbi +83 -0
- data/rbi/lithic/models/transaction_monitoring/case_list_params.rbi +220 -0
- data/rbi/lithic/models/transaction_monitoring/case_list_transactions_params.rbi +83 -0
- data/rbi/lithic/models/transaction_monitoring/case_priority.rbi +44 -0
- data/rbi/lithic/models/transaction_monitoring/case_retrieve_cards_params.rbi +40 -0
- data/rbi/lithic/models/transaction_monitoring/case_retrieve_cards_response.rbi +15 -0
- data/rbi/lithic/models/transaction_monitoring/case_retrieve_params.rbi +40 -0
- data/rbi/lithic/models/transaction_monitoring/case_sort_order.rbi +64 -0
- data/rbi/lithic/models/transaction_monitoring/case_status.rbi +63 -0
- data/rbi/lithic/models/transaction_monitoring/case_transaction.rbi +75 -0
- data/rbi/lithic/models/transaction_monitoring/case_update_params.rbi +201 -0
- data/rbi/lithic/models/transaction_monitoring/cases/case_file.rbi +188 -0
- data/rbi/lithic/models/transaction_monitoring/cases/comment_create_params.rbi +71 -0
- data/rbi/lithic/models/transaction_monitoring/cases/comment_delete_params.rbi +50 -0
- data/rbi/lithic/models/transaction_monitoring/cases/comment_update_params.rbi +77 -0
- data/rbi/lithic/models/transaction_monitoring/cases/file_create_params.rbi +56 -0
- data/rbi/lithic/models/transaction_monitoring/cases/file_delete_params.rbi +50 -0
- data/rbi/lithic/models/transaction_monitoring/cases/file_list_params.rbi +85 -0
- data/rbi/lithic/models/transaction_monitoring/cases/file_retrieve_params.rbi +50 -0
- data/rbi/lithic/models/transaction_monitoring/cases/file_status.rbi +51 -0
- data/rbi/lithic/models/transaction_monitoring/cases/upload_constraints.rbi +51 -0
- data/rbi/lithic/models/transaction_monitoring/entity_type.rbi +37 -0
- data/rbi/lithic/models/transaction_monitoring/monitoring_case.rbi +226 -0
- data/rbi/lithic/models/transaction_monitoring/queue.rbi +189 -0
- data/rbi/lithic/models/transaction_monitoring/queue_create_params.rbi +56 -0
- data/rbi/lithic/models/transaction_monitoring/queue_delete_params.rbi +40 -0
- data/rbi/lithic/models/transaction_monitoring/queue_list_params.rbi +77 -0
- data/rbi/lithic/models/transaction_monitoring/queue_retrieve_params.rbi +40 -0
- data/rbi/lithic/models/transaction_monitoring/queue_update_params.rbi +65 -0
- data/rbi/lithic/models/transaction_monitoring/resolution_outcome.rbi +61 -0
- data/rbi/lithic/models/transaction_route_params.rbi +49 -0
- data/rbi/lithic/models/transfer_limits_response.rbi +48 -48
- data/rbi/lithic/models.rbi +15 -0
- data/rbi/lithic/resources/account_holders/entities.rbi +1 -1
- 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 +2 -2
- data/rbi/lithic/resources/external_bank_accounts.rbi +10 -0
- data/rbi/lithic/resources/transaction_monitoring/cases/comments.rbi +81 -0
- data/rbi/lithic/resources/transaction_monitoring/cases/files.rbi +98 -0
- data/rbi/lithic/resources/transaction_monitoring/cases.rbi +230 -0
- data/rbi/lithic/resources/transaction_monitoring/queues.rbi +103 -0
- data/rbi/lithic/resources/transaction_monitoring.rbi +18 -0
- data/rbi/lithic/resources/transactions.rbi +18 -0
- data/rbi/lithic/resources/webhooks.rbi +4 -1
- data/sig/lithic/client.rbs +4 -0
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +8 -12
- data/sig/lithic/models/account_holders/account_holder_entity.rbs +4 -15
- data/sig/lithic/models/account_holders/entity_create_params.rbs +4 -15
- 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_adjustment_parameters.rbs +276 -0
- data/sig/lithic/models/auth_rules/conditional_card_transaction_update_action_parameters.rbs +73 -3
- data/sig/lithic/models/auth_rules/conditional_value.rbs +1 -1
- data/sig/lithic/models/auth_rules/rule_feature.rbs +16 -0
- 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 +1112 -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/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/loan_tape.rbs +5 -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/payment.rbs +7 -0
- data/sig/lithic/models/settlement_detail.rbs +18 -18
- 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/transaction_monitoring/case_activity_entry.rbs +47 -0
- data/sig/lithic/models/transaction_monitoring/case_activity_type.rbs +32 -0
- data/sig/lithic/models/transaction_monitoring/case_card.rbs +32 -0
- data/sig/lithic/models/transaction_monitoring/case_entity.rbs +38 -0
- data/sig/lithic/models/transaction_monitoring/case_list_activity_params.rbs +49 -0
- data/sig/lithic/models/transaction_monitoring/case_list_params.rbs +125 -0
- data/sig/lithic/models/transaction_monitoring/case_list_transactions_params.rbs +49 -0
- data/sig/lithic/models/transaction_monitoring/case_priority.rbs +18 -0
- data/sig/lithic/models/transaction_monitoring/case_retrieve_cards_params.rbs +25 -0
- data/sig/lithic/models/transaction_monitoring/case_retrieve_cards_response.rbs +10 -0
- data/sig/lithic/models/transaction_monitoring/case_retrieve_params.rbs +25 -0
- data/sig/lithic/models/transaction_monitoring/case_sort_order.rbs +26 -0
- data/sig/lithic/models/transaction_monitoring/case_status.rbs +21 -0
- data/sig/lithic/models/transaction_monitoring/case_transaction.rbs +42 -0
- data/sig/lithic/models/transaction_monitoring/case_update_params.rbs +91 -0
- data/sig/lithic/models/transaction_monitoring/cases/case_file.rbs +86 -0
- data/sig/lithic/models/transaction_monitoring/cases/comment_create_params.rbs +38 -0
- data/sig/lithic/models/transaction_monitoring/cases/comment_delete_params.rbs +32 -0
- data/sig/lithic/models/transaction_monitoring/cases/comment_update_params.rbs +47 -0
- data/sig/lithic/models/transaction_monitoring/cases/file_create_params.rbs +32 -0
- data/sig/lithic/models/transaction_monitoring/cases/file_delete_params.rbs +32 -0
- data/sig/lithic/models/transaction_monitoring/cases/file_list_params.rbs +51 -0
- data/sig/lithic/models/transaction_monitoring/cases/file_retrieve_params.rbs +32 -0
- data/sig/lithic/models/transaction_monitoring/cases/file_status.rbs +19 -0
- data/sig/lithic/models/transaction_monitoring/cases/upload_constraints.rbs +26 -0
- data/sig/lithic/models/transaction_monitoring/entity_type.rbs +16 -0
- data/sig/lithic/models/transaction_monitoring/monitoring_case.rbs +102 -0
- data/sig/lithic/models/transaction_monitoring/queue.rbs +101 -0
- data/sig/lithic/models/transaction_monitoring/queue_create_params.rbs +30 -0
- data/sig/lithic/models/transaction_monitoring/queue_delete_params.rbs +25 -0
- data/sig/lithic/models/transaction_monitoring/queue_list_params.rbs +40 -0
- data/sig/lithic/models/transaction_monitoring/queue_retrieve_params.rbs +25 -0
- data/sig/lithic/models/transaction_monitoring/queue_update_params.rbs +36 -0
- data/sig/lithic/models/transaction_monitoring/resolution_outcome.rbs +24 -0
- data/sig/lithic/models/transaction_route_params.rbs +28 -0
- data/sig/lithic/models/transfer_limits_response.rbs +24 -36
- data/sig/lithic/models.rbs +12 -0
- data/sig/lithic/resources/account_holders/entities.rbs +1 -1
- data/sig/lithic/resources/card_authorizations.rbs +13 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +5 -0
- data/sig/lithic/resources/transaction_monitoring/cases/comments.rbs +32 -0
- data/sig/lithic/resources/transaction_monitoring/cases/files.rbs +37 -0
- data/sig/lithic/resources/transaction_monitoring/cases.rbs +71 -0
- data/sig/lithic/resources/transaction_monitoring/queues.rbs +39 -0
- data/sig/lithic/resources/transaction_monitoring.rbs +11 -0
- data/sig/lithic/resources/transactions.rbs +6 -0
- data/sig/lithic/resources/webhooks.rbs +1 -0
- metadata +140 -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
|
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
|
|
@@ -24,6 +24,7 @@ module Lithic
|
|
|
24
24
|
updated: Time,
|
|
25
25
|
version: Integer,
|
|
26
26
|
ytd_totals: Lithic::StatementTotals,
|
|
27
|
+
day_of_period: Integer?,
|
|
27
28
|
tier: String?
|
|
28
29
|
}
|
|
29
30
|
|
|
@@ -70,6 +71,8 @@ module Lithic
|
|
|
70
71
|
|
|
71
72
|
attr_accessor ytd_totals: Lithic::StatementTotals
|
|
72
73
|
|
|
74
|
+
attr_accessor day_of_period: Integer?
|
|
75
|
+
|
|
73
76
|
attr_accessor tier: String?
|
|
74
77
|
|
|
75
78
|
def initialize: (
|
|
@@ -94,6 +97,7 @@ module Lithic
|
|
|
94
97
|
updated: Time,
|
|
95
98
|
version: Integer,
|
|
96
99
|
ytd_totals: Lithic::StatementTotals,
|
|
100
|
+
?day_of_period: Integer?,
|
|
97
101
|
?tier: String?
|
|
98
102
|
) -> void
|
|
99
103
|
|
|
@@ -119,6 +123,7 @@ module Lithic
|
|
|
119
123
|
updated: Time,
|
|
120
124
|
version: Integer,
|
|
121
125
|
ytd_totals: Lithic::StatementTotals,
|
|
126
|
+
day_of_period: Integer?,
|
|
122
127
|
tier: String?
|
|
123
128
|
}
|
|
124
129
|
|
|
@@ -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
|
|
@@ -22,6 +22,7 @@ module Lithic
|
|
|
22
22
|
currency: String,
|
|
23
23
|
expected_release_date: Date?,
|
|
24
24
|
external_bank_account_token: String?,
|
|
25
|
+
tags: ::Hash[Symbol, String],
|
|
25
26
|
type: Lithic::Models::Payment::type_,
|
|
26
27
|
user_defined_id: String?
|
|
27
28
|
}
|
|
@@ -69,6 +70,10 @@ module Lithic
|
|
|
69
70
|
|
|
70
71
|
attr_accessor external_bank_account_token: String?
|
|
71
72
|
|
|
73
|
+
attr_reader tags: ::Hash[Symbol, String]?
|
|
74
|
+
|
|
75
|
+
def tags=: (::Hash[Symbol, String]) -> ::Hash[Symbol, String]
|
|
76
|
+
|
|
72
77
|
attr_reader type: Lithic::Models::Payment::type_?
|
|
73
78
|
|
|
74
79
|
def type=: (
|
|
@@ -97,6 +102,7 @@ module Lithic
|
|
|
97
102
|
?currency: String,
|
|
98
103
|
?expected_release_date: Date?,
|
|
99
104
|
?external_bank_account_token: String?,
|
|
105
|
+
?tags: ::Hash[Symbol, String],
|
|
100
106
|
?type: Lithic::Models::Payment::type_,
|
|
101
107
|
?user_defined_id: String?,
|
|
102
108
|
?family: :PAYMENT
|
|
@@ -123,6 +129,7 @@ module Lithic
|
|
|
123
129
|
currency: String,
|
|
124
130
|
expected_release_date: Date?,
|
|
125
131
|
external_bank_account_token: String?,
|
|
132
|
+
tags: ::Hash[Symbol, String],
|
|
126
133
|
type: Lithic::Models::Payment::type_,
|
|
127
134
|
user_defined_id: String?
|
|
128
135
|
}
|
|
@@ -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
|
|
|
@@ -10,9 +10,9 @@ module Lithic
|
|
|
10
10
|
interest: Integer,
|
|
11
11
|
payments: Integer,
|
|
12
12
|
purchases: Integer,
|
|
13
|
-
credit_details: top
|
|
14
|
-
debit_details: top
|
|
15
|
-
payment_details: top
|
|
13
|
+
credit_details: top?,
|
|
14
|
+
debit_details: top?,
|
|
15
|
+
payment_details: top?
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
class StatementTotals < Lithic::Internal::Type::BaseModel
|
|
@@ -32,17 +32,11 @@ module Lithic
|
|
|
32
32
|
|
|
33
33
|
attr_accessor purchases: Integer
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
attr_accessor credit_details: top?
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
attr_accessor debit_details: top?
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
def debit_details=: (top) -> top
|
|
42
|
-
|
|
43
|
-
attr_reader payment_details: top?
|
|
44
|
-
|
|
45
|
-
def payment_details=: (top) -> top
|
|
39
|
+
attr_accessor payment_details: top?
|
|
46
40
|
|
|
47
41
|
def initialize: (
|
|
48
42
|
balance_transfers: Integer,
|
|
@@ -53,9 +47,9 @@ module Lithic
|
|
|
53
47
|
interest: Integer,
|
|
54
48
|
payments: Integer,
|
|
55
49
|
purchases: Integer,
|
|
56
|
-
?credit_details: top
|
|
57
|
-
?debit_details: top
|
|
58
|
-
?payment_details: top
|
|
50
|
+
?credit_details: top?,
|
|
51
|
+
?debit_details: top?,
|
|
52
|
+
?payment_details: top?
|
|
59
53
|
) -> void
|
|
60
54
|
|
|
61
55
|
def to_hash: -> {
|
|
@@ -67,9 +61,9 @@ module Lithic
|
|
|
67
61
|
interest: Integer,
|
|
68
62
|
payments: Integer,
|
|
69
63
|
purchases: Integer,
|
|
70
|
-
credit_details: top
|
|
71
|
-
debit_details: top
|
|
72
|
-
payment_details: top
|
|
64
|
+
credit_details: top?,
|
|
65
|
+
debit_details: top?,
|
|
66
|
+
payment_details: top?
|
|
73
67
|
}
|
|
74
68
|
end
|
|
75
69
|
end
|