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,168 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
# @see Lithic::Resources::TransactionMonitoring::Cases#retrieve
|
|
7
|
+
class MonitoringCase < Lithic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute token
|
|
9
|
+
# Globally unique identifier for the case
|
|
10
|
+
#
|
|
11
|
+
# @return [String]
|
|
12
|
+
required :token, String
|
|
13
|
+
|
|
14
|
+
# @!attribute assignee
|
|
15
|
+
# Identifier of the user the case is currently assigned to
|
|
16
|
+
#
|
|
17
|
+
# @return [String, nil]
|
|
18
|
+
required :assignee, String, nil?: true
|
|
19
|
+
|
|
20
|
+
# @!attribute collection_stopped
|
|
21
|
+
# Date and time at which transaction collection stopped for the case
|
|
22
|
+
#
|
|
23
|
+
# @return [Time, nil]
|
|
24
|
+
required :collection_stopped, Time, nil?: true
|
|
25
|
+
|
|
26
|
+
# @!attribute created
|
|
27
|
+
# Date and time at which the case was created
|
|
28
|
+
#
|
|
29
|
+
# @return [Time]
|
|
30
|
+
required :created, Time
|
|
31
|
+
|
|
32
|
+
# @!attribute entity
|
|
33
|
+
# The entity a case is associated with
|
|
34
|
+
#
|
|
35
|
+
# @return [Lithic::Models::TransactionMonitoring::CaseEntity, nil]
|
|
36
|
+
required :entity, -> { Lithic::TransactionMonitoring::CaseEntity }, nil?: true
|
|
37
|
+
|
|
38
|
+
# @!attribute pending_transactions
|
|
39
|
+
# Whether the case still has transaction scopes pending resolution
|
|
40
|
+
#
|
|
41
|
+
# @return [Boolean]
|
|
42
|
+
required :pending_transactions, Lithic::Internal::Type::Boolean
|
|
43
|
+
|
|
44
|
+
# @!attribute priority
|
|
45
|
+
# Priority level of a case, controlling queue ordering and SLA urgency
|
|
46
|
+
#
|
|
47
|
+
# @return [Symbol, Lithic::Models::TransactionMonitoring::CasePriority]
|
|
48
|
+
required :priority, enum: -> { Lithic::TransactionMonitoring::CasePriority }
|
|
49
|
+
|
|
50
|
+
# @!attribute queue_token
|
|
51
|
+
# Token of the queue the case belongs to
|
|
52
|
+
#
|
|
53
|
+
# @return [String]
|
|
54
|
+
required :queue_token, String
|
|
55
|
+
|
|
56
|
+
# @!attribute resolution
|
|
57
|
+
# Outcome recorded when a case is resolved:
|
|
58
|
+
#
|
|
59
|
+
# - `CONFIRMED_FRAUD` - The reviewed activity was confirmed to be fraudulent
|
|
60
|
+
# - `SUSPICIOUS_ACTIVITY` - The activity is suspicious but not confirmed fraud
|
|
61
|
+
# - `FALSE_POSITIVE` - The activity was legitimate and the alert was a false
|
|
62
|
+
# positive
|
|
63
|
+
# - `NO_ACTION_REQUIRED` - No further action is required
|
|
64
|
+
# - `ESCALATED_EXTERNAL` - The case was escalated to an external party
|
|
65
|
+
#
|
|
66
|
+
# @return [Symbol, Lithic::Models::TransactionMonitoring::ResolutionOutcome, nil]
|
|
67
|
+
required :resolution, enum: -> { Lithic::TransactionMonitoring::ResolutionOutcome }, nil?: true
|
|
68
|
+
|
|
69
|
+
# @!attribute resolution_notes
|
|
70
|
+
# Free-form notes describing the resolution
|
|
71
|
+
#
|
|
72
|
+
# @return [String, nil]
|
|
73
|
+
required :resolution_notes, String, nil?: true
|
|
74
|
+
|
|
75
|
+
# @!attribute resolved
|
|
76
|
+
# Date and time at which the case was resolved
|
|
77
|
+
#
|
|
78
|
+
# @return [Time, nil]
|
|
79
|
+
required :resolved, Time, nil?: true
|
|
80
|
+
|
|
81
|
+
# @!attribute rule_token
|
|
82
|
+
# Token of the transaction monitoring rule that triggered the case
|
|
83
|
+
#
|
|
84
|
+
# @return [String, nil]
|
|
85
|
+
required :rule_token, String, nil?: true
|
|
86
|
+
|
|
87
|
+
# @!attribute sla_deadline
|
|
88
|
+
# Deadline by which the case is expected to be resolved
|
|
89
|
+
#
|
|
90
|
+
# @return [Time, nil]
|
|
91
|
+
required :sla_deadline, Time, nil?: true
|
|
92
|
+
|
|
93
|
+
# @!attribute status
|
|
94
|
+
# Status of a case as it progresses through the review workflow:
|
|
95
|
+
#
|
|
96
|
+
# - `OPEN` - The case has been created and is still collecting matching
|
|
97
|
+
# transactions
|
|
98
|
+
# - `ASSIGNED` - An analyst has been assigned and transaction collection has
|
|
99
|
+
# stopped
|
|
100
|
+
# - `IN_REVIEW` - The case is actively being investigated
|
|
101
|
+
# - `ESCALATED` - The case has been reviewed and requires additional oversight
|
|
102
|
+
# - `RESOLVED` - A determination has been made and a resolution recorded
|
|
103
|
+
# - `CLOSED` - The case is finalized
|
|
104
|
+
#
|
|
105
|
+
# @return [Symbol, Lithic::Models::TransactionMonitoring::CaseStatus]
|
|
106
|
+
required :status, enum: -> { Lithic::TransactionMonitoring::CaseStatus }
|
|
107
|
+
|
|
108
|
+
# @!attribute tags
|
|
109
|
+
# Arbitrary key-value metadata associated with the case
|
|
110
|
+
#
|
|
111
|
+
# @return [Hash{Symbol=>String}]
|
|
112
|
+
required :tags, Lithic::Internal::Type::HashOf[String]
|
|
113
|
+
|
|
114
|
+
# @!attribute title
|
|
115
|
+
# Short, human-readable summary of the case
|
|
116
|
+
#
|
|
117
|
+
# @return [String, nil]
|
|
118
|
+
required :title, String, nil?: true
|
|
119
|
+
|
|
120
|
+
# @!attribute updated
|
|
121
|
+
# Date and time at which the case was last updated
|
|
122
|
+
#
|
|
123
|
+
# @return [Time]
|
|
124
|
+
required :updated, Time
|
|
125
|
+
|
|
126
|
+
# @!method initialize(token:, assignee:, collection_stopped:, created:, entity:, pending_transactions:, priority:, queue_token:, resolution:, resolution_notes:, resolved:, rule_token:, sla_deadline:, status:, tags:, title:, updated:)
|
|
127
|
+
# Some parameter documentations has been truncated, see
|
|
128
|
+
# {Lithic::Models::TransactionMonitoring::MonitoringCase} for more details.
|
|
129
|
+
#
|
|
130
|
+
# A transaction monitoring case
|
|
131
|
+
#
|
|
132
|
+
# @param token [String] Globally unique identifier for the case
|
|
133
|
+
#
|
|
134
|
+
# @param assignee [String, nil] Identifier of the user the case is currently assigned to
|
|
135
|
+
#
|
|
136
|
+
# @param collection_stopped [Time, nil] Date and time at which transaction collection stopped for the case
|
|
137
|
+
#
|
|
138
|
+
# @param created [Time] Date and time at which the case was created
|
|
139
|
+
#
|
|
140
|
+
# @param entity [Lithic::Models::TransactionMonitoring::CaseEntity, nil] The entity a case is associated with
|
|
141
|
+
#
|
|
142
|
+
# @param pending_transactions [Boolean] Whether the case still has transaction scopes pending resolution
|
|
143
|
+
#
|
|
144
|
+
# @param priority [Symbol, Lithic::Models::TransactionMonitoring::CasePriority] Priority level of a case, controlling queue ordering and SLA urgency
|
|
145
|
+
#
|
|
146
|
+
# @param queue_token [String] Token of the queue the case belongs to
|
|
147
|
+
#
|
|
148
|
+
# @param resolution [Symbol, Lithic::Models::TransactionMonitoring::ResolutionOutcome, nil] Outcome recorded when a case is resolved:
|
|
149
|
+
#
|
|
150
|
+
# @param resolution_notes [String, nil] Free-form notes describing the resolution
|
|
151
|
+
#
|
|
152
|
+
# @param resolved [Time, nil] Date and time at which the case was resolved
|
|
153
|
+
#
|
|
154
|
+
# @param rule_token [String, nil] Token of the transaction monitoring rule that triggered the case
|
|
155
|
+
#
|
|
156
|
+
# @param sla_deadline [Time, nil] Deadline by which the case is expected to be resolved
|
|
157
|
+
#
|
|
158
|
+
# @param status [Symbol, Lithic::Models::TransactionMonitoring::CaseStatus] Status of a case as it progresses through the review workflow:
|
|
159
|
+
#
|
|
160
|
+
# @param tags [Hash{Symbol=>String}] Arbitrary key-value metadata associated with the case
|
|
161
|
+
#
|
|
162
|
+
# @param title [String, nil] Short, human-readable summary of the case
|
|
163
|
+
#
|
|
164
|
+
# @param updated [Time] Date and time at which the case was last updated
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
end
|
|
168
|
+
end
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
# @see Lithic::Resources::TransactionMonitoring::Queues#create
|
|
7
|
+
class Queue < Lithic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute token
|
|
9
|
+
# Globally unique identifier for the queue
|
|
10
|
+
#
|
|
11
|
+
# @return [String]
|
|
12
|
+
required :token, String
|
|
13
|
+
|
|
14
|
+
# @!attribute case_counts
|
|
15
|
+
# Number of cases in the queue, broken down by status. A status is omitted when
|
|
16
|
+
# the queue has no cases in that status
|
|
17
|
+
#
|
|
18
|
+
# @return [Lithic::Models::TransactionMonitoring::Queue::CaseCounts]
|
|
19
|
+
required :case_counts, -> { Lithic::TransactionMonitoring::Queue::CaseCounts }
|
|
20
|
+
|
|
21
|
+
# @!attribute created
|
|
22
|
+
# Date and time at which the queue was created
|
|
23
|
+
#
|
|
24
|
+
# @return [Time]
|
|
25
|
+
required :created, Time
|
|
26
|
+
|
|
27
|
+
# @!attribute description
|
|
28
|
+
# Optional description of the queue
|
|
29
|
+
#
|
|
30
|
+
# @return [String, nil]
|
|
31
|
+
required :description, String, nil?: true
|
|
32
|
+
|
|
33
|
+
# @!attribute name
|
|
34
|
+
# Human-readable name of the queue
|
|
35
|
+
#
|
|
36
|
+
# @return [String]
|
|
37
|
+
required :name, String
|
|
38
|
+
|
|
39
|
+
# @!attribute updated
|
|
40
|
+
# Date and time at which the queue was last updated
|
|
41
|
+
#
|
|
42
|
+
# @return [Time]
|
|
43
|
+
required :updated, Time
|
|
44
|
+
|
|
45
|
+
# @!method initialize(token:, case_counts:, created:, description:, name:, updated:)
|
|
46
|
+
# Some parameter documentations has been truncated, see
|
|
47
|
+
# {Lithic::Models::TransactionMonitoring::Queue} for more details.
|
|
48
|
+
#
|
|
49
|
+
# A queue that groups transaction monitoring cases for review
|
|
50
|
+
#
|
|
51
|
+
# @param token [String] Globally unique identifier for the queue
|
|
52
|
+
#
|
|
53
|
+
# @param case_counts [Lithic::Models::TransactionMonitoring::Queue::CaseCounts] Number of cases in the queue, broken down by status. A status is omitted
|
|
54
|
+
#
|
|
55
|
+
# @param created [Time] Date and time at which the queue was created
|
|
56
|
+
#
|
|
57
|
+
# @param description [String, nil] Optional description of the queue
|
|
58
|
+
#
|
|
59
|
+
# @param name [String] Human-readable name of the queue
|
|
60
|
+
#
|
|
61
|
+
# @param updated [Time] Date and time at which the queue was last updated
|
|
62
|
+
|
|
63
|
+
# @see Lithic::Models::TransactionMonitoring::Queue#case_counts
|
|
64
|
+
class CaseCounts < Lithic::Internal::Type::BaseModel
|
|
65
|
+
# @!attribute assigned
|
|
66
|
+
# Number of cases in the queue with status `ASSIGNED`
|
|
67
|
+
#
|
|
68
|
+
# @return [Integer, nil]
|
|
69
|
+
optional :assigned, Integer, api_name: :ASSIGNED
|
|
70
|
+
|
|
71
|
+
# @!attribute closed
|
|
72
|
+
# Number of cases in the queue with status `CLOSED`
|
|
73
|
+
#
|
|
74
|
+
# @return [Integer, nil]
|
|
75
|
+
optional :closed, Integer, api_name: :CLOSED
|
|
76
|
+
|
|
77
|
+
# @!attribute escalated
|
|
78
|
+
# Number of cases in the queue with status `ESCALATED`
|
|
79
|
+
#
|
|
80
|
+
# @return [Integer, nil]
|
|
81
|
+
optional :escalated, Integer, api_name: :ESCALATED
|
|
82
|
+
|
|
83
|
+
# @!attribute in_review
|
|
84
|
+
# Number of cases in the queue with status `IN_REVIEW`
|
|
85
|
+
#
|
|
86
|
+
# @return [Integer, nil]
|
|
87
|
+
optional :in_review, Integer, api_name: :IN_REVIEW
|
|
88
|
+
|
|
89
|
+
# @!attribute open_
|
|
90
|
+
# Number of cases in the queue with status `OPEN`
|
|
91
|
+
#
|
|
92
|
+
# @return [Integer, nil]
|
|
93
|
+
optional :open_, Integer, api_name: :OPEN
|
|
94
|
+
|
|
95
|
+
# @!attribute resolved
|
|
96
|
+
# Number of cases in the queue with status `RESOLVED`
|
|
97
|
+
#
|
|
98
|
+
# @return [Integer, nil]
|
|
99
|
+
optional :resolved, Integer, api_name: :RESOLVED
|
|
100
|
+
|
|
101
|
+
# @!method initialize(assigned: nil, closed: nil, escalated: nil, in_review: nil, open_: nil, resolved: nil)
|
|
102
|
+
# Number of cases in the queue, broken down by status. A status is omitted when
|
|
103
|
+
# the queue has no cases in that status
|
|
104
|
+
#
|
|
105
|
+
# @param assigned [Integer] Number of cases in the queue with status `ASSIGNED`
|
|
106
|
+
#
|
|
107
|
+
# @param closed [Integer] Number of cases in the queue with status `CLOSED`
|
|
108
|
+
#
|
|
109
|
+
# @param escalated [Integer] Number of cases in the queue with status `ESCALATED`
|
|
110
|
+
#
|
|
111
|
+
# @param in_review [Integer] Number of cases in the queue with status `IN_REVIEW`
|
|
112
|
+
#
|
|
113
|
+
# @param open_ [Integer] Number of cases in the queue with status `OPEN`
|
|
114
|
+
#
|
|
115
|
+
# @param resolved [Integer] Number of cases in the queue with status `RESOLVED`
|
|
116
|
+
end
|
|
117
|
+
end
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
end
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
# @see Lithic::Resources::TransactionMonitoring::Queues#create
|
|
7
|
+
class QueueCreateParams < Lithic::Internal::Type::BaseModel
|
|
8
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Lithic::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!attribute name
|
|
12
|
+
# Human-readable name of the queue
|
|
13
|
+
#
|
|
14
|
+
# @return [String]
|
|
15
|
+
required :name, String
|
|
16
|
+
|
|
17
|
+
# @!attribute description
|
|
18
|
+
# Optional description of the queue
|
|
19
|
+
#
|
|
20
|
+
# @return [String, nil]
|
|
21
|
+
optional :description, String, nil?: true
|
|
22
|
+
|
|
23
|
+
# @!method initialize(name:, description: nil, request_options: {})
|
|
24
|
+
# @param name [String] Human-readable name of the queue
|
|
25
|
+
#
|
|
26
|
+
# @param description [String, nil] Optional description of the queue
|
|
27
|
+
#
|
|
28
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
# @see Lithic::Resources::TransactionMonitoring::Queues#delete
|
|
7
|
+
class QueueDeleteParams < Lithic::Internal::Type::BaseModel
|
|
8
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Lithic::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!attribute queue_token
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :queue_token, String
|
|
15
|
+
|
|
16
|
+
# @!method initialize(queue_token:, request_options: {})
|
|
17
|
+
# @param queue_token [String]
|
|
18
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
# @see Lithic::Resources::TransactionMonitoring::Queues#list
|
|
7
|
+
class QueueListParams < Lithic::Internal::Type::BaseModel
|
|
8
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Lithic::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!attribute ending_before
|
|
12
|
+
# A cursor representing an item's token before which a page of results should end.
|
|
13
|
+
# Used to retrieve the previous page of results before this item.
|
|
14
|
+
#
|
|
15
|
+
# @return [String, nil]
|
|
16
|
+
optional :ending_before, String
|
|
17
|
+
|
|
18
|
+
# @!attribute page_size
|
|
19
|
+
# Page size (for pagination).
|
|
20
|
+
#
|
|
21
|
+
# @return [Integer, nil]
|
|
22
|
+
optional :page_size, Integer
|
|
23
|
+
|
|
24
|
+
# @!attribute starting_after
|
|
25
|
+
# A cursor representing an item's token after which a page of results should
|
|
26
|
+
# begin. Used to retrieve the next page of results after this item.
|
|
27
|
+
#
|
|
28
|
+
# @return [String, nil]
|
|
29
|
+
optional :starting_after, String
|
|
30
|
+
|
|
31
|
+
# @!method initialize(ending_before: nil, page_size: nil, starting_after: nil, request_options: {})
|
|
32
|
+
# Some parameter documentations has been truncated, see
|
|
33
|
+
# {Lithic::Models::TransactionMonitoring::QueueListParams} for more details.
|
|
34
|
+
#
|
|
35
|
+
# @param ending_before [String] A cursor representing an item's token before which a page of results should end.
|
|
36
|
+
#
|
|
37
|
+
# @param page_size [Integer] Page size (for pagination).
|
|
38
|
+
#
|
|
39
|
+
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
|
40
|
+
#
|
|
41
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
# @see Lithic::Resources::TransactionMonitoring::Queues#retrieve
|
|
7
|
+
class QueueRetrieveParams < Lithic::Internal::Type::BaseModel
|
|
8
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Lithic::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!attribute queue_token
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :queue_token, String
|
|
15
|
+
|
|
16
|
+
# @!method initialize(queue_token:, request_options: {})
|
|
17
|
+
# @param queue_token [String]
|
|
18
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
# @see Lithic::Resources::TransactionMonitoring::Queues#update
|
|
7
|
+
class QueueUpdateParams < Lithic::Internal::Type::BaseModel
|
|
8
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Lithic::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!attribute queue_token
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :queue_token, String
|
|
15
|
+
|
|
16
|
+
# @!attribute description
|
|
17
|
+
# New description for the queue, or `null` to clear it
|
|
18
|
+
#
|
|
19
|
+
# @return [String, nil]
|
|
20
|
+
optional :description, String, nil?: true
|
|
21
|
+
|
|
22
|
+
# @!attribute name
|
|
23
|
+
# New name for the queue
|
|
24
|
+
#
|
|
25
|
+
# @return [String, nil]
|
|
26
|
+
optional :name, String
|
|
27
|
+
|
|
28
|
+
# @!method initialize(queue_token:, description: nil, name: nil, request_options: {})
|
|
29
|
+
# @param queue_token [String]
|
|
30
|
+
#
|
|
31
|
+
# @param description [String, nil] New description for the queue, or `null` to clear it
|
|
32
|
+
#
|
|
33
|
+
# @param name [String] New name for the queue
|
|
34
|
+
#
|
|
35
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
# Outcome recorded when a case is resolved:
|
|
7
|
+
#
|
|
8
|
+
# - `CONFIRMED_FRAUD` - The reviewed activity was confirmed to be fraudulent
|
|
9
|
+
# - `SUSPICIOUS_ACTIVITY` - The activity is suspicious but not confirmed fraud
|
|
10
|
+
# - `FALSE_POSITIVE` - The activity was legitimate and the alert was a false
|
|
11
|
+
# positive
|
|
12
|
+
# - `NO_ACTION_REQUIRED` - No further action is required
|
|
13
|
+
# - `ESCALATED_EXTERNAL` - The case was escalated to an external party
|
|
14
|
+
module ResolutionOutcome
|
|
15
|
+
extend Lithic::Internal::Type::Enum
|
|
16
|
+
|
|
17
|
+
CONFIRMED_FRAUD = :CONFIRMED_FRAUD
|
|
18
|
+
SUSPICIOUS_ACTIVITY = :SUSPICIOUS_ACTIVITY
|
|
19
|
+
FALSE_POSITIVE = :FALSE_POSITIVE
|
|
20
|
+
NO_ACTION_REQUIRED = :NO_ACTION_REQUIRED
|
|
21
|
+
ESCALATED_EXTERNAL = :ESCALATED_EXTERNAL
|
|
22
|
+
|
|
23
|
+
# @!method self.values
|
|
24
|
+
# @return [Array<Symbol>]
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
# @see Lithic::Resources::Transactions#route
|
|
6
|
+
class TransactionRouteParams < Lithic::Internal::Type::BaseModel
|
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Lithic::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute transaction_token
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :transaction_token, String
|
|
14
|
+
|
|
15
|
+
# @!attribute financial_account_token
|
|
16
|
+
# The token of the financial account to route the transaction to.
|
|
17
|
+
#
|
|
18
|
+
# @return [String]
|
|
19
|
+
required :financial_account_token, String
|
|
20
|
+
|
|
21
|
+
# @!method initialize(transaction_token:, financial_account_token:, request_options: {})
|
|
22
|
+
# @param transaction_token [String]
|
|
23
|
+
#
|
|
24
|
+
# @param financial_account_token [String] The token of the financial account to route the transaction to.
|
|
25
|
+
#
|
|
26
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
@@ -104,14 +104,14 @@ module Lithic
|
|
|
104
104
|
# Amount originated towards limit
|
|
105
105
|
#
|
|
106
106
|
# @return [Integer, nil]
|
|
107
|
-
optional :amount_originated, Integer
|
|
107
|
+
optional :amount_originated, Integer, nil?: true
|
|
108
108
|
|
|
109
109
|
# @!method initialize(limit:, amount_originated: nil)
|
|
110
110
|
# Credit limits
|
|
111
111
|
#
|
|
112
112
|
# @param limit [Integer] The limit amount
|
|
113
113
|
#
|
|
114
|
-
# @param amount_originated [Integer] Amount originated towards limit
|
|
114
|
+
# @param amount_originated [Integer, nil] Amount originated towards limit
|
|
115
115
|
end
|
|
116
116
|
|
|
117
117
|
# @see Lithic::Models::TransferLimitsResponse::Data::DailyLimit#debit
|
|
@@ -126,14 +126,14 @@ module Lithic
|
|
|
126
126
|
# Amount originated towards limit
|
|
127
127
|
#
|
|
128
128
|
# @return [Integer, nil]
|
|
129
|
-
optional :amount_originated, Integer
|
|
129
|
+
optional :amount_originated, Integer, nil?: true
|
|
130
130
|
|
|
131
131
|
# @!method initialize(limit:, amount_originated: nil)
|
|
132
132
|
# Debit limits
|
|
133
133
|
#
|
|
134
134
|
# @param limit [Integer] The limit amount
|
|
135
135
|
#
|
|
136
|
-
# @param amount_originated [Integer] Amount originated towards limit
|
|
136
|
+
# @param amount_originated [Integer, nil] Amount originated towards limit
|
|
137
137
|
end
|
|
138
138
|
end
|
|
139
139
|
|
|
@@ -170,14 +170,14 @@ module Lithic
|
|
|
170
170
|
# Amount originated towards limit
|
|
171
171
|
#
|
|
172
172
|
# @return [Integer, nil]
|
|
173
|
-
optional :amount_originated, Integer
|
|
173
|
+
optional :amount_originated, Integer, nil?: true
|
|
174
174
|
|
|
175
175
|
# @!method initialize(limit:, amount_originated: nil)
|
|
176
176
|
# Credit limits
|
|
177
177
|
#
|
|
178
178
|
# @param limit [Integer] The limit amount
|
|
179
179
|
#
|
|
180
|
-
# @param amount_originated [Integer] Amount originated towards limit
|
|
180
|
+
# @param amount_originated [Integer, nil] Amount originated towards limit
|
|
181
181
|
end
|
|
182
182
|
|
|
183
183
|
# @see Lithic::Models::TransferLimitsResponse::Data::MonthlyLimit#debit
|
|
@@ -192,14 +192,14 @@ module Lithic
|
|
|
192
192
|
# Amount originated towards limit
|
|
193
193
|
#
|
|
194
194
|
# @return [Integer, nil]
|
|
195
|
-
optional :amount_originated, Integer
|
|
195
|
+
optional :amount_originated, Integer, nil?: true
|
|
196
196
|
|
|
197
197
|
# @!method initialize(limit:, amount_originated: nil)
|
|
198
198
|
# Debit limits
|
|
199
199
|
#
|
|
200
200
|
# @param limit [Integer] The limit amount
|
|
201
201
|
#
|
|
202
|
-
# @param amount_originated [Integer] Amount originated towards limit
|
|
202
|
+
# @param amount_originated [Integer, nil] Amount originated towards limit
|
|
203
203
|
end
|
|
204
204
|
end
|
|
205
205
|
|
|
@@ -236,14 +236,14 @@ module Lithic
|
|
|
236
236
|
# Amount originated towards limit
|
|
237
237
|
#
|
|
238
238
|
# @return [Integer, nil]
|
|
239
|
-
optional :amount_originated, Integer
|
|
239
|
+
optional :amount_originated, Integer, nil?: true
|
|
240
240
|
|
|
241
241
|
# @!method initialize(limit:, amount_originated: nil)
|
|
242
242
|
# Credit limits
|
|
243
243
|
#
|
|
244
244
|
# @param limit [Integer] The limit amount
|
|
245
245
|
#
|
|
246
|
-
# @param amount_originated [Integer] Amount originated towards limit
|
|
246
|
+
# @param amount_originated [Integer, nil] Amount originated towards limit
|
|
247
247
|
end
|
|
248
248
|
|
|
249
249
|
# @see Lithic::Models::TransferLimitsResponse::Data::ProgramLimitPerTransaction#debit
|
|
@@ -258,14 +258,14 @@ module Lithic
|
|
|
258
258
|
# Amount originated towards limit
|
|
259
259
|
#
|
|
260
260
|
# @return [Integer, nil]
|
|
261
|
-
optional :amount_originated, Integer
|
|
261
|
+
optional :amount_originated, Integer, nil?: true
|
|
262
262
|
|
|
263
263
|
# @!method initialize(limit:, amount_originated: nil)
|
|
264
264
|
# Debit limits
|
|
265
265
|
#
|
|
266
266
|
# @param limit [Integer] The limit amount
|
|
267
267
|
#
|
|
268
|
-
# @param amount_originated [Integer] Amount originated towards limit
|
|
268
|
+
# @param amount_originated [Integer, nil] Amount originated towards limit
|
|
269
269
|
end
|
|
270
270
|
end
|
|
271
271
|
end
|
data/lib/lithic/models.rb
CHANGED
|
@@ -130,12 +130,18 @@ module Lithic
|
|
|
130
130
|
|
|
131
131
|
Card = Lithic::Models::Card
|
|
132
132
|
|
|
133
|
+
CardAuthorization = Lithic::Models::CardAuthorization
|
|
134
|
+
|
|
133
135
|
CardAuthorizationApprovalRequestWebhookEvent =
|
|
134
136
|
Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent
|
|
135
137
|
|
|
138
|
+
CardAuthorizationChallengeResponseParams = Lithic::Models::CardAuthorizationChallengeResponseParams
|
|
139
|
+
|
|
136
140
|
CardAuthorizationChallengeResponseWebhookEvent =
|
|
137
141
|
Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent
|
|
138
142
|
|
|
143
|
+
CardAuthorizationChallengeWebhookEvent = Lithic::Models::CardAuthorizationChallengeWebhookEvent
|
|
144
|
+
|
|
139
145
|
CardBulkOrder = Lithic::Models::CardBulkOrder
|
|
140
146
|
|
|
141
147
|
CardBulkOrderCreateParams = Lithic::Models::CardBulkOrderCreateParams
|
|
@@ -296,6 +302,8 @@ module Lithic
|
|
|
296
302
|
|
|
297
303
|
ExternalBankAccountListParams = Lithic::Models::ExternalBankAccountListParams
|
|
298
304
|
|
|
305
|
+
ExternalBankAccountPauseParams = Lithic::Models::ExternalBankAccountPauseParams
|
|
306
|
+
|
|
299
307
|
ExternalBankAccountRetrieveParams = Lithic::Models::ExternalBankAccountRetrieveParams
|
|
300
308
|
|
|
301
309
|
ExternalBankAccountRetryMicroDepositsParams = Lithic::Models::ExternalBankAccountRetryMicroDepositsParams
|
|
@@ -566,8 +574,12 @@ module Lithic
|
|
|
566
574
|
|
|
567
575
|
TransactionListParams = Lithic::Models::TransactionListParams
|
|
568
576
|
|
|
577
|
+
TransactionMonitoring = Lithic::Models::TransactionMonitoring
|
|
578
|
+
|
|
569
579
|
TransactionRetrieveParams = Lithic::Models::TransactionRetrieveParams
|
|
570
580
|
|
|
581
|
+
TransactionRouteParams = Lithic::Models::TransactionRouteParams
|
|
582
|
+
|
|
571
583
|
Transactions = Lithic::Models::Transactions
|
|
572
584
|
|
|
573
585
|
TransactionSimulateAuthorizationAdviceParams =
|
|
@@ -31,7 +31,7 @@ module Lithic
|
|
|
31
31
|
#
|
|
32
32
|
# @param phone_number [String] Individual's phone number, entered in E.164 format.
|
|
33
33
|
#
|
|
34
|
-
# @param type [Symbol, Lithic::Models::
|
|
34
|
+
# @param type [Symbol, Lithic::Models::TransactionMonitoring::EntityType] The type of entity to create on the account holder
|
|
35
35
|
#
|
|
36
36
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
37
37
|
#
|
|
@@ -144,7 +144,7 @@ module Lithic
|
|
|
144
144
|
#
|
|
145
145
|
# @param auth_rule_token [String]
|
|
146
146
|
#
|
|
147
|
-
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, nil] Parameters for the Auth Rule
|
|
147
|
+
# @param parameters [Lithic::Models::AuthRules::ConditionalBlockParameters, Lithic::Models::AuthRules::VelocityLimitParams, Lithic::Models::AuthRules::MerchantLockParameters, Lithic::Models::AuthRules::Conditional3DSActionParameters, Lithic::Models::AuthRules::ConditionalAuthorizationActionParameters, Lithic::Models::AuthRules::ConditionalACHActionParameters, Lithic::Models::AuthRules::ConditionalTokenizationActionParameters, Lithic::Models::AuthRules::ConditionalCardTransactionUpdateActionParameters, Lithic::Models::AuthRules::TypescriptCodeParameters, Lithic::Models::AuthRules::ConditionalAuthorizationAdjustmentParameters, nil] Parameters for the Auth Rule
|
|
148
148
|
#
|
|
149
149
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
150
150
|
#
|