lithic 0.1.0.pre.alpha.19 → 0.1.0.pre.alpha.21
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 +43 -0
- data/README.md +5 -5
- data/lib/lithic/errors.rb +9 -9
- data/lib/lithic/internal/cursor_page.rb +2 -2
- data/lib/lithic/internal/single_page.rb +2 -2
- data/lib/lithic/internal/transport/base_client.rb +3 -3
- data/lib/lithic/internal/type/base_model.rb +1 -9
- data/lib/lithic/internal/type/boolean.rb +10 -11
- data/lib/lithic/internal/type/enum.rb +10 -11
- data/lib/lithic/internal/type/request_parameters.rb +2 -8
- data/lib/lithic/internal/type/unknown.rb +10 -11
- data/lib/lithic/internal/util.rb +19 -3
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +1 -0
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +133 -6
- data/lib/lithic/models/auth_rules/v2_create_params.rb +67 -3
- data/lib/lithic/models/auth_rules/v2_create_response.rb +133 -6
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +66 -3
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +133 -6
- data/lib/lithic/models/auth_rules/v2_list_params.rb +21 -1
- data/lib/lithic/models/auth_rules/v2_list_response.rb +133 -6
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +133 -6
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +137 -6
- data/lib/lithic/models/auth_rules/v2_update_response.rb +133 -6
- data/lib/lithic/models/book_transfer_create_params.rb +1 -0
- data/lib/lithic/models/card_embed_response.rb +7 -0
- data/lib/lithic/models/currency.rb +7 -0
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +1 -0
- data/lib/lithic/models/financial_transaction.rb +1 -0
- data/lib/lithic/models/transfer.rb +1 -0
- data/lib/lithic/models.rb +328 -0
- data/lib/lithic/request_options.rb +4 -5
- data/lib/lithic/resources/account_holders.rb +1 -1
- data/lib/lithic/resources/auth_rules/v2.rb +5 -3
- data/lib/lithic/resources/cards.rb +2 -2
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +2 -0
- data/rbi/{lib/lithic → lithic}/client.rbi +1 -4
- data/rbi/{lib/lithic → lithic}/errors.rbi +1 -1
- data/rbi/{lib/lithic → lithic}/internal/transport/base_client.rbi +2 -2
- data/rbi/{lib/lithic → lithic}/internal/type/request_parameters.rbi +1 -1
- data/rbi/{lib/lithic → lithic}/internal/util.rbi +4 -0
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +456 -0
- data/rbi/{lib/lithic → lithic}/models/auth_rules/v2_create_params.rbi +93 -5
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +456 -0
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +158 -0
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +456 -0
- data/rbi/{lib/lithic → lithic}/models/auth_rules/v2_list_params.rbi +26 -0
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +456 -0
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +456 -0
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +461 -0
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +456 -0
- data/rbi/{lib/lithic → lithic}/models/book_transfer_create_params.rbi +1 -0
- data/rbi/lithic/models/card_embed_response.rbi +7 -0
- data/rbi/lithic/models/currency.rbi +7 -0
- data/rbi/{lib/lithic → lithic}/models/financial_accounts/statements/statement_line_items.rbi +7 -2
- data/rbi/{lib/lithic → lithic}/models/financial_transaction.rbi +1 -0
- data/rbi/{lib/lithic → lithic}/models/transfer.rbi +1 -0
- data/rbi/lithic/models.rbi +328 -0
- data/rbi/{lib/lithic → lithic}/request_options.rbi +2 -0
- data/rbi/{lib/lithic → lithic}/resources/account_holders.rbi +9 -19
- data/rbi/{lib/lithic → lithic}/resources/accounts.rbi +4 -13
- data/rbi/{lib/lithic → lithic}/resources/aggregate_balances.rbi +1 -1
- data/rbi/{lib/lithic → lithic}/resources/auth_rules/v2/backtests.rbi +2 -7
- data/rbi/{lib/lithic → lithic}/resources/auth_rules/v2.rbi +16 -26
- data/rbi/{lib/lithic → lithic}/resources/auth_stream_enrollment.rbi +2 -7
- data/rbi/{lib/lithic → lithic}/resources/balances.rbi +1 -1
- data/rbi/{lib/lithic → lithic}/resources/book_transfers.rbi +4 -11
- data/rbi/{lib/lithic → lithic}/resources/card_programs.rbi +2 -5
- data/rbi/{lib/lithic → lithic}/resources/cards/aggregate_balances.rbi +1 -5
- data/rbi/{lib/lithic → lithic}/resources/cards/balances.rbi +1 -1
- data/rbi/{lib/lithic → lithic}/resources/cards/financial_transactions.rbi +2 -2
- data/rbi/{lib/lithic → lithic}/resources/cards.rbi +13 -41
- data/rbi/{lib/lithic → lithic}/resources/credit_products/extended_credit.rbi +1 -4
- data/rbi/{lib/lithic → lithic}/resources/credit_products/prime_rates.rbi +2 -2
- data/rbi/{lib/lithic → lithic}/resources/digital_card_art.rbi +2 -5
- data/rbi/{lib/lithic → lithic}/resources/disputes.rbi +9 -33
- data/rbi/{lib/lithic → lithic}/resources/events/event_subscriptions.rbi +2 -3
- data/rbi/{lib/lithic → lithic}/resources/events/subscriptions.rbi +11 -29
- data/rbi/{lib/lithic → lithic}/resources/events.rbi +3 -9
- data/rbi/{lib/lithic → lithic}/resources/external_bank_accounts/micro_deposits.rbi +1 -1
- data/rbi/{lib/lithic → lithic}/resources/external_bank_accounts.rbi +6 -9
- data/rbi/{lib/lithic → lithic}/resources/external_payments.rbi +7 -10
- data/rbi/{lib/lithic → lithic}/resources/financial_accounts/balances.rbi +1 -1
- data/rbi/{lib/lithic → lithic}/resources/financial_accounts/credit_configuration.rbi +2 -5
- data/rbi/{lib/lithic → lithic}/resources/financial_accounts/financial_transactions.rbi +2 -2
- data/rbi/{lib/lithic → lithic}/resources/financial_accounts/loan_tapes.rbi +2 -2
- data/rbi/{lib/lithic → lithic}/resources/financial_accounts/statements/line_items.rbi +1 -1
- data/rbi/{lib/lithic → lithic}/resources/financial_accounts/statements.rbi +2 -2
- data/rbi/{lib/lithic → lithic}/resources/financial_accounts.rbi +5 -12
- data/rbi/{lib/lithic → lithic}/resources/management_operations.rbi +4 -7
- data/rbi/{lib/lithic → lithic}/resources/payments.rbi +8 -24
- data/rbi/{lib/lithic → lithic}/resources/reports/settlement/network_totals.rbi +2 -5
- data/rbi/{lib/lithic → lithic}/resources/reports/settlement.rbi +2 -8
- data/rbi/{lib/lithic → lithic}/resources/responder_endpoints.rbi +3 -3
- data/rbi/{lib/lithic → lithic}/resources/three_ds/authentication.rbi +3 -13
- data/rbi/{lib/lithic → lithic}/resources/three_ds/decisioning.rbi +3 -5
- data/rbi/{lib/lithic → lithic}/resources/tokenization_decisioning.rbi +2 -5
- data/rbi/{lib/lithic → lithic}/resources/tokenizations.rbi +9 -36
- data/rbi/{lib/lithic → lithic}/resources/transactions/enhanced_commercial_data.rbi +1 -4
- data/rbi/{lib/lithic → lithic}/resources/transactions/events/enhanced_commercial_data.rbi +1 -4
- data/rbi/{lib/lithic → lithic}/resources/transactions.rbi +10 -35
- data/rbi/{lib/lithic → lithic}/resources/transfers.rbi +1 -1
- data/sig/lithic/internal/util.rbs +2 -0
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +1 -3
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +86 -3
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +44 -2
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +86 -3
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +42 -1
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +86 -3
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +20 -0
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +86 -3
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +86 -3
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +86 -3
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +86 -3
- data/sig/lithic/models/book_transfer_create_params.rbs +2 -0
- data/sig/lithic/models/card_embed_response.rbs +5 -0
- data/sig/lithic/models/currency.rbs +5 -0
- 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/transfer.rbs +2 -0
- data/sig/lithic/models.rbs +323 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +1 -0
- metadata +353 -344
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +0 -275
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +0 -275
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +0 -72
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +0 -275
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +0 -275
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +0 -275
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +0 -276
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +0 -275
- data/rbi/{lib/lithic → lithic}/file_part.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/internal/cursor_page.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/internal/single_page.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/internal/transport/pooled_net_requester.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/internal/type/array_of.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/internal/type/base_model.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/internal/type/base_page.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/internal/type/boolean.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/internal/type/converter.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/internal/type/enum.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/internal/type/file_input.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/internal/type/hash_of.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/internal/type/union.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/internal/type/unknown.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/internal.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/account.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/account_financial_account_type.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/account_holder.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/account_holder_create_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/account_holder_create_response.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/account_holder_list_documents_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/account_holder_list_documents_response.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/account_holder_list_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/account_holder_retrieve_document_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/account_holder_retrieve_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/account_holder_simulate_enrollment_document_review_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/account_holder_simulate_enrollment_review_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/account_holder_simulate_enrollment_review_response.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/account_holder_update_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/account_holder_update_response.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/account_holder_upload_document_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/account_list_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/account_retrieve_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/account_retrieve_spend_limits_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/account_spend_limits.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/account_update_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/address.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/address_update.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/aggregate_balance.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/aggregate_balance_list_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/api_status.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/auth_rules/auth_rule.rbi +2 -2
- data/rbi/{lib/lithic → lithic}/models/auth_rules/auth_rule_condition.rbi +2 -2
- data/rbi/{lib/lithic → lithic}/models/auth_rules/conditional_attribute.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/auth_rules/conditional_block_parameters.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/auth_rules/v2/backtest_create_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/auth_rules/v2/backtest_create_response.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/auth_rules/v2/backtest_results.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/auth_rules/v2/backtest_retrieve_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/auth_rules/v2_apply_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/auth_rules/v2_delete_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/auth_rules/v2_promote_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/auth_rules/v2_report_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/auth_rules/v2_report_response.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/auth_rules/v2_retrieve_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/auth_rules/v2_update_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/auth_rules/velocity_limit_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/auth_rules/velocity_limit_params_period_window.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/auth_stream_enrollment_retrieve_secret_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/auth_stream_enrollment_rotate_secret_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/auth_stream_secret.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/balance.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/balance_list_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/book_transfer_list_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/book_transfer_response.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/book_transfer_retrieve_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/book_transfer_reverse_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/card.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/card_convert_physical_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/card_create_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/card_embed_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/card_list_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/card_program.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/card_program_list_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/card_program_retrieve_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/card_provision_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/card_provision_response.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/card_reissue_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/card_renew_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/card_retrieve_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/card_retrieve_spend_limits_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/card_search_by_pan_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/card_spend_limits.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/card_update_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/cards/aggregate_balance_list_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/cards/aggregate_balance_list_response.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/cards/balance_list_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/cards/balance_list_response.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/cards/financial_transaction_list_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/cards/financial_transaction_retrieve_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/carrier.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/client_api_status_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/credit_products/extended_credit.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/credit_products/extended_credit_retrieve_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/credit_products/prime_rate_create_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/credit_products/prime_rate_retrieve_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/credit_products/prime_rate_retrieve_response.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/digital_card_art.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/digital_card_art_list_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/digital_card_art_retrieve_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/dispute.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/dispute_create_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/dispute_delete_evidence_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/dispute_delete_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/dispute_evidence.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/dispute_initiate_evidence_upload_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/dispute_list_evidences_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/dispute_list_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/dispute_retrieve_evidence_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/dispute_retrieve_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/dispute_update_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/document.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/event.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/event_list_attempts_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/event_list_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/event_retrieve_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/event_subscription.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/events/event_subscription_resend_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/events/subscription_create_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/events/subscription_delete_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/events/subscription_list_attempts_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/events/subscription_list_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/events/subscription_recover_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/events/subscription_replay_missing_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/events/subscription_retrieve_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/events/subscription_retrieve_secret_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/events/subscription_retrieve_secret_response.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/events/subscription_rotate_secret_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/events/subscription_send_simulated_example_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/events/subscription_update_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/external_bank_account_address.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/external_bank_account_create_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/external_bank_account_create_response.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/external_bank_account_list_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/external_bank_account_list_response.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/external_bank_account_retrieve_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/external_bank_account_retrieve_response.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/external_bank_account_retry_micro_deposits_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/external_bank_account_retry_micro_deposits_response.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/external_bank_account_retry_prenote_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/external_bank_account_retry_prenote_response.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/external_bank_account_update_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/external_bank_account_update_response.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/external_bank_accounts/micro_deposit_create_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/external_bank_accounts/micro_deposit_create_response.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/external_payment.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/external_payment_cancel_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/external_payment_create_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/external_payment_list_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/external_payment_release_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/external_payment_retrieve_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/external_payment_reverse_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/external_payment_settle_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/financial_account.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/financial_account_create_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/financial_account_list_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/financial_account_retrieve_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/financial_account_update_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/financial_account_update_status_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/financial_accounts/balance_list_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/financial_accounts/balance_list_response.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/financial_accounts/credit_configuration_retrieve_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/financial_accounts/credit_configuration_update_params.rbi +0 -0
- data/rbi/{lib/lithic → lithic}/models/financial_accounts/financial_account_credit_config.rbi +2 -2
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/financial_transaction_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/financial_transaction_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/loan_tape.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/loan_tape_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/loan_tape_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/statement.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/statement_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/statement_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/statements/line_item_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/financial_accounts/statements.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/instance_financial_account_type.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/kyb.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/kyb_business_entity.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/kyc.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/kyc_exempt.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/management_operation_create_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/management_operation_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/management_operation_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/management_operation_reverse_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/management_operation_transaction.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/message_attempt.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/non_pci_card.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/owner_type.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_create_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_create_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_retry_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_retry_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_simulate_action_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_simulate_action_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_simulate_receipt_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_simulate_receipt_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_simulate_release_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_simulate_release_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_simulate_return_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/payment_simulate_return_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/reports/settlement/network_total_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/reports/settlement/network_total_list_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/reports/settlement/network_total_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/reports/settlement/network_total_retrieve_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/reports/settlement_list_details_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/reports/settlement_summary_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/required_document.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/responder_endpoint_check_status_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/responder_endpoint_create_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/responder_endpoint_create_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/responder_endpoint_delete_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/responder_endpoint_status.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/settlement_detail.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/settlement_report.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/settlement_summary_details.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/shipping_address.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/spend_limit_duration.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/three_ds/authentication_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/three_ds/authentication_retrieve_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/three_ds/authentication_simulate_otp_entry_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/three_ds/authentication_simulate_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/three_ds/authentication_simulate_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/three_ds/challenge_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/three_ds/challenge_result.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/three_ds/decisioning_challenge_response_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/three_ds/decisioning_retrieve_secret_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/three_ds/decisioning_retrieve_secret_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/three_ds/decisioning_rotate_secret_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_activate_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_deactivate_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_decisioning_retrieve_secret_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_decisioning_rotate_secret_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_decisioning_rotate_secret_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_pause_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_resend_activation_code_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_retrieve_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_secret.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_simulate_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_simulate_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_unpause_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_update_digital_card_art_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/tokenization_update_digital_card_art_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_expire_authorization_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_list_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_authorization_advice_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_authorization_advice_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_authorization_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_authorization_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_clearing_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_clearing_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_credit_authorization_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_credit_authorization_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_return_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_return_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_return_reversal_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_return_reversal_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_void_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transaction_simulate_void_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transactions/enhanced_commercial_data_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transactions/enhanced_commercial_data_retrieve_response.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transactions/events/enhanced_data.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/transfer_create_params.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/models/verification_method.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/resources/auth_rules.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/resources/credit_products.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/resources/reports.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/resources/three_ds.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/resources/transactions/events.rbi +0 -0
- /data/rbi/{lib/lithic → lithic}/version.rbi +0 -0
@@ -15,7 +15,7 @@ module Lithic
|
|
15
15
|
type: Lithic::Models::BookTransferCreateParams::Type::OrSymbol,
|
16
16
|
token: String,
|
17
17
|
memo: String,
|
18
|
-
request_options:
|
18
|
+
request_options: Lithic::RequestOpts
|
19
19
|
)
|
20
20
|
.returns(Lithic::Models::BookTransferResponse)
|
21
21
|
end
|
@@ -44,10 +44,7 @@ module Lithic
|
|
44
44
|
); end
|
45
45
|
# Get book transfer by token
|
46
46
|
sig do
|
47
|
-
params(
|
48
|
-
book_transfer_token: String,
|
49
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
50
|
-
)
|
47
|
+
params(book_transfer_token: String, request_options: Lithic::RequestOpts)
|
51
48
|
.returns(Lithic::Models::BookTransferResponse)
|
52
49
|
end
|
53
50
|
def retrieve(
|
@@ -69,7 +66,7 @@ module Lithic
|
|
69
66
|
result: Lithic::Models::BookTransferListParams::Result::OrSymbol,
|
70
67
|
starting_after: String,
|
71
68
|
status: Lithic::Models::BookTransferListParams::Status::OrSymbol,
|
72
|
-
request_options:
|
69
|
+
request_options: Lithic::RequestOpts
|
73
70
|
)
|
74
71
|
.returns(Lithic::Internal::CursorPage[Lithic::Models::BookTransferResponse])
|
75
72
|
end
|
@@ -103,11 +100,7 @@ module Lithic
|
|
103
100
|
); end
|
104
101
|
# Reverse a book transfer
|
105
102
|
sig do
|
106
|
-
params(
|
107
|
-
book_transfer_token: String,
|
108
|
-
memo: String,
|
109
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
110
|
-
)
|
103
|
+
params(book_transfer_token: String, memo: String, request_options: Lithic::RequestOpts)
|
111
104
|
.returns(Lithic::Models::BookTransferResponse)
|
112
105
|
end
|
113
106
|
def reverse(
|
@@ -5,10 +5,7 @@ module Lithic
|
|
5
5
|
class CardPrograms
|
6
6
|
# Get card program.
|
7
7
|
sig do
|
8
|
-
params(
|
9
|
-
card_program_token: String,
|
10
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
11
|
-
)
|
8
|
+
params(card_program_token: String, request_options: Lithic::RequestOpts)
|
12
9
|
.returns(Lithic::Models::CardProgram)
|
13
10
|
end
|
14
11
|
def retrieve(
|
@@ -22,7 +19,7 @@ module Lithic
|
|
22
19
|
ending_before: String,
|
23
20
|
page_size: Integer,
|
24
21
|
starting_after: String,
|
25
|
-
request_options:
|
22
|
+
request_options: Lithic::RequestOpts
|
26
23
|
)
|
27
24
|
.returns(Lithic::Internal::CursorPage[Lithic::Models::CardProgram])
|
28
25
|
end
|
@@ -6,11 +6,7 @@ module Lithic
|
|
6
6
|
class AggregateBalances
|
7
7
|
# Get the aggregated card balance across all end-user accounts.
|
8
8
|
sig do
|
9
|
-
params(
|
10
|
-
account_token: String,
|
11
|
-
business_account_token: String,
|
12
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
13
|
-
)
|
9
|
+
params(account_token: String, business_account_token: String, request_options: Lithic::RequestOpts)
|
14
10
|
.returns(Lithic::Internal::SinglePage[Lithic::Models::Cards::AggregateBalanceListResponse])
|
15
11
|
end
|
16
12
|
def list(
|
@@ -10,7 +10,7 @@ module Lithic
|
|
10
10
|
card_token: String,
|
11
11
|
balance_date: Time,
|
12
12
|
last_transaction_event_token: String,
|
13
|
-
request_options:
|
13
|
+
request_options: Lithic::RequestOpts
|
14
14
|
)
|
15
15
|
.returns(Lithic::Internal::SinglePage[Lithic::Models::Cards::BalanceListResponse])
|
16
16
|
end
|
@@ -9,7 +9,7 @@ module Lithic
|
|
9
9
|
params(
|
10
10
|
financial_transaction_token: String,
|
11
11
|
card_token: String,
|
12
|
-
request_options:
|
12
|
+
request_options: Lithic::RequestOpts
|
13
13
|
)
|
14
14
|
.returns(Lithic::Models::FinancialTransaction)
|
15
15
|
end
|
@@ -30,7 +30,7 @@ module Lithic
|
|
30
30
|
result: Lithic::Models::Cards::FinancialTransactionListParams::Result::OrSymbol,
|
31
31
|
starting_after: String,
|
32
32
|
status: Lithic::Models::Cards::FinancialTransactionListParams::Status::OrSymbol,
|
33
|
-
request_options:
|
33
|
+
request_options: Lithic::RequestOpts
|
34
34
|
)
|
35
35
|
.returns(Lithic::Internal::SinglePage[Lithic::Models::FinancialTransaction])
|
36
36
|
end
|
@@ -33,7 +33,7 @@ module Lithic
|
|
33
33
|
spend_limit: Integer,
|
34
34
|
spend_limit_duration: Lithic::Models::SpendLimitDuration::OrSymbol,
|
35
35
|
state: Lithic::Models::CardCreateParams::State::OrSymbol,
|
36
|
-
request_options:
|
36
|
+
request_options: Lithic::RequestOpts
|
37
37
|
)
|
38
38
|
.returns(Lithic::Models::Card)
|
39
39
|
end
|
@@ -142,13 +142,7 @@ module Lithic
|
|
142
142
|
request_options: {}
|
143
143
|
); end
|
144
144
|
# Get card configuration such as spend limit and state.
|
145
|
-
sig
|
146
|
-
params(
|
147
|
-
card_token: String,
|
148
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
149
|
-
)
|
150
|
-
.returns(Lithic::Models::Card)
|
151
|
-
end
|
145
|
+
sig { params(card_token: String, request_options: Lithic::RequestOpts).returns(Lithic::Models::Card) }
|
152
146
|
def retrieve(card_token, request_options: {}); end
|
153
147
|
|
154
148
|
# Update the specified properties of the card. Unsupplied properties will remain
|
@@ -166,7 +160,7 @@ module Lithic
|
|
166
160
|
spend_limit: Integer,
|
167
161
|
spend_limit_duration: Lithic::Models::SpendLimitDuration::OrSymbol,
|
168
162
|
state: Lithic::Models::CardUpdateParams::State::OrSymbol,
|
169
|
-
request_options:
|
163
|
+
request_options: Lithic::RequestOpts
|
170
164
|
)
|
171
165
|
.returns(Lithic::Models::Card)
|
172
166
|
end
|
@@ -226,7 +220,7 @@ module Lithic
|
|
226
220
|
page_size: Integer,
|
227
221
|
starting_after: String,
|
228
222
|
state: Lithic::Models::CardListParams::State::OrSymbol,
|
229
|
-
request_options:
|
223
|
+
request_options: Lithic::RequestOpts
|
230
224
|
)
|
231
225
|
.returns(Lithic::Internal::CursorPage[Lithic::Models::NonPCICard])
|
232
226
|
end
|
@@ -268,7 +262,7 @@ module Lithic
|
|
268
262
|
carrier: T.any(Lithic::Models::Carrier, Lithic::Internal::AnyHash),
|
269
263
|
product_id: String,
|
270
264
|
shipping_method: Lithic::Models::CardConvertPhysicalParams::ShippingMethod::OrSymbol,
|
271
|
-
request_options:
|
265
|
+
request_options: Lithic::RequestOpts
|
272
266
|
)
|
273
267
|
.returns(Lithic::Models::Card)
|
274
268
|
end
|
@@ -325,12 +319,7 @@ module Lithic
|
|
325
319
|
# but **do not ever embed your API key into front end code, as doing so introduces
|
326
320
|
# a serious security vulnerability**.
|
327
321
|
sig do
|
328
|
-
params(
|
329
|
-
embed_request: String,
|
330
|
-
hmac: String,
|
331
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
332
|
-
)
|
333
|
-
.returns(String)
|
322
|
+
params(embed_request: String, hmac: String, request_options: Lithic::RequestOpts).returns(String)
|
334
323
|
end
|
335
324
|
def embed(
|
336
325
|
# A base64 encoded JSON string of an EmbedRequest to specify which card to load.
|
@@ -354,7 +343,7 @@ module Lithic
|
|
354
343
|
digital_wallet: Lithic::Models::CardProvisionParams::DigitalWallet::OrSymbol,
|
355
344
|
nonce: String,
|
356
345
|
nonce_signature: String,
|
357
|
-
request_options:
|
346
|
+
request_options: Lithic::RequestOpts
|
358
347
|
)
|
359
348
|
.returns(Lithic::Models::CardProvisionResponse)
|
360
349
|
end
|
@@ -389,7 +378,7 @@ module Lithic
|
|
389
378
|
# Initiate print and shipment of a duplicate physical card (e.g. card is
|
390
379
|
# physically damaged). The PAN, expiry, and CVC2 will remain the same and the
|
391
380
|
# original card can continue to be used until the new card is activated. Only
|
392
|
-
# applies to cards of type `PHYSICAL`. A card can be
|
381
|
+
# applies to cards of type `PHYSICAL`. A card can be reissued or renewed a total
|
393
382
|
# of 8 times.
|
394
383
|
sig do
|
395
384
|
params(
|
@@ -398,7 +387,7 @@ module Lithic
|
|
398
387
|
product_id: String,
|
399
388
|
shipping_address: T.any(Lithic::Models::ShippingAddress, Lithic::Internal::AnyHash),
|
400
389
|
shipping_method: Lithic::Models::CardReissueParams::ShippingMethod::OrSymbol,
|
401
|
-
request_options:
|
390
|
+
request_options: Lithic::RequestOpts
|
402
391
|
)
|
403
392
|
.returns(Lithic::Models::Card)
|
404
393
|
end
|
@@ -432,7 +421,7 @@ module Lithic
|
|
432
421
|
# original card will keep working for card-present transactions until the new card
|
433
422
|
# is activated. For card-not-present transactions, the original card details
|
434
423
|
# (expiry, CVC2) will also keep working until the new card is activated. A
|
435
|
-
# `PHYSICAL` card can be
|
424
|
+
# `PHYSICAL` card can be reissued or renewed a total of 8 times. For `VIRTUAL`,
|
436
425
|
# the card will retain the same card token and PAN and receive an updated expiry
|
437
426
|
# and CVC2 code. `product_id`, `shipping_method`, `shipping_address`, `carrier`
|
438
427
|
# are only relevant for renewing `PHYSICAL` cards.
|
@@ -445,7 +434,7 @@ module Lithic
|
|
445
434
|
exp_year: String,
|
446
435
|
product_id: String,
|
447
436
|
shipping_method: Lithic::Models::CardRenewParams::ShippingMethod::OrSymbol,
|
448
|
-
request_options:
|
437
|
+
request_options: Lithic::RequestOpts
|
449
438
|
)
|
450
439
|
.returns(Lithic::Models::Card)
|
451
440
|
end
|
@@ -484,13 +473,7 @@ module Lithic
|
|
484
473
|
# on the Card and the amount already spent over the spend limit's duration. For
|
485
474
|
# example, if the Card has a monthly spend limit of $1000 configured, and has
|
486
475
|
# spent $600 in the last month, the available spend limit returned would be $400.
|
487
|
-
sig
|
488
|
-
params(
|
489
|
-
card_token: String,
|
490
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
491
|
-
)
|
492
|
-
.returns(Lithic::Models::CardSpendLimits)
|
493
|
-
end
|
476
|
+
sig { params(card_token: String, request_options: Lithic::RequestOpts).returns(Lithic::Models::CardSpendLimits) }
|
494
477
|
def retrieve_spend_limits(card_token, request_options: {}); end
|
495
478
|
|
496
479
|
# Get card configuration such as spend limit and state. Customers must be PCI
|
@@ -498,18 +481,7 @@ module Lithic
|
|
498
481
|
# [support@lithic.com](mailto:support@lithic.com) for questions. _Note: this is a
|
499
482
|
# `POST` endpoint because it is more secure to send sensitive data in a request
|
500
483
|
# body than in a URL._
|
501
|
-
sig
|
502
|
-
params(
|
503
|
-
pan: String,
|
504
|
-
request_options: T.nilable(
|
505
|
-
T.any(
|
506
|
-
Lithic::RequestOptions,
|
507
|
-
Lithic::Internal::AnyHash
|
508
|
-
)
|
509
|
-
)
|
510
|
-
)
|
511
|
-
.returns(Lithic::Models::Card)
|
512
|
-
end
|
484
|
+
sig { params(pan: String, request_options: Lithic::RequestOpts).returns(Lithic::Models::Card) }
|
513
485
|
def search_by_pan(
|
514
486
|
# The PAN for the card being retrieved.
|
515
487
|
pan:,
|
@@ -6,10 +6,7 @@ module Lithic
|
|
6
6
|
class ExtendedCredit
|
7
7
|
# Get the extended credit for a given credit product under a program
|
8
8
|
sig do
|
9
|
-
params(
|
10
|
-
credit_product_token: String,
|
11
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
12
|
-
)
|
9
|
+
params(credit_product_token: String, request_options: Lithic::RequestOpts)
|
13
10
|
.returns(Lithic::Models::CreditProducts::CreditProductsExtendedCredit)
|
14
11
|
end
|
15
12
|
def retrieve(
|
@@ -10,7 +10,7 @@ module Lithic
|
|
10
10
|
credit_product_token: String,
|
11
11
|
effective_date: Date,
|
12
12
|
rate: String,
|
13
|
-
request_options:
|
13
|
+
request_options: Lithic::RequestOpts
|
14
14
|
)
|
15
15
|
.void
|
16
16
|
end
|
@@ -29,7 +29,7 @@ module Lithic
|
|
29
29
|
credit_product_token: String,
|
30
30
|
ending_before: Date,
|
31
31
|
starting_after: Date,
|
32
|
-
request_options:
|
32
|
+
request_options: Lithic::RequestOpts
|
33
33
|
)
|
34
34
|
.returns(Lithic::Models::CreditProducts::PrimeRateRetrieveResponse)
|
35
35
|
end
|
@@ -5,10 +5,7 @@ module Lithic
|
|
5
5
|
class DigitalCardArt
|
6
6
|
# Get digital card art by token.
|
7
7
|
sig do
|
8
|
-
params(
|
9
|
-
digital_card_art_token: String,
|
10
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
11
|
-
)
|
8
|
+
params(digital_card_art_token: String, request_options: Lithic::RequestOpts)
|
12
9
|
.returns(Lithic::Models::DigitalCardArtAPI)
|
13
10
|
end
|
14
11
|
def retrieve(
|
@@ -25,7 +22,7 @@ module Lithic
|
|
25
22
|
ending_before: String,
|
26
23
|
page_size: Integer,
|
27
24
|
starting_after: String,
|
28
|
-
request_options:
|
25
|
+
request_options: Lithic::RequestOpts
|
29
26
|
)
|
30
27
|
.returns(Lithic::Internal::CursorPage[Lithic::Models::DigitalCardArtAPI])
|
31
28
|
end
|
@@ -11,7 +11,7 @@ module Lithic
|
|
11
11
|
transaction_token: String,
|
12
12
|
customer_filed_date: Time,
|
13
13
|
customer_note: String,
|
14
|
-
request_options:
|
14
|
+
request_options: Lithic::RequestOpts
|
15
15
|
)
|
16
16
|
.returns(Lithic::Models::Dispute)
|
17
17
|
end
|
@@ -29,13 +29,7 @@ module Lithic
|
|
29
29
|
request_options: {}
|
30
30
|
); end
|
31
31
|
# Get dispute.
|
32
|
-
sig
|
33
|
-
params(
|
34
|
-
dispute_token: String,
|
35
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
36
|
-
)
|
37
|
-
.returns(Lithic::Models::Dispute)
|
38
|
-
end
|
32
|
+
sig { params(dispute_token: String, request_options: Lithic::RequestOpts).returns(Lithic::Models::Dispute) }
|
39
33
|
def retrieve(dispute_token, request_options: {}); end
|
40
34
|
|
41
35
|
# Update dispute. Can only be modified if status is `NEW`.
|
@@ -46,7 +40,7 @@ module Lithic
|
|
46
40
|
customer_filed_date: Time,
|
47
41
|
customer_note: String,
|
48
42
|
reason: Lithic::Models::DisputeUpdateParams::Reason::OrSymbol,
|
49
|
-
request_options:
|
43
|
+
request_options: Lithic::RequestOpts
|
50
44
|
)
|
51
45
|
.returns(Lithic::Models::Dispute)
|
52
46
|
end
|
@@ -72,7 +66,7 @@ module Lithic
|
|
72
66
|
starting_after: String,
|
73
67
|
status: Lithic::Models::DisputeListParams::Status::OrSymbol,
|
74
68
|
transaction_tokens: T::Array[String],
|
75
|
-
request_options:
|
69
|
+
request_options: Lithic::RequestOpts
|
76
70
|
)
|
77
71
|
.returns(Lithic::Internal::CursorPage[Lithic::Models::Dispute])
|
78
72
|
end
|
@@ -98,23 +92,13 @@ module Lithic
|
|
98
92
|
request_options: {}
|
99
93
|
); end
|
100
94
|
# Withdraw dispute.
|
101
|
-
sig
|
102
|
-
params(
|
103
|
-
dispute_token: String,
|
104
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
105
|
-
)
|
106
|
-
.returns(Lithic::Models::Dispute)
|
107
|
-
end
|
95
|
+
sig { params(dispute_token: String, request_options: Lithic::RequestOpts).returns(Lithic::Models::Dispute) }
|
108
96
|
def delete(dispute_token, request_options: {}); end
|
109
97
|
|
110
98
|
# Soft delete evidence for a dispute. Evidence will not be reviewed or submitted
|
111
99
|
# by Lithic after it is withdrawn.
|
112
100
|
sig do
|
113
|
-
params(
|
114
|
-
evidence_token: String,
|
115
|
-
dispute_token: String,
|
116
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
117
|
-
)
|
101
|
+
params(evidence_token: String, dispute_token: String, request_options: Lithic::RequestOpts)
|
118
102
|
.returns(Lithic::Models::DisputeEvidence)
|
119
103
|
end
|
120
104
|
def delete_evidence(evidence_token, dispute_token:, request_options: {}); end
|
@@ -125,11 +109,7 @@ module Lithic
|
|
125
109
|
# Uploaded documents must either be a `jpg`, `png` or `pdf` file, and each must be
|
126
110
|
# less than 5 GiB.
|
127
111
|
sig do
|
128
|
-
params(
|
129
|
-
dispute_token: String,
|
130
|
-
filename: String,
|
131
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
132
|
-
)
|
112
|
+
params(dispute_token: String, filename: String, request_options: Lithic::RequestOpts)
|
133
113
|
.returns(Lithic::Models::DisputeEvidence)
|
134
114
|
end
|
135
115
|
def initiate_evidence_upload(
|
@@ -147,7 +127,7 @@ module Lithic
|
|
147
127
|
ending_before: String,
|
148
128
|
page_size: Integer,
|
149
129
|
starting_after: String,
|
150
|
-
request_options:
|
130
|
+
request_options: Lithic::RequestOpts
|
151
131
|
)
|
152
132
|
.returns(Lithic::Internal::CursorPage[Lithic::Models::DisputeEvidence])
|
153
133
|
end
|
@@ -171,11 +151,7 @@ module Lithic
|
|
171
151
|
); end
|
172
152
|
# Get a dispute's evidence metadata.
|
173
153
|
sig do
|
174
|
-
params(
|
175
|
-
evidence_token: String,
|
176
|
-
dispute_token: String,
|
177
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
178
|
-
)
|
154
|
+
params(evidence_token: String, dispute_token: String, request_options: Lithic::RequestOpts)
|
179
155
|
.returns(Lithic::Models::DisputeEvidence)
|
180
156
|
end
|
181
157
|
def retrieve_evidence(evidence_token, dispute_token:, request_options: {}); end
|
@@ -9,9 +9,8 @@ module Lithic
|
|
9
9
|
params(
|
10
10
|
event_subscription_token: String,
|
11
11
|
event_token: String,
|
12
|
-
request_options:
|
13
|
-
)
|
14
|
-
.void
|
12
|
+
request_options: Lithic::RequestOpts
|
13
|
+
).void
|
15
14
|
end
|
16
15
|
def resend(event_subscription_token, event_token:, request_options: {}); end
|
17
16
|
|
@@ -11,7 +11,7 @@ module Lithic
|
|
11
11
|
description: String,
|
12
12
|
disabled: T::Boolean,
|
13
13
|
event_types: T::Array[Lithic::Models::Events::SubscriptionCreateParams::EventType::OrSymbol],
|
14
|
-
request_options:
|
14
|
+
request_options: Lithic::RequestOpts
|
15
15
|
)
|
16
16
|
.returns(Lithic::Models::EventSubscription)
|
17
17
|
end
|
@@ -29,10 +29,7 @@ module Lithic
|
|
29
29
|
); end
|
30
30
|
# Get an event subscription.
|
31
31
|
sig do
|
32
|
-
params(
|
33
|
-
event_subscription_token: String,
|
34
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
35
|
-
)
|
32
|
+
params(event_subscription_token: String, request_options: Lithic::RequestOpts)
|
36
33
|
.returns(Lithic::Models::EventSubscription)
|
37
34
|
end
|
38
35
|
def retrieve(event_subscription_token, request_options: {}); end
|
@@ -45,7 +42,7 @@ module Lithic
|
|
45
42
|
description: String,
|
46
43
|
disabled: T::Boolean,
|
47
44
|
event_types: T::Array[Lithic::Models::Events::SubscriptionUpdateParams::EventType::OrSymbol],
|
48
|
-
request_options:
|
45
|
+
request_options: Lithic::RequestOpts
|
49
46
|
)
|
50
47
|
.returns(Lithic::Models::EventSubscription)
|
51
48
|
end
|
@@ -68,7 +65,7 @@ module Lithic
|
|
68
65
|
ending_before: String,
|
69
66
|
page_size: Integer,
|
70
67
|
starting_after: String,
|
71
|
-
request_options:
|
68
|
+
request_options: Lithic::RequestOpts
|
72
69
|
)
|
73
70
|
.returns(Lithic::Internal::CursorPage[Lithic::Models::EventSubscription])
|
74
71
|
end
|
@@ -84,13 +81,7 @@ module Lithic
|
|
84
81
|
request_options: {}
|
85
82
|
); end
|
86
83
|
# Delete an event subscription.
|
87
|
-
sig
|
88
|
-
params(
|
89
|
-
event_subscription_token: String,
|
90
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
91
|
-
)
|
92
|
-
.void
|
93
|
-
end
|
84
|
+
sig { params(event_subscription_token: String, request_options: Lithic::RequestOpts).void }
|
94
85
|
def delete(event_subscription_token, request_options: {}); end
|
95
86
|
|
96
87
|
# List all the message attempts for a given event subscription.
|
@@ -103,7 +94,7 @@ module Lithic
|
|
103
94
|
page_size: Integer,
|
104
95
|
starting_after: String,
|
105
96
|
status: Lithic::Models::Events::SubscriptionListAttemptsParams::Status::OrSymbol,
|
106
|
-
request_options:
|
97
|
+
request_options: Lithic::RequestOpts
|
107
98
|
)
|
108
99
|
.returns(Lithic::Internal::CursorPage[Lithic::Models::MessageAttempt])
|
109
100
|
end
|
@@ -132,7 +123,7 @@ module Lithic
|
|
132
123
|
event_subscription_token: String,
|
133
124
|
begin_: Time,
|
134
125
|
end_: Time,
|
135
|
-
request_options:
|
126
|
+
request_options: Lithic::RequestOpts
|
136
127
|
)
|
137
128
|
.void
|
138
129
|
end
|
@@ -156,7 +147,7 @@ module Lithic
|
|
156
147
|
event_subscription_token: String,
|
157
148
|
begin_: Time,
|
158
149
|
end_: Time,
|
159
|
-
request_options:
|
150
|
+
request_options: Lithic::RequestOpts
|
160
151
|
)
|
161
152
|
.void
|
162
153
|
end
|
@@ -172,23 +163,14 @@ module Lithic
|
|
172
163
|
); end
|
173
164
|
# Get the secret for an event subscription.
|
174
165
|
sig do
|
175
|
-
params(
|
176
|
-
event_subscription_token: String,
|
177
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
178
|
-
)
|
166
|
+
params(event_subscription_token: String, request_options: Lithic::RequestOpts)
|
179
167
|
.returns(Lithic::Models::Events::SubscriptionRetrieveSecretResponse)
|
180
168
|
end
|
181
169
|
def retrieve_secret(event_subscription_token, request_options: {}); end
|
182
170
|
|
183
171
|
# Rotate the secret for an event subscription. The previous secret will be valid
|
184
172
|
# for the next 24 hours.
|
185
|
-
sig
|
186
|
-
params(
|
187
|
-
event_subscription_token: String,
|
188
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
189
|
-
)
|
190
|
-
.void
|
191
|
-
end
|
173
|
+
sig { params(event_subscription_token: String, request_options: Lithic::RequestOpts).void }
|
192
174
|
def rotate_secret(event_subscription_token, request_options: {}); end
|
193
175
|
|
194
176
|
# Send an example message for event.
|
@@ -196,7 +178,7 @@ module Lithic
|
|
196
178
|
params(
|
197
179
|
event_subscription_token: String,
|
198
180
|
event_type: Lithic::Models::Events::SubscriptionSendSimulatedExampleParams::EventType::OrSymbol,
|
199
|
-
request_options:
|
181
|
+
request_options: Lithic::RequestOpts
|
200
182
|
)
|
201
183
|
.void
|
202
184
|
end
|
@@ -10,13 +10,7 @@ module Lithic
|
|
10
10
|
attr_reader :event_subscriptions
|
11
11
|
|
12
12
|
# Get an event.
|
13
|
-
sig
|
14
|
-
params(
|
15
|
-
event_token: String,
|
16
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
17
|
-
)
|
18
|
-
.returns(Lithic::Models::Event)
|
19
|
-
end
|
13
|
+
sig { params(event_token: String, request_options: Lithic::RequestOpts).returns(Lithic::Models::Event) }
|
20
14
|
def retrieve(event_token, request_options: {}); end
|
21
15
|
|
22
16
|
# List all events.
|
@@ -29,7 +23,7 @@ module Lithic
|
|
29
23
|
page_size: Integer,
|
30
24
|
starting_after: String,
|
31
25
|
with_content: T::Boolean,
|
32
|
-
request_options:
|
26
|
+
request_options: Lithic::RequestOpts
|
33
27
|
)
|
34
28
|
.returns(Lithic::Internal::CursorPage[Lithic::Models::Event])
|
35
29
|
end
|
@@ -64,7 +58,7 @@ module Lithic
|
|
64
58
|
page_size: Integer,
|
65
59
|
starting_after: String,
|
66
60
|
status: Lithic::Models::EventListAttemptsParams::Status::OrSymbol,
|
67
|
-
request_options:
|
61
|
+
request_options: Lithic::RequestOpts
|
68
62
|
)
|
69
63
|
.returns(Lithic::Internal::CursorPage[Lithic::Models::MessageAttempt])
|
70
64
|
end
|
@@ -9,7 +9,7 @@ module Lithic
|
|
9
9
|
params(
|
10
10
|
external_bank_account_token: String,
|
11
11
|
micro_deposits: T::Array[Integer],
|
12
|
-
request_options:
|
12
|
+
request_options: Lithic::RequestOpts
|
13
13
|
)
|
14
14
|
.returns(Lithic::Models::ExternalBankAccounts::MicroDepositCreateResponse)
|
15
15
|
end
|
@@ -27,7 +27,7 @@ module Lithic
|
|
27
27
|
name: String,
|
28
28
|
user_defined_id: String,
|
29
29
|
verification_enforcement: T::Boolean,
|
30
|
-
request_options:
|
30
|
+
request_options: Lithic::RequestOpts
|
31
31
|
)
|
32
32
|
.returns(Lithic::Models::ExternalBankAccountCreateResponse)
|
33
33
|
end
|
@@ -74,10 +74,7 @@ module Lithic
|
|
74
74
|
); end
|
75
75
|
# Get the external bank account by token.
|
76
76
|
sig do
|
77
|
-
params(
|
78
|
-
external_bank_account_token: String,
|
79
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
80
|
-
)
|
77
|
+
params(external_bank_account_token: String, request_options: Lithic::RequestOpts)
|
81
78
|
.returns(Lithic::Models::ExternalBankAccountRetrieveResponse)
|
82
79
|
end
|
83
80
|
def retrieve(external_bank_account_token, request_options: {}); end
|
@@ -95,7 +92,7 @@ module Lithic
|
|
95
92
|
owner_type: Lithic::Models::OwnerType::OrSymbol,
|
96
93
|
type: Lithic::Models::ExternalBankAccountUpdateParams::Type::OrSymbol,
|
97
94
|
user_defined_id: String,
|
98
|
-
request_options:
|
95
|
+
request_options: Lithic::RequestOpts
|
99
96
|
)
|
100
97
|
.returns(Lithic::Models::ExternalBankAccountUpdateResponse)
|
101
98
|
end
|
@@ -133,7 +130,7 @@ module Lithic
|
|
133
130
|
starting_after: String,
|
134
131
|
states: T::Array[Lithic::Models::ExternalBankAccountListParams::State::OrSymbol],
|
135
132
|
verification_states: T::Array[Lithic::Models::ExternalBankAccountListParams::VerificationState::OrSymbol],
|
136
|
-
request_options:
|
133
|
+
request_options: Lithic::RequestOpts
|
137
134
|
)
|
138
135
|
.returns(Lithic::Internal::CursorPage[Lithic::Models::ExternalBankAccountListResponse])
|
139
136
|
end
|
@@ -159,7 +156,7 @@ module Lithic
|
|
159
156
|
params(
|
160
157
|
external_bank_account_token: String,
|
161
158
|
financial_account_token: String,
|
162
|
-
request_options:
|
159
|
+
request_options: Lithic::RequestOpts
|
163
160
|
)
|
164
161
|
.returns(Lithic::Models::ExternalBankAccountRetryMicroDepositsResponse)
|
165
162
|
end
|
@@ -175,7 +172,7 @@ module Lithic
|
|
175
172
|
params(
|
176
173
|
external_bank_account_token: String,
|
177
174
|
financial_account_token: String,
|
178
|
-
request_options:
|
175
|
+
request_options: Lithic::RequestOpts
|
179
176
|
)
|
180
177
|
.returns(Lithic::Models::ExternalBankAccountRetryPrenoteResponse)
|
181
178
|
end
|