lithic 0.1.0.pre.alpha.6 → 0.1.0.pre.alpha.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +8 -1
- data/lib/lithic/client.rb +3 -3
- data/lib/lithic/internal/transport/base_client.rb +2 -2
- data/lib/lithic/internal/transport/pooled_net_requester.rb +15 -6
- data/lib/lithic/internal/type/array_of.rb +12 -2
- data/lib/lithic/internal/type/base_model.rb +23 -22
- data/lib/lithic/internal/type/boolean.rb +5 -1
- data/lib/lithic/internal/type/converter.rb +62 -39
- data/lib/lithic/internal/type/enum.rb +13 -9
- data/lib/lithic/internal/type/hash_of.rb +6 -2
- data/lib/lithic/internal/type/io_like.rb +75 -0
- data/lib/lithic/internal/type/request_parameters.rb +11 -2
- data/lib/lithic/internal/type/union.rb +7 -3
- data/lib/lithic/internal/type/unknown.rb +5 -1
- data/lib/lithic/internal/util.rb +81 -26
- data/lib/lithic/models/account.rb +37 -37
- data/lib/lithic/models/account_holder.rb +58 -55
- data/lib/lithic/models/account_holder_create_params.rb +59 -59
- data/lib/lithic/models/account_holder_create_response.rb +6 -6
- data/lib/lithic/models/account_holder_list_params.rb +10 -10
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +2 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -1
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +71 -71
- data/lib/lithic/models/account_holder_update_params.rb +56 -64
- data/lib/lithic/models/account_holder_update_response.rb +75 -75
- data/lib/lithic/models/account_list_params.rb +6 -6
- data/lib/lithic/models/account_spend_limits.rb +6 -6
- data/lib/lithic/models/account_update_params.rb +14 -14
- data/lib/lithic/models/address.rb +5 -5
- data/lib/lithic/models/address_update.rb +3 -3
- data/lib/lithic/models/aggregate_balance.rb +4 -4
- data/lib/lithic/models/auth_rules/auth_rule.rb +6 -6
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +44 -44
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +44 -44
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +10 -10
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_create_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_params.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_update_params.rb +6 -6
- data/lib/lithic/models/auth_rules/v2_update_response.rb +2 -2
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +14 -14
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +5 -5
- data/lib/lithic/models/balance.rb +4 -4
- data/lib/lithic/models/balance_list_params.rb +1 -1
- data/lib/lithic/models/book_transfer_create_params.rb +4 -4
- data/lib/lithic/models/book_transfer_list_params.rb +7 -7
- data/lib/lithic/models/book_transfer_response.rb +14 -14
- data/lib/lithic/models/card.rb +110 -110
- data/lib/lithic/models/card_convert_physical_params.rb +22 -22
- data/lib/lithic/models/card_create_params.rb +93 -93
- data/lib/lithic/models/card_list_params.rb +6 -6
- data/lib/lithic/models/card_program.rb +1 -1
- data/lib/lithic/models/card_program_list_params.rb +2 -2
- data/lib/lithic/models/card_provision_params.rb +11 -11
- data/lib/lithic/models/card_reissue_params.rb +22 -22
- data/lib/lithic/models/card_renew_params.rb +24 -24
- data/lib/lithic/models/card_spend_limits.rb +6 -6
- data/lib/lithic/models/card_update_params.rb +33 -33
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/balance_list_params.rb +2 -2
- data/lib/lithic/models/cards/balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/digital_card_art_list_params.rb +2 -2
- data/lib/lithic/models/dispute.rb +88 -88
- data/lib/lithic/models/dispute_evidence.rb +11 -11
- data/lib/lithic/models/dispute_list_evidences_params.rb +6 -6
- data/lib/lithic/models/dispute_list_params.rb +6 -6
- data/lib/lithic/models/document.rb +6 -6
- data/lib/lithic/models/event.rb +51 -51
- data/lib/lithic/models/event_list_attempts_params.rb +6 -6
- data/lib/lithic/models/event_list_params.rb +6 -6
- data/lib/lithic/models/events/subscription_create_params.rb +1 -1
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +6 -6
- data/lib/lithic/models/events/subscription_list_params.rb +2 -2
- data/lib/lithic/models/events/subscription_recover_params.rb +4 -4
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +4 -4
- data/lib/lithic/models/events/subscription_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_create_params.rb +4 -4
- data/lib/lithic/models/external_bank_account_create_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_list_params.rb +2 -2
- data/lib/lithic/models/external_bank_account_list_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_update_response.rb +11 -11
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +11 -11
- data/lib/lithic/models/external_payment_list_params.rb +7 -7
- data/lib/lithic/models/financial_account_create_params.rb +1 -1
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +4 -4
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/loan_tape.rb +13 -13
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/statement.rb +6 -6
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +2 -1
- data/lib/lithic/models/financial_transaction.rb +35 -34
- data/lib/lithic/models/kyb.rb +47 -47
- data/lib/lithic/models/kyb_business_entity.rb +9 -9
- data/lib/lithic/models/kyc.rb +12 -12
- data/lib/lithic/models/kyc_exempt.rb +4 -4
- data/lib/lithic/models/management_operation_list_params.rb +7 -7
- data/lib/lithic/models/management_operation_transaction.rb +36 -0
- data/lib/lithic/models/message_attempt.rb +1 -1
- data/lib/lithic/models/payment.rb +66 -54
- data/lib/lithic/models/payment_create_params.rb +1 -1
- data/lib/lithic/models/payment_list_params.rb +6 -6
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +7 -7
- data/lib/lithic/models/reports/settlement_list_details_params.rb +2 -2
- data/lib/lithic/models/required_document.rb +2 -2
- data/lib/lithic/models/settlement_detail.rb +5 -5
- data/lib/lithic/models/settlement_report.rb +15 -15
- data/lib/lithic/models/settlement_summary_details.rb +3 -3
- data/lib/lithic/models/shipping_address.rb +9 -9
- data/lib/lithic/models/spend_limit_duration.rb +10 -10
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +97 -97
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +1 -1
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +7 -7
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +1 -1
- data/lib/lithic/models/three_ds/challenge_response.rb +3 -3
- data/lib/lithic/models/tokenization.rb +5 -5
- data/lib/lithic/models/tokenization_list_params.rb +6 -6
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +4 -4
- data/lib/lithic/models/tokenization_simulate_params.rb +3 -3
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +3 -3
- data/lib/lithic/models/transaction.rb +95 -95
- data/lib/lithic/models/transaction_list_params.rb +8 -8
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +1 -1
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +38 -38
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +7 -7
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +4 -4
- data/lib/lithic/models/transaction_simulate_void_params.rb +7 -7
- data/lib/lithic/models/transactions/events/enhanced_data.rb +2 -2
- data/lib/lithic/models/transfer.rb +25 -24
- data/lib/lithic/models/transfer_create_params.rb +4 -4
- data/lib/lithic/request_options.rb +7 -7
- data/lib/lithic/resources/account_holders.rb +52 -52
- data/lib/lithic/resources/accounts.rb +7 -7
- data/lib/lithic/resources/aggregate_balances.rb +1 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +38 -38
- data/lib/lithic/resources/auth_rules/v2.rb +58 -58
- data/lib/lithic/resources/auth_stream_enrollment.rb +8 -8
- data/lib/lithic/resources/book_transfers.rb +2 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +1 -1
- data/lib/lithic/resources/cards.rb +63 -63
- data/lib/lithic/resources/disputes.rb +6 -6
- data/lib/lithic/resources/events/subscriptions.rb +8 -8
- data/lib/lithic/resources/events.rb +2 -2
- data/lib/lithic/resources/external_payments.rb +1 -1
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +1 -1
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +1 -1
- data/lib/lithic/resources/financial_accounts/statements.rb +1 -1
- data/lib/lithic/resources/financial_accounts.rb +1 -1
- data/lib/lithic/resources/management_operations.rb +1 -1
- data/lib/lithic/resources/payments.rb +2 -2
- data/lib/lithic/resources/reports/settlement/network_totals.rb +1 -1
- data/lib/lithic/resources/three_ds/authentication.rb +6 -6
- data/lib/lithic/resources/three_ds/decisioning.rb +8 -8
- data/lib/lithic/resources/tokenization_decisioning.rb +7 -7
- data/lib/lithic/resources/tokenizations.rb +46 -46
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions.rb +24 -24
- data/lib/lithic/resources/transfers.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +1 -0
- data/rbi/lib/lithic/client.rbi +6 -9
- data/rbi/lib/lithic/errors.rbi +3 -6
- data/rbi/lib/lithic/internal/cursor_page.rbi +1 -2
- data/rbi/lib/lithic/internal/single_page.rbi +1 -2
- data/rbi/lib/lithic/internal/transport/base_client.rbi +13 -27
- data/rbi/lib/lithic/internal/transport/pooled_net_requester.rbi +8 -14
- data/rbi/lib/lithic/internal/type/array_of.rbi +16 -22
- data/rbi/lib/lithic/internal/type/base_model.rbi +51 -66
- data/rbi/lib/lithic/internal/type/base_page.rbi +5 -10
- data/rbi/lib/lithic/internal/type/boolean.rbi +16 -10
- data/rbi/lib/lithic/internal/type/converter.rbi +42 -38
- data/rbi/lib/lithic/internal/type/enum.rbi +24 -21
- data/rbi/lib/lithic/internal/type/hash_of.rbi +13 -18
- data/rbi/lib/lithic/internal/type/io_like.rbi +49 -0
- data/rbi/lib/lithic/internal/type/request_parameters.rbi +1 -2
- data/rbi/lib/lithic/internal/type/union.rbi +17 -23
- data/rbi/lib/lithic/internal/type/unknown.rbi +12 -12
- data/rbi/lib/lithic/internal/util.rbi +67 -70
- data/rbi/lib/lithic/internal.rbi +1 -1
- data/rbi/lib/lithic/models/account.rbi +46 -56
- data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/account_holder.rbi +81 -99
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +73 -90
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +9 -12
- data/rbi/lib/lithic/models/account_holder_list_documents_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_documents_response.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_params.rbi +10 -13
- data/rbi/lib/lithic/models/account_holder_retrieve_document_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +6 -11
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +5 -9
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +103 -123
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +68 -94
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +135 -140
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +3 -6
- data/rbi/lib/lithic/models/account_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/account_update_params.rbi +19 -25
- data/rbi/lib/lithic/models/address.rbi +7 -9
- data/rbi/lib/lithic/models/address_update.rbi +5 -7
- data/rbi/lib/lithic/models/aggregate_balance.rbi +7 -11
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/api_status.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +48 -52
- data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +45 -46
- data/rbi/lib/lithic/models/auth_rules/conditional_block_parameters.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +40 -54
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +4 -9
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +3 -6
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +4 -7
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_promote_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_report_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_report_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +19 -24
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +6 -7
- data/rbi/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_secret.rbi +2 -4
- data/rbi/lib/lithic/models/balance.rbi +7 -11
- data/rbi/lib/lithic/models/balance_list_params.rbi +4 -8
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/book_transfer_response.rbi +23 -33
- data/rbi/lib/lithic/models/book_transfer_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/card.rbi +117 -127
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +24 -26
- data/rbi/lib/lithic/models/card_create_params.rbi +98 -104
- data/rbi/lib/lithic/models/card_embed_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/card_program.rbi +3 -6
- data/rbi/lib/lithic/models/card_program_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/card_program_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_provision_params.rbi +14 -18
- data/rbi/lib/lithic/models/card_provision_response.rbi +2 -4
- data/rbi/lib/lithic/models/card_reissue_params.rbi +24 -26
- data/rbi/lib/lithic/models/card_renew_params.rbi +27 -31
- data/rbi/lib/lithic/models/card_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/card_update_params.rbi +37 -42
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +2 -4
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +6 -9
- data/rbi/lib/lithic/models/cards/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/cards/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/carrier.rbi +2 -4
- data/rbi/lib/lithic/models/client_api_status_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +4 -8
- data/rbi/lib/lithic/models/digital_card_art.rbi +2 -4
- data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/digital_card_art_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute.rbi +93 -99
- data/rbi/lib/lithic/models/dispute_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_evidence.rbi +13 -15
- data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +5 -6
- data/rbi/lib/lithic/models/dispute_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/dispute_retrieve_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/document.rbi +13 -21
- data/rbi/lib/lithic/models/event.rbi +58 -61
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/event_subscription.rbi +3 -6
- data/rbi/lib/lithic/models/events/event_subscription_resend_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +4 -7
- data/rbi/lib/lithic/models/events/subscription_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/events/subscription_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +3 -6
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +4 -7
- data/rbi/lib/lithic/models/external_bank_account_address.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +7 -13
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +16 -22
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +4 -8
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_payment.rbi +10 -21
- data/rbi/lib/lithic/models/external_payment_cancel_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/external_payment_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_settle_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account.rbi +9 -20
- data/rbi/lib/lithic/models/financial_account_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +4 -8
- data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -5
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +4 -9
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +51 -91
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +30 -56
- data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +6 -9
- data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +3 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -14
- data/rbi/lib/lithic/models/financial_accounts/statements.rbi +2 -4
- data/rbi/lib/lithic/models/financial_transaction.rbi +44 -53
- data/rbi/lib/lithic/models/instance_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/kyb.rbi +58 -72
- data/rbi/lib/lithic/models/kyb_business_entity.rbi +13 -18
- data/rbi/lib/lithic/models/kyc.rbi +17 -22
- data/rbi/lib/lithic/models/kyc_exempt.rbi +8 -13
- data/rbi/lib/lithic/models/management_operation_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +9 -14
- data/rbi/lib/lithic/models/management_operation_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_transaction.rbi +60 -20
- data/rbi/lib/lithic/models/message_attempt.rbi +3 -5
- data/rbi/lib/lithic/models/owner_type.rbi +1 -2
- data/rbi/lib/lithic/models/payment.rbi +85 -89
- data/rbi/lib/lithic/models/payment_create_params.rbi +8 -16
- data/rbi/lib/lithic/models/payment_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +4 -8
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +3 -6
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +8 -12
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +4 -6
- data/rbi/lib/lithic/models/reports/settlement_summary_params.rbi +2 -4
- data/rbi/lib/lithic/models/required_document.rbi +4 -6
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_status.rbi +2 -4
- data/rbi/lib/lithic/models/settlement_detail.rbi +11 -18
- data/rbi/lib/lithic/models/settlement_report.rbi +17 -20
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +6 -10
- data/rbi/lib/lithic/models/shipping_address.rbi +11 -14
- data/rbi/lib/lithic/models/spend_limit_duration.rbi +11 -12
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +137 -176
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +14 -21
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +5 -7
- data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -2
- data/rbi/lib/lithic/models/three_ds/decisioning_challenge_response_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization.rbi +14 -24
- data/rbi/lib/lithic/models/tokenization_activate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_deactivate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/tokenization_pause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -10
- data/rbi/lib/lithic/models/tokenization_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_secret.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +7 -12
- data/rbi/lib/lithic/models/tokenization_simulate_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_unpause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +5 -7
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction.rbi +168 -236
- data/rbi/lib/lithic/models/transaction_expire_authorization_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_list_params.rbi +10 -15
- data/rbi/lib/lithic/models/transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +41 -45
- data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +9 -11
- data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +6 -8
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +10 -13
- data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +21 -35
- data/rbi/lib/lithic/models/transfer.rbi +34 -43
- data/rbi/lib/lithic/models/transfer_create_params.rbi +6 -8
- data/rbi/lib/lithic/models/verification_method.rbi +1 -2
- data/rbi/lib/lithic/request_options.rbi +9 -11
- data/rbi/lib/lithic/resources/account_holders.rbi +118 -145
- data/rbi/lib/lithic/resources/accounts.rbi +26 -35
- data/rbi/lib/lithic/resources/aggregate_balances.rbi +3 -6
- data/rbi/lib/lithic/resources/auth_rules/v2/backtests.rbi +40 -45
- data/rbi/lib/lithic/resources/auth_rules/v2.rbi +69 -88
- data/rbi/lib/lithic/resources/auth_rules.rbi +1 -2
- data/rbi/lib/lithic/resources/auth_stream_enrollment.rbi +11 -14
- data/rbi/lib/lithic/resources/balances.rbi +3 -6
- data/rbi/lib/lithic/resources/book_transfers.rbi +15 -24
- data/rbi/lib/lithic/resources/card_programs.rbi +5 -10
- data/rbi/lib/lithic/resources/cards/aggregate_balances.rbi +2 -5
- data/rbi/lib/lithic/resources/cards/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/cards/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/cards.rbi +215 -236
- data/rbi/lib/lithic/resources/credit_products/extended_credit.rbi +2 -5
- data/rbi/lib/lithic/resources/credit_products/prime_rates.rbi +3 -8
- data/rbi/lib/lithic/resources/credit_products.rbi +1 -2
- data/rbi/lib/lithic/resources/digital_card_art.rbi +8 -13
- data/rbi/lib/lithic/resources/disputes.rbi +22 -37
- data/rbi/lib/lithic/resources/events/event_subscriptions.rbi +2 -4
- data/rbi/lib/lithic/resources/events/subscriptions.rbi +29 -48
- data/rbi/lib/lithic/resources/events.rbi +12 -18
- data/rbi/lib/lithic/resources/external_bank_accounts/micro_deposits.rbi +2 -4
- data/rbi/lib/lithic/resources/external_bank_accounts.rbi +18 -23
- data/rbi/lib/lithic/resources/external_payments.rbi +13 -28
- data/rbi/lib/lithic/resources/financial_accounts/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/financial_accounts/credit_configuration.rbi +3 -8
- data/rbi/lib/lithic/resources/financial_accounts/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/loan_tapes.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/statements/line_items.rbi +5 -8
- data/rbi/lib/lithic/resources/financial_accounts/statements.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts.rbi +7 -16
- data/rbi/lib/lithic/resources/management_operations.rbi +10 -19
- data/rbi/lib/lithic/resources/payments.rbi +14 -29
- data/rbi/lib/lithic/resources/reports/settlement/network_totals.rbi +8 -13
- data/rbi/lib/lithic/resources/reports/settlement.rbi +5 -10
- data/rbi/lib/lithic/resources/reports.rbi +1 -2
- data/rbi/lib/lithic/resources/responder_endpoints.rbi +4 -11
- data/rbi/lib/lithic/resources/three_ds/authentication.rbi +12 -19
- data/rbi/lib/lithic/resources/three_ds/decisioning.rbi +15 -20
- data/rbi/lib/lithic/resources/three_ds.rbi +1 -2
- data/rbi/lib/lithic/resources/tokenization_decisioning.rbi +10 -13
- data/rbi/lib/lithic/resources/tokenizations.rbi +66 -85
- data/rbi/lib/lithic/resources/transactions/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events.rbi +1 -2
- data/rbi/lib/lithic/resources/transactions.rbi +79 -100
- data/rbi/lib/lithic/resources/transfers.rbi +7 -10
- data/sig/lithic/internal/transport/pooled_net_requester.rbs +1 -1
- data/sig/lithic/internal/type/array_of.rbs +5 -2
- data/sig/lithic/internal/type/base_model.rbs +5 -2
- data/sig/lithic/internal/type/boolean.rbs +5 -2
- data/sig/lithic/internal/type/converter.rbs +11 -5
- data/sig/lithic/internal/type/enum.rbs +5 -2
- data/sig/lithic/internal/type/hash_of.rbs +5 -2
- data/sig/lithic/internal/type/io_like.rbs +23 -0
- data/sig/lithic/internal/type/union.rbs +5 -2
- data/sig/lithic/internal/type/unknown.rbs +5 -2
- data/sig/lithic/internal/util.rbs +17 -2
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/management_operation_transaction.rbs +27 -0
- data/sig/lithic/models/payment.rbs +8 -2
- data/sig/lithic/models/transfer.rbs +2 -0
- metadata +5 -2
@@ -30,9 +30,7 @@ module Lithic
|
|
30
30
|
progress_to: nil,
|
31
31
|
user_defined_id: nil,
|
32
32
|
request_options: {}
|
33
|
-
)
|
34
|
-
end
|
35
|
-
|
33
|
+
); end
|
36
34
|
# Get external payment
|
37
35
|
sig do
|
38
36
|
params(
|
@@ -45,9 +43,7 @@ module Lithic
|
|
45
43
|
# Globally unique identifier for the external payment
|
46
44
|
external_payment_token,
|
47
45
|
request_options: {}
|
48
|
-
)
|
49
|
-
end
|
50
|
-
|
46
|
+
); end
|
51
47
|
# List external payments
|
52
48
|
sig do
|
53
49
|
params(
|
@@ -67,33 +63,31 @@ module Lithic
|
|
67
63
|
end
|
68
64
|
def list(
|
69
65
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
70
|
-
#
|
66
|
+
# will be included. UTC time zone.
|
71
67
|
begin_: nil,
|
72
68
|
business_account_token: nil,
|
73
69
|
# External Payment category to be returned.
|
74
70
|
category: nil,
|
75
71
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
76
|
-
#
|
72
|
+
# will be included. UTC time zone.
|
77
73
|
end_: nil,
|
78
74
|
# A cursor representing an item's token before which a page of results should end.
|
79
|
-
#
|
75
|
+
# Used to retrieve the previous page of results before this item.
|
80
76
|
ending_before: nil,
|
81
77
|
# Globally unique identifier for the financial account or card that will send the
|
82
|
-
#
|
78
|
+
# funds. Accepted type dependent on the program's use case.
|
83
79
|
financial_account_token: nil,
|
84
80
|
# Page size (for pagination).
|
85
81
|
page_size: nil,
|
86
82
|
# External Payment result to be returned.
|
87
83
|
result: nil,
|
88
84
|
# A cursor representing an item's token after which a page of results should
|
89
|
-
#
|
85
|
+
# begin. Used to retrieve the next page of results after this item.
|
90
86
|
starting_after: nil,
|
91
87
|
# Book transfer status to be returned.
|
92
88
|
status: nil,
|
93
89
|
request_options: {}
|
94
|
-
)
|
95
|
-
end
|
96
|
-
|
90
|
+
); end
|
97
91
|
# Cancel external payment
|
98
92
|
sig do
|
99
93
|
params(
|
@@ -110,9 +104,7 @@ module Lithic
|
|
110
104
|
effective_date:,
|
111
105
|
memo: nil,
|
112
106
|
request_options: {}
|
113
|
-
)
|
114
|
-
end
|
115
|
-
|
107
|
+
); end
|
116
108
|
# Release external payment
|
117
109
|
sig do
|
118
110
|
params(
|
@@ -129,9 +121,7 @@ module Lithic
|
|
129
121
|
effective_date:,
|
130
122
|
memo: nil,
|
131
123
|
request_options: {}
|
132
|
-
)
|
133
|
-
end
|
134
|
-
|
124
|
+
); end
|
135
125
|
# Reverse external payment
|
136
126
|
sig do
|
137
127
|
params(
|
@@ -148,9 +138,7 @@ module Lithic
|
|
148
138
|
effective_date:,
|
149
139
|
memo: nil,
|
150
140
|
request_options: {}
|
151
|
-
)
|
152
|
-
end
|
153
|
-
|
141
|
+
); end
|
154
142
|
# Settle external payment
|
155
143
|
sig do
|
156
144
|
params(
|
@@ -169,13 +157,10 @@ module Lithic
|
|
169
157
|
memo: nil,
|
170
158
|
progress_to: nil,
|
171
159
|
request_options: {}
|
172
|
-
)
|
173
|
-
end
|
174
|
-
|
160
|
+
); end
|
175
161
|
# @api private
|
176
162
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
177
|
-
def self.new(client:)
|
178
|
-
end
|
163
|
+
def self.new(client:); end
|
179
164
|
end
|
180
165
|
end
|
181
166
|
end
|
@@ -20,17 +20,14 @@ module Lithic
|
|
20
20
|
# UTC date of the balance to retrieve. Defaults to latest available balance
|
21
21
|
balance_date: nil,
|
22
22
|
# Balance after a given financial event occured. For example, passing the
|
23
|
-
#
|
24
|
-
#
|
23
|
+
# event_token of a $5 CARD_CLEARING financial event will return a balance
|
24
|
+
# decreased by $5
|
25
25
|
last_transaction_event_token: nil,
|
26
26
|
request_options: {}
|
27
|
-
)
|
28
|
-
end
|
29
|
-
|
27
|
+
); end
|
30
28
|
# @api private
|
31
29
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
32
|
-
def self.new(client:)
|
33
|
-
end
|
30
|
+
def self.new(client:); end
|
34
31
|
end
|
35
32
|
end
|
36
33
|
end
|
@@ -16,9 +16,7 @@ module Lithic
|
|
16
16
|
# Globally unique identifier for financial account.
|
17
17
|
financial_account_token,
|
18
18
|
request_options: {}
|
19
|
-
)
|
20
|
-
end
|
21
|
-
|
19
|
+
); end
|
22
20
|
# Update an account's credit configuration
|
23
21
|
sig do
|
24
22
|
params(
|
@@ -41,13 +39,10 @@ module Lithic
|
|
41
39
|
# Tier to assign to a financial account
|
42
40
|
tier: 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
|
@@ -19,9 +19,7 @@ module Lithic
|
|
19
19
|
# Globally unique identifier for financial account.
|
20
20
|
financial_account_token:,
|
21
21
|
request_options: {}
|
22
|
-
)
|
23
|
-
end
|
24
|
-
|
22
|
+
); end
|
25
23
|
# List the financial transactions for a given financial account.
|
26
24
|
sig do
|
27
25
|
params(
|
@@ -41,31 +39,28 @@ module Lithic
|
|
41
39
|
# Globally unique identifier for financial account.
|
42
40
|
financial_account_token,
|
43
41
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
44
|
-
#
|
42
|
+
# will be included. UTC time zone.
|
45
43
|
begin_: nil,
|
46
44
|
# Financial Transaction category to be returned.
|
47
45
|
category: nil,
|
48
46
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
49
|
-
#
|
47
|
+
# will be included. UTC time zone.
|
50
48
|
end_: nil,
|
51
49
|
# A cursor representing an item's token before which a page of results should end.
|
52
|
-
#
|
50
|
+
# Used to retrieve the previous page of results before this item.
|
53
51
|
ending_before: nil,
|
54
52
|
# Financial Transaction result to be returned.
|
55
53
|
result: nil,
|
56
54
|
# A cursor representing an item's token after which a page of results should
|
57
|
-
#
|
55
|
+
# begin. Used to retrieve the next page of results after this item.
|
58
56
|
starting_after: nil,
|
59
57
|
# Financial Transaction status to be returned.
|
60
58
|
status: nil,
|
61
59
|
request_options: {}
|
62
|
-
)
|
63
|
-
end
|
64
|
-
|
60
|
+
); end
|
65
61
|
# @api private
|
66
62
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
67
|
-
def self.new(client:)
|
68
|
-
end
|
63
|
+
def self.new(client:); end
|
69
64
|
end
|
70
65
|
end
|
71
66
|
end
|
@@ -19,9 +19,7 @@ module Lithic
|
|
19
19
|
# Globally unique identifier for financial account.
|
20
20
|
financial_account_token:,
|
21
21
|
request_options: {}
|
22
|
-
)
|
23
|
-
end
|
24
|
-
|
22
|
+
); end
|
25
23
|
# List the loan tapes for a given financial account.
|
26
24
|
sig do
|
27
25
|
params(
|
@@ -39,27 +37,24 @@ module Lithic
|
|
39
37
|
# Globally unique identifier for financial account.
|
40
38
|
financial_account_token,
|
41
39
|
# Date string in RFC 3339 format. Only entries created after the specified date
|
42
|
-
#
|
40
|
+
# will be included.
|
43
41
|
begin_: nil,
|
44
42
|
# Date string in RFC 3339 format. Only entries created before the specified date
|
45
|
-
#
|
43
|
+
# will be included.
|
46
44
|
end_: nil,
|
47
45
|
# A cursor representing an item's token before which a page of results should end.
|
48
|
-
#
|
46
|
+
# Used to retrieve the previous page of results before this item.
|
49
47
|
ending_before: nil,
|
50
48
|
# Page size (for pagination).
|
51
49
|
page_size: nil,
|
52
50
|
# A cursor representing an item's token after which a page of results should
|
53
|
-
#
|
51
|
+
# begin. Used to retrieve the next page of results after this item.
|
54
52
|
starting_after: nil,
|
55
53
|
request_options: {}
|
56
|
-
)
|
57
|
-
end
|
58
|
-
|
54
|
+
); end
|
59
55
|
# @api private
|
60
56
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
61
|
-
def self.new(client:)
|
62
|
-
end
|
57
|
+
def self.new(client:); end
|
63
58
|
end
|
64
59
|
end
|
65
60
|
end
|
@@ -25,22 +25,19 @@ module Lithic
|
|
25
25
|
# Path param: Globally unique identifier for financial account.
|
26
26
|
financial_account_token:,
|
27
27
|
# Query param: A cursor representing an item's token before which a page of
|
28
|
-
#
|
29
|
-
#
|
28
|
+
# results should end. Used to retrieve the previous page of results before this
|
29
|
+
# item.
|
30
30
|
ending_before: nil,
|
31
31
|
# Query param: Page size (for pagination).
|
32
32
|
page_size: nil,
|
33
33
|
# Query param: A cursor representing an item's token after which a page of results
|
34
|
-
#
|
34
|
+
# should begin. Used to retrieve the next page of results after this item.
|
35
35
|
starting_after: nil,
|
36
36
|
request_options: {}
|
37
|
-
)
|
38
|
-
end
|
39
|
-
|
37
|
+
); end
|
40
38
|
# @api private
|
41
39
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
42
|
-
def self.new(client:)
|
43
|
-
end
|
40
|
+
def self.new(client:); end
|
44
41
|
end
|
45
42
|
end
|
46
43
|
end
|
@@ -22,9 +22,7 @@ module Lithic
|
|
22
22
|
# Globally unique identifier for financial account.
|
23
23
|
financial_account_token:,
|
24
24
|
request_options: {}
|
25
|
-
)
|
26
|
-
end
|
27
|
-
|
25
|
+
); end
|
28
26
|
# List the statements for a given financial account.
|
29
27
|
sig do
|
30
28
|
params(
|
@@ -43,29 +41,26 @@ module Lithic
|
|
43
41
|
# Globally unique identifier for financial account.
|
44
42
|
financial_account_token,
|
45
43
|
# Date string in RFC 3339 format. Only entries created after the specified date
|
46
|
-
#
|
44
|
+
# will be included.
|
47
45
|
begin_: nil,
|
48
46
|
# Date string in RFC 3339 format. Only entries created before the specified date
|
49
|
-
#
|
47
|
+
# will be included.
|
50
48
|
end_: nil,
|
51
49
|
# A cursor representing an item's token before which a page of results should end.
|
52
|
-
#
|
50
|
+
# Used to retrieve the previous page of results before this item.
|
53
51
|
ending_before: nil,
|
54
52
|
# Whether to include the initial statement. It is not included by default.
|
55
53
|
include_initial_statements: nil,
|
56
54
|
# Page size (for pagination).
|
57
55
|
page_size: nil,
|
58
56
|
# A cursor representing an item's token after which a page of results should
|
59
|
-
#
|
57
|
+
# begin. Used to retrieve the next page of results after this item.
|
60
58
|
starting_after: nil,
|
61
59
|
request_options: {}
|
62
|
-
)
|
63
|
-
end
|
64
|
-
|
60
|
+
); end
|
65
61
|
# @api private
|
66
62
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
67
|
-
def self.new(client:)
|
68
|
-
end
|
63
|
+
def self.new(client:); end
|
69
64
|
end
|
70
65
|
end
|
71
66
|
end
|
@@ -42,9 +42,7 @@ module Lithic
|
|
42
42
|
# Header param:
|
43
43
|
idempotency_key: nil,
|
44
44
|
request_options: {}
|
45
|
-
)
|
46
|
-
end
|
47
|
-
|
45
|
+
); end
|
48
46
|
# Get a financial account
|
49
47
|
sig do
|
50
48
|
params(
|
@@ -53,8 +51,7 @@ module Lithic
|
|
53
51
|
)
|
54
52
|
.returns(Lithic::Models::FinancialAccount)
|
55
53
|
end
|
56
|
-
def retrieve(financial_account_token, request_options: {})
|
57
|
-
end
|
54
|
+
def retrieve(financial_account_token, request_options: {}); end
|
58
55
|
|
59
56
|
# Update a financial account
|
60
57
|
sig do
|
@@ -65,11 +62,10 @@ module Lithic
|
|
65
62
|
)
|
66
63
|
.returns(Lithic::Models::FinancialAccount)
|
67
64
|
end
|
68
|
-
def update(financial_account_token, nickname: nil, request_options: {})
|
69
|
-
end
|
65
|
+
def update(financial_account_token, nickname: nil, request_options: {}); end
|
70
66
|
|
71
67
|
# Retrieve information on your financial accounts including routing and account
|
72
|
-
#
|
68
|
+
# number.
|
73
69
|
sig do
|
74
70
|
params(
|
75
71
|
account_token: String,
|
@@ -87,9 +83,7 @@ module Lithic
|
|
87
83
|
# List financial accounts of a given type
|
88
84
|
type: nil,
|
89
85
|
request_options: {}
|
90
|
-
)
|
91
|
-
end
|
92
|
-
|
86
|
+
); end
|
93
87
|
# Update financial account status
|
94
88
|
sig do
|
95
89
|
params(
|
@@ -108,13 +102,10 @@ module Lithic
|
|
108
102
|
# Substatus for the financial account
|
109
103
|
substatus:,
|
110
104
|
request_options: {}
|
111
|
-
)
|
112
|
-
end
|
113
|
-
|
105
|
+
); end
|
114
106
|
# @api private
|
115
107
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
116
|
-
def self.new(client:)
|
117
|
-
end
|
108
|
+
def self.new(client:); end
|
118
109
|
end
|
119
110
|
end
|
120
111
|
end
|
@@ -32,9 +32,7 @@ module Lithic
|
|
32
32
|
subtype: nil,
|
33
33
|
user_defined_id: nil,
|
34
34
|
request_options: {}
|
35
|
-
)
|
36
|
-
end
|
37
|
-
|
35
|
+
); end
|
38
36
|
# Get management operation
|
39
37
|
sig do
|
40
38
|
params(
|
@@ -47,9 +45,7 @@ module Lithic
|
|
47
45
|
# Globally unique identifier for the management operation
|
48
46
|
management_operation_token,
|
49
47
|
request_options: {}
|
50
|
-
)
|
51
|
-
end
|
52
|
-
|
48
|
+
); end
|
53
49
|
# List management operations
|
54
50
|
sig do
|
55
51
|
params(
|
@@ -68,31 +64,29 @@ module Lithic
|
|
68
64
|
end
|
69
65
|
def list(
|
70
66
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
71
|
-
#
|
67
|
+
# will be included. UTC time zone.
|
72
68
|
begin_: nil,
|
73
69
|
business_account_token: nil,
|
74
70
|
# Management operation category to be returned.
|
75
71
|
category: nil,
|
76
72
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
77
|
-
#
|
73
|
+
# will be included. UTC time zone.
|
78
74
|
end_: nil,
|
79
75
|
# A cursor representing an item's token before which a page of results should end.
|
80
|
-
#
|
76
|
+
# Used to retrieve the previous page of results before this item.
|
81
77
|
ending_before: nil,
|
82
78
|
# Globally unique identifier for the financial account. Accepted type dependent on
|
83
|
-
#
|
79
|
+
# the program's use case.
|
84
80
|
financial_account_token: nil,
|
85
81
|
# Page size (for pagination).
|
86
82
|
page_size: nil,
|
87
83
|
# A cursor representing an item's token after which a page of results should
|
88
|
-
#
|
84
|
+
# begin. Used to retrieve the next page of results after this item.
|
89
85
|
starting_after: nil,
|
90
86
|
# Management operation status to be returned.
|
91
87
|
status: nil,
|
92
88
|
request_options: {}
|
93
|
-
)
|
94
|
-
end
|
95
|
-
|
89
|
+
); end
|
96
90
|
# Reverse a management operation
|
97
91
|
sig do
|
98
92
|
params(
|
@@ -109,13 +103,10 @@ module Lithic
|
|
109
103
|
effective_date:,
|
110
104
|
memo: nil,
|
111
105
|
request_options: {}
|
112
|
-
)
|
113
|
-
end
|
114
|
-
|
106
|
+
); end
|
115
107
|
# @api private
|
116
108
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
117
|
-
def self.new(client:)
|
118
|
-
end
|
109
|
+
def self.new(client:); end
|
119
110
|
end
|
120
111
|
end
|
121
112
|
end
|
@@ -27,14 +27,12 @@ module Lithic
|
|
27
27
|
method_attributes:,
|
28
28
|
type:,
|
29
29
|
# Customer-provided token that will serve as an idempotency token. This token will
|
30
|
-
#
|
30
|
+
# become the transaction token.
|
31
31
|
token: nil,
|
32
32
|
memo: nil,
|
33
33
|
user_defined_id: nil,
|
34
34
|
request_options: {}
|
35
|
-
)
|
36
|
-
end
|
37
|
-
|
35
|
+
); end
|
38
36
|
# Get the payment by token.
|
39
37
|
sig do
|
40
38
|
params(
|
@@ -43,8 +41,7 @@ module Lithic
|
|
43
41
|
)
|
44
42
|
.returns(Lithic::Models::Payment)
|
45
43
|
end
|
46
|
-
def retrieve(payment_token, request_options: {})
|
47
|
-
end
|
44
|
+
def retrieve(payment_token, request_options: {}); end
|
48
45
|
|
49
46
|
# List all the payments for the provided search criteria.
|
50
47
|
sig do
|
@@ -67,28 +64,26 @@ module Lithic
|
|
67
64
|
def list(
|
68
65
|
account_token: nil,
|
69
66
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
70
|
-
#
|
67
|
+
# will be included. UTC time zone.
|
71
68
|
begin_: nil,
|
72
69
|
business_account_token: nil,
|
73
70
|
category: nil,
|
74
71
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
75
|
-
#
|
72
|
+
# will be included. UTC time zone.
|
76
73
|
end_: nil,
|
77
74
|
# A cursor representing an item's token before which a page of results should end.
|
78
|
-
#
|
75
|
+
# Used to retrieve the previous page of results before this item.
|
79
76
|
ending_before: nil,
|
80
77
|
financial_account_token: nil,
|
81
78
|
# Page size (for pagination).
|
82
79
|
page_size: nil,
|
83
80
|
result: nil,
|
84
81
|
# A cursor representing an item's token after which a page of results should
|
85
|
-
#
|
82
|
+
# begin. Used to retrieve the next page of results after this item.
|
86
83
|
starting_after: nil,
|
87
84
|
status: nil,
|
88
85
|
request_options: {}
|
89
|
-
)
|
90
|
-
end
|
91
|
-
|
86
|
+
); end
|
92
87
|
# Retry an origination which has been returned.
|
93
88
|
sig do
|
94
89
|
params(
|
@@ -97,8 +92,7 @@ module Lithic
|
|
97
92
|
)
|
98
93
|
.returns(Lithic::Models::PaymentRetryResponse)
|
99
94
|
end
|
100
|
-
def retry_(payment_token, request_options: {})
|
101
|
-
end
|
95
|
+
def retry_(payment_token, request_options: {}); end
|
102
96
|
|
103
97
|
# Simulate payment lifecycle event
|
104
98
|
sig do
|
@@ -120,9 +114,7 @@ module Lithic
|
|
120
114
|
# Return Reason Code
|
121
115
|
return_reason_code: nil,
|
122
116
|
request_options: {}
|
123
|
-
)
|
124
|
-
end
|
125
|
-
|
117
|
+
); end
|
126
118
|
# Simulates a receipt of a Payment.
|
127
119
|
sig do
|
128
120
|
params(
|
@@ -147,9 +139,7 @@ module Lithic
|
|
147
139
|
# Memo
|
148
140
|
memo: nil,
|
149
141
|
request_options: {}
|
150
|
-
)
|
151
|
-
end
|
152
|
-
|
142
|
+
); end
|
153
143
|
# Simulates a release of a Payment.
|
154
144
|
sig do
|
155
145
|
params(
|
@@ -162,9 +152,7 @@ module Lithic
|
|
162
152
|
# Payment Token
|
163
153
|
payment_token:,
|
164
154
|
request_options: {}
|
165
|
-
)
|
166
|
-
end
|
167
|
-
|
155
|
+
); end
|
168
156
|
# Simulates a return of a Payment.
|
169
157
|
sig do
|
170
158
|
params(
|
@@ -180,13 +168,10 @@ module Lithic
|
|
180
168
|
# Return Reason Code
|
181
169
|
return_reason_code: nil,
|
182
170
|
request_options: {}
|
183
|
-
)
|
184
|
-
end
|
185
|
-
|
171
|
+
); end
|
186
172
|
# @api private
|
187
173
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
188
|
-
def self.new(client:)
|
189
|
-
end
|
174
|
+
def self.new(client:); end
|
190
175
|
end
|
191
176
|
end
|
192
177
|
end
|
@@ -17,9 +17,7 @@ module Lithic
|
|
17
17
|
# Token of the network total record to retrieve
|
18
18
|
token,
|
19
19
|
request_options: {}
|
20
|
-
)
|
21
|
-
end
|
22
|
-
|
20
|
+
); end
|
23
21
|
# List network total records with optional filters. Not available in sandbox.
|
24
22
|
sig do
|
25
23
|
params(
|
@@ -40,13 +38,13 @@ module Lithic
|
|
40
38
|
end
|
41
39
|
def list(
|
42
40
|
# Datetime in RFC 3339 format. Only entries created after the specified time will
|
43
|
-
#
|
41
|
+
# be included. UTC time zone.
|
44
42
|
begin_: nil,
|
45
43
|
# Datetime in RFC 3339 format. Only entries created before the specified time will
|
46
|
-
#
|
44
|
+
# be included. UTC time zone.
|
47
45
|
end_: nil,
|
48
46
|
# A cursor representing an item's token before which a page of results should end.
|
49
|
-
#
|
47
|
+
# Used to retrieve the previous page of results before this item.
|
50
48
|
ending_before: nil,
|
51
49
|
# Institution ID to filter on.
|
52
50
|
institution_id: nil,
|
@@ -55,7 +53,7 @@ module Lithic
|
|
55
53
|
# Number of records per page.
|
56
54
|
page_size: nil,
|
57
55
|
# Singular report date to filter on (YYYY-MM-DD). Cannot be populated in
|
58
|
-
#
|
56
|
+
# conjunction with report_date_begin or report_date_end.
|
59
57
|
report_date: nil,
|
60
58
|
# Earliest report date to filter on, inclusive (YYYY-MM-DD).
|
61
59
|
report_date_begin: nil,
|
@@ -64,16 +62,13 @@ module Lithic
|
|
64
62
|
# Settlement institution ID to filter on.
|
65
63
|
settlement_institution_id: nil,
|
66
64
|
# A cursor representing an item's token after which a page of results should
|
67
|
-
#
|
65
|
+
# begin. Used to retrieve the next page of results after this item.
|
68
66
|
starting_after: nil,
|
69
67
|
request_options: {}
|
70
|
-
)
|
71
|
-
end
|
72
|
-
|
68
|
+
); end
|
73
69
|
# @api private
|
74
70
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
75
|
-
def self.new(client:)
|
76
|
-
end
|
71
|
+
def self.new(client:); end
|
77
72
|
end
|
78
73
|
end
|
79
74
|
end
|
@@ -22,17 +22,15 @@ module Lithic
|
|
22
22
|
# Date of the settlement report to retrieve. Not available in sandbox.
|
23
23
|
report_date,
|
24
24
|
# A cursor representing an item's token before which a page of results should end.
|
25
|
-
#
|
25
|
+
# Used to retrieve the previous page of results before this item.
|
26
26
|
ending_before: nil,
|
27
27
|
# Page size (for pagination).
|
28
28
|
page_size: nil,
|
29
29
|
# A cursor representing an item's token after which a page of results should
|
30
|
-
#
|
30
|
+
# begin. Used to retrieve the next page of results after this item.
|
31
31
|
starting_after: nil,
|
32
32
|
request_options: {}
|
33
|
-
)
|
34
|
-
end
|
35
|
-
|
33
|
+
); end
|
36
34
|
# Get the settlement report for a specified report date. Not available in sandbox.
|
37
35
|
sig do
|
38
36
|
params(
|
@@ -45,13 +43,10 @@ module Lithic
|
|
45
43
|
# Date of the settlement report to retrieve.
|
46
44
|
report_date,
|
47
45
|
request_options: {}
|
48
|
-
)
|
49
|
-
end
|
50
|
-
|
46
|
+
); end
|
51
47
|
# @api private
|
52
48
|
sig { params(client: Lithic::Client).returns(T.attached_class) }
|
53
|
-
def self.new(client:)
|
54
|
-
end
|
49
|
+
def self.new(client:); end
|
55
50
|
end
|
56
51
|
end
|
57
52
|
end
|