lithic 0.1.0.pre.alpha.6 → 0.1.0.pre.alpha.8
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/README.md +8 -1
- data/lib/lithic/client.rb +3 -3
- data/lib/lithic/internal/transport/base_client.rb +2 -2
- data/lib/lithic/internal/transport/pooled_net_requester.rb +15 -6
- data/lib/lithic/internal/type/array_of.rb +12 -2
- data/lib/lithic/internal/type/base_model.rb +23 -22
- data/lib/lithic/internal/type/boolean.rb +5 -1
- data/lib/lithic/internal/type/converter.rb +62 -39
- data/lib/lithic/internal/type/enum.rb +13 -9
- data/lib/lithic/internal/type/hash_of.rb +6 -2
- data/lib/lithic/internal/type/io_like.rb +75 -0
- data/lib/lithic/internal/type/request_parameters.rb +11 -2
- data/lib/lithic/internal/type/union.rb +7 -3
- data/lib/lithic/internal/type/unknown.rb +5 -1
- data/lib/lithic/internal/util.rb +81 -26
- data/lib/lithic/models/account.rb +37 -37
- data/lib/lithic/models/account_holder.rb +58 -55
- data/lib/lithic/models/account_holder_create_params.rb +59 -59
- data/lib/lithic/models/account_holder_create_response.rb +6 -6
- data/lib/lithic/models/account_holder_list_params.rb +10 -10
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +2 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -1
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +71 -71
- data/lib/lithic/models/account_holder_update_params.rb +56 -64
- data/lib/lithic/models/account_holder_update_response.rb +75 -75
- data/lib/lithic/models/account_list_params.rb +6 -6
- data/lib/lithic/models/account_spend_limits.rb +6 -6
- data/lib/lithic/models/account_update_params.rb +14 -14
- data/lib/lithic/models/address.rb +5 -5
- data/lib/lithic/models/address_update.rb +3 -3
- data/lib/lithic/models/aggregate_balance.rb +4 -4
- data/lib/lithic/models/auth_rules/auth_rule.rb +6 -6
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +44 -44
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +44 -44
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +10 -10
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_create_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_params.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_update_params.rb +6 -6
- data/lib/lithic/models/auth_rules/v2_update_response.rb +2 -2
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +14 -14
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +5 -5
- data/lib/lithic/models/balance.rb +4 -4
- data/lib/lithic/models/balance_list_params.rb +1 -1
- data/lib/lithic/models/book_transfer_create_params.rb +4 -4
- data/lib/lithic/models/book_transfer_list_params.rb +7 -7
- data/lib/lithic/models/book_transfer_response.rb +14 -14
- data/lib/lithic/models/card.rb +110 -110
- data/lib/lithic/models/card_convert_physical_params.rb +22 -22
- data/lib/lithic/models/card_create_params.rb +93 -93
- data/lib/lithic/models/card_list_params.rb +6 -6
- data/lib/lithic/models/card_program.rb +1 -1
- data/lib/lithic/models/card_program_list_params.rb +2 -2
- data/lib/lithic/models/card_provision_params.rb +11 -11
- data/lib/lithic/models/card_reissue_params.rb +22 -22
- data/lib/lithic/models/card_renew_params.rb +24 -24
- data/lib/lithic/models/card_spend_limits.rb +6 -6
- data/lib/lithic/models/card_update_params.rb +33 -33
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/balance_list_params.rb +2 -2
- data/lib/lithic/models/cards/balance_list_response.rb +4 -4
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/digital_card_art_list_params.rb +2 -2
- data/lib/lithic/models/dispute.rb +88 -88
- data/lib/lithic/models/dispute_evidence.rb +11 -11
- data/lib/lithic/models/dispute_list_evidences_params.rb +6 -6
- data/lib/lithic/models/dispute_list_params.rb +6 -6
- data/lib/lithic/models/document.rb +6 -6
- data/lib/lithic/models/event.rb +51 -51
- data/lib/lithic/models/event_list_attempts_params.rb +6 -6
- data/lib/lithic/models/event_list_params.rb +6 -6
- data/lib/lithic/models/events/subscription_create_params.rb +1 -1
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +6 -6
- data/lib/lithic/models/events/subscription_list_params.rb +2 -2
- data/lib/lithic/models/events/subscription_recover_params.rb +4 -4
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +4 -4
- data/lib/lithic/models/events/subscription_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_create_params.rb +4 -4
- data/lib/lithic/models/external_bank_account_create_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_list_params.rb +2 -2
- data/lib/lithic/models/external_bank_account_list_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +11 -11
- data/lib/lithic/models/external_bank_account_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_update_response.rb +11 -11
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +11 -11
- data/lib/lithic/models/external_payment_list_params.rb +7 -7
- data/lib/lithic/models/financial_account_create_params.rb +1 -1
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +4 -4
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/loan_tape.rb +13 -13
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/statement.rb +6 -6
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +6 -6
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +2 -2
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +2 -1
- data/lib/lithic/models/financial_transaction.rb +35 -34
- data/lib/lithic/models/kyb.rb +47 -47
- data/lib/lithic/models/kyb_business_entity.rb +9 -9
- data/lib/lithic/models/kyc.rb +12 -12
- data/lib/lithic/models/kyc_exempt.rb +4 -4
- data/lib/lithic/models/management_operation_list_params.rb +7 -7
- data/lib/lithic/models/management_operation_transaction.rb +36 -0
- data/lib/lithic/models/message_attempt.rb +1 -1
- data/lib/lithic/models/payment.rb +66 -54
- data/lib/lithic/models/payment_create_params.rb +1 -1
- data/lib/lithic/models/payment_list_params.rb +6 -6
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +7 -7
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +7 -7
- data/lib/lithic/models/reports/settlement_list_details_params.rb +2 -2
- data/lib/lithic/models/required_document.rb +2 -2
- data/lib/lithic/models/settlement_detail.rb +5 -5
- data/lib/lithic/models/settlement_report.rb +15 -15
- data/lib/lithic/models/settlement_summary_details.rb +3 -3
- data/lib/lithic/models/shipping_address.rb +9 -9
- data/lib/lithic/models/spend_limit_duration.rb +10 -10
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +97 -97
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +1 -1
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +7 -7
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +1 -1
- data/lib/lithic/models/three_ds/challenge_response.rb +3 -3
- data/lib/lithic/models/tokenization.rb +5 -5
- data/lib/lithic/models/tokenization_list_params.rb +6 -6
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +4 -4
- data/lib/lithic/models/tokenization_simulate_params.rb +3 -3
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +3 -3
- data/lib/lithic/models/transaction.rb +95 -95
- data/lib/lithic/models/transaction_list_params.rb +8 -8
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +1 -1
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +38 -38
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +7 -7
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +4 -4
- data/lib/lithic/models/transaction_simulate_void_params.rb +7 -7
- data/lib/lithic/models/transactions/events/enhanced_data.rb +2 -2
- data/lib/lithic/models/transfer.rb +25 -24
- data/lib/lithic/models/transfer_create_params.rb +4 -4
- data/lib/lithic/request_options.rb +7 -7
- data/lib/lithic/resources/account_holders.rb +52 -52
- data/lib/lithic/resources/accounts.rb +7 -7
- data/lib/lithic/resources/aggregate_balances.rb +1 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +38 -38
- data/lib/lithic/resources/auth_rules/v2.rb +58 -58
- data/lib/lithic/resources/auth_stream_enrollment.rb +8 -8
- data/lib/lithic/resources/book_transfers.rb +2 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +1 -1
- data/lib/lithic/resources/cards.rb +63 -63
- data/lib/lithic/resources/disputes.rb +6 -6
- data/lib/lithic/resources/events/subscriptions.rb +8 -8
- data/lib/lithic/resources/events.rb +2 -2
- data/lib/lithic/resources/external_payments.rb +1 -1
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +1 -1
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +1 -1
- data/lib/lithic/resources/financial_accounts/statements.rb +1 -1
- data/lib/lithic/resources/financial_accounts.rb +1 -1
- data/lib/lithic/resources/management_operations.rb +1 -1
- data/lib/lithic/resources/payments.rb +2 -2
- data/lib/lithic/resources/reports/settlement/network_totals.rb +1 -1
- data/lib/lithic/resources/three_ds/authentication.rb +6 -6
- data/lib/lithic/resources/three_ds/decisioning.rb +8 -8
- data/lib/lithic/resources/tokenization_decisioning.rb +7 -7
- data/lib/lithic/resources/tokenizations.rb +46 -46
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +1 -1
- data/lib/lithic/resources/transactions.rb +24 -24
- data/lib/lithic/resources/transfers.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +1 -0
- data/rbi/lib/lithic/client.rbi +6 -9
- data/rbi/lib/lithic/errors.rbi +3 -6
- data/rbi/lib/lithic/internal/cursor_page.rbi +1 -2
- data/rbi/lib/lithic/internal/single_page.rbi +1 -2
- data/rbi/lib/lithic/internal/transport/base_client.rbi +13 -27
- data/rbi/lib/lithic/internal/transport/pooled_net_requester.rbi +8 -14
- data/rbi/lib/lithic/internal/type/array_of.rbi +16 -22
- data/rbi/lib/lithic/internal/type/base_model.rbi +51 -66
- data/rbi/lib/lithic/internal/type/base_page.rbi +5 -10
- data/rbi/lib/lithic/internal/type/boolean.rbi +16 -10
- data/rbi/lib/lithic/internal/type/converter.rbi +42 -38
- data/rbi/lib/lithic/internal/type/enum.rbi +24 -21
- data/rbi/lib/lithic/internal/type/hash_of.rbi +13 -18
- data/rbi/lib/lithic/internal/type/io_like.rbi +49 -0
- data/rbi/lib/lithic/internal/type/request_parameters.rbi +1 -2
- data/rbi/lib/lithic/internal/type/union.rbi +17 -23
- data/rbi/lib/lithic/internal/type/unknown.rbi +12 -12
- data/rbi/lib/lithic/internal/util.rbi +67 -70
- data/rbi/lib/lithic/internal.rbi +1 -1
- data/rbi/lib/lithic/models/account.rbi +46 -56
- data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/account_holder.rbi +81 -99
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +73 -90
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +9 -12
- data/rbi/lib/lithic/models/account_holder_list_documents_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_documents_response.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_list_params.rbi +10 -13
- data/rbi/lib/lithic/models/account_holder_retrieve_document_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +6 -11
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +5 -9
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +103 -123
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +68 -94
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +135 -140
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +3 -6
- data/rbi/lib/lithic/models/account_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/account_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/account_update_params.rbi +19 -25
- data/rbi/lib/lithic/models/address.rbi +7 -9
- data/rbi/lib/lithic/models/address_update.rbi +5 -7
- data/rbi/lib/lithic/models/aggregate_balance.rbi +7 -11
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/api_status.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +48 -52
- data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +45 -46
- data/rbi/lib/lithic/models/auth_rules/conditional_block_parameters.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +40 -54
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +4 -9
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +3 -6
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +4 -7
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_promote_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_report_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_report_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +9 -13
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +12 -23
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +19 -24
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +6 -7
- data/rbi/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/auth_stream_secret.rbi +2 -4
- data/rbi/lib/lithic/models/balance.rbi +7 -11
- data/rbi/lib/lithic/models/balance_list_params.rbi +4 -8
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/book_transfer_response.rbi +23 -33
- data/rbi/lib/lithic/models/book_transfer_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/card.rbi +117 -127
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +24 -26
- data/rbi/lib/lithic/models/card_create_params.rbi +98 -104
- data/rbi/lib/lithic/models/card_embed_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/card_program.rbi +3 -6
- data/rbi/lib/lithic/models/card_program_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/card_program_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_provision_params.rbi +14 -18
- data/rbi/lib/lithic/models/card_provision_response.rbi +2 -4
- data/rbi/lib/lithic/models/card_reissue_params.rbi +24 -26
- data/rbi/lib/lithic/models/card_renew_params.rbi +27 -31
- data/rbi/lib/lithic/models/card_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_retrieve_spend_limits_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +2 -4
- data/rbi/lib/lithic/models/card_spend_limits.rbi +14 -22
- data/rbi/lib/lithic/models/card_update_params.rbi +37 -42
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +2 -4
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +6 -9
- data/rbi/lib/lithic/models/cards/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/cards/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/carrier.rbi +2 -4
- data/rbi/lib/lithic/models/client_api_status_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/extended_credit_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +4 -8
- data/rbi/lib/lithic/models/digital_card_art.rbi +2 -4
- data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/digital_card_art_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute.rbi +93 -99
- data/rbi/lib/lithic/models/dispute_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_evidence.rbi +13 -15
- data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +5 -6
- data/rbi/lib/lithic/models/dispute_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/dispute_retrieve_evidence_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/dispute_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/document.rbi +13 -21
- data/rbi/lib/lithic/models/event.rbi +58 -61
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/event_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/event_subscription.rbi +3 -6
- data/rbi/lib/lithic/models/events/event_subscription_resend_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +4 -7
- data/rbi/lib/lithic/models/events/subscription_delete_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +7 -11
- data/rbi/lib/lithic/models/events/subscription_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +4 -6
- data/rbi/lib/lithic/models/events/subscription_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +3 -6
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +4 -7
- data/rbi/lib/lithic/models/external_bank_account_address.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +8 -13
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +7 -13
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +16 -22
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +4 -8
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +18 -26
- data/rbi/lib/lithic/models/external_payment.rbi +10 -21
- data/rbi/lib/lithic/models/external_payment_cancel_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +10 -16
- data/rbi/lib/lithic/models/external_payment_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_payment_settle_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account.rbi +9 -20
- data/rbi/lib/lithic/models/financial_account_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/financial_account_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +4 -8
- data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +4 -6
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +7 -11
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -5
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +4 -9
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +51 -91
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +5 -6
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +30 -56
- data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +6 -9
- data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +3 -4
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -14
- data/rbi/lib/lithic/models/financial_accounts/statements.rbi +2 -4
- data/rbi/lib/lithic/models/financial_transaction.rbi +44 -53
- data/rbi/lib/lithic/models/instance_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/kyb.rbi +58 -72
- data/rbi/lib/lithic/models/kyb_business_entity.rbi +13 -18
- data/rbi/lib/lithic/models/kyc.rbi +17 -22
- data/rbi/lib/lithic/models/kyc_exempt.rbi +8 -13
- data/rbi/lib/lithic/models/management_operation_create_params.rbi +5 -11
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +9 -14
- data/rbi/lib/lithic/models/management_operation_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_reverse_params.rbi +2 -4
- data/rbi/lib/lithic/models/management_operation_transaction.rbi +60 -20
- data/rbi/lib/lithic/models/message_attempt.rbi +3 -5
- data/rbi/lib/lithic/models/owner_type.rbi +1 -2
- data/rbi/lib/lithic/models/payment.rbi +85 -89
- data/rbi/lib/lithic/models/payment_create_params.rbi +8 -16
- data/rbi/lib/lithic/models/payment_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_list_params.rbi +9 -15
- data/rbi/lib/lithic/models/payment_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_retry_response.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +4 -8
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +3 -6
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +8 -12
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +12 -18
- data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +4 -6
- data/rbi/lib/lithic/models/reports/settlement_summary_params.rbi +2 -4
- data/rbi/lib/lithic/models/required_document.rbi +4 -6
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +3 -6
- data/rbi/lib/lithic/models/responder_endpoint_status.rbi +2 -4
- data/rbi/lib/lithic/models/settlement_detail.rbi +11 -18
- data/rbi/lib/lithic/models/settlement_report.rbi +17 -20
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +6 -10
- data/rbi/lib/lithic/models/shipping_address.rbi +11 -14
- data/rbi/lib/lithic/models/spend_limit_duration.rbi +11 -12
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +137 -176
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +14 -21
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +3 -5
- data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +5 -7
- data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -2
- data/rbi/lib/lithic/models/three_ds/decisioning_challenge_response_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization.rbi +14 -24
- data/rbi/lib/lithic/models/tokenization_activate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_deactivate_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +7 -11
- data/rbi/lib/lithic/models/tokenization_pause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -10
- data/rbi/lib/lithic/models/tokenization_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_secret.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +7 -12
- data/rbi/lib/lithic/models/tokenization_simulate_response.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_unpause_params.rbi +2 -4
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +5 -7
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction.rbi +168 -236
- data/rbi/lib/lithic/models/transaction_expire_authorization_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_list_params.rbi +10 -15
- data/rbi/lib/lithic/models/transaction_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +41 -45
- data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +3 -5
- data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +9 -11
- data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +6 -8
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +10 -13
- data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rbi +2 -4
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +21 -35
- data/rbi/lib/lithic/models/transfer.rbi +34 -43
- data/rbi/lib/lithic/models/transfer_create_params.rbi +6 -8
- data/rbi/lib/lithic/models/verification_method.rbi +1 -2
- data/rbi/lib/lithic/request_options.rbi +9 -11
- data/rbi/lib/lithic/resources/account_holders.rbi +118 -145
- data/rbi/lib/lithic/resources/accounts.rbi +26 -35
- data/rbi/lib/lithic/resources/aggregate_balances.rbi +3 -6
- data/rbi/lib/lithic/resources/auth_rules/v2/backtests.rbi +40 -45
- data/rbi/lib/lithic/resources/auth_rules/v2.rbi +69 -88
- data/rbi/lib/lithic/resources/auth_rules.rbi +1 -2
- data/rbi/lib/lithic/resources/auth_stream_enrollment.rbi +11 -14
- data/rbi/lib/lithic/resources/balances.rbi +3 -6
- data/rbi/lib/lithic/resources/book_transfers.rbi +15 -24
- data/rbi/lib/lithic/resources/card_programs.rbi +5 -10
- data/rbi/lib/lithic/resources/cards/aggregate_balances.rbi +2 -5
- data/rbi/lib/lithic/resources/cards/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/cards/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/cards.rbi +215 -236
- data/rbi/lib/lithic/resources/credit_products/extended_credit.rbi +2 -5
- data/rbi/lib/lithic/resources/credit_products/prime_rates.rbi +3 -8
- data/rbi/lib/lithic/resources/credit_products.rbi +1 -2
- data/rbi/lib/lithic/resources/digital_card_art.rbi +8 -13
- data/rbi/lib/lithic/resources/disputes.rbi +22 -37
- data/rbi/lib/lithic/resources/events/event_subscriptions.rbi +2 -4
- data/rbi/lib/lithic/resources/events/subscriptions.rbi +29 -48
- data/rbi/lib/lithic/resources/events.rbi +12 -18
- data/rbi/lib/lithic/resources/external_bank_accounts/micro_deposits.rbi +2 -4
- data/rbi/lib/lithic/resources/external_bank_accounts.rbi +18 -23
- data/rbi/lib/lithic/resources/external_payments.rbi +13 -28
- data/rbi/lib/lithic/resources/financial_accounts/balances.rbi +4 -7
- data/rbi/lib/lithic/resources/financial_accounts/credit_configuration.rbi +3 -8
- data/rbi/lib/lithic/resources/financial_accounts/financial_transactions.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/loan_tapes.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts/statements/line_items.rbi +5 -8
- data/rbi/lib/lithic/resources/financial_accounts/statements.rbi +7 -12
- data/rbi/lib/lithic/resources/financial_accounts.rbi +7 -16
- data/rbi/lib/lithic/resources/management_operations.rbi +10 -19
- data/rbi/lib/lithic/resources/payments.rbi +14 -29
- data/rbi/lib/lithic/resources/reports/settlement/network_totals.rbi +8 -13
- data/rbi/lib/lithic/resources/reports/settlement.rbi +5 -10
- data/rbi/lib/lithic/resources/reports.rbi +1 -2
- data/rbi/lib/lithic/resources/responder_endpoints.rbi +4 -11
- data/rbi/lib/lithic/resources/three_ds/authentication.rbi +12 -19
- data/rbi/lib/lithic/resources/three_ds/decisioning.rbi +15 -20
- data/rbi/lib/lithic/resources/three_ds.rbi +1 -2
- data/rbi/lib/lithic/resources/tokenization_decisioning.rbi +10 -13
- data/rbi/lib/lithic/resources/tokenizations.rbi +66 -85
- data/rbi/lib/lithic/resources/transactions/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events/enhanced_commercial_data.rbi +3 -6
- data/rbi/lib/lithic/resources/transactions/events.rbi +1 -2
- data/rbi/lib/lithic/resources/transactions.rbi +79 -100
- data/rbi/lib/lithic/resources/transfers.rbi +7 -10
- data/sig/lithic/internal/transport/pooled_net_requester.rbs +1 -1
- data/sig/lithic/internal/type/array_of.rbs +5 -2
- data/sig/lithic/internal/type/base_model.rbs +5 -2
- data/sig/lithic/internal/type/boolean.rbs +5 -2
- data/sig/lithic/internal/type/converter.rbs +11 -5
- data/sig/lithic/internal/type/enum.rbs +5 -2
- data/sig/lithic/internal/type/hash_of.rbs +5 -2
- data/sig/lithic/internal/type/io_like.rbs +23 -0
- data/sig/lithic/internal/type/union.rbs +5 -2
- data/sig/lithic/internal/type/unknown.rbs +5 -2
- data/sig/lithic/internal/util.rbs +17 -2
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/management_operation_transaction.rbs +27 -0
- data/sig/lithic/models/payment.rbs +8 -2
- data/sig/lithic/models/transfer.rbs +2 -0
- metadata +5 -2
@@ -32,13 +32,13 @@ module Lithic
|
|
32
32
|
attr_accessor :currency
|
33
33
|
|
34
34
|
# The institution that activity occurred on. For Mastercard: ICA (Interbank Card
|
35
|
-
#
|
36
|
-
#
|
35
|
+
# Association). For Maestro: institution ID. For Visa: lowest level SRE
|
36
|
+
# (Settlement Reporting Entity).
|
37
37
|
sig { returns(String) }
|
38
38
|
attr_accessor :institution_id
|
39
39
|
|
40
40
|
# Card network where the transaction took place. VISA, MASTERCARD, MAESTRO, or
|
41
|
-
#
|
41
|
+
# INTERLINK.
|
42
42
|
sig { returns(Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse::Network::TaggedSymbol) }
|
43
43
|
attr_accessor :network
|
44
44
|
|
@@ -47,8 +47,8 @@ module Lithic
|
|
47
47
|
attr_accessor :report_date
|
48
48
|
|
49
49
|
# The institution responsible for settlement. For Mastercard: same as
|
50
|
-
#
|
51
|
-
#
|
50
|
+
# `institution_id`. For Maestro: billing ICA. For Visa: Funds Transfer SRE
|
51
|
+
# (FTSRE).
|
52
52
|
sig { returns(String) }
|
53
53
|
attr_accessor :settlement_institution_id
|
54
54
|
|
@@ -98,9 +98,7 @@ module Lithic
|
|
98
98
|
settlement_service:,
|
99
99
|
updated:,
|
100
100
|
cycle: nil
|
101
|
-
)
|
102
|
-
end
|
103
|
-
|
101
|
+
); end
|
104
102
|
sig do
|
105
103
|
override
|
106
104
|
.returns(
|
@@ -119,8 +117,7 @@ module Lithic
|
|
119
117
|
}
|
120
118
|
)
|
121
119
|
end
|
122
|
-
def to_hash
|
123
|
-
end
|
120
|
+
def to_hash; end
|
124
121
|
|
125
122
|
class Amounts < Lithic::Internal::Type::BaseModel
|
126
123
|
# Total settlement amount excluding interchange, in currency's smallest unit.
|
@@ -132,7 +129,7 @@ module Lithic
|
|
132
129
|
attr_accessor :interchange_fees
|
133
130
|
|
134
131
|
# `gross_settlement` net of `interchange_fees` and `visa_charges` (if applicable),
|
135
|
-
#
|
132
|
+
# in currency's smallest unit.
|
136
133
|
sig { returns(Integer) }
|
137
134
|
attr_accessor :net_settlement
|
138
135
|
|
@@ -152,8 +149,7 @@ module Lithic
|
|
152
149
|
)
|
153
150
|
.returns(T.attached_class)
|
154
151
|
end
|
155
|
-
def self.new(gross_settlement:, interchange_fees:, net_settlement:, visa_charges: nil)
|
156
|
-
end
|
152
|
+
def self.new(gross_settlement:, interchange_fees:, net_settlement:, visa_charges: nil); end
|
157
153
|
|
158
154
|
sig do
|
159
155
|
override
|
@@ -166,12 +162,11 @@ module Lithic
|
|
166
162
|
}
|
167
163
|
)
|
168
164
|
end
|
169
|
-
def to_hash
|
170
|
-
end
|
165
|
+
def to_hash; end
|
171
166
|
end
|
172
167
|
|
173
168
|
# Card network where the transaction took place. VISA, MASTERCARD, MAESTRO, or
|
174
|
-
#
|
169
|
+
# INTERLINK.
|
175
170
|
module Network
|
176
171
|
extend Lithic::Internal::Type::Enum
|
177
172
|
|
@@ -207,8 +202,7 @@ module Lithic
|
|
207
202
|
T::Array[Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse::Network::TaggedSymbol]
|
208
203
|
)
|
209
204
|
end
|
210
|
-
def self.values
|
211
|
-
end
|
205
|
+
def self.values; end
|
212
206
|
end
|
213
207
|
end
|
214
208
|
end
|
@@ -8,7 +8,7 @@ module Lithic
|
|
8
8
|
include Lithic::Internal::Type::RequestParameters
|
9
9
|
|
10
10
|
# A cursor representing an item's token before which a page of results should end.
|
11
|
-
#
|
11
|
+
# Used to retrieve the previous page of results before this item.
|
12
12
|
sig { returns(T.nilable(String)) }
|
13
13
|
attr_reader :ending_before
|
14
14
|
|
@@ -23,7 +23,7 @@ module Lithic
|
|
23
23
|
attr_writer :page_size
|
24
24
|
|
25
25
|
# A cursor representing an item's token after which a page of results should
|
26
|
-
#
|
26
|
+
# begin. Used to retrieve the next page of results after this item.
|
27
27
|
sig { returns(T.nilable(String)) }
|
28
28
|
attr_reader :starting_after
|
29
29
|
|
@@ -39,8 +39,7 @@ module Lithic
|
|
39
39
|
)
|
40
40
|
.returns(T.attached_class)
|
41
41
|
end
|
42
|
-
def self.new(ending_before: nil, page_size: nil, starting_after: nil, request_options: {})
|
43
|
-
end
|
42
|
+
def self.new(ending_before: nil, page_size: nil, starting_after: nil, request_options: {}); end
|
44
43
|
|
45
44
|
sig do
|
46
45
|
override
|
@@ -53,8 +52,7 @@ module Lithic
|
|
53
52
|
}
|
54
53
|
)
|
55
54
|
end
|
56
|
-
def to_hash
|
57
|
-
end
|
55
|
+
def to_hash; end
|
58
56
|
end
|
59
57
|
end
|
60
58
|
end
|
@@ -15,12 +15,10 @@ module Lithic
|
|
15
15
|
)
|
16
16
|
).returns(T.attached_class)
|
17
17
|
end
|
18
|
-
def self.new(request_options: {})
|
19
|
-
end
|
18
|
+
def self.new(request_options: {}); end
|
20
19
|
|
21
20
|
sig { override.returns({request_options: Lithic::RequestOptions}) }
|
22
|
-
def to_hash
|
23
|
-
end
|
21
|
+
def to_hash; end
|
24
22
|
end
|
25
23
|
end
|
26
24
|
end
|
@@ -8,12 +8,12 @@ module Lithic
|
|
8
8
|
attr_accessor :entity_token
|
9
9
|
|
10
10
|
# rovides the status reasons that will be satisfied by providing one of the valid
|
11
|
-
#
|
11
|
+
# documents.
|
12
12
|
sig { returns(T::Array[String]) }
|
13
13
|
attr_accessor :status_reasons
|
14
14
|
|
15
15
|
# A list of valid documents that will satisfy the KYC requirements for the
|
16
|
-
#
|
16
|
+
# specified entity.
|
17
17
|
sig { returns(T::Array[String]) }
|
18
18
|
attr_accessor :valid_documents
|
19
19
|
|
@@ -21,8 +21,7 @@ module Lithic
|
|
21
21
|
params(entity_token: String, status_reasons: T::Array[String], valid_documents: T::Array[String])
|
22
22
|
.returns(T.attached_class)
|
23
23
|
end
|
24
|
-
def self.new(entity_token:, status_reasons:, valid_documents:)
|
25
|
-
end
|
24
|
+
def self.new(entity_token:, status_reasons:, valid_documents:); end
|
26
25
|
|
27
26
|
sig do
|
28
27
|
override
|
@@ -32,8 +31,7 @@ module Lithic
|
|
32
31
|
valid_documents: T::Array[String]
|
33
32
|
})
|
34
33
|
end
|
35
|
-
def to_hash
|
36
|
-
end
|
34
|
+
def to_hash; end
|
37
35
|
end
|
38
36
|
end
|
39
37
|
end
|
@@ -17,8 +17,7 @@ module Lithic
|
|
17
17
|
)
|
18
18
|
.returns(T.attached_class)
|
19
19
|
end
|
20
|
-
def self.new(type:, request_options: {})
|
21
|
-
end
|
20
|
+
def self.new(type:, request_options: {}); end
|
22
21
|
|
23
22
|
sig do
|
24
23
|
override
|
@@ -29,8 +28,7 @@ module Lithic
|
|
29
28
|
}
|
30
29
|
)
|
31
30
|
end
|
32
|
-
def to_hash
|
33
|
-
end
|
31
|
+
def to_hash; end
|
34
32
|
|
35
33
|
# The type of the endpoint.
|
36
34
|
module Type
|
@@ -48,8 +46,7 @@ module Lithic
|
|
48
46
|
T.let(:TOKENIZATION_DECISIONING, Lithic::Models::ResponderEndpointCheckStatusParams::Type::TaggedSymbol)
|
49
47
|
|
50
48
|
sig { override.returns(T::Array[Lithic::Models::ResponderEndpointCheckStatusParams::Type::TaggedSymbol]) }
|
51
|
-
def self.values
|
52
|
-
end
|
49
|
+
def self.values; end
|
53
50
|
end
|
54
51
|
end
|
55
52
|
end
|
@@ -28,8 +28,7 @@ module Lithic
|
|
28
28
|
)
|
29
29
|
.returns(T.attached_class)
|
30
30
|
end
|
31
|
-
def self.new(type: nil, url: nil, request_options: {})
|
32
|
-
end
|
31
|
+
def self.new(type: nil, url: nil, request_options: {}); end
|
33
32
|
|
34
33
|
sig do
|
35
34
|
override
|
@@ -41,8 +40,7 @@ module Lithic
|
|
41
40
|
}
|
42
41
|
)
|
43
42
|
end
|
44
|
-
def to_hash
|
45
|
-
end
|
43
|
+
def to_hash; end
|
46
44
|
|
47
45
|
# The type of the endpoint.
|
48
46
|
module Type
|
@@ -60,8 +58,7 @@ module Lithic
|
|
60
58
|
T.let(:TOKENIZATION_DECISIONING, Lithic::Models::ResponderEndpointCreateParams::Type::TaggedSymbol)
|
61
59
|
|
62
60
|
sig { override.returns(T::Array[Lithic::Models::ResponderEndpointCreateParams::Type::TaggedSymbol]) }
|
63
|
-
def self.values
|
64
|
-
end
|
61
|
+
def self.values; end
|
65
62
|
end
|
66
63
|
end
|
67
64
|
end
|
@@ -11,12 +11,10 @@ module Lithic
|
|
11
11
|
attr_writer :enrolled
|
12
12
|
|
13
13
|
sig { params(enrolled: T::Boolean).returns(T.attached_class) }
|
14
|
-
def self.new(enrolled: nil)
|
15
|
-
end
|
14
|
+
def self.new(enrolled: nil); end
|
16
15
|
|
17
16
|
sig { override.returns({enrolled: T::Boolean}) }
|
18
|
-
def to_hash
|
19
|
-
end
|
17
|
+
def to_hash; end
|
20
18
|
end
|
21
19
|
end
|
22
20
|
end
|
@@ -17,8 +17,7 @@ module Lithic
|
|
17
17
|
)
|
18
18
|
.returns(T.attached_class)
|
19
19
|
end
|
20
|
-
def self.new(type:, request_options: {})
|
21
|
-
end
|
20
|
+
def self.new(type:, request_options: {}); end
|
22
21
|
|
23
22
|
sig do
|
24
23
|
override
|
@@ -26,8 +25,7 @@ module Lithic
|
|
26
25
|
{type: Lithic::Models::ResponderEndpointDeleteParams::Type::OrSymbol, request_options: Lithic::RequestOptions}
|
27
26
|
)
|
28
27
|
end
|
29
|
-
def to_hash
|
30
|
-
end
|
28
|
+
def to_hash; end
|
31
29
|
|
32
30
|
# The type of the endpoint.
|
33
31
|
module Type
|
@@ -45,8 +43,7 @@ module Lithic
|
|
45
43
|
T.let(:TOKENIZATION_DECISIONING, Lithic::Models::ResponderEndpointDeleteParams::Type::TaggedSymbol)
|
46
44
|
|
47
45
|
sig { override.returns(T::Array[Lithic::Models::ResponderEndpointDeleteParams::Type::TaggedSymbol]) }
|
48
|
-
def self.values
|
49
|
-
end
|
46
|
+
def self.values; end
|
50
47
|
end
|
51
48
|
end
|
52
49
|
end
|
@@ -15,12 +15,10 @@ module Lithic
|
|
15
15
|
attr_accessor :url
|
16
16
|
|
17
17
|
sig { params(enrolled: T::Boolean, url: T.nilable(String)).returns(T.attached_class) }
|
18
|
-
def self.new(enrolled: nil, url: nil)
|
19
|
-
end
|
18
|
+
def self.new(enrolled: nil, url: nil); end
|
20
19
|
|
21
20
|
sig { override.returns({enrolled: T::Boolean, url: T.nilable(String)}) }
|
22
|
-
def to_hash
|
23
|
-
end
|
21
|
+
def to_hash; end
|
24
22
|
end
|
25
23
|
end
|
26
24
|
end
|
@@ -8,17 +8,17 @@ module Lithic
|
|
8
8
|
attr_accessor :token
|
9
9
|
|
10
10
|
# The most granular ID the network settles with (e.g., ICA for Mastercard, FTSRE
|
11
|
-
#
|
11
|
+
# for Visa).
|
12
12
|
sig { returns(String) }
|
13
13
|
attr_accessor :account_token
|
14
14
|
|
15
15
|
# Globally unique identifier denoting the card program that the associated
|
16
|
-
#
|
16
|
+
# Transaction occurred on.
|
17
17
|
sig { returns(String) }
|
18
18
|
attr_accessor :card_program_token
|
19
19
|
|
20
20
|
# Globally unique identifier denoting the card that the associated Transaction
|
21
|
-
#
|
21
|
+
# occurred on.
|
22
22
|
sig { returns(String) }
|
23
23
|
attr_accessor :card_token
|
24
24
|
|
@@ -39,7 +39,7 @@ module Lithic
|
|
39
39
|
attr_accessor :event_tokens
|
40
40
|
|
41
41
|
# The most granular ID the network settles with (e.g., ICA for Mastercard, FTSRE
|
42
|
-
#
|
42
|
+
# for Visa).
|
43
43
|
sig { returns(String) }
|
44
44
|
attr_accessor :institution
|
45
45
|
|
@@ -84,7 +84,7 @@ module Lithic
|
|
84
84
|
attr_accessor :transaction_token
|
85
85
|
|
86
86
|
# The total amount of settlement impacting transactions (excluding interchange,
|
87
|
-
#
|
87
|
+
# fees, and disputes).
|
88
88
|
sig { returns(Integer) }
|
89
89
|
attr_accessor :transactions_gross_amount
|
90
90
|
|
@@ -151,9 +151,7 @@ module Lithic
|
|
151
151
|
type:,
|
152
152
|
updated:,
|
153
153
|
fee_description: nil
|
154
|
-
)
|
155
|
-
end
|
156
|
-
|
154
|
+
); end
|
157
155
|
sig do
|
158
156
|
override
|
159
157
|
.returns(
|
@@ -182,8 +180,7 @@ module Lithic
|
|
182
180
|
}
|
183
181
|
)
|
184
182
|
end
|
185
|
-
def to_hash
|
186
|
-
end
|
183
|
+
def to_hash; end
|
187
184
|
|
188
185
|
# Card network where the transaction took place.
|
189
186
|
module Network
|
@@ -200,8 +197,7 @@ module Lithic
|
|
200
197
|
VISA = T.let(:VISA, Lithic::Models::SettlementDetail::Network::TaggedSymbol)
|
201
198
|
|
202
199
|
sig { override.returns(T::Array[Lithic::Models::SettlementDetail::Network::TaggedSymbol]) }
|
203
|
-
def self.values
|
204
|
-
end
|
200
|
+
def self.values; end
|
205
201
|
end
|
206
202
|
|
207
203
|
class OtherFeesDetails < Lithic::Internal::Type::BaseModel
|
@@ -213,12 +209,10 @@ module Lithic
|
|
213
209
|
|
214
210
|
# The total gross amount of other fees by type.
|
215
211
|
sig { params(isa: Integer).returns(T.attached_class) }
|
216
|
-
def self.new(isa: nil)
|
217
|
-
end
|
212
|
+
def self.new(isa: nil); end
|
218
213
|
|
219
214
|
sig { override.returns({isa: Integer}) }
|
220
|
-
def to_hash
|
221
|
-
end
|
215
|
+
def to_hash; end
|
222
216
|
end
|
223
217
|
|
224
218
|
# The type of settlement record.
|
@@ -239,8 +233,7 @@ module Lithic
|
|
239
233
|
REPRESENTMENT = T.let(:REPRESENTMENT, Lithic::Models::SettlementDetail::Type::TaggedSymbol)
|
240
234
|
|
241
235
|
sig { override.returns(T::Array[Lithic::Models::SettlementDetail::Type::TaggedSymbol]) }
|
242
|
-
def self.values
|
243
|
-
end
|
236
|
+
def self.values; end
|
244
237
|
end
|
245
238
|
end
|
246
239
|
end
|
@@ -8,7 +8,7 @@ module Lithic
|
|
8
8
|
attr_accessor :created
|
9
9
|
|
10
10
|
# 3-character alphabetic ISO 4217 code. (This field is deprecated and will be
|
11
|
-
#
|
11
|
+
# removed in a future version of the API.)
|
12
12
|
sig { returns(String) }
|
13
13
|
attr_accessor :currency
|
14
14
|
|
@@ -16,15 +16,15 @@ module Lithic
|
|
16
16
|
attr_accessor :details
|
17
17
|
|
18
18
|
# The total gross amount of disputes settlements. (This field is deprecated and
|
19
|
-
#
|
20
|
-
#
|
21
|
-
#
|
19
|
+
# will be removed in a future version of the API. To compute total amounts, Lithic
|
20
|
+
# recommends that customers sum the relevant settlement amounts found within
|
21
|
+
# `details`.)
|
22
22
|
sig { returns(Integer) }
|
23
23
|
attr_accessor :disputes_gross_amount
|
24
24
|
|
25
25
|
# The total amount of interchange. (This field is deprecated and will be removed
|
26
|
-
#
|
27
|
-
#
|
26
|
+
# in a future version of the API. To compute total amounts, Lithic recommends that
|
27
|
+
# customers sum the relevant settlement amounts found within `details`.)
|
28
28
|
sig { returns(Integer) }
|
29
29
|
attr_accessor :interchange_gross_amount
|
30
30
|
|
@@ -33,9 +33,9 @@ module Lithic
|
|
33
33
|
attr_accessor :is_complete
|
34
34
|
|
35
35
|
# Total amount of gross other fees outside of interchange. (This field is
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
36
|
+
# deprecated and will be removed in a future version of the API. To compute total
|
37
|
+
# amounts, Lithic recommends that customers sum the relevant settlement amounts
|
38
|
+
# found within `details`.)
|
39
39
|
sig { returns(Integer) }
|
40
40
|
attr_accessor :other_fees_gross_amount
|
41
41
|
|
@@ -44,16 +44,16 @@ module Lithic
|
|
44
44
|
attr_accessor :report_date
|
45
45
|
|
46
46
|
# The total net amount of cash moved. (net value of settled_gross_amount,
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
47
|
+
# interchange, fees). (This field is deprecated and will be removed in a future
|
48
|
+
# version of the API. To compute total amounts, Lithic recommends that customers
|
49
|
+
# sum the relevant settlement amounts found within `details`.)
|
50
50
|
sig { returns(Integer) }
|
51
51
|
attr_accessor :settled_net_amount
|
52
52
|
|
53
53
|
# The total amount of settlement impacting transactions (excluding interchange,
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
54
|
+
# fees, and disputes). (This field is deprecated and will be removed in a future
|
55
|
+
# version of the API. To compute total amounts, Lithic recommends that customers
|
56
|
+
# sum the relevant settlement amounts found within `details`.)
|
57
57
|
sig { returns(Integer) }
|
58
58
|
attr_accessor :transactions_gross_amount
|
59
59
|
|
@@ -89,9 +89,7 @@ module Lithic
|
|
89
89
|
settled_net_amount:,
|
90
90
|
transactions_gross_amount:,
|
91
91
|
updated:
|
92
|
-
)
|
93
|
-
end
|
94
|
-
|
92
|
+
); end
|
95
93
|
sig do
|
96
94
|
override
|
97
95
|
.returns(
|
@@ -110,8 +108,7 @@ module Lithic
|
|
110
108
|
}
|
111
109
|
)
|
112
110
|
end
|
113
|
-
def to_hash
|
114
|
-
end
|
111
|
+
def to_hash; end
|
115
112
|
end
|
116
113
|
end
|
117
114
|
end
|
@@ -18,7 +18,7 @@ module Lithic
|
|
18
18
|
attr_writer :disputes_gross_amount
|
19
19
|
|
20
20
|
# The most granular ID the network settles with (e.g., ICA for Mastercard, FTSRE
|
21
|
-
#
|
21
|
+
# for Visa).
|
22
22
|
sig { returns(T.nilable(String)) }
|
23
23
|
attr_reader :institution
|
24
24
|
|
@@ -47,7 +47,7 @@ module Lithic
|
|
47
47
|
attr_writer :other_fees_gross_amount
|
48
48
|
|
49
49
|
# The total net amount of cash moved. (net value of settled_gross_amount,
|
50
|
-
#
|
50
|
+
# interchange, fees).
|
51
51
|
sig { returns(T.nilable(Integer)) }
|
52
52
|
attr_reader :settled_net_amount
|
53
53
|
|
@@ -55,7 +55,7 @@ module Lithic
|
|
55
55
|
attr_writer :settled_net_amount
|
56
56
|
|
57
57
|
# The total amount of settlement impacting transactions (excluding interchange,
|
58
|
-
#
|
58
|
+
# fees, and disputes).
|
59
59
|
sig { returns(T.nilable(Integer)) }
|
60
60
|
attr_reader :transactions_gross_amount
|
61
61
|
|
@@ -84,9 +84,7 @@ module Lithic
|
|
84
84
|
other_fees_gross_amount: nil,
|
85
85
|
settled_net_amount: nil,
|
86
86
|
transactions_gross_amount: nil
|
87
|
-
)
|
88
|
-
end
|
89
|
-
|
87
|
+
); end
|
90
88
|
sig do
|
91
89
|
override
|
92
90
|
.returns(
|
@@ -102,8 +100,7 @@ module Lithic
|
|
102
100
|
}
|
103
101
|
)
|
104
102
|
end
|
105
|
-
def to_hash
|
106
|
-
end
|
103
|
+
def to_hash; end
|
107
104
|
|
108
105
|
# Card network where the transaction took place
|
109
106
|
module Network
|
@@ -120,8 +117,7 @@ module Lithic
|
|
120
117
|
VISA = T.let(:VISA, Lithic::Models::SettlementSummaryDetails::Network::TaggedSymbol)
|
121
118
|
|
122
119
|
sig { override.returns(T::Array[Lithic::Models::SettlementSummaryDetails::Network::TaggedSymbol]) }
|
123
|
-
def self.values
|
124
|
-
end
|
120
|
+
def self.values; end
|
125
121
|
end
|
126
122
|
end
|
127
123
|
end
|
@@ -16,24 +16,24 @@ module Lithic
|
|
16
16
|
attr_accessor :country
|
17
17
|
|
18
18
|
# Customer's first name. This will be the first name printed on the physical card.
|
19
|
-
#
|
20
|
-
#
|
19
|
+
# The combined length of `first_name` and `last_name` may not exceed 25
|
20
|
+
# characters.
|
21
21
|
sig { returns(String) }
|
22
22
|
attr_accessor :first_name
|
23
23
|
|
24
24
|
# Customer's surname (family name). This will be the last name printed on the
|
25
|
-
#
|
26
|
-
#
|
25
|
+
# physical card. The combined length of `first_name` and `last_name` may not
|
26
|
+
# exceed 25 characters.
|
27
27
|
sig { returns(String) }
|
28
28
|
attr_accessor :last_name
|
29
29
|
|
30
30
|
# Postal code (formerly zipcode). For US addresses, either five-digit postal code
|
31
|
-
#
|
31
|
+
# or nine-digit postal code (ZIP+4) using the format 12345-1234.
|
32
32
|
sig { returns(String) }
|
33
33
|
attr_accessor :postal_code
|
34
34
|
|
35
35
|
# Uppercase ISO 3166-2 two character abbreviation for US and CA. Optional with a
|
36
|
-
#
|
36
|
+
# limit of 24 characters for other countries.
|
37
37
|
sig { returns(String) }
|
38
38
|
attr_accessor :state
|
39
39
|
|
@@ -45,7 +45,7 @@ module Lithic
|
|
45
45
|
attr_writer :address2
|
46
46
|
|
47
47
|
# Email address to be contacted for expedited shipping process purposes. Required
|
48
|
-
#
|
48
|
+
# if `shipping_method` is `EXPEDITED`.
|
49
49
|
sig { returns(T.nilable(String)) }
|
50
50
|
attr_reader :email
|
51
51
|
|
@@ -53,7 +53,7 @@ module Lithic
|
|
53
53
|
attr_writer :email
|
54
54
|
|
55
55
|
# Text to be printed on line two of the physical card. Use of this field requires
|
56
|
-
#
|
56
|
+
# additional permissions.
|
57
57
|
sig { returns(T.nilable(String)) }
|
58
58
|
attr_reader :line2_text
|
59
59
|
|
@@ -61,7 +61,7 @@ module Lithic
|
|
61
61
|
attr_writer :line2_text
|
62
62
|
|
63
63
|
# Cardholder's phone number in E.164 format to be contacted for expedited shipping
|
64
|
-
#
|
64
|
+
# process purposes. Required if `shipping_method` is `EXPEDITED`.
|
65
65
|
sig { returns(T.nilable(String)) }
|
66
66
|
attr_reader :phone_number
|
67
67
|
|
@@ -96,9 +96,7 @@ module Lithic
|
|
96
96
|
email: nil,
|
97
97
|
line2_text: nil,
|
98
98
|
phone_number: nil
|
99
|
-
)
|
100
|
-
end
|
101
|
-
|
99
|
+
); end
|
102
100
|
sig do
|
103
101
|
override
|
104
102
|
.returns(
|
@@ -117,8 +115,7 @@ module Lithic
|
|
117
115
|
}
|
118
116
|
)
|
119
117
|
end
|
120
|
-
def to_hash
|
121
|
-
end
|
118
|
+
def to_hash; end
|
122
119
|
end
|
123
120
|
end
|
124
121
|
end
|
@@ -4,16 +4,16 @@ module Lithic
|
|
4
4
|
module Models
|
5
5
|
# Spend limit duration values:
|
6
6
|
#
|
7
|
-
#
|
8
|
-
#
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
12
|
-
#
|
13
|
-
#
|
14
|
-
#
|
15
|
-
#
|
16
|
-
#
|
7
|
+
# - `ANNUALLY` - Card will authorize transactions up to spend limit for the
|
8
|
+
# trailing year.
|
9
|
+
# - `FOREVER` - Card will authorize only up to spend limit for the entire lifetime
|
10
|
+
# of the card.
|
11
|
+
# - `MONTHLY` - Card will authorize transactions up to spend limit for the
|
12
|
+
# trailing month. To support recurring monthly payments, which can occur on
|
13
|
+
# different day every month, the time window we consider for monthly velocity
|
14
|
+
# starts 6 days after the current calendar date one month prior.
|
15
|
+
# - `TRANSACTION` - Card will authorize multiple transactions if each individual
|
16
|
+
# transaction is under the spend limit.
|
17
17
|
module SpendLimitDuration
|
18
18
|
extend Lithic::Internal::Type::Enum
|
19
19
|
|
@@ -26,8 +26,7 @@ module Lithic
|
|
26
26
|
TRANSACTION = T.let(:TRANSACTION, Lithic::Models::SpendLimitDuration::TaggedSymbol)
|
27
27
|
|
28
28
|
sig { override.returns(T::Array[Lithic::Models::SpendLimitDuration::TaggedSymbol]) }
|
29
|
-
def self.values
|
30
|
-
end
|
29
|
+
def self.values; end
|
31
30
|
end
|
32
31
|
end
|
33
32
|
end
|
@@ -15,12 +15,10 @@ module Lithic
|
|
15
15
|
)
|
16
16
|
).returns(T.attached_class)
|
17
17
|
end
|
18
|
-
def self.new(request_options: {})
|
19
|
-
end
|
18
|
+
def self.new(request_options: {}); end
|
20
19
|
|
21
20
|
sig { override.returns({request_options: Lithic::RequestOptions}) }
|
22
|
-
def to_hash
|
23
|
-
end
|
21
|
+
def to_hash; end
|
24
22
|
end
|
25
23
|
end
|
26
24
|
end
|