lithic 0.1.0.pre.alpha.17 → 0.1.0.pre.alpha.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- data/README.md +7 -7
- data/lib/lithic/file_part.rb +55 -0
- data/lib/lithic/internal/cursor_page.rb +1 -1
- data/lib/lithic/internal/single_page.rb +1 -1
- data/lib/lithic/internal/transport/base_client.rb +7 -7
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/lithic/internal/type/array_of.rb +2 -0
- data/lib/lithic/internal/type/base_model.rb +1 -1
- data/lib/lithic/internal/type/base_page.rb +1 -1
- data/lib/lithic/internal/type/converter.rb +1 -1
- data/lib/lithic/internal/type/{io_like.rb → file_input.rb} +8 -4
- data/lib/lithic/internal/type/hash_of.rb +2 -0
- data/lib/lithic/internal/util.rb +69 -61
- data/lib/lithic/models/account.rb +50 -19
- data/lib/lithic/models/account_holder.rb +139 -59
- data/lib/lithic/models/account_holder_create_params.rb +144 -52
- data/lib/lithic/models/account_holder_create_response.rb +18 -7
- data/lib/lithic/models/account_holder_list_params.rb +33 -11
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +13 -4
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +10 -3
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +169 -60
- data/lib/lithic/models/account_holder_update_params.rb +147 -53
- data/lib/lithic/models/account_holder_update_response.rb +202 -74
- data/lib/lithic/models/account_holder_upload_document_params.rb +4 -2
- data/lib/lithic/models/account_list_params.rb +17 -5
- data/lib/lithic/models/account_spend_limits.rb +27 -9
- data/lib/lithic/models/account_update_params.rb +17 -5
- data/lib/lithic/models/address.rb +17 -6
- data/lib/lithic/models/address_update.rb +17 -6
- data/lib/lithic/models/aggregate_balance.rb +26 -10
- data/lib/lithic/models/aggregate_balance_list_params.rb +2 -1
- data/lib/lithic/models/auth_rules/auth_rule.rb +24 -9
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -3
- data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +4 -2
- data/lib/lithic/models/auth_rules/v2/backtest_create_response.rb +1 -1
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +46 -18
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +8 -4
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_create_params.rb +14 -7
- data/lib/lithic/models/auth_rules/v2_create_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +2 -1
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_list_params.rb +15 -5
- data/lib/lithic/models/auth_rules/v2_list_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +32 -12
- data/lib/lithic/models/auth_rules/v2_update_params.rb +15 -6
- data/lib/lithic/models/auth_rules/v2_update_response.rb +31 -12
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +27 -7
- data/lib/lithic/models/auth_stream_secret.rb +1 -1
- data/lib/lithic/models/balance.rb +26 -10
- data/lib/lithic/models/balance_list_params.rb +12 -4
- data/lib/lithic/models/book_transfer_create_params.rb +23 -8
- data/lib/lithic/models/book_transfer_list_params.rb +28 -9
- data/lib/lithic/models/book_transfer_response.rb +54 -20
- data/lib/lithic/models/book_transfer_reverse_params.rb +2 -1
- data/lib/lithic/models/card.rb +7 -2
- data/lib/lithic/models/card_convert_physical_params.rb +12 -4
- data/lib/lithic/models/card_create_params.rb +45 -15
- data/lib/lithic/models/card_embed_params.rb +4 -2
- data/lib/lithic/models/card_list_params.rb +21 -7
- data/lib/lithic/models/card_program.rb +17 -7
- data/lib/lithic/models/card_program_list_params.rb +11 -3
- data/lib/lithic/models/card_provision_params.rb +20 -6
- data/lib/lithic/models/card_reissue_params.rb +12 -4
- data/lib/lithic/models/card_renew_params.rb +18 -6
- data/lib/lithic/models/card_search_by_pan_params.rb +2 -1
- data/lib/lithic/models/card_spend_limits.rb +27 -9
- data/lib/lithic/models/card_update_params.rb +21 -7
- data/lib/lithic/models/cards/aggregate_balance_list_params.rb +4 -2
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +24 -9
- data/lib/lithic/models/cards/balance_list_params.rb +7 -2
- data/lib/lithic/models/cards/balance_list_response.rb +26 -10
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +21 -7
- data/lib/lithic/models/carrier.rb +1 -1
- data/lib/lithic/models/credit_products/prime_rate_create_params.rb +4 -2
- data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +4 -2
- data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +6 -4
- data/lib/lithic/models/digital_card_art.rb +13 -7
- data/lib/lithic/models/digital_card_art_list_params.rb +11 -3
- data/lib/lithic/models/dispute.rb +40 -18
- data/lib/lithic/models/dispute_create_params.rb +10 -5
- data/lib/lithic/models/dispute_evidence.rb +17 -7
- data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +2 -1
- data/lib/lithic/models/dispute_list_evidences_params.rb +17 -5
- data/lib/lithic/models/dispute_list_params.rb +21 -7
- data/lib/lithic/models/dispute_update_params.rb +8 -4
- data/lib/lithic/models/document.rb +31 -14
- data/lib/lithic/models/event.rb +9 -3
- data/lib/lithic/models/event_list_attempts_params.rb +18 -5
- data/lib/lithic/models/event_list_params.rb +21 -7
- data/lib/lithic/models/event_subscription.rb +7 -3
- data/lib/lithic/models/events/subscription_create_params.rb +12 -4
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +18 -5
- data/lib/lithic/models/events/subscription_list_params.rb +11 -3
- data/lib/lithic/models/events/subscription_recover_params.rb +9 -2
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +9 -2
- data/lib/lithic/models/events/subscription_retrieve_secret_response.rb +1 -1
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -1
- data/lib/lithic/models/events/subscription_update_params.rb +12 -4
- data/lib/lithic/models/external_bank_account_create_params.rb +40 -16
- data/lib/lithic/models/external_bank_account_create_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_list_params.rb +17 -3
- data/lib/lithic/models/external_bank_account_list_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +54 -22
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_update_params.rb +21 -8
- data/lib/lithic/models/external_bank_account_update_response.rb +53 -22
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +54 -22
- data/lib/lithic/models/external_payment_list_params.rb +27 -9
- data/lib/lithic/models/financial_account.rb +25 -8
- data/lib/lithic/models/financial_account_list_params.rb +6 -3
- data/lib/lithic/models/financial_account_update_status_params.rb +4 -2
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +7 -2
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +26 -10
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +6 -2
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +12 -5
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +22 -7
- data/lib/lithic/models/financial_accounts/loan_tape.rb +119 -47
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +17 -5
- data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +2 -1
- data/lib/lithic/models/financial_accounts/statement.rb +97 -40
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +19 -6
- data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +2 -1
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +14 -4
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +25 -9
- data/lib/lithic/models/financial_transaction.rb +42 -15
- data/lib/lithic/models/kyb.rb +101 -36
- data/lib/lithic/models/kyb_business_entity.rb +35 -12
- data/lib/lithic/models/kyc.rb +34 -12
- data/lib/lithic/models/kyc_exempt.rb +23 -9
- data/lib/lithic/models/management_operation_list_params.rb +25 -8
- data/lib/lithic/models/message_attempt.rb +17 -7
- data/lib/lithic/models/non_pci_card.rb +73 -28
- data/lib/lithic/models/payment.rb +52 -18
- data/lib/lithic/models/payment_create_params.rb +14 -1
- data/lib/lithic/models/payment_create_response.rb +1 -1
- data/lib/lithic/models/payment_list_params.rb +23 -5
- data/lib/lithic/models/payment_retry_response.rb +1 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +6 -3
- data/lib/lithic/models/payment_simulate_action_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_receipt_params.rb +14 -5
- data/lib/lithic/models/payment_simulate_receipt_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_release_params.rb +2 -1
- data/lib/lithic/models/payment_simulate_release_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_return_params.rb +4 -2
- data/lib/lithic/models/payment_simulate_return_response.rb +5 -3
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +30 -11
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +39 -14
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +39 -14
- data/lib/lithic/models/reports/settlement_list_details_params.rb +11 -3
- data/lib/lithic/models/required_document.rb +10 -3
- data/lib/lithic/models/responder_endpoint_check_status_params.rb +2 -1
- data/lib/lithic/models/responder_endpoint_create_params.rb +4 -2
- data/lib/lithic/models/responder_endpoint_create_response.rb +1 -1
- data/lib/lithic/models/responder_endpoint_delete_params.rb +2 -1
- data/lib/lithic/models/responder_endpoint_status.rb +3 -2
- data/lib/lithic/models/settlement_detail.rb +50 -21
- data/lib/lithic/models/settlement_report.rb +29 -10
- data/lib/lithic/models/settlement_summary_details.rb +21 -8
- data/lib/lithic/models/shipping_address.rb +31 -11
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +215 -71
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +9 -2
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +28 -8
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +5 -1
- data/lib/lithic/models/three_ds/challenge_response.rb +7 -2
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rb +1 -1
- data/lib/lithic/models/tokenization.rb +37 -17
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rb +1 -1
- data/lib/lithic/models/tokenization_list_params.rb +22 -8
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +6 -1
- data/lib/lithic/models/tokenization_secret.rb +1 -1
- data/lib/lithic/models/tokenization_simulate_params.rb +22 -8
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +6 -1
- data/lib/lithic/models/transaction.rb +248 -89
- data/lib/lithic/models/transaction_list_params.rb +26 -9
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +8 -2
- data/lib/lithic/models/transaction_simulate_authorization_advice_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +27 -10
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +7 -2
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +8 -2
- data/lib/lithic/models/transaction_simulate_clearing_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +15 -5
- data/lib/lithic/models/transaction_simulate_credit_authorization_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_return_params.rb +6 -3
- data/lib/lithic/models/transaction_simulate_return_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_return_reversal_params.rb +2 -1
- data/lib/lithic/models/transaction_simulate_return_reversal_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_void_params.rb +10 -3
- data/lib/lithic/models/transaction_simulate_void_response.rb +1 -1
- data/lib/lithic/models/transactions/events/enhanced_data.rb +52 -24
- data/lib/lithic/models/transfer.rb +46 -17
- data/lib/lithic/models/transfer_create_params.rb +17 -5
- data/lib/lithic/resources/account_holders.rb +166 -60
- data/lib/lithic/resources/accounts.rb +40 -13
- data/lib/lithic/resources/aggregate_balances.rb +2 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +10 -5
- data/lib/lithic/resources/auth_rules/v2.rb +68 -30
- data/lib/lithic/resources/balances.rb +12 -4
- data/lib/lithic/resources/book_transfers.rb +57 -20
- data/lib/lithic/resources/card_programs.rb +13 -4
- data/lib/lithic/resources/cards/aggregate_balances.rb +4 -2
- data/lib/lithic/resources/cards/balances.rb +8 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +25 -8
- data/lib/lithic/resources/cards.rb +161 -53
- data/lib/lithic/resources/credit_products/extended_credit.rb +2 -1
- data/lib/lithic/resources/credit_products/prime_rates.rb +12 -6
- data/lib/lithic/resources/digital_card_art.rb +17 -4
- data/lib/lithic/resources/disputes.rb +61 -22
- data/lib/lithic/resources/events/subscriptions.rb +78 -21
- data/lib/lithic/resources/events.rb +40 -12
- data/lib/lithic/resources/external_bank_accounts.rb +79 -27
- data/lib/lithic/resources/external_payments.rb +46 -14
- data/lib/lithic/resources/financial_accounts/balances.rb +9 -3
- data/lib/lithic/resources/financial_accounts/credit_configuration.rb +10 -4
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +28 -10
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +23 -8
- data/lib/lithic/resources/financial_accounts/statements/line_items.rb +16 -5
- data/lib/lithic/resources/financial_accounts/statements.rb +25 -9
- data/lib/lithic/resources/financial_accounts.rb +22 -11
- data/lib/lithic/resources/management_operations.rb +31 -10
- data/lib/lithic/resources/payments.rb +64 -17
- data/lib/lithic/resources/reports/settlement/network_totals.rb +32 -12
- data/lib/lithic/resources/reports/settlement.rb +15 -5
- data/lib/lithic/resources/responder_endpoints.rb +8 -4
- data/lib/lithic/resources/three_ds/authentication.rb +21 -5
- data/lib/lithic/resources/three_ds/decisioning.rb +8 -2
- data/lib/lithic/resources/tokenizations.rb +70 -25
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +2 -1
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +2 -1
- data/lib/lithic/resources/transactions.rb +106 -37
- data/lib/lithic/resources/transfers.rb +17 -5
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +2 -1
- data/rbi/lib/lithic/file_part.rbi +34 -0
- data/rbi/lib/lithic/internal/transport/base_client.rbi +17 -3
- data/rbi/lib/lithic/internal/type/{io_like.rbi → file_input.rbi} +6 -2
- data/rbi/lib/lithic/internal/util.rbi +24 -19
- data/rbi/lib/lithic/models/account.rbi +62 -6
- data/rbi/lib/lithic/models/account_holder.rbi +139 -8
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +131 -6
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +14 -3
- data/rbi/lib/lithic/models/account_holder_list_params.rbi +19 -0
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +5 -0
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +10 -2
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +172 -17
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +99 -0
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +176 -19
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +7 -2
- data/rbi/lib/lithic/models/account_list_params.rbi +10 -3
- data/rbi/lib/lithic/models/account_spend_limits.rbi +30 -6
- data/rbi/lib/lithic/models/account_update_params.rbi +16 -0
- data/rbi/lib/lithic/models/address.rbi +19 -2
- data/rbi/lib/lithic/models/address_update.rbi +17 -2
- data/rbi/lib/lithic/models/aggregate_balance.rbi +14 -0
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +5 -2
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +15 -0
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +54 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +60 -12
- data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +5 -3
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +7 -0
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +5 -2
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +7 -0
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +10 -0
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +33 -5
- data/rbi/lib/lithic/models/auth_stream_secret.rbi +4 -2
- data/rbi/lib/lithic/models/balance.rbi +14 -0
- data/rbi/lib/lithic/models/balance_list_params.rbi +5 -0
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +12 -0
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/book_transfer_response.rbi +41 -2
- data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +5 -2
- data/rbi/lib/lithic/models/card.rbi +8 -2
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +18 -3
- data/rbi/lib/lithic/models/card_create_params.rbi +84 -0
- data/rbi/lib/lithic/models/card_embed_params.rbi +7 -2
- data/rbi/lib/lithic/models/card_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/card_program.rbi +8 -0
- data/rbi/lib/lithic/models/card_program_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/card_provision_params.rbi +17 -0
- data/rbi/lib/lithic/models/card_reissue_params.rbi +18 -3
- data/rbi/lib/lithic/models/card_renew_params.rbi +21 -0
- data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +5 -2
- data/rbi/lib/lithic/models/card_spend_limits.rbi +30 -6
- data/rbi/lib/lithic/models/card_update_params.rbi +35 -0
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +7 -2
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +13 -0
- data/rbi/lib/lithic/models/cards/balance_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +14 -0
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/carrier.rbi +4 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +7 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +12 -4
- data/rbi/lib/lithic/models/digital_card_art.rbi +8 -3
- data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/dispute.rbi +66 -0
- data/rbi/lib/lithic/models/dispute_create_params.rbi +6 -3
- data/rbi/lib/lithic/models/dispute_evidence.rbi +15 -3
- data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +5 -2
- data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +10 -3
- data/rbi/lib/lithic/models/dispute_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/dispute_update_params.rbi +5 -3
- data/rbi/lib/lithic/models/document.rbi +27 -3
- data/rbi/lib/lithic/models/event.rbi +39 -2
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +9 -0
- data/rbi/lib/lithic/models/event_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/event_subscription.rbi +10 -2
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +12 -2
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +9 -0
- data/rbi/lib/lithic/models/events/subscription_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +9 -2
- data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +9 -2
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -2
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +12 -2
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +20 -0
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +5 -0
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +9 -0
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/financial_account.rbi +8 -0
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +7 -2
- data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +14 -0
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -0
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +5 -0
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +94 -13
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +10 -3
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +5 -2
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +72 -10
- data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +10 -0
- data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +5 -2
- data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +7 -3
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +10 -0
- data/rbi/lib/lithic/models/financial_transaction.rbi +44 -2
- data/rbi/lib/lithic/models/kyb.rbi +94 -4
- data/rbi/lib/lithic/models/kyb_business_entity.rbi +28 -2
- data/rbi/lib/lithic/models/kyc.rbi +40 -4
- data/rbi/lib/lithic/models/kyc_exempt.rbi +13 -0
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +13 -0
- data/rbi/lib/lithic/models/message_attempt.rbi +10 -3
- data/rbi/lib/lithic/models/non_pci_card.rbi +78 -2
- data/rbi/lib/lithic/models/payment.rbi +57 -2
- data/rbi/lib/lithic/models/payment_create_params.rbi +2 -0
- data/rbi/lib/lithic/models/payment_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/payment_list_params.rbi +9 -0
- data/rbi/lib/lithic/models/payment_retry_response.rbi +4 -2
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +9 -2
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +13 -3
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +5 -2
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +7 -2
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +8 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +16 -0
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +26 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +26 -2
- data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +11 -2
- data/rbi/lib/lithic/models/required_document.rbi +10 -2
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +5 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +5 -2
- data/rbi/lib/lithic/models/responder_endpoint_status.rbi +6 -2
- data/rbi/lib/lithic/models/settlement_detail.rbi +26 -0
- data/rbi/lib/lithic/models/settlement_report.rbi +25 -0
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +11 -0
- data/rbi/lib/lithic/models/shipping_address.rbi +20 -0
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +165 -19
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +8 -2
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +31 -6
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +5 -2
- data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +9 -2
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization.rbi +27 -2
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -2
- data/rbi/lib/lithic/models/tokenization_secret.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +11 -0
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +8 -2
- data/rbi/lib/lithic/models/transaction.rbi +246 -35
- data/rbi/lib/lithic/models/transaction_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +8 -2
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +35 -0
- data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +7 -2
- data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +15 -2
- data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +4 -2
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +17 -2
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +9 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +5 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +4 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +14 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +4 -2
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +57 -16
- data/rbi/lib/lithic/models/transfer.rbi +41 -2
- data/rbi/lib/lithic/models/transfer_create_params.rbi +17 -2
- data/sig/lithic/file_part.rbs +21 -0
- data/sig/lithic/internal/transport/base_client.rbs +9 -3
- data/sig/lithic/internal/type/{io_like.rbs → file_input.rbs} +1 -1
- data/sig/lithic/internal/util.rbs +14 -12
- metadata +8 -5
@@ -37,8 +37,12 @@ module Lithic
|
|
37
37
|
)
|
38
38
|
.returns(T.attached_class)
|
39
39
|
end
|
40
|
-
def self.new(
|
41
|
-
|
40
|
+
def self.new(
|
41
|
+
# Auth Rule Backtest Token
|
42
|
+
backtest_token:,
|
43
|
+
results:,
|
44
|
+
simulation_parameters:
|
45
|
+
); end
|
42
46
|
sig do
|
43
47
|
override
|
44
48
|
.returns(
|
@@ -164,8 +168,21 @@ module Lithic
|
|
164
168
|
)
|
165
169
|
.returns(T.attached_class)
|
166
170
|
end
|
167
|
-
def self.new(
|
168
|
-
|
171
|
+
def self.new(
|
172
|
+
# The total number of historical transactions approved by this rule during the
|
173
|
+
# backtest period, or the number of transactions that would have been approved if
|
174
|
+
# the rule was evaluated in shadow mode.
|
175
|
+
approved: nil,
|
176
|
+
# The total number of historical transactions declined by this rule during the
|
177
|
+
# backtest period, or the number of transactions that would have been declined if
|
178
|
+
# the rule was evaluated in shadow mode.
|
179
|
+
declined: nil,
|
180
|
+
# Example authorization request events that would have been approved or declined.
|
181
|
+
examples: nil,
|
182
|
+
# The version of the rule, this is incremented whenever the rule's parameters
|
183
|
+
# change.
|
184
|
+
version: nil
|
185
|
+
); end
|
169
186
|
sig do
|
170
187
|
override
|
171
188
|
.returns(
|
@@ -204,8 +221,14 @@ module Lithic
|
|
204
221
|
sig do
|
205
222
|
params(approved: T::Boolean, event_token: String, timestamp: Time).returns(T.attached_class)
|
206
223
|
end
|
207
|
-
def self.new(
|
208
|
-
|
224
|
+
def self.new(
|
225
|
+
# Whether the rule would have approved the authorization request.
|
226
|
+
approved: nil,
|
227
|
+
# The authorization request event token.
|
228
|
+
event_token: nil,
|
229
|
+
# The timestamp of the authorization request event.
|
230
|
+
timestamp: nil
|
231
|
+
); end
|
209
232
|
sig { override.returns({approved: T::Boolean, event_token: String, timestamp: Time}) }
|
210
233
|
def to_hash; end
|
211
234
|
end
|
@@ -273,8 +296,21 @@ module Lithic
|
|
273
296
|
)
|
274
297
|
.returns(T.attached_class)
|
275
298
|
end
|
276
|
-
def self.new(
|
277
|
-
|
299
|
+
def self.new(
|
300
|
+
# The total number of historical transactions approved by this rule during the
|
301
|
+
# backtest period, or the number of transactions that would have been approved if
|
302
|
+
# the rule was evaluated in shadow mode.
|
303
|
+
approved: nil,
|
304
|
+
# The total number of historical transactions declined by this rule during the
|
305
|
+
# backtest period, or the number of transactions that would have been declined if
|
306
|
+
# the rule was evaluated in shadow mode.
|
307
|
+
declined: nil,
|
308
|
+
# Example authorization request events that would have been approved or declined.
|
309
|
+
examples: nil,
|
310
|
+
# The version of the rule, this is incremented whenever the rule's parameters
|
311
|
+
# change.
|
312
|
+
version: nil
|
313
|
+
); end
|
278
314
|
sig do
|
279
315
|
override
|
280
316
|
.returns(
|
@@ -313,8 +349,14 @@ module Lithic
|
|
313
349
|
sig do
|
314
350
|
params(approved: T::Boolean, event_token: String, timestamp: Time).returns(T.attached_class)
|
315
351
|
end
|
316
|
-
def self.new(
|
317
|
-
|
352
|
+
def self.new(
|
353
|
+
# Whether the rule would have approved the authorization request.
|
354
|
+
approved: nil,
|
355
|
+
# The authorization request event token.
|
356
|
+
event_token: nil,
|
357
|
+
# The timestamp of the authorization request event.
|
358
|
+
timestamp: nil
|
359
|
+
); end
|
318
360
|
sig { override.returns({approved: T::Boolean, event_token: String, timestamp: Time}) }
|
319
361
|
def to_hash; end
|
320
362
|
end
|
@@ -344,8 +386,14 @@ module Lithic
|
|
344
386
|
attr_writer :start
|
345
387
|
|
346
388
|
sig { params(auth_rule_token: String, end_: Time, start: Time).returns(T.attached_class) }
|
347
|
-
def self.new(
|
348
|
-
|
389
|
+
def self.new(
|
390
|
+
# Auth Rule Token
|
391
|
+
auth_rule_token: nil,
|
392
|
+
# The end time of the simulation.
|
393
|
+
end_: nil,
|
394
|
+
# The start time of the simulation.
|
395
|
+
start: nil
|
396
|
+
); end
|
349
397
|
sig { override.returns({auth_rule_token: String, end_: Time, start: Time}) }
|
350
398
|
def to_hash; end
|
351
399
|
end
|
@@ -37,14 +37,16 @@ module Lithic
|
|
37
37
|
.returns(T.attached_class)
|
38
38
|
end
|
39
39
|
def self.new(
|
40
|
+
# Account tokens to which the Auth Rule applies.
|
40
41
|
account_tokens:,
|
42
|
+
# Card tokens to which the Auth Rule applies.
|
41
43
|
card_tokens:,
|
44
|
+
# Whether the Auth Rule applies to all authorizations on the card program.
|
42
45
|
program_level:,
|
46
|
+
# Card tokens to which the Auth Rule does not apply.
|
43
47
|
excluded_card_tokens: nil,
|
44
48
|
request_options: {}
|
45
|
-
)
|
46
|
-
end
|
47
|
-
|
49
|
+
); end
|
48
50
|
sig do
|
49
51
|
override
|
50
52
|
.returns(
|
@@ -77,15 +77,23 @@ module Lithic
|
|
77
77
|
.returns(T.attached_class)
|
78
78
|
end
|
79
79
|
def self.new(
|
80
|
+
# Auth Rule Token
|
80
81
|
token:,
|
82
|
+
# Account tokens to which the Auth Rule applies.
|
81
83
|
account_tokens:,
|
84
|
+
# Card tokens to which the Auth Rule applies.
|
82
85
|
card_tokens:,
|
83
86
|
current_version:,
|
84
87
|
draft_version:,
|
88
|
+
# Auth Rule Name
|
85
89
|
name:,
|
90
|
+
# Whether the Auth Rule applies to all authorizations on the card program.
|
86
91
|
program_level:,
|
92
|
+
# The state of the Auth Rule
|
87
93
|
state:,
|
94
|
+
# The type of Auth Rule
|
88
95
|
type:,
|
96
|
+
# Card tokens to which the Auth Rule does not apply.
|
89
97
|
excluded_card_tokens: nil
|
90
98
|
); end
|
91
99
|
sig do
|
@@ -135,8 +143,13 @@ module Lithic
|
|
135
143
|
)
|
136
144
|
.returns(T.attached_class)
|
137
145
|
end
|
138
|
-
def self.new(
|
139
|
-
|
146
|
+
def self.new(
|
147
|
+
# Parameters for the Auth Rule
|
148
|
+
parameters:,
|
149
|
+
# The version of the rule, this is incremented whenever the rule's parameters
|
150
|
+
# change.
|
151
|
+
version:
|
152
|
+
); end
|
140
153
|
sig do
|
141
154
|
override
|
142
155
|
.returns(
|
@@ -193,8 +206,13 @@ module Lithic
|
|
193
206
|
)
|
194
207
|
.returns(T.attached_class)
|
195
208
|
end
|
196
|
-
def self.new(
|
197
|
-
|
209
|
+
def self.new(
|
210
|
+
# Parameters for the Auth Rule
|
211
|
+
parameters:,
|
212
|
+
# The version of the rule, this is incremented whenever the rule's parameters
|
213
|
+
# change.
|
214
|
+
version:
|
215
|
+
); end
|
198
216
|
sig do
|
199
217
|
override
|
200
218
|
.returns(
|
@@ -80,12 +80,19 @@ module Lithic
|
|
80
80
|
.returns(T.attached_class)
|
81
81
|
end
|
82
82
|
def self.new(
|
83
|
+
# Account tokens to which the Auth Rule applies.
|
83
84
|
account_tokens:,
|
85
|
+
# Card tokens to which the Auth Rule applies.
|
84
86
|
card_tokens:,
|
87
|
+
# Whether the Auth Rule applies to all authorizations on the card program.
|
85
88
|
program_level:,
|
89
|
+
# Auth Rule Name
|
86
90
|
name: nil,
|
91
|
+
# Parameters for the Auth Rule
|
87
92
|
parameters: nil,
|
93
|
+
# The type of Auth Rule
|
88
94
|
type: nil,
|
95
|
+
# Card tokens to which the Auth Rule does not apply.
|
89
96
|
excluded_card_tokens: nil,
|
90
97
|
request_options: {}
|
91
98
|
); end
|
@@ -77,15 +77,23 @@ module Lithic
|
|
77
77
|
.returns(T.attached_class)
|
78
78
|
end
|
79
79
|
def self.new(
|
80
|
+
# Auth Rule Token
|
80
81
|
token:,
|
82
|
+
# Account tokens to which the Auth Rule applies.
|
81
83
|
account_tokens:,
|
84
|
+
# Card tokens to which the Auth Rule applies.
|
82
85
|
card_tokens:,
|
83
86
|
current_version:,
|
84
87
|
draft_version:,
|
88
|
+
# Auth Rule Name
|
85
89
|
name:,
|
90
|
+
# Whether the Auth Rule applies to all authorizations on the card program.
|
86
91
|
program_level:,
|
92
|
+
# The state of the Auth Rule
|
87
93
|
state:,
|
94
|
+
# The type of Auth Rule
|
88
95
|
type:,
|
96
|
+
# Card tokens to which the Auth Rule does not apply.
|
89
97
|
excluded_card_tokens: nil
|
90
98
|
); end
|
91
99
|
sig do
|
@@ -135,8 +143,13 @@ module Lithic
|
|
135
143
|
)
|
136
144
|
.returns(T.attached_class)
|
137
145
|
end
|
138
|
-
def self.new(
|
139
|
-
|
146
|
+
def self.new(
|
147
|
+
# Parameters for the Auth Rule
|
148
|
+
parameters:,
|
149
|
+
# The version of the rule, this is incremented whenever the rule's parameters
|
150
|
+
# change.
|
151
|
+
version:
|
152
|
+
); end
|
140
153
|
sig do
|
141
154
|
override
|
142
155
|
.returns(
|
@@ -193,8 +206,13 @@ module Lithic
|
|
193
206
|
)
|
194
207
|
.returns(T.attached_class)
|
195
208
|
end
|
196
|
-
def self.new(
|
197
|
-
|
209
|
+
def self.new(
|
210
|
+
# Parameters for the Auth Rule
|
211
|
+
parameters:,
|
212
|
+
# The version of the rule, this is incremented whenever the rule's parameters
|
213
|
+
# change.
|
214
|
+
version:
|
215
|
+
); end
|
198
216
|
sig do
|
199
217
|
override
|
200
218
|
.returns(
|
@@ -33,8 +33,11 @@ module Lithic
|
|
33
33
|
)
|
34
34
|
.returns(T.attached_class)
|
35
35
|
end
|
36
|
-
def self.new(
|
37
|
-
|
36
|
+
def self.new(
|
37
|
+
# Parameters for the Auth Rule
|
38
|
+
parameters: nil,
|
39
|
+
request_options: {}
|
40
|
+
); end
|
38
41
|
sig do
|
39
42
|
override
|
40
43
|
.returns(
|
@@ -77,15 +77,23 @@ module Lithic
|
|
77
77
|
.returns(T.attached_class)
|
78
78
|
end
|
79
79
|
def self.new(
|
80
|
+
# Auth Rule Token
|
80
81
|
token:,
|
82
|
+
# Account tokens to which the Auth Rule applies.
|
81
83
|
account_tokens:,
|
84
|
+
# Card tokens to which the Auth Rule applies.
|
82
85
|
card_tokens:,
|
83
86
|
current_version:,
|
84
87
|
draft_version:,
|
88
|
+
# Auth Rule Name
|
85
89
|
name:,
|
90
|
+
# Whether the Auth Rule applies to all authorizations on the card program.
|
86
91
|
program_level:,
|
92
|
+
# The state of the Auth Rule
|
87
93
|
state:,
|
94
|
+
# The type of Auth Rule
|
88
95
|
type:,
|
96
|
+
# Card tokens to which the Auth Rule does not apply.
|
89
97
|
excluded_card_tokens: nil
|
90
98
|
); end
|
91
99
|
sig do
|
@@ -135,8 +143,13 @@ module Lithic
|
|
135
143
|
)
|
136
144
|
.returns(T.attached_class)
|
137
145
|
end
|
138
|
-
def self.new(
|
139
|
-
|
146
|
+
def self.new(
|
147
|
+
# Parameters for the Auth Rule
|
148
|
+
parameters:,
|
149
|
+
# The version of the rule, this is incremented whenever the rule's parameters
|
150
|
+
# change.
|
151
|
+
version:
|
152
|
+
); end
|
140
153
|
sig do
|
141
154
|
override
|
142
155
|
.returns(
|
@@ -193,8 +206,13 @@ module Lithic
|
|
193
206
|
)
|
194
207
|
.returns(T.attached_class)
|
195
208
|
end
|
196
|
-
def self.new(
|
197
|
-
|
209
|
+
def self.new(
|
210
|
+
# Parameters for the Auth Rule
|
211
|
+
parameters:,
|
212
|
+
# The version of the rule, this is incremented whenever the rule's parameters
|
213
|
+
# change.
|
214
|
+
version:
|
215
|
+
); end
|
198
216
|
sig do
|
199
217
|
override
|
200
218
|
.returns(
|
@@ -56,10 +56,17 @@ module Lithic
|
|
56
56
|
.returns(T.attached_class)
|
57
57
|
end
|
58
58
|
def self.new(
|
59
|
+
# Only return Authorization Rules that are bound to the provided account token.
|
59
60
|
account_token: nil,
|
61
|
+
# Only return Authorization Rules that are bound to the provided card token.
|
60
62
|
card_token: nil,
|
63
|
+
# A cursor representing an item's token before which a page of results should end.
|
64
|
+
# Used to retrieve the previous page of results before this item.
|
61
65
|
ending_before: nil,
|
66
|
+
# Page size (for pagination).
|
62
67
|
page_size: nil,
|
68
|
+
# A cursor representing an item's token after which a page of results should
|
69
|
+
# begin. Used to retrieve the next page of results after this item.
|
63
70
|
starting_after: nil,
|
64
71
|
request_options: {}
|
65
72
|
); end
|
@@ -77,15 +77,23 @@ module Lithic
|
|
77
77
|
.returns(T.attached_class)
|
78
78
|
end
|
79
79
|
def self.new(
|
80
|
+
# Auth Rule Token
|
80
81
|
token:,
|
82
|
+
# Account tokens to which the Auth Rule applies.
|
81
83
|
account_tokens:,
|
84
|
+
# Card tokens to which the Auth Rule applies.
|
82
85
|
card_tokens:,
|
83
86
|
current_version:,
|
84
87
|
draft_version:,
|
88
|
+
# Auth Rule Name
|
85
89
|
name:,
|
90
|
+
# Whether the Auth Rule applies to all authorizations on the card program.
|
86
91
|
program_level:,
|
92
|
+
# The state of the Auth Rule
|
87
93
|
state:,
|
94
|
+
# The type of Auth Rule
|
88
95
|
type:,
|
96
|
+
# Card tokens to which the Auth Rule does not apply.
|
89
97
|
excluded_card_tokens: nil
|
90
98
|
); end
|
91
99
|
sig do
|
@@ -135,8 +143,13 @@ module Lithic
|
|
135
143
|
)
|
136
144
|
.returns(T.attached_class)
|
137
145
|
end
|
138
|
-
def self.new(
|
139
|
-
|
146
|
+
def self.new(
|
147
|
+
# Parameters for the Auth Rule
|
148
|
+
parameters:,
|
149
|
+
# The version of the rule, this is incremented whenever the rule's parameters
|
150
|
+
# change.
|
151
|
+
version:
|
152
|
+
); end
|
140
153
|
sig do
|
141
154
|
override
|
142
155
|
.returns(
|
@@ -193,8 +206,13 @@ module Lithic
|
|
193
206
|
)
|
194
207
|
.returns(T.attached_class)
|
195
208
|
end
|
196
|
-
def self.new(
|
197
|
-
|
209
|
+
def self.new(
|
210
|
+
# Parameters for the Auth Rule
|
211
|
+
parameters:,
|
212
|
+
# The version of the rule, this is incremented whenever the rule's parameters
|
213
|
+
# change.
|
214
|
+
version:
|
215
|
+
); end
|
198
216
|
sig do
|
199
217
|
override
|
200
218
|
.returns(
|
@@ -77,15 +77,23 @@ module Lithic
|
|
77
77
|
.returns(T.attached_class)
|
78
78
|
end
|
79
79
|
def self.new(
|
80
|
+
# Auth Rule Token
|
80
81
|
token:,
|
82
|
+
# Account tokens to which the Auth Rule applies.
|
81
83
|
account_tokens:,
|
84
|
+
# Card tokens to which the Auth Rule applies.
|
82
85
|
card_tokens:,
|
83
86
|
current_version:,
|
84
87
|
draft_version:,
|
88
|
+
# Auth Rule Name
|
85
89
|
name:,
|
90
|
+
# Whether the Auth Rule applies to all authorizations on the card program.
|
86
91
|
program_level:,
|
92
|
+
# The state of the Auth Rule
|
87
93
|
state:,
|
94
|
+
# The type of Auth Rule
|
88
95
|
type:,
|
96
|
+
# Card tokens to which the Auth Rule does not apply.
|
89
97
|
excluded_card_tokens: nil
|
90
98
|
); end
|
91
99
|
sig do
|
@@ -135,8 +143,13 @@ module Lithic
|
|
135
143
|
)
|
136
144
|
.returns(T.attached_class)
|
137
145
|
end
|
138
|
-
def self.new(
|
139
|
-
|
146
|
+
def self.new(
|
147
|
+
# Parameters for the Auth Rule
|
148
|
+
parameters:,
|
149
|
+
# The version of the rule, this is incremented whenever the rule's parameters
|
150
|
+
# change.
|
151
|
+
version:
|
152
|
+
); end
|
140
153
|
sig do
|
141
154
|
override
|
142
155
|
.returns(
|
@@ -193,8 +206,13 @@ module Lithic
|
|
193
206
|
)
|
194
207
|
.returns(T.attached_class)
|
195
208
|
end
|
196
|
-
def self.new(
|
197
|
-
|
209
|
+
def self.new(
|
210
|
+
# Parameters for the Auth Rule
|
211
|
+
parameters:,
|
212
|
+
# The version of the rule, this is incremented whenever the rule's parameters
|
213
|
+
# change.
|
214
|
+
version:
|
215
|
+
); end
|
198
216
|
sig do
|
199
217
|
override
|
200
218
|
.returns(
|
@@ -77,15 +77,23 @@ module Lithic
|
|
77
77
|
.returns(T.attached_class)
|
78
78
|
end
|
79
79
|
def self.new(
|
80
|
+
# Auth Rule Token
|
80
81
|
token:,
|
82
|
+
# Account tokens to which the Auth Rule applies.
|
81
83
|
account_tokens:,
|
84
|
+
# Card tokens to which the Auth Rule applies.
|
82
85
|
card_tokens:,
|
83
86
|
current_version:,
|
84
87
|
draft_version:,
|
88
|
+
# Auth Rule Name
|
85
89
|
name:,
|
90
|
+
# Whether the Auth Rule applies to all authorizations on the card program.
|
86
91
|
program_level:,
|
92
|
+
# The state of the Auth Rule
|
87
93
|
state:,
|
94
|
+
# The type of Auth Rule
|
88
95
|
type:,
|
96
|
+
# Card tokens to which the Auth Rule does not apply.
|
89
97
|
excluded_card_tokens: nil
|
90
98
|
); end
|
91
99
|
sig do
|
@@ -135,8 +143,13 @@ module Lithic
|
|
135
143
|
)
|
136
144
|
.returns(T.attached_class)
|
137
145
|
end
|
138
|
-
def self.new(
|
139
|
-
|
146
|
+
def self.new(
|
147
|
+
# Parameters for the Auth Rule
|
148
|
+
parameters:,
|
149
|
+
# The version of the rule, this is incremented whenever the rule's parameters
|
150
|
+
# change.
|
151
|
+
version:
|
152
|
+
); end
|
140
153
|
sig do
|
141
154
|
override
|
142
155
|
.returns(
|
@@ -193,8 +206,13 @@ module Lithic
|
|
193
206
|
)
|
194
207
|
.returns(T.attached_class)
|
195
208
|
end
|
196
|
-
def self.new(
|
197
|
-
|
209
|
+
def self.new(
|
210
|
+
# Parameters for the Auth Rule
|
211
|
+
parameters:,
|
212
|
+
# The version of the rule, this is incremented whenever the rule's parameters
|
213
|
+
# change.
|
214
|
+
version:
|
215
|
+
); end
|
198
216
|
sig do
|
199
217
|
override
|
200
218
|
.returns(
|
@@ -63,11 +63,21 @@ module Lithic
|
|
63
63
|
.returns(T.attached_class)
|
64
64
|
end
|
65
65
|
def self.new(
|
66
|
+
# Account tokens to which the Auth Rule applies.
|
66
67
|
account_tokens: nil,
|
68
|
+
# Auth Rule Name
|
67
69
|
name: nil,
|
70
|
+
# The desired state of the Auth Rule.
|
71
|
+
#
|
72
|
+
# Note that only deactivating an Auth Rule through this endpoint is supported at
|
73
|
+
# this time. If you need to (re-)activate an Auth Rule the /promote endpoint
|
74
|
+
# should be used to promote a draft to the currently active version.
|
68
75
|
state: nil,
|
76
|
+
# Card tokens to which the Auth Rule applies.
|
69
77
|
card_tokens: nil,
|
78
|
+
# Card tokens to which the Auth Rule does not apply.
|
70
79
|
excluded_card_tokens: nil,
|
80
|
+
# Whether the Auth Rule applies to all authorizations on the card program.
|
71
81
|
program_level: nil,
|
72
82
|
request_options: {}
|
73
83
|
); end
|
@@ -77,15 +77,23 @@ module Lithic
|
|
77
77
|
.returns(T.attached_class)
|
78
78
|
end
|
79
79
|
def self.new(
|
80
|
+
# Auth Rule Token
|
80
81
|
token:,
|
82
|
+
# Account tokens to which the Auth Rule applies.
|
81
83
|
account_tokens:,
|
84
|
+
# Card tokens to which the Auth Rule applies.
|
82
85
|
card_tokens:,
|
83
86
|
current_version:,
|
84
87
|
draft_version:,
|
88
|
+
# Auth Rule Name
|
85
89
|
name:,
|
90
|
+
# Whether the Auth Rule applies to all authorizations on the card program.
|
86
91
|
program_level:,
|
92
|
+
# The state of the Auth Rule
|
87
93
|
state:,
|
94
|
+
# The type of Auth Rule
|
88
95
|
type:,
|
96
|
+
# Card tokens to which the Auth Rule does not apply.
|
89
97
|
excluded_card_tokens: nil
|
90
98
|
); end
|
91
99
|
sig do
|
@@ -135,8 +143,13 @@ module Lithic
|
|
135
143
|
)
|
136
144
|
.returns(T.attached_class)
|
137
145
|
end
|
138
|
-
def self.new(
|
139
|
-
|
146
|
+
def self.new(
|
147
|
+
# Parameters for the Auth Rule
|
148
|
+
parameters:,
|
149
|
+
# The version of the rule, this is incremented whenever the rule's parameters
|
150
|
+
# change.
|
151
|
+
version:
|
152
|
+
); end
|
140
153
|
sig do
|
141
154
|
override
|
142
155
|
.returns(
|
@@ -193,8 +206,13 @@ module Lithic
|
|
193
206
|
)
|
194
207
|
.returns(T.attached_class)
|
195
208
|
end
|
196
|
-
def self.new(
|
197
|
-
|
209
|
+
def self.new(
|
210
|
+
# Parameters for the Auth Rule
|
211
|
+
parameters:,
|
212
|
+
# The version of the rule, this is incremented whenever the rule's parameters
|
213
|
+
# change.
|
214
|
+
version:
|
215
|
+
); end
|
198
216
|
sig do
|
199
217
|
override
|
200
218
|
.returns(
|
@@ -45,8 +45,23 @@ module Lithic
|
|
45
45
|
)
|
46
46
|
.returns(T.attached_class)
|
47
47
|
end
|
48
|
-
def self.new(
|
49
|
-
|
48
|
+
def self.new(
|
49
|
+
filters:,
|
50
|
+
# The size of the trailing window to calculate Spend Velocity over in seconds. The
|
51
|
+
# minimum value is 10 seconds, and the maximum value is 2678400 seconds (31 days).
|
52
|
+
period:,
|
53
|
+
scope:,
|
54
|
+
# The maximum amount of spend velocity allowed in the period in minor units (the
|
55
|
+
# smallest unit of a currency, e.g. cents for USD). Transactions exceeding this
|
56
|
+
# limit will be declined.
|
57
|
+
limit_amount: nil,
|
58
|
+
# The number of spend velocity impacting transactions may not exceed this limit in
|
59
|
+
# the period. Transactions exceeding this limit will be declined. A spend velocity
|
60
|
+
# impacting transaction is a transaction that has been authorized, and optionally
|
61
|
+
# settled, or a force post (a transaction that settled without prior
|
62
|
+
# authorization).
|
63
|
+
limit_count: nil
|
64
|
+
); end
|
50
65
|
sig do
|
51
66
|
override
|
52
67
|
.returns(
|
@@ -93,9 +108,22 @@ module Lithic
|
|
93
108
|
)
|
94
109
|
.returns(T.attached_class)
|
95
110
|
end
|
96
|
-
def self.new(
|
97
|
-
|
98
|
-
|
111
|
+
def self.new(
|
112
|
+
# ISO-3166-1 alpha-3 Country Codes to exclude from the velocity calculation.
|
113
|
+
# Transactions matching any of the provided will be excluded from the calculated
|
114
|
+
# velocity.
|
115
|
+
exclude_countries: nil,
|
116
|
+
# Merchant Category Codes to exclude from the velocity calculation. Transactions
|
117
|
+
# matching this MCC will be excluded from the calculated velocity.
|
118
|
+
exclude_mccs: nil,
|
119
|
+
# ISO-3166-1 alpha-3 Country Codes to include in the velocity calculation.
|
120
|
+
# Transactions not matching any of the provided will not be included in the
|
121
|
+
# calculated velocity.
|
122
|
+
include_countries: nil,
|
123
|
+
# Merchant Category Codes to include in the velocity calculation. Transactions not
|
124
|
+
# matching this MCC will not be included in the calculated velocity.
|
125
|
+
include_mccs: nil
|
126
|
+
); end
|
99
127
|
sig do
|
100
128
|
override
|
101
129
|
.returns(
|
@@ -11,8 +11,10 @@ module Lithic
|
|
11
11
|
attr_writer :secret
|
12
12
|
|
13
13
|
sig { params(secret: String).returns(T.attached_class) }
|
14
|
-
def self.new(
|
15
|
-
|
14
|
+
def self.new(
|
15
|
+
# The shared HMAC ASA secret
|
16
|
+
secret: nil
|
17
|
+
); end
|
16
18
|
sig { override.returns({secret: String}) }
|
17
19
|
def to_hash; end
|
18
20
|
end
|