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,74 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
# @see Lithic::Resources::TransactionMonitoring::Cases#list_activity
|
|
7
|
+
class CaseActivityEntry < Lithic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute token
|
|
9
|
+
# Globally unique identifier for the activity entry
|
|
10
|
+
#
|
|
11
|
+
# @return [String]
|
|
12
|
+
required :token, String
|
|
13
|
+
|
|
14
|
+
# @!attribute actor_token
|
|
15
|
+
# Identifier of the actor that produced the activity entry
|
|
16
|
+
#
|
|
17
|
+
# @return [String, nil]
|
|
18
|
+
required :actor_token, String, nil?: true
|
|
19
|
+
|
|
20
|
+
# @!attribute created
|
|
21
|
+
# Date and time at which the activity entry was created
|
|
22
|
+
#
|
|
23
|
+
# @return [Time]
|
|
24
|
+
required :created, Time
|
|
25
|
+
|
|
26
|
+
# @!attribute entry_type
|
|
27
|
+
# The case field that changed, or the action that was taken, in an activity entry:
|
|
28
|
+
#
|
|
29
|
+
# - `STATUS` - The case status changed
|
|
30
|
+
# - `TITLE` - The case title changed
|
|
31
|
+
# - `ASSIGNED_TO` - The case assignee changed
|
|
32
|
+
# - `RESOLUTION_OUTCOME` - The resolution outcome was set or changed
|
|
33
|
+
# - `RESOLUTION_NOTES` - The resolution notes were set or changed
|
|
34
|
+
# - `TAGS` - The case tags changed
|
|
35
|
+
# - `PRIORITY` - The case priority changed
|
|
36
|
+
# - `COMMENT` - A comment was added or edited
|
|
37
|
+
# - `FILE` - A file was attached to the case
|
|
38
|
+
#
|
|
39
|
+
# @return [Symbol, Lithic::Models::TransactionMonitoring::CaseActivityType]
|
|
40
|
+
required :entry_type, enum: -> { Lithic::TransactionMonitoring::CaseActivityType }
|
|
41
|
+
|
|
42
|
+
# @!attribute new_value
|
|
43
|
+
# New value of the changed field, when applicable
|
|
44
|
+
#
|
|
45
|
+
# @return [String, nil]
|
|
46
|
+
required :new_value, String, nil?: true
|
|
47
|
+
|
|
48
|
+
# @!attribute previous_value
|
|
49
|
+
# Previous value of the changed field, when applicable
|
|
50
|
+
#
|
|
51
|
+
# @return [String, nil]
|
|
52
|
+
required :previous_value, String, nil?: true
|
|
53
|
+
|
|
54
|
+
# @!method initialize(token:, actor_token:, created:, entry_type:, new_value:, previous_value:)
|
|
55
|
+
# Some parameter documentations has been truncated, see
|
|
56
|
+
# {Lithic::Models::TransactionMonitoring::CaseActivityEntry} for more details.
|
|
57
|
+
#
|
|
58
|
+
# A single entry in a case's activity feed
|
|
59
|
+
#
|
|
60
|
+
# @param token [String] Globally unique identifier for the activity entry
|
|
61
|
+
#
|
|
62
|
+
# @param actor_token [String, nil] Identifier of the actor that produced the activity entry
|
|
63
|
+
#
|
|
64
|
+
# @param created [Time] Date and time at which the activity entry was created
|
|
65
|
+
#
|
|
66
|
+
# @param entry_type [Symbol, Lithic::Models::TransactionMonitoring::CaseActivityType] The case field that changed, or the action that was taken, in an activity entry:
|
|
67
|
+
#
|
|
68
|
+
# @param new_value [String, nil] New value of the changed field, when applicable
|
|
69
|
+
#
|
|
70
|
+
# @param previous_value [String, nil] Previous value of the changed field, when applicable
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
end
|
|
74
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
# The case field that changed, or the action that was taken, in an activity entry:
|
|
7
|
+
#
|
|
8
|
+
# - `STATUS` - The case status changed
|
|
9
|
+
# - `TITLE` - The case title changed
|
|
10
|
+
# - `ASSIGNED_TO` - The case assignee changed
|
|
11
|
+
# - `RESOLUTION_OUTCOME` - The resolution outcome was set or changed
|
|
12
|
+
# - `RESOLUTION_NOTES` - The resolution notes were set or changed
|
|
13
|
+
# - `TAGS` - The case tags changed
|
|
14
|
+
# - `PRIORITY` - The case priority changed
|
|
15
|
+
# - `COMMENT` - A comment was added or edited
|
|
16
|
+
# - `FILE` - A file was attached to the case
|
|
17
|
+
module CaseActivityType
|
|
18
|
+
extend Lithic::Internal::Type::Enum
|
|
19
|
+
|
|
20
|
+
STATUS = :STATUS
|
|
21
|
+
TITLE = :TITLE
|
|
22
|
+
ASSIGNED_TO = :ASSIGNED_TO
|
|
23
|
+
RESOLUTION_OUTCOME = :RESOLUTION_OUTCOME
|
|
24
|
+
RESOLUTION_NOTES = :RESOLUTION_NOTES
|
|
25
|
+
TAGS = :TAGS
|
|
26
|
+
PRIORITY = :PRIORITY
|
|
27
|
+
COMMENT = :COMMENT
|
|
28
|
+
FILE = :FILE
|
|
29
|
+
|
|
30
|
+
# @!method self.values
|
|
31
|
+
# @return [Array<Symbol>]
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
class CaseCard < Lithic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute account_token
|
|
8
|
+
# Token of the account the card belongs to
|
|
9
|
+
#
|
|
10
|
+
# @return [String]
|
|
11
|
+
required :account_token, String
|
|
12
|
+
|
|
13
|
+
# @!attribute card_token
|
|
14
|
+
# Token of the card
|
|
15
|
+
#
|
|
16
|
+
# @return [String]
|
|
17
|
+
required :card_token, String
|
|
18
|
+
|
|
19
|
+
# @!attribute transaction_count
|
|
20
|
+
# Number of the card's transactions associated with the case
|
|
21
|
+
#
|
|
22
|
+
# @return [Integer]
|
|
23
|
+
required :transaction_count, Integer
|
|
24
|
+
|
|
25
|
+
# @!method initialize(account_token:, card_token:, transaction_count:)
|
|
26
|
+
# Summary of a card's involvement in a case, aggregated across the case's
|
|
27
|
+
# transactions
|
|
28
|
+
#
|
|
29
|
+
# @param account_token [String] Token of the account the card belongs to
|
|
30
|
+
#
|
|
31
|
+
# @param card_token [String] Token of the card
|
|
32
|
+
#
|
|
33
|
+
# @param transaction_count [Integer] Number of the card's transactions associated with the case
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
class CaseEntity < Lithic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute entity_token
|
|
8
|
+
# Globally unique identifier for the associated entity
|
|
9
|
+
#
|
|
10
|
+
# @return [String]
|
|
11
|
+
required :entity_token, String
|
|
12
|
+
|
|
13
|
+
# @!attribute entity_type
|
|
14
|
+
# The type of entity a case is associated with:
|
|
15
|
+
#
|
|
16
|
+
# - `CARD` - The case is associated with a card
|
|
17
|
+
# - `ACCOUNT` - The case is associated with an account
|
|
18
|
+
#
|
|
19
|
+
# @return [Symbol, Lithic::Models::TransactionMonitoring::CaseEntity::EntityType]
|
|
20
|
+
required :entity_type, enum: -> { Lithic::TransactionMonitoring::CaseEntity::EntityType }
|
|
21
|
+
|
|
22
|
+
# @!method initialize(entity_token:, entity_type:)
|
|
23
|
+
# Some parameter documentations has been truncated, see
|
|
24
|
+
# {Lithic::Models::TransactionMonitoring::CaseEntity} for more details.
|
|
25
|
+
#
|
|
26
|
+
# The entity a case is associated with
|
|
27
|
+
#
|
|
28
|
+
# @param entity_token [String] Globally unique identifier for the associated entity
|
|
29
|
+
#
|
|
30
|
+
# @param entity_type [Symbol, Lithic::Models::TransactionMonitoring::CaseEntity::EntityType] The type of entity a case is associated with:
|
|
31
|
+
|
|
32
|
+
# The type of entity a case is associated with:
|
|
33
|
+
#
|
|
34
|
+
# - `CARD` - The case is associated with a card
|
|
35
|
+
# - `ACCOUNT` - The case is associated with an account
|
|
36
|
+
#
|
|
37
|
+
# @see Lithic::Models::TransactionMonitoring::CaseEntity#entity_type
|
|
38
|
+
module EntityType
|
|
39
|
+
extend Lithic::Internal::Type::Enum
|
|
40
|
+
|
|
41
|
+
CARD = :CARD
|
|
42
|
+
ACCOUNT = :ACCOUNT
|
|
43
|
+
|
|
44
|
+
# @!method self.values
|
|
45
|
+
# @return [Array<Symbol>]
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
# @see Lithic::Resources::TransactionMonitoring::Cases#list_activity
|
|
7
|
+
class CaseListActivityParams < 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 ending_before
|
|
17
|
+
# A cursor representing an item's token before which a page of results should end.
|
|
18
|
+
# Used to retrieve the previous page of results before this item.
|
|
19
|
+
#
|
|
20
|
+
# @return [String, nil]
|
|
21
|
+
optional :ending_before, String
|
|
22
|
+
|
|
23
|
+
# @!attribute page_size
|
|
24
|
+
# Page size (for pagination).
|
|
25
|
+
#
|
|
26
|
+
# @return [Integer, nil]
|
|
27
|
+
optional :page_size, Integer
|
|
28
|
+
|
|
29
|
+
# @!attribute starting_after
|
|
30
|
+
# A cursor representing an item's token after which a page of results should
|
|
31
|
+
# begin. Used to retrieve the next page of results after this item.
|
|
32
|
+
#
|
|
33
|
+
# @return [String, nil]
|
|
34
|
+
optional :starting_after, String
|
|
35
|
+
|
|
36
|
+
# @!method initialize(case_token:, ending_before: nil, page_size: nil, starting_after: nil, request_options: {})
|
|
37
|
+
# Some parameter documentations has been truncated, see
|
|
38
|
+
# {Lithic::Models::TransactionMonitoring::CaseListActivityParams} for more
|
|
39
|
+
# 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
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
# @see Lithic::Resources::TransactionMonitoring::Cases#list
|
|
7
|
+
class CaseListParams < Lithic::Internal::Type::BaseModel
|
|
8
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
9
|
+
include Lithic::Internal::Type::RequestParameters
|
|
10
|
+
|
|
11
|
+
# @!attribute account_token
|
|
12
|
+
# Only return cases that include transactions on the provided account.
|
|
13
|
+
#
|
|
14
|
+
# @return [String, nil]
|
|
15
|
+
optional :account_token, String
|
|
16
|
+
|
|
17
|
+
# @!attribute assignee
|
|
18
|
+
# Only return cases assigned to the provided value. Pass an empty string to return
|
|
19
|
+
# only unassigned cases.
|
|
20
|
+
#
|
|
21
|
+
# @return [String, nil]
|
|
22
|
+
optional :assignee, String
|
|
23
|
+
|
|
24
|
+
# @!attribute begin_
|
|
25
|
+
# Date string in RFC 3339 format. Only entries created after the specified time
|
|
26
|
+
# will be included. UTC time zone.
|
|
27
|
+
#
|
|
28
|
+
# @return [Time, nil]
|
|
29
|
+
optional :begin_, Time
|
|
30
|
+
|
|
31
|
+
# @!attribute card_token
|
|
32
|
+
# Only return cases that include transactions on the provided card.
|
|
33
|
+
#
|
|
34
|
+
# @return [String, nil]
|
|
35
|
+
optional :card_token, String
|
|
36
|
+
|
|
37
|
+
# @!attribute end_
|
|
38
|
+
# Date string in RFC 3339 format. Only entries created before the specified time
|
|
39
|
+
# will be included. UTC time zone.
|
|
40
|
+
#
|
|
41
|
+
# @return [Time, nil]
|
|
42
|
+
optional :end_, Time
|
|
43
|
+
|
|
44
|
+
# @!attribute ending_before
|
|
45
|
+
# A cursor representing an item's token before which a page of results should end.
|
|
46
|
+
# Used to retrieve the previous page of results before this item.
|
|
47
|
+
#
|
|
48
|
+
# @return [String, nil]
|
|
49
|
+
optional :ending_before, String
|
|
50
|
+
|
|
51
|
+
# @!attribute entity_token
|
|
52
|
+
# Only return cases associated with the provided entity.
|
|
53
|
+
#
|
|
54
|
+
# @return [String, nil]
|
|
55
|
+
optional :entity_token, String
|
|
56
|
+
|
|
57
|
+
# @!attribute page_size
|
|
58
|
+
# Page size (for pagination).
|
|
59
|
+
#
|
|
60
|
+
# @return [Integer, nil]
|
|
61
|
+
optional :page_size, Integer
|
|
62
|
+
|
|
63
|
+
# @!attribute queue_token
|
|
64
|
+
# Only return cases belonging to the provided queue.
|
|
65
|
+
#
|
|
66
|
+
# @return [String, nil]
|
|
67
|
+
optional :queue_token, String
|
|
68
|
+
|
|
69
|
+
# @!attribute rule_token
|
|
70
|
+
# Only return cases triggered by the provided transaction monitoring rule.
|
|
71
|
+
#
|
|
72
|
+
# @return [String, nil]
|
|
73
|
+
optional :rule_token, String
|
|
74
|
+
|
|
75
|
+
# @!attribute sort_by
|
|
76
|
+
# Sort order for the returned cases.
|
|
77
|
+
#
|
|
78
|
+
# @return [Symbol, Lithic::Models::TransactionMonitoring::CaseSortOrder, nil]
|
|
79
|
+
optional :sort_by, enum: -> { Lithic::TransactionMonitoring::CaseSortOrder }
|
|
80
|
+
|
|
81
|
+
# @!attribute starting_after
|
|
82
|
+
# A cursor representing an item's token after which a page of results should
|
|
83
|
+
# begin. Used to retrieve the next page of results after this item.
|
|
84
|
+
#
|
|
85
|
+
# @return [String, nil]
|
|
86
|
+
optional :starting_after, String
|
|
87
|
+
|
|
88
|
+
# @!attribute status
|
|
89
|
+
# Only return cases with the provided status.
|
|
90
|
+
#
|
|
91
|
+
# @return [Symbol, Lithic::Models::TransactionMonitoring::CaseStatus, nil]
|
|
92
|
+
optional :status, enum: -> { Lithic::TransactionMonitoring::CaseStatus }
|
|
93
|
+
|
|
94
|
+
# @!attribute transaction_token
|
|
95
|
+
# Only return cases that include the provided transaction.
|
|
96
|
+
#
|
|
97
|
+
# @return [String, nil]
|
|
98
|
+
optional :transaction_token, String
|
|
99
|
+
|
|
100
|
+
# @!method initialize(account_token: nil, assignee: nil, begin_: nil, card_token: nil, end_: nil, ending_before: nil, entity_token: nil, page_size: nil, queue_token: nil, rule_token: nil, sort_by: nil, starting_after: nil, status: nil, transaction_token: nil, request_options: {})
|
|
101
|
+
# Some parameter documentations has been truncated, see
|
|
102
|
+
# {Lithic::Models::TransactionMonitoring::CaseListParams} for more details.
|
|
103
|
+
#
|
|
104
|
+
# @param account_token [String] Only return cases that include transactions on the provided account.
|
|
105
|
+
#
|
|
106
|
+
# @param assignee [String] Only return cases assigned to the provided value. Pass an empty string to return
|
|
107
|
+
#
|
|
108
|
+
# @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
|
|
109
|
+
#
|
|
110
|
+
# @param card_token [String] Only return cases that include transactions on the provided card.
|
|
111
|
+
#
|
|
112
|
+
# @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
|
|
113
|
+
#
|
|
114
|
+
# @param ending_before [String] A cursor representing an item's token before which a page of results should end.
|
|
115
|
+
#
|
|
116
|
+
# @param entity_token [String] Only return cases associated with the provided entity.
|
|
117
|
+
#
|
|
118
|
+
# @param page_size [Integer] Page size (for pagination).
|
|
119
|
+
#
|
|
120
|
+
# @param queue_token [String] Only return cases belonging to the provided queue.
|
|
121
|
+
#
|
|
122
|
+
# @param rule_token [String] Only return cases triggered by the provided transaction monitoring rule.
|
|
123
|
+
#
|
|
124
|
+
# @param sort_by [Symbol, Lithic::Models::TransactionMonitoring::CaseSortOrder] Sort order for the returned cases.
|
|
125
|
+
#
|
|
126
|
+
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
|
127
|
+
#
|
|
128
|
+
# @param status [Symbol, Lithic::Models::TransactionMonitoring::CaseStatus] Only return cases with the provided status.
|
|
129
|
+
#
|
|
130
|
+
# @param transaction_token [String] Only return cases that include the provided transaction.
|
|
131
|
+
#
|
|
132
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
133
|
+
end
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
end
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
# @see Lithic::Resources::TransactionMonitoring::Cases#list_transactions
|
|
7
|
+
class CaseListTransactionsParams < 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 ending_before
|
|
17
|
+
# A cursor representing an item's token before which a page of results should end.
|
|
18
|
+
# Used to retrieve the previous page of results before this item.
|
|
19
|
+
#
|
|
20
|
+
# @return [String, nil]
|
|
21
|
+
optional :ending_before, String
|
|
22
|
+
|
|
23
|
+
# @!attribute page_size
|
|
24
|
+
# Page size (for pagination).
|
|
25
|
+
#
|
|
26
|
+
# @return [Integer, nil]
|
|
27
|
+
optional :page_size, Integer
|
|
28
|
+
|
|
29
|
+
# @!attribute starting_after
|
|
30
|
+
# A cursor representing an item's token after which a page of results should
|
|
31
|
+
# begin. Used to retrieve the next page of results after this item.
|
|
32
|
+
#
|
|
33
|
+
# @return [String, nil]
|
|
34
|
+
optional :starting_after, String
|
|
35
|
+
|
|
36
|
+
# @!method initialize(case_token:, ending_before: nil, page_size: nil, starting_after: nil, request_options: {})
|
|
37
|
+
# Some parameter documentations has been truncated, see
|
|
38
|
+
# {Lithic::Models::TransactionMonitoring::CaseListTransactionsParams} for more
|
|
39
|
+
# 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
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
# Priority level of a case, controlling queue ordering and SLA urgency
|
|
7
|
+
module CasePriority
|
|
8
|
+
extend Lithic::Internal::Type::Enum
|
|
9
|
+
|
|
10
|
+
LOW = :LOW
|
|
11
|
+
MEDIUM = :MEDIUM
|
|
12
|
+
HIGH = :HIGH
|
|
13
|
+
CRITICAL = :CRITICAL
|
|
14
|
+
|
|
15
|
+
# @!method self.values
|
|
16
|
+
# @return [Array<Symbol>]
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
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::Cases#retrieve_cards
|
|
7
|
+
class CaseRetrieveCardsParams < 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
|
+
# @!method initialize(case_token:, request_options: {})
|
|
17
|
+
# @param case_token [String]
|
|
18
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
# @type [Lithic::Internal::Type::Converter]
|
|
7
|
+
CaseRetrieveCardsResponse =
|
|
8
|
+
Lithic::Internal::Type::ArrayOf[-> { Lithic::TransactionMonitoring::CaseCard }]
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
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::Cases#retrieve
|
|
7
|
+
class CaseRetrieveParams < 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
|
+
# @!method initialize(case_token:, request_options: {})
|
|
17
|
+
# @param case_token [String]
|
|
18
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
# Sort order for listing cases. Defaults to `CREATED_DESC` (newest first):
|
|
7
|
+
#
|
|
8
|
+
# - `CREATED_ASC` - Oldest first
|
|
9
|
+
# - `CREATED_DESC` - Newest first
|
|
10
|
+
# - `PRIORITY_DESC` - Highest priority first
|
|
11
|
+
# - `PRIORITY_ASC` - Lowest priority first
|
|
12
|
+
# - `STATUS_DESC` - Furthest workflow stage first
|
|
13
|
+
# - `STATUS_ASC` - Earliest workflow stage first
|
|
14
|
+
module CaseSortOrder
|
|
15
|
+
extend Lithic::Internal::Type::Enum
|
|
16
|
+
|
|
17
|
+
CREATED_ASC = :CREATED_ASC
|
|
18
|
+
CREATED_DESC = :CREATED_DESC
|
|
19
|
+
PRIORITY_DESC = :PRIORITY_DESC
|
|
20
|
+
PRIORITY_ASC = :PRIORITY_ASC
|
|
21
|
+
STATUS_DESC = :STATUS_DESC
|
|
22
|
+
STATUS_ASC = :STATUS_ASC
|
|
23
|
+
|
|
24
|
+
# @!method self.values
|
|
25
|
+
# @return [Array<Symbol>]
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
# Status of a case as it progresses through the review workflow:
|
|
7
|
+
#
|
|
8
|
+
# - `OPEN` - The case has been created and is still collecting matching
|
|
9
|
+
# transactions
|
|
10
|
+
# - `ASSIGNED` - An analyst has been assigned and transaction collection has
|
|
11
|
+
# stopped
|
|
12
|
+
# - `IN_REVIEW` - The case is actively being investigated
|
|
13
|
+
# - `ESCALATED` - The case has been reviewed and requires additional oversight
|
|
14
|
+
# - `RESOLVED` - A determination has been made and a resolution recorded
|
|
15
|
+
# - `CLOSED` - The case is finalized
|
|
16
|
+
module CaseStatus
|
|
17
|
+
extend Lithic::Internal::Type::Enum
|
|
18
|
+
|
|
19
|
+
OPEN = :OPEN
|
|
20
|
+
ASSIGNED = :ASSIGNED
|
|
21
|
+
IN_REVIEW = :IN_REVIEW
|
|
22
|
+
ESCALATED = :ESCALATED
|
|
23
|
+
RESOLVED = :RESOLVED
|
|
24
|
+
CLOSED = :CLOSED
|
|
25
|
+
|
|
26
|
+
# @!method self.values
|
|
27
|
+
# @return [Array<Symbol>]
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
module TransactionMonitoring
|
|
6
|
+
# @see Lithic::Resources::TransactionMonitoring::Cases#list_transactions
|
|
7
|
+
class CaseTransaction < Lithic::Internal::Type::BaseModel
|
|
8
|
+
# @!attribute token
|
|
9
|
+
# Globally unique identifier for the transaction
|
|
10
|
+
#
|
|
11
|
+
# @return [String]
|
|
12
|
+
required :token, String
|
|
13
|
+
|
|
14
|
+
# @!attribute account_token
|
|
15
|
+
# Token of the account the transaction belongs to
|
|
16
|
+
#
|
|
17
|
+
# @return [String]
|
|
18
|
+
required :account_token, String
|
|
19
|
+
|
|
20
|
+
# @!attribute added_at
|
|
21
|
+
# Date and time at which the transaction was added to the case
|
|
22
|
+
#
|
|
23
|
+
# @return [Time]
|
|
24
|
+
required :added_at, Time
|
|
25
|
+
|
|
26
|
+
# @!attribute card_token
|
|
27
|
+
# Token of the card the transaction was made on
|
|
28
|
+
#
|
|
29
|
+
# @return [String]
|
|
30
|
+
required :card_token, String
|
|
31
|
+
|
|
32
|
+
# @!attribute transaction_created_at
|
|
33
|
+
# Date and time at which the transaction was created
|
|
34
|
+
#
|
|
35
|
+
# @return [Time]
|
|
36
|
+
required :transaction_created_at, Time
|
|
37
|
+
|
|
38
|
+
# @!method initialize(token:, account_token:, added_at:, card_token:, transaction_created_at:)
|
|
39
|
+
# A single transaction associated with a case
|
|
40
|
+
#
|
|
41
|
+
# @param token [String] Globally unique identifier for the transaction
|
|
42
|
+
#
|
|
43
|
+
# @param account_token [String] Token of the account the transaction belongs to
|
|
44
|
+
#
|
|
45
|
+
# @param added_at [Time] Date and time at which the transaction was added to the case
|
|
46
|
+
#
|
|
47
|
+
# @param card_token [String] Token of the card the transaction was made on
|
|
48
|
+
#
|
|
49
|
+
# @param transaction_created_at [Time] Date and time at which the transaction was created
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
end
|