lithic 0.1.0.pre.alpha.14 → 0.1.0.pre.alpha.16
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 +36 -0
- data/README.md +61 -52
- data/lib/lithic/client.rb +4 -4
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -5
- data/lib/lithic/internal/type/array_of.rb +9 -0
- data/lib/lithic/internal/type/base_model.rb +62 -28
- data/lib/lithic/internal/type/base_page.rb +8 -0
- data/lib/lithic/internal/type/boolean.rb +4 -0
- data/lib/lithic/internal/type/enum.rb +9 -5
- data/lib/lithic/internal/type/hash_of.rb +9 -0
- data/lib/lithic/internal/type/io_like.rb +4 -0
- data/lib/lithic/internal/type/request_parameters.rb +1 -2
- data/lib/lithic/internal/type/union.rb +10 -1
- data/lib/lithic/internal/type/unknown.rb +4 -0
- data/lib/lithic/internal.rb +0 -1
- data/lib/lithic/models/account.rb +42 -91
- data/lib/lithic/models/account_financial_account_type.rb +2 -5
- data/lib/lithic/models/account_holder.rb +127 -312
- data/lib/lithic/models/account_holder_create_params.rb +99 -219
- data/lib/lithic/models/account_holder_create_response.rb +15 -48
- data/lib/lithic/models/account_holder_list_documents_params.rb +3 -8
- data/lib/lithic/models/account_holder_list_documents_response.rb +3 -11
- data/lib/lithic/models/account_holder_list_params.rb +25 -90
- data/lib/lithic/models/account_holder_retrieve_document_params.rb +4 -9
- data/lib/lithic/models/account_holder_retrieve_params.rb +3 -8
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +13 -41
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +13 -36
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +151 -388
- data/lib/lithic/models/account_holder_update_params.rb +132 -424
- data/lib/lithic/models/account_holder_update_response.rb +180 -474
- data/lib/lithic/models/account_holder_upload_document_params.rb +7 -15
- data/lib/lithic/models/account_list_params.rb +13 -38
- data/lib/lithic/models/account_retrieve_params.rb +3 -8
- data/lib/lithic/models/account_retrieve_spend_limits_params.rb +3 -8
- data/lib/lithic/models/account_spend_limits.rb +27 -87
- data/lib/lithic/models/account_update_params.rb +35 -99
- data/lib/lithic/models/address.rb +8 -16
- data/lib/lithic/models/address_update.rb +13 -41
- data/lib/lithic/models/aggregate_balance.rb +15 -36
- data/lib/lithic/models/aggregate_balance_list_params.rb +7 -19
- data/lib/lithic/models/api_status.rb +3 -11
- data/lib/lithic/models/auth_rules/auth_rule.rb +19 -67
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +11 -31
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +2 -5
- data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +2 -6
- data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +7 -20
- data/lib/lithic/models/auth_rules/v2/backtest_create_response.rb +3 -11
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +46 -142
- data/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rb +4 -9
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +8 -17
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_create_params.rb +17 -50
- data/lib/lithic/models/auth_rules/v2_create_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_delete_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +6 -12
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_list_params.rb +13 -48
- data/lib/lithic/models/auth_rules/v2_list_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_promote_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_report_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_report_response.rb +3 -11
- data/lib/lithic/models/auth_rules/v2_retrieve_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_update_params.rb +16 -55
- data/lib/lithic/models/auth_rules/v2_update_response.rb +26 -64
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +15 -27
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +2 -5
- data/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/auth_stream_secret.rb +3 -11
- data/lib/lithic/models/balance.rb +15 -36
- data/lib/lithic/models/balance_list_params.rb +13 -46
- data/lib/lithic/models/book_transfer_create_params.rb +17 -49
- data/lib/lithic/models/book_transfer_list_params.rb +31 -105
- data/lib/lithic/models/book_transfer_response.rb +32 -71
- data/lib/lithic/models/book_transfer_retrieve_params.rb +3 -8
- data/lib/lithic/models/book_transfer_reverse_params.rb +5 -14
- data/lib/lithic/models/card_convert_physical_params.rb +12 -32
- data/lib/lithic/models/card_convert_physical_response.rb +393 -0
- data/lib/lithic/models/card_create_params.rb +42 -142
- data/lib/lithic/models/card_create_response.rb +392 -0
- data/lib/lithic/models/card_embed_params.rb +5 -10
- data/lib/lithic/models/card_list_params.rb +19 -67
- data/lib/lithic/models/card_list_response.rb +376 -0
- data/lib/lithic/models/card_program.rb +10 -33
- data/lib/lithic/models/card_program_list_params.rb +9 -26
- data/lib/lithic/models/card_program_retrieve_params.rb +3 -8
- data/lib/lithic/models/card_provision_params.rb +17 -60
- data/lib/lithic/models/card_provision_response.rb +3 -11
- data/lib/lithic/models/card_reissue_params.rb +13 -37
- data/lib/lithic/models/card_reissue_response.rb +392 -0
- data/lib/lithic/models/card_renew_params.rb +16 -55
- data/lib/lithic/models/card_renew_response.rb +392 -0
- data/lib/lithic/models/card_retrieve_params.rb +3 -8
- data/lib/lithic/models/card_retrieve_response.rb +392 -0
- data/lib/lithic/models/card_retrieve_spend_limits_params.rb +3 -8
- data/lib/lithic/models/card_search_by_pan_params.rb +4 -9
- data/lib/lithic/models/card_search_by_pan_response.rb +392 -0
- data/lib/lithic/models/card_spend_limits.rb +27 -87
- data/lib/lithic/models/card_update_params.rb +21 -72
- data/lib/lithic/models/card_update_response.rb +392 -0
- data/lib/lithic/models/cards/aggregate_balance_list_params.rb +7 -20
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +12 -29
- data/lib/lithic/models/cards/balance_list_params.rb +7 -20
- data/lib/lithic/models/cards/balance_list_response.rb +15 -36
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +23 -77
- data/lib/lithic/models/cards/financial_transaction_retrieve_params.rb +4 -9
- data/lib/lithic/models/carrier.rb +3 -11
- data/lib/lithic/models/client_api_status_params.rb +3 -8
- data/lib/lithic/models/credit_products/extended_credit.rb +2 -6
- data/lib/lithic/models/credit_products/extended_credit_retrieve_params.rb +3 -8
- data/lib/lithic/models/credit_products/prime_rate_create_params.rb +5 -10
- data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +7 -20
- data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +6 -14
- data/lib/lithic/models/digital_card_art.rb +11 -33
- data/lib/lithic/models/digital_card_art_list_params.rb +9 -26
- data/lib/lithic/models/digital_card_art_retrieve_params.rb +3 -8
- data/lib/lithic/models/dispute.rb +27 -70
- data/lib/lithic/models/dispute_create_params.rb +12 -38
- data/lib/lithic/models/dispute_delete_evidence_params.rb +4 -9
- data/lib/lithic/models/dispute_delete_params.rb +3 -8
- data/lib/lithic/models/dispute_evidence.rb +15 -34
- data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +5 -14
- data/lib/lithic/models/dispute_list_evidences_params.rb +13 -38
- data/lib/lithic/models/dispute_list_params.rb +19 -67
- data/lib/lithic/models/dispute_retrieve_evidence_params.rb +4 -9
- data/lib/lithic/models/dispute_retrieve_params.rb +3 -8
- data/lib/lithic/models/dispute_update_params.rb +13 -37
- data/lib/lithic/models/document.rb +29 -62
- data/lib/lithic/models/event.rb +9 -16
- data/lib/lithic/models/event_list_attempts_params.rb +17 -60
- data/lib/lithic/models/event_list_params.rb +19 -67
- data/lib/lithic/models/event_retrieve_params.rb +3 -8
- data/lib/lithic/models/event_subscription.rb +10 -17
- data/lib/lithic/models/events/event_subscription_resend_params.rb +4 -9
- data/lib/lithic/models/events/subscription_create_params.rb +12 -32
- data/lib/lithic/models/events/subscription_delete_params.rb +3 -8
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +17 -60
- data/lib/lithic/models/events/subscription_list_params.rb +9 -26
- data/lib/lithic/models/events/subscription_recover_params.rb +7 -20
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +7 -20
- data/lib/lithic/models/events/subscription_retrieve_params.rb +3 -8
- data/lib/lithic/models/events/subscription_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/events/subscription_retrieve_secret_response.rb +3 -11
- data/lib/lithic/models/events/subscription_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +7 -19
- data/lib/lithic/models/events/subscription_update_params.rb +12 -32
- data/lib/lithic/models/external_bank_account_address.rb +8 -16
- data/lib/lithic/models/external_bank_account_create_params.rb +33 -99
- data/lib/lithic/models/external_bank_account_create_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_list_params.rb +27 -91
- data/lib/lithic/models/external_bank_account_list_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_retrieve_params.rb +3 -8
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rb +5 -14
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_retry_prenote_params.rb +5 -14
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +38 -113
- data/lib/lithic/models/external_bank_account_update_params.rb +23 -81
- data/lib/lithic/models/external_bank_account_update_response.rb +42 -123
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rb +4 -9
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +42 -123
- data/lib/lithic/models/external_payment.rb +38 -88
- data/lib/lithic/models/external_payment_cancel_params.rb +6 -15
- data/lib/lithic/models/external_payment_create_params.rb +22 -66
- data/lib/lithic/models/external_payment_list_params.rb +29 -98
- data/lib/lithic/models/external_payment_release_params.rb +6 -15
- data/lib/lithic/models/external_payment_retrieve_params.rb +3 -8
- data/lib/lithic/models/external_payment_reverse_params.rb +6 -15
- data/lib/lithic/models/external_payment_settle_params.rb +10 -26
- data/lib/lithic/models/financial_account.rb +33 -81
- data/lib/lithic/models/financial_account_create_params.rb +13 -43
- data/lib/lithic/models/financial_account_list_params.rb +11 -31
- data/lib/lithic/models/financial_account_retrieve_params.rb +3 -8
- data/lib/lithic/models/financial_account_update_params.rb +5 -14
- data/lib/lithic/models/financial_account_update_status_params.rb +9 -20
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +7 -20
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +15 -36
- data/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rb +3 -8
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +11 -41
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +13 -35
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +23 -77
- data/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rb +4 -9
- data/lib/lithic/models/financial_accounts/loan_tape.rb +132 -269
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +13 -38
- data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +4 -9
- data/lib/lithic/models/financial_accounts/statement.rb +87 -198
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +15 -55
- data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +4 -9
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +10 -27
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +24 -60
- data/lib/lithic/models/financial_accounts/statements.rb +3 -7
- data/lib/lithic/models/financial_transaction.rb +34 -91
- data/lib/lithic/models/instance_financial_account_type.rb +4 -5
- data/lib/lithic/models/kyb.rb +73 -167
- data/lib/lithic/models/kyb_business_entity.rb +20 -50
- data/lib/lithic/models/kyc.rb +21 -40
- data/lib/lithic/models/kyc_exempt.rb +16 -47
- data/lib/lithic/models/management_operation_create_params.rb +34 -74
- data/lib/lithic/models/management_operation_list_params.rb +26 -86
- data/lib/lithic/models/management_operation_retrieve_params.rb +3 -8
- data/lib/lithic/models/management_operation_reverse_params.rb +6 -15
- data/lib/lithic/models/management_operation_transaction.rb +56 -110
- data/lib/lithic/models/message_attempt.rb +13 -32
- data/lib/lithic/models/owner_type.rb +2 -5
- data/lib/lithic/models/payment.rb +56 -129
- data/lib/lithic/models/payment_create_params.rb +23 -67
- data/lib/lithic/models/payment_create_response.rb +3 -11
- data/lib/lithic/models/payment_list_params.rb +31 -105
- data/lib/lithic/models/payment_retrieve_params.rb +3 -8
- data/lib/lithic/models/payment_retry_params.rb +3 -8
- data/lib/lithic/models/payment_retry_response.rb +3 -11
- data/lib/lithic/models/payment_simulate_action_params.rb +12 -31
- data/lib/lithic/models/payment_simulate_action_response.rb +6 -13
- data/lib/lithic/models/payment_simulate_receipt_params.rb +12 -24
- data/lib/lithic/models/payment_simulate_receipt_response.rb +6 -13
- data/lib/lithic/models/payment_simulate_release_params.rb +4 -9
- data/lib/lithic/models/payment_simulate_release_response.rb +6 -13
- data/lib/lithic/models/payment_simulate_return_params.rb +6 -15
- data/lib/lithic/models/payment_simulate_return_response.rb +6 -13
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +27 -95
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +21 -55
- data/lib/lithic/models/reports/settlement/network_total_retrieve_params.rb +3 -8
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +21 -55
- data/lib/lithic/models/reports/settlement_list_details_params.rb +9 -26
- data/lib/lithic/models/reports/settlement_summary_params.rb +3 -8
- data/lib/lithic/models/required_document.rb +4 -8
- data/lib/lithic/models/responder_endpoint_check_status_params.rb +6 -14
- data/lib/lithic/models/responder_endpoint_create_params.rb +9 -25
- data/lib/lithic/models/responder_endpoint_create_response.rb +3 -11
- data/lib/lithic/models/responder_endpoint_delete_params.rb +6 -14
- data/lib/lithic/models/responder_endpoint_status.rb +4 -12
- data/lib/lithic/models/settlement_detail.rb +32 -79
- data/lib/lithic/models/settlement_report.rb +24 -31
- data/lib/lithic/models/settlement_summary_details.rb +19 -70
- data/lib/lithic/models/shipping_address.rb +16 -51
- data/lib/lithic/models/spend_limit_duration.rb +2 -5
- data/lib/lithic/models/three_ds/authentication_retrieve_params.rb +3 -8
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +148 -312
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +5 -10
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +18 -38
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +3 -11
- data/lib/lithic/models/three_ds/challenge_response.rb +3 -7
- data/lib/lithic/models/three_ds/challenge_result.rb +2 -5
- data/lib/lithic/models/three_ds/decisioning_challenge_response_params.rb +3 -8
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rb +3 -11
- data/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/tokenization.rb +35 -99
- data/lib/lithic/models/tokenization_activate_params.rb +3 -8
- data/lib/lithic/models/tokenization_deactivate_params.rb +3 -8
- data/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rb +3 -11
- data/lib/lithic/models/tokenization_list_params.rb +21 -74
- data/lib/lithic/models/tokenization_pause_params.rb +3 -8
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +7 -19
- data/lib/lithic/models/tokenization_retrieve_params.rb +3 -8
- data/lib/lithic/models/tokenization_retrieve_response.rb +3 -11
- data/lib/lithic/models/tokenization_secret.rb +3 -11
- data/lib/lithic/models/tokenization_simulate_params.rb +19 -59
- data/lib/lithic/models/tokenization_simulate_response.rb +3 -11
- data/lib/lithic/models/tokenization_unpause_params.rb +3 -8
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +5 -14
- data/lib/lithic/models/tokenization_update_digital_card_art_response.rb +3 -11
- data/lib/lithic/models/transaction.rb +295 -413
- data/lib/lithic/models/transaction_expire_authorization_params.rb +3 -8
- data/lib/lithic/models/transaction_list_params.rb +25 -86
- data/lib/lithic/models/transaction_retrieve_params.rb +3 -8
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +5 -10
- data/lib/lithic/models/transaction_simulate_authorization_advice_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +22 -73
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +6 -15
- data/lib/lithic/models/transaction_simulate_clearing_response.rb +3 -11
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +10 -23
- data/lib/lithic/models/transaction_simulate_credit_authorization_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_return_params.rb +6 -11
- data/lib/lithic/models/transaction_simulate_return_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_return_reversal_params.rb +4 -9
- data/lib/lithic/models/transaction_simulate_return_reversal_response.rb +3 -11
- data/lib/lithic/models/transaction_simulate_void_params.rb +10 -26
- data/lib/lithic/models/transaction_simulate_void_response.rb +3 -11
- data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rb +3 -8
- data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rb +2 -6
- data/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rb +3 -8
- data/lib/lithic/models/transactions/events/enhanced_data.rb +68 -192
- data/lib/lithic/models/transfer.rb +49 -160
- data/lib/lithic/models/transfer_create_params.rb +10 -23
- data/lib/lithic/models/verification_method.rb +2 -5
- data/lib/lithic/request_options.rb +3 -4
- data/lib/lithic/resources/account_holders.rb +10 -8
- data/lib/lithic/resources/cards.rb +16 -16
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +8 -10
- data/rbi/lib/lithic/client.rbi +4 -4
- data/rbi/lib/lithic/internal/type/array_of.rbi +3 -0
- data/rbi/lib/lithic/internal/type/base_model.rbi +15 -0
- data/rbi/lib/lithic/internal/type/base_page.rbi +2 -0
- data/rbi/lib/lithic/internal/type/enum.rbi +3 -6
- data/rbi/lib/lithic/internal/type/hash_of.rbi +3 -0
- data/rbi/lib/lithic/internal/type/union.rbi +3 -0
- data/rbi/lib/lithic/internal.rbi +0 -1
- data/rbi/lib/lithic/models/account.rbi +2 -3
- data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/account_holder.rbi +10 -13
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +6 -7
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +2 -16
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +2 -10
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +10 -45
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +4 -3
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +10 -51
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +1 -2
- data/rbi/lib/lithic/models/account_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/aggregate_balance.rbi +1 -2
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +2 -3
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +1 -2
- data/rbi/lib/lithic/models/balance.rbi +1 -2
- data/rbi/lib/lithic/models/balance_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/book_transfer_response.rbi +5 -10
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_convert_physical_response.rbi +467 -0
- data/rbi/lib/lithic/models/card_create_params.rbi +3 -4
- data/rbi/lib/lithic/models/card_create_response.rbi +458 -0
- data/rbi/lib/lithic/models/card_list_params.rbi +1 -1
- data/rbi/lib/lithic/models/card_list_response.rbi +435 -0
- data/rbi/lib/lithic/models/card_provision_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_reissue_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_reissue_response.rbi +458 -0
- data/rbi/lib/lithic/models/card_renew_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_renew_response.rbi +457 -0
- data/rbi/lib/lithic/models/card_retrieve_response.rbi +459 -0
- data/rbi/lib/lithic/models/card_search_by_pan_response.rbi +461 -0
- data/rbi/lib/lithic/models/card_update_params.rbi +2 -3
- data/rbi/lib/lithic/models/card_update_response.rbi +458 -0
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +1 -2
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/digital_card_art.rbi +1 -2
- data/rbi/lib/lithic/models/dispute.rbi +3 -11
- data/rbi/lib/lithic/models/dispute_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/dispute_evidence.rbi +1 -2
- data/rbi/lib/lithic/models/dispute_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/dispute_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/document.rbi +4 -7
- data/rbi/lib/lithic/models/event.rbi +1 -1
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +1 -2
- data/rbi/lib/lithic/models/event_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/event_subscription.rbi +1 -2
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +1 -2
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +1 -8
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +5 -10
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +5 -10
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +5 -22
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +5 -28
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +3 -12
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +5 -10
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +5 -40
- data/rbi/lib/lithic/models/external_payment.rbi +7 -12
- data/rbi/lib/lithic/models/external_payment_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/external_payment_settle_params.rbi +1 -2
- data/rbi/lib/lithic/models/financial_account.rbi +7 -20
- data/rbi/lib/lithic/models/financial_account_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +1 -2
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +2 -16
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +3 -24
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +4 -32
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +5 -34
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -16
- data/rbi/lib/lithic/models/financial_transaction.rbi +7 -10
- data/rbi/lib/lithic/models/instance_financial_account_type.rbi +4 -2
- data/rbi/lib/lithic/models/kyb.rbi +5 -4
- data/rbi/lib/lithic/models/kyc.rbi +1 -1
- data/rbi/lib/lithic/models/kyc_exempt.rbi +2 -3
- data/rbi/lib/lithic/models/management_operation_create_params.rbi +22 -16
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +4 -4
- data/rbi/lib/lithic/models/management_operation_transaction.rbi +26 -24
- data/rbi/lib/lithic/models/message_attempt.rbi +1 -1
- data/rbi/lib/lithic/models/owner_type.rbi +1 -1
- data/rbi/lib/lithic/models/payment.rbi +10 -12
- data/rbi/lib/lithic/models/payment_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/payment_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +1 -2
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -3
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +1 -2
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +1 -2
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +1 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +1 -8
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +1 -8
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +1 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +1 -2
- data/rbi/lib/lithic/models/settlement_detail.rbi +2 -3
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +1 -2
- data/rbi/lib/lithic/models/spend_limit_duration.rbi +1 -1
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +17 -124
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +1 -8
- data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -1
- data/rbi/lib/lithic/models/tokenization.rbi +5 -9
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +1 -8
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction.rbi +184 -68
- data/rbi/lib/lithic/models/transaction_list_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +1 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +1 -2
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +4 -26
- data/rbi/lib/lithic/models/transfer.rbi +7 -5
- data/rbi/lib/lithic/models/verification_method.rbi +1 -1
- data/rbi/lib/lithic/resources/account_holders.rbi +18 -14
- data/rbi/lib/lithic/resources/cards.rbi +8 -8
- data/rbi/lib/lithic/resources/payments.rbi +1 -1
- data/sig/lithic/internal/type/array_of.rbs +2 -0
- data/sig/lithic/internal/type/base_model.rbs +10 -0
- data/sig/lithic/internal/type/enum.rbs +2 -2
- data/sig/lithic/internal/type/hash_of.rbs +2 -0
- data/sig/lithic/internal/type/union.rbs +2 -0
- data/sig/lithic/models/card_convert_physical_response.rbs +257 -0
- data/sig/lithic/models/card_create_response.rbs +257 -0
- data/sig/lithic/models/card_list_response.rbs +245 -0
- data/sig/lithic/models/card_reissue_response.rbs +257 -0
- data/sig/lithic/models/{card.rbs → card_renew_response.rbs} +45 -30
- data/sig/lithic/models/card_retrieve_response.rbs +257 -0
- data/sig/lithic/models/card_search_by_pan_response.rbs +257 -0
- data/sig/lithic/models/card_update_response.rbs +257 -0
- data/sig/lithic/models/dispute.rbs +0 -4
- data/sig/lithic/models/financial_account.rbs +4 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +4 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/instance_financial_account_type.rbs +4 -0
- data/sig/lithic/models/management_operation_create_params.rbs +23 -13
- data/sig/lithic/models/management_operation_list_params.rbs +2 -0
- data/sig/lithic/models/management_operation_transaction.rbs +23 -13
- data/sig/lithic/models/transaction.rbs +87 -4
- data/sig/lithic/models/transfer.rbs +2 -0
- data/sig/lithic/resources/cards.rbs +8 -8
- metadata +26 -5
- data/lib/lithic/models/card.rb +0 -524
- data/rbi/lib/lithic/models/card.rbi +0 -487
@@ -4,8 +4,7 @@ module Lithic
|
|
4
4
|
module Models
|
5
5
|
# @see Lithic::Resources::ManagementOperations#create
|
6
6
|
class ManagementOperationCreateParams < Lithic::Internal::Type::BaseModel
|
7
|
-
|
8
|
-
# extend Lithic::Internal::Type::RequestParameters::Converter
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
9
8
|
include Lithic::Internal::Type::RequestParameters
|
10
9
|
|
11
10
|
# @!attribute amount
|
@@ -38,73 +37,38 @@ module Lithic
|
|
38
37
|
# @return [String]
|
39
38
|
required :financial_account_token, String
|
40
39
|
|
41
|
-
# @!attribute
|
40
|
+
# @!attribute token
|
42
41
|
#
|
43
42
|
# @return [String, nil]
|
44
43
|
optional :token, String
|
45
44
|
|
46
|
-
# @!
|
47
|
-
# # @return [String]
|
48
|
-
# attr_writer :token
|
49
|
-
|
50
|
-
# @!attribute [r] memo
|
45
|
+
# @!attribute memo
|
51
46
|
#
|
52
47
|
# @return [String, nil]
|
53
48
|
optional :memo, String
|
54
49
|
|
55
|
-
# @!
|
56
|
-
# # @return [String]
|
57
|
-
# attr_writer :memo
|
58
|
-
|
59
|
-
# @!attribute [r] subtype
|
50
|
+
# @!attribute subtype
|
60
51
|
#
|
61
52
|
# @return [String, nil]
|
62
53
|
optional :subtype, String
|
63
54
|
|
64
|
-
# @!
|
65
|
-
# # @return [String]
|
66
|
-
# attr_writer :subtype
|
67
|
-
|
68
|
-
# @!attribute [r] user_defined_id
|
55
|
+
# @!attribute user_defined_id
|
69
56
|
#
|
70
57
|
# @return [String, nil]
|
71
58
|
optional :user_defined_id, String
|
72
59
|
|
73
|
-
# @!
|
74
|
-
#
|
75
|
-
#
|
76
|
-
|
77
|
-
#
|
78
|
-
#
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
83
|
-
#
|
84
|
-
#
|
85
|
-
# # @param memo [String]
|
86
|
-
# # @param subtype [String]
|
87
|
-
# # @param user_defined_id [String]
|
88
|
-
# # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
89
|
-
# #
|
90
|
-
# def initialize(
|
91
|
-
# amount:,
|
92
|
-
# category:,
|
93
|
-
# direction:,
|
94
|
-
# effective_date:,
|
95
|
-
# event_type:,
|
96
|
-
# financial_account_token:,
|
97
|
-
# token: nil,
|
98
|
-
# memo: nil,
|
99
|
-
# subtype: nil,
|
100
|
-
# user_defined_id: nil,
|
101
|
-
# request_options: {},
|
102
|
-
# **
|
103
|
-
# )
|
104
|
-
# super
|
105
|
-
# end
|
106
|
-
|
107
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
60
|
+
# @!method initialize(amount:, category:, direction:, effective_date:, event_type:, financial_account_token:, token: nil, memo: nil, subtype: nil, user_defined_id: nil, request_options: {})
|
61
|
+
# @param amount [Integer]
|
62
|
+
# @param category [Symbol, Lithic::Models::ManagementOperationCreateParams::Category]
|
63
|
+
# @param direction [Symbol, Lithic::Models::ManagementOperationCreateParams::Direction]
|
64
|
+
# @param effective_date [Date]
|
65
|
+
# @param event_type [Symbol, Lithic::Models::ManagementOperationCreateParams::EventType]
|
66
|
+
# @param financial_account_token [String]
|
67
|
+
# @param token [String]
|
68
|
+
# @param memo [String]
|
69
|
+
# @param subtype [String]
|
70
|
+
# @param user_defined_id [String]
|
71
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
108
72
|
|
109
73
|
module Category
|
110
74
|
extend Lithic::Internal::Type::Enum
|
@@ -113,12 +77,10 @@ module Lithic
|
|
113
77
|
MANAGEMENT_DISPUTE = :MANAGEMENT_DISPUTE
|
114
78
|
MANAGEMENT_REWARD = :MANAGEMENT_REWARD
|
115
79
|
MANAGEMENT_ADJUSTMENT = :MANAGEMENT_ADJUSTMENT
|
80
|
+
MANAGEMENT_DISBURSEMENT = :MANAGEMENT_DISBURSEMENT
|
116
81
|
|
117
|
-
|
118
|
-
|
119
|
-
# @!parse
|
120
|
-
# # @return [Array<Symbol>]
|
121
|
-
# def self.values; end
|
82
|
+
# @!method self.values
|
83
|
+
# @return [Array<Symbol>]
|
122
84
|
end
|
123
85
|
|
124
86
|
module Direction
|
@@ -127,37 +89,35 @@ module Lithic
|
|
127
89
|
CREDIT = :CREDIT
|
128
90
|
DEBIT = :DEBIT
|
129
91
|
|
130
|
-
|
131
|
-
|
132
|
-
# @!parse
|
133
|
-
# # @return [Array<Symbol>]
|
134
|
-
# def self.values; end
|
92
|
+
# @!method self.values
|
93
|
+
# @return [Array<Symbol>]
|
135
94
|
end
|
136
95
|
|
137
96
|
module EventType
|
138
97
|
extend Lithic::Internal::Type::Enum
|
139
98
|
|
140
|
-
CASH_BACK = :CASH_BACK
|
141
|
-
CURRENCY_CONVERSION = :CURRENCY_CONVERSION
|
142
|
-
INTEREST = :INTEREST
|
143
|
-
LATE_PAYMENT = :LATE_PAYMENT
|
144
|
-
BILLING_ERROR = :BILLING_ERROR
|
145
|
-
PROVISIONAL_CREDIT = :PROVISIONAL_CREDIT
|
146
99
|
LOSS_WRITE_OFF = :LOSS_WRITE_OFF
|
100
|
+
CASH_BACK = :CASH_BACK
|
147
101
|
CASH_BACK_REVERSAL = :CASH_BACK_REVERSAL
|
102
|
+
CURRENCY_CONVERSION = :CURRENCY_CONVERSION
|
148
103
|
CURRENCY_CONVERSION_REVERSAL = :CURRENCY_CONVERSION_REVERSAL
|
104
|
+
INTEREST = :INTEREST
|
149
105
|
INTEREST_REVERSAL = :INTEREST_REVERSAL
|
106
|
+
LATE_PAYMENT = :LATE_PAYMENT
|
150
107
|
LATE_PAYMENT_REVERSAL = :LATE_PAYMENT_REVERSAL
|
108
|
+
BILLING_ERROR = :BILLING_ERROR
|
151
109
|
BILLING_ERROR_REVERSAL = :BILLING_ERROR_REVERSAL
|
110
|
+
PROVISIONAL_CREDIT = :PROVISIONAL_CREDIT
|
152
111
|
PROVISIONAL_CREDIT_REVERSAL = :PROVISIONAL_CREDIT_REVERSAL
|
153
112
|
RETURNED_PAYMENT = :RETURNED_PAYMENT
|
154
113
|
RETURNED_PAYMENT_REVERSAL = :RETURNED_PAYMENT_REVERSAL
|
114
|
+
DISPUTE_WON = :DISPUTE_WON
|
115
|
+
DISPUTE_WON_REVERSAL = :DISPUTE_WON_REVERSAL
|
116
|
+
DISBURSE = :DISBURSE
|
117
|
+
DISBURSE_REVERSAL = :DISBURSE_REVERSAL
|
155
118
|
|
156
|
-
|
157
|
-
|
158
|
-
# @!parse
|
159
|
-
# # @return [Array<Symbol>]
|
160
|
-
# def self.values; end
|
119
|
+
# @!method self.values
|
120
|
+
# @return [Array<Symbol>]
|
161
121
|
end
|
162
122
|
end
|
163
123
|
end
|
@@ -4,133 +4,78 @@ module Lithic
|
|
4
4
|
module Models
|
5
5
|
# @see Lithic::Resources::ManagementOperations#list
|
6
6
|
class ManagementOperationListParams < Lithic::Internal::Type::BaseModel
|
7
|
-
|
8
|
-
# extend Lithic::Internal::Type::RequestParameters::Converter
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
9
8
|
include Lithic::Internal::Type::RequestParameters
|
10
9
|
|
11
|
-
# @!attribute
|
10
|
+
# @!attribute begin_
|
12
11
|
# Date string in RFC 3339 format. Only entries created after the specified time
|
13
12
|
# will be included. UTC time zone.
|
14
13
|
#
|
15
14
|
# @return [Time, nil]
|
16
15
|
optional :begin_, Time
|
17
16
|
|
18
|
-
# @!
|
19
|
-
# # @return [Time]
|
20
|
-
# attr_writer :begin_
|
21
|
-
|
22
|
-
# @!attribute [r] business_account_token
|
17
|
+
# @!attribute business_account_token
|
23
18
|
#
|
24
19
|
# @return [String, nil]
|
25
20
|
optional :business_account_token, String
|
26
21
|
|
27
|
-
# @!
|
28
|
-
# # @return [String]
|
29
|
-
# attr_writer :business_account_token
|
30
|
-
|
31
|
-
# @!attribute [r] category
|
22
|
+
# @!attribute category
|
32
23
|
# Management operation category to be returned.
|
33
24
|
#
|
34
25
|
# @return [Symbol, Lithic::Models::ManagementOperationListParams::Category, nil]
|
35
26
|
optional :category, enum: -> { Lithic::Models::ManagementOperationListParams::Category }
|
36
27
|
|
37
|
-
# @!
|
38
|
-
# # @return [Symbol, Lithic::Models::ManagementOperationListParams::Category]
|
39
|
-
# attr_writer :category
|
40
|
-
|
41
|
-
# @!attribute [r] end_
|
28
|
+
# @!attribute end_
|
42
29
|
# Date string in RFC 3339 format. Only entries created before the specified time
|
43
30
|
# will be included. UTC time zone.
|
44
31
|
#
|
45
32
|
# @return [Time, nil]
|
46
33
|
optional :end_, Time
|
47
34
|
|
48
|
-
# @!
|
49
|
-
# # @return [Time]
|
50
|
-
# attr_writer :end_
|
51
|
-
|
52
|
-
# @!attribute [r] ending_before
|
35
|
+
# @!attribute ending_before
|
53
36
|
# A cursor representing an item's token before which a page of results should end.
|
54
37
|
# Used to retrieve the previous page of results before this item.
|
55
38
|
#
|
56
39
|
# @return [String, nil]
|
57
40
|
optional :ending_before, String
|
58
41
|
|
59
|
-
# @!
|
60
|
-
# # @return [String]
|
61
|
-
# attr_writer :ending_before
|
62
|
-
|
63
|
-
# @!attribute [r] financial_account_token
|
42
|
+
# @!attribute financial_account_token
|
64
43
|
# Globally unique identifier for the financial account. Accepted type dependent on
|
65
44
|
# the program's use case.
|
66
45
|
#
|
67
46
|
# @return [String, nil]
|
68
47
|
optional :financial_account_token, String
|
69
48
|
|
70
|
-
# @!
|
71
|
-
# # @return [String]
|
72
|
-
# attr_writer :financial_account_token
|
73
|
-
|
74
|
-
# @!attribute [r] page_size
|
49
|
+
# @!attribute page_size
|
75
50
|
# Page size (for pagination).
|
76
51
|
#
|
77
52
|
# @return [Integer, nil]
|
78
53
|
optional :page_size, Integer
|
79
54
|
|
80
|
-
# @!
|
81
|
-
# # @return [Integer]
|
82
|
-
# attr_writer :page_size
|
83
|
-
|
84
|
-
# @!attribute [r] starting_after
|
55
|
+
# @!attribute starting_after
|
85
56
|
# A cursor representing an item's token after which a page of results should
|
86
57
|
# begin. Used to retrieve the next page of results after this item.
|
87
58
|
#
|
88
59
|
# @return [String, nil]
|
89
60
|
optional :starting_after, String
|
90
61
|
|
91
|
-
# @!
|
92
|
-
# # @return [String]
|
93
|
-
# attr_writer :starting_after
|
94
|
-
|
95
|
-
# @!attribute [r] status
|
62
|
+
# @!attribute status
|
96
63
|
# Management operation status to be returned.
|
97
64
|
#
|
98
65
|
# @return [Symbol, Lithic::Models::ManagementOperationListParams::Status, nil]
|
99
66
|
optional :status, enum: -> { Lithic::Models::ManagementOperationListParams::Status }
|
100
67
|
|
101
|
-
# @!
|
102
|
-
#
|
103
|
-
#
|
104
|
-
|
105
|
-
#
|
106
|
-
#
|
107
|
-
#
|
108
|
-
#
|
109
|
-
#
|
110
|
-
#
|
111
|
-
#
|
112
|
-
# # @param page_size [Integer]
|
113
|
-
# # @param starting_after [String]
|
114
|
-
# # @param status [Symbol, Lithic::Models::ManagementOperationListParams::Status]
|
115
|
-
# # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
116
|
-
# #
|
117
|
-
# def initialize(
|
118
|
-
# begin_: nil,
|
119
|
-
# business_account_token: nil,
|
120
|
-
# category: nil,
|
121
|
-
# end_: nil,
|
122
|
-
# ending_before: nil,
|
123
|
-
# financial_account_token: nil,
|
124
|
-
# page_size: nil,
|
125
|
-
# starting_after: nil,
|
126
|
-
# status: nil,
|
127
|
-
# request_options: {},
|
128
|
-
# **
|
129
|
-
# )
|
130
|
-
# super
|
131
|
-
# end
|
132
|
-
|
133
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
68
|
+
# @!method initialize(begin_: nil, business_account_token: nil, category: nil, end_: nil, ending_before: nil, financial_account_token: nil, page_size: nil, starting_after: nil, status: nil, request_options: {})
|
69
|
+
# @param begin_ [Time]
|
70
|
+
# @param business_account_token [String]
|
71
|
+
# @param category [Symbol, Lithic::Models::ManagementOperationListParams::Category]
|
72
|
+
# @param end_ [Time]
|
73
|
+
# @param ending_before [String]
|
74
|
+
# @param financial_account_token [String]
|
75
|
+
# @param page_size [Integer]
|
76
|
+
# @param starting_after [String]
|
77
|
+
# @param status [Symbol, Lithic::Models::ManagementOperationListParams::Status]
|
78
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
134
79
|
|
135
80
|
# Management operation category to be returned.
|
136
81
|
module Category
|
@@ -140,12 +85,10 @@ module Lithic
|
|
140
85
|
MANAGEMENT_DISPUTE = :MANAGEMENT_DISPUTE
|
141
86
|
MANAGEMENT_REWARD = :MANAGEMENT_REWARD
|
142
87
|
MANAGEMENT_ADJUSTMENT = :MANAGEMENT_ADJUSTMENT
|
88
|
+
MANAGEMENT_DISBURSEMENT = :MANAGEMENT_DISBURSEMENT
|
143
89
|
|
144
|
-
|
145
|
-
|
146
|
-
# @!parse
|
147
|
-
# # @return [Array<Symbol>]
|
148
|
-
# def self.values; end
|
90
|
+
# @!method self.values
|
91
|
+
# @return [Array<Symbol>]
|
149
92
|
end
|
150
93
|
|
151
94
|
# Management operation status to be returned.
|
@@ -158,11 +101,8 @@ module Lithic
|
|
158
101
|
REVERSED = :REVERSED
|
159
102
|
CANCELED = :CANCELED
|
160
103
|
|
161
|
-
|
162
|
-
|
163
|
-
# @!parse
|
164
|
-
# # @return [Array<Symbol>]
|
165
|
-
# def self.values; end
|
104
|
+
# @!method self.values
|
105
|
+
# @return [Array<Symbol>]
|
166
106
|
end
|
167
107
|
end
|
168
108
|
end
|
@@ -4,16 +4,11 @@ module Lithic
|
|
4
4
|
module Models
|
5
5
|
# @see Lithic::Resources::ManagementOperations#retrieve
|
6
6
|
class ManagementOperationRetrieveParams < Lithic::Internal::Type::BaseModel
|
7
|
-
|
8
|
-
# extend Lithic::Internal::Type::RequestParameters::Converter
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
9
8
|
include Lithic::Internal::Type::RequestParameters
|
10
9
|
|
11
|
-
# @!
|
12
|
-
#
|
13
|
-
# #
|
14
|
-
# def initialize(request_options: {}, **) = super
|
15
|
-
|
16
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
10
|
+
# @!method initialize(request_options: {})
|
11
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
17
12
|
end
|
18
13
|
end
|
19
14
|
end
|
@@ -4,8 +4,7 @@ module Lithic
|
|
4
4
|
module Models
|
5
5
|
# @see Lithic::Resources::ManagementOperations#reverse
|
6
6
|
class ManagementOperationReverseParams < Lithic::Internal::Type::BaseModel
|
7
|
-
|
8
|
-
# extend Lithic::Internal::Type::RequestParameters::Converter
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
9
8
|
include Lithic::Internal::Type::RequestParameters
|
10
9
|
|
11
10
|
# @!attribute effective_date
|
@@ -13,23 +12,15 @@ module Lithic
|
|
13
12
|
# @return [Date]
|
14
13
|
required :effective_date, Date
|
15
14
|
|
16
|
-
# @!attribute
|
15
|
+
# @!attribute memo
|
17
16
|
#
|
18
17
|
# @return [String, nil]
|
19
18
|
optional :memo, String
|
20
19
|
|
21
|
-
# @!
|
22
|
-
#
|
23
|
-
#
|
24
|
-
|
25
|
-
# @!parse
|
26
|
-
# # @param effective_date [Date]
|
27
|
-
# # @param memo [String]
|
28
|
-
# # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
29
|
-
# #
|
30
|
-
# def initialize(effective_date:, memo: nil, request_options: {}, **) = super
|
31
|
-
|
32
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
20
|
+
# @!method initialize(effective_date:, memo: nil, request_options: {})
|
21
|
+
# @param effective_date [Date]
|
22
|
+
# @param memo [String]
|
23
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
33
24
|
end
|
34
25
|
end
|
35
26
|
end
|
@@ -72,52 +72,26 @@ module Lithic
|
|
72
72
|
# @return [Time]
|
73
73
|
required :updated, Time
|
74
74
|
|
75
|
-
# @!attribute
|
75
|
+
# @!attribute user_defined_id
|
76
76
|
#
|
77
77
|
# @return [String, nil]
|
78
78
|
optional :user_defined_id, String
|
79
79
|
|
80
|
-
# @!
|
81
|
-
#
|
82
|
-
#
|
83
|
-
|
84
|
-
#
|
85
|
-
#
|
86
|
-
#
|
87
|
-
#
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
#
|
92
|
-
#
|
93
|
-
#
|
94
|
-
#
|
95
|
-
# # @param status [Symbol, Lithic::Models::ManagementOperationTransaction::Status]
|
96
|
-
# # @param transaction_series [Lithic::Models::ManagementOperationTransaction::TransactionSeries, nil]
|
97
|
-
# # @param updated [Time]
|
98
|
-
# # @param user_defined_id [String]
|
99
|
-
# #
|
100
|
-
# def initialize(
|
101
|
-
# token:,
|
102
|
-
# category:,
|
103
|
-
# created:,
|
104
|
-
# currency:,
|
105
|
-
# direction:,
|
106
|
-
# events:,
|
107
|
-
# financial_account_token:,
|
108
|
-
# pending_amount:,
|
109
|
-
# result:,
|
110
|
-
# settled_amount:,
|
111
|
-
# status:,
|
112
|
-
# transaction_series:,
|
113
|
-
# updated:,
|
114
|
-
# user_defined_id: nil,
|
115
|
-
# **
|
116
|
-
# )
|
117
|
-
# super
|
118
|
-
# end
|
119
|
-
|
120
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
80
|
+
# @!method initialize(token:, category:, created:, currency:, direction:, events:, financial_account_token:, pending_amount:, result:, settled_amount:, status:, transaction_series:, updated:, user_defined_id: nil)
|
81
|
+
# @param token [String]
|
82
|
+
# @param category [Symbol, Lithic::Models::ManagementOperationTransaction::Category]
|
83
|
+
# @param created [Time]
|
84
|
+
# @param currency [String]
|
85
|
+
# @param direction [Symbol, Lithic::Models::ManagementOperationTransaction::Direction]
|
86
|
+
# @param events [Array<Lithic::Models::ManagementOperationTransaction::Event>]
|
87
|
+
# @param financial_account_token [String]
|
88
|
+
# @param pending_amount [Integer]
|
89
|
+
# @param result [Symbol, Lithic::Models::ManagementOperationTransaction::Result]
|
90
|
+
# @param settled_amount [Integer]
|
91
|
+
# @param status [Symbol, Lithic::Models::ManagementOperationTransaction::Status]
|
92
|
+
# @param transaction_series [Lithic::Models::ManagementOperationTransaction::TransactionSeries, nil]
|
93
|
+
# @param updated [Time]
|
94
|
+
# @param user_defined_id [String]
|
121
95
|
|
122
96
|
# @see Lithic::Models::ManagementOperationTransaction#category
|
123
97
|
module Category
|
@@ -127,12 +101,10 @@ module Lithic
|
|
127
101
|
MANAGEMENT_DISPUTE = :MANAGEMENT_DISPUTE
|
128
102
|
MANAGEMENT_REWARD = :MANAGEMENT_REWARD
|
129
103
|
MANAGEMENT_ADJUSTMENT = :MANAGEMENT_ADJUSTMENT
|
104
|
+
MANAGEMENT_DISBURSEMENT = :MANAGEMENT_DISBURSEMENT
|
130
105
|
|
131
|
-
|
132
|
-
|
133
|
-
# @!parse
|
134
|
-
# # @return [Array<Symbol>]
|
135
|
-
# def self.values; end
|
106
|
+
# @!method self.values
|
107
|
+
# @return [Array<Symbol>]
|
136
108
|
end
|
137
109
|
|
138
110
|
# @see Lithic::Models::ManagementOperationTransaction#direction
|
@@ -142,11 +114,8 @@ module Lithic
|
|
142
114
|
CREDIT = :CREDIT
|
143
115
|
DEBIT = :DEBIT
|
144
116
|
|
145
|
-
|
146
|
-
|
147
|
-
# @!parse
|
148
|
-
# # @return [Array<Symbol>]
|
149
|
-
# def self.values; end
|
117
|
+
# @!method self.values
|
118
|
+
# @return [Array<Symbol>]
|
150
119
|
end
|
151
120
|
|
152
121
|
class Event < Lithic::Internal::Type::BaseModel
|
@@ -191,40 +160,29 @@ module Lithic
|
|
191
160
|
# @return [Symbol, Lithic::Models::ManagementOperationTransaction::Event::Type]
|
192
161
|
required :type, enum: -> { Lithic::Models::ManagementOperationTransaction::Event::Type }
|
193
162
|
|
194
|
-
# @!attribute
|
163
|
+
# @!attribute subtype
|
195
164
|
#
|
196
165
|
# @return [String, nil]
|
197
166
|
optional :subtype, String
|
198
167
|
|
199
|
-
# @!
|
200
|
-
#
|
201
|
-
#
|
202
|
-
|
203
|
-
#
|
204
|
-
#
|
205
|
-
#
|
206
|
-
#
|
207
|
-
#
|
208
|
-
#
|
209
|
-
# # @param memo [String]
|
210
|
-
# # @param result [Symbol, Lithic::Models::ManagementOperationTransaction::Event::Result]
|
211
|
-
# # @param type [Symbol, Lithic::Models::ManagementOperationTransaction::Event::Type]
|
212
|
-
# # @param subtype [String]
|
213
|
-
# #
|
214
|
-
# def initialize(token:, amount:, created:, detailed_results:, effective_date:, memo:, result:, type:, subtype: nil, **) = super
|
215
|
-
|
216
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
168
|
+
# @!method initialize(token:, amount:, created:, detailed_results:, effective_date:, memo:, result:, type:, subtype: nil)
|
169
|
+
# @param token [String]
|
170
|
+
# @param amount [Integer]
|
171
|
+
# @param created [Time]
|
172
|
+
# @param detailed_results [Array<Symbol, Lithic::Models::ManagementOperationTransaction::Event::DetailedResult>]
|
173
|
+
# @param effective_date [Date]
|
174
|
+
# @param memo [String]
|
175
|
+
# @param result [Symbol, Lithic::Models::ManagementOperationTransaction::Event::Result]
|
176
|
+
# @param type [Symbol, Lithic::Models::ManagementOperationTransaction::Event::Type]
|
177
|
+
# @param subtype [String]
|
217
178
|
|
218
179
|
module DetailedResult
|
219
180
|
extend Lithic::Internal::Type::Enum
|
220
181
|
|
221
182
|
APPROVED = :APPROVED
|
222
183
|
|
223
|
-
|
224
|
-
|
225
|
-
# @!parse
|
226
|
-
# # @return [Array<Symbol>]
|
227
|
-
# def self.values; end
|
184
|
+
# @!method self.values
|
185
|
+
# @return [Array<Symbol>]
|
228
186
|
end
|
229
187
|
|
230
188
|
# @see Lithic::Models::ManagementOperationTransaction::Event#result
|
@@ -234,38 +192,36 @@ module Lithic
|
|
234
192
|
APPROVED = :APPROVED
|
235
193
|
DECLINED = :DECLINED
|
236
194
|
|
237
|
-
|
238
|
-
|
239
|
-
# @!parse
|
240
|
-
# # @return [Array<Symbol>]
|
241
|
-
# def self.values; end
|
195
|
+
# @!method self.values
|
196
|
+
# @return [Array<Symbol>]
|
242
197
|
end
|
243
198
|
|
244
199
|
# @see Lithic::Models::ManagementOperationTransaction::Event#type
|
245
200
|
module Type
|
246
201
|
extend Lithic::Internal::Type::Enum
|
247
202
|
|
248
|
-
CASH_BACK = :CASH_BACK
|
249
|
-
CURRENCY_CONVERSION = :CURRENCY_CONVERSION
|
250
|
-
INTEREST = :INTEREST
|
251
|
-
LATE_PAYMENT = :LATE_PAYMENT
|
252
|
-
BILLING_ERROR = :BILLING_ERROR
|
253
|
-
PROVISIONAL_CREDIT = :PROVISIONAL_CREDIT
|
254
203
|
LOSS_WRITE_OFF = :LOSS_WRITE_OFF
|
204
|
+
CASH_BACK = :CASH_BACK
|
255
205
|
CASH_BACK_REVERSAL = :CASH_BACK_REVERSAL
|
206
|
+
CURRENCY_CONVERSION = :CURRENCY_CONVERSION
|
256
207
|
CURRENCY_CONVERSION_REVERSAL = :CURRENCY_CONVERSION_REVERSAL
|
208
|
+
INTEREST = :INTEREST
|
257
209
|
INTEREST_REVERSAL = :INTEREST_REVERSAL
|
210
|
+
LATE_PAYMENT = :LATE_PAYMENT
|
258
211
|
LATE_PAYMENT_REVERSAL = :LATE_PAYMENT_REVERSAL
|
212
|
+
BILLING_ERROR = :BILLING_ERROR
|
259
213
|
BILLING_ERROR_REVERSAL = :BILLING_ERROR_REVERSAL
|
214
|
+
PROVISIONAL_CREDIT = :PROVISIONAL_CREDIT
|
260
215
|
PROVISIONAL_CREDIT_REVERSAL = :PROVISIONAL_CREDIT_REVERSAL
|
261
216
|
RETURNED_PAYMENT = :RETURNED_PAYMENT
|
262
217
|
RETURNED_PAYMENT_REVERSAL = :RETURNED_PAYMENT_REVERSAL
|
218
|
+
DISPUTE_WON = :DISPUTE_WON
|
219
|
+
DISPUTE_WON_REVERSAL = :DISPUTE_WON_REVERSAL
|
220
|
+
DISBURSE = :DISBURSE
|
221
|
+
DISBURSE_REVERSAL = :DISBURSE_REVERSAL
|
263
222
|
|
264
|
-
|
265
|
-
|
266
|
-
# @!parse
|
267
|
-
# # @return [Array<Symbol>]
|
268
|
-
# def self.values; end
|
223
|
+
# @!method self.values
|
224
|
+
# @return [Array<Symbol>]
|
269
225
|
end
|
270
226
|
end
|
271
227
|
|
@@ -276,11 +232,8 @@ module Lithic
|
|
276
232
|
APPROVED = :APPROVED
|
277
233
|
DECLINED = :DECLINED
|
278
234
|
|
279
|
-
|
280
|
-
|
281
|
-
# @!parse
|
282
|
-
# # @return [Array<Symbol>]
|
283
|
-
# def self.values; end
|
235
|
+
# @!method self.values
|
236
|
+
# @return [Array<Symbol>]
|
284
237
|
end
|
285
238
|
|
286
239
|
# @see Lithic::Models::ManagementOperationTransaction#status
|
@@ -293,11 +246,8 @@ module Lithic
|
|
293
246
|
REVERSED = :REVERSED
|
294
247
|
CANCELED = :CANCELED
|
295
248
|
|
296
|
-
|
297
|
-
|
298
|
-
# @!parse
|
299
|
-
# # @return [Array<Symbol>]
|
300
|
-
# def self.values; end
|
249
|
+
# @!method self.values
|
250
|
+
# @return [Array<Symbol>]
|
301
251
|
end
|
302
252
|
|
303
253
|
# @see Lithic::Models::ManagementOperationTransaction#transaction_series
|
@@ -317,14 +267,10 @@ module Lithic
|
|
317
267
|
# @return [String]
|
318
268
|
required :type, String
|
319
269
|
|
320
|
-
# @!
|
321
|
-
#
|
322
|
-
#
|
323
|
-
#
|
324
|
-
# #
|
325
|
-
# def initialize(related_transaction_event_token:, related_transaction_token:, type:, **) = super
|
326
|
-
|
327
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
270
|
+
# @!method initialize(related_transaction_event_token:, related_transaction_token:, type:)
|
271
|
+
# @param related_transaction_event_token [String, nil]
|
272
|
+
# @param related_transaction_token [String, nil]
|
273
|
+
# @param type [String]
|
328
274
|
end
|
329
275
|
end
|
330
276
|
end
|