lithic 0.1.0.pre.alpha.16 → 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 +34 -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 +33 -0
- 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/{card_list_response.rb → non_pci_card.rb} +96 -51
- 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 +177 -69
- 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 +4 -9
- 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 +36 -0
- 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/{card_list_response.rbi → non_pci_card.rbi} +137 -62
- 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/rbi/lib/lithic/resources/cards.rbi +8 -8
- 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
- data/sig/lithic/models/card.rbs +19 -0
- data/sig/lithic/models/{card_list_response.rbs → non_pci_card.rbs} +31 -31
- data/sig/lithic/resources/cards.rbs +8 -8
- metadata +14 -29
- data/lib/lithic/models/card_convert_physical_response.rb +0 -393
- data/lib/lithic/models/card_create_response.rb +0 -392
- data/lib/lithic/models/card_reissue_response.rb +0 -392
- data/lib/lithic/models/card_renew_response.rb +0 -392
- data/lib/lithic/models/card_retrieve_response.rb +0 -392
- data/lib/lithic/models/card_search_by_pan_response.rb +0 -392
- data/lib/lithic/models/card_update_response.rb +0 -392
- data/rbi/lib/lithic/models/card_convert_physical_response.rbi +0 -467
- data/rbi/lib/lithic/models/card_create_response.rbi +0 -458
- data/rbi/lib/lithic/models/card_reissue_response.rbi +0 -458
- data/rbi/lib/lithic/models/card_renew_response.rbi +0 -457
- data/rbi/lib/lithic/models/card_retrieve_response.rbi +0 -459
- data/rbi/lib/lithic/models/card_search_by_pan_response.rbi +0 -461
- data/rbi/lib/lithic/models/card_update_response.rbi +0 -458
- data/sig/lithic/models/card_convert_physical_response.rbs +0 -257
- data/sig/lithic/models/card_create_response.rbs +0 -257
- data/sig/lithic/models/card_reissue_response.rbs +0 -257
- data/sig/lithic/models/card_renew_response.rbs +0 -257
- data/sig/lithic/models/card_retrieve_response.rbs +0 -257
- data/sig/lithic/models/card_search_by_pan_response.rbs +0 -257
- data/sig/lithic/models/card_update_response.rbs +0 -257
@@ -64,15 +64,29 @@ module Lithic
|
|
64
64
|
.returns(T.attached_class)
|
65
65
|
end
|
66
66
|
def self.new(
|
67
|
+
# Funds available for spend in the currency's smallest unit (e.g., cents for USD)
|
67
68
|
available_amount:,
|
69
|
+
# Date and time for when the balance was first created.
|
68
70
|
created:,
|
71
|
+
# 3-character alphabetic ISO 4217 code for the local currency of the balance.
|
69
72
|
currency:,
|
73
|
+
# Type of financial account
|
70
74
|
financial_account_type:,
|
75
|
+
# Globally unique identifier for the financial account that had its balance
|
76
|
+
# updated most recently
|
71
77
|
last_financial_account_token:,
|
78
|
+
# Globally unique identifier for the last transaction event that impacted this
|
79
|
+
# balance
|
72
80
|
last_transaction_event_token:,
|
81
|
+
# Globally unique identifier for the last transaction that impacted this balance
|
73
82
|
last_transaction_token:,
|
83
|
+
# Funds not available for spend due to card authorizations or pending ACH release.
|
84
|
+
# Shown in the currency's smallest unit (e.g., cents for USD)
|
74
85
|
pending_amount:,
|
86
|
+
# The sum of available and pending balance in the currency's smallest unit (e.g.,
|
87
|
+
# cents for USD)
|
75
88
|
total_amount:,
|
89
|
+
# Date and time for when the balance was last updated.
|
76
90
|
updated:
|
77
91
|
); end
|
78
92
|
sig do
|
@@ -23,8 +23,11 @@ module Lithic
|
|
23
23
|
)
|
24
24
|
.returns(T.attached_class)
|
25
25
|
end
|
26
|
-
def self.new(
|
27
|
-
|
26
|
+
def self.new(
|
27
|
+
# Get the aggregate balance for a given Financial Account type.
|
28
|
+
financial_account_type: nil,
|
29
|
+
request_options: {}
|
30
|
+
); end
|
28
31
|
sig do
|
29
32
|
override
|
30
33
|
.returns(
|
@@ -82,14 +82,29 @@ module Lithic
|
|
82
82
|
.returns(T.attached_class)
|
83
83
|
end
|
84
84
|
def self.new(
|
85
|
+
# Globally unique identifier.
|
85
86
|
token:,
|
87
|
+
# Indicates whether the Auth Rule is ACTIVE or INACTIVE
|
86
88
|
state:,
|
89
|
+
# Array of account_token(s) identifying the accounts that the Auth Rule applies
|
90
|
+
# to. Note that only this field or `card_tokens` can be provided for a given Auth
|
91
|
+
# Rule.
|
87
92
|
account_tokens: nil,
|
93
|
+
# Countries in which the Auth Rule permits transactions. Note that Lithic
|
94
|
+
# maintains a list of countries in which all transactions are blocked; "allowing"
|
95
|
+
# those countries in an Auth Rule does not override the Lithic-wide restrictions.
|
88
96
|
allowed_countries: nil,
|
97
|
+
# Merchant category codes for which the Auth Rule permits transactions.
|
89
98
|
allowed_mcc: nil,
|
99
|
+
# Countries in which the Auth Rule automatically declines transactions.
|
90
100
|
blocked_countries: nil,
|
101
|
+
# Merchant category codes for which the Auth Rule automatically declines
|
102
|
+
# transactions.
|
91
103
|
blocked_mcc: nil,
|
104
|
+
# Array of card_token(s) identifying the cards that the Auth Rule applies to. Note
|
105
|
+
# that only this field or `account_tokens` can be provided for a given Auth Rule.
|
92
106
|
card_tokens: nil,
|
107
|
+
# Boolean indicating whether the Auth Rule is applied at the program level.
|
93
108
|
program_level: nil
|
94
109
|
); end
|
95
110
|
sig do
|
@@ -79,8 +79,60 @@ module Lithic
|
|
79
79
|
)
|
80
80
|
.returns(T.attached_class)
|
81
81
|
end
|
82
|
-
def self.new(
|
83
|
-
|
82
|
+
def self.new(
|
83
|
+
# The attribute to target.
|
84
|
+
#
|
85
|
+
# The following attributes may be targeted:
|
86
|
+
#
|
87
|
+
# - `MCC`: A four-digit number listed in ISO 18245. An MCC is used to classify a
|
88
|
+
# business by the types of goods or services it provides.
|
89
|
+
# - `COUNTRY`: Country of entity of card acceptor. Possible values are: (1) all
|
90
|
+
# ISO 3166-1 alpha-3 country codes, (2) QZZ for Kosovo, and (3) ANT for
|
91
|
+
# Netherlands Antilles.
|
92
|
+
# - `CURRENCY`: 3-character alphabetic ISO 4217 code for the merchant currency of
|
93
|
+
# the transaction.
|
94
|
+
# - `MERCHANT_ID`: Unique alphanumeric identifier for the payment card acceptor
|
95
|
+
# (merchant).
|
96
|
+
# - `DESCRIPTOR`: Short description of card acceptor.
|
97
|
+
# - `LIABILITY_SHIFT`: Indicates whether chargeback liability shift to the issuer
|
98
|
+
# applies to the transaction. Valid values are `NONE`, `3DS_AUTHENTICATED`, or
|
99
|
+
# `TOKEN_AUTHENTICATED`.
|
100
|
+
# - `PAN_ENTRY_MODE`: The method by which the cardholder's primary account number
|
101
|
+
# (PAN) was entered. Valid values are `AUTO_ENTRY`, `BAR_CODE`, `CONTACTLESS`,
|
102
|
+
# `ECOMMERCE`, `ERROR_KEYED`, `ERROR_MAGNETIC_STRIPE`, `ICC`, `KEY_ENTERED`,
|
103
|
+
# `MAGNETIC_STRIPE`, `MANUAL`, `OCR`, `SECURE_CARDLESS`, `UNSPECIFIED`,
|
104
|
+
# `UNKNOWN`, `CREDENTIAL_ON_FILE`, or `ECOMMERCE`.
|
105
|
+
# - `TRANSACTION_AMOUNT`: The base transaction amount (in cents) plus the acquirer
|
106
|
+
# fee field in the settlement/cardholder billing currency. This is the amount
|
107
|
+
# the issuer should authorize against unless the issuer is paying the acquirer
|
108
|
+
# fee on behalf of the cardholder.
|
109
|
+
# - `RISK_SCORE`: Network-provided score assessing risk level associated with a
|
110
|
+
# given authorization. Scores are on a range of 0-999, with 0 representing the
|
111
|
+
# lowest risk and 999 representing the highest risk. For Visa transactions,
|
112
|
+
# where the raw score has a range of 0-99, Lithic will normalize the score by
|
113
|
+
# multiplying the raw score by 10x.
|
114
|
+
# - `CARD_TRANSACTION_COUNT_15M`: The number of transactions on the card in the
|
115
|
+
# trailing 15 minutes before the authorization.
|
116
|
+
# - `CARD_TRANSACTION_COUNT_1H`: The number of transactions on the card in the
|
117
|
+
# trailing hour up and until the authorization.
|
118
|
+
# - `CARD_TRANSACTION_COUNT_24H`: The number of transactions on the card in the
|
119
|
+
# trailing 24 hours up and until the authorization.
|
120
|
+
# - `CARD_STATE`: The current state of the card associated with the transaction.
|
121
|
+
# Valid values are `CLOSED`, `OPEN`, `PAUSED`, `PENDING_ACTIVATION`,
|
122
|
+
# `PENDING_FULFILLMENT`.
|
123
|
+
# - `PIN_ENTERED`: Indicates whether a PIN was entered during the transaction.
|
124
|
+
# Valid values are `TRUE`, `FALSE`.
|
125
|
+
# - `PIN_STATUS`: The current state of card's PIN. Valid values are `NOT_SET`,
|
126
|
+
# `OK`, `BLOCKED`.
|
127
|
+
# - `WALLET_TYPE`: For transactions using a digital wallet token, indicates the
|
128
|
+
# source of the token. Valid values are `APPLE_PAY`, `GOOGLE_PAY`,
|
129
|
+
# `SAMSUNG_PAY`, `MASTERPASS`, `MERCHANT`, `OTHER`, `NONE`.
|
130
|
+
attribute: nil,
|
131
|
+
# The operation to apply to the attribute
|
132
|
+
operation: nil,
|
133
|
+
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
134
|
+
value: nil
|
135
|
+
); end
|
84
136
|
sig do
|
85
137
|
override
|
86
138
|
.returns(
|
@@ -33,8 +33,13 @@ module Lithic
|
|
33
33
|
)
|
34
34
|
.returns(T.attached_class)
|
35
35
|
end
|
36
|
-
def self.new(
|
37
|
-
|
36
|
+
def self.new(
|
37
|
+
# The end time of the backtest.
|
38
|
+
end_: nil,
|
39
|
+
# The start time of the backtest.
|
40
|
+
start: nil,
|
41
|
+
request_options: {}
|
42
|
+
); end
|
38
43
|
sig { override.returns({end_: Time, start: Time, request_options: Lithic::RequestOptions}) }
|
39
44
|
def to_hash; end
|
40
45
|
end
|
@@ -13,8 +13,10 @@ module Lithic
|
|
13
13
|
attr_writer :backtest_token
|
14
14
|
|
15
15
|
sig { params(backtest_token: String).returns(T.attached_class) }
|
16
|
-
def self.new(
|
17
|
-
|
16
|
+
def self.new(
|
17
|
+
# Auth Rule Backtest Token
|
18
|
+
backtest_token: nil
|
19
|
+
); end
|
18
20
|
sig { override.returns({backtest_token: String}) }
|
19
21
|
def to_hash; end
|
20
22
|
end
|
@@ -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(
|