unit-openapi-python-sdk 0.11.0__py3-none-any.whl → 0.16.0__py3-none-any.whl
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.
- unit_finance_sdk/__init__.py +289 -1
- unit_finance_sdk/api/__init__.py +10 -0
- unit_finance_sdk/api/accounts_api.py +1 -1
- unit_finance_sdk/api/application_documents_api.py +1 -1
- unit_finance_sdk/api/applications_api.py +1 -1
- unit_finance_sdk/api/authorized_users_api.py +1227 -0
- unit_finance_sdk/api/card_fraud_outreach_api.py +2151 -0
- unit_finance_sdk/api/card_holder_api_tokens_api.py +635 -0
- unit_finance_sdk/api/cards_add_to_mobile_wallet_api.py +338 -0
- unit_finance_sdk/api/cards_api.py +1 -1
- unit_finance_sdk/api/cards_atm_locations_api.py +361 -0
- unit_finance_sdk/api/cards_authorization_requests_api.py +683 -0
- unit_finance_sdk/api/cards_authorizations_api.py +1090 -0
- unit_finance_sdk/api/check_deposits_api.py +1 -1
- unit_finance_sdk/api/check_payments_api.py +2284 -0
- unit_finance_sdk/api/counterparties_api.py +1 -1
- unit_finance_sdk/api/credit_applications_api.py +1266 -0
- unit_finance_sdk/api/credit_decisions_api.py +1001 -0
- unit_finance_sdk/api/customers_api.py +1 -1
- unit_finance_sdk/api/fees_api.py +1 -1
- unit_finance_sdk/api/payments_api.py +1 -1
- unit_finance_sdk/api/transactions_api.py +1 -1
- unit_finance_sdk/api_client.py +1 -1
- unit_finance_sdk/configuration.py +2 -2
- unit_finance_sdk/exceptions.py +1 -1
- unit_finance_sdk/models/__init__.py +135 -1
- unit_finance_sdk/models/account_end_of_day.py +1 -1
- unit_finance_sdk/models/account_end_of_day_attributes.py +1 -1
- unit_finance_sdk/models/account_end_of_day_relationships.py +1 -1
- unit_finance_sdk/models/account_hold.py +1 -1
- unit_finance_sdk/models/account_hold_attributes.py +1 -1
- unit_finance_sdk/models/account_low_balance_closure_transaction.py +1 -1
- unit_finance_sdk/models/account_low_balance_closure_transaction_attributes.py +1 -1
- unit_finance_sdk/models/account_low_balance_closure_transaction_relationships.py +1 -1
- unit_finance_sdk/models/ach_counterparty.py +1 -1
- unit_finance_sdk/models/ach_counterparty_attributes.py +1 -1
- unit_finance_sdk/models/ach_payment.py +1 -1
- unit_finance_sdk/models/ach_payment_attributes.py +1 -1
- unit_finance_sdk/models/ach_payment_relationships.py +1 -1
- unit_finance_sdk/models/ach_received_payment.py +1 -1
- unit_finance_sdk/models/ach_received_payment_attributes.py +1 -1
- unit_finance_sdk/models/ach_received_payment_relationships.py +1 -1
- unit_finance_sdk/models/add_account_owners200_response.py +1 -1
- unit_finance_sdk/models/add_account_owners_request.py +1 -1
- unit_finance_sdk/models/add_authorized_users_data.py +114 -0
- unit_finance_sdk/models/add_authorized_users_data_attributes.py +109 -0
- unit_finance_sdk/models/add_authorized_users_request.py +105 -0
- unit_finance_sdk/models/address_type.py +1 -1
- unit_finance_sdk/models/adjustment_transaction.py +1 -1
- unit_finance_sdk/models/adjustment_transaction_attributes.py +1 -1
- unit_finance_sdk/models/annual_income_type.py +1 -1
- unit_finance_sdk/models/annual_revenue_type.py +1 -1
- unit_finance_sdk/models/application_document.py +1 -1
- unit_finance_sdk/models/application_document_attributes.py +1 -1
- unit_finance_sdk/models/approve_check_payment_additional_verification_data.py +110 -0
- unit_finance_sdk/models/approve_check_payment_additional_verification_request.py +105 -0
- unit_finance_sdk/models/approved_credit_limit_decision.py +122 -0
- unit_finance_sdk/models/approved_credit_limit_decision_attributes.py +118 -0
- unit_finance_sdk/models/approved_credit_limit_decision_relationships.py +110 -0
- unit_finance_sdk/models/archive_customer_data.py +1 -1
- unit_finance_sdk/models/archive_customer_data_attributes.py +1 -1
- unit_finance_sdk/models/archive_customer_request.py +1 -1
- unit_finance_sdk/models/atm_authorization_request.py +122 -0
- unit_finance_sdk/models/atm_authorization_request_attributes.py +118 -0
- unit_finance_sdk/models/atm_authorization_request_relationships.py +115 -0
- unit_finance_sdk/models/atm_location.py +116 -0
- unit_finance_sdk/models/atm_location_attributes.py +121 -0
- unit_finance_sdk/models/atm_transaction.py +1 -1
- unit_finance_sdk/models/atm_transaction_attributes.py +1 -1
- unit_finance_sdk/models/atm_transaction_relationships.py +1 -1
- unit_finance_sdk/models/authorization.py +122 -0
- unit_finance_sdk/models/authorization_attributes.py +154 -0
- unit_finance_sdk/models/authorization_card_fraud_case.py +122 -0
- unit_finance_sdk/models/authorization_card_fraud_case_attributes.py +120 -0
- unit_finance_sdk/models/authorization_card_fraud_case_relationships.py +120 -0
- unit_finance_sdk/models/authorization_relationships.py +125 -0
- unit_finance_sdk/models/authorized_user_type.py +1 -1
- unit_finance_sdk/models/batch_release.py +1 -1
- unit_finance_sdk/models/batch_release_attributes.py +1 -1
- unit_finance_sdk/models/batch_release_relationships.py +1 -1
- unit_finance_sdk/models/beneficial_owner.py +1 -1
- unit_finance_sdk/models/beneficial_owner_attributes.py +1 -1
- unit_finance_sdk/models/beneficial_owner_request_type.py +1 -1
- unit_finance_sdk/models/beneficial_owner_type.py +1 -1
- unit_finance_sdk/models/book_payment.py +1 -1
- unit_finance_sdk/models/book_payment_attributes.py +1 -1
- unit_finance_sdk/models/book_payment_relationships.py +1 -1
- unit_finance_sdk/models/book_transaction.py +1 -1
- unit_finance_sdk/models/book_transaction_attributes.py +1 -1
- unit_finance_sdk/models/book_transaction_relationships.py +1 -1
- unit_finance_sdk/models/business_annual_revenue_type.py +1 -1
- unit_finance_sdk/models/business_application.py +1 -1
- unit_finance_sdk/models/business_application_attributes.py +1 -1
- unit_finance_sdk/models/business_application_relationships.py +1 -1
- unit_finance_sdk/models/business_contact_type.py +1 -1
- unit_finance_sdk/models/business_credit_card.py +1 -1
- unit_finance_sdk/models/business_customer.py +1 -1
- unit_finance_sdk/models/business_customer_attributes.py +1 -1
- unit_finance_sdk/models/business_customer_relationships.py +1 -1
- unit_finance_sdk/models/business_debit_card.py +1 -1
- unit_finance_sdk/models/business_debit_card_attributes.py +1 -1
- unit_finance_sdk/models/business_number_of_employees_type.py +1 -1
- unit_finance_sdk/models/business_vertical_type.py +1 -1
- unit_finance_sdk/models/business_virtual_credit_card.py +1 -1
- unit_finance_sdk/models/business_virtual_debit_card.py +1 -1
- unit_finance_sdk/models/business_virtual_debit_card_attributes.py +1 -1
- unit_finance_sdk/models/business_wallet_customer.py +1 -1
- unit_finance_sdk/models/business_wallet_customer_attributes.py +1 -1
- unit_finance_sdk/models/business_wallet_customer_relationships.py +1 -1
- unit_finance_sdk/models/cancel_application201_response.py +1 -1
- unit_finance_sdk/models/cancel_application_data.py +1 -1
- unit_finance_sdk/models/cancel_application_data_attributes.py +1 -1
- unit_finance_sdk/models/cancel_application_request.py +1 -1
- unit_finance_sdk/models/cancel_payment200_response.py +1 -1
- unit_finance_sdk/models/cancel_payment200_response_data.py +1 -1
- unit_finance_sdk/models/card_fraud_outreach_policy.py +122 -0
- unit_finance_sdk/models/card_fraud_outreach_policy_attributes.py +125 -0
- unit_finance_sdk/models/card_fraud_outreach_policy_relationships.py +110 -0
- unit_finance_sdk/models/card_reversal_transaction.py +1 -1
- unit_finance_sdk/models/card_reversal_transaction_attributes.py +1 -1
- unit_finance_sdk/models/card_reversal_transaction_relationships.py +1 -1
- unit_finance_sdk/models/card_transaction.py +1 -1
- unit_finance_sdk/models/card_transaction_attributes.py +1 -1
- unit_finance_sdk/models/card_transaction_attributes_card_verification_data.py +1 -1
- unit_finance_sdk/models/card_transaction_attributes_merchant.py +1 -1
- unit_finance_sdk/models/card_transaction_authorization_request.py +122 -0
- unit_finance_sdk/models/card_transaction_authorization_request_attributes.py +142 -0
- unit_finance_sdk/models/card_transaction_relationships.py +1 -1
- unit_finance_sdk/models/cash_deposit_barcode.py +1 -1
- unit_finance_sdk/models/cash_deposit_barcode_attributes.py +1 -1
- unit_finance_sdk/models/cash_deposit_barcode_relationships.py +1 -1
- unit_finance_sdk/models/cash_deposit_transaction.py +1 -1
- unit_finance_sdk/models/cash_deposit_transaction_attributes.py +1 -1
- unit_finance_sdk/models/cash_flow_type.py +1 -1
- unit_finance_sdk/models/chargeback_transaction.py +1 -1
- unit_finance_sdk/models/chargeback_transaction_attributes.py +1 -1
- unit_finance_sdk/models/chargeback_transaction_relationships.py +1 -1
- unit_finance_sdk/models/check_counterparty_type.py +1 -1
- unit_finance_sdk/models/check_deposit.py +1 -1
- unit_finance_sdk/models/check_deposit_attributes.py +1 -1
- unit_finance_sdk/models/check_deposit_relationships.py +1 -1
- unit_finance_sdk/models/check_deposit_transaction.py +1 -1
- unit_finance_sdk/models/check_deposit_transaction_attributes.py +1 -1
- unit_finance_sdk/models/check_deposit_transaction_relationships.py +1 -1
- unit_finance_sdk/models/check_payment.py +122 -0
- unit_finance_sdk/models/check_payment_attributes.py +152 -0
- unit_finance_sdk/models/check_payment_counterparty_type.py +109 -0
- unit_finance_sdk/models/check_payment_transaction.py +1 -1
- unit_finance_sdk/models/check_payment_transaction_relationships.py +1 -1
- unit_finance_sdk/models/clear_ach_debit_payment200_response.py +1 -1
- unit_finance_sdk/models/close_account_request.py +1 -1
- unit_finance_sdk/models/close_card200_response.py +1 -1
- unit_finance_sdk/models/close_credit_account_data.py +1 -1
- unit_finance_sdk/models/close_credit_account_data_attributes.py +1 -1
- unit_finance_sdk/models/close_credit_account_request.py +1 -1
- unit_finance_sdk/models/close_deposit_account_data.py +1 -1
- unit_finance_sdk/models/close_deposit_account_data_attributes.py +1 -1
- unit_finance_sdk/models/close_deposit_account_request.py +1 -1
- unit_finance_sdk/models/close_wallet_data.py +1 -1
- unit_finance_sdk/models/close_wallet_data_attributes.py +1 -1
- unit_finance_sdk/models/close_wallet_request.py +1 -1
- unit_finance_sdk/models/coordinates_type.py +1 -1
- unit_finance_sdk/models/counterparty_balance.py +1 -1
- unit_finance_sdk/models/counterparty_balance_attributes.py +1 -1
- unit_finance_sdk/models/counterparty_balance_relationships.py +1 -1
- unit_finance_sdk/models/counterparty_type.py +1 -1
- unit_finance_sdk/models/create_a_book_payment_data.py +1 -1
- unit_finance_sdk/models/create_a_book_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/create_a_book_payment_data_relationships.py +1 -1
- unit_finance_sdk/models/create_a_book_payment_request.py +1 -1
- unit_finance_sdk/models/create_a_wire_payment_data.py +1 -1
- unit_finance_sdk/models/create_a_wire_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/create_a_wire_payment_request.py +1 -1
- unit_finance_sdk/models/create_account201_response.py +1 -1
- unit_finance_sdk/models/create_account_hold201_response.py +1 -1
- unit_finance_sdk/models/create_account_hold_data.py +1 -1
- unit_finance_sdk/models/create_account_hold_data_attributes.py +1 -1
- unit_finance_sdk/models/create_account_hold_request.py +1 -1
- unit_finance_sdk/models/create_account_request.py +1 -1
- unit_finance_sdk/models/create_ach_payment_data.py +1 -1
- unit_finance_sdk/models/create_ach_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/create_ach_payment_existing_counterparty_data.py +1 -1
- unit_finance_sdk/models/create_ach_payment_existing_counterparty_data_attributes.py +1 -1
- unit_finance_sdk/models/create_ach_payment_existing_counterparty_data_relationships.py +1 -1
- unit_finance_sdk/models/create_ach_payment_existing_counterparty_request.py +1 -1
- unit_finance_sdk/models/create_ach_payment_plaid_token_data.py +1 -1
- unit_finance_sdk/models/create_ach_payment_plaid_token_data_attributes.py +1 -1
- unit_finance_sdk/models/create_ach_payment_plaid_token_request.py +1 -1
- unit_finance_sdk/models/create_ach_payment_request.py +1 -1
- unit_finance_sdk/models/create_application201_response.py +1 -1
- unit_finance_sdk/models/create_application201_response_included_inner.py +1 -1
- unit_finance_sdk/models/create_application_document200_response.py +1 -1
- unit_finance_sdk/models/create_application_request.py +1 -1
- unit_finance_sdk/models/create_approved_credit_limit_decision_data.py +120 -0
- unit_finance_sdk/models/create_approved_credit_limit_decision_data_attributes.py +116 -0
- unit_finance_sdk/models/create_approved_credit_limit_decision_data_relationships.py +105 -0
- unit_finance_sdk/models/create_approved_credit_limit_decision_request.py +105 -0
- unit_finance_sdk/models/create_batch_releases201_response.py +1 -1
- unit_finance_sdk/models/create_batch_releases_data.py +1 -1
- unit_finance_sdk/models/create_batch_releases_data_attributes.py +1 -1
- unit_finance_sdk/models/create_batch_releases_request.py +1 -1
- unit_finance_sdk/models/create_bulk_payment201_response.py +1 -1
- unit_finance_sdk/models/create_bulk_payment201_response_data.py +1 -1
- unit_finance_sdk/models/create_bulk_payment201_response_data_attributes.py +1 -1
- unit_finance_sdk/models/create_bulk_payment_request.py +1 -1
- unit_finance_sdk/models/create_bulk_payment_request_data_inner.py +1 -1
- unit_finance_sdk/models/create_business_application_data.py +1 -1
- unit_finance_sdk/models/create_business_application_data_attributes.py +1 -1
- unit_finance_sdk/models/create_business_application_request.py +1 -1
- unit_finance_sdk/models/create_business_credit_card_data.py +1 -1
- unit_finance_sdk/models/create_business_credit_card_data_attributes.py +1 -1
- unit_finance_sdk/models/create_business_credit_card_request.py +1 -1
- unit_finance_sdk/models/create_business_debit_card_data.py +1 -1
- unit_finance_sdk/models/create_business_debit_card_request.py +1 -1
- unit_finance_sdk/models/create_business_virtual_credit_card_data.py +1 -1
- unit_finance_sdk/models/create_business_virtual_credit_card_data_attributes.py +1 -1
- unit_finance_sdk/models/create_business_virtual_credit_card_request.py +1 -1
- unit_finance_sdk/models/create_business_virtual_debit_card_data.py +1 -1
- unit_finance_sdk/models/create_business_virtual_debit_card_data_attributes.py +1 -1
- unit_finance_sdk/models/create_business_virtual_debit_card_request.py +1 -1
- unit_finance_sdk/models/create_business_wallet_customer201_response.py +1 -1
- unit_finance_sdk/models/create_business_wallet_customer_data.py +1 -1
- unit_finance_sdk/models/create_business_wallet_customer_data_attributes.py +1 -1
- unit_finance_sdk/models/create_business_wallet_customer_request.py +1 -1
- unit_finance_sdk/models/create_card201_response.py +1 -1
- unit_finance_sdk/models/create_card201_response_data.py +1 -1
- unit_finance_sdk/models/create_card_request.py +1 -1
- unit_finance_sdk/models/create_cardholder_token201_response.py +105 -0
- unit_finance_sdk/models/create_cardholder_token201_response_data.py +117 -0
- unit_finance_sdk/models/create_cardholder_token201_response_data_attributes.py +103 -0
- unit_finance_sdk/models/create_cardholder_token_data.py +114 -0
- unit_finance_sdk/models/create_cardholder_token_data_attributes.py +109 -0
- unit_finance_sdk/models/create_cardholder_token_request.py +105 -0
- unit_finance_sdk/models/create_cardholder_token_verification201_response.py +105 -0
- unit_finance_sdk/models/create_cardholder_token_verification201_response_data.py +117 -0
- unit_finance_sdk/models/create_cardholder_token_verification201_response_data_attributes.py +101 -0
- unit_finance_sdk/models/create_cardholder_token_verification_data.py +114 -0
- unit_finance_sdk/models/create_cardholder_token_verification_data_attributes.py +111 -0
- unit_finance_sdk/models/create_cardholder_token_verification_request.py +105 -0
- unit_finance_sdk/models/create_check_deposit201_response.py +1 -1
- unit_finance_sdk/models/create_check_deposit_data.py +1 -1
- unit_finance_sdk/models/create_check_deposit_data_attributes.py +1 -1
- unit_finance_sdk/models/create_check_deposit_request.py +1 -1
- unit_finance_sdk/models/create_check_deposit_send_link201_response.py +1 -1
- unit_finance_sdk/models/create_check_deposit_send_link201_response_data.py +1 -1
- unit_finance_sdk/models/create_check_deposit_send_link_data.py +1 -1
- unit_finance_sdk/models/create_check_deposit_send_link_data_attributes.py +1 -1
- unit_finance_sdk/models/create_check_deposit_send_link_data_relationships.py +1 -1
- unit_finance_sdk/models/create_check_deposit_send_link_request.py +1 -1
- unit_finance_sdk/models/create_counterparty201_response.py +1 -1
- unit_finance_sdk/models/create_counterparty_body.py +1 -1
- unit_finance_sdk/models/create_counterparty_data.py +1 -1
- unit_finance_sdk/models/create_counterparty_data_attributes.py +1 -1
- unit_finance_sdk/models/create_counterparty_request.py +1 -1
- unit_finance_sdk/models/create_counterparty_with_plaid_token_data.py +1 -1
- unit_finance_sdk/models/create_counterparty_with_plaid_token_data_attributes.py +1 -1
- unit_finance_sdk/models/create_counterparty_with_plaid_token_request.py +1 -1
- unit_finance_sdk/models/create_credit_account_data.py +1 -1
- unit_finance_sdk/models/create_credit_account_data_attributes.py +1 -1
- unit_finance_sdk/models/create_credit_account_request.py +1 -1
- unit_finance_sdk/models/create_credit_application201_response.py +105 -0
- unit_finance_sdk/models/create_credit_application_request.py +137 -0
- unit_finance_sdk/models/create_credit_decision201_response.py +105 -0
- unit_finance_sdk/models/create_credit_decision_request.py +179 -0
- unit_finance_sdk/models/create_denied_credit_application_decision_data.py +120 -0
- unit_finance_sdk/models/create_denied_credit_application_decision_data_attributes.py +118 -0
- unit_finance_sdk/models/create_denied_credit_application_decision_request.py +105 -0
- unit_finance_sdk/models/create_denied_credit_limit_decision_data.py +120 -0
- unit_finance_sdk/models/create_denied_credit_limit_decision_data_attributes.py +118 -0
- unit_finance_sdk/models/create_denied_credit_limit_decision_request.py +105 -0
- unit_finance_sdk/models/create_deposit_account_data.py +1 -1
- unit_finance_sdk/models/create_deposit_account_data_attributes.py +1 -1
- unit_finance_sdk/models/create_deposit_account_data_relationships.py +1 -1
- unit_finance_sdk/models/create_deposit_account_request.py +1 -1
- unit_finance_sdk/models/create_existing_credit_application_data.py +120 -0
- unit_finance_sdk/models/create_existing_credit_application_data_attributes.py +112 -0
- unit_finance_sdk/models/create_existing_credit_application_data_relationships.py +110 -0
- unit_finance_sdk/models/create_existing_credit_application_request.py +105 -0
- unit_finance_sdk/models/create_fee201_response.py +1 -1
- unit_finance_sdk/models/create_fee_data.py +1 -1
- unit_finance_sdk/models/create_fee_data_attributes.py +1 -1
- unit_finance_sdk/models/create_fee_data_relationships.py +1 -1
- unit_finance_sdk/models/create_fee_request.py +1 -1
- unit_finance_sdk/models/create_individual_application_data.py +1 -1
- unit_finance_sdk/models/create_individual_application_data_attributes.py +1 -1
- unit_finance_sdk/models/create_individual_application_request.py +1 -1
- unit_finance_sdk/models/create_individual_debit_card_data.py +1 -1
- unit_finance_sdk/models/create_individual_debit_card_data_attributes.py +1 -1
- unit_finance_sdk/models/create_individual_debit_card_request.py +1 -1
- unit_finance_sdk/models/create_individual_virtual_debit_card_data.py +1 -1
- unit_finance_sdk/models/create_individual_virtual_debit_card_data_attributes.py +1 -1
- unit_finance_sdk/models/create_individual_virtual_debit_card_request.py +1 -1
- unit_finance_sdk/models/create_manual_review_credit_application_decision_data.py +120 -0
- unit_finance_sdk/models/create_manual_review_credit_application_decision_data_attributes.py +110 -0
- unit_finance_sdk/models/create_manual_review_credit_application_decision_request.py +105 -0
- unit_finance_sdk/models/create_manual_review_credit_limit_decision_data.py +120 -0
- unit_finance_sdk/models/create_manual_review_credit_limit_decision_data_attributes.py +114 -0
- unit_finance_sdk/models/create_manual_review_credit_limit_decision_request.py +105 -0
- unit_finance_sdk/models/create_onboarding_credit_application_data.py +120 -0
- unit_finance_sdk/models/create_onboarding_credit_application_data_attributes.py +112 -0
- unit_finance_sdk/models/create_onboarding_credit_application_data_relationships.py +110 -0
- unit_finance_sdk/models/create_onboarding_credit_application_request.py +105 -0
- unit_finance_sdk/models/create_payment201_response.py +1 -1
- unit_finance_sdk/models/create_payment201_response_data.py +1 -1
- unit_finance_sdk/models/create_payment_request.py +1 -1
- unit_finance_sdk/models/create_policy201_response.py +105 -0
- unit_finance_sdk/models/create_policy_data.py +120 -0
- unit_finance_sdk/models/create_policy_data_attributes.py +119 -0
- unit_finance_sdk/models/create_policy_data_relationships.py +115 -0
- unit_finance_sdk/models/create_policy_request.py +105 -0
- unit_finance_sdk/models/create_recurring_credit_ach_payment_data.py +1 -1
- unit_finance_sdk/models/create_recurring_credit_ach_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/create_recurring_credit_ach_payment_request.py +1 -1
- unit_finance_sdk/models/create_recurring_credit_book_payment_data.py +1 -1
- unit_finance_sdk/models/create_recurring_credit_book_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/create_recurring_credit_book_payment_request.py +1 -1
- unit_finance_sdk/models/create_recurring_debit_ach_payment_data.py +1 -1
- unit_finance_sdk/models/create_recurring_debit_ach_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/create_recurring_debit_ach_payment_request.py +1 -1
- unit_finance_sdk/models/create_recurring_payment201_response.py +1 -1
- unit_finance_sdk/models/create_recurring_payment_request.py +1 -1
- unit_finance_sdk/models/create_schedule_type.py +1 -1
- unit_finance_sdk/models/create_sole_proprietor_application_data.py +1 -1
- unit_finance_sdk/models/create_sole_proprietor_application_data_attributes.py +1 -1
- unit_finance_sdk/models/create_sole_proprietor_application_request.py +1 -1
- unit_finance_sdk/models/create_wallet_data.py +1 -1
- unit_finance_sdk/models/create_wallet_data_attributes.py +1 -1
- unit_finance_sdk/models/create_wallet_request.py +1 -1
- unit_finance_sdk/models/credit_account.py +1 -1
- unit_finance_sdk/models/credit_account_attributes.py +1 -1
- unit_finance_sdk/models/credit_account_relationships.py +1 -1
- unit_finance_sdk/models/currency_conversion_type.py +1 -1
- unit_finance_sdk/models/denied_credit_application_decision.py +122 -0
- unit_finance_sdk/models/denied_credit_application_decision_attributes.py +118 -0
- unit_finance_sdk/models/denied_credit_application_decision_relationships.py +110 -0
- unit_finance_sdk/models/denied_credit_limit_decision.py +122 -0
- unit_finance_sdk/models/deposit_account.py +1 -1
- unit_finance_sdk/models/deposit_account_attributes.py +1 -1
- unit_finance_sdk/models/deposit_account_relationships.py +1 -1
- unit_finance_sdk/models/device_fingerprint_type.py +1 -1
- unit_finance_sdk/models/dishonored_ach_transaction.py +1 -1
- unit_finance_sdk/models/dishonored_ach_transaction_attributes.py +1 -1
- unit_finance_sdk/models/dispute_transaction.py +1 -1
- unit_finance_sdk/models/dispute_transaction_attributes.py +1 -1
- unit_finance_sdk/models/dispute_transaction_relationships.py +1 -1
- unit_finance_sdk/models/error_document.py +1 -1
- unit_finance_sdk/models/error_document_errors_inner.py +1 -1
- unit_finance_sdk/models/error_document_errors_inner_source.py +1 -1
- unit_finance_sdk/models/existing_customer_credit_application.py +122 -0
- unit_finance_sdk/models/existing_customer_credit_application_attributes.py +135 -0
- unit_finance_sdk/models/existing_customer_credit_application_relationships.py +110 -0
- unit_finance_sdk/models/fee.py +1 -1
- unit_finance_sdk/models/fee_attributes.py +1 -1
- unit_finance_sdk/models/fee_relationships.py +1 -1
- unit_finance_sdk/models/fee_reversal.py +1 -1
- unit_finance_sdk/models/fee_reversal_attributes.py +1 -1
- unit_finance_sdk/models/fee_reversal_relationships.py +1 -1
- unit_finance_sdk/models/fee_reversal_transaction.py +1 -1
- unit_finance_sdk/models/fee_reversal_transaction_relationships.py +1 -1
- unit_finance_sdk/models/fee_transaction.py +1 -1
- unit_finance_sdk/models/fraud_case_card_activity_type.py +120 -0
- unit_finance_sdk/models/freeze_account_request.py +1 -1
- unit_finance_sdk/models/freeze_card_data.py +1 -1
- unit_finance_sdk/models/freeze_card_data_attributes.py +1 -1
- unit_finance_sdk/models/freeze_card_request.py +1 -1
- unit_finance_sdk/models/freeze_credit_account_data.py +1 -1
- unit_finance_sdk/models/freeze_credit_account_request.py +1 -1
- unit_finance_sdk/models/freeze_deposit_account_data.py +1 -1
- unit_finance_sdk/models/freeze_deposit_account_data_attributes.py +1 -1
- unit_finance_sdk/models/freeze_deposit_account_request.py +1 -1
- unit_finance_sdk/models/freeze_wallet_data.py +1 -1
- unit_finance_sdk/models/freeze_wallet_data_attributes.py +1 -1
- unit_finance_sdk/models/freeze_wallet_request.py +1 -1
- unit_finance_sdk/models/full_name_type.py +1 -1
- unit_finance_sdk/models/generate_barcode_data.py +1 -1
- unit_finance_sdk/models/generate_barcode_data_attributes.py +1 -1
- unit_finance_sdk/models/generate_barcode_data_relationships.py +1 -1
- unit_finance_sdk/models/generate_cash_deposit_barcode200_response.py +1 -1
- unit_finance_sdk/models/generate_cash_deposit_barcode_request.py +1 -1
- unit_finance_sdk/models/get_account_balance_history200_response.py +1 -1
- unit_finance_sdk/models/get_account_limits200_response.py +1 -1
- unit_finance_sdk/models/get_account_limits200_response_data.py +1 -1
- unit_finance_sdk/models/get_authorization200_response.py +105 -0
- unit_finance_sdk/models/get_authorization_request_by_id200_response.py +105 -0
- unit_finance_sdk/models/get_authorized_user200_response.py +105 -0
- unit_finance_sdk/models/get_available_deposit_products200_response.py +1 -1
- unit_finance_sdk/models/get_available_deposit_products200_response_data_inner.py +1 -1
- unit_finance_sdk/models/get_available_deposit_products200_response_data_inner_attributes.py +1 -1
- unit_finance_sdk/models/get_card200_response.py +1 -1
- unit_finance_sdk/models/get_card_fraud_case_by_id200_response.py +105 -0
- unit_finance_sdk/models/get_card_pin_status200_response.py +1 -1
- unit_finance_sdk/models/get_check_deposit200_response.py +1 -1
- unit_finance_sdk/models/get_check_payment200_response.py +115 -0
- unit_finance_sdk/models/get_counterparty_balance200_response.py +1 -1
- unit_finance_sdk/models/get_customer200_response.py +1 -1
- unit_finance_sdk/models/get_expected_ach_completion_date200_response.py +1 -1
- unit_finance_sdk/models/get_expected_ach_completion_date200_response_data.py +1 -1
- unit_finance_sdk/models/get_expected_ach_completion_date_data.py +1 -1
- unit_finance_sdk/models/get_expected_ach_completion_date_data_attributes.py +1 -1
- unit_finance_sdk/models/get_expected_ach_completion_date_request.py +1 -1
- unit_finance_sdk/models/get_mobile_wallet_payload200_response.py +105 -0
- unit_finance_sdk/models/get_mobile_wallet_payload_data.py +105 -0
- unit_finance_sdk/models/get_mobile_wallet_payload_data_attributes.py +101 -0
- unit_finance_sdk/models/get_mobile_wallet_payload_request.py +105 -0
- unit_finance_sdk/models/get_received_payment200_response.py +1 -1
- unit_finance_sdk/models/get_transaction200_response.py +1 -1
- unit_finance_sdk/models/get_wire_drawdown200_response.py +1 -1
- unit_finance_sdk/models/healthcare_amounts_type.py +111 -0
- unit_finance_sdk/models/individual_application.py +1 -1
- unit_finance_sdk/models/individual_application_attributes.py +1 -1
- unit_finance_sdk/models/individual_application_relationships.py +1 -1
- unit_finance_sdk/models/individual_customer.py +1 -1
- unit_finance_sdk/models/individual_customer_relationships.py +1 -1
- unit_finance_sdk/models/individual_debit_card.py +1 -1
- unit_finance_sdk/models/individual_debit_card_attributes.py +1 -1
- unit_finance_sdk/models/individual_virtual_debit_card.py +1 -1
- unit_finance_sdk/models/individual_virtual_debit_card_attributes.py +1 -1
- unit_finance_sdk/models/industry_type.py +1 -1
- unit_finance_sdk/models/interest_share_transaction.py +1 -1
- unit_finance_sdk/models/interest_share_transaction_relationships.py +1 -1
- unit_finance_sdk/models/interest_transaction.py +1 -1
- unit_finance_sdk/models/list200_response.py +1 -1
- unit_finance_sdk/models/list200_response_data_inner.py +1 -1
- unit_finance_sdk/models/list_account_holds200_response.py +1 -1
- unit_finance_sdk/models/list_accounts200_response.py +1 -1
- unit_finance_sdk/models/list_accounts200_response_data_inner.py +1 -1
- unit_finance_sdk/models/list_application_documents200_response.py +1 -1
- unit_finance_sdk/models/list_atm_locations200_response.py +109 -0
- unit_finance_sdk/models/list_authorization_requests200_response.py +109 -0
- unit_finance_sdk/models/list_authorization_requests200_response_data_inner.py +154 -0
- unit_finance_sdk/models/list_authorizations200_response.py +115 -0
- unit_finance_sdk/models/list_authorized_users200_response.py +109 -0
- unit_finance_sdk/models/list_card_fraud_cases200_response.py +115 -0
- unit_finance_sdk/models/list_card_fraud_cases200_response_data_inner.py +140 -0
- unit_finance_sdk/models/list_cards200_response.py +1 -1
- unit_finance_sdk/models/list_cards200_response_data_inner.py +1 -1
- unit_finance_sdk/models/list_check_deposits200_response.py +1 -1
- unit_finance_sdk/models/list_check_payments200_response.py +125 -0
- unit_finance_sdk/models/list_counterparties200_response.py +1 -1
- unit_finance_sdk/models/list_credit_applications200_response.py +109 -0
- unit_finance_sdk/models/list_credit_applications200_response_data_inner.py +140 -0
- unit_finance_sdk/models/list_credit_decisions200_response.py +109 -0
- unit_finance_sdk/models/list_credit_decisions200_response_data_inner.py +182 -0
- unit_finance_sdk/models/list_customers200_response.py +1 -1
- unit_finance_sdk/models/list_customers200_response_data_inner.py +1 -1
- unit_finance_sdk/models/list_received_payments200_response.py +1 -1
- unit_finance_sdk/models/list_received_payments200_response_data_inner.py +1 -1
- unit_finance_sdk/models/list_recurring_payments200_response.py +1 -1
- unit_finance_sdk/models/list_recurring_payments200_response_data_inner.py +1 -1
- unit_finance_sdk/models/list_store_locations200_response.py +1 -1
- unit_finance_sdk/models/list_transactions200_response.py +1 -1
- unit_finance_sdk/models/list_transactions200_response_included_inner.py +1 -1
- unit_finance_sdk/models/list_wire_drawdowns200_response.py +1 -1
- unit_finance_sdk/models/manual_review_credit_application_decision.py +122 -0
- unit_finance_sdk/models/manual_review_credit_application_decision_attributes.py +118 -0
- unit_finance_sdk/models/manual_review_credit_limit_decision.py +122 -0
- unit_finance_sdk/models/manual_review_credit_limit_decision_attributes.py +118 -0
- unit_finance_sdk/models/mark_card_fraud_case_as_fraud_data.py +114 -0
- unit_finance_sdk/models/mark_card_fraud_case_as_fraud_data_attributes.py +101 -0
- unit_finance_sdk/models/mark_card_fraud_case_as_fraud_request.py +105 -0
- unit_finance_sdk/models/meta.py +1 -1
- unit_finance_sdk/models/meta_pagination.py +1 -1
- unit_finance_sdk/models/mobile_wallet_payload.py +116 -0
- unit_finance_sdk/models/mobile_wallet_payload_attributes.py +101 -0
- unit_finance_sdk/models/negative_balance_coverage_transaction.py +1 -1
- unit_finance_sdk/models/number_of_employees_type.py +1 -1
- unit_finance_sdk/models/occupation_type.py +1 -1
- unit_finance_sdk/models/officer.py +1 -1
- unit_finance_sdk/models/officer_attributes.py +1 -1
- unit_finance_sdk/models/officer_relationships.py +1 -1
- unit_finance_sdk/models/officer_request_type.py +1 -1
- unit_finance_sdk/models/officer_type.py +1 -1
- unit_finance_sdk/models/onboarding_credit_application.py +122 -0
- unit_finance_sdk/models/onboarding_credit_application_relationships.py +110 -0
- unit_finance_sdk/models/originate_check_payment_mail_physical_check201_response.py +105 -0
- unit_finance_sdk/models/originate_check_payment_mail_physical_check_data.py +120 -0
- unit_finance_sdk/models/originate_check_payment_mail_physical_check_data_attributes.py +123 -0
- unit_finance_sdk/models/originate_check_payment_mail_physical_check_data_relationships.py +110 -0
- unit_finance_sdk/models/originate_check_payment_mail_physical_check_request.py +105 -0
- unit_finance_sdk/models/originated_ach_transaction.py +1 -1
- unit_finance_sdk/models/originated_ach_transaction_attributes.py +1 -1
- unit_finance_sdk/models/originated_ach_transaction_relationships.py +1 -1
- unit_finance_sdk/models/payment_advance_transaction.py +1 -1
- unit_finance_sdk/models/payment_advance_transaction_attributes.py +1 -1
- unit_finance_sdk/models/payment_advance_transaction_relationships.py +1 -1
- unit_finance_sdk/models/payment_canceled_transaction.py +1 -1
- unit_finance_sdk/models/payment_canceled_transaction_relationships.py +1 -1
- unit_finance_sdk/models/phone_type.py +1 -1
- unit_finance_sdk/models/pin_status.py +1 -1
- unit_finance_sdk/models/pin_status_attributes.py +1 -1
- unit_finance_sdk/models/product_type.py +1 -1
- unit_finance_sdk/models/purchase_authorization_request.py +122 -0
- unit_finance_sdk/models/purchase_authorization_request_attributes.py +156 -0
- unit_finance_sdk/models/purchase_authorization_request_relationships.py +125 -0
- unit_finance_sdk/models/purchase_transaction.py +1 -1
- unit_finance_sdk/models/purchase_transaction_attributes.py +1 -1
- unit_finance_sdk/models/purchase_transaction_attributes_merchant.py +1 -1
- unit_finance_sdk/models/purchase_transaction_relationships.py +1 -1
- unit_finance_sdk/models/push_to_card_reversal_transaction.py +1 -1
- unit_finance_sdk/models/push_to_card_reversal_transaction_relationships.py +1 -1
- unit_finance_sdk/models/push_to_card_transaction.py +1 -1
- unit_finance_sdk/models/push_to_card_transaction_relationships.py +1 -1
- unit_finance_sdk/models/real_time_counterparty_type.py +1 -1
- unit_finance_sdk/models/realtime_received_payment.py +1 -1
- unit_finance_sdk/models/realtime_received_payment_attributes.py +1 -1
- unit_finance_sdk/models/realtime_received_payment_relationships.py +1 -1
- unit_finance_sdk/models/received_ach_transaction.py +1 -1
- unit_finance_sdk/models/received_ach_transaction_attributes.py +1 -1
- unit_finance_sdk/models/recurring_credit_ach_payment.py +1 -1
- unit_finance_sdk/models/recurring_credit_ach_payment_attributes.py +1 -1
- unit_finance_sdk/models/recurring_credit_ach_payment_relationships.py +1 -1
- unit_finance_sdk/models/recurring_credit_book_payment.py +1 -1
- unit_finance_sdk/models/recurring_credit_book_payment_attributes.py +1 -1
- unit_finance_sdk/models/recurring_credit_book_payment_relationships.py +1 -1
- unit_finance_sdk/models/recurring_debit_ach_payment.py +1 -1
- unit_finance_sdk/models/relationship.py +1 -1
- unit_finance_sdk/models/relationship_data.py +1 -1
- unit_finance_sdk/models/release_account_hold_data.py +1 -1
- unit_finance_sdk/models/release_account_hold_data_attributes.py +1 -1
- unit_finance_sdk/models/release_account_hold_request.py +1 -1
- unit_finance_sdk/models/release_transaction.py +1 -1
- unit_finance_sdk/models/release_transaction_attributes.py +1 -1
- unit_finance_sdk/models/remove_account_owners_request.py +1 -1
- unit_finance_sdk/models/remove_authorized_users_data.py +114 -0
- unit_finance_sdk/models/remove_authorized_users_data_attributes.py +101 -0
- unit_finance_sdk/models/remove_authorized_users_request.py +105 -0
- unit_finance_sdk/models/reopen_account200_response.py +1 -1
- unit_finance_sdk/models/reopen_account200_response_data.py +1 -1
- unit_finance_sdk/models/repaid_payment_advance_transaction.py +1 -1
- unit_finance_sdk/models/repaid_payment_advance_transaction_attributes.py +1 -1
- unit_finance_sdk/models/repaid_payment_advance_transaction_relationships.py +1 -1
- unit_finance_sdk/models/replace_card200_response.py +1 -1
- unit_finance_sdk/models/replace_card200_response_data.py +1 -1
- unit_finance_sdk/models/replace_card_data.py +1 -1
- unit_finance_sdk/models/replace_card_data_attributes.py +1 -1
- unit_finance_sdk/models/replace_card_request.py +1 -1
- unit_finance_sdk/models/requested_product_type.py +1 -1
- unit_finance_sdk/models/resource_identifier.py +1 -1
- unit_finance_sdk/models/return_check_payment_data.py +114 -0
- unit_finance_sdk/models/return_check_payment_data_attributes.py +101 -0
- unit_finance_sdk/models/return_check_payment_request.py +105 -0
- unit_finance_sdk/models/returned_ach_transaction.py +1 -1
- unit_finance_sdk/models/returned_ach_transaction_attributes.py +1 -1
- unit_finance_sdk/models/returned_ach_transaction_relationships.py +1 -1
- unit_finance_sdk/models/returned_check_deposit_transaction.py +1 -1
- unit_finance_sdk/models/returned_check_deposit_transaction_attributes.py +1 -1
- unit_finance_sdk/models/returned_check_payment_transaction.py +1 -1
- unit_finance_sdk/models/returned_check_payment_transaction_attributes.py +1 -1
- unit_finance_sdk/models/returned_received_ach_transaction.py +1 -1
- unit_finance_sdk/models/returned_received_ach_transaction_attributes.py +1 -1
- unit_finance_sdk/models/returned_received_ach_transaction_relationships.py +1 -1
- unit_finance_sdk/models/returned_wire_transaction.py +1 -1
- unit_finance_sdk/models/returned_wire_transaction_attributes.py +1 -1
- unit_finance_sdk/models/reverse_fee201_response.py +1 -1
- unit_finance_sdk/models/reverse_fee_data.py +1 -1
- unit_finance_sdk/models/reverse_fee_data_attributes.py +1 -1
- unit_finance_sdk/models/reverse_fee_data_relationships.py +1 -1
- unit_finance_sdk/models/reverse_fee_request.py +1 -1
- unit_finance_sdk/models/reward_transaction.py +1 -1
- unit_finance_sdk/models/reward_transaction_attributes.py +1 -1
- unit_finance_sdk/models/reward_transaction_relationships.py +1 -1
- unit_finance_sdk/models/rich_merchant_data_type.py +1 -1
- unit_finance_sdk/models/rich_merchant_data_type_address.py +1 -1
- unit_finance_sdk/models/rich_merchant_data_type_categories_inner.py +1 -1
- unit_finance_sdk/models/schedule_type.py +1 -1
- unit_finance_sdk/models/send_drawdown_payment200_response.py +1 -1
- unit_finance_sdk/models/send_drawdown_payment_data.py +1 -1
- unit_finance_sdk/models/send_drawdown_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/send_drawdown_payment_request.py +1 -1
- unit_finance_sdk/models/sole_proprietor_annual_revenue_type.py +1 -1
- unit_finance_sdk/models/sole_proprietor_number_of_employees_type.py +1 -1
- unit_finance_sdk/models/source_of_income_type.py +1 -1
- unit_finance_sdk/models/store_location.py +1 -1
- unit_finance_sdk/models/store_location_attributes.py +1 -1
- unit_finance_sdk/models/to_many_relationship.py +1 -1
- unit_finance_sdk/models/total_accrued_interest_type.py +1 -1
- unit_finance_sdk/models/transaction.py +1 -1
- unit_finance_sdk/models/transaction_card_fraud_case.py +122 -0
- unit_finance_sdk/models/update_account_request.py +1 -1
- unit_finance_sdk/models/update_ach_payment_data.py +1 -1
- unit_finance_sdk/models/update_ach_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/update_ach_payment_request.py +1 -1
- unit_finance_sdk/models/update_ach_received_payment_data.py +1 -1
- unit_finance_sdk/models/update_ach_received_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/update_ach_received_payment_request.py +1 -1
- unit_finance_sdk/models/update_application_request.py +1 -1
- unit_finance_sdk/models/update_book_payment_data.py +1 -1
- unit_finance_sdk/models/update_book_payment_data_attributes.py +1 -1
- unit_finance_sdk/models/update_book_payment_request.py +1 -1
- unit_finance_sdk/models/update_book_transaction_data.py +1 -1
- unit_finance_sdk/models/update_book_transaction_data_attributes.py +1 -1
- unit_finance_sdk/models/update_book_transaction_request.py +1 -1
- unit_finance_sdk/models/update_business_application_data.py +1 -1
- unit_finance_sdk/models/update_business_application_data_attributes.py +1 -1
- unit_finance_sdk/models/update_business_application_request.py +1 -1
- unit_finance_sdk/models/update_business_beneficial_owner201_response.py +1 -1
- unit_finance_sdk/models/update_business_beneficial_owner_data.py +1 -1
- unit_finance_sdk/models/update_business_beneficial_owner_data_attributes.py +1 -1
- unit_finance_sdk/models/update_business_beneficial_owner_data_relationships.py +1 -1
- unit_finance_sdk/models/update_business_beneficial_owner_request.py +1 -1
- unit_finance_sdk/models/update_business_customer_data.py +1 -1
- unit_finance_sdk/models/update_business_customer_data_attributes.py +1 -1
- unit_finance_sdk/models/update_business_customer_officer200_response.py +1 -1
- unit_finance_sdk/models/update_business_customer_officer_data.py +1 -1
- unit_finance_sdk/models/update_business_customer_officer_data_attributes.py +1 -1
- unit_finance_sdk/models/update_business_customer_officer_request.py +1 -1
- unit_finance_sdk/models/update_business_customer_request.py +1 -1
- unit_finance_sdk/models/update_business_officer_data.py +1 -1
- unit_finance_sdk/models/update_business_officer_data_attributes.py +1 -1
- unit_finance_sdk/models/update_business_officer_request.py +1 -1
- unit_finance_sdk/models/update_card200_response.py +1 -1
- unit_finance_sdk/models/update_card200_response_data.py +1 -1
- unit_finance_sdk/models/update_card_data.py +1 -1
- unit_finance_sdk/models/update_card_data_attributes.py +1 -1
- unit_finance_sdk/models/update_card_request.py +1 -1
- unit_finance_sdk/models/update_chargeback_transaction_data.py +1 -1
- unit_finance_sdk/models/update_chargeback_transaction_data_attributes.py +1 -1
- unit_finance_sdk/models/update_chargeback_transaction_request.py +1 -1
- unit_finance_sdk/models/update_check_deposit_request.py +1 -1
- unit_finance_sdk/models/update_counterparty200_response.py +1 -1
- unit_finance_sdk/models/update_counterparty_data.py +1 -1
- unit_finance_sdk/models/update_counterparty_data_attributes.py +1 -1
- unit_finance_sdk/models/update_counterparty_request.py +1 -1
- unit_finance_sdk/models/update_credit_account_data.py +1 -1
- unit_finance_sdk/models/update_credit_account_data_attributes.py +1 -1
- unit_finance_sdk/models/update_credit_account_request.py +1 -1
- unit_finance_sdk/models/update_credit_application_data.py +114 -0
- unit_finance_sdk/models/update_credit_application_data_attributes.py +110 -0
- unit_finance_sdk/models/update_credit_application_request.py +105 -0
- unit_finance_sdk/models/update_customer200_response.py +1 -1
- unit_finance_sdk/models/update_customer_request.py +1 -1
- unit_finance_sdk/models/update_data.py +1 -1
- unit_finance_sdk/models/update_data_attributes.py +1 -1
- unit_finance_sdk/models/update_deposit_account_data.py +1 -1
- unit_finance_sdk/models/update_deposit_account_data_attributes.py +1 -1
- unit_finance_sdk/models/update_deposit_account_request.py +1 -1
- unit_finance_sdk/models/update_individual_application_data.py +1 -1
- unit_finance_sdk/models/update_individual_application_data_attributes.py +1 -1
- unit_finance_sdk/models/update_individual_application_request.py +1 -1
- unit_finance_sdk/models/update_individual_customer_data.py +1 -1
- unit_finance_sdk/models/update_individual_customer_data_attributes.py +1 -1
- unit_finance_sdk/models/update_individual_customer_request.py +1 -1
- unit_finance_sdk/models/update_payment200_response.py +1 -1
- unit_finance_sdk/models/update_payment200_response_data.py +1 -1
- unit_finance_sdk/models/update_payment_request.py +1 -1
- unit_finance_sdk/models/update_policy_data.py +114 -0
- unit_finance_sdk/models/update_policy_data_attributes.py +123 -0
- unit_finance_sdk/models/update_policy_request.py +105 -0
- unit_finance_sdk/models/update_realtime_received_payment_data.py +1 -1
- unit_finance_sdk/models/update_realtime_received_payment_request.py +1 -1
- unit_finance_sdk/models/update_received_payment200_response.py +1 -1
- unit_finance_sdk/models/update_received_payment_request.py +1 -1
- unit_finance_sdk/models/update_sole_proprietor_application_data.py +1 -1
- unit_finance_sdk/models/update_sole_proprietor_application_data_attributes.py +1 -1
- unit_finance_sdk/models/update_sole_proprietor_application_request.py +1 -1
- unit_finance_sdk/models/update_tags_data.py +1 -1
- unit_finance_sdk/models/update_tags_data_attributes.py +1 -1
- unit_finance_sdk/models/update_tags_request.py +1 -1
- unit_finance_sdk/models/update_transaction200_response.py +1 -1
- unit_finance_sdk/models/update_transaction_request.py +1 -1
- unit_finance_sdk/models/update_wallet_data.py +1 -1
- unit_finance_sdk/models/update_wallet_data_attributes.py +1 -1
- unit_finance_sdk/models/update_wallet_request.py +1 -1
- unit_finance_sdk/models/verify_document_data.py +1 -1
- unit_finance_sdk/models/verify_document_data_attributes.py +1 -1
- unit_finance_sdk/models/verify_document_request.py +1 -1
- unit_finance_sdk/models/wallet_account.py +1 -1
- unit_finance_sdk/models/wallet_account_attributes.py +1 -1
- unit_finance_sdk/models/wire_counterparty_type.py +1 -1
- unit_finance_sdk/models/wire_drawdown.py +1 -1
- unit_finance_sdk/models/wire_drawdown_attributes.py +1 -1
- unit_finance_sdk/models/wire_drawdown_relationships.py +1 -1
- unit_finance_sdk/models/wire_payment.py +1 -1
- unit_finance_sdk/models/wire_payment_attributes.py +1 -1
- unit_finance_sdk/models/wire_payment_relationships.py +1 -1
- unit_finance_sdk/models/wire_transaction.py +1 -1
- unit_finance_sdk/models/wire_transaction_attributes.py +1 -1
- unit_finance_sdk/models/write_off_transaction.py +1 -1
- unit_finance_sdk/rest.py +1 -1
- {unit_openapi_python_sdk-0.11.0.dist-info → unit_openapi_python_sdk-0.16.0.dist-info}/METADATA +1 -1
- unit_openapi_python_sdk-0.16.0.dist-info/RECORD +685 -0
- unit_openapi_python_sdk-0.11.0.dist-info/RECORD +0 -541
- {unit_openapi_python_sdk-0.11.0.dist-info → unit_openapi_python_sdk-0.16.0.dist-info}/WHEEL +0 -0
- {unit_openapi_python_sdk-0.11.0.dist-info → unit_openapi_python_sdk-0.16.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,1090 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Unit API
|
|
3
|
+
|
|
4
|
+
JSON:API-compliant banking API.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.16.0
|
|
7
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
8
|
+
|
|
9
|
+
Do not edit the class manually.
|
|
10
|
+
""" # noqa: E501
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
import warnings
|
|
14
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
15
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
16
|
+
from typing_extensions import Annotated
|
|
17
|
+
|
|
18
|
+
from pydantic import Field, StrictStr
|
|
19
|
+
from typing import Any, Dict, Optional
|
|
20
|
+
from typing_extensions import Annotated
|
|
21
|
+
from unit_finance_sdk.models.get_authorization200_response import GetAuthorization200Response
|
|
22
|
+
from unit_finance_sdk.models.list_authorizations200_response import ListAuthorizations200Response
|
|
23
|
+
|
|
24
|
+
from unit_finance_sdk.api_client import ApiClient, RequestSerialized
|
|
25
|
+
from unit_finance_sdk.api_response import ApiResponse
|
|
26
|
+
from unit_finance_sdk.rest import RESTResponseType
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class CardsAuthorizationsApi:
|
|
30
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
31
|
+
Ref: https://openapi-generator.tech
|
|
32
|
+
|
|
33
|
+
Do not edit the class manually.
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
def __init__(self, api_client=None) -> None:
|
|
37
|
+
if api_client is None:
|
|
38
|
+
api_client = ApiClient.get_default()
|
|
39
|
+
self.api_client = api_client
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
@validate_call
|
|
43
|
+
def get_authorization(
|
|
44
|
+
self,
|
|
45
|
+
id: StrictStr,
|
|
46
|
+
filter_include_non_authorized: Annotated[Optional[StrictStr], Field(description="Optional. Include authorizations from all statuses.")] = None,
|
|
47
|
+
_request_timeout: Union[
|
|
48
|
+
None,
|
|
49
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
50
|
+
Tuple[
|
|
51
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
52
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
53
|
+
]
|
|
54
|
+
] = None,
|
|
55
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
56
|
+
_content_type: Optional[StrictStr] = None,
|
|
57
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
58
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
59
|
+
) -> GetAuthorization200Response:
|
|
60
|
+
"""Get an authorization
|
|
61
|
+
|
|
62
|
+
Get an authorization resource by id.
|
|
63
|
+
|
|
64
|
+
:param id: (required)
|
|
65
|
+
:type id: str
|
|
66
|
+
:param filter_include_non_authorized: Optional. Include authorizations from all statuses.
|
|
67
|
+
:type filter_include_non_authorized: str
|
|
68
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
69
|
+
number provided, it will be total request
|
|
70
|
+
timeout. It can also be a pair (tuple) of
|
|
71
|
+
(connection, read) timeouts.
|
|
72
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
73
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
74
|
+
request; this effectively ignores the
|
|
75
|
+
authentication in the spec for a single request.
|
|
76
|
+
:type _request_auth: dict, optional
|
|
77
|
+
:param _content_type: force content-type for the request.
|
|
78
|
+
:type _content_type: str, Optional
|
|
79
|
+
:param _headers: set to override the headers for a single
|
|
80
|
+
request; this effectively ignores the headers
|
|
81
|
+
in the spec for a single request.
|
|
82
|
+
:type _headers: dict, optional
|
|
83
|
+
:param _host_index: set to override the host_index for a single
|
|
84
|
+
request; this effectively ignores the host_index
|
|
85
|
+
in the spec for a single request.
|
|
86
|
+
:type _host_index: int, optional
|
|
87
|
+
:return: Returns the result object.
|
|
88
|
+
""" # noqa: E501
|
|
89
|
+
|
|
90
|
+
_param = self._get_authorization_serialize(
|
|
91
|
+
id=id,
|
|
92
|
+
filter_include_non_authorized=filter_include_non_authorized,
|
|
93
|
+
_request_auth=_request_auth,
|
|
94
|
+
_content_type=_content_type,
|
|
95
|
+
_headers=_headers,
|
|
96
|
+
_host_index=_host_index
|
|
97
|
+
)
|
|
98
|
+
|
|
99
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
100
|
+
'200': "GetAuthorization200Response",
|
|
101
|
+
}
|
|
102
|
+
response_data = self.api_client.call_api(
|
|
103
|
+
*_param,
|
|
104
|
+
_request_timeout=_request_timeout
|
|
105
|
+
)
|
|
106
|
+
response_data.read()
|
|
107
|
+
return self.api_client.response_deserialize(
|
|
108
|
+
response_data=response_data,
|
|
109
|
+
response_types_map=_response_types_map,
|
|
110
|
+
).data
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
@validate_call
|
|
114
|
+
def get_authorization_with_http_info(
|
|
115
|
+
self,
|
|
116
|
+
id: StrictStr,
|
|
117
|
+
filter_include_non_authorized: Annotated[Optional[StrictStr], Field(description="Optional. Include authorizations from all statuses.")] = None,
|
|
118
|
+
_request_timeout: Union[
|
|
119
|
+
None,
|
|
120
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
121
|
+
Tuple[
|
|
122
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
123
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
124
|
+
]
|
|
125
|
+
] = None,
|
|
126
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
127
|
+
_content_type: Optional[StrictStr] = None,
|
|
128
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
129
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
130
|
+
) -> ApiResponse[GetAuthorization200Response]:
|
|
131
|
+
"""Get an authorization
|
|
132
|
+
|
|
133
|
+
Get an authorization resource by id.
|
|
134
|
+
|
|
135
|
+
:param id: (required)
|
|
136
|
+
:type id: str
|
|
137
|
+
:param filter_include_non_authorized: Optional. Include authorizations from all statuses.
|
|
138
|
+
:type filter_include_non_authorized: str
|
|
139
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
140
|
+
number provided, it will be total request
|
|
141
|
+
timeout. It can also be a pair (tuple) of
|
|
142
|
+
(connection, read) timeouts.
|
|
143
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
144
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
145
|
+
request; this effectively ignores the
|
|
146
|
+
authentication in the spec for a single request.
|
|
147
|
+
:type _request_auth: dict, optional
|
|
148
|
+
:param _content_type: force content-type for the request.
|
|
149
|
+
:type _content_type: str, Optional
|
|
150
|
+
:param _headers: set to override the headers for a single
|
|
151
|
+
request; this effectively ignores the headers
|
|
152
|
+
in the spec for a single request.
|
|
153
|
+
:type _headers: dict, optional
|
|
154
|
+
:param _host_index: set to override the host_index for a single
|
|
155
|
+
request; this effectively ignores the host_index
|
|
156
|
+
in the spec for a single request.
|
|
157
|
+
:type _host_index: int, optional
|
|
158
|
+
:return: Returns the result object.
|
|
159
|
+
""" # noqa: E501
|
|
160
|
+
|
|
161
|
+
_param = self._get_authorization_serialize(
|
|
162
|
+
id=id,
|
|
163
|
+
filter_include_non_authorized=filter_include_non_authorized,
|
|
164
|
+
_request_auth=_request_auth,
|
|
165
|
+
_content_type=_content_type,
|
|
166
|
+
_headers=_headers,
|
|
167
|
+
_host_index=_host_index
|
|
168
|
+
)
|
|
169
|
+
|
|
170
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
171
|
+
'200': "GetAuthorization200Response",
|
|
172
|
+
}
|
|
173
|
+
response_data = self.api_client.call_api(
|
|
174
|
+
*_param,
|
|
175
|
+
_request_timeout=_request_timeout
|
|
176
|
+
)
|
|
177
|
+
response_data.read()
|
|
178
|
+
return self.api_client.response_deserialize(
|
|
179
|
+
response_data=response_data,
|
|
180
|
+
response_types_map=_response_types_map,
|
|
181
|
+
)
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
@validate_call
|
|
185
|
+
def get_authorization_without_preload_content(
|
|
186
|
+
self,
|
|
187
|
+
id: StrictStr,
|
|
188
|
+
filter_include_non_authorized: Annotated[Optional[StrictStr], Field(description="Optional. Include authorizations from all statuses.")] = None,
|
|
189
|
+
_request_timeout: Union[
|
|
190
|
+
None,
|
|
191
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
192
|
+
Tuple[
|
|
193
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
194
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
195
|
+
]
|
|
196
|
+
] = None,
|
|
197
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
198
|
+
_content_type: Optional[StrictStr] = None,
|
|
199
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
200
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
201
|
+
) -> RESTResponseType:
|
|
202
|
+
"""Get an authorization
|
|
203
|
+
|
|
204
|
+
Get an authorization resource by id.
|
|
205
|
+
|
|
206
|
+
:param id: (required)
|
|
207
|
+
:type id: str
|
|
208
|
+
:param filter_include_non_authorized: Optional. Include authorizations from all statuses.
|
|
209
|
+
:type filter_include_non_authorized: str
|
|
210
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
211
|
+
number provided, it will be total request
|
|
212
|
+
timeout. It can also be a pair (tuple) of
|
|
213
|
+
(connection, read) timeouts.
|
|
214
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
215
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
216
|
+
request; this effectively ignores the
|
|
217
|
+
authentication in the spec for a single request.
|
|
218
|
+
:type _request_auth: dict, optional
|
|
219
|
+
:param _content_type: force content-type for the request.
|
|
220
|
+
:type _content_type: str, Optional
|
|
221
|
+
:param _headers: set to override the headers for a single
|
|
222
|
+
request; this effectively ignores the headers
|
|
223
|
+
in the spec for a single request.
|
|
224
|
+
:type _headers: dict, optional
|
|
225
|
+
:param _host_index: set to override the host_index for a single
|
|
226
|
+
request; this effectively ignores the host_index
|
|
227
|
+
in the spec for a single request.
|
|
228
|
+
:type _host_index: int, optional
|
|
229
|
+
:return: Returns the result object.
|
|
230
|
+
""" # noqa: E501
|
|
231
|
+
|
|
232
|
+
_param = self._get_authorization_serialize(
|
|
233
|
+
id=id,
|
|
234
|
+
filter_include_non_authorized=filter_include_non_authorized,
|
|
235
|
+
_request_auth=_request_auth,
|
|
236
|
+
_content_type=_content_type,
|
|
237
|
+
_headers=_headers,
|
|
238
|
+
_host_index=_host_index
|
|
239
|
+
)
|
|
240
|
+
|
|
241
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
242
|
+
'200': "GetAuthorization200Response",
|
|
243
|
+
}
|
|
244
|
+
response_data = self.api_client.call_api(
|
|
245
|
+
*_param,
|
|
246
|
+
_request_timeout=_request_timeout
|
|
247
|
+
)
|
|
248
|
+
return response_data.response
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
def _get_authorization_serialize(
|
|
252
|
+
self,
|
|
253
|
+
id,
|
|
254
|
+
filter_include_non_authorized,
|
|
255
|
+
_request_auth,
|
|
256
|
+
_content_type,
|
|
257
|
+
_headers,
|
|
258
|
+
_host_index,
|
|
259
|
+
) -> RequestSerialized:
|
|
260
|
+
|
|
261
|
+
_host = None
|
|
262
|
+
|
|
263
|
+
_collection_formats: Dict[str, str] = {
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
_path_params: Dict[str, str] = {}
|
|
267
|
+
_query_params: List[Tuple[str, str]] = []
|
|
268
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
269
|
+
_form_params: List[Tuple[str, str]] = []
|
|
270
|
+
_files: Dict[
|
|
271
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
272
|
+
] = {}
|
|
273
|
+
_body_params: Optional[bytes] = None
|
|
274
|
+
|
|
275
|
+
# process the path parameters
|
|
276
|
+
if id is not None:
|
|
277
|
+
_path_params['id'] = id
|
|
278
|
+
# process the query parameters
|
|
279
|
+
if filter_include_non_authorized is not None:
|
|
280
|
+
|
|
281
|
+
_query_params.append(('filter[includeNonAuthorized]', filter_include_non_authorized))
|
|
282
|
+
|
|
283
|
+
# process the header parameters
|
|
284
|
+
# process the form parameters
|
|
285
|
+
# process the body parameter
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
# set the HTTP header `Accept`
|
|
289
|
+
if 'Accept' not in _header_params:
|
|
290
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
291
|
+
[
|
|
292
|
+
'application/vnd.api+json'
|
|
293
|
+
]
|
|
294
|
+
)
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
# authentication setting
|
|
298
|
+
_auth_settings: List[str] = [
|
|
299
|
+
'bearerAuth'
|
|
300
|
+
]
|
|
301
|
+
|
|
302
|
+
return self.api_client.param_serialize(
|
|
303
|
+
method='GET',
|
|
304
|
+
resource_path='/authorizations/{id}',
|
|
305
|
+
path_params=_path_params,
|
|
306
|
+
query_params=_query_params,
|
|
307
|
+
header_params=_header_params,
|
|
308
|
+
body=_body_params,
|
|
309
|
+
post_params=_form_params,
|
|
310
|
+
files=_files,
|
|
311
|
+
auth_settings=_auth_settings,
|
|
312
|
+
collection_formats=_collection_formats,
|
|
313
|
+
_host=_host,
|
|
314
|
+
_request_auth=_request_auth
|
|
315
|
+
)
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
@validate_call
|
|
321
|
+
def list_authorizations(
|
|
322
|
+
self,
|
|
323
|
+
page_limit: Annotated[Optional[StrictStr], Field(description="Optional. Maximum number of resources that will be returned. Maximum is 1000 resources.")] = None,
|
|
324
|
+
page_offset: Annotated[Optional[StrictStr], Field(description="Optional. Number of resources to skip.")] = None,
|
|
325
|
+
filter_account_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified account id.")] = None,
|
|
326
|
+
filter_account_type: Annotated[Optional[StrictStr], Field(description="Optional. Filter the results by account type (deposit, credit).")] = None,
|
|
327
|
+
filter_customer_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified customer id.")] = None,
|
|
328
|
+
filter_card_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified card id.")] = None,
|
|
329
|
+
filter_since: Annotated[Optional[StrictStr], Field(description="Optional. Filters the Authorizations that occurred *after* the specified date. e.g. 2020-01-13T16:01:19.346Z")] = None,
|
|
330
|
+
filter_until: Annotated[Optional[StrictStr], Field(description="Optional. Filters the Authorizations that occurred *before* the specified date. e.g. 2020-01-02T20:06:23.486Z")] = None,
|
|
331
|
+
filter_include_non_authorized: Annotated[Optional[StrictStr], Field(description="Optional. Include authorizations from all statuses.")] = None,
|
|
332
|
+
filter_status: Annotated[Optional[StrictStr], Field(description="Optional. Filter authorizations by Authorization Status.")] = None,
|
|
333
|
+
filter_merchant_category_code: Annotated[Optional[StrictStr], Field(description="Optional. Filter authorizations by their 4-digit ISO 18245 merchant category code (MCC).")] = None,
|
|
334
|
+
filter_from_amount: Annotated[Optional[StrictStr], Field(description="Optional. Filters the Authorizations that have an amount that is *higher or equal to* the specified amount (in cents). e.g. 5000")] = None,
|
|
335
|
+
filter_to_amount: Annotated[Optional[StrictStr], Field(description="Optional. Filters the Authorizations that have an amount that is *lower or equal to* the specified amount (in cents). e.g. 7000")] = None,
|
|
336
|
+
sort: Annotated[Optional[StrictStr], Field(description="Optional. Leave empty or provide sort=createdAt for ascending order. Provide sort=-createdAt (leading minus sign) for descending order.")] = None,
|
|
337
|
+
_request_timeout: Union[
|
|
338
|
+
None,
|
|
339
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
340
|
+
Tuple[
|
|
341
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
342
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
343
|
+
]
|
|
344
|
+
] = None,
|
|
345
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
346
|
+
_content_type: Optional[StrictStr] = None,
|
|
347
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
348
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
349
|
+
) -> ListAuthorizations200Response:
|
|
350
|
+
"""List authorizations
|
|
351
|
+
|
|
352
|
+
List authorizations. Filtering and sorting can be applied. Paging is available only when filtering by customer id or account id.
|
|
353
|
+
|
|
354
|
+
:param page_limit: Optional. Maximum number of resources that will be returned. Maximum is 1000 resources.
|
|
355
|
+
:type page_limit: str
|
|
356
|
+
:param page_offset: Optional. Number of resources to skip.
|
|
357
|
+
:type page_offset: str
|
|
358
|
+
:param filter_account_id: Optional. Filters the results by the specified account id.
|
|
359
|
+
:type filter_account_id: str
|
|
360
|
+
:param filter_account_type: Optional. Filter the results by account type (deposit, credit).
|
|
361
|
+
:type filter_account_type: str
|
|
362
|
+
:param filter_customer_id: Optional. Filters the results by the specified customer id.
|
|
363
|
+
:type filter_customer_id: str
|
|
364
|
+
:param filter_card_id: Optional. Filters the results by the specified card id.
|
|
365
|
+
:type filter_card_id: str
|
|
366
|
+
:param filter_since: Optional. Filters the Authorizations that occurred *after* the specified date. e.g. 2020-01-13T16:01:19.346Z
|
|
367
|
+
:type filter_since: str
|
|
368
|
+
:param filter_until: Optional. Filters the Authorizations that occurred *before* the specified date. e.g. 2020-01-02T20:06:23.486Z
|
|
369
|
+
:type filter_until: str
|
|
370
|
+
:param filter_include_non_authorized: Optional. Include authorizations from all statuses.
|
|
371
|
+
:type filter_include_non_authorized: str
|
|
372
|
+
:param filter_status: Optional. Filter authorizations by Authorization Status.
|
|
373
|
+
:type filter_status: str
|
|
374
|
+
:param filter_merchant_category_code: Optional. Filter authorizations by their 4-digit ISO 18245 merchant category code (MCC).
|
|
375
|
+
:type filter_merchant_category_code: str
|
|
376
|
+
:param filter_from_amount: Optional. Filters the Authorizations that have an amount that is *higher or equal to* the specified amount (in cents). e.g. 5000
|
|
377
|
+
:type filter_from_amount: str
|
|
378
|
+
:param filter_to_amount: Optional. Filters the Authorizations that have an amount that is *lower or equal to* the specified amount (in cents). e.g. 7000
|
|
379
|
+
:type filter_to_amount: str
|
|
380
|
+
:param sort: Optional. Leave empty or provide sort=createdAt for ascending order. Provide sort=-createdAt (leading minus sign) for descending order.
|
|
381
|
+
:type sort: str
|
|
382
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
383
|
+
number provided, it will be total request
|
|
384
|
+
timeout. It can also be a pair (tuple) of
|
|
385
|
+
(connection, read) timeouts.
|
|
386
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
387
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
388
|
+
request; this effectively ignores the
|
|
389
|
+
authentication in the spec for a single request.
|
|
390
|
+
:type _request_auth: dict, optional
|
|
391
|
+
:param _content_type: force content-type for the request.
|
|
392
|
+
:type _content_type: str, Optional
|
|
393
|
+
:param _headers: set to override the headers for a single
|
|
394
|
+
request; this effectively ignores the headers
|
|
395
|
+
in the spec for a single request.
|
|
396
|
+
:type _headers: dict, optional
|
|
397
|
+
:param _host_index: set to override the host_index for a single
|
|
398
|
+
request; this effectively ignores the host_index
|
|
399
|
+
in the spec for a single request.
|
|
400
|
+
:type _host_index: int, optional
|
|
401
|
+
:return: Returns the result object.
|
|
402
|
+
""" # noqa: E501
|
|
403
|
+
|
|
404
|
+
_param = self._list_authorizations_serialize(
|
|
405
|
+
page_limit=page_limit,
|
|
406
|
+
page_offset=page_offset,
|
|
407
|
+
filter_account_id=filter_account_id,
|
|
408
|
+
filter_account_type=filter_account_type,
|
|
409
|
+
filter_customer_id=filter_customer_id,
|
|
410
|
+
filter_card_id=filter_card_id,
|
|
411
|
+
filter_since=filter_since,
|
|
412
|
+
filter_until=filter_until,
|
|
413
|
+
filter_include_non_authorized=filter_include_non_authorized,
|
|
414
|
+
filter_status=filter_status,
|
|
415
|
+
filter_merchant_category_code=filter_merchant_category_code,
|
|
416
|
+
filter_from_amount=filter_from_amount,
|
|
417
|
+
filter_to_amount=filter_to_amount,
|
|
418
|
+
sort=sort,
|
|
419
|
+
_request_auth=_request_auth,
|
|
420
|
+
_content_type=_content_type,
|
|
421
|
+
_headers=_headers,
|
|
422
|
+
_host_index=_host_index
|
|
423
|
+
)
|
|
424
|
+
|
|
425
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
426
|
+
'200': "ListAuthorizations200Response",
|
|
427
|
+
}
|
|
428
|
+
response_data = self.api_client.call_api(
|
|
429
|
+
*_param,
|
|
430
|
+
_request_timeout=_request_timeout
|
|
431
|
+
)
|
|
432
|
+
response_data.read()
|
|
433
|
+
return self.api_client.response_deserialize(
|
|
434
|
+
response_data=response_data,
|
|
435
|
+
response_types_map=_response_types_map,
|
|
436
|
+
).data
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
@validate_call
|
|
440
|
+
def list_authorizations_with_http_info(
|
|
441
|
+
self,
|
|
442
|
+
page_limit: Annotated[Optional[StrictStr], Field(description="Optional. Maximum number of resources that will be returned. Maximum is 1000 resources.")] = None,
|
|
443
|
+
page_offset: Annotated[Optional[StrictStr], Field(description="Optional. Number of resources to skip.")] = None,
|
|
444
|
+
filter_account_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified account id.")] = None,
|
|
445
|
+
filter_account_type: Annotated[Optional[StrictStr], Field(description="Optional. Filter the results by account type (deposit, credit).")] = None,
|
|
446
|
+
filter_customer_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified customer id.")] = None,
|
|
447
|
+
filter_card_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified card id.")] = None,
|
|
448
|
+
filter_since: Annotated[Optional[StrictStr], Field(description="Optional. Filters the Authorizations that occurred *after* the specified date. e.g. 2020-01-13T16:01:19.346Z")] = None,
|
|
449
|
+
filter_until: Annotated[Optional[StrictStr], Field(description="Optional. Filters the Authorizations that occurred *before* the specified date. e.g. 2020-01-02T20:06:23.486Z")] = None,
|
|
450
|
+
filter_include_non_authorized: Annotated[Optional[StrictStr], Field(description="Optional. Include authorizations from all statuses.")] = None,
|
|
451
|
+
filter_status: Annotated[Optional[StrictStr], Field(description="Optional. Filter authorizations by Authorization Status.")] = None,
|
|
452
|
+
filter_merchant_category_code: Annotated[Optional[StrictStr], Field(description="Optional. Filter authorizations by their 4-digit ISO 18245 merchant category code (MCC).")] = None,
|
|
453
|
+
filter_from_amount: Annotated[Optional[StrictStr], Field(description="Optional. Filters the Authorizations that have an amount that is *higher or equal to* the specified amount (in cents). e.g. 5000")] = None,
|
|
454
|
+
filter_to_amount: Annotated[Optional[StrictStr], Field(description="Optional. Filters the Authorizations that have an amount that is *lower or equal to* the specified amount (in cents). e.g. 7000")] = None,
|
|
455
|
+
sort: Annotated[Optional[StrictStr], Field(description="Optional. Leave empty or provide sort=createdAt for ascending order. Provide sort=-createdAt (leading minus sign) for descending order.")] = None,
|
|
456
|
+
_request_timeout: Union[
|
|
457
|
+
None,
|
|
458
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
459
|
+
Tuple[
|
|
460
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
461
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
462
|
+
]
|
|
463
|
+
] = None,
|
|
464
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
465
|
+
_content_type: Optional[StrictStr] = None,
|
|
466
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
467
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
468
|
+
) -> ApiResponse[ListAuthorizations200Response]:
|
|
469
|
+
"""List authorizations
|
|
470
|
+
|
|
471
|
+
List authorizations. Filtering and sorting can be applied. Paging is available only when filtering by customer id or account id.
|
|
472
|
+
|
|
473
|
+
:param page_limit: Optional. Maximum number of resources that will be returned. Maximum is 1000 resources.
|
|
474
|
+
:type page_limit: str
|
|
475
|
+
:param page_offset: Optional. Number of resources to skip.
|
|
476
|
+
:type page_offset: str
|
|
477
|
+
:param filter_account_id: Optional. Filters the results by the specified account id.
|
|
478
|
+
:type filter_account_id: str
|
|
479
|
+
:param filter_account_type: Optional. Filter the results by account type (deposit, credit).
|
|
480
|
+
:type filter_account_type: str
|
|
481
|
+
:param filter_customer_id: Optional. Filters the results by the specified customer id.
|
|
482
|
+
:type filter_customer_id: str
|
|
483
|
+
:param filter_card_id: Optional. Filters the results by the specified card id.
|
|
484
|
+
:type filter_card_id: str
|
|
485
|
+
:param filter_since: Optional. Filters the Authorizations that occurred *after* the specified date. e.g. 2020-01-13T16:01:19.346Z
|
|
486
|
+
:type filter_since: str
|
|
487
|
+
:param filter_until: Optional. Filters the Authorizations that occurred *before* the specified date. e.g. 2020-01-02T20:06:23.486Z
|
|
488
|
+
:type filter_until: str
|
|
489
|
+
:param filter_include_non_authorized: Optional. Include authorizations from all statuses.
|
|
490
|
+
:type filter_include_non_authorized: str
|
|
491
|
+
:param filter_status: Optional. Filter authorizations by Authorization Status.
|
|
492
|
+
:type filter_status: str
|
|
493
|
+
:param filter_merchant_category_code: Optional. Filter authorizations by their 4-digit ISO 18245 merchant category code (MCC).
|
|
494
|
+
:type filter_merchant_category_code: str
|
|
495
|
+
:param filter_from_amount: Optional. Filters the Authorizations that have an amount that is *higher or equal to* the specified amount (in cents). e.g. 5000
|
|
496
|
+
:type filter_from_amount: str
|
|
497
|
+
:param filter_to_amount: Optional. Filters the Authorizations that have an amount that is *lower or equal to* the specified amount (in cents). e.g. 7000
|
|
498
|
+
:type filter_to_amount: str
|
|
499
|
+
:param sort: Optional. Leave empty or provide sort=createdAt for ascending order. Provide sort=-createdAt (leading minus sign) for descending order.
|
|
500
|
+
:type sort: str
|
|
501
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
502
|
+
number provided, it will be total request
|
|
503
|
+
timeout. It can also be a pair (tuple) of
|
|
504
|
+
(connection, read) timeouts.
|
|
505
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
506
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
507
|
+
request; this effectively ignores the
|
|
508
|
+
authentication in the spec for a single request.
|
|
509
|
+
:type _request_auth: dict, optional
|
|
510
|
+
:param _content_type: force content-type for the request.
|
|
511
|
+
:type _content_type: str, Optional
|
|
512
|
+
:param _headers: set to override the headers for a single
|
|
513
|
+
request; this effectively ignores the headers
|
|
514
|
+
in the spec for a single request.
|
|
515
|
+
:type _headers: dict, optional
|
|
516
|
+
:param _host_index: set to override the host_index for a single
|
|
517
|
+
request; this effectively ignores the host_index
|
|
518
|
+
in the spec for a single request.
|
|
519
|
+
:type _host_index: int, optional
|
|
520
|
+
:return: Returns the result object.
|
|
521
|
+
""" # noqa: E501
|
|
522
|
+
|
|
523
|
+
_param = self._list_authorizations_serialize(
|
|
524
|
+
page_limit=page_limit,
|
|
525
|
+
page_offset=page_offset,
|
|
526
|
+
filter_account_id=filter_account_id,
|
|
527
|
+
filter_account_type=filter_account_type,
|
|
528
|
+
filter_customer_id=filter_customer_id,
|
|
529
|
+
filter_card_id=filter_card_id,
|
|
530
|
+
filter_since=filter_since,
|
|
531
|
+
filter_until=filter_until,
|
|
532
|
+
filter_include_non_authorized=filter_include_non_authorized,
|
|
533
|
+
filter_status=filter_status,
|
|
534
|
+
filter_merchant_category_code=filter_merchant_category_code,
|
|
535
|
+
filter_from_amount=filter_from_amount,
|
|
536
|
+
filter_to_amount=filter_to_amount,
|
|
537
|
+
sort=sort,
|
|
538
|
+
_request_auth=_request_auth,
|
|
539
|
+
_content_type=_content_type,
|
|
540
|
+
_headers=_headers,
|
|
541
|
+
_host_index=_host_index
|
|
542
|
+
)
|
|
543
|
+
|
|
544
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
545
|
+
'200': "ListAuthorizations200Response",
|
|
546
|
+
}
|
|
547
|
+
response_data = self.api_client.call_api(
|
|
548
|
+
*_param,
|
|
549
|
+
_request_timeout=_request_timeout
|
|
550
|
+
)
|
|
551
|
+
response_data.read()
|
|
552
|
+
return self.api_client.response_deserialize(
|
|
553
|
+
response_data=response_data,
|
|
554
|
+
response_types_map=_response_types_map,
|
|
555
|
+
)
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
@validate_call
|
|
559
|
+
def list_authorizations_without_preload_content(
|
|
560
|
+
self,
|
|
561
|
+
page_limit: Annotated[Optional[StrictStr], Field(description="Optional. Maximum number of resources that will be returned. Maximum is 1000 resources.")] = None,
|
|
562
|
+
page_offset: Annotated[Optional[StrictStr], Field(description="Optional. Number of resources to skip.")] = None,
|
|
563
|
+
filter_account_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified account id.")] = None,
|
|
564
|
+
filter_account_type: Annotated[Optional[StrictStr], Field(description="Optional. Filter the results by account type (deposit, credit).")] = None,
|
|
565
|
+
filter_customer_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified customer id.")] = None,
|
|
566
|
+
filter_card_id: Annotated[Optional[StrictStr], Field(description="Optional. Filters the results by the specified card id.")] = None,
|
|
567
|
+
filter_since: Annotated[Optional[StrictStr], Field(description="Optional. Filters the Authorizations that occurred *after* the specified date. e.g. 2020-01-13T16:01:19.346Z")] = None,
|
|
568
|
+
filter_until: Annotated[Optional[StrictStr], Field(description="Optional. Filters the Authorizations that occurred *before* the specified date. e.g. 2020-01-02T20:06:23.486Z")] = None,
|
|
569
|
+
filter_include_non_authorized: Annotated[Optional[StrictStr], Field(description="Optional. Include authorizations from all statuses.")] = None,
|
|
570
|
+
filter_status: Annotated[Optional[StrictStr], Field(description="Optional. Filter authorizations by Authorization Status.")] = None,
|
|
571
|
+
filter_merchant_category_code: Annotated[Optional[StrictStr], Field(description="Optional. Filter authorizations by their 4-digit ISO 18245 merchant category code (MCC).")] = None,
|
|
572
|
+
filter_from_amount: Annotated[Optional[StrictStr], Field(description="Optional. Filters the Authorizations that have an amount that is *higher or equal to* the specified amount (in cents). e.g. 5000")] = None,
|
|
573
|
+
filter_to_amount: Annotated[Optional[StrictStr], Field(description="Optional. Filters the Authorizations that have an amount that is *lower or equal to* the specified amount (in cents). e.g. 7000")] = None,
|
|
574
|
+
sort: Annotated[Optional[StrictStr], Field(description="Optional. Leave empty or provide sort=createdAt for ascending order. Provide sort=-createdAt (leading minus sign) for descending order.")] = None,
|
|
575
|
+
_request_timeout: Union[
|
|
576
|
+
None,
|
|
577
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
578
|
+
Tuple[
|
|
579
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
580
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
581
|
+
]
|
|
582
|
+
] = None,
|
|
583
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
584
|
+
_content_type: Optional[StrictStr] = None,
|
|
585
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
586
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
587
|
+
) -> RESTResponseType:
|
|
588
|
+
"""List authorizations
|
|
589
|
+
|
|
590
|
+
List authorizations. Filtering and sorting can be applied. Paging is available only when filtering by customer id or account id.
|
|
591
|
+
|
|
592
|
+
:param page_limit: Optional. Maximum number of resources that will be returned. Maximum is 1000 resources.
|
|
593
|
+
:type page_limit: str
|
|
594
|
+
:param page_offset: Optional. Number of resources to skip.
|
|
595
|
+
:type page_offset: str
|
|
596
|
+
:param filter_account_id: Optional. Filters the results by the specified account id.
|
|
597
|
+
:type filter_account_id: str
|
|
598
|
+
:param filter_account_type: Optional. Filter the results by account type (deposit, credit).
|
|
599
|
+
:type filter_account_type: str
|
|
600
|
+
:param filter_customer_id: Optional. Filters the results by the specified customer id.
|
|
601
|
+
:type filter_customer_id: str
|
|
602
|
+
:param filter_card_id: Optional. Filters the results by the specified card id.
|
|
603
|
+
:type filter_card_id: str
|
|
604
|
+
:param filter_since: Optional. Filters the Authorizations that occurred *after* the specified date. e.g. 2020-01-13T16:01:19.346Z
|
|
605
|
+
:type filter_since: str
|
|
606
|
+
:param filter_until: Optional. Filters the Authorizations that occurred *before* the specified date. e.g. 2020-01-02T20:06:23.486Z
|
|
607
|
+
:type filter_until: str
|
|
608
|
+
:param filter_include_non_authorized: Optional. Include authorizations from all statuses.
|
|
609
|
+
:type filter_include_non_authorized: str
|
|
610
|
+
:param filter_status: Optional. Filter authorizations by Authorization Status.
|
|
611
|
+
:type filter_status: str
|
|
612
|
+
:param filter_merchant_category_code: Optional. Filter authorizations by their 4-digit ISO 18245 merchant category code (MCC).
|
|
613
|
+
:type filter_merchant_category_code: str
|
|
614
|
+
:param filter_from_amount: Optional. Filters the Authorizations that have an amount that is *higher or equal to* the specified amount (in cents). e.g. 5000
|
|
615
|
+
:type filter_from_amount: str
|
|
616
|
+
:param filter_to_amount: Optional. Filters the Authorizations that have an amount that is *lower or equal to* the specified amount (in cents). e.g. 7000
|
|
617
|
+
:type filter_to_amount: str
|
|
618
|
+
:param sort: Optional. Leave empty or provide sort=createdAt for ascending order. Provide sort=-createdAt (leading minus sign) for descending order.
|
|
619
|
+
:type sort: str
|
|
620
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
621
|
+
number provided, it will be total request
|
|
622
|
+
timeout. It can also be a pair (tuple) of
|
|
623
|
+
(connection, read) timeouts.
|
|
624
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
625
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
626
|
+
request; this effectively ignores the
|
|
627
|
+
authentication in the spec for a single request.
|
|
628
|
+
:type _request_auth: dict, optional
|
|
629
|
+
:param _content_type: force content-type for the request.
|
|
630
|
+
:type _content_type: str, Optional
|
|
631
|
+
:param _headers: set to override the headers for a single
|
|
632
|
+
request; this effectively ignores the headers
|
|
633
|
+
in the spec for a single request.
|
|
634
|
+
:type _headers: dict, optional
|
|
635
|
+
:param _host_index: set to override the host_index for a single
|
|
636
|
+
request; this effectively ignores the host_index
|
|
637
|
+
in the spec for a single request.
|
|
638
|
+
:type _host_index: int, optional
|
|
639
|
+
:return: Returns the result object.
|
|
640
|
+
""" # noqa: E501
|
|
641
|
+
|
|
642
|
+
_param = self._list_authorizations_serialize(
|
|
643
|
+
page_limit=page_limit,
|
|
644
|
+
page_offset=page_offset,
|
|
645
|
+
filter_account_id=filter_account_id,
|
|
646
|
+
filter_account_type=filter_account_type,
|
|
647
|
+
filter_customer_id=filter_customer_id,
|
|
648
|
+
filter_card_id=filter_card_id,
|
|
649
|
+
filter_since=filter_since,
|
|
650
|
+
filter_until=filter_until,
|
|
651
|
+
filter_include_non_authorized=filter_include_non_authorized,
|
|
652
|
+
filter_status=filter_status,
|
|
653
|
+
filter_merchant_category_code=filter_merchant_category_code,
|
|
654
|
+
filter_from_amount=filter_from_amount,
|
|
655
|
+
filter_to_amount=filter_to_amount,
|
|
656
|
+
sort=sort,
|
|
657
|
+
_request_auth=_request_auth,
|
|
658
|
+
_content_type=_content_type,
|
|
659
|
+
_headers=_headers,
|
|
660
|
+
_host_index=_host_index
|
|
661
|
+
)
|
|
662
|
+
|
|
663
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
664
|
+
'200': "ListAuthorizations200Response",
|
|
665
|
+
}
|
|
666
|
+
response_data = self.api_client.call_api(
|
|
667
|
+
*_param,
|
|
668
|
+
_request_timeout=_request_timeout
|
|
669
|
+
)
|
|
670
|
+
return response_data.response
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
def _list_authorizations_serialize(
|
|
674
|
+
self,
|
|
675
|
+
page_limit,
|
|
676
|
+
page_offset,
|
|
677
|
+
filter_account_id,
|
|
678
|
+
filter_account_type,
|
|
679
|
+
filter_customer_id,
|
|
680
|
+
filter_card_id,
|
|
681
|
+
filter_since,
|
|
682
|
+
filter_until,
|
|
683
|
+
filter_include_non_authorized,
|
|
684
|
+
filter_status,
|
|
685
|
+
filter_merchant_category_code,
|
|
686
|
+
filter_from_amount,
|
|
687
|
+
filter_to_amount,
|
|
688
|
+
sort,
|
|
689
|
+
_request_auth,
|
|
690
|
+
_content_type,
|
|
691
|
+
_headers,
|
|
692
|
+
_host_index,
|
|
693
|
+
) -> RequestSerialized:
|
|
694
|
+
|
|
695
|
+
_host = None
|
|
696
|
+
|
|
697
|
+
_collection_formats: Dict[str, str] = {
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
_path_params: Dict[str, str] = {}
|
|
701
|
+
_query_params: List[Tuple[str, str]] = []
|
|
702
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
703
|
+
_form_params: List[Tuple[str, str]] = []
|
|
704
|
+
_files: Dict[
|
|
705
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
706
|
+
] = {}
|
|
707
|
+
_body_params: Optional[bytes] = None
|
|
708
|
+
|
|
709
|
+
# process the path parameters
|
|
710
|
+
# process the query parameters
|
|
711
|
+
if page_limit is not None:
|
|
712
|
+
|
|
713
|
+
_query_params.append(('page[limit]', page_limit))
|
|
714
|
+
|
|
715
|
+
if page_offset is not None:
|
|
716
|
+
|
|
717
|
+
_query_params.append(('page[offset]', page_offset))
|
|
718
|
+
|
|
719
|
+
if filter_account_id is not None:
|
|
720
|
+
|
|
721
|
+
_query_params.append(('filter[accountId]', filter_account_id))
|
|
722
|
+
|
|
723
|
+
if filter_account_type is not None:
|
|
724
|
+
|
|
725
|
+
_query_params.append(('filter[accountType]', filter_account_type))
|
|
726
|
+
|
|
727
|
+
if filter_customer_id is not None:
|
|
728
|
+
|
|
729
|
+
_query_params.append(('filter[customerId]', filter_customer_id))
|
|
730
|
+
|
|
731
|
+
if filter_card_id is not None:
|
|
732
|
+
|
|
733
|
+
_query_params.append(('filter[cardId]', filter_card_id))
|
|
734
|
+
|
|
735
|
+
if filter_since is not None:
|
|
736
|
+
|
|
737
|
+
_query_params.append(('filter[since]', filter_since))
|
|
738
|
+
|
|
739
|
+
if filter_until is not None:
|
|
740
|
+
|
|
741
|
+
_query_params.append(('filter[until]', filter_until))
|
|
742
|
+
|
|
743
|
+
if filter_include_non_authorized is not None:
|
|
744
|
+
|
|
745
|
+
_query_params.append(('filter[includeNonAuthorized]', filter_include_non_authorized))
|
|
746
|
+
|
|
747
|
+
if filter_status is not None:
|
|
748
|
+
|
|
749
|
+
_query_params.append(('filter[status]', filter_status))
|
|
750
|
+
|
|
751
|
+
if filter_merchant_category_code is not None:
|
|
752
|
+
|
|
753
|
+
_query_params.append(('filter[merchantCategoryCode][]', filter_merchant_category_code))
|
|
754
|
+
|
|
755
|
+
if filter_from_amount is not None:
|
|
756
|
+
|
|
757
|
+
_query_params.append(('filter[fromAmount]', filter_from_amount))
|
|
758
|
+
|
|
759
|
+
if filter_to_amount is not None:
|
|
760
|
+
|
|
761
|
+
_query_params.append(('filter[toAmount]', filter_to_amount))
|
|
762
|
+
|
|
763
|
+
if sort is not None:
|
|
764
|
+
|
|
765
|
+
_query_params.append(('sort', sort))
|
|
766
|
+
|
|
767
|
+
# process the header parameters
|
|
768
|
+
# process the form parameters
|
|
769
|
+
# process the body parameter
|
|
770
|
+
|
|
771
|
+
|
|
772
|
+
# set the HTTP header `Accept`
|
|
773
|
+
if 'Accept' not in _header_params:
|
|
774
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
775
|
+
[
|
|
776
|
+
'application/vnd.api+json'
|
|
777
|
+
]
|
|
778
|
+
)
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
# authentication setting
|
|
782
|
+
_auth_settings: List[str] = [
|
|
783
|
+
'bearerAuth'
|
|
784
|
+
]
|
|
785
|
+
|
|
786
|
+
return self.api_client.param_serialize(
|
|
787
|
+
method='GET',
|
|
788
|
+
resource_path='/authorizations',
|
|
789
|
+
path_params=_path_params,
|
|
790
|
+
query_params=_query_params,
|
|
791
|
+
header_params=_header_params,
|
|
792
|
+
body=_body_params,
|
|
793
|
+
post_params=_form_params,
|
|
794
|
+
files=_files,
|
|
795
|
+
auth_settings=_auth_settings,
|
|
796
|
+
collection_formats=_collection_formats,
|
|
797
|
+
_host=_host,
|
|
798
|
+
_request_auth=_request_auth
|
|
799
|
+
)
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
|
|
804
|
+
@validate_call
|
|
805
|
+
def release_authorization(
|
|
806
|
+
self,
|
|
807
|
+
id: StrictStr,
|
|
808
|
+
body: Optional[Dict[str, Any]] = None,
|
|
809
|
+
_request_timeout: Union[
|
|
810
|
+
None,
|
|
811
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
812
|
+
Tuple[
|
|
813
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
814
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
815
|
+
]
|
|
816
|
+
] = None,
|
|
817
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
818
|
+
_content_type: Optional[StrictStr] = None,
|
|
819
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
820
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
821
|
+
) -> GetAuthorization200Response:
|
|
822
|
+
"""Release an authorization
|
|
823
|
+
|
|
824
|
+
Manually release an authorization that is in `Authorized` status. This removes the authorization hold from the account so the **available** balance increases by the authorization amount (subject to other pending activity).
|
|
825
|
+
|
|
826
|
+
:param id: (required)
|
|
827
|
+
:type id: str
|
|
828
|
+
:param body:
|
|
829
|
+
:type body: object
|
|
830
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
831
|
+
number provided, it will be total request
|
|
832
|
+
timeout. It can also be a pair (tuple) of
|
|
833
|
+
(connection, read) timeouts.
|
|
834
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
835
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
836
|
+
request; this effectively ignores the
|
|
837
|
+
authentication in the spec for a single request.
|
|
838
|
+
:type _request_auth: dict, optional
|
|
839
|
+
:param _content_type: force content-type for the request.
|
|
840
|
+
:type _content_type: str, Optional
|
|
841
|
+
:param _headers: set to override the headers for a single
|
|
842
|
+
request; this effectively ignores the headers
|
|
843
|
+
in the spec for a single request.
|
|
844
|
+
:type _headers: dict, optional
|
|
845
|
+
:param _host_index: set to override the host_index for a single
|
|
846
|
+
request; this effectively ignores the host_index
|
|
847
|
+
in the spec for a single request.
|
|
848
|
+
:type _host_index: int, optional
|
|
849
|
+
:return: Returns the result object.
|
|
850
|
+
""" # noqa: E501
|
|
851
|
+
|
|
852
|
+
_param = self._release_authorization_serialize(
|
|
853
|
+
id=id,
|
|
854
|
+
body=body,
|
|
855
|
+
_request_auth=_request_auth,
|
|
856
|
+
_content_type=_content_type,
|
|
857
|
+
_headers=_headers,
|
|
858
|
+
_host_index=_host_index
|
|
859
|
+
)
|
|
860
|
+
|
|
861
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
862
|
+
'200': "GetAuthorization200Response",
|
|
863
|
+
}
|
|
864
|
+
response_data = self.api_client.call_api(
|
|
865
|
+
*_param,
|
|
866
|
+
_request_timeout=_request_timeout
|
|
867
|
+
)
|
|
868
|
+
response_data.read()
|
|
869
|
+
return self.api_client.response_deserialize(
|
|
870
|
+
response_data=response_data,
|
|
871
|
+
response_types_map=_response_types_map,
|
|
872
|
+
).data
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
@validate_call
|
|
876
|
+
def release_authorization_with_http_info(
|
|
877
|
+
self,
|
|
878
|
+
id: StrictStr,
|
|
879
|
+
body: Optional[Dict[str, Any]] = None,
|
|
880
|
+
_request_timeout: Union[
|
|
881
|
+
None,
|
|
882
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
883
|
+
Tuple[
|
|
884
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
885
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
886
|
+
]
|
|
887
|
+
] = None,
|
|
888
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
889
|
+
_content_type: Optional[StrictStr] = None,
|
|
890
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
891
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
892
|
+
) -> ApiResponse[GetAuthorization200Response]:
|
|
893
|
+
"""Release an authorization
|
|
894
|
+
|
|
895
|
+
Manually release an authorization that is in `Authorized` status. This removes the authorization hold from the account so the **available** balance increases by the authorization amount (subject to other pending activity).
|
|
896
|
+
|
|
897
|
+
:param id: (required)
|
|
898
|
+
:type id: str
|
|
899
|
+
:param body:
|
|
900
|
+
:type body: object
|
|
901
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
902
|
+
number provided, it will be total request
|
|
903
|
+
timeout. It can also be a pair (tuple) of
|
|
904
|
+
(connection, read) timeouts.
|
|
905
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
906
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
907
|
+
request; this effectively ignores the
|
|
908
|
+
authentication in the spec for a single request.
|
|
909
|
+
:type _request_auth: dict, optional
|
|
910
|
+
:param _content_type: force content-type for the request.
|
|
911
|
+
:type _content_type: str, Optional
|
|
912
|
+
:param _headers: set to override the headers for a single
|
|
913
|
+
request; this effectively ignores the headers
|
|
914
|
+
in the spec for a single request.
|
|
915
|
+
:type _headers: dict, optional
|
|
916
|
+
:param _host_index: set to override the host_index for a single
|
|
917
|
+
request; this effectively ignores the host_index
|
|
918
|
+
in the spec for a single request.
|
|
919
|
+
:type _host_index: int, optional
|
|
920
|
+
:return: Returns the result object.
|
|
921
|
+
""" # noqa: E501
|
|
922
|
+
|
|
923
|
+
_param = self._release_authorization_serialize(
|
|
924
|
+
id=id,
|
|
925
|
+
body=body,
|
|
926
|
+
_request_auth=_request_auth,
|
|
927
|
+
_content_type=_content_type,
|
|
928
|
+
_headers=_headers,
|
|
929
|
+
_host_index=_host_index
|
|
930
|
+
)
|
|
931
|
+
|
|
932
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
933
|
+
'200': "GetAuthorization200Response",
|
|
934
|
+
}
|
|
935
|
+
response_data = self.api_client.call_api(
|
|
936
|
+
*_param,
|
|
937
|
+
_request_timeout=_request_timeout
|
|
938
|
+
)
|
|
939
|
+
response_data.read()
|
|
940
|
+
return self.api_client.response_deserialize(
|
|
941
|
+
response_data=response_data,
|
|
942
|
+
response_types_map=_response_types_map,
|
|
943
|
+
)
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
@validate_call
|
|
947
|
+
def release_authorization_without_preload_content(
|
|
948
|
+
self,
|
|
949
|
+
id: StrictStr,
|
|
950
|
+
body: Optional[Dict[str, Any]] = None,
|
|
951
|
+
_request_timeout: Union[
|
|
952
|
+
None,
|
|
953
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
954
|
+
Tuple[
|
|
955
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
956
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
957
|
+
]
|
|
958
|
+
] = None,
|
|
959
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
960
|
+
_content_type: Optional[StrictStr] = None,
|
|
961
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
962
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
963
|
+
) -> RESTResponseType:
|
|
964
|
+
"""Release an authorization
|
|
965
|
+
|
|
966
|
+
Manually release an authorization that is in `Authorized` status. This removes the authorization hold from the account so the **available** balance increases by the authorization amount (subject to other pending activity).
|
|
967
|
+
|
|
968
|
+
:param id: (required)
|
|
969
|
+
:type id: str
|
|
970
|
+
:param body:
|
|
971
|
+
:type body: object
|
|
972
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
973
|
+
number provided, it will be total request
|
|
974
|
+
timeout. It can also be a pair (tuple) of
|
|
975
|
+
(connection, read) timeouts.
|
|
976
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
977
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
978
|
+
request; this effectively ignores the
|
|
979
|
+
authentication in the spec for a single request.
|
|
980
|
+
:type _request_auth: dict, optional
|
|
981
|
+
:param _content_type: force content-type for the request.
|
|
982
|
+
:type _content_type: str, Optional
|
|
983
|
+
:param _headers: set to override the headers for a single
|
|
984
|
+
request; this effectively ignores the headers
|
|
985
|
+
in the spec for a single request.
|
|
986
|
+
:type _headers: dict, optional
|
|
987
|
+
:param _host_index: set to override the host_index for a single
|
|
988
|
+
request; this effectively ignores the host_index
|
|
989
|
+
in the spec for a single request.
|
|
990
|
+
:type _host_index: int, optional
|
|
991
|
+
:return: Returns the result object.
|
|
992
|
+
""" # noqa: E501
|
|
993
|
+
|
|
994
|
+
_param = self._release_authorization_serialize(
|
|
995
|
+
id=id,
|
|
996
|
+
body=body,
|
|
997
|
+
_request_auth=_request_auth,
|
|
998
|
+
_content_type=_content_type,
|
|
999
|
+
_headers=_headers,
|
|
1000
|
+
_host_index=_host_index
|
|
1001
|
+
)
|
|
1002
|
+
|
|
1003
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1004
|
+
'200': "GetAuthorization200Response",
|
|
1005
|
+
}
|
|
1006
|
+
response_data = self.api_client.call_api(
|
|
1007
|
+
*_param,
|
|
1008
|
+
_request_timeout=_request_timeout
|
|
1009
|
+
)
|
|
1010
|
+
return response_data.response
|
|
1011
|
+
|
|
1012
|
+
|
|
1013
|
+
def _release_authorization_serialize(
|
|
1014
|
+
self,
|
|
1015
|
+
id,
|
|
1016
|
+
body,
|
|
1017
|
+
_request_auth,
|
|
1018
|
+
_content_type,
|
|
1019
|
+
_headers,
|
|
1020
|
+
_host_index,
|
|
1021
|
+
) -> RequestSerialized:
|
|
1022
|
+
|
|
1023
|
+
_host = None
|
|
1024
|
+
|
|
1025
|
+
_collection_formats: Dict[str, str] = {
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
_path_params: Dict[str, str] = {}
|
|
1029
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1030
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1031
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1032
|
+
_files: Dict[
|
|
1033
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1034
|
+
] = {}
|
|
1035
|
+
_body_params: Optional[bytes] = None
|
|
1036
|
+
|
|
1037
|
+
# process the path parameters
|
|
1038
|
+
if id is not None:
|
|
1039
|
+
_path_params['id'] = id
|
|
1040
|
+
# process the query parameters
|
|
1041
|
+
# process the header parameters
|
|
1042
|
+
# process the form parameters
|
|
1043
|
+
# process the body parameter
|
|
1044
|
+
if body is not None:
|
|
1045
|
+
_body_params = body
|
|
1046
|
+
|
|
1047
|
+
|
|
1048
|
+
# set the HTTP header `Accept`
|
|
1049
|
+
if 'Accept' not in _header_params:
|
|
1050
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1051
|
+
[
|
|
1052
|
+
'application/vnd.api+json'
|
|
1053
|
+
]
|
|
1054
|
+
)
|
|
1055
|
+
|
|
1056
|
+
# set the HTTP header `Content-Type`
|
|
1057
|
+
if _content_type:
|
|
1058
|
+
_header_params['Content-Type'] = _content_type
|
|
1059
|
+
else:
|
|
1060
|
+
_default_content_type = (
|
|
1061
|
+
self.api_client.select_header_content_type(
|
|
1062
|
+
[
|
|
1063
|
+
'application/vnd.api+json'
|
|
1064
|
+
]
|
|
1065
|
+
)
|
|
1066
|
+
)
|
|
1067
|
+
if _default_content_type is not None:
|
|
1068
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1069
|
+
|
|
1070
|
+
# authentication setting
|
|
1071
|
+
_auth_settings: List[str] = [
|
|
1072
|
+
'bearerAuth'
|
|
1073
|
+
]
|
|
1074
|
+
|
|
1075
|
+
return self.api_client.param_serialize(
|
|
1076
|
+
method='POST',
|
|
1077
|
+
resource_path='/authorizations/{id}/release',
|
|
1078
|
+
path_params=_path_params,
|
|
1079
|
+
query_params=_query_params,
|
|
1080
|
+
header_params=_header_params,
|
|
1081
|
+
body=_body_params,
|
|
1082
|
+
post_params=_form_params,
|
|
1083
|
+
files=_files,
|
|
1084
|
+
auth_settings=_auth_settings,
|
|
1085
|
+
collection_formats=_collection_formats,
|
|
1086
|
+
_host=_host,
|
|
1087
|
+
_request_auth=_request_auth
|
|
1088
|
+
)
|
|
1089
|
+
|
|
1090
|
+
|