lithic 0.1.0.pre.alpha.19 → 0.1.0.pre.alpha.20
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 +17 -0
- data/README.md +1 -1
- data/lib/lithic/errors.rb +9 -9
- data/lib/lithic/internal/type/boolean.rb +10 -11
- data/lib/lithic/internal/type/enum.rb +10 -11
- data/lib/lithic/internal/type/unknown.rb +10 -11
- 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/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/request_options.rb +4 -5
- 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/rbi/{lib/lithic → lithic}/client.rbi +1 -4
- 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/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/{lib/lithic → lithic}/models/financial_accounts/statements/statement_line_items.rbi +5 -0
- data/rbi/{lib/lithic → lithic}/models/financial_transaction.rbi +1 -0
- data/rbi/{lib/lithic → lithic}/models/transfer.rbi +1 -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/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/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/resources/auth_rules/v2.rbs +1 -0
- metadata +342 -342
- 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}/errors.rbi +0 -0
- /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/util.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 +0 -0
- /data/rbi/{lib/lithic → lithic}/models/auth_rules/auth_rule_condition.rbi +0 -0
- /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 +0 -0
- /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
@@ -17,11 +17,12 @@ module Lithic
|
|
17
17
|
parameters: T.any(
|
18
18
|
Lithic::Models::AuthRules::ConditionalBlockParameters,
|
19
19
|
Lithic::Internal::AnyHash,
|
20
|
-
Lithic::Models::AuthRules::VelocityLimitParams
|
20
|
+
Lithic::Models::AuthRules::VelocityLimitParams,
|
21
|
+
Lithic::Models::AuthRules::V2CreateParams::Parameters::MerchantLockParameters
|
21
22
|
),
|
22
23
|
type: Lithic::Models::AuthRules::V2CreateParams::Type::OrSymbol,
|
23
24
|
excluded_card_tokens: T::Array[String],
|
24
|
-
request_options:
|
25
|
+
request_options: Lithic::RequestOpts
|
25
26
|
)
|
26
27
|
.returns(Lithic::Models::AuthRules::V2CreateResponse)
|
27
28
|
end
|
@@ -44,10 +45,7 @@ module Lithic
|
|
44
45
|
); end
|
45
46
|
# Fetches a V2 authorization rule by its token
|
46
47
|
sig do
|
47
|
-
params(
|
48
|
-
auth_rule_token: String,
|
49
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
50
|
-
)
|
48
|
+
params(auth_rule_token: String, request_options: Lithic::RequestOpts)
|
51
49
|
.returns(Lithic::Models::AuthRules::V2RetrieveResponse)
|
52
50
|
end
|
53
51
|
def retrieve(
|
@@ -69,7 +67,7 @@ module Lithic
|
|
69
67
|
card_tokens: T::Array[String],
|
70
68
|
excluded_card_tokens: T::Array[String],
|
71
69
|
program_level: T::Boolean,
|
72
|
-
request_options:
|
70
|
+
request_options: Lithic::RequestOpts
|
73
71
|
)
|
74
72
|
.returns(Lithic::Models::AuthRules::V2UpdateResponse)
|
75
73
|
end
|
@@ -101,8 +99,9 @@ module Lithic
|
|
101
99
|
card_token: String,
|
102
100
|
ending_before: String,
|
103
101
|
page_size: Integer,
|
102
|
+
scope: Lithic::Models::AuthRules::V2ListParams::Scope::OrSymbol,
|
104
103
|
starting_after: String,
|
105
|
-
request_options:
|
104
|
+
request_options: Lithic::RequestOpts
|
106
105
|
)
|
107
106
|
.returns(Lithic::Internal::CursorPage[Lithic::Models::AuthRules::V2ListResponse])
|
108
107
|
end
|
@@ -116,19 +115,15 @@ module Lithic
|
|
116
115
|
ending_before: nil,
|
117
116
|
# Page size (for pagination).
|
118
117
|
page_size: nil,
|
118
|
+
# Only return Authorization Rules that are bound to the provided scope;
|
119
|
+
scope: nil,
|
119
120
|
# A cursor representing an item's token after which a page of results should
|
120
121
|
# begin. Used to retrieve the next page of results after this item.
|
121
122
|
starting_after: nil,
|
122
123
|
request_options: {}
|
123
124
|
); end
|
124
125
|
# Deletes a V2 authorization rule
|
125
|
-
sig
|
126
|
-
params(
|
127
|
-
auth_rule_token: String,
|
128
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
129
|
-
)
|
130
|
-
.void
|
131
|
-
end
|
126
|
+
sig { params(auth_rule_token: String, request_options: Lithic::RequestOpts).void }
|
132
127
|
def delete(
|
133
128
|
# Globally unique identifier for the Auth Rule.
|
134
129
|
auth_rule_token,
|
@@ -145,7 +140,7 @@ module Lithic
|
|
145
140
|
card_tokens: T::Array[String],
|
146
141
|
program_level: T::Boolean,
|
147
142
|
excluded_card_tokens: T::Array[String],
|
148
|
-
request_options:
|
143
|
+
request_options: Lithic::RequestOpts
|
149
144
|
)
|
150
145
|
.returns(Lithic::Models::AuthRules::V2ApplyResponse)
|
151
146
|
end
|
@@ -173,10 +168,11 @@ module Lithic
|
|
173
168
|
T.any(
|
174
169
|
Lithic::Models::AuthRules::ConditionalBlockParameters,
|
175
170
|
Lithic::Internal::AnyHash,
|
176
|
-
Lithic::Models::AuthRules::VelocityLimitParams
|
171
|
+
Lithic::Models::AuthRules::VelocityLimitParams,
|
172
|
+
Lithic::Models::AuthRules::V2DraftParams::Parameters::MerchantLockParameters
|
177
173
|
)
|
178
174
|
),
|
179
|
-
request_options:
|
175
|
+
request_options: Lithic::RequestOpts
|
180
176
|
)
|
181
177
|
.returns(Lithic::Models::AuthRules::V2DraftResponse)
|
182
178
|
end
|
@@ -190,10 +186,7 @@ module Lithic
|
|
190
186
|
# Promotes the draft version of an authorization rule to the currently active
|
191
187
|
# version such that it is enforced in the authorization stream.
|
192
188
|
sig do
|
193
|
-
params(
|
194
|
-
auth_rule_token: String,
|
195
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
196
|
-
)
|
189
|
+
params(auth_rule_token: String, request_options: Lithic::RequestOpts)
|
197
190
|
.returns(Lithic::Models::AuthRules::V2PromoteResponse)
|
198
191
|
end
|
199
192
|
def promote(
|
@@ -253,10 +246,7 @@ module Lithic
|
|
253
246
|
# between when Lithic's transaction processing systems have processed the
|
254
247
|
# transaction, and when a transaction will be included in the report.
|
255
248
|
sig do
|
256
|
-
params(
|
257
|
-
auth_rule_token: String,
|
258
|
-
request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))
|
259
|
-
)
|
249
|
+
params(auth_rule_token: String, request_options: Lithic::RequestOpts)
|
260
250
|
.returns(Lithic::Models::AuthRules::V2ReportResponse)
|
261
251
|
end
|
262
252
|
def report(
|
@@ -9,19 +9,14 @@ module Lithic
|
|
9
9
|
# the first time. See
|
10
10
|
# [this page](https://docs.lithic.com/docs/auth-stream-access-asa#asa-webhook-verification)
|
11
11
|
# for more detail about verifying ASA webhooks.
|
12
|
-
sig
|
13
|
-
params(request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash)))
|
14
|
-
.returns(Lithic::Models::AuthStreamSecret)
|
15
|
-
end
|
12
|
+
sig { params(request_options: Lithic::RequestOpts).returns(Lithic::Models::AuthStreamSecret) }
|
16
13
|
def retrieve_secret(request_options: {}); end
|
17
14
|
|
18
15
|
# Generate a new ASA HMAC secret key. The old ASA HMAC secret key will be
|
19
16
|
# deactivated 24 hours after a successful request to this endpoint. Make a
|
20
17
|
# [`GET /auth_stream/secret`](https://docs.lithic.com/reference/getauthstreamsecret)
|
21
18
|
# request to retrieve the new secret key.
|
22
|
-
sig
|
23
|
-
params(request_options: T.nilable(T.any(Lithic::RequestOptions, Lithic::Internal::AnyHash))).void
|
24
|
-
end
|
19
|
+
sig { params(request_options: Lithic::RequestOpts).void }
|
25
20
|
def rotate_secret(request_options: {}); end
|
26
21
|
|
27
22
|
# @api private
|
@@ -10,7 +10,7 @@ module Lithic
|
|
10
10
|
balance_date: Time,
|
11
11
|
business_account_token: String,
|
12
12
|
financial_account_type: Lithic::Models::BalanceListParams::FinancialAccountType::OrSymbol,
|
13
|
-
request_options:
|
13
|
+
request_options: Lithic::RequestOpts
|
14
14
|
)
|
15
15
|
.returns(Lithic::Internal::SinglePage[Lithic::Models::Balance])
|
16
16
|
end
|
@@ -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
|
|