lithic 0.1.0.pre.alpha.6 → 0.1.0.pre.alpha.8
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/README.md +8 -1
- data/lib/lithic/client.rb +3 -3
- data/lib/lithic/internal/transport/base_client.rb +2 -2
- data/lib/lithic/internal/transport/pooled_net_requester.rb +15 -6
- data/lib/lithic/internal/type/array_of.rb +12 -2
- data/lib/lithic/internal/type/base_model.rb +23 -22
- data/lib/lithic/internal/type/boolean.rb +5 -1
- data/lib/lithic/internal/type/converter.rb +62 -39
- data/lib/lithic/internal/type/enum.rb +13 -9
- data/lib/lithic/internal/type/hash_of.rb +6 -2
- data/lib/lithic/internal/type/io_like.rb +75 -0
- data/lib/lithic/internal/type/request_parameters.rb +11 -2
- data/lib/lithic/internal/type/union.rb +7 -3
- data/lib/lithic/internal/type/unknown.rb +5 -1
- data/lib/lithic/internal/util.rb +81 -26
- data/lib/lithic/models/account.rb +37 -37
- data/lib/lithic/models/account_holder.rb +58 -55
- data/lib/lithic/models/account_holder_create_params.rb +59 -59
- data/lib/lithic/models/account_holder_create_response.rb +6 -6
- data/lib/lithic/models/account_holder_list_params.rb +10 -10
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +2 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -1
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +71 -71
- data/lib/lithic/models/account_holder_update_params.rb +56 -64
- data/lib/lithic/models/account_holder_update_response.rb +75 -75
- data/lib/lithic/models/account_list_params.rb +6 -6
- data/lib/lithic/models/account_spend_limits.rb +6 -6
- data/lib/lithic/models/account_update_params.rb +14 -14
- data/lib/lithic/models/address.rb +5 -5
- data/lib/lithic/models/address_update.rb +3 -3
- data/lib/lithic/models/aggregate_balance.rb +4 -4
- data/lib/lithic/models/auth_rules/auth_rule.rb +6 -6
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +44 -44
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +44 -44
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +10 -10
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_create_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_params.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_update_params.rb +6 -6
- data/lib/lithic/models/auth_rules/v2_update_response.rb +2 -2
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +14 -14
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +5 -5
- data/lib/lithic/models/balance.rb +4 -4
- data/lib/lithic/models/balance_list_params.rb +1 -1
- data/lib/lithic/models/book_transfer_create_params.rb +4 -4
- data/lib/lithic/models/book_transfer_list_params.rb +7 -7
- data/lib/lithic/models/book_transfer_response.rb +14 -14
- data/lib/lithic/models/card.rb +110 -110
- data/lib/lithic/models/card_convert_physical_params.rb +22 -22
- data/lib/lithic/models/card_create_params.rb +93 -93
- data/lib/lithic/models/card_list_params.rb +6 -6
- data/lib/lithic/models/card_program.rb +1 -1
- data/lib/lithic/models/card_program_list_params.rb +2 -2
- data/lib/lithic/models/card_provision_params.rb +11 -11
- data/lib/lithic/models/card_reissue_params.rb +22 -22
- data/lib/lithic/models/card_renew_params.rb +24 -24
- data/lib/lithic/models/card_spend_limits.rb +6 -6
- data/lib/lithic/models/card_update_params.rb +33 -33
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/balance_list_params.rb +2 -2
- data/lib/lithic/models/cards/balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/digital_card_art_list_params.rb +2 -2
- data/lib/lithic/models/dispute.rb +88 -88
- data/lib/lithic/models/dispute_evidence.rb +11 -11
- data/lib/lithic/models/dispute_list_evidences_params.rb +6 -6
- data/lib/lithic/models/dispute_list_params.rb +6 -6
- data/lib/lithic/models/document.rb +6 -6
- data/lib/lithic/models/event.rb +51 -51
- data/lib/lithic/models/event_list_attempts_params.rb +6 -6
- data/lib/lithic/models/event_list_params.rb +6 -6
- data/lib/lithic/models/events/subscription_create_params.rb +1 -1
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +6 -6
- data/lib/lithic/models/events/subscription_list_params.rb +2 -2
- data/lib/lithic/models/events/subscription_recover_params.rb +4 -4
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +4 -4
- data/lib/lithic/models/events/subscription_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_create_params.rb +4 -4
- data/lib/lithic/models/external_bank_account_create_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_list_params.rb +2 -2
- data/lib/lithic/models/external_bank_account_list_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_update_response.rb +11 -11
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +11 -11
- data/lib/lithic/models/external_payment_list_params.rb +7 -7
- data/lib/lithic/models/financial_account_create_params.rb +1 -1
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +4 -4
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/loan_tape.rb +13 -13
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/statement.rb +6 -6
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +2 -1
- data/lib/lithic/models/financial_transaction.rb +35 -34
- data/lib/lithic/models/kyb.rb +47 -47
- data/lib/lithic/models/kyb_business_entity.rb +9 -9
- data/lib/lithic/models/kyc.rb +12 -12
- data/lib/lithic/models/kyc_exempt.rb +4 -4
- data/lib/lithic/models/management_operation_list_params.rb +7 -7
- data/lib/lithic/models/management_operation_transaction.rb +36 -0
- data/lib/lithic/models/message_attempt.rb +1 -1
- data/lib/lithic/models/payment.rb +66 -54
- data/lib/lithic/models/payment_create_params.rb +1 -1
- data/lib/lithic/models/payment_list_params.rb +6 -6
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +7 -7
- data/lib/lithic/models/reports/settlement_list_details_params.rb +2 -2
- data/lib/lithic/models/required_document.rb +2 -2
- data/lib/lithic/models/settlement_detail.rb +5 -5
- data/lib/lithic/models/settlement_report.rb +15 -15
- data/lib/lithic/models/settlement_summary_details.rb +3 -3
- data/lib/lithic/models/shipping_address.rb +9 -9
- data/lib/lithic/models/spend_limit_duration.rb +10 -10
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +97 -97
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +1 -1
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +7 -7
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +1 -1
- data/lib/lithic/models/three_ds/challenge_response.rb +3 -3
- data/lib/lithic/models/tokenization.rb +5 -5
- data/lib/lithic/models/tokenization_list_params.rb +6 -6
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +4 -4
- data/lib/lithic/models/tokenization_simulate_params.rb +3 -3
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +3 -3
- data/lib/lithic/models/transaction.rb +95 -95
- data/lib/lithic/models/transaction_list_params.rb +8 -8
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +1 -1
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +38 -38
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +7 -7
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +4 -4
- data/lib/lithic/models/transaction_simulate_void_params.rb +7 -7
- data/lib/lithic/models/transactions/events/enhanced_data.rb +2 -2
- data/lib/lithic/models/transfer.rb +25 -24
- data/lib/lithic/models/transfer_create_params.rb +4 -4
- data/lib/lithic/request_options.rb +7 -7
- data/lib/lithic/resources/account_holders.rb +52 -52
- data/lib/lithic/resources/accounts.rb +7 -7
- data/lib/lithic/resources/aggregate_balances.rb +1 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +38 -38
- data/lib/lithic/resources/auth_rules/v2.rb +58 -58
- data/lib/lithic/resources/auth_stream_enrollment.rb +8 -8
- data/lib/lithic/resources/book_transfers.rb +2 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +1 -1
- data/lib/lithic/resources/cards.rb +63 -63
- data/lib/lithic/resources/disputes.rb +6 -6
- data/lib/lithic/resources/events/subscriptions.rb +8 -8
- data/lib/lithic/resources/events.rb +2 -2
- data/lib/lithic/resources/external_payments.rb +1 -1
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +1 -1
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +1 -1
- data/lib/lithic/resources/financial_accounts/statements.rb +1 -1
- data/lib/lithic/resources/financial_accounts.rb +1 -1
- data/lib/lithic/resources/management_operations.rb +1 -1
- data/lib/lithic/resources/payments.rb +2 -2
- data/lib/lithic/resources/reports/settlement/network_totals.rb +1 -1
- data/lib/lithic/resources/three_ds/authentication.rb +6 -6
- data/lib/lithic/resources/three_ds/decisioning.rb +8 -8
- data/lib/lithic/resources/tokenization_decisioning.rb +7 -7
- data/lib/lithic/resources/tokenizations.rb +46 -46
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions.rb +24 -24
- data/lib/lithic/resources/transfers.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +1 -0
- data/rbi/lib/lithic/client.rbi +6 -9
- data/rbi/lib/lithic/errors.rbi +3 -6
- data/rbi/lib/lithic/internal/cursor_page.rbi +1 -2
- data/rbi/lib/lithic/internal/single_page.rbi +1 -2
- data/rbi/lib/lithic/internal/transport/base_client.rbi +13 -27
- data/rbi/lib/lithic/internal/transport/pooled_net_requester.rbi +8 -14
- data/rbi/lib/lithic/internal/type/array_of.rbi +16 -22
- data/rbi/lib/lithic/internal/type/base_model.rbi +51 -66
- data/rbi/lib/lithic/internal/type/base_page.rbi +5 -10
- data/rbi/lib/lithic/internal/type/boolean.rbi +16 -10
- data/rbi/lib/lithic/internal/type/converter.rbi +42 -38
- data/rbi/lib/lithic/internal/type/enum.rbi +24 -21
- data/rbi/lib/lithic/internal/type/hash_of.rbi +13 -18
- data/rbi/lib/lithic/internal/type/io_like.rbi +49 -0
- data/rbi/lib/lithic/internal/type/request_parameters.rbi +1 -2
- data/rbi/lib/lithic/internal/type/union.rbi +17 -23
- data/rbi/lib/lithic/internal/type/unknown.rbi +12 -12
- data/rbi/lib/lithic/internal/util.rbi +67 -70
- data/rbi/lib/lithic/internal.rbi +1 -1
- data/rbi/lib/lithic/models/account.rbi +46 -56
- data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/account_holder.rbi +81 -99
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +73 -90
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +9 -12
- data/rbi/lib/lithic/models/account_holder_list_documents_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_documents_response.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_params.rbi +10 -13
- data/rbi/lib/lithic/models/account_holder_retrieve_document_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +6 -11
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +5 -9
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +103 -123
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +68 -94
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +135 -140
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +3 -6
- data/rbi/lib/lithic/models/account_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/account_update_params.rbi +19 -25
- data/rbi/lib/lithic/models/address.rbi +7 -9
- data/rbi/lib/lithic/models/address_update.rbi +5 -7
- data/rbi/lib/lithic/models/aggregate_balance.rbi +7 -11
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/api_status.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +48 -52
- data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +45 -46
- data/rbi/lib/lithic/models/auth_rules/conditional_block_parameters.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +40 -54
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +4 -9
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +3 -6
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +4 -7
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_promote_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_report_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_report_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +19 -24
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +6 -7
- data/rbi/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_secret.rbi +2 -4
- data/rbi/lib/lithic/models/balance.rbi +7 -11
- data/rbi/lib/lithic/models/balance_list_params.rbi +4 -8
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/book_transfer_response.rbi +23 -33
- data/rbi/lib/lithic/models/book_transfer_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/card.rbi +117 -127
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +24 -26
- data/rbi/lib/lithic/models/card_create_params.rbi +98 -104
- data/rbi/lib/lithic/models/card_embed_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/card_program.rbi +3 -6
- data/rbi/lib/lithic/models/card_program_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/card_program_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_provision_params.rbi +14 -18
- data/rbi/lib/lithic/models/card_provision_response.rbi +2 -4
- data/rbi/lib/lithic/models/card_reissue_params.rbi +24 -26
- data/rbi/lib/lithic/models/card_renew_params.rbi +27 -31
- data/rbi/lib/lithic/models/card_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/card_update_params.rbi +37 -42
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +2 -4
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +6 -9
- data/rbi/lib/lithic/models/cards/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/cards/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/carrier.rbi +2 -4
- data/rbi/lib/lithic/models/client_api_status_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +4 -8
- data/rbi/lib/lithic/models/digital_card_art.rbi +2 -4
- data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/digital_card_art_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute.rbi +93 -99
- data/rbi/lib/lithic/models/dispute_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_evidence.rbi +13 -15
- data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +5 -6
- data/rbi/lib/lithic/models/dispute_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/dispute_retrieve_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/document.rbi +13 -21
- data/rbi/lib/lithic/models/event.rbi +58 -61
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/event_subscription.rbi +3 -6
- data/rbi/lib/lithic/models/events/event_subscription_resend_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +4 -7
- data/rbi/lib/lithic/models/events/subscription_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/events/subscription_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +3 -6
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +4 -7
- data/rbi/lib/lithic/models/external_bank_account_address.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +7 -13
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +16 -22
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +4 -8
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_payment.rbi +10 -21
- data/rbi/lib/lithic/models/external_payment_cancel_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/external_payment_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_settle_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account.rbi +9 -20
- data/rbi/lib/lithic/models/financial_account_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +4 -8
- data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -5
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +4 -9
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +51 -91
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +30 -56
- data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +6 -9
- data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +3 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -14
- data/rbi/lib/lithic/models/financial_accounts/statements.rbi +2 -4
- data/rbi/lib/lithic/models/financial_transaction.rbi +44 -53
- data/rbi/lib/lithic/models/instance_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/kyb.rbi +58 -72
- data/rbi/lib/lithic/models/kyb_business_entity.rbi +13 -18
- data/rbi/lib/lithic/models/kyc.rbi +17 -22
- data/rbi/lib/lithic/models/kyc_exempt.rbi +8 -13
- data/rbi/lib/lithic/models/management_operation_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +9 -14
- data/rbi/lib/lithic/models/management_operation_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_transaction.rbi +60 -20
- data/rbi/lib/lithic/models/message_attempt.rbi +3 -5
- data/rbi/lib/lithic/models/owner_type.rbi +1 -2
- data/rbi/lib/lithic/models/payment.rbi +85 -89
- data/rbi/lib/lithic/models/payment_create_params.rbi +8 -16
- data/rbi/lib/lithic/models/payment_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +4 -8
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +3 -6
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +8 -12
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +4 -6
- data/rbi/lib/lithic/models/reports/settlement_summary_params.rbi +2 -4
- data/rbi/lib/lithic/models/required_document.rbi +4 -6
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_status.rbi +2 -4
- data/rbi/lib/lithic/models/settlement_detail.rbi +11 -18
- data/rbi/lib/lithic/models/settlement_report.rbi +17 -20
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +6 -10
- data/rbi/lib/lithic/models/shipping_address.rbi +11 -14
- data/rbi/lib/lithic/models/spend_limit_duration.rbi +11 -12
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +137 -176
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +14 -21
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +5 -7
- data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -2
- data/rbi/lib/lithic/models/three_ds/decisioning_challenge_response_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization.rbi +14 -24
- data/rbi/lib/lithic/models/tokenization_activate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_deactivate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/tokenization_pause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -10
- data/rbi/lib/lithic/models/tokenization_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_secret.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +7 -12
- data/rbi/lib/lithic/models/tokenization_simulate_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_unpause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +5 -7
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction.rbi +168 -236
- data/rbi/lib/lithic/models/transaction_expire_authorization_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_list_params.rbi +10 -15
- data/rbi/lib/lithic/models/transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +41 -45
- data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +9 -11
- data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +6 -8
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +10 -13
- data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +21 -35
- data/rbi/lib/lithic/models/transfer.rbi +34 -43
- data/rbi/lib/lithic/models/transfer_create_params.rbi +6 -8
- data/rbi/lib/lithic/models/verification_method.rbi +1 -2
- data/rbi/lib/lithic/request_options.rbi +9 -11
- data/rbi/lib/lithic/resources/account_holders.rbi +118 -145
- data/rbi/lib/lithic/resources/accounts.rbi +26 -35
- data/rbi/lib/lithic/resources/aggregate_balances.rbi +3 -6
- data/rbi/lib/lithic/resources/auth_rules/v2/backtests.rbi +40 -45
- data/rbi/lib/lithic/resources/auth_rules/v2.rbi +69 -88
- data/rbi/lib/lithic/resources/auth_rules.rbi +1 -2
- data/rbi/lib/lithic/resources/auth_stream_enrollment.rbi +11 -14
- data/rbi/lib/lithic/resources/balances.rbi +3 -6
- data/rbi/lib/lithic/resources/book_transfers.rbi +15 -24
- data/rbi/lib/lithic/resources/card_programs.rbi +5 -10
- data/rbi/lib/lithic/resources/cards/aggregate_balances.rbi +2 -5
- data/rbi/lib/lithic/resources/cards/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/cards/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/cards.rbi +215 -236
- data/rbi/lib/lithic/resources/credit_products/extended_credit.rbi +2 -5
- data/rbi/lib/lithic/resources/credit_products/prime_rates.rbi +3 -8
- data/rbi/lib/lithic/resources/credit_products.rbi +1 -2
- data/rbi/lib/lithic/resources/digital_card_art.rbi +8 -13
- data/rbi/lib/lithic/resources/disputes.rbi +22 -37
- data/rbi/lib/lithic/resources/events/event_subscriptions.rbi +2 -4
- data/rbi/lib/lithic/resources/events/subscriptions.rbi +29 -48
- data/rbi/lib/lithic/resources/events.rbi +12 -18
- data/rbi/lib/lithic/resources/external_bank_accounts/micro_deposits.rbi +2 -4
- data/rbi/lib/lithic/resources/external_bank_accounts.rbi +18 -23
- data/rbi/lib/lithic/resources/external_payments.rbi +13 -28
- data/rbi/lib/lithic/resources/financial_accounts/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/financial_accounts/credit_configuration.rbi +3 -8
- data/rbi/lib/lithic/resources/financial_accounts/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/loan_tapes.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/statements/line_items.rbi +5 -8
- data/rbi/lib/lithic/resources/financial_accounts/statements.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts.rbi +7 -16
- data/rbi/lib/lithic/resources/management_operations.rbi +10 -19
- data/rbi/lib/lithic/resources/payments.rbi +14 -29
- data/rbi/lib/lithic/resources/reports/settlement/network_totals.rbi +8 -13
- data/rbi/lib/lithic/resources/reports/settlement.rbi +5 -10
- data/rbi/lib/lithic/resources/reports.rbi +1 -2
- data/rbi/lib/lithic/resources/responder_endpoints.rbi +4 -11
- data/rbi/lib/lithic/resources/three_ds/authentication.rbi +12 -19
- data/rbi/lib/lithic/resources/three_ds/decisioning.rbi +15 -20
- data/rbi/lib/lithic/resources/three_ds.rbi +1 -2
- data/rbi/lib/lithic/resources/tokenization_decisioning.rbi +10 -13
- data/rbi/lib/lithic/resources/tokenizations.rbi +66 -85
- data/rbi/lib/lithic/resources/transactions/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events.rbi +1 -2
- data/rbi/lib/lithic/resources/transactions.rbi +79 -100
- data/rbi/lib/lithic/resources/transfers.rbi +7 -10
- data/sig/lithic/internal/transport/pooled_net_requester.rbs +1 -1
- data/sig/lithic/internal/type/array_of.rbs +5 -2
- data/sig/lithic/internal/type/base_model.rbs +5 -2
- data/sig/lithic/internal/type/boolean.rbs +5 -2
- data/sig/lithic/internal/type/converter.rbs +11 -5
- data/sig/lithic/internal/type/enum.rbs +5 -2
- data/sig/lithic/internal/type/hash_of.rbs +5 -2
- data/sig/lithic/internal/type/io_like.rbs +23 -0
- data/sig/lithic/internal/type/union.rbs +5 -2
- data/sig/lithic/internal/type/unknown.rbs +5 -2
- data/sig/lithic/internal/util.rbs +17 -2
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/management_operation_transaction.rbs +27 -0
- data/sig/lithic/models/payment.rbs +8 -2
- data/sig/lithic/models/transfer.rbs +2 -0
- metadata +5 -2
@@ -10,9 +10,9 @@ module Lithic
|
|
10
10
|
|
11
11
|
# @!attribute [r] digital_card_art_token
|
12
12
|
# Specifies the digital card art to be displayed in the user’s digital wallet
|
13
|
-
#
|
14
|
-
#
|
15
|
-
#
|
13
|
+
# after tokenization. This artwork must be approved by Mastercard and configured
|
14
|
+
# by Lithic to use. See
|
15
|
+
# [Flexible Card Art Guide](https://docs.lithic.com/docs/about-digital-wallets#flexible-card-art).
|
16
16
|
#
|
17
17
|
# @return [String, nil]
|
18
18
|
optional :digital_card_art_token, String
|
@@ -33,8 +33,8 @@ module Lithic
|
|
33
33
|
|
34
34
|
# @!attribute [r] pin
|
35
35
|
# Encrypted PIN block (in base64). Only applies to cards of type `PHYSICAL` and
|
36
|
-
#
|
37
|
-
#
|
36
|
+
# `VIRTUAL`. Changing PIN also resets PIN status to `OK`. See
|
37
|
+
# [Encrypted PIN Block](https://docs.lithic.com/docs/cards#encrypted-pin-block).
|
38
38
|
#
|
39
39
|
# @return [String, nil]
|
40
40
|
optional :pin, String
|
@@ -45,7 +45,7 @@ module Lithic
|
|
45
45
|
|
46
46
|
# @!attribute [r] pin_status
|
47
47
|
# Indicates if a card is blocked due a PIN status issue (e.g. excessive incorrect
|
48
|
-
#
|
48
|
+
# attempts). Can only be set to `OK` to unblock a card.
|
49
49
|
#
|
50
50
|
# @return [Symbol, Lithic::Models::CardUpdateParams::PinStatus, nil]
|
51
51
|
optional :pin_status, enum: -> { Lithic::Models::CardUpdateParams::PinStatus }
|
@@ -56,10 +56,10 @@ module Lithic
|
|
56
56
|
|
57
57
|
# @!attribute [r] spend_limit
|
58
58
|
# Amount (in cents) to limit approved authorizations (e.g. 100000 would be a
|
59
|
-
#
|
60
|
-
#
|
61
|
-
#
|
62
|
-
#
|
59
|
+
# $1,000 limit). Transaction requests above the spend limit will be declined. Note
|
60
|
+
# that a spend limit of 0 is effectively no limit, and should only be used to
|
61
|
+
# reset or remove a prior limit. Only a limit of 1 or above will result in
|
62
|
+
# declined transactions due to checks against the card limit.
|
63
63
|
#
|
64
64
|
# @return [Integer, nil]
|
65
65
|
optional :spend_limit, Integer
|
@@ -71,16 +71,16 @@ module Lithic
|
|
71
71
|
# @!attribute [r] spend_limit_duration
|
72
72
|
# Spend limit duration values:
|
73
73
|
#
|
74
|
-
#
|
75
|
-
#
|
76
|
-
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
83
|
-
#
|
74
|
+
# - `ANNUALLY` - Card will authorize transactions up to spend limit for the
|
75
|
+
# trailing year.
|
76
|
+
# - `FOREVER` - Card will authorize only up to spend limit for the entire lifetime
|
77
|
+
# of the card.
|
78
|
+
# - `MONTHLY` - Card will authorize transactions up to spend limit for the
|
79
|
+
# trailing month. To support recurring monthly payments, which can occur on
|
80
|
+
# different day every month, the time window we consider for monthly velocity
|
81
|
+
# starts 6 days after the current calendar date one month prior.
|
82
|
+
# - `TRANSACTION` - Card will authorize multiple transactions if each individual
|
83
|
+
# transaction is under the spend limit.
|
84
84
|
#
|
85
85
|
# @return [Symbol, Lithic::Models::SpendLimitDuration, nil]
|
86
86
|
optional :spend_limit_duration, enum: -> { Lithic::Models::SpendLimitDuration }
|
@@ -92,12 +92,12 @@ module Lithic
|
|
92
92
|
# @!attribute [r] state
|
93
93
|
# Card state values:
|
94
94
|
#
|
95
|
-
#
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
#
|
100
|
-
#
|
95
|
+
# - `CLOSED` - Card will no longer approve authorizations. Closing a card cannot
|
96
|
+
# be undone.
|
97
|
+
# - `OPEN` - Card will approve authorizations (if they match card and account
|
98
|
+
# parameters).
|
99
|
+
# - `PAUSED` - Card will decline authorizations, but can be resumed at a later
|
100
|
+
# time.
|
101
101
|
#
|
102
102
|
# @return [Symbol, Lithic::Models::CardUpdateParams::State, nil]
|
103
103
|
optional :state, enum: -> { Lithic::Models::CardUpdateParams::State }
|
@@ -133,7 +133,7 @@ module Lithic
|
|
133
133
|
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
134
134
|
|
135
135
|
# Indicates if a card is blocked due a PIN status issue (e.g. excessive incorrect
|
136
|
-
#
|
136
|
+
# attempts). Can only be set to `OK` to unblock a card.
|
137
137
|
module PinStatus
|
138
138
|
extend Lithic::Internal::Type::Enum
|
139
139
|
|
@@ -148,12 +148,12 @@ module Lithic
|
|
148
148
|
|
149
149
|
# Card state values:
|
150
150
|
#
|
151
|
-
#
|
152
|
-
#
|
153
|
-
#
|
154
|
-
#
|
155
|
-
#
|
156
|
-
#
|
151
|
+
# - `CLOSED` - Card will no longer approve authorizations. Closing a card cannot
|
152
|
+
# be undone.
|
153
|
+
# - `OPEN` - Card will approve authorizations (if they match card and account
|
154
|
+
# parameters).
|
155
|
+
# - `PAUSED` - Card will decline authorizations, but can be resumed at a later
|
156
|
+
# time.
|
157
157
|
module State
|
158
158
|
extend Lithic::Internal::Type::Enum
|
159
159
|
|
@@ -25,14 +25,14 @@ module Lithic
|
|
25
25
|
|
26
26
|
# @!attribute last_card_token
|
27
27
|
# Globally unique identifier for the card that had its balance updated most
|
28
|
-
#
|
28
|
+
# recently
|
29
29
|
#
|
30
30
|
# @return [String]
|
31
31
|
required :last_card_token, String
|
32
32
|
|
33
33
|
# @!attribute last_transaction_event_token
|
34
34
|
# Globally unique identifier for the last transaction event that impacted this
|
35
|
-
#
|
35
|
+
# balance
|
36
36
|
#
|
37
37
|
# @return [String]
|
38
38
|
required :last_transaction_event_token, String
|
@@ -45,14 +45,14 @@ module Lithic
|
|
45
45
|
|
46
46
|
# @!attribute pending_amount
|
47
47
|
# Funds not available for spend due to card authorizations or pending ACH release.
|
48
|
-
#
|
48
|
+
# Shown in the currency's smallest unit (e.g., cents for USD)
|
49
49
|
#
|
50
50
|
# @return [Integer]
|
51
51
|
required :pending_amount, Integer
|
52
52
|
|
53
53
|
# @!attribute total_amount
|
54
54
|
# The sum of available and pending balance in the currency's smallest unit (e.g.,
|
55
|
-
#
|
55
|
+
# cents for USD)
|
56
56
|
#
|
57
57
|
# @return [Integer]
|
58
58
|
required :total_amount, Integer
|
@@ -21,8 +21,8 @@ module Lithic
|
|
21
21
|
|
22
22
|
# @!attribute [r] last_transaction_event_token
|
23
23
|
# Balance after a given financial event occured. For example, passing the
|
24
|
-
#
|
25
|
-
#
|
24
|
+
# event_token of a $5 CARD_CLEARING financial event will return a balance
|
25
|
+
# decreased by $5
|
26
26
|
#
|
27
27
|
# @return [String, nil]
|
28
28
|
optional :last_transaction_event_token, String
|
@@ -31,28 +31,28 @@ module Lithic
|
|
31
31
|
|
32
32
|
# @!attribute last_transaction_event_token
|
33
33
|
# Globally unique identifier for the last financial transaction event that
|
34
|
-
#
|
34
|
+
# impacted this balance.
|
35
35
|
#
|
36
36
|
# @return [String]
|
37
37
|
required :last_transaction_event_token, String
|
38
38
|
|
39
39
|
# @!attribute last_transaction_token
|
40
40
|
# Globally unique identifier for the last financial transaction that impacted this
|
41
|
-
#
|
41
|
+
# balance.
|
42
42
|
#
|
43
43
|
# @return [String]
|
44
44
|
required :last_transaction_token, String
|
45
45
|
|
46
46
|
# @!attribute pending_amount
|
47
47
|
# Funds not available for spend due to card authorizations or pending ACH release.
|
48
|
-
#
|
48
|
+
# Shown in the currency's smallest unit (e.g., cents for USD).
|
49
49
|
#
|
50
50
|
# @return [Integer]
|
51
51
|
required :pending_amount, Integer
|
52
52
|
|
53
53
|
# @!attribute total_amount
|
54
54
|
# The sum of available and pending balance in the currency's smallest unit (e.g.,
|
55
|
-
#
|
55
|
+
# cents for USD).
|
56
56
|
#
|
57
57
|
# @return [Integer]
|
58
58
|
required :total_amount, Integer
|
@@ -11,10 +11,10 @@ module Lithic
|
|
11
11
|
|
12
12
|
# @!attribute [r] begin_
|
13
13
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
14
|
-
#
|
14
|
+
# will be included. UTC time zone.
|
15
15
|
#
|
16
16
|
# @return [Time, nil]
|
17
|
-
optional :begin_, Time
|
17
|
+
optional :begin_, Time
|
18
18
|
|
19
19
|
# @!parse
|
20
20
|
# # @return [Time]
|
@@ -32,10 +32,10 @@ module Lithic
|
|
32
32
|
|
33
33
|
# @!attribute [r] end_
|
34
34
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
35
|
-
#
|
35
|
+
# will be included. UTC time zone.
|
36
36
|
#
|
37
37
|
# @return [Time, nil]
|
38
|
-
optional :end_, Time
|
38
|
+
optional :end_, Time
|
39
39
|
|
40
40
|
# @!parse
|
41
41
|
# # @return [Time]
|
@@ -43,7 +43,7 @@ module Lithic
|
|
43
43
|
|
44
44
|
# @!attribute [r] ending_before
|
45
45
|
# A cursor representing an item's token before which a page of results should end.
|
46
|
-
#
|
46
|
+
# Used to retrieve the previous page of results before this item.
|
47
47
|
#
|
48
48
|
# @return [String, nil]
|
49
49
|
optional :ending_before, String
|
@@ -64,7 +64,7 @@ module Lithic
|
|
64
64
|
|
65
65
|
# @!attribute [r] starting_after
|
66
66
|
# A cursor representing an item's token after which a page of results should
|
67
|
-
#
|
67
|
+
# begin. Used to retrieve the next page of results after this item.
|
68
68
|
#
|
69
69
|
# @return [String, nil]
|
70
70
|
optional :starting_after, String
|
@@ -10,7 +10,7 @@ module Lithic
|
|
10
10
|
|
11
11
|
# @!attribute [r] ending_before
|
12
12
|
# A cursor representing an item's token before which a page of results should end.
|
13
|
-
#
|
13
|
+
# Used to retrieve the previous page of results before this item.
|
14
14
|
#
|
15
15
|
# @return [String, nil]
|
16
16
|
optional :ending_before, String
|
@@ -31,7 +31,7 @@ module Lithic
|
|
31
31
|
|
32
32
|
# @!attribute [r] starting_after
|
33
33
|
# A cursor representing an item's token after which a page of results should
|
34
|
-
#
|
34
|
+
# begin. Used to retrieve the next page of results after this item.
|
35
35
|
#
|
36
36
|
# @return [String, nil]
|
37
37
|
optional :starting_after, String
|
@@ -66,7 +66,7 @@ module Lithic
|
|
66
66
|
|
67
67
|
# @!attribute primary_claim_id
|
68
68
|
# Unique identifier for the dispute from the network. If there are multiple, this
|
69
|
-
#
|
69
|
+
# will be the first claim id set by the network
|
70
70
|
#
|
71
71
|
# @return [String, nil]
|
72
72
|
required :primary_claim_id, String, nil?: true
|
@@ -74,23 +74,23 @@ module Lithic
|
|
74
74
|
# @!attribute reason
|
75
75
|
# Dispute reason:
|
76
76
|
#
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
83
|
-
#
|
84
|
-
#
|
85
|
-
#
|
86
|
-
#
|
87
|
-
#
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
92
|
-
#
|
93
|
-
#
|
77
|
+
# - `ATM_CASH_MISDISPENSE`: ATM cash misdispense.
|
78
|
+
# - `CANCELLED`: Transaction was cancelled by the customer.
|
79
|
+
# - `DUPLICATED`: The transaction was a duplicate.
|
80
|
+
# - `FRAUD_CARD_NOT_PRESENT`: Fraudulent transaction, card not present.
|
81
|
+
# - `FRAUD_CARD_PRESENT`: Fraudulent transaction, card present.
|
82
|
+
# - `FRAUD_OTHER`: Fraudulent transaction, other types such as questionable
|
83
|
+
# merchant activity.
|
84
|
+
# - `GOODS_SERVICES_NOT_AS_DESCRIBED`: The goods or services were not as
|
85
|
+
# described.
|
86
|
+
# - `GOODS_SERVICES_NOT_RECEIVED`: The goods or services were not received.
|
87
|
+
# - `INCORRECT_AMOUNT`: The transaction amount was incorrect.
|
88
|
+
# - `MISSING_AUTH`: The transaction was missing authorization.
|
89
|
+
# - `OTHER`: Other reason.
|
90
|
+
# - `PROCESSING_ERROR`: Processing error.
|
91
|
+
# - `REFUND_NOT_PROCESSED`: The refund was not processed.
|
92
|
+
# - `RECURRING_TRANSACTION_NOT_CANCELLED`: The recurring transaction was not
|
93
|
+
# cancelled.
|
94
94
|
#
|
95
95
|
# @return [Symbol, Lithic::Models::Dispute::Reason]
|
96
96
|
required :reason, enum: -> { Lithic::Models::Dispute::Reason }
|
@@ -122,23 +122,23 @@ module Lithic
|
|
122
122
|
# @!attribute resolution_reason
|
123
123
|
# Reason for the dispute resolution:
|
124
124
|
#
|
125
|
-
#
|
126
|
-
#
|
127
|
-
#
|
128
|
-
#
|
129
|
-
#
|
130
|
-
#
|
131
|
-
#
|
132
|
-
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
#
|
139
|
-
#
|
140
|
-
#
|
141
|
-
#
|
125
|
+
# - `CASE_LOST`: This case was lost at final arbitration.
|
126
|
+
# - `NETWORK_REJECTED`: Network rejected.
|
127
|
+
# - `NO_DISPUTE_RIGHTS_3DS`: No dispute rights, 3DS.
|
128
|
+
# - `NO_DISPUTE_RIGHTS_BELOW_THRESHOLD`: No dispute rights, below threshold.
|
129
|
+
# - `NO_DISPUTE_RIGHTS_CONTACTLESS`: No dispute rights, contactless.
|
130
|
+
# - `NO_DISPUTE_RIGHTS_HYBRID`: No dispute rights, hybrid.
|
131
|
+
# - `NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS`: No dispute rights, max chargebacks.
|
132
|
+
# - `NO_DISPUTE_RIGHTS_OTHER`: No dispute rights, other.
|
133
|
+
# - `PAST_FILING_DATE`: Past filing date.
|
134
|
+
# - `PREARBITRATION_REJECTED`: Prearbitration rejected.
|
135
|
+
# - `PROCESSOR_REJECTED_OTHER`: Processor rejected, other.
|
136
|
+
# - `REFUNDED`: Refunded.
|
137
|
+
# - `REFUNDED_AFTER_CHARGEBACK`: Refunded after chargeback.
|
138
|
+
# - `WITHDRAWN`: Withdrawn.
|
139
|
+
# - `WON_ARBITRATION`: Won arbitration.
|
140
|
+
# - `WON_FIRST_CHARGEBACK`: Won first chargeback.
|
141
|
+
# - `WON_PREARBITRATION`: Won prearbitration.
|
142
142
|
#
|
143
143
|
# @return [Symbol, Lithic::Models::Dispute::ResolutionReason, nil]
|
144
144
|
required :resolution_reason, enum: -> { Lithic::Models::Dispute::ResolutionReason }, nil?: true
|
@@ -146,22 +146,22 @@ module Lithic
|
|
146
146
|
# @!attribute status
|
147
147
|
# Status types:
|
148
148
|
#
|
149
|
-
#
|
150
|
-
#
|
151
|
-
#
|
152
|
-
#
|
153
|
-
#
|
154
|
-
#
|
155
|
-
#
|
156
|
-
#
|
157
|
-
#
|
149
|
+
# - `NEW` - New dispute case is opened.
|
150
|
+
# - `PENDING_CUSTOMER` - Lithic is waiting for customer to provide more
|
151
|
+
# information.
|
152
|
+
# - `SUBMITTED` - Dispute is submitted to the card network.
|
153
|
+
# - `REPRESENTMENT` - Case has entered second presentment.
|
154
|
+
# - `PREARBITRATION` - Case has entered prearbitration.
|
155
|
+
# - `ARBITRATION` - Case has entered arbitration.
|
156
|
+
# - `CASE_WON` - Case was won and credit will be issued.
|
157
|
+
# - `CASE_CLOSED` - Case was lost or withdrawn.
|
158
158
|
#
|
159
159
|
# @return [Symbol, Lithic::Models::Dispute::Status]
|
160
160
|
required :status, enum: -> { Lithic::Models::Dispute::Status }
|
161
161
|
|
162
162
|
# @!attribute transaction_token
|
163
163
|
# The transaction that is being disputed. A transaction can only be disputed once
|
164
|
-
#
|
164
|
+
# but may have multiple dispute cases.
|
165
165
|
#
|
166
166
|
# @return [String]
|
167
167
|
required :transaction_token, String
|
@@ -218,23 +218,23 @@ module Lithic
|
|
218
218
|
|
219
219
|
# Dispute reason:
|
220
220
|
#
|
221
|
-
#
|
222
|
-
#
|
223
|
-
#
|
224
|
-
#
|
225
|
-
#
|
226
|
-
#
|
227
|
-
#
|
228
|
-
#
|
229
|
-
#
|
230
|
-
#
|
231
|
-
#
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
221
|
+
# - `ATM_CASH_MISDISPENSE`: ATM cash misdispense.
|
222
|
+
# - `CANCELLED`: Transaction was cancelled by the customer.
|
223
|
+
# - `DUPLICATED`: The transaction was a duplicate.
|
224
|
+
# - `FRAUD_CARD_NOT_PRESENT`: Fraudulent transaction, card not present.
|
225
|
+
# - `FRAUD_CARD_PRESENT`: Fraudulent transaction, card present.
|
226
|
+
# - `FRAUD_OTHER`: Fraudulent transaction, other types such as questionable
|
227
|
+
# merchant activity.
|
228
|
+
# - `GOODS_SERVICES_NOT_AS_DESCRIBED`: The goods or services were not as
|
229
|
+
# described.
|
230
|
+
# - `GOODS_SERVICES_NOT_RECEIVED`: The goods or services were not received.
|
231
|
+
# - `INCORRECT_AMOUNT`: The transaction amount was incorrect.
|
232
|
+
# - `MISSING_AUTH`: The transaction was missing authorization.
|
233
|
+
# - `OTHER`: Other reason.
|
234
|
+
# - `PROCESSING_ERROR`: Processing error.
|
235
|
+
# - `REFUND_NOT_PROCESSED`: The refund was not processed.
|
236
|
+
# - `RECURRING_TRANSACTION_NOT_CANCELLED`: The recurring transaction was not
|
237
|
+
# cancelled.
|
238
238
|
#
|
239
239
|
# @see Lithic::Models::Dispute#reason
|
240
240
|
module Reason
|
@@ -264,23 +264,23 @@ module Lithic
|
|
264
264
|
|
265
265
|
# Reason for the dispute resolution:
|
266
266
|
#
|
267
|
-
#
|
268
|
-
#
|
269
|
-
#
|
270
|
-
#
|
271
|
-
#
|
272
|
-
#
|
273
|
-
#
|
274
|
-
#
|
275
|
-
#
|
276
|
-
#
|
277
|
-
#
|
278
|
-
#
|
279
|
-
#
|
280
|
-
#
|
281
|
-
#
|
282
|
-
#
|
283
|
-
#
|
267
|
+
# - `CASE_LOST`: This case was lost at final arbitration.
|
268
|
+
# - `NETWORK_REJECTED`: Network rejected.
|
269
|
+
# - `NO_DISPUTE_RIGHTS_3DS`: No dispute rights, 3DS.
|
270
|
+
# - `NO_DISPUTE_RIGHTS_BELOW_THRESHOLD`: No dispute rights, below threshold.
|
271
|
+
# - `NO_DISPUTE_RIGHTS_CONTACTLESS`: No dispute rights, contactless.
|
272
|
+
# - `NO_DISPUTE_RIGHTS_HYBRID`: No dispute rights, hybrid.
|
273
|
+
# - `NO_DISPUTE_RIGHTS_MAX_CHARGEBACKS`: No dispute rights, max chargebacks.
|
274
|
+
# - `NO_DISPUTE_RIGHTS_OTHER`: No dispute rights, other.
|
275
|
+
# - `PAST_FILING_DATE`: Past filing date.
|
276
|
+
# - `PREARBITRATION_REJECTED`: Prearbitration rejected.
|
277
|
+
# - `PROCESSOR_REJECTED_OTHER`: Processor rejected, other.
|
278
|
+
# - `REFUNDED`: Refunded.
|
279
|
+
# - `REFUNDED_AFTER_CHARGEBACK`: Refunded after chargeback.
|
280
|
+
# - `WITHDRAWN`: Withdrawn.
|
281
|
+
# - `WON_ARBITRATION`: Won arbitration.
|
282
|
+
# - `WON_FIRST_CHARGEBACK`: Won first chargeback.
|
283
|
+
# - `WON_PREARBITRATION`: Won prearbitration.
|
284
284
|
#
|
285
285
|
# @see Lithic::Models::Dispute#resolution_reason
|
286
286
|
module ResolutionReason
|
@@ -313,15 +313,15 @@ module Lithic
|
|
313
313
|
|
314
314
|
# Status types:
|
315
315
|
#
|
316
|
-
#
|
317
|
-
#
|
318
|
-
#
|
319
|
-
#
|
320
|
-
#
|
321
|
-
#
|
322
|
-
#
|
323
|
-
#
|
324
|
-
#
|
316
|
+
# - `NEW` - New dispute case is opened.
|
317
|
+
# - `PENDING_CUSTOMER` - Lithic is waiting for customer to provide more
|
318
|
+
# information.
|
319
|
+
# - `SUBMITTED` - Dispute is submitted to the card network.
|
320
|
+
# - `REPRESENTMENT` - Case has entered second presentment.
|
321
|
+
# - `PREARBITRATION` - Case has entered prearbitration.
|
322
|
+
# - `ARBITRATION` - Case has entered arbitration.
|
323
|
+
# - `CASE_WON` - Case was won and credit will be issued.
|
324
|
+
# - `CASE_CLOSED` - Case was lost or withdrawn.
|
325
325
|
#
|
326
326
|
# @see Lithic::Models::Dispute#status
|
327
327
|
module Status
|
@@ -25,11 +25,11 @@ module Lithic
|
|
25
25
|
# @!attribute upload_status
|
26
26
|
# Upload status types:
|
27
27
|
#
|
28
|
-
#
|
29
|
-
#
|
30
|
-
#
|
31
|
-
#
|
32
|
-
#
|
28
|
+
# - `DELETED` - Evidence was deleted.
|
29
|
+
# - `ERROR` - Evidence upload failed.
|
30
|
+
# - `PENDING` - Evidence is pending upload.
|
31
|
+
# - `REJECTED` - Evidence was rejected.
|
32
|
+
# - `UPLOADED` - Evidence was uploaded.
|
33
33
|
#
|
34
34
|
# @return [Symbol, Lithic::Models::DisputeEvidence::UploadStatus]
|
35
35
|
required :upload_status, enum: -> { Lithic::Models::DisputeEvidence::UploadStatus }
|
@@ -46,7 +46,7 @@ module Lithic
|
|
46
46
|
|
47
47
|
# @!attribute [r] filename
|
48
48
|
# File name of evidence. Recommended to give the dispute evidence a human-readable
|
49
|
-
#
|
49
|
+
# identifier.
|
50
50
|
#
|
51
51
|
# @return [String, nil]
|
52
52
|
optional :filename, String
|
@@ -82,11 +82,11 @@ module Lithic
|
|
82
82
|
|
83
83
|
# Upload status types:
|
84
84
|
#
|
85
|
-
#
|
86
|
-
#
|
87
|
-
#
|
88
|
-
#
|
89
|
-
#
|
85
|
+
# - `DELETED` - Evidence was deleted.
|
86
|
+
# - `ERROR` - Evidence upload failed.
|
87
|
+
# - `PENDING` - Evidence is pending upload.
|
88
|
+
# - `REJECTED` - Evidence was rejected.
|
89
|
+
# - `UPLOADED` - Evidence was uploaded.
|
90
90
|
#
|
91
91
|
# @see Lithic::Models::DisputeEvidence#upload_status
|
92
92
|
module UploadStatus
|
@@ -10,10 +10,10 @@ module Lithic
|
|
10
10
|
|
11
11
|
# @!attribute [r] begin_
|
12
12
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
13
|
-
#
|
13
|
+
# will be included. UTC time zone.
|
14
14
|
#
|
15
15
|
# @return [Time, nil]
|
16
|
-
optional :begin_, Time
|
16
|
+
optional :begin_, Time
|
17
17
|
|
18
18
|
# @!parse
|
19
19
|
# # @return [Time]
|
@@ -21,10 +21,10 @@ module Lithic
|
|
21
21
|
|
22
22
|
# @!attribute [r] end_
|
23
23
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
24
|
-
#
|
24
|
+
# will be included. UTC time zone.
|
25
25
|
#
|
26
26
|
# @return [Time, nil]
|
27
|
-
optional :end_, Time
|
27
|
+
optional :end_, Time
|
28
28
|
|
29
29
|
# @!parse
|
30
30
|
# # @return [Time]
|
@@ -32,7 +32,7 @@ module Lithic
|
|
32
32
|
|
33
33
|
# @!attribute [r] ending_before
|
34
34
|
# A cursor representing an item's token before which a page of results should end.
|
35
|
-
#
|
35
|
+
# Used to retrieve the previous page of results before this item.
|
36
36
|
#
|
37
37
|
# @return [String, nil]
|
38
38
|
optional :ending_before, String
|
@@ -53,7 +53,7 @@ module Lithic
|
|
53
53
|
|
54
54
|
# @!attribute [r] starting_after
|
55
55
|
# A cursor representing an item's token after which a page of results should
|
56
|
-
#
|
56
|
+
# begin. Used to retrieve the next page of results after this item.
|
57
57
|
#
|
58
58
|
# @return [String, nil]
|
59
59
|
optional :starting_after, String
|
@@ -10,10 +10,10 @@ module Lithic
|
|
10
10
|
|
11
11
|
# @!attribute [r] begin_
|
12
12
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
13
|
-
#
|
13
|
+
# will be included. UTC time zone.
|
14
14
|
#
|
15
15
|
# @return [Time, nil]
|
16
|
-
optional :begin_, Time
|
16
|
+
optional :begin_, Time
|
17
17
|
|
18
18
|
# @!parse
|
19
19
|
# # @return [Time]
|
@@ -21,10 +21,10 @@ module Lithic
|
|
21
21
|
|
22
22
|
# @!attribute [r] end_
|
23
23
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
24
|
-
#
|
24
|
+
# will be included. UTC time zone.
|
25
25
|
#
|
26
26
|
# @return [Time, nil]
|
27
|
-
optional :end_, Time
|
27
|
+
optional :end_, Time
|
28
28
|
|
29
29
|
# @!parse
|
30
30
|
# # @return [Time]
|
@@ -32,7 +32,7 @@ module Lithic
|
|
32
32
|
|
33
33
|
# @!attribute [r] ending_before
|
34
34
|
# A cursor representing an item's token before which a page of results should end.
|
35
|
-
#
|
35
|
+
# Used to retrieve the previous page of results before this item.
|
36
36
|
#
|
37
37
|
# @return [String, nil]
|
38
38
|
optional :ending_before, String
|
@@ -53,7 +53,7 @@ module Lithic
|
|
53
53
|
|
54
54
|
# @!attribute [r] starting_after
|
55
55
|
# A cursor representing an item's token after which a page of results should
|
56
|
-
#
|
56
|
+
# begin. Used to retrieve the next page of results after this item.
|
57
57
|
#
|
58
58
|
# @return [String, nil]
|
59
59
|
optional :starting_after, String
|