lithic 0.1.0.pre.alpha.26 → 0.1.0.pre.alpha.28
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 +35 -0
- data/README.md +94 -54
- data/SECURITY.md +2 -2
- data/lib/lithic/client.rb +1 -1
- data/lib/lithic/internal/type/array_of.rb +8 -0
- data/lib/lithic/internal/type/base_model.rb +15 -0
- data/lib/lithic/internal/type/boolean.rb +8 -0
- data/lib/lithic/internal/type/enum.rb +12 -0
- data/lib/lithic/internal/type/file_input.rb +7 -0
- data/lib/lithic/internal/type/hash_of.rb +8 -0
- data/lib/lithic/internal/type/union.rb +12 -0
- data/lib/lithic/internal/type/unknown.rb +8 -0
- data/lib/lithic/internal/util.rb +50 -1
- data/lib/lithic/internal.rb +3 -0
- data/lib/lithic/models/account.rb +16 -16
- data/lib/lithic/models/account_holder.rb +49 -49
- data/lib/lithic/models/account_holder_create_params.rb +33 -31
- data/lib/lithic/models/account_holder_create_response.rb +2 -2
- data/lib/lithic/models/account_holder_list_documents_response.rb +2 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +4 -4
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +4 -4
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +6 -6
- data/lib/lithic/models/account_holder_update_params.rb +29 -27
- data/lib/lithic/models/account_holder_update_response.rb +6 -15
- data/lib/lithic/models/account_holder_upload_document_params.rb +2 -2
- data/lib/lithic/models/account_spend_limits.rb +11 -11
- data/lib/lithic/models/account_update_params.rb +4 -4
- data/lib/lithic/models/address.rb +2 -2
- data/lib/lithic/models/address_update.rb +2 -2
- data/lib/lithic/models/aggregate_balance.rb +5 -5
- data/lib/lithic/models/aggregate_balance_list_params.rb +2 -2
- data/lib/lithic/models/auth_rules/auth_rule.rb +4 -4
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -12
- data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +19 -19
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +6 -26
- data/lib/lithic/models/auth_rules/v2_create_params.rb +10 -20
- data/lib/lithic/models/auth_rules/v2_create_response.rb +6 -26
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +8 -18
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +6 -26
- data/lib/lithic/models/auth_rules/v2_list_params.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_response.rb +6 -26
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +6 -26
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +6 -26
- data/lib/lithic/models/auth_rules/v2_update_params.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_update_response.rb +6 -26
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +12 -16
- data/lib/lithic/models/balance.rb +5 -5
- data/lib/lithic/models/balance_list_params.rb +2 -2
- data/lib/lithic/models/book_transfer_create_params.rb +4 -4
- data/lib/lithic/models/book_transfer_list_params.rb +6 -6
- data/lib/lithic/models/book_transfer_response.rb +18 -18
- data/lib/lithic/models/card.rb +2 -2
- data/lib/lithic/models/card_convert_physical_params.rb +6 -6
- data/lib/lithic/models/card_create_params.rb +12 -12
- data/lib/lithic/models/card_list_params.rb +2 -2
- data/lib/lithic/models/card_program.rb +2 -2
- data/lib/lithic/models/card_provision_params.rb +2 -2
- data/lib/lithic/models/card_reissue_params.rb +6 -6
- data/lib/lithic/models/card_renew_params.rb +6 -6
- data/lib/lithic/models/card_spend_limits.rb +11 -11
- data/lib/lithic/models/card_update_params.rb +6 -6
- data/lib/lithic/models/card_web_provision_params.rb +2 -2
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/digital_card_art.rb +3 -3
- data/lib/lithic/models/dispute.rb +11 -11
- data/lib/lithic/models/dispute_create_params.rb +2 -2
- data/lib/lithic/models/dispute_evidence.rb +5 -5
- data/lib/lithic/models/dispute_list_params.rb +2 -2
- data/lib/lithic/models/dispute_update_params.rb +2 -2
- data/lib/lithic/models/document.rb +14 -14
- data/lib/lithic/models/event.rb +5 -5
- data/lib/lithic/models/event_list_attempts_params.rb +2 -2
- data/lib/lithic/models/event_list_params.rb +2 -2
- data/lib/lithic/models/event_subscription.rb +2 -2
- data/lib/lithic/models/events/subscription_create_params.rb +2 -2
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +2 -2
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -2
- data/lib/lithic/models/events/subscription_update_params.rb +2 -2
- data/lib/lithic/models/external_bank_account_create_params.rb +8 -8
- data/lib/lithic/models/external_bank_account_create_response.rb +2 -2
- data/lib/lithic/models/external_bank_account_list_params.rb +8 -8
- data/lib/lithic/models/external_bank_account_list_response.rb +2 -2
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +2 -2
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +2 -2
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +6 -6
- data/lib/lithic/models/external_bank_account_update_params.rb +6 -6
- data/lib/lithic/models/external_bank_account_update_response.rb +2 -2
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +2 -2
- data/lib/lithic/models/external_payment.rb +22 -22
- data/lib/lithic/models/external_payment_create_params.rb +6 -6
- data/lib/lithic/models/external_payment_list_params.rb +6 -6
- data/lib/lithic/models/external_payment_settle_params.rb +2 -2
- data/lib/lithic/models/financial_account.rb +18 -18
- data/lib/lithic/models/financial_account_create_params.rb +2 -2
- data/lib/lithic/models/financial_account_list_params.rb +2 -2
- data/lib/lithic/models/financial_account_update_status_params.rb +4 -4
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +6 -6
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/loan_tape.rb +68 -68
- data/lib/lithic/models/financial_accounts/statement.rb +46 -46
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +10 -10
- data/lib/lithic/models/financial_accounts/statements.rb +2 -2
- data/lib/lithic/models/financial_transaction.rb +19 -19
- data/lib/lithic/models/kyb.rb +27 -27
- data/lib/lithic/models/kyb_business_entity.rb +5 -5
- data/lib/lithic/models/kyc.rb +12 -12
- data/lib/lithic/models/kyc_exempt.rb +10 -10
- data/lib/lithic/models/management_operation_create_params.rb +6 -6
- data/lib/lithic/models/management_operation_list_params.rb +4 -4
- data/lib/lithic/models/management_operation_transaction.rb +25 -25
- data/lib/lithic/models/message_attempt.rb +5 -5
- data/lib/lithic/models/non_pci_card.rb +24 -24
- data/lib/lithic/models/payment.rb +38 -38
- data/lib/lithic/models/payment_create_params.rb +9 -9
- data/lib/lithic/models/payment_create_response.rb +2 -2
- data/lib/lithic/models/payment_list_params.rb +6 -6
- data/lib/lithic/models/payment_retry_response.rb +2 -2
- data/lib/lithic/models/payment_simulate_action_params.rb +4 -4
- data/lib/lithic/models/payment_simulate_receipt_params.rb +2 -2
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +2 -2
- data/lib/lithic/models/required_document.rb +2 -2
- data/lib/lithic/models/responder_endpoint_check_status_params.rb +2 -2
- data/lib/lithic/models/responder_endpoint_create_params.rb +2 -2
- data/lib/lithic/models/responder_endpoint_delete_params.rb +2 -2
- data/lib/lithic/models/settlement_detail.rb +11 -11
- data/lib/lithic/models/settlement_report.rb +4 -4
- data/lib/lithic/models/settlement_summary_details.rb +4 -4
- data/lib/lithic/models/shipping_address.rb +2 -2
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +8 -7
- data/lib/lithic/models/three_ds/challenge_response.rb +3 -3
- data/lib/lithic/models/tokenization.rb +19 -19
- data/lib/lithic/models/tokenization_list_params.rb +2 -2
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +2 -2
- data/lib/lithic/models/tokenization_retrieve_response.rb +2 -2
- data/lib/lithic/models/tokenization_simulate_params.rb +4 -4
- data/lib/lithic/models/tokenization_simulate_response.rb +2 -2
- data/lib/lithic/models/tokenization_update_digital_card_art_response.rb +2 -2
- data/lib/lithic/models/transaction.rb +162 -160
- data/lib/lithic/models/transaction_list_params.rb +4 -4
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +2 -2
- data/lib/lithic/models/transaction_simulate_void_params.rb +2 -2
- data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rb +2 -2
- data/lib/lithic/models/transactions/events/enhanced_data.rb +29 -29
- data/lib/lithic/models/transfer.rb +25 -25
- data/lib/lithic/models.rb +30 -19
- data/lib/lithic/resources/account_holders.rb +24 -24
- data/lib/lithic/resources/accounts.rb +6 -6
- data/lib/lithic/resources/aggregate_balances.rb +2 -2
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +1 -1
- data/lib/lithic/resources/auth_rules/v2.rb +5 -5
- data/lib/lithic/resources/auth_stream_enrollment.rb +1 -1
- data/lib/lithic/resources/balances.rb +2 -2
- data/lib/lithic/resources/book_transfers.rb +9 -9
- data/lib/lithic/resources/card_programs.rb +2 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +5 -5
- data/lib/lithic/resources/cards.rb +30 -30
- data/lib/lithic/resources/credit_products/extended_credit.rb +1 -1
- data/lib/lithic/resources/digital_card_art.rb +2 -2
- data/lib/lithic/resources/disputes.rb +12 -12
- data/lib/lithic/resources/events/subscriptions.rb +9 -9
- data/lib/lithic/resources/events.rb +5 -5
- data/lib/lithic/resources/external_bank_accounts.rb +11 -11
- data/lib/lithic/resources/external_payments.rb +14 -14
- data/lib/lithic/resources/financial_accounts/credit_configuration.rb +2 -2
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +5 -5
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +2 -2
- data/lib/lithic/resources/financial_accounts/statements/line_items.rb +1 -1
- data/lib/lithic/resources/financial_accounts/statements.rb +2 -2
- data/lib/lithic/resources/financial_accounts.rb +9 -9
- data/lib/lithic/resources/management_operations.rb +9 -9
- data/lib/lithic/resources/payments.rb +11 -11
- data/lib/lithic/resources/reports/settlement/network_totals.rb +1 -1
- data/lib/lithic/resources/reports/settlement.rb +2 -2
- data/lib/lithic/resources/responder_endpoints.rb +4 -4
- data/lib/lithic/resources/three_ds/authentication.rb +3 -3
- data/lib/lithic/resources/three_ds/decisioning.rb +1 -1
- data/lib/lithic/resources/tokenization_decisioning.rb +1 -1
- data/lib/lithic/resources/tokenizations.rb +5 -5
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions.rb +6 -6
- data/lib/lithic/resources/transfers.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/rbi/lithic/internal/type/array_of.rbi +6 -0
- data/rbi/lithic/internal/type/base_model.rbi +5 -0
- data/rbi/lithic/internal/type/boolean.rbi +6 -0
- data/rbi/lithic/internal/type/enum.rbi +5 -0
- data/rbi/lithic/internal/type/file_input.rbi +5 -0
- data/rbi/lithic/internal/type/hash_of.rbi +6 -0
- data/rbi/lithic/internal/type/union.rbi +5 -0
- data/rbi/lithic/internal/type/unknown.rbi +6 -0
- data/rbi/lithic/internal/util.rbi +31 -0
- data/rbi/lithic/internal.rbi +3 -0
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +12 -4
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +4 -20
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +4 -20
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +4 -20
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +4 -20
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +4 -20
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +4 -20
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +4 -20
- data/rbi/lithic/resources/account_holders.rbi +1 -6
- data/sig/lithic/internal/type/array_of.rbs +3 -0
- data/sig/lithic/internal/type/base_model.rbs +2 -0
- data/sig/lithic/internal/type/boolean.rbs +3 -0
- data/sig/lithic/internal/type/enum.rbs +2 -0
- data/sig/lithic/internal/type/file_input.rbs +2 -0
- data/sig/lithic/internal/type/hash_of.rbs +3 -0
- data/sig/lithic/internal/type/union.rbs +2 -0
- data/sig/lithic/internal/type/unknown.rbs +3 -0
- data/sig/lithic/internal/util.rbs +12 -0
- data/sig/lithic/internal.rbs +2 -0
- data/sig/lithic/models/account.rbs +33 -4
- data/sig/lithic/models/account_holder.rbs +116 -36
- data/sig/lithic/models/account_holder_create_params.rbs +71 -0
- data/sig/lithic/models/account_holder_create_response.rbs +10 -0
- data/sig/lithic/models/account_holder_list_documents_params.rbs +2 -0
- data/sig/lithic/models/account_holder_list_documents_response.rbs +2 -0
- data/sig/lithic/models/account_holder_list_params.rbs +15 -0
- data/sig/lithic/models/account_holder_retrieve_document_params.rbs +5 -0
- data/sig/lithic/models/account_holder_retrieve_params.rbs +2 -0
- data/sig/lithic/models/account_holder_simulate_enrollment_document_review_params.rbs +8 -0
- data/sig/lithic/models/account_holder_simulate_enrollment_review_params.rbs +13 -6
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +87 -0
- data/sig/lithic/models/account_holder_update_params.rbs +72 -0
- data/sig/lithic/models/account_holder_update_response.rbs +107 -0
- data/sig/lithic/models/account_holder_upload_document_params.rbs +6 -0
- data/sig/lithic/models/account_list_params.rbs +9 -0
- data/sig/lithic/models/account_retrieve_params.rbs +2 -0
- data/sig/lithic/models/account_retrieve_spend_limits_params.rbs +2 -0
- data/sig/lithic/models/account_spend_limits.rbs +12 -0
- data/sig/lithic/models/account_update_params.rbs +18 -0
- data/sig/lithic/models/address.rbs +9 -0
- data/sig/lithic/models/address_update.rbs +9 -0
- data/sig/lithic/models/aggregate_balance.rbs +17 -4
- data/sig/lithic/models/aggregate_balance_list_params.rbs +5 -0
- data/sig/lithic/models/api_status.rbs +2 -0
- data/sig/lithic/models/auth_rules/auth_rule.rbs +16 -4
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +18 -12
- data/sig/lithic/models/auth_rules/conditional_block_parameters.rbs +4 -0
- data/sig/lithic/models/auth_rules/v2/backtest_create_params.rbs +6 -0
- data/sig/lithic/models/auth_rules/v2/backtest_create_response.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2/backtest_results.rbs +39 -0
- data/sig/lithic/models/auth_rules/v2/backtest_retrieve_params.rbs +5 -0
- data/sig/lithic/models/auth_rules/v2_apply_params.rbs +8 -0
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +43 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +21 -0
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +43 -0
- data/sig/lithic/models/auth_rules/v2_delete_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +15 -0
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +43 -0
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +10 -0
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +43 -0
- data/sig/lithic/models/auth_rules/v2_promote_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +43 -0
- data/sig/lithic/models/auth_rules/v2_report_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_report_response.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_retrieve_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +43 -0
- data/sig/lithic/models/auth_rules/v2_update_params.rbs +10 -0
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +43 -0
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +23 -8
- data/sig/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbs +2 -0
- data/sig/lithic/models/auth_stream_enrollment_rotate_secret_params.rbs +2 -0
- data/sig/lithic/models/auth_stream_secret.rbs +2 -0
- data/sig/lithic/models/balance.rbs +17 -4
- data/sig/lithic/models/balance_list_params.rbs +8 -0
- data/sig/lithic/models/book_transfer_create_params.rbs +12 -0
- data/sig/lithic/models/book_transfer_list_params.rbs +15 -0
- data/sig/lithic/models/book_transfer_response.rbs +46 -20
- data/sig/lithic/models/book_transfer_retrieve_params.rbs +2 -0
- data/sig/lithic/models/book_transfer_reverse_params.rbs +2 -0
- data/sig/lithic/models/card.rbs +2 -0
- data/sig/lithic/models/card_convert_physical_params.rbs +8 -0
- data/sig/lithic/models/card_create_params.rbs +21 -0
- data/sig/lithic/models/card_embed_params.rbs +6 -0
- data/sig/lithic/models/card_list_params.rbs +12 -0
- data/sig/lithic/models/card_program.rbs +10 -0
- data/sig/lithic/models/card_program_list_params.rbs +7 -0
- data/sig/lithic/models/card_program_retrieve_params.rbs +2 -0
- data/sig/lithic/models/card_provision_params.rbs +10 -0
- data/sig/lithic/models/card_provision_response.rbs +2 -0
- data/sig/lithic/models/card_reissue_params.rbs +8 -0
- data/sig/lithic/models/card_renew_params.rbs +10 -0
- data/sig/lithic/models/card_retrieve_params.rbs +2 -0
- data/sig/lithic/models/card_retrieve_spend_limits_params.rbs +2 -0
- data/sig/lithic/models/card_search_by_pan_params.rbs +2 -0
- data/sig/lithic/models/card_spend_limits.rbs +24 -0
- data/sig/lithic/models/card_update_params.rbs +11 -0
- data/sig/lithic/models/card_web_provision_params.rbs +5 -0
- data/sig/lithic/models/card_web_provision_response.rbs +14 -0
- data/sig/lithic/models/cards/aggregate_balance_list_params.rbs +6 -0
- data/sig/lithic/models/cards/aggregate_balance_list_response.rbs +12 -0
- data/sig/lithic/models/cards/balance_list_params.rbs +6 -0
- data/sig/lithic/models/cards/balance_list_response.rbs +13 -0
- data/sig/lithic/models/cards/financial_transaction_list_params.rbs +11 -0
- data/sig/lithic/models/cards/financial_transaction_retrieve_params.rbs +5 -0
- data/sig/lithic/models/carrier.rbs +2 -0
- data/sig/lithic/models/client_api_status_params.rbs +2 -0
- data/sig/lithic/models/credit_products/extended_credit.rbs +2 -0
- data/sig/lithic/models/credit_products/extended_credit_retrieve_params.rbs +2 -0
- data/sig/lithic/models/credit_products/prime_rate_create_params.rbs +6 -0
- data/sig/lithic/models/credit_products/prime_rate_retrieve_params.rbs +6 -0
- data/sig/lithic/models/credit_products/prime_rate_retrieve_response.rbs +7 -0
- data/sig/lithic/models/digital_card_art.rbs +14 -4
- data/sig/lithic/models/digital_card_art_list_params.rbs +7 -0
- data/sig/lithic/models/digital_card_art_retrieve_params.rbs +2 -0
- data/sig/lithic/models/dispute.rbs +33 -12
- data/sig/lithic/models/dispute_create_params.rbs +9 -0
- data/sig/lithic/models/dispute_delete_evidence_params.rbs +5 -0
- data/sig/lithic/models/dispute_delete_params.rbs +2 -0
- data/sig/lithic/models/dispute_evidence.rbs +14 -4
- data/sig/lithic/models/dispute_initiate_evidence_upload_params.rbs +5 -0
- data/sig/lithic/models/dispute_list_evidences_params.rbs +9 -0
- data/sig/lithic/models/dispute_list_params.rbs +11 -0
- data/sig/lithic/models/dispute_retrieve_evidence_params.rbs +5 -0
- data/sig/lithic/models/dispute_retrieve_params.rbs +2 -0
- data/sig/lithic/models/dispute_update_params.rbs +8 -0
- data/sig/lithic/models/document.rbs +36 -16
- data/sig/lithic/models/event.rbs +11 -4
- data/sig/lithic/models/event_list_attempts_params.rbs +10 -0
- data/sig/lithic/models/event_list_params.rbs +17 -6
- data/sig/lithic/models/event_retrieve_params.rbs +2 -0
- data/sig/lithic/models/event_subscription.rbs +12 -4
- data/sig/lithic/models/events/event_subscription_resend_params.rbs +5 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +14 -6
- data/sig/lithic/models/events/subscription_delete_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_list_attempts_params.rbs +10 -0
- data/sig/lithic/models/events/subscription_list_params.rbs +7 -0
- data/sig/lithic/models/events/subscription_recover_params.rbs +6 -0
- data/sig/lithic/models/events/subscription_replay_missing_params.rbs +6 -0
- data/sig/lithic/models/events/subscription_retrieve_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_retrieve_secret_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_retrieve_secret_response.rbs +2 -0
- data/sig/lithic/models/events/subscription_rotate_secret_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +5 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +14 -6
- data/sig/lithic/models/external_bank_account_address.rbs +9 -0
- data/sig/lithic/models/external_bank_account_create_params.rbs +22 -0
- data/sig/lithic/models/external_bank_account_create_response.rbs +25 -0
- data/sig/lithic/models/external_bank_account_list_params.rbs +31 -18
- data/sig/lithic/models/external_bank_account_list_response.rbs +25 -0
- data/sig/lithic/models/external_bank_account_retrieve_params.rbs +2 -0
- data/sig/lithic/models/external_bank_account_retrieve_response.rbs +25 -0
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_params.rbs +5 -0
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_response.rbs +25 -0
- data/sig/lithic/models/external_bank_account_retry_prenote_params.rbs +5 -0
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +25 -0
- data/sig/lithic/models/external_bank_account_update_params.rbs +13 -0
- data/sig/lithic/models/external_bank_account_update_response.rbs +25 -0
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_params.rbs +5 -0
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_response.rbs +25 -0
- data/sig/lithic/models/external_payment.rbs +55 -28
- data/sig/lithic/models/external_payment_cancel_params.rbs +6 -0
- data/sig/lithic/models/external_payment_create_params.rbs +13 -0
- data/sig/lithic/models/external_payment_list_params.rbs +14 -0
- data/sig/lithic/models/external_payment_release_params.rbs +6 -0
- data/sig/lithic/models/external_payment_retrieve_params.rbs +2 -0
- data/sig/lithic/models/external_payment_reverse_params.rbs +6 -0
- data/sig/lithic/models/external_payment_settle_params.rbs +7 -0
- data/sig/lithic/models/financial_account.rbs +45 -20
- data/sig/lithic/models/financial_account_create_params.rbs +9 -0
- data/sig/lithic/models/financial_account_list_params.rbs +7 -0
- data/sig/lithic/models/financial_account_retrieve_params.rbs +2 -0
- data/sig/lithic/models/financial_account_update_params.rbs +5 -0
- data/sig/lithic/models/financial_account_update_status_params.rbs +6 -0
- data/sig/lithic/models/financial_accounts/balance_list_params.rbs +6 -0
- data/sig/lithic/models/financial_accounts/balance_list_response.rbs +13 -0
- data/sig/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbs +2 -0
- data/sig/lithic/models/financial_accounts/credit_configuration_update_params.rbs +8 -0
- data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +19 -8
- data/sig/lithic/models/financial_accounts/financial_transaction_list_params.rbs +11 -0
- data/sig/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +156 -16
- data/sig/lithic/models/financial_accounts/loan_tape_list_params.rbs +9 -0
- data/sig/lithic/models/financial_accounts/loan_tape_retrieve_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/statement.rbs +110 -20
- data/sig/lithic/models/financial_accounts/statement_list_params.rbs +10 -0
- data/sig/lithic/models/financial_accounts/statement_retrieve_params.rbs +5 -0
- data/sig/lithic/models/financial_accounts/statements/line_item_list_params.rbs +8 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +28 -8
- data/sig/lithic/models/financial_accounts/statements.rbs +5 -0
- data/sig/lithic/models/financial_transaction.rbs +46 -24
- data/sig/lithic/models/funding_event_list_params.rbs +7 -0
- data/sig/lithic/models/funding_event_list_response.rbs +13 -0
- data/sig/lithic/models/funding_event_retrieve_details_params.rbs +2 -0
- data/sig/lithic/models/funding_event_retrieve_details_response.rbs +6 -0
- data/sig/lithic/models/funding_event_retrieve_params.rbs +2 -0
- data/sig/lithic/models/funding_event_retrieve_response.rbs +13 -0
- data/sig/lithic/models/kyb.rbs +55 -4
- data/sig/lithic/models/kyb_business_entity.rbs +18 -0
- data/sig/lithic/models/kyc.rbs +22 -4
- data/sig/lithic/models/kyc_exempt.rbs +20 -8
- data/sig/lithic/models/management_operation_create_params.rbs +14 -0
- data/sig/lithic/models/management_operation_list_params.rbs +13 -0
- data/sig/lithic/models/management_operation_retrieve_params.rbs +2 -0
- data/sig/lithic/models/management_operation_reverse_params.rbs +6 -0
- data/sig/lithic/models/management_operation_transaction.rbs +63 -28
- data/sig/lithic/models/message_attempt.rbs +15 -4
- data/sig/lithic/models/non_pci_card.rbs +58 -24
- data/sig/lithic/models/payment.rbs +82 -42
- data/sig/lithic/models/payment_create_params.rbs +23 -4
- data/sig/lithic/models/payment_create_response.rbs +2 -0
- data/sig/lithic/models/payment_list_params.rbs +15 -0
- data/sig/lithic/models/payment_retrieve_params.rbs +2 -0
- data/sig/lithic/models/payment_retry_params.rbs +2 -0
- data/sig/lithic/models/payment_retry_response.rbs +2 -0
- data/sig/lithic/models/payment_simulate_action_params.rbs +7 -0
- data/sig/lithic/models/payment_simulate_action_response.rbs +6 -0
- data/sig/lithic/models/payment_simulate_receipt_params.rbs +9 -0
- data/sig/lithic/models/payment_simulate_receipt_response.rbs +6 -0
- data/sig/lithic/models/payment_simulate_release_params.rbs +5 -0
- data/sig/lithic/models/payment_simulate_release_response.rbs +6 -0
- data/sig/lithic/models/payment_simulate_return_params.rbs +6 -0
- data/sig/lithic/models/payment_simulate_return_response.rbs +6 -0
- data/sig/lithic/models/reports/settlement/network_total_list_params.rbs +15 -0
- data/sig/lithic/models/reports/settlement/network_total_list_response.rbs +21 -0
- data/sig/lithic/models/reports/settlement/network_total_retrieve_params.rbs +2 -0
- data/sig/lithic/models/reports/settlement/network_total_retrieve_response.rbs +21 -0
- data/sig/lithic/models/reports/settlement_list_details_params.rbs +7 -0
- data/sig/lithic/models/reports/settlement_summary_params.rbs +2 -0
- data/sig/lithic/models/required_document.rbs +6 -0
- data/sig/lithic/models/responder_endpoint_check_status_params.rbs +5 -0
- data/sig/lithic/models/responder_endpoint_create_params.rbs +6 -0
- data/sig/lithic/models/responder_endpoint_create_response.rbs +2 -0
- data/sig/lithic/models/responder_endpoint_delete_params.rbs +5 -0
- data/sig/lithic/models/responder_endpoint_status.rbs +2 -0
- data/sig/lithic/models/settlement_detail.rbs +34 -8
- data/sig/lithic/models/settlement_report.rbs +14 -0
- data/sig/lithic/models/settlement_summary_details.rbs +17 -6
- data/sig/lithic/models/shipping_address.rbs +14 -0
- data/sig/lithic/models/three_ds/authentication_retrieve_params.rbs +2 -0
- data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +102 -0
- data/sig/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbs +6 -0
- data/sig/lithic/models/three_ds/authentication_simulate_params.rbs +17 -0
- data/sig/lithic/models/three_ds/authentication_simulate_response.rbs +2 -0
- data/sig/lithic/models/three_ds/challenge_response.rbs +5 -0
- data/sig/lithic/models/three_ds/decisioning_challenge_response_params.rbs +2 -0
- data/sig/lithic/models/three_ds/decisioning_retrieve_secret_params.rbs +2 -0
- data/sig/lithic/models/three_ds/decisioning_retrieve_secret_response.rbs +2 -0
- data/sig/lithic/models/three_ds/decisioning_rotate_secret_params.rbs +2 -0
- data/sig/lithic/models/tokenization.rbs +47 -24
- data/sig/lithic/models/tokenization_activate_params.rbs +2 -0
- data/sig/lithic/models/tokenization_deactivate_params.rbs +2 -0
- data/sig/lithic/models/tokenization_decisioning_retrieve_secret_params.rbs +2 -0
- data/sig/lithic/models/tokenization_decisioning_rotate_secret_params.rbs +2 -0
- data/sig/lithic/models/tokenization_decisioning_rotate_secret_response.rbs +2 -0
- data/sig/lithic/models/tokenization_list_params.rbs +12 -0
- data/sig/lithic/models/tokenization_pause_params.rbs +2 -0
- data/sig/lithic/models/tokenization_resend_activation_code_params.rbs +5 -0
- data/sig/lithic/models/tokenization_retrieve_params.rbs +2 -0
- data/sig/lithic/models/tokenization_retrieve_response.rbs +2 -0
- data/sig/lithic/models/tokenization_secret.rbs +2 -0
- data/sig/lithic/models/tokenization_simulate_params.rbs +12 -0
- data/sig/lithic/models/tokenization_simulate_response.rbs +2 -0
- data/sig/lithic/models/tokenization_unpause_params.rbs +2 -0
- data/sig/lithic/models/tokenization_update_digital_card_art_params.rbs +5 -0
- data/sig/lithic/models/tokenization_update_digital_card_art_response.rbs +2 -0
- data/sig/lithic/models/transaction.rbs +277 -90
- data/sig/lithic/models/transaction_expire_authorization_params.rbs +2 -0
- data/sig/lithic/models/transaction_list_params.rbs +13 -0
- data/sig/lithic/models/transaction_retrieve_params.rbs +2 -0
- data/sig/lithic/models/transaction_simulate_authorization_advice_params.rbs +6 -0
- data/sig/lithic/models/transaction_simulate_authorization_advice_response.rbs +2 -0
- data/sig/lithic/models/transaction_simulate_authorization_params.rbs +14 -0
- data/sig/lithic/models/transaction_simulate_authorization_response.rbs +2 -0
- data/sig/lithic/models/transaction_simulate_clearing_params.rbs +6 -0
- data/sig/lithic/models/transaction_simulate_clearing_response.rbs +2 -0
- data/sig/lithic/models/transaction_simulate_credit_authorization_params.rbs +9 -0
- data/sig/lithic/models/transaction_simulate_credit_authorization_response.rbs +2 -0
- data/sig/lithic/models/transaction_simulate_return_params.rbs +7 -0
- data/sig/lithic/models/transaction_simulate_return_response.rbs +2 -0
- data/sig/lithic/models/transaction_simulate_return_reversal_params.rbs +2 -0
- data/sig/lithic/models/transaction_simulate_return_reversal_response.rbs +2 -0
- data/sig/lithic/models/transaction_simulate_void_params.rbs +7 -0
- data/sig/lithic/models/transaction_simulate_void_response.rbs +2 -0
- data/sig/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbs +2 -0
- data/sig/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbs +4 -0
- data/sig/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbs +2 -0
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +75 -24
- data/sig/lithic/models/transfer.rbs +57 -27
- data/sig/lithic/models/transfer_create_params.rbs +9 -0
- data/sig/lithic/resources/account_holders.rbs +1 -1
- data/sig/lithic/resources/events/subscriptions.rbs +2 -2
- data/sig/lithic/resources/events.rbs +1 -1
- data/sig/lithic/resources/external_bank_accounts.rbs +3 -3
- metadata +2 -2
@@ -16,11 +16,11 @@ module Lithic
|
|
16
16
|
#
|
17
17
|
# @param financial_account_token [String]
|
18
18
|
#
|
19
|
-
# @param method_ [Symbol, Lithic::PaymentCreateParams::Method]
|
19
|
+
# @param method_ [Symbol, Lithic::Models::PaymentCreateParams::Method]
|
20
20
|
#
|
21
|
-
# @param method_attributes [Lithic::PaymentCreateParams::MethodAttributes]
|
21
|
+
# @param method_attributes [Lithic::Models::PaymentCreateParams::MethodAttributes]
|
22
22
|
#
|
23
|
-
# @param type [Symbol, Lithic::PaymentCreateParams::Type]
|
23
|
+
# @param type [Symbol, Lithic::Models::PaymentCreateParams::Type]
|
24
24
|
#
|
25
25
|
# @param token [String] Customer-provided token that will serve as an idempotency token. This token will
|
26
26
|
#
|
@@ -51,7 +51,7 @@ module Lithic
|
|
51
51
|
# @param payment_token [String]
|
52
52
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
53
53
|
#
|
54
|
-
# @return [Lithic::Payment]
|
54
|
+
# @return [Lithic::Models::Payment]
|
55
55
|
#
|
56
56
|
# @see Lithic::Models::PaymentRetrieveParams
|
57
57
|
def retrieve(payment_token, params = {})
|
@@ -76,7 +76,7 @@ module Lithic
|
|
76
76
|
#
|
77
77
|
# @param business_account_token [String]
|
78
78
|
#
|
79
|
-
# @param category [Symbol, Lithic::PaymentListParams::Category]
|
79
|
+
# @param category [Symbol, Lithic::Models::PaymentListParams::Category]
|
80
80
|
#
|
81
81
|
# @param end_ [Time] Date string in RFC 3339 format. Only entries created before the specified time w
|
82
82
|
#
|
@@ -86,15 +86,15 @@ module Lithic
|
|
86
86
|
#
|
87
87
|
# @param page_size [Integer] Page size (for pagination).
|
88
88
|
#
|
89
|
-
# @param result [Symbol, Lithic::PaymentListParams::Result]
|
89
|
+
# @param result [Symbol, Lithic::Models::PaymentListParams::Result]
|
90
90
|
#
|
91
91
|
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
92
92
|
#
|
93
|
-
# @param status [Symbol, Lithic::PaymentListParams::Status]
|
93
|
+
# @param status [Symbol, Lithic::Models::PaymentListParams::Status]
|
94
94
|
#
|
95
95
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
96
96
|
#
|
97
|
-
# @return [Lithic::Internal::CursorPage<Lithic::Payment>]
|
97
|
+
# @return [Lithic::Internal::CursorPage<Lithic::Models::Payment>]
|
98
98
|
#
|
99
99
|
# @see Lithic::Models::PaymentListParams
|
100
100
|
def list(params = {})
|
@@ -134,9 +134,9 @@ module Lithic
|
|
134
134
|
#
|
135
135
|
# @param payment_token [String]
|
136
136
|
#
|
137
|
-
# @param event_type [Symbol, Lithic::PaymentSimulateActionParams::EventType] Event Type
|
137
|
+
# @param event_type [Symbol, Lithic::Models::PaymentSimulateActionParams::EventType] Event Type
|
138
138
|
#
|
139
|
-
# @param decline_reason [Symbol, Lithic::PaymentSimulateActionParams::DeclineReason] Decline reason
|
139
|
+
# @param decline_reason [Symbol, Lithic::Models::PaymentSimulateActionParams::DeclineReason] Decline reason
|
140
140
|
#
|
141
141
|
# @param return_reason_code [String] Return Reason Code
|
142
142
|
#
|
@@ -169,7 +169,7 @@ module Lithic
|
|
169
169
|
#
|
170
170
|
# @param financial_account_token [String] Financial Account Token
|
171
171
|
#
|
172
|
-
# @param receipt_type [Symbol, Lithic::PaymentSimulateReceiptParams::ReceiptType] Receipt Type
|
172
|
+
# @param receipt_type [Symbol, Lithic::Models::PaymentSimulateReceiptParams::ReceiptType] Receipt Type
|
173
173
|
#
|
174
174
|
# @param memo [String] Memo
|
175
175
|
#
|
@@ -40,7 +40,7 @@ module Lithic
|
|
40
40
|
#
|
41
41
|
# @param institution_id [String] Institution ID to filter on.
|
42
42
|
#
|
43
|
-
# @param network [Symbol, Lithic::Reports::Settlement::NetworkTotalListParams::Network] Network to filter on.
|
43
|
+
# @param network [Symbol, Lithic::Models::Reports::Settlement::NetworkTotalListParams::Network] Network to filter on.
|
44
44
|
#
|
45
45
|
# @param page_size [Integer] Number of records per page.
|
46
46
|
#
|
@@ -24,7 +24,7 @@ module Lithic
|
|
24
24
|
#
|
25
25
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
26
26
|
#
|
27
|
-
# @return [Lithic::Internal::CursorPage<Lithic::SettlementDetail>]
|
27
|
+
# @return [Lithic::Internal::CursorPage<Lithic::Models::SettlementDetail>]
|
28
28
|
#
|
29
29
|
# @see Lithic::Models::Reports::SettlementListDetailsParams
|
30
30
|
def list_details(report_date, params = {})
|
@@ -47,7 +47,7 @@ module Lithic
|
|
47
47
|
#
|
48
48
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
49
49
|
#
|
50
|
-
# @return [Lithic::SettlementReport]
|
50
|
+
# @return [Lithic::Models::SettlementReport]
|
51
51
|
#
|
52
52
|
# @see Lithic::Models::Reports::SettlementSummaryParams
|
53
53
|
def summary(report_date, params = {})
|
@@ -7,7 +7,7 @@ module Lithic
|
|
7
7
|
#
|
8
8
|
# @overload create(type: nil, url: nil, request_options: {})
|
9
9
|
#
|
10
|
-
# @param type [Symbol, Lithic::ResponderEndpointCreateParams::Type] The type of the endpoint.
|
10
|
+
# @param type [Symbol, Lithic::Models::ResponderEndpointCreateParams::Type] The type of the endpoint.
|
11
11
|
#
|
12
12
|
# @param url [String] The URL for the responder endpoint (must be http(s)).
|
13
13
|
#
|
@@ -31,7 +31,7 @@ module Lithic
|
|
31
31
|
#
|
32
32
|
# @overload delete(type:, request_options: {})
|
33
33
|
#
|
34
|
-
# @param type [Symbol, Lithic::ResponderEndpointDeleteParams::Type] The type of the endpoint.
|
34
|
+
# @param type [Symbol, Lithic::Models::ResponderEndpointDeleteParams::Type] The type of the endpoint.
|
35
35
|
#
|
36
36
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
37
37
|
#
|
@@ -53,11 +53,11 @@ module Lithic
|
|
53
53
|
#
|
54
54
|
# @overload check_status(type:, request_options: {})
|
55
55
|
#
|
56
|
-
# @param type [Symbol, Lithic::ResponderEndpointCheckStatusParams::Type] The type of the endpoint.
|
56
|
+
# @param type [Symbol, Lithic::Models::ResponderEndpointCheckStatusParams::Type] The type of the endpoint.
|
57
57
|
#
|
58
58
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
59
59
|
#
|
60
|
-
# @return [Lithic::ResponderEndpointStatus]
|
60
|
+
# @return [Lithic::Models::ResponderEndpointStatus]
|
61
61
|
#
|
62
62
|
# @see Lithic::Models::ResponderEndpointCheckStatusParams
|
63
63
|
def check_status(params)
|
@@ -34,13 +34,13 @@ module Lithic
|
|
34
34
|
#
|
35
35
|
# @overload simulate(merchant:, pan:, transaction:, card_expiry_check: nil, request_options: {})
|
36
36
|
#
|
37
|
-
# @param merchant [Lithic::ThreeDS::AuthenticationSimulateParams::Merchant]
|
37
|
+
# @param merchant [Lithic::Models::ThreeDS::AuthenticationSimulateParams::Merchant]
|
38
38
|
#
|
39
39
|
# @param pan [String] Sixteen digit card number.
|
40
40
|
#
|
41
|
-
# @param transaction [Lithic::ThreeDS::AuthenticationSimulateParams::Transaction]
|
41
|
+
# @param transaction [Lithic::Models::ThreeDS::AuthenticationSimulateParams::Transaction]
|
42
42
|
#
|
43
|
-
# @param card_expiry_check [Symbol, Lithic::ThreeDS::AuthenticationSimulateParams::CardExpiryCheck] When set will use the following values as part of the Simulated Authentication.
|
43
|
+
# @param card_expiry_check [Symbol, Lithic::Models::ThreeDS::AuthenticationSimulateParams::CardExpiryCheck] When set will use the following values as part of the Simulated Authentication.
|
44
44
|
#
|
45
45
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
46
46
|
#
|
@@ -13,7 +13,7 @@ module Lithic
|
|
13
13
|
#
|
14
14
|
# @param token [String] Globally unique identifier for the 3DS authentication. This token is sent as par
|
15
15
|
#
|
16
|
-
# @param challenge_response [Symbol, Lithic::ThreeDS::ChallengeResult] Whether the Cardholder has Approved or Declined the issued Challenge
|
16
|
+
# @param challenge_response [Symbol, Lithic::Models::ThreeDS::ChallengeResult] Whether the Cardholder has Approved or Declined the issued Challenge
|
17
17
|
#
|
18
18
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
19
19
|
#
|
@@ -14,7 +14,7 @@ module Lithic
|
|
14
14
|
#
|
15
15
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
16
16
|
#
|
17
|
-
# @return [Lithic::TokenizationSecret]
|
17
|
+
# @return [Lithic::Models::TokenizationSecret]
|
18
18
|
#
|
19
19
|
# @see Lithic::Models::TokenizationDecisioningRetrieveSecretParams
|
20
20
|
def retrieve_secret(params = {})
|
@@ -44,11 +44,11 @@ module Lithic
|
|
44
44
|
#
|
45
45
|
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
46
46
|
#
|
47
|
-
# @param tokenization_channel [Symbol, Lithic::TokenizationListParams::TokenizationChannel] Filter for tokenizations by tokenization channel. If this is not specified, only
|
47
|
+
# @param tokenization_channel [Symbol, Lithic::Models::TokenizationListParams::TokenizationChannel] Filter for tokenizations by tokenization channel. If this is not specified, only
|
48
48
|
#
|
49
49
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
50
50
|
#
|
51
|
-
# @return [Lithic::Internal::CursorPage<Lithic::Tokenization>]
|
51
|
+
# @return [Lithic::Internal::CursorPage<Lithic::Models::Tokenization>]
|
52
52
|
#
|
53
53
|
# @see Lithic::Models::TokenizationListParams
|
54
54
|
def list(params = {})
|
@@ -163,7 +163,7 @@ module Lithic
|
|
163
163
|
#
|
164
164
|
# @param tokenization_token [String] Tokenization token
|
165
165
|
#
|
166
|
-
# @param activation_method_type [Symbol, Lithic::TokenizationResendActivationCodeParams::ActivationMethodType] The communication method that the user has selected to use to receive the authen
|
166
|
+
# @param activation_method_type [Symbol, Lithic::Models::TokenizationResendActivationCodeParams::ActivationMethodType] The communication method that the user has selected to use to receive the authen
|
167
167
|
#
|
168
168
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
169
169
|
#
|
@@ -195,7 +195,7 @@ module Lithic
|
|
195
195
|
#
|
196
196
|
# @param pan [String] The sixteen digit card number.
|
197
197
|
#
|
198
|
-
# @param tokenization_source [Symbol, Lithic::TokenizationSimulateParams::TokenizationSource] The source of the tokenization request.
|
198
|
+
# @param tokenization_source [Symbol, Lithic::Models::TokenizationSimulateParams::TokenizationSource] The source of the tokenization request.
|
199
199
|
#
|
200
200
|
# @param account_score [Integer] The account score (1-5) that represents how the Digital Wallet's view on how rep
|
201
201
|
#
|
@@ -203,7 +203,7 @@ module Lithic
|
|
203
203
|
#
|
204
204
|
# @param entity [String] Optional field to specify the token requestor name for a merchant token simulati
|
205
205
|
#
|
206
|
-
# @param wallet_recommended_decision [Symbol, Lithic::TokenizationSimulateParams::WalletRecommendedDecision] The decision that the Digital Wallet's recommend
|
206
|
+
# @param wallet_recommended_decision [Symbol, Lithic::Models::TokenizationSimulateParams::WalletRecommendedDecision] The decision that the Digital Wallet's recommend
|
207
207
|
#
|
208
208
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
209
209
|
#
|
@@ -14,7 +14,7 @@ module Lithic
|
|
14
14
|
#
|
15
15
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
16
16
|
#
|
17
|
-
# @return [Lithic::Transactions::Events::EnhancedData]
|
17
|
+
# @return [Lithic::Models::Transactions::Events::EnhancedData]
|
18
18
|
#
|
19
19
|
# @see Lithic::Models::Transactions::Events::EnhancedCommercialDataRetrieveParams
|
20
20
|
def retrieve(event_token, params = {})
|
@@ -18,7 +18,7 @@ module Lithic
|
|
18
18
|
#
|
19
19
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
20
20
|
#
|
21
|
-
# @return [Lithic::Transaction]
|
21
|
+
# @return [Lithic::Models::Transaction]
|
22
22
|
#
|
23
23
|
# @see Lithic::Models::TransactionRetrieveParams
|
24
24
|
def retrieve(transaction_token, params = {})
|
@@ -50,15 +50,15 @@ module Lithic
|
|
50
50
|
#
|
51
51
|
# @param page_size [Integer] Page size (for pagination).
|
52
52
|
#
|
53
|
-
# @param result [Symbol, Lithic::TransactionListParams::Result] Filters for transactions using transaction result field. Can filter by `APPROVED
|
53
|
+
# @param result [Symbol, Lithic::Models::TransactionListParams::Result] Filters for transactions using transaction result field. Can filter by `APPROVED
|
54
54
|
#
|
55
55
|
# @param starting_after [String] A cursor representing an item's token after which a page of results should begin
|
56
56
|
#
|
57
|
-
# @param status [Symbol, Lithic::TransactionListParams::Status] Filters for transactions using transaction status field.
|
57
|
+
# @param status [Symbol, Lithic::Models::TransactionListParams::Status] Filters for transactions using transaction status field.
|
58
58
|
#
|
59
59
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
60
60
|
#
|
61
|
-
# @return [Lithic::Internal::CursorPage<Lithic::Transaction>]
|
61
|
+
# @return [Lithic::Internal::CursorPage<Lithic::Models::Transaction>]
|
62
62
|
#
|
63
63
|
# @see Lithic::Models::TransactionListParams
|
64
64
|
def list(params = {})
|
@@ -125,7 +125,7 @@ module Lithic
|
|
125
125
|
#
|
126
126
|
# @param pin [String] Simulate entering a PIN. If omitted, PIN check will not be performed.
|
127
127
|
#
|
128
|
-
# @param status [Symbol, Lithic::TransactionSimulateAuthorizationParams::Status] Type of event to simulate.
|
128
|
+
# @param status [Symbol, Lithic::Models::TransactionSimulateAuthorizationParams::Status] Type of event to simulate.
|
129
129
|
#
|
130
130
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
131
131
|
#
|
@@ -304,7 +304,7 @@ module Lithic
|
|
304
304
|
#
|
305
305
|
# @param amount [Integer] Amount (in cents) to void. Typically this will match the amount in the original
|
306
306
|
#
|
307
|
-
# @param type [Symbol, Lithic::TransactionSimulateVoidParams::Type] Type of event to simulate. Defaults to `AUTHORIZATION_REVERSAL`.
|
307
|
+
# @param type [Symbol, Lithic::Models::TransactionSimulateVoidParams::Type] Type of event to simulate. Defaults to `AUTHORIZATION_REVERSAL`.
|
308
308
|
#
|
309
309
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
310
310
|
#
|
data/lib/lithic/version.rb
CHANGED
@@ -8,6 +8,7 @@ module Lithic
|
|
8
8
|
# Array of items of a given type.
|
9
9
|
class ArrayOf
|
10
10
|
include Lithic::Internal::Type::Converter
|
11
|
+
include Lithic::Internal::Util::SorbetRuntimeSupport
|
11
12
|
|
12
13
|
abstract!
|
13
14
|
|
@@ -63,6 +64,11 @@ module Lithic
|
|
63
64
|
def dump(value, state:)
|
64
65
|
end
|
65
66
|
|
67
|
+
# @api private
|
68
|
+
sig { returns(T.anything) }
|
69
|
+
def to_sorbet_type
|
70
|
+
end
|
71
|
+
|
66
72
|
# @api private
|
67
73
|
sig { returns(Elem) }
|
68
74
|
protected def item_type
|
@@ -8,6 +8,7 @@ module Lithic
|
|
8
8
|
# Ruby has no Boolean class; this is something for models to refer to.
|
9
9
|
class Boolean
|
10
10
|
extend Lithic::Internal::Type::Converter
|
11
|
+
extend Lithic::Internal::Util::SorbetRuntimeSupport
|
11
12
|
|
12
13
|
abstract!
|
13
14
|
|
@@ -43,6 +44,11 @@ module Lithic
|
|
43
44
|
end
|
44
45
|
def dump(value, state:)
|
45
46
|
end
|
47
|
+
|
48
|
+
# @api private
|
49
|
+
sig { returns(T.anything) }
|
50
|
+
def to_sorbet_type
|
51
|
+
end
|
46
52
|
end
|
47
53
|
end
|
48
54
|
end
|
@@ -8,6 +8,7 @@ module Lithic
|
|
8
8
|
# Hash of items of a given type.
|
9
9
|
class HashOf
|
10
10
|
include Lithic::Internal::Type::Converter
|
11
|
+
include Lithic::Internal::Util::SorbetRuntimeSupport
|
11
12
|
|
12
13
|
abstract!
|
13
14
|
|
@@ -63,6 +64,11 @@ module Lithic
|
|
63
64
|
def dump(value, state:)
|
64
65
|
end
|
65
66
|
|
67
|
+
# @api private
|
68
|
+
sig { returns(T.anything) }
|
69
|
+
def to_sorbet_type
|
70
|
+
end
|
71
|
+
|
66
72
|
# @api private
|
67
73
|
sig { returns(Elem) }
|
68
74
|
protected def item_type
|
@@ -8,6 +8,7 @@ module Lithic
|
|
8
8
|
# When we don't know what to expect for the value.
|
9
9
|
class Unknown
|
10
10
|
extend Lithic::Internal::Type::Converter
|
11
|
+
extend Lithic::Internal::Util::SorbetRuntimeSupport
|
11
12
|
|
12
13
|
abstract!
|
13
14
|
|
@@ -43,6 +44,11 @@ module Lithic
|
|
43
44
|
end
|
44
45
|
def dump(value, state:)
|
45
46
|
end
|
47
|
+
|
48
|
+
# @api private
|
49
|
+
sig { returns(T.anything) }
|
50
|
+
def to_sorbet_type
|
51
|
+
end
|
46
52
|
end
|
47
53
|
end
|
48
54
|
end
|
@@ -11,6 +11,15 @@ module Lithic
|
|
11
11
|
def self.monotonic_secs
|
12
12
|
end
|
13
13
|
|
14
|
+
# @api private
|
15
|
+
sig do
|
16
|
+
params(ns: T.any(Module, T::Class[T.anything])).returns(
|
17
|
+
T::Enumerable[T.any(Module, T::Class[T.anything])]
|
18
|
+
)
|
19
|
+
end
|
20
|
+
def self.walk_namespaces(ns)
|
21
|
+
end
|
22
|
+
|
14
23
|
class << self
|
15
24
|
# @api private
|
16
25
|
sig { returns(String) }
|
@@ -441,10 +450,32 @@ module Lithic
|
|
441
450
|
def const_missing(name)
|
442
451
|
end
|
443
452
|
|
453
|
+
# @api private
|
454
|
+
sig { params(name: Symbol).returns(T::Boolean) }
|
455
|
+
def sorbet_constant_defined?(name)
|
456
|
+
end
|
457
|
+
|
444
458
|
# @api private
|
445
459
|
sig { params(name: Symbol, blk: T.proc.returns(T.anything)).void }
|
446
460
|
def define_sorbet_constant!(name, &blk)
|
447
461
|
end
|
462
|
+
|
463
|
+
# @api private
|
464
|
+
sig { returns(T.anything) }
|
465
|
+
def to_sorbet_type
|
466
|
+
end
|
467
|
+
|
468
|
+
class << self
|
469
|
+
# @api private
|
470
|
+
sig do
|
471
|
+
params(
|
472
|
+
type:
|
473
|
+
T.any(Lithic::Internal::Util::SorbetRuntimeSupport, T.anything)
|
474
|
+
).returns(T.anything)
|
475
|
+
end
|
476
|
+
def to_sorbet_type(type)
|
477
|
+
end
|
478
|
+
end
|
448
479
|
end
|
449
480
|
end
|
450
481
|
end
|
data/rbi/lithic/internal.rbi
CHANGED
@@ -8,6 +8,9 @@ module Lithic
|
|
8
8
|
# this alias might be refined in the future.
|
9
9
|
AnyHash = T.type_alias { T::Hash[Symbol, T.anything] }
|
10
10
|
|
11
|
+
FileInput =
|
12
|
+
T.type_alias { T.any(Pathname, StringIO, IO, String, Lithic::FilePart) }
|
13
|
+
|
11
14
|
OMIT = T.let(Object.new.freeze, T.anything)
|
12
15
|
end
|
13
16
|
end
|
@@ -89,10 +89,18 @@ module Lithic
|
|
89
89
|
attr_writer :operation
|
90
90
|
|
91
91
|
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
92
|
-
sig
|
92
|
+
sig do
|
93
|
+
returns(
|
94
|
+
T.nilable(Lithic::AuthRules::AuthRuleCondition::Value::Variants)
|
95
|
+
)
|
96
|
+
end
|
93
97
|
attr_reader :value
|
94
98
|
|
95
|
-
sig
|
99
|
+
sig do
|
100
|
+
params(
|
101
|
+
value: Lithic::AuthRules::AuthRuleCondition::Value::Variants
|
102
|
+
).void
|
103
|
+
end
|
96
104
|
attr_writer :value
|
97
105
|
|
98
106
|
sig do
|
@@ -100,7 +108,7 @@ module Lithic
|
|
100
108
|
attribute: Lithic::AuthRules::ConditionalAttribute::OrSymbol,
|
101
109
|
operation:
|
102
110
|
Lithic::AuthRules::AuthRuleCondition::Operation::OrSymbol,
|
103
|
-
value:
|
111
|
+
value: Lithic::AuthRules::AuthRuleCondition::Value::Variants
|
104
112
|
).returns(T.attached_class)
|
105
113
|
end
|
106
114
|
def self.new(
|
@@ -165,7 +173,7 @@ module Lithic
|
|
165
173
|
attribute: Lithic::AuthRules::ConditionalAttribute::OrSymbol,
|
166
174
|
operation:
|
167
175
|
Lithic::AuthRules::AuthRuleCondition::Operation::OrSymbol,
|
168
|
-
value:
|
176
|
+
value: Lithic::AuthRules::AuthRuleCondition::Value::Variants
|
169
177
|
}
|
170
178
|
)
|
171
179
|
end
|
@@ -172,11 +172,7 @@ module Lithic
|
|
172
172
|
# Parameters for the Auth Rule
|
173
173
|
sig do
|
174
174
|
returns(
|
175
|
-
|
176
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
177
|
-
Lithic::AuthRules::VelocityLimitParams,
|
178
|
-
Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::MerchantLockParameters
|
179
|
-
)
|
175
|
+
Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Variants
|
180
176
|
)
|
181
177
|
end
|
182
178
|
attr_accessor :parameters
|
@@ -210,11 +206,7 @@ module Lithic
|
|
210
206
|
override.returns(
|
211
207
|
{
|
212
208
|
parameters:
|
213
|
-
|
214
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
215
|
-
Lithic::AuthRules::VelocityLimitParams,
|
216
|
-
Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::MerchantLockParameters
|
217
|
-
),
|
209
|
+
Lithic::Models::AuthRules::V2ApplyResponse::CurrentVersion::Parameters::Variants,
|
218
210
|
version: Integer
|
219
211
|
}
|
220
212
|
)
|
@@ -377,11 +369,7 @@ module Lithic
|
|
377
369
|
# Parameters for the Auth Rule
|
378
370
|
sig do
|
379
371
|
returns(
|
380
|
-
|
381
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
382
|
-
Lithic::AuthRules::VelocityLimitParams,
|
383
|
-
Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::MerchantLockParameters
|
384
|
-
)
|
372
|
+
Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Variants
|
385
373
|
)
|
386
374
|
end
|
387
375
|
attr_accessor :parameters
|
@@ -415,11 +403,7 @@ module Lithic
|
|
415
403
|
override.returns(
|
416
404
|
{
|
417
405
|
parameters:
|
418
|
-
|
419
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
420
|
-
Lithic::AuthRules::VelocityLimitParams,
|
421
|
-
Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::MerchantLockParameters
|
422
|
-
),
|
406
|
+
Lithic::Models::AuthRules::V2ApplyResponse::DraftVersion::Parameters::Variants,
|
423
407
|
version: Integer
|
424
408
|
}
|
425
409
|
)
|
@@ -172,11 +172,7 @@ module Lithic
|
|
172
172
|
# Parameters for the Auth Rule
|
173
173
|
sig do
|
174
174
|
returns(
|
175
|
-
|
176
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
177
|
-
Lithic::AuthRules::VelocityLimitParams,
|
178
|
-
Lithic::Models::AuthRules::V2CreateResponse::CurrentVersion::Parameters::MerchantLockParameters
|
179
|
-
)
|
175
|
+
Lithic::Models::AuthRules::V2CreateResponse::CurrentVersion::Parameters::Variants
|
180
176
|
)
|
181
177
|
end
|
182
178
|
attr_accessor :parameters
|
@@ -210,11 +206,7 @@ module Lithic
|
|
210
206
|
override.returns(
|
211
207
|
{
|
212
208
|
parameters:
|
213
|
-
|
214
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
215
|
-
Lithic::AuthRules::VelocityLimitParams,
|
216
|
-
Lithic::Models::AuthRules::V2CreateResponse::CurrentVersion::Parameters::MerchantLockParameters
|
217
|
-
),
|
209
|
+
Lithic::Models::AuthRules::V2CreateResponse::CurrentVersion::Parameters::Variants,
|
218
210
|
version: Integer
|
219
211
|
}
|
220
212
|
)
|
@@ -377,11 +369,7 @@ module Lithic
|
|
377
369
|
# Parameters for the Auth Rule
|
378
370
|
sig do
|
379
371
|
returns(
|
380
|
-
|
381
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
382
|
-
Lithic::AuthRules::VelocityLimitParams,
|
383
|
-
Lithic::Models::AuthRules::V2CreateResponse::DraftVersion::Parameters::MerchantLockParameters
|
384
|
-
)
|
372
|
+
Lithic::Models::AuthRules::V2CreateResponse::DraftVersion::Parameters::Variants
|
385
373
|
)
|
386
374
|
end
|
387
375
|
attr_accessor :parameters
|
@@ -415,11 +403,7 @@ module Lithic
|
|
415
403
|
override.returns(
|
416
404
|
{
|
417
405
|
parameters:
|
418
|
-
|
419
|
-
Lithic::AuthRules::ConditionalBlockParameters,
|
420
|
-
Lithic::AuthRules::VelocityLimitParams,
|
421
|
-
Lithic::Models::AuthRules::V2CreateResponse::DraftVersion::Parameters::MerchantLockParameters
|
422
|
-
),
|
406
|
+
Lithic::Models::AuthRules::V2CreateResponse::DraftVersion::Parameters::Variants,
|
423
407
|
version: Integer
|
424
408
|
}
|
425
409
|
)
|