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,116 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
# @see Lithic::Resources::TransactionMonitoring::Cases#update
|
|
7
|
+
class CaseUpdateParams < Lithic::Internal::Type::BaseModel
|
|
8
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Lithic::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!attribute case_token
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :case_token, String
|
|
15
|
+
|
|
16
|
+
# @!attribute actor_token
|
|
17
|
+
# Optional client-provided identifier for the actor performing this action,
|
|
18
|
+
# recorded on the resulting activity entry. This value is supplied by the client
|
|
19
|
+
# (for example, your own internal user ID) and is not authenticated by Lithic
|
|
20
|
+
#
|
|
21
|
+
# @return [String, nil]
|
|
22
|
+
optional :actor_token, String
|
|
23
|
+
|
|
24
|
+
# @!attribute assignee
|
|
25
|
+
# New assignee for the case, or `null` to unassign
|
|
26
|
+
#
|
|
27
|
+
# @return [String, nil]
|
|
28
|
+
optional :assignee, String, nil?: true
|
|
29
|
+
|
|
30
|
+
# @!attribute priority
|
|
31
|
+
# Priority level of a case, controlling queue ordering and SLA urgency
|
|
32
|
+
#
|
|
33
|
+
# @return [Symbol, Lithic::Models::TransactionMonitoring::CasePriority, nil]
|
|
34
|
+
optional :priority, enum: -> { Lithic::TransactionMonitoring::CasePriority }
|
|
35
|
+
|
|
36
|
+
# @!attribute resolution
|
|
37
|
+
# Outcome recorded when a case is resolved:
|
|
38
|
+
#
|
|
39
|
+
# - `CONFIRMED_FRAUD` - The reviewed activity was confirmed to be fraudulent
|
|
40
|
+
# - `SUSPICIOUS_ACTIVITY` - The activity is suspicious but not confirmed fraud
|
|
41
|
+
# - `FALSE_POSITIVE` - The activity was legitimate and the alert was a false
|
|
42
|
+
# positive
|
|
43
|
+
# - `NO_ACTION_REQUIRED` - No further action is required
|
|
44
|
+
# - `ESCALATED_EXTERNAL` - The case was escalated to an external party
|
|
45
|
+
#
|
|
46
|
+
# @return [Symbol, Lithic::Models::TransactionMonitoring::ResolutionOutcome, nil]
|
|
47
|
+
optional :resolution, enum: -> { Lithic::TransactionMonitoring::ResolutionOutcome }
|
|
48
|
+
|
|
49
|
+
# @!attribute resolution_notes
|
|
50
|
+
# Notes describing the resolution
|
|
51
|
+
#
|
|
52
|
+
# @return [String, nil]
|
|
53
|
+
optional :resolution_notes, String
|
|
54
|
+
|
|
55
|
+
# @!attribute sla_deadline
|
|
56
|
+
# New SLA deadline for the case, or `null` to clear it
|
|
57
|
+
#
|
|
58
|
+
# @return [Time, nil]
|
|
59
|
+
optional :sla_deadline, Time, nil?: true
|
|
60
|
+
|
|
61
|
+
# @!attribute status
|
|
62
|
+
# Status of a case as it progresses through the review workflow:
|
|
63
|
+
#
|
|
64
|
+
# - `OPEN` - The case has been created and is still collecting matching
|
|
65
|
+
# transactions
|
|
66
|
+
# - `ASSIGNED` - An analyst has been assigned and transaction collection has
|
|
67
|
+
# stopped
|
|
68
|
+
# - `IN_REVIEW` - The case is actively being investigated
|
|
69
|
+
# - `ESCALATED` - The case has been reviewed and requires additional oversight
|
|
70
|
+
# - `RESOLVED` - A determination has been made and a resolution recorded
|
|
71
|
+
# - `CLOSED` - The case is finalized
|
|
72
|
+
#
|
|
73
|
+
# @return [Symbol, Lithic::Models::TransactionMonitoring::CaseStatus, nil]
|
|
74
|
+
optional :status, enum: -> { Lithic::TransactionMonitoring::CaseStatus }
|
|
75
|
+
|
|
76
|
+
# @!attribute tags
|
|
77
|
+
# Arbitrary key-value metadata to set on the case
|
|
78
|
+
#
|
|
79
|
+
# @return [Hash{Symbol=>String}, nil]
|
|
80
|
+
optional :tags, Lithic::Internal::Type::HashOf[String]
|
|
81
|
+
|
|
82
|
+
# @!attribute title
|
|
83
|
+
# New title for the case, or `null` to clear it
|
|
84
|
+
#
|
|
85
|
+
# @return [String, nil]
|
|
86
|
+
optional :title, String, nil?: true
|
|
87
|
+
|
|
88
|
+
# @!method initialize(case_token:, actor_token: nil, assignee: nil, priority: nil, resolution: nil, resolution_notes: nil, sla_deadline: nil, status: nil, tags: nil, title: nil, request_options: {})
|
|
89
|
+
# Some parameter documentations has been truncated, see
|
|
90
|
+
# {Lithic::Models::TransactionMonitoring::CaseUpdateParams} for more details.
|
|
91
|
+
#
|
|
92
|
+
# @param case_token [String]
|
|
93
|
+
#
|
|
94
|
+
# @param actor_token [String] Optional client-provided identifier for the actor performing this action,
|
|
95
|
+
#
|
|
96
|
+
# @param assignee [String, nil] New assignee for the case, or `null` to unassign
|
|
97
|
+
#
|
|
98
|
+
# @param priority [Symbol, Lithic::Models::TransactionMonitoring::CasePriority] Priority level of a case, controlling queue ordering and SLA urgency
|
|
99
|
+
#
|
|
100
|
+
# @param resolution [Symbol, Lithic::Models::TransactionMonitoring::ResolutionOutcome] Outcome recorded when a case is resolved:
|
|
101
|
+
#
|
|
102
|
+
# @param resolution_notes [String] Notes describing the resolution
|
|
103
|
+
#
|
|
104
|
+
# @param sla_deadline [Time, nil] New SLA deadline for the case, or `null` to clear it
|
|
105
|
+
#
|
|
106
|
+
# @param status [Symbol, Lithic::Models::TransactionMonitoring::CaseStatus] Status of a case as it progresses through the review workflow:
|
|
107
|
+
#
|
|
108
|
+
# @param tags [Hash{Symbol=>String}] Arbitrary key-value metadata to set on the case
|
|
109
|
+
#
|
|
110
|
+
# @param title [String, nil] New title for the case, or `null` to clear it
|
|
111
|
+
#
|
|
112
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
end
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
module Cases
|
|
7
|
+
# @see Lithic::Resources::TransactionMonitoring::Cases::Files#create
|
|
8
|
+
class CaseFile < Lithic::Internal::Type::BaseModel
|
|
9
|
+
# @!attribute token
|
|
10
|
+
# Globally unique identifier for the file
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :token, String
|
|
14
|
+
|
|
15
|
+
# @!attribute created
|
|
16
|
+
# Date and time at which the file record was created
|
|
17
|
+
#
|
|
18
|
+
# @return [Time]
|
|
19
|
+
required :created, Time
|
|
20
|
+
|
|
21
|
+
# @!attribute download_url
|
|
22
|
+
# Presigned URL the client uses to download the file
|
|
23
|
+
#
|
|
24
|
+
# @return [String, nil]
|
|
25
|
+
required :download_url, String, nil?: true
|
|
26
|
+
|
|
27
|
+
# @!attribute download_url_expires
|
|
28
|
+
# Date and time at which the download URL expires
|
|
29
|
+
#
|
|
30
|
+
# @return [Time, nil]
|
|
31
|
+
required :download_url_expires, Time, nil?: true
|
|
32
|
+
|
|
33
|
+
# @!attribute failure_reason
|
|
34
|
+
# Reason the file was rejected, when applicable
|
|
35
|
+
#
|
|
36
|
+
# @return [String, nil]
|
|
37
|
+
required :failure_reason, String, nil?: true
|
|
38
|
+
|
|
39
|
+
# @!attribute mime_type
|
|
40
|
+
# MIME type of the file, available once the file is ready
|
|
41
|
+
#
|
|
42
|
+
# @return [String, nil]
|
|
43
|
+
required :mime_type, String, nil?: true
|
|
44
|
+
|
|
45
|
+
# @!attribute name
|
|
46
|
+
# Name of the file
|
|
47
|
+
#
|
|
48
|
+
# @return [String]
|
|
49
|
+
required :name, String
|
|
50
|
+
|
|
51
|
+
# @!attribute size_bytes
|
|
52
|
+
# Size of the file in bytes, available once the file is ready
|
|
53
|
+
#
|
|
54
|
+
# @return [Integer, nil]
|
|
55
|
+
required :size_bytes, Integer, nil?: true
|
|
56
|
+
|
|
57
|
+
# @!attribute status
|
|
58
|
+
# Lifecycle status of a case file:
|
|
59
|
+
#
|
|
60
|
+
# - `PENDING` - An upload URL has been issued and the file is awaiting upload
|
|
61
|
+
# - `READY` - The file has been uploaded and validated; a download URL is
|
|
62
|
+
# available
|
|
63
|
+
# - `REJECTED` - File validation failed; see `failure_reason` for details
|
|
64
|
+
#
|
|
65
|
+
# @return [Symbol, Lithic::Models::TransactionMonitoring::Cases::FileStatus]
|
|
66
|
+
required :status, enum: -> { Lithic::TransactionMonitoring::Cases::FileStatus }
|
|
67
|
+
|
|
68
|
+
# @!attribute updated
|
|
69
|
+
# Date and time at which the file record was last updated
|
|
70
|
+
#
|
|
71
|
+
# @return [Time]
|
|
72
|
+
required :updated, Time
|
|
73
|
+
|
|
74
|
+
# @!attribute upload_constraints
|
|
75
|
+
# Constraints applied to a file upload, returned alongside the upload URL so
|
|
76
|
+
# clients can validate before uploading
|
|
77
|
+
#
|
|
78
|
+
# @return [Lithic::Models::TransactionMonitoring::Cases::UploadConstraints, nil]
|
|
79
|
+
required :upload_constraints,
|
|
80
|
+
-> {
|
|
81
|
+
Lithic::TransactionMonitoring::Cases::UploadConstraints
|
|
82
|
+
},
|
|
83
|
+
nil?: true
|
|
84
|
+
|
|
85
|
+
# @!attribute upload_url
|
|
86
|
+
# Presigned URL the client uses to upload the file
|
|
87
|
+
#
|
|
88
|
+
# @return [String, nil]
|
|
89
|
+
required :upload_url, String, nil?: true
|
|
90
|
+
|
|
91
|
+
# @!attribute upload_url_expires
|
|
92
|
+
# Date and time at which the upload URL expires
|
|
93
|
+
#
|
|
94
|
+
# @return [Time, nil]
|
|
95
|
+
required :upload_url_expires, Time, nil?: true
|
|
96
|
+
|
|
97
|
+
# @!method initialize(token:, created:, download_url:, download_url_expires:, failure_reason:, mime_type:, name:, size_bytes:, status:, updated:, upload_constraints:, upload_url:, upload_url_expires:)
|
|
98
|
+
# Some parameter documentations has been truncated, see
|
|
99
|
+
# {Lithic::Models::TransactionMonitoring::Cases::CaseFile} for more details.
|
|
100
|
+
#
|
|
101
|
+
# A file attached to a case. Status-dependent fields are always present but may be
|
|
102
|
+
# `null`:
|
|
103
|
+
#
|
|
104
|
+
# - `upload_url`, `upload_url_expires`, and `upload_constraints` are populated
|
|
105
|
+
# when `status` is `PENDING` or `REJECTED`
|
|
106
|
+
# - `download_url` and `download_url_expires` are populated when `status` is
|
|
107
|
+
# `READY`
|
|
108
|
+
# - `failure_reason` is populated when `status` is `REJECTED`
|
|
109
|
+
#
|
|
110
|
+
# @param token [String] Globally unique identifier for the file
|
|
111
|
+
#
|
|
112
|
+
# @param created [Time] Date and time at which the file record was created
|
|
113
|
+
#
|
|
114
|
+
# @param download_url [String, nil] Presigned URL the client uses to download the file
|
|
115
|
+
#
|
|
116
|
+
# @param download_url_expires [Time, nil] Date and time at which the download URL expires
|
|
117
|
+
#
|
|
118
|
+
# @param failure_reason [String, nil] Reason the file was rejected, when applicable
|
|
119
|
+
#
|
|
120
|
+
# @param mime_type [String, nil] MIME type of the file, available once the file is ready
|
|
121
|
+
#
|
|
122
|
+
# @param name [String] Name of the file
|
|
123
|
+
#
|
|
124
|
+
# @param size_bytes [Integer, nil] Size of the file in bytes, available once the file is ready
|
|
125
|
+
#
|
|
126
|
+
# @param status [Symbol, Lithic::Models::TransactionMonitoring::Cases::FileStatus] Lifecycle status of a case file:
|
|
127
|
+
#
|
|
128
|
+
# @param updated [Time] Date and time at which the file record was last updated
|
|
129
|
+
#
|
|
130
|
+
# @param upload_constraints [Lithic::Models::TransactionMonitoring::Cases::UploadConstraints, nil] Constraints applied to a file upload, returned alongside the upload URL so clien
|
|
131
|
+
#
|
|
132
|
+
# @param upload_url [String, nil] Presigned URL the client uses to upload the file
|
|
133
|
+
#
|
|
134
|
+
# @param upload_url_expires [Time, nil] Date and time at which the upload URL expires
|
|
135
|
+
end
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
CaseFile = Cases::CaseFile
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
end
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
module Cases
|
|
7
|
+
# @see Lithic::Resources::TransactionMonitoring::Cases::Comments#create
|
|
8
|
+
class CommentCreateParams < Lithic::Internal::Type::BaseModel
|
|
9
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Lithic::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
# @!attribute case_token
|
|
13
|
+
#
|
|
14
|
+
# @return [String]
|
|
15
|
+
required :case_token, String
|
|
16
|
+
|
|
17
|
+
# @!attribute comment
|
|
18
|
+
# Text of the comment
|
|
19
|
+
#
|
|
20
|
+
# @return [String]
|
|
21
|
+
required :comment, String
|
|
22
|
+
|
|
23
|
+
# @!attribute actor_token
|
|
24
|
+
# Optional client-provided identifier for the actor performing this action,
|
|
25
|
+
# recorded on the resulting activity entry. This value is supplied by the client
|
|
26
|
+
# (for example, your own internal user ID) and is not authenticated by Lithic
|
|
27
|
+
#
|
|
28
|
+
# @return [String, nil]
|
|
29
|
+
optional :actor_token, String
|
|
30
|
+
|
|
31
|
+
# @!method initialize(case_token:, comment:, actor_token: nil, request_options: {})
|
|
32
|
+
# Some parameter documentations has been truncated, see
|
|
33
|
+
# {Lithic::Models::TransactionMonitoring::Cases::CommentCreateParams} for more
|
|
34
|
+
# details.
|
|
35
|
+
#
|
|
36
|
+
# @param case_token [String]
|
|
37
|
+
#
|
|
38
|
+
# @param comment [String] Text of the comment
|
|
39
|
+
#
|
|
40
|
+
# @param actor_token [String] Optional client-provided identifier for the actor performing this action,
|
|
41
|
+
#
|
|
42
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
module Cases
|
|
7
|
+
# @see Lithic::Resources::TransactionMonitoring::Cases::Comments#delete
|
|
8
|
+
class CommentDeleteParams < Lithic::Internal::Type::BaseModel
|
|
9
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Lithic::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
# @!attribute case_token
|
|
13
|
+
#
|
|
14
|
+
# @return [String]
|
|
15
|
+
required :case_token, String
|
|
16
|
+
|
|
17
|
+
# @!attribute comment_token
|
|
18
|
+
#
|
|
19
|
+
# @return [String]
|
|
20
|
+
required :comment_token, String
|
|
21
|
+
|
|
22
|
+
# @!method initialize(case_token:, comment_token:, request_options: {})
|
|
23
|
+
# @param case_token [String]
|
|
24
|
+
# @param comment_token [String]
|
|
25
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
module Cases
|
|
7
|
+
# @see Lithic::Resources::TransactionMonitoring::Cases::Comments#update
|
|
8
|
+
class CommentUpdateParams < Lithic::Internal::Type::BaseModel
|
|
9
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Lithic::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
# @!attribute case_token
|
|
13
|
+
#
|
|
14
|
+
# @return [String]
|
|
15
|
+
required :case_token, String
|
|
16
|
+
|
|
17
|
+
# @!attribute comment_token
|
|
18
|
+
#
|
|
19
|
+
# @return [String]
|
|
20
|
+
required :comment_token, String
|
|
21
|
+
|
|
22
|
+
# @!attribute comment
|
|
23
|
+
# New text of the comment
|
|
24
|
+
#
|
|
25
|
+
# @return [String]
|
|
26
|
+
required :comment, String
|
|
27
|
+
|
|
28
|
+
# @!attribute actor_token
|
|
29
|
+
# Optional client-provided identifier for the actor performing this action,
|
|
30
|
+
# recorded on the resulting activity entry. This value is supplied by the client
|
|
31
|
+
# (for example, your own internal user ID) and is not authenticated by Lithic
|
|
32
|
+
#
|
|
33
|
+
# @return [String, nil]
|
|
34
|
+
optional :actor_token, String
|
|
35
|
+
|
|
36
|
+
# @!method initialize(case_token:, comment_token:, comment:, actor_token: nil, request_options: {})
|
|
37
|
+
# Some parameter documentations has been truncated, see
|
|
38
|
+
# {Lithic::Models::TransactionMonitoring::Cases::CommentUpdateParams} for more
|
|
39
|
+
# details.
|
|
40
|
+
#
|
|
41
|
+
# @param case_token [String]
|
|
42
|
+
#
|
|
43
|
+
# @param comment_token [String]
|
|
44
|
+
#
|
|
45
|
+
# @param comment [String] New text of the comment
|
|
46
|
+
#
|
|
47
|
+
# @param actor_token [String] Optional client-provided identifier for the actor performing this action,
|
|
48
|
+
#
|
|
49
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
module Cases
|
|
7
|
+
# @see Lithic::Resources::TransactionMonitoring::Cases::Files#create
|
|
8
|
+
class FileCreateParams < Lithic::Internal::Type::BaseModel
|
|
9
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Lithic::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
# @!attribute case_token
|
|
13
|
+
#
|
|
14
|
+
# @return [String]
|
|
15
|
+
required :case_token, String
|
|
16
|
+
|
|
17
|
+
# @!attribute name
|
|
18
|
+
# Name of the file to upload
|
|
19
|
+
#
|
|
20
|
+
# @return [String]
|
|
21
|
+
required :name, String
|
|
22
|
+
|
|
23
|
+
# @!method initialize(case_token:, name:, request_options: {})
|
|
24
|
+
# @param case_token [String]
|
|
25
|
+
#
|
|
26
|
+
# @param name [String] Name of the file to upload
|
|
27
|
+
#
|
|
28
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
module Cases
|
|
7
|
+
# @see Lithic::Resources::TransactionMonitoring::Cases::Files#delete
|
|
8
|
+
class FileDeleteParams < Lithic::Internal::Type::BaseModel
|
|
9
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Lithic::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
# @!attribute case_token
|
|
13
|
+
#
|
|
14
|
+
# @return [String]
|
|
15
|
+
required :case_token, String
|
|
16
|
+
|
|
17
|
+
# @!attribute file_token
|
|
18
|
+
#
|
|
19
|
+
# @return [String]
|
|
20
|
+
required :file_token, String
|
|
21
|
+
|
|
22
|
+
# @!method initialize(case_token:, file_token:, request_options: {})
|
|
23
|
+
# @param case_token [String]
|
|
24
|
+
# @param file_token [String]
|
|
25
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
module Cases
|
|
7
|
+
# @see Lithic::Resources::TransactionMonitoring::Cases::Files#list
|
|
8
|
+
class FileListParams < Lithic::Internal::Type::BaseModel
|
|
9
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Lithic::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
# @!attribute case_token
|
|
13
|
+
#
|
|
14
|
+
# @return [String]
|
|
15
|
+
required :case_token, String
|
|
16
|
+
|
|
17
|
+
# @!attribute ending_before
|
|
18
|
+
# A cursor representing an item's token before which a page of results should end.
|
|
19
|
+
# Used to retrieve the previous page of results before this item.
|
|
20
|
+
#
|
|
21
|
+
# @return [String, nil]
|
|
22
|
+
optional :ending_before, String
|
|
23
|
+
|
|
24
|
+
# @!attribute page_size
|
|
25
|
+
# Page size (for pagination).
|
|
26
|
+
#
|
|
27
|
+
# @return [Integer, nil]
|
|
28
|
+
optional :page_size, Integer
|
|
29
|
+
|
|
30
|
+
# @!attribute starting_after
|
|
31
|
+
# A cursor representing an item's token after which a page of results should
|
|
32
|
+
# begin. Used to retrieve the next page of results after this item.
|
|
33
|
+
#
|
|
34
|
+
# @return [String, nil]
|
|
35
|
+
optional :starting_after, String
|
|
36
|
+
|
|
37
|
+
# @!method initialize(case_token:, ending_before: nil, page_size: nil, starting_after: nil, request_options: {})
|
|
38
|
+
# Some parameter documentations has been truncated, see
|
|
39
|
+
# {Lithic::Models::TransactionMonitoring::Cases::FileListParams} for more details.
|
|
40
|
+
#
|
|
41
|
+
# @param case_token [String]
|
|
42
|
+
#
|
|
43
|
+
# @param ending_before [String] A cursor representing an item's token before which a page of results should end.
|
|
44
|
+
#
|
|
45
|
+
# @param page_size [Integer] Page size (for pagination).
|
|
46
|
+
#
|
|
47
|
+
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
|
48
|
+
#
|
|
49
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
module Cases
|
|
7
|
+
# @see Lithic::Resources::TransactionMonitoring::Cases::Files#retrieve
|
|
8
|
+
class FileRetrieveParams < Lithic::Internal::Type::BaseModel
|
|
9
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
10
|
+
include Lithic::Internal::Type::RequestParameters
|
|
11
|
+
|
|
12
|
+
# @!attribute case_token
|
|
13
|
+
#
|
|
14
|
+
# @return [String]
|
|
15
|
+
required :case_token, String
|
|
16
|
+
|
|
17
|
+
# @!attribute file_token
|
|
18
|
+
#
|
|
19
|
+
# @return [String]
|
|
20
|
+
required :file_token, String
|
|
21
|
+
|
|
22
|
+
# @!method initialize(case_token:, file_token:, request_options: {})
|
|
23
|
+
# @param case_token [String]
|
|
24
|
+
# @param file_token [String]
|
|
25
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
module Cases
|
|
7
|
+
# Lifecycle status of a case file:
|
|
8
|
+
#
|
|
9
|
+
# - `PENDING` - An upload URL has been issued and the file is awaiting upload
|
|
10
|
+
# - `READY` - The file has been uploaded and validated; a download URL is
|
|
11
|
+
# available
|
|
12
|
+
# - `REJECTED` - File validation failed; see `failure_reason` for details
|
|
13
|
+
module FileStatus
|
|
14
|
+
extend Lithic::Internal::Type::Enum
|
|
15
|
+
|
|
16
|
+
PENDING = :PENDING
|
|
17
|
+
READY = :READY
|
|
18
|
+
REJECTED = :REJECTED
|
|
19
|
+
|
|
20
|
+
# @!method self.values
|
|
21
|
+
# @return [Array<Symbol>]
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
module Cases
|
|
7
|
+
class UploadConstraints < Lithic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute accepted_mime_types
|
|
9
|
+
# MIME types accepted for the upload
|
|
10
|
+
#
|
|
11
|
+
# @return [Array<String>]
|
|
12
|
+
required :accepted_mime_types, Lithic::Internal::Type::ArrayOf[String]
|
|
13
|
+
|
|
14
|
+
# @!attribute max_size_bytes
|
|
15
|
+
# Maximum accepted file size, in bytes
|
|
16
|
+
#
|
|
17
|
+
# @return [Integer]
|
|
18
|
+
required :max_size_bytes, Integer
|
|
19
|
+
|
|
20
|
+
# @!method initialize(accepted_mime_types:, max_size_bytes:)
|
|
21
|
+
# Constraints applied to a file upload, returned alongside the upload URL so
|
|
22
|
+
# clients can validate before uploading
|
|
23
|
+
#
|
|
24
|
+
# @param accepted_mime_types [Array<String>] MIME types accepted for the upload
|
|
25
|
+
#
|
|
26
|
+
# @param max_size_bytes [Integer] Maximum accepted file size, in bytes
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
# The type of entity associated with an account holder
|
|
7
|
+
module EntityType
|
|
8
|
+
extend Lithic::Internal::Type::Enum
|
|
9
|
+
|
|
10
|
+
BENEFICIAL_OWNER_INDIVIDUAL = :BENEFICIAL_OWNER_INDIVIDUAL
|
|
11
|
+
CONTROL_PERSON = :CONTROL_PERSON
|
|
12
|
+
|
|
13
|
+
# @!method self.values
|
|
14
|
+
# @return [Array<Symbol>]
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|