lithic 0.1.0.pre.alpha.16 → 0.1.0.pre.alpha.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +34 -0
- data/README.md +7 -7
- data/lib/lithic/file_part.rb +55 -0
- data/lib/lithic/internal/cursor_page.rb +1 -1
- data/lib/lithic/internal/single_page.rb +1 -1
- data/lib/lithic/internal/transport/base_client.rb +7 -7
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/lithic/internal/type/array_of.rb +2 -0
- data/lib/lithic/internal/type/base_model.rb +1 -1
- data/lib/lithic/internal/type/base_page.rb +1 -1
- data/lib/lithic/internal/type/converter.rb +1 -1
- data/lib/lithic/internal/type/{io_like.rb → file_input.rb} +8 -4
- data/lib/lithic/internal/type/hash_of.rb +2 -0
- data/lib/lithic/internal/util.rb +69 -61
- data/lib/lithic/models/account.rb +50 -19
- data/lib/lithic/models/account_holder.rb +139 -59
- data/lib/lithic/models/account_holder_create_params.rb +144 -52
- data/lib/lithic/models/account_holder_create_response.rb +18 -7
- data/lib/lithic/models/account_holder_list_params.rb +33 -11
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +13 -4
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +10 -3
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +169 -60
- data/lib/lithic/models/account_holder_update_params.rb +147 -53
- data/lib/lithic/models/account_holder_update_response.rb +202 -74
- data/lib/lithic/models/account_holder_upload_document_params.rb +4 -2
- data/lib/lithic/models/account_list_params.rb +17 -5
- data/lib/lithic/models/account_spend_limits.rb +27 -9
- data/lib/lithic/models/account_update_params.rb +17 -5
- data/lib/lithic/models/address.rb +17 -6
- data/lib/lithic/models/address_update.rb +17 -6
- data/lib/lithic/models/aggregate_balance.rb +26 -10
- data/lib/lithic/models/aggregate_balance_list_params.rb +2 -1
- data/lib/lithic/models/auth_rules/auth_rule.rb +24 -9
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -3
- data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +4 -2
- data/lib/lithic/models/auth_rules/v2/backtest_create_response.rb +1 -1
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +46 -18
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +8 -4
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_create_params.rb +14 -7
- data/lib/lithic/models/auth_rules/v2_create_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +2 -1
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_list_params.rb +15 -5
- data/lib/lithic/models/auth_rules/v2_list_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +32 -12
- data/lib/lithic/models/auth_rules/v2_update_params.rb +15 -6
- data/lib/lithic/models/auth_rules/v2_update_response.rb +31 -12
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +27 -7
- data/lib/lithic/models/auth_stream_secret.rb +1 -1
- data/lib/lithic/models/balance.rb +26 -10
- data/lib/lithic/models/balance_list_params.rb +12 -4
- data/lib/lithic/models/book_transfer_create_params.rb +23 -8
- data/lib/lithic/models/book_transfer_list_params.rb +28 -9
- data/lib/lithic/models/book_transfer_response.rb +54 -20
- data/lib/lithic/models/book_transfer_reverse_params.rb +2 -1
- data/lib/lithic/models/card.rb +33 -0
- data/lib/lithic/models/card_convert_physical_params.rb +12 -4
- data/lib/lithic/models/card_create_params.rb +45 -15
- data/lib/lithic/models/card_embed_params.rb +4 -2
- data/lib/lithic/models/card_list_params.rb +21 -7
- data/lib/lithic/models/card_program.rb +17 -7
- data/lib/lithic/models/card_program_list_params.rb +11 -3
- data/lib/lithic/models/card_provision_params.rb +20 -6
- data/lib/lithic/models/card_reissue_params.rb +12 -4
- data/lib/lithic/models/card_renew_params.rb +18 -6
- data/lib/lithic/models/card_search_by_pan_params.rb +2 -1
- data/lib/lithic/models/card_spend_limits.rb +27 -9
- data/lib/lithic/models/card_update_params.rb +21 -7
- data/lib/lithic/models/cards/aggregate_balance_list_params.rb +4 -2
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +24 -9
- data/lib/lithic/models/cards/balance_list_params.rb +7 -2
- data/lib/lithic/models/cards/balance_list_response.rb +26 -10
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +21 -7
- data/lib/lithic/models/carrier.rb +1 -1
- data/lib/lithic/models/credit_products/prime_rate_create_params.rb +4 -2
- data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +4 -2
- data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +6 -4
- data/lib/lithic/models/digital_card_art.rb +13 -7
- data/lib/lithic/models/digital_card_art_list_params.rb +11 -3
- data/lib/lithic/models/dispute.rb +40 -18
- data/lib/lithic/models/dispute_create_params.rb +10 -5
- data/lib/lithic/models/dispute_evidence.rb +17 -7
- data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +2 -1
- data/lib/lithic/models/dispute_list_evidences_params.rb +17 -5
- data/lib/lithic/models/dispute_list_params.rb +21 -7
- data/lib/lithic/models/dispute_update_params.rb +8 -4
- data/lib/lithic/models/document.rb +31 -14
- data/lib/lithic/models/event.rb +9 -3
- data/lib/lithic/models/event_list_attempts_params.rb +18 -5
- data/lib/lithic/models/event_list_params.rb +21 -7
- data/lib/lithic/models/event_subscription.rb +7 -3
- data/lib/lithic/models/events/subscription_create_params.rb +12 -4
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +18 -5
- data/lib/lithic/models/events/subscription_list_params.rb +11 -3
- data/lib/lithic/models/events/subscription_recover_params.rb +9 -2
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +9 -2
- data/lib/lithic/models/events/subscription_retrieve_secret_response.rb +1 -1
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -1
- data/lib/lithic/models/events/subscription_update_params.rb +12 -4
- data/lib/lithic/models/external_bank_account_create_params.rb +40 -16
- data/lib/lithic/models/external_bank_account_create_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_list_params.rb +17 -3
- data/lib/lithic/models/external_bank_account_list_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +54 -22
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_update_params.rb +21 -8
- data/lib/lithic/models/external_bank_account_update_response.rb +53 -22
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +54 -22
- data/lib/lithic/models/external_payment_list_params.rb +27 -9
- data/lib/lithic/models/financial_account.rb +25 -8
- data/lib/lithic/models/financial_account_list_params.rb +6 -3
- data/lib/lithic/models/financial_account_update_status_params.rb +4 -2
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +7 -2
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +26 -10
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +6 -2
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +12 -5
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +22 -7
- data/lib/lithic/models/financial_accounts/loan_tape.rb +119 -47
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +17 -5
- data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +2 -1
- data/lib/lithic/models/financial_accounts/statement.rb +97 -40
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +19 -6
- data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +2 -1
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +14 -4
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +25 -9
- data/lib/lithic/models/financial_transaction.rb +42 -15
- data/lib/lithic/models/kyb.rb +101 -36
- data/lib/lithic/models/kyb_business_entity.rb +35 -12
- data/lib/lithic/models/kyc.rb +34 -12
- data/lib/lithic/models/kyc_exempt.rb +23 -9
- data/lib/lithic/models/management_operation_list_params.rb +25 -8
- data/lib/lithic/models/message_attempt.rb +17 -7
- data/lib/lithic/models/{card_list_response.rb → non_pci_card.rb} +96 -51
- data/lib/lithic/models/payment.rb +52 -18
- data/lib/lithic/models/payment_create_params.rb +14 -1
- data/lib/lithic/models/payment_create_response.rb +1 -1
- data/lib/lithic/models/payment_list_params.rb +23 -5
- data/lib/lithic/models/payment_retry_response.rb +1 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +6 -3
- data/lib/lithic/models/payment_simulate_action_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_receipt_params.rb +14 -5
- data/lib/lithic/models/payment_simulate_receipt_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_release_params.rb +2 -1
- data/lib/lithic/models/payment_simulate_release_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_return_params.rb +4 -2
- data/lib/lithic/models/payment_simulate_return_response.rb +5 -3
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +30 -11
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +39 -14
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +39 -14
- data/lib/lithic/models/reports/settlement_list_details_params.rb +11 -3
- data/lib/lithic/models/required_document.rb +10 -3
- data/lib/lithic/models/responder_endpoint_check_status_params.rb +2 -1
- data/lib/lithic/models/responder_endpoint_create_params.rb +4 -2
- data/lib/lithic/models/responder_endpoint_create_response.rb +1 -1
- data/lib/lithic/models/responder_endpoint_delete_params.rb +2 -1
- data/lib/lithic/models/responder_endpoint_status.rb +3 -2
- data/lib/lithic/models/settlement_detail.rb +50 -21
- data/lib/lithic/models/settlement_report.rb +29 -10
- data/lib/lithic/models/settlement_summary_details.rb +21 -8
- data/lib/lithic/models/shipping_address.rb +31 -11
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +215 -71
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +9 -2
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +28 -8
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +5 -1
- data/lib/lithic/models/three_ds/challenge_response.rb +7 -2
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rb +1 -1
- data/lib/lithic/models/tokenization.rb +37 -17
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rb +1 -1
- data/lib/lithic/models/tokenization_list_params.rb +22 -8
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +6 -1
- data/lib/lithic/models/tokenization_secret.rb +1 -1
- data/lib/lithic/models/tokenization_simulate_params.rb +22 -8
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +6 -1
- data/lib/lithic/models/transaction.rb +248 -89
- data/lib/lithic/models/transaction_list_params.rb +26 -9
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +8 -2
- data/lib/lithic/models/transaction_simulate_authorization_advice_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +27 -10
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +7 -2
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +8 -2
- data/lib/lithic/models/transaction_simulate_clearing_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +15 -5
- data/lib/lithic/models/transaction_simulate_credit_authorization_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_return_params.rb +6 -3
- data/lib/lithic/models/transaction_simulate_return_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_return_reversal_params.rb +2 -1
- data/lib/lithic/models/transaction_simulate_return_reversal_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_void_params.rb +10 -3
- data/lib/lithic/models/transaction_simulate_void_response.rb +1 -1
- data/lib/lithic/models/transactions/events/enhanced_data.rb +52 -24
- data/lib/lithic/models/transfer.rb +46 -17
- data/lib/lithic/models/transfer_create_params.rb +17 -5
- data/lib/lithic/resources/account_holders.rb +166 -60
- data/lib/lithic/resources/accounts.rb +40 -13
- data/lib/lithic/resources/aggregate_balances.rb +2 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +10 -5
- data/lib/lithic/resources/auth_rules/v2.rb +68 -30
- data/lib/lithic/resources/balances.rb +12 -4
- data/lib/lithic/resources/book_transfers.rb +57 -20
- data/lib/lithic/resources/card_programs.rb +13 -4
- data/lib/lithic/resources/cards/aggregate_balances.rb +4 -2
- data/lib/lithic/resources/cards/balances.rb +8 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +25 -8
- data/lib/lithic/resources/cards.rb +177 -69
- data/lib/lithic/resources/credit_products/extended_credit.rb +2 -1
- data/lib/lithic/resources/credit_products/prime_rates.rb +12 -6
- data/lib/lithic/resources/digital_card_art.rb +17 -4
- data/lib/lithic/resources/disputes.rb +61 -22
- data/lib/lithic/resources/events/subscriptions.rb +78 -21
- data/lib/lithic/resources/events.rb +40 -12
- data/lib/lithic/resources/external_bank_accounts.rb +79 -27
- data/lib/lithic/resources/external_payments.rb +46 -14
- data/lib/lithic/resources/financial_accounts/balances.rb +9 -3
- data/lib/lithic/resources/financial_accounts/credit_configuration.rb +10 -4
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +28 -10
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +23 -8
- data/lib/lithic/resources/financial_accounts/statements/line_items.rb +16 -5
- data/lib/lithic/resources/financial_accounts/statements.rb +25 -9
- data/lib/lithic/resources/financial_accounts.rb +22 -11
- data/lib/lithic/resources/management_operations.rb +31 -10
- data/lib/lithic/resources/payments.rb +64 -17
- data/lib/lithic/resources/reports/settlement/network_totals.rb +32 -12
- data/lib/lithic/resources/reports/settlement.rb +15 -5
- data/lib/lithic/resources/responder_endpoints.rb +8 -4
- data/lib/lithic/resources/three_ds/authentication.rb +21 -5
- data/lib/lithic/resources/three_ds/decisioning.rb +8 -2
- data/lib/lithic/resources/tokenizations.rb +70 -25
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +2 -1
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +2 -1
- data/lib/lithic/resources/transactions.rb +106 -37
- data/lib/lithic/resources/transfers.rb +17 -5
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +4 -9
- data/rbi/lib/lithic/file_part.rbi +34 -0
- data/rbi/lib/lithic/internal/transport/base_client.rbi +17 -3
- data/rbi/lib/lithic/internal/type/{io_like.rbi → file_input.rbi} +6 -2
- data/rbi/lib/lithic/internal/util.rbi +24 -19
- data/rbi/lib/lithic/models/account.rbi +62 -6
- data/rbi/lib/lithic/models/account_holder.rbi +139 -8
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +131 -6
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +14 -3
- data/rbi/lib/lithic/models/account_holder_list_params.rbi +19 -0
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +5 -0
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +10 -2
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +172 -17
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +99 -0
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +176 -19
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +7 -2
- data/rbi/lib/lithic/models/account_list_params.rbi +10 -3
- data/rbi/lib/lithic/models/account_spend_limits.rbi +30 -6
- data/rbi/lib/lithic/models/account_update_params.rbi +16 -0
- data/rbi/lib/lithic/models/address.rbi +19 -2
- data/rbi/lib/lithic/models/address_update.rbi +17 -2
- data/rbi/lib/lithic/models/aggregate_balance.rbi +14 -0
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +5 -2
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +15 -0
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +54 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +60 -12
- data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +5 -3
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +7 -0
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +5 -2
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +7 -0
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +10 -0
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +33 -5
- data/rbi/lib/lithic/models/auth_stream_secret.rbi +4 -2
- data/rbi/lib/lithic/models/balance.rbi +14 -0
- data/rbi/lib/lithic/models/balance_list_params.rbi +5 -0
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +12 -0
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/book_transfer_response.rbi +41 -2
- data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +5 -2
- data/rbi/lib/lithic/models/card.rbi +36 -0
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +18 -3
- data/rbi/lib/lithic/models/card_create_params.rbi +84 -0
- data/rbi/lib/lithic/models/card_embed_params.rbi +7 -2
- data/rbi/lib/lithic/models/card_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/card_program.rbi +8 -0
- data/rbi/lib/lithic/models/card_program_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/card_provision_params.rbi +17 -0
- data/rbi/lib/lithic/models/card_reissue_params.rbi +18 -3
- data/rbi/lib/lithic/models/card_renew_params.rbi +21 -0
- data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +5 -2
- data/rbi/lib/lithic/models/card_spend_limits.rbi +30 -6
- data/rbi/lib/lithic/models/card_update_params.rbi +35 -0
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +7 -2
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +13 -0
- data/rbi/lib/lithic/models/cards/balance_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +14 -0
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/carrier.rbi +4 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +7 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +12 -4
- data/rbi/lib/lithic/models/digital_card_art.rbi +8 -3
- data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/dispute.rbi +66 -0
- data/rbi/lib/lithic/models/dispute_create_params.rbi +6 -3
- data/rbi/lib/lithic/models/dispute_evidence.rbi +15 -3
- data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +5 -2
- data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +10 -3
- data/rbi/lib/lithic/models/dispute_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/dispute_update_params.rbi +5 -3
- data/rbi/lib/lithic/models/document.rbi +27 -3
- data/rbi/lib/lithic/models/event.rbi +39 -2
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +9 -0
- data/rbi/lib/lithic/models/event_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/event_subscription.rbi +10 -2
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +12 -2
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +9 -0
- data/rbi/lib/lithic/models/events/subscription_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +9 -2
- data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +9 -2
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -2
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +12 -2
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +20 -0
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +5 -0
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +9 -0
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/financial_account.rbi +8 -0
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +7 -2
- data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +14 -0
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -0
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +5 -0
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +94 -13
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +10 -3
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +5 -2
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +72 -10
- data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +10 -0
- data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +5 -2
- data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +7 -3
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +10 -0
- data/rbi/lib/lithic/models/financial_transaction.rbi +44 -2
- data/rbi/lib/lithic/models/kyb.rbi +94 -4
- data/rbi/lib/lithic/models/kyb_business_entity.rbi +28 -2
- data/rbi/lib/lithic/models/kyc.rbi +40 -4
- data/rbi/lib/lithic/models/kyc_exempt.rbi +13 -0
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +13 -0
- data/rbi/lib/lithic/models/message_attempt.rbi +10 -3
- data/rbi/lib/lithic/models/{card_list_response.rbi → non_pci_card.rbi} +137 -62
- data/rbi/lib/lithic/models/payment.rbi +57 -2
- data/rbi/lib/lithic/models/payment_create_params.rbi +2 -0
- data/rbi/lib/lithic/models/payment_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/payment_list_params.rbi +9 -0
- data/rbi/lib/lithic/models/payment_retry_response.rbi +4 -2
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +9 -2
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +13 -3
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +5 -2
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +7 -2
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +8 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +16 -0
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +26 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +26 -2
- data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +11 -2
- data/rbi/lib/lithic/models/required_document.rbi +10 -2
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +5 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +5 -2
- data/rbi/lib/lithic/models/responder_endpoint_status.rbi +6 -2
- data/rbi/lib/lithic/models/settlement_detail.rbi +26 -0
- data/rbi/lib/lithic/models/settlement_report.rbi +25 -0
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +11 -0
- data/rbi/lib/lithic/models/shipping_address.rbi +20 -0
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +165 -19
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +8 -2
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +31 -6
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +5 -2
- data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +9 -2
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization.rbi +27 -2
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -2
- data/rbi/lib/lithic/models/tokenization_secret.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +11 -0
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +8 -2
- data/rbi/lib/lithic/models/transaction.rbi +246 -35
- data/rbi/lib/lithic/models/transaction_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +8 -2
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +35 -0
- data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +7 -2
- data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +15 -2
- data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +4 -2
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +17 -2
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +9 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +5 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +4 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +14 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +4 -2
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +57 -16
- data/rbi/lib/lithic/models/transfer.rbi +41 -2
- data/rbi/lib/lithic/models/transfer_create_params.rbi +17 -2
- data/rbi/lib/lithic/resources/cards.rbi +8 -8
- data/sig/lithic/file_part.rbs +21 -0
- data/sig/lithic/internal/transport/base_client.rbs +9 -3
- data/sig/lithic/internal/type/{io_like.rbs → file_input.rbs} +1 -1
- data/sig/lithic/internal/util.rbs +14 -12
- data/sig/lithic/models/card.rbs +19 -0
- data/sig/lithic/models/{card_list_response.rbs → non_pci_card.rbs} +31 -31
- data/sig/lithic/resources/cards.rbs +8 -8
- metadata +14 -29
- data/lib/lithic/models/card_convert_physical_response.rb +0 -393
- data/lib/lithic/models/card_create_response.rb +0 -392
- data/lib/lithic/models/card_reissue_response.rb +0 -392
- data/lib/lithic/models/card_renew_response.rb +0 -392
- data/lib/lithic/models/card_retrieve_response.rb +0 -392
- data/lib/lithic/models/card_search_by_pan_response.rb +0 -392
- data/lib/lithic/models/card_update_response.rb +0 -392
- data/rbi/lib/lithic/models/card_convert_physical_response.rbi +0 -467
- data/rbi/lib/lithic/models/card_create_response.rbi +0 -458
- data/rbi/lib/lithic/models/card_reissue_response.rbi +0 -458
- data/rbi/lib/lithic/models/card_renew_response.rbi +0 -457
- data/rbi/lib/lithic/models/card_retrieve_response.rbi +0 -459
- data/rbi/lib/lithic/models/card_search_by_pan_response.rbi +0 -461
- data/rbi/lib/lithic/models/card_update_response.rbi +0 -458
- data/sig/lithic/models/card_convert_physical_response.rbs +0 -257
- data/sig/lithic/models/card_create_response.rbs +0 -257
- data/sig/lithic/models/card_reissue_response.rbs +0 -257
- data/sig/lithic/models/card_renew_response.rbs +0 -257
- data/sig/lithic/models/card_retrieve_response.rbs +0 -257
- data/sig/lithic/models/card_search_by_pan_response.rbs +0 -257
- data/sig/lithic/models/card_update_response.rbs +0 -257
@@ -54,15 +54,25 @@ module Lithic
|
|
54
54
|
optional :upload_url, String
|
55
55
|
|
56
56
|
# @!method initialize(token:, created:, dispute_token:, upload_status:, download_url: nil, filename: nil, upload_url: nil)
|
57
|
+
# Some parameter documentations has been truncated, see
|
58
|
+
# {Lithic::Models::DisputeEvidence} for more details.
|
59
|
+
#
|
57
60
|
# Dispute evidence.
|
58
61
|
#
|
59
|
-
# @param token [String]
|
60
|
-
#
|
61
|
-
# @param
|
62
|
-
#
|
63
|
-
# @param
|
64
|
-
#
|
65
|
-
# @param
|
62
|
+
# @param token [String] Globally unique identifier.
|
63
|
+
#
|
64
|
+
# @param created [Time] Timestamp of when dispute evidence was created.
|
65
|
+
#
|
66
|
+
# @param dispute_token [String] Dispute token evidence is attached to.
|
67
|
+
#
|
68
|
+
# @param upload_status [Symbol, Lithic::Models::DisputeEvidence::UploadStatus] Upload status types: ...
|
69
|
+
#
|
70
|
+
# @param download_url [String] URL to download evidence. Only shown when `upload_status` is `UPLOADED`.
|
71
|
+
#
|
72
|
+
# @param filename [String] File name of evidence. Recommended to give the dispute evidence a human-readable
|
73
|
+
# ...
|
74
|
+
#
|
75
|
+
# @param upload_url [String] URL to upload evidence. Only shown when `upload_status` is `PENDING`.
|
66
76
|
|
67
77
|
# Upload status types:
|
68
78
|
#
|
@@ -14,7 +14,8 @@ module Lithic
|
|
14
14
|
optional :filename, String
|
15
15
|
|
16
16
|
# @!method initialize(filename: nil, request_options: {})
|
17
|
-
# @param filename [String]
|
17
|
+
# @param filename [String] Filename of the evidence.
|
18
|
+
#
|
18
19
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
19
20
|
end
|
20
21
|
end
|
@@ -42,11 +42,23 @@ module Lithic
|
|
42
42
|
optional :starting_after, String
|
43
43
|
|
44
44
|
# @!method initialize(begin_: nil, end_: nil, ending_before: nil, page_size: nil, starting_after: nil, request_options: {})
|
45
|
-
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
# @param
|
49
|
-
#
|
45
|
+
# Some parameter documentations has been truncated, see
|
46
|
+
# {Lithic::Models::DisputeListEvidencesParams} for more details.
|
47
|
+
#
|
48
|
+
# @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
|
49
|
+
# ...
|
50
|
+
#
|
51
|
+
# @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
|
52
|
+
# ...
|
53
|
+
#
|
54
|
+
# @param ending_before [String] A cursor representing an item's token before which a page of results should end.
|
55
|
+
# ...
|
56
|
+
#
|
57
|
+
# @param page_size [Integer] Page size (for pagination).
|
58
|
+
#
|
59
|
+
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
60
|
+
# ...
|
61
|
+
#
|
50
62
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
51
63
|
end
|
52
64
|
end
|
@@ -54,13 +54,27 @@ module Lithic
|
|
54
54
|
optional :transaction_tokens, Lithic::Internal::Type::ArrayOf[String]
|
55
55
|
|
56
56
|
# @!method initialize(begin_: nil, end_: nil, ending_before: nil, page_size: nil, starting_after: nil, status: nil, transaction_tokens: nil, request_options: {})
|
57
|
-
#
|
58
|
-
#
|
59
|
-
#
|
60
|
-
# @param
|
61
|
-
#
|
62
|
-
#
|
63
|
-
# @param
|
57
|
+
# Some parameter documentations has been truncated, see
|
58
|
+
# {Lithic::Models::DisputeListParams} for more details.
|
59
|
+
#
|
60
|
+
# @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
|
61
|
+
# ...
|
62
|
+
#
|
63
|
+
# @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
|
64
|
+
# ...
|
65
|
+
#
|
66
|
+
# @param ending_before [String] A cursor representing an item's token before which a page of results should end.
|
67
|
+
# ...
|
68
|
+
#
|
69
|
+
# @param page_size [Integer] Page size (for pagination).
|
70
|
+
#
|
71
|
+
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
72
|
+
# ...
|
73
|
+
#
|
74
|
+
# @param status [Symbol, Lithic::Models::DisputeListParams::Status] List disputes of a specific status.
|
75
|
+
#
|
76
|
+
# @param transaction_tokens [Array<String>] Transaction tokens to filter by.
|
77
|
+
#
|
64
78
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
65
79
|
|
66
80
|
# List disputes of a specific status.
|
@@ -32,10 +32,14 @@ module Lithic
|
|
32
32
|
optional :reason, enum: -> { Lithic::Models::DisputeUpdateParams::Reason }
|
33
33
|
|
34
34
|
# @!method initialize(amount: nil, customer_filed_date: nil, customer_note: nil, reason: nil, request_options: {})
|
35
|
-
# @param amount [Integer]
|
36
|
-
#
|
37
|
-
# @param
|
38
|
-
#
|
35
|
+
# @param amount [Integer] Amount to dispute
|
36
|
+
#
|
37
|
+
# @param customer_filed_date [Time] Date the customer filed the dispute
|
38
|
+
#
|
39
|
+
# @param customer_note [String] Customer description of dispute
|
40
|
+
#
|
41
|
+
# @param reason [Symbol, Lithic::Models::DisputeUpdateParams::Reason] Reason for dispute
|
42
|
+
#
|
39
43
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
40
44
|
|
41
45
|
# Reason for dispute
|
@@ -38,11 +38,15 @@ module Lithic
|
|
38
38
|
# Describes the document and the required document image uploads required to
|
39
39
|
# re-run KYC
|
40
40
|
#
|
41
|
-
# @param token [String]
|
42
|
-
#
|
43
|
-
# @param
|
44
|
-
#
|
45
|
-
# @param
|
41
|
+
# @param token [String] Globally unique identifier for the document.
|
42
|
+
#
|
43
|
+
# @param account_holder_token [String] Globally unique identifier for the account holder.
|
44
|
+
#
|
45
|
+
# @param document_type [Symbol, Lithic::Models::Document::DocumentType] Type of documentation to be submitted for verification of an account holder
|
46
|
+
#
|
47
|
+
# @param entity_token [String] Globally unique identifier for an entity.
|
48
|
+
#
|
49
|
+
# @param required_document_uploads [Array<Lithic::Models::Document::RequiredDocumentUpload>] Represents a single image of the document to upload.
|
46
50
|
|
47
51
|
# Type of documentation to be submitted for verification of an account holder
|
48
52
|
#
|
@@ -137,17 +141,30 @@ module Lithic
|
|
137
141
|
required :upload_url, String
|
138
142
|
|
139
143
|
# @!method initialize(token:, accepted_entity_status_reasons:, created:, image_type:, rejected_entity_status_reasons:, status:, status_reasons:, updated:, upload_url:)
|
144
|
+
# Some parameter documentations has been truncated, see
|
145
|
+
# {Lithic::Models::Document::RequiredDocumentUpload} for more details.
|
146
|
+
#
|
140
147
|
# Represents a single image of the document to upload.
|
141
148
|
#
|
142
|
-
# @param token [String]
|
143
|
-
#
|
144
|
-
# @param
|
145
|
-
#
|
146
|
-
#
|
147
|
-
# @param
|
148
|
-
#
|
149
|
-
# @param
|
150
|
-
#
|
149
|
+
# @param token [String] Globally unique identifier for the document upload.
|
150
|
+
#
|
151
|
+
# @param accepted_entity_status_reasons [Array<String>] A list of status reasons associated with a KYB account holder that have been sat
|
152
|
+
# ...
|
153
|
+
#
|
154
|
+
# @param created [Time] When the document upload was created
|
155
|
+
#
|
156
|
+
# @param image_type [Symbol, Lithic::Models::Document::RequiredDocumentUpload::ImageType] Type of image to upload.
|
157
|
+
#
|
158
|
+
# @param rejected_entity_status_reasons [Array<String>] A list of status reasons associated with a KYB account holder that have not been
|
159
|
+
# ...
|
160
|
+
#
|
161
|
+
# @param status [Symbol, Lithic::Models::Document::RequiredDocumentUpload::Status] Status of an account holder's document upload.
|
162
|
+
#
|
163
|
+
# @param status_reasons [Array<Symbol, Lithic::Models::Document::RequiredDocumentUpload::StatusReason>] Reasons for document image upload status.
|
164
|
+
#
|
165
|
+
# @param updated [Time] When the document upload was last updated
|
166
|
+
#
|
167
|
+
# @param upload_url [String] URL to upload document image to. ...
|
151
168
|
|
152
169
|
# Type of image to upload.
|
153
170
|
#
|
data/lib/lithic/models/event.rb
CHANGED
@@ -58,11 +58,17 @@ module Lithic
|
|
58
58
|
required :payload, Lithic::Internal::Type::HashOf[Lithic::Internal::Type::Unknown]
|
59
59
|
|
60
60
|
# @!method initialize(token:, created:, event_type:, payload:)
|
61
|
+
# Some parameter documentations has been truncated, see {Lithic::Models::Event}
|
62
|
+
# for more details.
|
63
|
+
#
|
61
64
|
# A single event that affects the transaction state and lifecycle.
|
62
65
|
#
|
63
|
-
# @param token [String]
|
64
|
-
#
|
65
|
-
# @param
|
66
|
+
# @param token [String] Globally unique identifier.
|
67
|
+
#
|
68
|
+
# @param created [Time] An RFC 3339 timestamp for when the event was created. UTC time zone. ...
|
69
|
+
#
|
70
|
+
# @param event_type [Symbol, Lithic::Models::Event::EventType] Event types: ...
|
71
|
+
#
|
66
72
|
# @param payload [Hash{Symbol=>Object}]
|
67
73
|
|
68
74
|
# Event types:
|
@@ -47,12 +47,25 @@ module Lithic
|
|
47
47
|
optional :status, enum: -> { Lithic::Models::EventListAttemptsParams::Status }
|
48
48
|
|
49
49
|
# @!method initialize(begin_: nil, end_: nil, ending_before: nil, page_size: nil, starting_after: nil, status: nil, request_options: {})
|
50
|
-
#
|
51
|
-
#
|
52
|
-
#
|
53
|
-
# @param
|
54
|
-
#
|
50
|
+
# Some parameter documentations has been truncated, see
|
51
|
+
# {Lithic::Models::EventListAttemptsParams} for more details.
|
52
|
+
#
|
53
|
+
# @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
|
54
|
+
# ...
|
55
|
+
#
|
56
|
+
# @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
|
57
|
+
# ...
|
58
|
+
#
|
59
|
+
# @param ending_before [String] A cursor representing an item's token before which a page of results should end.
|
60
|
+
# ...
|
61
|
+
#
|
62
|
+
# @param page_size [Integer] Page size (for pagination).
|
63
|
+
#
|
64
|
+
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
65
|
+
# ...
|
66
|
+
#
|
55
67
|
# @param status [Symbol, Lithic::Models::EventListAttemptsParams::Status]
|
68
|
+
#
|
56
69
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
57
70
|
|
58
71
|
module Status
|
@@ -55,13 +55,27 @@ module Lithic
|
|
55
55
|
optional :with_content, Lithic::Internal::Type::Boolean
|
56
56
|
|
57
57
|
# @!method initialize(begin_: nil, end_: nil, ending_before: nil, event_types: nil, page_size: nil, starting_after: nil, with_content: nil, request_options: {})
|
58
|
-
#
|
59
|
-
#
|
60
|
-
#
|
61
|
-
# @param
|
62
|
-
#
|
63
|
-
#
|
64
|
-
# @param
|
58
|
+
# Some parameter documentations has been truncated, see
|
59
|
+
# {Lithic::Models::EventListParams} for more details.
|
60
|
+
#
|
61
|
+
# @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
|
62
|
+
# ...
|
63
|
+
#
|
64
|
+
# @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
|
65
|
+
# ...
|
66
|
+
#
|
67
|
+
# @param ending_before [String] A cursor representing an item's token before which a page of results should end.
|
68
|
+
# ...
|
69
|
+
#
|
70
|
+
# @param event_types [Array<Symbol, Lithic::Models::EventListParams::EventType>] Event types to filter events by.
|
71
|
+
#
|
72
|
+
# @param page_size [Integer] Page size (for pagination).
|
73
|
+
#
|
74
|
+
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
75
|
+
# ...
|
76
|
+
#
|
77
|
+
# @param with_content [Boolean] Whether to include the event payload content in the response.
|
78
|
+
#
|
65
79
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
66
80
|
|
67
81
|
module EventType
|
@@ -36,10 +36,14 @@ module Lithic
|
|
36
36
|
# @!method initialize(token:, description:, disabled:, url:, event_types: nil)
|
37
37
|
# A subscription to specific event types.
|
38
38
|
#
|
39
|
-
# @param token [String]
|
40
|
-
#
|
41
|
-
# @param
|
39
|
+
# @param token [String] Globally unique identifier.
|
40
|
+
#
|
41
|
+
# @param description [String] A description of the subscription.
|
42
|
+
#
|
43
|
+
# @param disabled [Boolean] Whether the subscription is disabled.
|
44
|
+
#
|
42
45
|
# @param url [String]
|
46
|
+
#
|
43
47
|
# @param event_types [Array<Symbol, Lithic::Models::EventSubscription::EventType>, nil]
|
44
48
|
|
45
49
|
module EventType
|
@@ -35,10 +35,18 @@ module Lithic
|
|
35
35
|
-> { Lithic::Internal::Type::ArrayOf[enum: Lithic::Models::Events::SubscriptionCreateParams::EventType] }
|
36
36
|
|
37
37
|
# @!method initialize(url:, description: nil, disabled: nil, event_types: nil, request_options: {})
|
38
|
-
#
|
39
|
-
#
|
40
|
-
#
|
41
|
-
# @param
|
38
|
+
# Some parameter documentations has been truncated, see
|
39
|
+
# {Lithic::Models::Events::SubscriptionCreateParams} for more details.
|
40
|
+
#
|
41
|
+
# @param url [String] URL to which event webhooks will be sent. URL must be a valid HTTPS address.
|
42
|
+
#
|
43
|
+
# @param description [String] Event subscription description.
|
44
|
+
#
|
45
|
+
# @param disabled [Boolean] Whether the event subscription is active (false) or inactive (true).
|
46
|
+
#
|
47
|
+
# @param event_types [Array<Symbol, Lithic::Models::Events::SubscriptionCreateParams::EventType>] Indicates types of events that will be sent to this subscription. If left blank,
|
48
|
+
# ...
|
49
|
+
#
|
42
50
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
43
51
|
|
44
52
|
module EventType
|
@@ -48,12 +48,25 @@ module Lithic
|
|
48
48
|
optional :status, enum: -> { Lithic::Models::Events::SubscriptionListAttemptsParams::Status }
|
49
49
|
|
50
50
|
# @!method initialize(begin_: nil, end_: nil, ending_before: nil, page_size: nil, starting_after: nil, status: nil, request_options: {})
|
51
|
-
#
|
52
|
-
#
|
53
|
-
#
|
54
|
-
# @param
|
55
|
-
#
|
51
|
+
# Some parameter documentations has been truncated, see
|
52
|
+
# {Lithic::Models::Events::SubscriptionListAttemptsParams} for more details.
|
53
|
+
#
|
54
|
+
# @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
|
55
|
+
# ...
|
56
|
+
#
|
57
|
+
# @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
|
58
|
+
# ...
|
59
|
+
#
|
60
|
+
# @param ending_before [String] A cursor representing an item's token before which a page of results should end.
|
61
|
+
# ...
|
62
|
+
#
|
63
|
+
# @param page_size [Integer] Page size (for pagination).
|
64
|
+
#
|
65
|
+
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
66
|
+
# ...
|
67
|
+
#
|
56
68
|
# @param status [Symbol, Lithic::Models::Events::SubscriptionListAttemptsParams::Status]
|
69
|
+
#
|
57
70
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
58
71
|
|
59
72
|
module Status
|
@@ -29,9 +29,17 @@ module Lithic
|
|
29
29
|
optional :starting_after, String
|
30
30
|
|
31
31
|
# @!method initialize(ending_before: nil, page_size: nil, starting_after: nil, request_options: {})
|
32
|
-
#
|
33
|
-
#
|
34
|
-
#
|
32
|
+
# Some parameter documentations has been truncated, see
|
33
|
+
# {Lithic::Models::Events::SubscriptionListParams} for more details.
|
34
|
+
#
|
35
|
+
# @param ending_before [String] A cursor representing an item's token before which a page of results should end.
|
36
|
+
# ...
|
37
|
+
#
|
38
|
+
# @param page_size [Integer] Page size (for pagination).
|
39
|
+
#
|
40
|
+
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
41
|
+
# ...
|
42
|
+
#
|
35
43
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
36
44
|
end
|
37
45
|
end
|
@@ -23,8 +23,15 @@ module Lithic
|
|
23
23
|
optional :end_, Time
|
24
24
|
|
25
25
|
# @!method initialize(begin_: nil, end_: nil, request_options: {})
|
26
|
-
#
|
27
|
-
#
|
26
|
+
# Some parameter documentations has been truncated, see
|
27
|
+
# {Lithic::Models::Events::SubscriptionRecoverParams} for more details.
|
28
|
+
#
|
29
|
+
# @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
|
30
|
+
# ...
|
31
|
+
#
|
32
|
+
# @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
|
33
|
+
# ...
|
34
|
+
#
|
28
35
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
29
36
|
end
|
30
37
|
end
|
@@ -23,8 +23,15 @@ module Lithic
|
|
23
23
|
optional :end_, Time
|
24
24
|
|
25
25
|
# @!method initialize(begin_: nil, end_: nil, request_options: {})
|
26
|
-
#
|
27
|
-
#
|
26
|
+
# Some parameter documentations has been truncated, see
|
27
|
+
# {Lithic::Models::Events::SubscriptionReplayMissingParams} for more details.
|
28
|
+
#
|
29
|
+
# @param begin_ [Time] Date string in RFC 3339 format. Only entries created after the specified time wi
|
30
|
+
# ...
|
31
|
+
#
|
32
|
+
# @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
|
33
|
+
# ...
|
34
|
+
#
|
28
35
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
29
36
|
end
|
30
37
|
end
|
@@ -16,7 +16,8 @@ module Lithic
|
|
16
16
|
enum: -> { Lithic::Models::Events::SubscriptionSendSimulatedExampleParams::EventType }
|
17
17
|
|
18
18
|
# @!method initialize(event_type: nil, request_options: {})
|
19
|
-
# @param event_type [Symbol, Lithic::Models::Events::SubscriptionSendSimulatedExampleParams::EventType]
|
19
|
+
# @param event_type [Symbol, Lithic::Models::Events::SubscriptionSendSimulatedExampleParams::EventType] Event type to send example message for.
|
20
|
+
#
|
20
21
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
21
22
|
|
22
23
|
# Event type to send example message for.
|
@@ -35,10 +35,18 @@ module Lithic
|
|
35
35
|
-> { Lithic::Internal::Type::ArrayOf[enum: Lithic::Models::Events::SubscriptionUpdateParams::EventType] }
|
36
36
|
|
37
37
|
# @!method initialize(url:, description: nil, disabled: nil, event_types: nil, request_options: {})
|
38
|
-
#
|
39
|
-
#
|
40
|
-
#
|
41
|
-
# @param
|
38
|
+
# Some parameter documentations has been truncated, see
|
39
|
+
# {Lithic::Models::Events::SubscriptionUpdateParams} for more details.
|
40
|
+
#
|
41
|
+
# @param url [String] URL to which event webhooks will be sent. URL must be a valid HTTPS address.
|
42
|
+
#
|
43
|
+
# @param description [String] Event subscription description.
|
44
|
+
#
|
45
|
+
# @param disabled [Boolean] Whether the event subscription is active (false) or inactive (true).
|
46
|
+
#
|
47
|
+
# @param event_types [Array<Symbol, Lithic::Models::Events::SubscriptionUpdateParams::EventType>] Indicates types of events that will be sent to this subscription. If left blank,
|
48
|
+
# ...
|
49
|
+
#
|
42
50
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
43
51
|
|
44
52
|
module EventType
|
@@ -119,24 +119,48 @@ module Lithic
|
|
119
119
|
required :processor_token, String
|
120
120
|
|
121
121
|
# @!method initialize(account_number:, country:, currency:, financial_account_token:, owner:, owner_type:, routing_number:, type:, verification_method:, processor_token:, account_token: nil, address: nil, company_id: nil, dob: nil, doing_business_as: nil, name: nil, user_defined_id: nil, verification_enforcement: nil, request_options: {})
|
122
|
-
#
|
123
|
-
#
|
124
|
-
#
|
125
|
-
# @param
|
126
|
-
#
|
127
|
-
# @param
|
128
|
-
#
|
129
|
-
#
|
130
|
-
# @param
|
122
|
+
# Some parameter documentations has been truncated, see
|
123
|
+
# {Lithic::Models::ExternalBankAccountCreateParams} for more details.
|
124
|
+
#
|
125
|
+
# @param account_number [String] Account Number
|
126
|
+
#
|
127
|
+
# @param country [String] The country that the bank account is located in using ISO 3166-1. We will only a
|
128
|
+
# ...
|
129
|
+
#
|
130
|
+
# @param currency [String] currency of the external account 3-character alphabetic ISO 4217 code
|
131
|
+
#
|
132
|
+
# @param financial_account_token [String] The financial account token of the operating account to fund the micro deposits
|
133
|
+
#
|
134
|
+
# @param owner [String] Legal Name of the business or individual who owns the external account. This wil
|
135
|
+
# ...
|
136
|
+
#
|
137
|
+
# @param owner_type [Symbol, Lithic::Models::OwnerType] Owner Type
|
138
|
+
#
|
139
|
+
# @param routing_number [String] Routing Number
|
140
|
+
#
|
141
|
+
# @param type [Symbol, Lithic::Models::ExternalBankAccountCreateParams::Type] Account Type
|
142
|
+
#
|
143
|
+
# @param verification_method [Symbol, Lithic::Models::ExternalBankAccountCreateParams::VerificationMethod] Verification Method
|
144
|
+
#
|
131
145
|
# @param processor_token [String]
|
132
|
-
#
|
133
|
-
# @param
|
134
|
-
#
|
135
|
-
#
|
136
|
-
# @param
|
137
|
-
#
|
138
|
-
# @param
|
146
|
+
#
|
147
|
+
# @param account_token [String] Indicates which Lithic account the external account is associated with. For exte
|
148
|
+
# ...
|
149
|
+
#
|
150
|
+
# @param address [Lithic::Models::ExternalBankAccountAddress] Address
|
151
|
+
#
|
152
|
+
# @param company_id [String] Optional field that helps identify bank accounts in receipts
|
153
|
+
#
|
154
|
+
# @param dob [Date] Date of Birth of the Individual that owns the external bank account
|
155
|
+
#
|
156
|
+
# @param doing_business_as [String] Doing Business As
|
157
|
+
#
|
158
|
+
# @param name [String] The nickname for this External Bank Account
|
159
|
+
#
|
160
|
+
# @param user_defined_id [String] User Defined ID
|
161
|
+
#
|
139
162
|
# @param verification_enforcement [Boolean]
|
163
|
+
#
|
140
164
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
141
165
|
|
142
166
|
# Account Type
|
@@ -150,28 +150,59 @@ module Lithic
|
|
150
150
|
optional :verification_failed_reason, String
|
151
151
|
|
152
152
|
# @!method initialize(token:, country:, created:, currency:, last_four:, owner:, owner_type:, routing_number:, state:, type:, verification_attempts:, verification_method:, verification_state:, account_token: nil, address: nil, company_id: nil, dob: nil, doing_business_as: nil, financial_account_token: nil, name: nil, user_defined_id: nil, verification_failed_reason: nil)
|
153
|
-
#
|
154
|
-
#
|
155
|
-
#
|
156
|
-
# @param
|
157
|
-
#
|
158
|
-
#
|
159
|
-
# @param
|
160
|
-
#
|
161
|
-
#
|
162
|
-
# @param
|
163
|
-
#
|
164
|
-
#
|
165
|
-
# @param
|
166
|
-
#
|
167
|
-
# @param
|
168
|
-
#
|
169
|
-
#
|
170
|
-
# @param
|
171
|
-
#
|
172
|
-
#
|
173
|
-
# @param
|
174
|
-
#
|
153
|
+
# Some parameter documentations has been truncated, see
|
154
|
+
# {Lithic::Models::ExternalBankAccountCreateResponse} for more details.
|
155
|
+
#
|
156
|
+
# @param token [String] A globally unique identifier for this record of an external bank account associa
|
157
|
+
# ...
|
158
|
+
#
|
159
|
+
# @param country [String] The country that the bank account is located in using ISO 3166-1. We will only a
|
160
|
+
# ...
|
161
|
+
#
|
162
|
+
# @param created [Time] An ISO 8601 string representing when this funding source was added to the Lithic
|
163
|
+
# ...
|
164
|
+
#
|
165
|
+
# @param currency [String] currency of the external account 3-character alphabetic ISO 4217 code
|
166
|
+
#
|
167
|
+
# @param last_four [String] The last 4 digits of the bank account. Derived by Lithic from the account number
|
168
|
+
# ...
|
169
|
+
#
|
170
|
+
# @param owner [String] Legal Name of the business or individual who owns the external account. This wil
|
171
|
+
# ...
|
172
|
+
#
|
173
|
+
# @param owner_type [Symbol, Lithic::Models::ExternalBankAccountCreateResponse::OwnerType] Owner Type
|
174
|
+
#
|
175
|
+
# @param routing_number [String] Routing Number
|
176
|
+
#
|
177
|
+
# @param state [Symbol, Lithic::Models::ExternalBankAccountCreateResponse::State] Account State
|
178
|
+
#
|
179
|
+
# @param type [Symbol, Lithic::Models::ExternalBankAccountCreateResponse::Type] Account Type
|
180
|
+
#
|
181
|
+
# @param verification_attempts [Integer] The number of attempts at verification
|
182
|
+
#
|
183
|
+
# @param verification_method [Symbol, Lithic::Models::ExternalBankAccountCreateResponse::VerificationMethod] Verification Method
|
184
|
+
#
|
185
|
+
# @param verification_state [Symbol, Lithic::Models::ExternalBankAccountCreateResponse::VerificationState] Verification State
|
186
|
+
#
|
187
|
+
# @param account_token [String] Indicates which Lithic account the external account is associated with. For exte
|
188
|
+
# ...
|
189
|
+
#
|
190
|
+
# @param address [Lithic::Models::ExternalBankAccountAddress] Address
|
191
|
+
#
|
192
|
+
# @param company_id [String] Optional field that helps identify bank accounts in receipts
|
193
|
+
#
|
194
|
+
# @param dob [Date] Date of Birth of the Individual that owns the external bank account
|
195
|
+
#
|
196
|
+
# @param doing_business_as [String] Doing Business As
|
197
|
+
#
|
198
|
+
# @param financial_account_token [String] The financial account token of the operating account to fund the micro deposits
|
199
|
+
#
|
200
|
+
# @param name [String] The nickname for this External Bank Account
|
201
|
+
#
|
202
|
+
# @param user_defined_id [String] User Defined ID
|
203
|
+
#
|
204
|
+
# @param verification_failed_reason [String] Optional free text description of the reason for the failed verification. For AC
|
205
|
+
# ...
|
175
206
|
|
176
207
|
# Owner Type
|
177
208
|
#
|