lithic 0.1.0.pre.alpha.6 → 0.1.0.pre.alpha.7
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 +1 -1
- data/lib/lithic/client.rb +3 -3
- data/lib/lithic/internal/transport/base_client.rb +1 -1
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/lithic/internal/type/base_model.rb +14 -17
- data/lib/lithic/internal/type/converter.rb +20 -22
- data/lib/lithic/internal/type/enum.rb +8 -8
- data/lib/lithic/internal/util.rb +1 -5
- 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/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 +7 -13
- data/rbi/lib/lithic/internal/type/array_of.rbi +8 -16
- data/rbi/lib/lithic/internal/type/base_model.rbi +45 -64
- data/rbi/lib/lithic/internal/type/base_page.rbi +5 -10
- data/rbi/lib/lithic/internal/type/boolean.rbi +4 -8
- data/rbi/lib/lithic/internal/type/converter.rbi +25 -31
- data/rbi/lib/lithic/internal/type/enum.rbi +14 -20
- data/rbi/lib/lithic/internal/type/hash_of.rbi +8 -16
- data/rbi/lib/lithic/internal/type/request_parameters.rbi +1 -2
- data/rbi/lib/lithic/internal/type/union.rbi +10 -20
- data/rbi/lib/lithic/internal/type/unknown.rbi +4 -8
- data/rbi/lib/lithic/internal/util.rbi +34 -68
- 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/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 +2 -2
@@ -16,13 +16,10 @@ module Lithic
|
|
16
16
|
# Credit Product Token
|
17
17
|
credit_product_token,
|
18
18
|
request_options: {}
|
19
|
-
)
|
20
|
-
end
|
21
|
-
|
19
|
+
); end
|
22
20
|
# @api private
|
23
21
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
24
|
-
def self.new(client:)
|
25
|
-
end
|
22
|
+
def self.new(client:); end
|
26
23
|
end
|
27
24
|
end
|
28
25
|
end
|
@@ -22,9 +22,7 @@ module Lithic
|
|
22
22
|
# The rate in decimal format
|
23
23
|
rate:,
|
24
24
|
request_options: {}
|
25
|
-
)
|
26
|
-
end
|
27
|
-
|
25
|
+
); end
|
28
26
|
# Get Credit Product Prime Rates
|
29
27
|
sig do
|
30
28
|
params(
|
@@ -43,13 +41,10 @@ module Lithic
|
|
43
41
|
# The effective date that the prime rate starts after
|
44
42
|
starting_after: nil,
|
45
43
|
request_options: {}
|
46
|
-
)
|
47
|
-
end
|
48
|
-
|
44
|
+
); end
|
49
45
|
# @api private
|
50
46
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
51
|
-
def self.new(client:)
|
52
|
-
end
|
47
|
+
def self.new(client:); end
|
53
48
|
end
|
54
49
|
end
|
55
50
|
end
|
@@ -13,14 +13,12 @@ module Lithic
|
|
13
13
|
end
|
14
14
|
def retrieve(
|
15
15
|
# Specifies the digital card art to be displayed in the user’s digital wallet
|
16
|
-
#
|
17
|
-
#
|
18
|
-
#
|
16
|
+
# after tokenization. This artwork must be approved by Mastercard and configured
|
17
|
+
# by Lithic to use. See
|
18
|
+
# [Flexible Card Art Guide](https://docs.lithic.com/docs/about-digital-wallets#flexible-card-art).
|
19
19
|
digital_card_art_token,
|
20
20
|
request_options: {}
|
21
|
-
)
|
22
|
-
end
|
23
|
-
|
21
|
+
); end
|
24
22
|
# List digital card art.
|
25
23
|
sig do
|
26
24
|
params(
|
@@ -33,21 +31,18 @@ module Lithic
|
|
33
31
|
end
|
34
32
|
def list(
|
35
33
|
# A cursor representing an item's token before which a page of results should end.
|
36
|
-
#
|
34
|
+
# Used to retrieve the previous page of results before this item.
|
37
35
|
ending_before: nil,
|
38
36
|
# Page size (for pagination).
|
39
37
|
page_size: nil,
|
40
38
|
# A cursor representing an item's token after which a page of results should
|
41
|
-
#
|
39
|
+
# begin. Used to retrieve the next page of results after this item.
|
42
40
|
starting_after: nil,
|
43
41
|
request_options: {}
|
44
|
-
)
|
45
|
-
end
|
46
|
-
|
42
|
+
); end
|
47
43
|
# @api private
|
48
44
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
49
|
-
def self.new(client:)
|
50
|
-
end
|
45
|
+
def self.new(client:); end
|
51
46
|
end
|
52
47
|
end
|
53
48
|
end
|
@@ -27,9 +27,7 @@ module Lithic
|
|
27
27
|
# Customer description of dispute
|
28
28
|
customer_note: nil,
|
29
29
|
request_options: {}
|
30
|
-
)
|
31
|
-
end
|
32
|
-
|
30
|
+
); end
|
33
31
|
# Get dispute.
|
34
32
|
sig do
|
35
33
|
params(
|
@@ -38,8 +36,7 @@ module Lithic
|
|
38
36
|
)
|
39
37
|
.returns(Lithic::Models::Dispute)
|
40
38
|
end
|
41
|
-
def retrieve(dispute_token, request_options: {})
|
42
|
-
end
|
39
|
+
def retrieve(dispute_token, request_options: {}); end
|
43
40
|
|
44
41
|
# Update dispute. Can only be modified if status is `NEW`.
|
45
42
|
sig do
|
@@ -64,9 +61,7 @@ module Lithic
|
|
64
61
|
# Reason for dispute
|
65
62
|
reason: nil,
|
66
63
|
request_options: {}
|
67
|
-
)
|
68
|
-
end
|
69
|
-
|
64
|
+
); end
|
70
65
|
# List disputes.
|
71
66
|
sig do
|
72
67
|
params(
|
@@ -83,27 +78,25 @@ module Lithic
|
|
83
78
|
end
|
84
79
|
def list(
|
85
80
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
86
|
-
#
|
81
|
+
# will be included. UTC time zone.
|
87
82
|
begin_: nil,
|
88
83
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
89
|
-
#
|
84
|
+
# will be included. UTC time zone.
|
90
85
|
end_: nil,
|
91
86
|
# A cursor representing an item's token before which a page of results should end.
|
92
|
-
#
|
87
|
+
# Used to retrieve the previous page of results before this item.
|
93
88
|
ending_before: nil,
|
94
89
|
# Page size (for pagination).
|
95
90
|
page_size: nil,
|
96
91
|
# A cursor representing an item's token after which a page of results should
|
97
|
-
#
|
92
|
+
# begin. Used to retrieve the next page of results after this item.
|
98
93
|
starting_after: nil,
|
99
94
|
# List disputes of a specific status.
|
100
95
|
status: nil,
|
101
96
|
# Transaction tokens to filter by.
|
102
97
|
transaction_tokens: nil,
|
103
98
|
request_options: {}
|
104
|
-
)
|
105
|
-
end
|
106
|
-
|
99
|
+
); end
|
107
100
|
# Withdraw dispute.
|
108
101
|
sig do
|
109
102
|
params(
|
@@ -112,11 +105,10 @@ module Lithic
|
|
112
105
|
)
|
113
106
|
.returns(Lithic::Models::Dispute)
|
114
107
|
end
|
115
|
-
def delete(dispute_token, request_options: {})
|
116
|
-
end
|
108
|
+
def delete(dispute_token, request_options: {}); end
|
117
109
|
|
118
110
|
# Soft delete evidence for a dispute. Evidence will not be reviewed or submitted
|
119
|
-
#
|
111
|
+
# by Lithic after it is withdrawn.
|
120
112
|
sig do
|
121
113
|
params(
|
122
114
|
evidence_token: String,
|
@@ -125,14 +117,13 @@ module Lithic
|
|
125
117
|
)
|
126
118
|
.returns(Lithic::Models::DisputeEvidence)
|
127
119
|
end
|
128
|
-
def delete_evidence(evidence_token, dispute_token:, request_options: {})
|
129
|
-
end
|
120
|
+
def delete_evidence(evidence_token, dispute_token:, request_options: {}); end
|
130
121
|
|
131
122
|
# Use this endpoint to upload evidences for the dispute. It will return a URL to
|
132
|
-
#
|
123
|
+
# upload your documents to. The URL will expire in 30 minutes.
|
133
124
|
#
|
134
|
-
#
|
135
|
-
#
|
125
|
+
# Uploaded documents must either be a `jpg`, `png` or `pdf` file, and each must be
|
126
|
+
# less than 5 GiB.
|
136
127
|
sig do
|
137
128
|
params(
|
138
129
|
dispute_token: String,
|
@@ -146,9 +137,7 @@ module Lithic
|
|
146
137
|
# Filename of the evidence.
|
147
138
|
filename: nil,
|
148
139
|
request_options: {}
|
149
|
-
)
|
150
|
-
end
|
151
|
-
|
140
|
+
); end
|
152
141
|
# List evidence metadata for a dispute.
|
153
142
|
sig do
|
154
143
|
params(
|
@@ -165,23 +154,21 @@ module Lithic
|
|
165
154
|
def list_evidences(
|
166
155
|
dispute_token,
|
167
156
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
168
|
-
#
|
157
|
+
# will be included. UTC time zone.
|
169
158
|
begin_: nil,
|
170
159
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
171
|
-
#
|
160
|
+
# will be included. UTC time zone.
|
172
161
|
end_: nil,
|
173
162
|
# A cursor representing an item's token before which a page of results should end.
|
174
|
-
#
|
163
|
+
# Used to retrieve the previous page of results before this item.
|
175
164
|
ending_before: nil,
|
176
165
|
# Page size (for pagination).
|
177
166
|
page_size: nil,
|
178
167
|
# A cursor representing an item's token after which a page of results should
|
179
|
-
#
|
168
|
+
# begin. Used to retrieve the next page of results after this item.
|
180
169
|
starting_after: nil,
|
181
170
|
request_options: {}
|
182
|
-
)
|
183
|
-
end
|
184
|
-
|
171
|
+
); end
|
185
172
|
# Get a dispute's evidence metadata.
|
186
173
|
sig do
|
187
174
|
params(
|
@@ -191,13 +178,11 @@ module Lithic
|
|
191
178
|
)
|
192
179
|
.returns(Lithic::Models::DisputeEvidence)
|
193
180
|
end
|
194
|
-
def retrieve_evidence(evidence_token, dispute_token:, request_options: {})
|
195
|
-
end
|
181
|
+
def retrieve_evidence(evidence_token, dispute_token:, request_options: {}); end
|
196
182
|
|
197
183
|
# @api private
|
198
184
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
199
|
-
def self.new(client:)
|
200
|
-
end
|
185
|
+
def self.new(client:); end
|
201
186
|
end
|
202
187
|
end
|
203
188
|
end
|
@@ -13,13 +13,11 @@ module Lithic
|
|
13
13
|
)
|
14
14
|
.void
|
15
15
|
end
|
16
|
-
def resend(event_subscription_token, event_token:, request_options: {})
|
17
|
-
end
|
16
|
+
def resend(event_subscription_token, event_token:, request_options: {}); end
|
18
17
|
|
19
18
|
# @api private
|
20
19
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
21
|
-
def self.new(client:)
|
22
|
-
end
|
20
|
+
def self.new(client:); end
|
23
21
|
end
|
24
22
|
end
|
25
23
|
end
|
@@ -23,12 +23,10 @@ module Lithic
|
|
23
23
|
# Whether the event subscription is active (false) or inactive (true).
|
24
24
|
disabled: nil,
|
25
25
|
# Indicates types of events that will be sent to this subscription. If left blank,
|
26
|
-
#
|
26
|
+
# all types will be sent.
|
27
27
|
event_types: nil,
|
28
28
|
request_options: {}
|
29
|
-
)
|
30
|
-
end
|
31
|
-
|
29
|
+
); end
|
32
30
|
# Get an event subscription.
|
33
31
|
sig do
|
34
32
|
params(
|
@@ -37,8 +35,7 @@ module Lithic
|
|
37
35
|
)
|
38
36
|
.returns(Lithic::Models::EventSubscription)
|
39
37
|
end
|
40
|
-
def retrieve(event_subscription_token, request_options: {})
|
41
|
-
end
|
38
|
+
def retrieve(event_subscription_token, request_options: {}); end
|
42
39
|
|
43
40
|
# Update an event subscription.
|
44
41
|
sig do
|
@@ -61,12 +58,10 @@ module Lithic
|
|
61
58
|
# Whether the event subscription is active (false) or inactive (true).
|
62
59
|
disabled: nil,
|
63
60
|
# Indicates types of events that will be sent to this subscription. If left blank,
|
64
|
-
#
|
61
|
+
# all types will be sent.
|
65
62
|
event_types: nil,
|
66
63
|
request_options: {}
|
67
|
-
)
|
68
|
-
end
|
69
|
-
|
64
|
+
); end
|
70
65
|
# List all the event subscriptions.
|
71
66
|
sig do
|
72
67
|
params(
|
@@ -79,17 +74,15 @@ module Lithic
|
|
79
74
|
end
|
80
75
|
def list(
|
81
76
|
# A cursor representing an item's token before which a page of results should end.
|
82
|
-
#
|
77
|
+
# Used to retrieve the previous page of results before this item.
|
83
78
|
ending_before: nil,
|
84
79
|
# Page size (for pagination).
|
85
80
|
page_size: nil,
|
86
81
|
# A cursor representing an item's token after which a page of results should
|
87
|
-
#
|
82
|
+
# begin. Used to retrieve the next page of results after this item.
|
88
83
|
starting_after: nil,
|
89
84
|
request_options: {}
|
90
|
-
)
|
91
|
-
end
|
92
|
-
|
85
|
+
); end
|
93
86
|
# Delete an event subscription.
|
94
87
|
sig do
|
95
88
|
params(
|
@@ -98,8 +91,7 @@ module Lithic
|
|
98
91
|
)
|
99
92
|
.void
|
100
93
|
end
|
101
|
-
def delete(event_subscription_token, request_options: {})
|
102
|
-
end
|
94
|
+
def delete(event_subscription_token, request_options: {}); end
|
103
95
|
|
104
96
|
# List all the message attempts for a given event subscription.
|
105
97
|
sig do
|
@@ -118,24 +110,22 @@ module Lithic
|
|
118
110
|
def list_attempts(
|
119
111
|
event_subscription_token,
|
120
112
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
121
|
-
#
|
113
|
+
# will be included. UTC time zone.
|
122
114
|
begin_: nil,
|
123
115
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
124
|
-
#
|
116
|
+
# will be included. UTC time zone.
|
125
117
|
end_: nil,
|
126
118
|
# A cursor representing an item's token before which a page of results should end.
|
127
|
-
#
|
119
|
+
# Used to retrieve the previous page of results before this item.
|
128
120
|
ending_before: nil,
|
129
121
|
# Page size (for pagination).
|
130
122
|
page_size: nil,
|
131
123
|
# A cursor representing an item's token after which a page of results should
|
132
|
-
#
|
124
|
+
# begin. Used to retrieve the next page of results after this item.
|
133
125
|
starting_after: nil,
|
134
126
|
status: nil,
|
135
127
|
request_options: {}
|
136
|
-
)
|
137
|
-
end
|
138
|
-
|
128
|
+
); end
|
139
129
|
# Resend all failed messages since a given time.
|
140
130
|
sig do
|
141
131
|
params(
|
@@ -149,20 +139,18 @@ module Lithic
|
|
149
139
|
def recover(
|
150
140
|
event_subscription_token,
|
151
141
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
152
|
-
#
|
142
|
+
# will be included. UTC time zone.
|
153
143
|
begin_: nil,
|
154
144
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
155
|
-
#
|
145
|
+
# will be included. UTC time zone.
|
156
146
|
end_: nil,
|
157
147
|
request_options: {}
|
158
|
-
)
|
159
|
-
end
|
160
|
-
|
148
|
+
); end
|
161
149
|
# Replays messages to the endpoint. Only messages that were created after `begin`
|
162
|
-
#
|
163
|
-
#
|
164
|
-
#
|
165
|
-
#
|
150
|
+
# will be sent. Messages that were previously sent to the endpoint are not resent.
|
151
|
+
# Message will be retried if endpoint responds with a non-2xx status code. See
|
152
|
+
# [Retry Schedule](https://docs.lithic.com/docs/events-api#retry-schedule) for
|
153
|
+
# details.
|
166
154
|
sig do
|
167
155
|
params(
|
168
156
|
event_subscription_token: String,
|
@@ -175,15 +163,13 @@ module Lithic
|
|
175
163
|
def replay_missing(
|
176
164
|
event_subscription_token,
|
177
165
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
178
|
-
#
|
166
|
+
# will be included. UTC time zone.
|
179
167
|
begin_: nil,
|
180
168
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
181
|
-
#
|
169
|
+
# will be included. UTC time zone.
|
182
170
|
end_: nil,
|
183
171
|
request_options: {}
|
184
|
-
)
|
185
|
-
end
|
186
|
-
|
172
|
+
); end
|
187
173
|
# Get the secret for an event subscription.
|
188
174
|
sig do
|
189
175
|
params(
|
@@ -192,11 +178,10 @@ module Lithic
|
|
192
178
|
)
|
193
179
|
.returns(Lithic::Models::Events::SubscriptionRetrieveSecretResponse)
|
194
180
|
end
|
195
|
-
def retrieve_secret(event_subscription_token, request_options: {})
|
196
|
-
end
|
181
|
+
def retrieve_secret(event_subscription_token, request_options: {}); end
|
197
182
|
|
198
183
|
# Rotate the secret for an event subscription. The previous secret will be valid
|
199
|
-
#
|
184
|
+
# for the next 24 hours.
|
200
185
|
sig do
|
201
186
|
params(
|
202
187
|
event_subscription_token: String,
|
@@ -204,8 +189,7 @@ module Lithic
|
|
204
189
|
)
|
205
190
|
.void
|
206
191
|
end
|
207
|
-
def rotate_secret(event_subscription_token, request_options: {})
|
208
|
-
end
|
192
|
+
def rotate_secret(event_subscription_token, request_options: {}); end
|
209
193
|
|
210
194
|
# Send an example message for event.
|
211
195
|
sig do
|
@@ -221,13 +205,10 @@ module Lithic
|
|
221
205
|
# Event type to send example message for.
|
222
206
|
event_type: nil,
|
223
207
|
request_options: {}
|
224
|
-
)
|
225
|
-
end
|
226
|
-
|
208
|
+
); end
|
227
209
|
# @api private
|
228
210
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
229
|
-
def self.new(client:)
|
230
|
-
end
|
211
|
+
def self.new(client:); end
|
231
212
|
end
|
232
213
|
end
|
233
214
|
end
|
@@ -17,8 +17,7 @@ module Lithic
|
|
17
17
|
)
|
18
18
|
.returns(Lithic::Models::Event)
|
19
19
|
end
|
20
|
-
def retrieve(event_token, request_options: {})
|
21
|
-
end
|
20
|
+
def retrieve(event_token, request_options: {}); end
|
22
21
|
|
23
22
|
# List all events.
|
24
23
|
sig do
|
@@ -36,27 +35,25 @@ module Lithic
|
|
36
35
|
end
|
37
36
|
def list(
|
38
37
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
39
|
-
#
|
38
|
+
# will be included. UTC time zone.
|
40
39
|
begin_: nil,
|
41
40
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
42
|
-
#
|
41
|
+
# will be included. UTC time zone.
|
43
42
|
end_: nil,
|
44
43
|
# A cursor representing an item's token before which a page of results should end.
|
45
|
-
#
|
44
|
+
# Used to retrieve the previous page of results before this item.
|
46
45
|
ending_before: nil,
|
47
46
|
# Event types to filter events by.
|
48
47
|
event_types: nil,
|
49
48
|
# Page size (for pagination).
|
50
49
|
page_size: nil,
|
51
50
|
# A cursor representing an item's token after which a page of results should
|
52
|
-
#
|
51
|
+
# begin. Used to retrieve the next page of results after this item.
|
53
52
|
starting_after: nil,
|
54
53
|
# Whether to include the event payload content in the response.
|
55
54
|
with_content: nil,
|
56
55
|
request_options: {}
|
57
|
-
)
|
58
|
-
end
|
59
|
-
|
56
|
+
); end
|
60
57
|
# List all the message attempts for a given event.
|
61
58
|
sig do
|
62
59
|
params(
|
@@ -74,28 +71,25 @@ module Lithic
|
|
74
71
|
def list_attempts(
|
75
72
|
event_token,
|
76
73
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
77
|
-
#
|
74
|
+
# will be included. UTC time zone.
|
78
75
|
begin_: nil,
|
79
76
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
80
|
-
#
|
77
|
+
# will be included. UTC time zone.
|
81
78
|
end_: nil,
|
82
79
|
# A cursor representing an item's token before which a page of results should end.
|
83
|
-
#
|
80
|
+
# Used to retrieve the previous page of results before this item.
|
84
81
|
ending_before: nil,
|
85
82
|
# Page size (for pagination).
|
86
83
|
page_size: nil,
|
87
84
|
# A cursor representing an item's token after which a page of results should
|
88
|
-
#
|
85
|
+
# begin. Used to retrieve the next page of results after this item.
|
89
86
|
starting_after: nil,
|
90
87
|
status: nil,
|
91
88
|
request_options: {}
|
92
|
-
)
|
93
|
-
end
|
94
|
-
|
89
|
+
); end
|
95
90
|
# @api private
|
96
91
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
97
|
-
def self.new(client:)
|
98
|
-
end
|
92
|
+
def self.new(client:); end
|
99
93
|
end
|
100
94
|
end
|
101
95
|
end
|
@@ -13,13 +13,11 @@ module Lithic
|
|
13
13
|
)
|
14
14
|
.returns(Lithic::Models::ExternalBankAccounts::MicroDepositCreateResponse)
|
15
15
|
end
|
16
|
-
def create(external_bank_account_token, micro_deposits:, request_options: {})
|
17
|
-
end
|
16
|
+
def create(external_bank_account_token, micro_deposits:, request_options: {}); end
|
18
17
|
|
19
18
|
# @api private
|
20
19
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
21
|
-
def self.new(client:)
|
22
|
-
end
|
20
|
+
def self.new(client:); end
|
23
21
|
end
|
24
22
|
end
|
25
23
|
end
|
@@ -35,14 +35,14 @@ module Lithic
|
|
35
35
|
# Account Number
|
36
36
|
account_number:,
|
37
37
|
# The country that the bank account is located in using ISO 3166-1. We will only
|
38
|
-
#
|
38
|
+
# accept USA bank accounts e.g., USA
|
39
39
|
country:,
|
40
40
|
# currency of the external account 3-character alphabetic ISO 4217 code
|
41
41
|
currency:,
|
42
42
|
# The financial account token of the operating account to fund the micro deposits
|
43
43
|
financial_account_token:,
|
44
44
|
# Legal Name of the business or individual who owns the external account. This
|
45
|
-
#
|
45
|
+
# will appear in statements
|
46
46
|
owner:,
|
47
47
|
# Owner Type
|
48
48
|
owner_type:,
|
@@ -54,8 +54,8 @@ module Lithic
|
|
54
54
|
verification_method:,
|
55
55
|
processor_token:,
|
56
56
|
# Indicates which Lithic account the external account is associated with. For
|
57
|
-
#
|
58
|
-
#
|
57
|
+
# external accounts that are associated with the program, account_token field
|
58
|
+
# returned will be null
|
59
59
|
account_token: nil,
|
60
60
|
# Address
|
61
61
|
address: nil,
|
@@ -71,9 +71,7 @@ module Lithic
|
|
71
71
|
user_defined_id: nil,
|
72
72
|
verification_enforcement: nil,
|
73
73
|
request_options: {}
|
74
|
-
)
|
75
|
-
end
|
76
|
-
|
74
|
+
); end
|
77
75
|
# Get the external bank account by token.
|
78
76
|
sig do
|
79
77
|
params(
|
@@ -82,8 +80,7 @@ module Lithic
|
|
82
80
|
)
|
83
81
|
.returns(Lithic::Models::ExternalBankAccountRetrieveResponse)
|
84
82
|
end
|
85
|
-
def retrieve(external_bank_account_token, request_options: {})
|
86
|
-
end
|
83
|
+
def retrieve(external_bank_account_token, request_options: {}); end
|
87
84
|
|
88
85
|
# Update the external bank account by token.
|
89
86
|
sig do
|
@@ -115,7 +112,7 @@ module Lithic
|
|
115
112
|
# The nickname for this External Bank Account
|
116
113
|
name: nil,
|
117
114
|
# Legal Name of the business or individual who owns the external account. This
|
118
|
-
#
|
115
|
+
# will appear in statements
|
119
116
|
owner: nil,
|
120
117
|
# Owner Type
|
121
118
|
owner_type: nil,
|
@@ -123,9 +120,7 @@ module Lithic
|
|
123
120
|
# User Defined ID
|
124
121
|
user_defined_id: nil,
|
125
122
|
request_options: {}
|
126
|
-
)
|
127
|
-
end
|
128
|
-
|
123
|
+
); end
|
129
124
|
# List all the external bank accounts for the provided search criteria.
|
130
125
|
sig do
|
131
126
|
params(
|
@@ -147,20 +142,18 @@ module Lithic
|
|
147
142
|
account_types: nil,
|
148
143
|
countries: nil,
|
149
144
|
# A cursor representing an item's token before which a page of results should end.
|
150
|
-
#
|
145
|
+
# Used to retrieve the previous page of results before this item.
|
151
146
|
ending_before: nil,
|
152
147
|
owner_types: nil,
|
153
148
|
# Page size (for pagination).
|
154
149
|
page_size: nil,
|
155
150
|
# A cursor representing an item's token after which a page of results should
|
156
|
-
#
|
151
|
+
# begin. Used to retrieve the next page of results after this item.
|
157
152
|
starting_after: nil,
|
158
153
|
states: nil,
|
159
154
|
verification_states: nil,
|
160
155
|
request_options: {}
|
161
|
-
)
|
162
|
-
end
|
163
|
-
|
156
|
+
); end
|
164
157
|
# Retry external bank account micro deposit verification.
|
165
158
|
sig do
|
166
159
|
params(
|
@@ -170,7 +163,11 @@ module Lithic
|
|
170
163
|
)
|
171
164
|
.returns(Lithic::Models::ExternalBankAccountRetryMicroDepositsResponse)
|
172
165
|
end
|
173
|
-
def retry_micro_deposits(
|
166
|
+
def retry_micro_deposits(
|
167
|
+
external_bank_account_token,
|
168
|
+
financial_account_token: nil,
|
169
|
+
request_options: {}
|
170
|
+
)
|
174
171
|
end
|
175
172
|
|
176
173
|
# Retry external bank account prenote verification.
|
@@ -182,13 +179,11 @@ module Lithic
|
|
182
179
|
)
|
183
180
|
.returns(Lithic::Models::ExternalBankAccountRetryPrenoteResponse)
|
184
181
|
end
|
185
|
-
def retry_prenote(external_bank_account_token, financial_account_token: nil, request_options: {})
|
186
|
-
end
|
182
|
+
def retry_prenote(external_bank_account_token, financial_account_token: nil, request_options: {}); end
|
187
183
|
|
188
184
|
# @api private
|
189
185
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
190
|
-
def self.new(client:)
|
191
|
-
end
|
186
|
+
def self.new(client:); end
|
192
187
|
end
|
193
188
|
end
|
194
189
|
end
|