dana-python 2.1.6__tar.gz → 2.1.7__tar.gz
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.
- {dana_python-2.1.6/dana_python.egg-info → dana_python-2.1.7}/PKG-INFO +1 -1
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/__init__.py +12 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/api/merchant_management_api.py +335 -8
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/enum.py +44 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/__init__.py +12 -0
- dana_python-2.1.7/dana/merchant_management/v1/models/merchant_account_info.py +187 -0
- dana_python-2.1.7/dana/merchant_management/v1/models/merchant_certificate_info.py +135 -0
- dana_python-2.1.7/dana/merchant_management/v1/models/merchant_contact_address.py +157 -0
- dana_python-2.1.7/dana/merchant_management/v1/models/merchant_contact_email.py +126 -0
- dana_python-2.1.7/dana/merchant_management/v1/models/merchant_contact_mobile_no.py +129 -0
- dana_python-2.1.7/dana/merchant_management/v1/models/merchant_corporate_certificate.py +129 -0
- dana_python-2.1.7/dana/merchant_management/v1/models/merchant_information.py +310 -0
- dana_python-2.1.7/dana/merchant_management/v1/models/query_merchant_info_request.py +138 -0
- dana_python-2.1.7/dana/merchant_management/v1/models/query_merchant_info_response.py +132 -0
- dana_python-2.1.7/dana/merchant_management/v1/models/query_merchant_info_response_response.py +136 -0
- dana_python-2.1.7/dana/merchant_management/v1/models/query_merchant_info_response_response_body.py +136 -0
- dana_python-2.1.7/dana/merchant_management/v1/models/query_merchant_info_response_response_head.py +159 -0
- {dana_python-2.1.6 → dana_python-2.1.7/dana_python.egg-info}/PKG-INFO +1 -1
- {dana_python-2.1.6 → dana_python-2.1.7}/dana_python.egg-info/SOURCES.txt +12 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/pyproject.toml +1 -1
- {dana_python-2.1.6 → dana_python-2.1.7}/tests/test_merchant_management_api.py +38 -2
- {dana_python-2.1.6 → dana_python-2.1.7}/LICENSE +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/README.md +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/__init__.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/api_client.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/api_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/base/__init__.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/base/configuration.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/base/model.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/base/types.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/__init__.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/v1/__init__.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/v1/api/__init__.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/v1/api/disbursement_api.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/v1/enum.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/v1/models/__init__.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/v1/models/bank_account_inquiry_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/v1/models/bank_account_inquiry_request_additional_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/v1/models/bank_account_inquiry_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/v1/models/bank_account_inquiry_response_additional_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/v1/models/dana_account_inquiry_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/v1/models/dana_account_inquiry_request_additional_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/v1/models/dana_account_inquiry_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/v1/models/money.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/v1/models/transfer_to_bank_inquiry_status_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/v1/models/transfer_to_bank_inquiry_status_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/v1/models/transfer_to_bank_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/v1/models/transfer_to_bank_request_additional_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/v1/models/transfer_to_bank_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/v1/models/transfer_to_dana_inquiry_status_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/v1/models/transfer_to_dana_inquiry_status_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/v1/models/transfer_to_dana_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/v1/models/transfer_to_dana_request_additional_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/disbursement/v1/models/transfer_to_dana_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/exceptions.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/__init__.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/api/__init__.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/address_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/asset_card_list_item.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/business_docs.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/create_division_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/create_division_request_ext_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/create_division_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/create_division_response_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/create_division_response_response_body.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/create_division_response_response_head.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/create_shop_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/create_shop_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/create_shop_response_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/create_shop_response_response_body.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/create_shop_response_response_head.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/division_resource_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/member_asset_result_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/merchant_resource_information.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/mobile_no_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/pic_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/query_asset_card_list_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/query_asset_card_list_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/query_asset_card_list_response_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/query_asset_card_list_response_response_body.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/query_asset_card_list_response_response_head.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/query_division_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/query_division_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/query_division_response_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/query_division_response_response_body.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/query_division_response_response_head.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/query_merchant_resource_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/query_merchant_resource_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/query_merchant_resource_response_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/query_merchant_resource_response_response_body.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/query_merchant_resource_response_response_head.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/query_shop_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/query_shop_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/query_shop_response_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/query_shop_response_response_body.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/query_shop_response_response_head.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/result_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/shop_resource_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/update_division_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/update_division_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/update_division_response_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/update_division_response_response_body.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/update_division_response_response_head.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/update_shop_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/update_shop_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/update_shop_response_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/update_shop_response_response_head.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/models/user_name.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/__init__.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/__init__.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/api/__init__.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/api/payment_gateway_api.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/custom_validation.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/enum.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/__init__.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/actor_context.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/amount_detail.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/audit_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/buyer.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/cancel_order_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/cancel_order_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/consult_pay_payment_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/consult_pay_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/consult_pay_request_additional_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/consult_pay_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/create_order_by_api_additional_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/create_order_by_api_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/create_order_by_redirect_additional_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/create_order_by_redirect_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/create_order_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/create_order_response_additional_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/env_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/goods.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/money.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/order_api_object.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/order_redirect_object.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/pay_option_additional_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/pay_option_detail.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/pay_option_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/payment_view.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/promo_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/query_payment_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/query_payment_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/query_payment_response_additional_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/refund_option_bill.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/refund_order_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/refund_order_request_additional_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/refund_order_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/seller.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/shipping_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/status_detail.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/time_detail.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/url_param.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/payment_gateway/v1/models/virtual_account_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/rest.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/utils/date_validation.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/utils/models.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/utils/open_api_configuration.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/utils/open_api_header.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/utils/script.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/utils/snap_configuration.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/utils/snap_header.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/utils/url.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/webhook/__init__.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/webhook/finish_notify_payment_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/webhook/finish_notify_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/webhook/finish_notify_request_additional_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/webhook/finish_notify_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/webhook/money.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/webhook/pay_option_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/webhook/shop_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/webhook/webhook.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/__init__.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/__init__.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/api/__init__.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/api/widget_api.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/custom_validation.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/enum.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/__init__.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/account_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/account_unbinding_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/account_unbinding_request_additional_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/account_unbinding_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/amount_detail.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/apply_ott_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/apply_ott_request_additional_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/apply_ott_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/apply_ott_response_user_resources_inner.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/apply_token_authorization_code_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/apply_token_refresh_token_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/apply_token_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/apply_token_response_additional_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/apply_token_response_additional_info_user_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/balance_inquiry_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/balance_inquiry_request_additional_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/balance_inquiry_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/buyer.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/cancel_order_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/cancel_order_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/env_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/goods.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/international_order_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/international_order_info_exchange_rate.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/money.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/oauth2_url_data.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/oauth2_url_data_seamless_data.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/order.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/pay_option_detail.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/pay_option_detail_additional_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/pay_option_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/payment_promo_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/payment_view.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/query_payment_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/query_payment_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/query_payment_response_additional_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/query_user_profile_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/query_user_profile_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/query_user_profile_response_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/query_user_profile_response_response_body.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/query_user_profile_response_response_head.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/refund_order_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/refund_order_request_additional_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/refund_order_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/refund_promo_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/result_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/seller.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/service_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/shipping_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/status_detail.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/time_detail.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/url_param.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/user_resource_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/virtual_account_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/widget_payment_request.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/widget_payment_request_additional_info.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/models/widget_payment_response.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana/widget/v1/util.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana_python.egg-info/dependency_links.txt +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana_python.egg-info/requires.txt +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/dana_python.egg-info/top_level.txt +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/setup.cfg +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/tests/test_disbursement_api.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/tests/test_payment_gateway_api.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/tests/test_payment_gateway_with_automation.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/tests/test_snap_header.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/tests/test_webhook.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/tests/test_widget_api.py +0 -0
- {dana_python-2.1.6 → dana_python-2.1.7}/tests/test_widget_with_automation.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dana-python
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.7
|
|
4
4
|
Summary: API Client (SDK) for DANA APIs based on https://dashboard.dana.id/api-docs
|
|
5
5
|
Author-email: DANA Package Manager <package-manager@dana.id>
|
|
6
6
|
Maintainer-email: DANA Package Manager <package-manager@dana.id>
|
|
@@ -52,6 +52,13 @@ from dana.merchant_management.v1.models.create_shop_response_response_body impor
|
|
|
52
52
|
from dana.merchant_management.v1.models.create_shop_response_response_head import CreateShopResponseResponseHead
|
|
53
53
|
from dana.merchant_management.v1.models.division_resource_info import DivisionResourceInfo
|
|
54
54
|
from dana.merchant_management.v1.models.member_asset_result_info import MemberAssetResultInfo
|
|
55
|
+
from dana.merchant_management.v1.models.merchant_account_info import MerchantAccountInfo
|
|
56
|
+
from dana.merchant_management.v1.models.merchant_certificate_info import MerchantCertificateInfo
|
|
57
|
+
from dana.merchant_management.v1.models.merchant_contact_address import MerchantContactAddress
|
|
58
|
+
from dana.merchant_management.v1.models.merchant_contact_email import MerchantContactEmail
|
|
59
|
+
from dana.merchant_management.v1.models.merchant_contact_mobile_no import MerchantContactMobileNo
|
|
60
|
+
from dana.merchant_management.v1.models.merchant_corporate_certificate import MerchantCorporateCertificate
|
|
61
|
+
from dana.merchant_management.v1.models.merchant_information import MerchantInformation
|
|
55
62
|
from dana.merchant_management.v1.models.merchant_resource_information import MerchantResourceInformation
|
|
56
63
|
from dana.merchant_management.v1.models.mobile_no_info import MobileNoInfo
|
|
57
64
|
from dana.merchant_management.v1.models.pic_info import PicInfo
|
|
@@ -65,6 +72,11 @@ from dana.merchant_management.v1.models.query_division_response import QueryDivi
|
|
|
65
72
|
from dana.merchant_management.v1.models.query_division_response_response import QueryDivisionResponseResponse
|
|
66
73
|
from dana.merchant_management.v1.models.query_division_response_response_body import QueryDivisionResponseResponseBody
|
|
67
74
|
from dana.merchant_management.v1.models.query_division_response_response_head import QueryDivisionResponseResponseHead
|
|
75
|
+
from dana.merchant_management.v1.models.query_merchant_info_request import QueryMerchantInfoRequest
|
|
76
|
+
from dana.merchant_management.v1.models.query_merchant_info_response import QueryMerchantInfoResponse
|
|
77
|
+
from dana.merchant_management.v1.models.query_merchant_info_response_response import QueryMerchantInfoResponseResponse
|
|
78
|
+
from dana.merchant_management.v1.models.query_merchant_info_response_response_body import QueryMerchantInfoResponseResponseBody
|
|
79
|
+
from dana.merchant_management.v1.models.query_merchant_info_response_response_head import QueryMerchantInfoResponseResponseHead
|
|
68
80
|
from dana.merchant_management.v1.models.query_merchant_resource_request import QueryMerchantResourceRequest
|
|
69
81
|
from dana.merchant_management.v1.models.query_merchant_resource_response import QueryMerchantResourceResponse
|
|
70
82
|
from dana.merchant_management.v1.models.query_merchant_resource_response_response import QueryMerchantResourceResponseResponse
|
{dana_python-2.1.6 → dana_python-2.1.7}/dana/merchant_management/v1/api/merchant_management_api.py
RENAMED
|
@@ -41,6 +41,8 @@ from dana.merchant_management.v1.models.query_asset_card_list_request import Que
|
|
|
41
41
|
from dana.merchant_management.v1.models.query_asset_card_list_response import QueryAssetCardListResponse
|
|
42
42
|
from dana.merchant_management.v1.models.query_division_request import QueryDivisionRequest
|
|
43
43
|
from dana.merchant_management.v1.models.query_division_response import QueryDivisionResponse
|
|
44
|
+
from dana.merchant_management.v1.models.query_merchant_info_request import QueryMerchantInfoRequest
|
|
45
|
+
from dana.merchant_management.v1.models.query_merchant_info_response import QueryMerchantInfoResponse
|
|
44
46
|
from dana.merchant_management.v1.models.query_merchant_resource_request import QueryMerchantResourceRequest
|
|
45
47
|
from dana.merchant_management.v1.models.query_merchant_resource_response import QueryMerchantResourceResponse
|
|
46
48
|
from dana.merchant_management.v1.models.query_shop_request import QueryShopRequest
|
|
@@ -330,6 +332,7 @@ class MerchantManagementApi:
|
|
|
330
332
|
# For OPEN_API type, we use CLIENT_SECRET authentication with signature
|
|
331
333
|
# merge list of auth settings with Open API runtime headers
|
|
332
334
|
_auth_settings = OpenApiHeader.merge_with_open_api_runtime_headers(_auth_settings)
|
|
335
|
+
_function_name = "dana.merchant.division.createDivision"
|
|
333
336
|
# Create the full request structure for OPEN_API
|
|
334
337
|
# Wrap the simplified body parameters in the proper DANA request format
|
|
335
338
|
|
|
@@ -338,7 +341,7 @@ class MerchantManagementApi:
|
|
|
338
341
|
method='POST',
|
|
339
342
|
resource_path='/dana/merchant/division/createDivision.htm',
|
|
340
343
|
body='{}', # Empty body for head generation
|
|
341
|
-
function_name=
|
|
344
|
+
function_name=_function_name,
|
|
342
345
|
client_id=self.api_client.configuration.get_api_key_with_prefix('X_PARTNER_ID'),
|
|
343
346
|
client_secret=self.api_client.configuration.get_api_key_with_prefix('CLIENT_SECRET')
|
|
344
347
|
)
|
|
@@ -646,6 +649,7 @@ class MerchantManagementApi:
|
|
|
646
649
|
# For OPEN_API type, we use CLIENT_SECRET authentication with signature
|
|
647
650
|
# merge list of auth settings with Open API runtime headers
|
|
648
651
|
_auth_settings = OpenApiHeader.merge_with_open_api_runtime_headers(_auth_settings)
|
|
652
|
+
_function_name = "dana.merchant.shop.createShop"
|
|
649
653
|
# Create the full request structure for OPEN_API
|
|
650
654
|
# Wrap the simplified body parameters in the proper DANA request format
|
|
651
655
|
|
|
@@ -654,7 +658,7 @@ class MerchantManagementApi:
|
|
|
654
658
|
method='POST',
|
|
655
659
|
resource_path='/dana/merchant/shop/createShop.htm',
|
|
656
660
|
body='{}', # Empty body for head generation
|
|
657
|
-
function_name=
|
|
661
|
+
function_name=_function_name,
|
|
658
662
|
client_id=self.api_client.configuration.get_api_key_with_prefix('X_PARTNER_ID'),
|
|
659
663
|
client_secret=self.api_client.configuration.get_api_key_with_prefix('CLIENT_SECRET')
|
|
660
664
|
)
|
|
@@ -962,6 +966,7 @@ class MerchantManagementApi:
|
|
|
962
966
|
# For OPEN_API type, we use CLIENT_SECRET authentication with signature
|
|
963
967
|
# merge list of auth settings with Open API runtime headers
|
|
964
968
|
_auth_settings = OpenApiHeader.merge_with_open_api_runtime_headers(_auth_settings)
|
|
969
|
+
_function_name = "dana.member.asset.queryAssetCardList"
|
|
965
970
|
# Create the full request structure for OPEN_API
|
|
966
971
|
# Wrap the simplified body parameters in the proper DANA request format
|
|
967
972
|
|
|
@@ -970,7 +975,7 @@ class MerchantManagementApi:
|
|
|
970
975
|
method='POST',
|
|
971
976
|
resource_path='/dana/member/asset/queryAssetCardList.htm',
|
|
972
977
|
body='{}', # Empty body for head generation
|
|
973
|
-
function_name=
|
|
978
|
+
function_name=_function_name,
|
|
974
979
|
client_id=self.api_client.configuration.get_api_key_with_prefix('X_PARTNER_ID'),
|
|
975
980
|
client_secret=self.api_client.configuration.get_api_key_with_prefix('CLIENT_SECRET')
|
|
976
981
|
)
|
|
@@ -1278,6 +1283,7 @@ class MerchantManagementApi:
|
|
|
1278
1283
|
# For OPEN_API type, we use CLIENT_SECRET authentication with signature
|
|
1279
1284
|
# merge list of auth settings with Open API runtime headers
|
|
1280
1285
|
_auth_settings = OpenApiHeader.merge_with_open_api_runtime_headers(_auth_settings)
|
|
1286
|
+
_function_name = "dana.merchant.division.queryDivision"
|
|
1281
1287
|
# Create the full request structure for OPEN_API
|
|
1282
1288
|
# Wrap the simplified body parameters in the proper DANA request format
|
|
1283
1289
|
|
|
@@ -1286,7 +1292,7 @@ class MerchantManagementApi:
|
|
|
1286
1292
|
method='POST',
|
|
1287
1293
|
resource_path='/dana/merchant/division/queryDivision.htm',
|
|
1288
1294
|
body='{}', # Empty body for head generation
|
|
1289
|
-
function_name=
|
|
1295
|
+
function_name=_function_name,
|
|
1290
1296
|
client_id=self.api_client.configuration.get_api_key_with_prefix('X_PARTNER_ID'),
|
|
1291
1297
|
client_secret=self.api_client.configuration.get_api_key_with_prefix('CLIENT_SECRET')
|
|
1292
1298
|
)
|
|
@@ -1335,6 +1341,323 @@ class MerchantManagementApi:
|
|
|
1335
1341
|
)
|
|
1336
1342
|
|
|
1337
1343
|
|
|
1344
|
+
@validate_call
|
|
1345
|
+
def query_merchant_info(
|
|
1346
|
+
self,
|
|
1347
|
+
query_merchant_info_request: QueryMerchantInfoRequest,
|
|
1348
|
+
_request_timeout: Union[
|
|
1349
|
+
None,
|
|
1350
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1351
|
+
Tuple[
|
|
1352
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1353
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1354
|
+
]
|
|
1355
|
+
] = None,
|
|
1356
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1357
|
+
_content_type: Optional[StrictStr] = None,
|
|
1358
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1359
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1360
|
+
) -> QueryMerchantInfoResponse:
|
|
1361
|
+
"""Member – Query Merchant Info
|
|
1362
|
+
|
|
1363
|
+
Query merchant profile information by login identifier (for example mobile number). JSON envelope uses `request.head`, `request.body`, and root `signature` (same Open API pattern as other `.htm` endpoints).
|
|
1364
|
+
|
|
1365
|
+
:param query_merchant_info_request: (required)
|
|
1366
|
+
:type query_merchant_info_request: QueryMerchantInfoRequest
|
|
1367
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1368
|
+
number provided, it will be total request
|
|
1369
|
+
timeout. It can also be a pair (tuple) of
|
|
1370
|
+
(connection, read) timeouts.
|
|
1371
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1372
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1373
|
+
request; this effectively ignores the
|
|
1374
|
+
authentication in the spec for a single request.
|
|
1375
|
+
:type _request_auth: dict, optional
|
|
1376
|
+
:param _content_type: force content-type for the request.
|
|
1377
|
+
:type _content_type: str, Optional
|
|
1378
|
+
:param _headers: set to override the headers for a single
|
|
1379
|
+
request; this effectively ignores the headers
|
|
1380
|
+
in the spec for a single request.
|
|
1381
|
+
:type _headers: dict, optional
|
|
1382
|
+
:param _host_index: set to override the host_index for a single
|
|
1383
|
+
request; this effectively ignores the host_index
|
|
1384
|
+
in the spec for a single request.
|
|
1385
|
+
:type _host_index: int, optional
|
|
1386
|
+
:return: Returns the result object.
|
|
1387
|
+
""" # noqa: E501
|
|
1388
|
+
|
|
1389
|
+
_param = self._query_merchant_info_serialize(
|
|
1390
|
+
query_merchant_info_request=query_merchant_info_request,
|
|
1391
|
+
_request_auth=_request_auth,
|
|
1392
|
+
_content_type=_content_type,
|
|
1393
|
+
_headers=_headers,
|
|
1394
|
+
_host_index=_host_index
|
|
1395
|
+
)
|
|
1396
|
+
|
|
1397
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1398
|
+
'200': "QueryMerchantInfoResponse",
|
|
1399
|
+
}
|
|
1400
|
+
response_data = self.api_client.call_api(
|
|
1401
|
+
*_param,
|
|
1402
|
+
_request_timeout=_request_timeout
|
|
1403
|
+
)
|
|
1404
|
+
response_data.read()
|
|
1405
|
+
return self.api_client.response_deserialize(
|
|
1406
|
+
response_data=response_data,
|
|
1407
|
+
response_types_map=_response_types_map,
|
|
1408
|
+
).data
|
|
1409
|
+
|
|
1410
|
+
|
|
1411
|
+
@validate_call
|
|
1412
|
+
def query_merchant_info_with_http_info(
|
|
1413
|
+
self,
|
|
1414
|
+
query_merchant_info_request: QueryMerchantInfoRequest,
|
|
1415
|
+
_request_timeout: Union[
|
|
1416
|
+
None,
|
|
1417
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1418
|
+
Tuple[
|
|
1419
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1420
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1421
|
+
]
|
|
1422
|
+
] = None,
|
|
1423
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1424
|
+
_content_type: Optional[StrictStr] = None,
|
|
1425
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1426
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1427
|
+
) -> ApiResponse[QueryMerchantInfoResponse]:
|
|
1428
|
+
"""Member – Query Merchant Info
|
|
1429
|
+
|
|
1430
|
+
Query merchant profile information by login identifier (for example mobile number). JSON envelope uses `request.head`, `request.body`, and root `signature` (same Open API pattern as other `.htm` endpoints).
|
|
1431
|
+
|
|
1432
|
+
:param query_merchant_info_request: (required)
|
|
1433
|
+
:type query_merchant_info_request: QueryMerchantInfoRequest
|
|
1434
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1435
|
+
number provided, it will be total request
|
|
1436
|
+
timeout. It can also be a pair (tuple) of
|
|
1437
|
+
(connection, read) timeouts.
|
|
1438
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1439
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1440
|
+
request; this effectively ignores the
|
|
1441
|
+
authentication in the spec for a single request.
|
|
1442
|
+
:type _request_auth: dict, optional
|
|
1443
|
+
:param _content_type: force content-type for the request.
|
|
1444
|
+
:type _content_type: str, Optional
|
|
1445
|
+
:param _headers: set to override the headers for a single
|
|
1446
|
+
request; this effectively ignores the headers
|
|
1447
|
+
in the spec for a single request.
|
|
1448
|
+
:type _headers: dict, optional
|
|
1449
|
+
:param _host_index: set to override the host_index for a single
|
|
1450
|
+
request; this effectively ignores the host_index
|
|
1451
|
+
in the spec for a single request.
|
|
1452
|
+
:type _host_index: int, optional
|
|
1453
|
+
:return: Returns the result object.
|
|
1454
|
+
""" # noqa: E501
|
|
1455
|
+
|
|
1456
|
+
_param = self._query_merchant_info_serialize(
|
|
1457
|
+
query_merchant_info_request=query_merchant_info_request,
|
|
1458
|
+
_request_auth=_request_auth,
|
|
1459
|
+
_content_type=_content_type,
|
|
1460
|
+
_headers=_headers,
|
|
1461
|
+
_host_index=_host_index
|
|
1462
|
+
)
|
|
1463
|
+
|
|
1464
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1465
|
+
'200': "QueryMerchantInfoResponse",
|
|
1466
|
+
}
|
|
1467
|
+
response_data = self.api_client.call_api(
|
|
1468
|
+
*_param,
|
|
1469
|
+
_request_timeout=_request_timeout
|
|
1470
|
+
)
|
|
1471
|
+
response_data.read()
|
|
1472
|
+
return self.api_client.response_deserialize(
|
|
1473
|
+
response_data=response_data,
|
|
1474
|
+
response_types_map=_response_types_map,
|
|
1475
|
+
)
|
|
1476
|
+
|
|
1477
|
+
|
|
1478
|
+
@validate_call
|
|
1479
|
+
def query_merchant_info_without_preload_content(
|
|
1480
|
+
self,
|
|
1481
|
+
query_merchant_info_request: QueryMerchantInfoRequest,
|
|
1482
|
+
_request_timeout: Union[
|
|
1483
|
+
None,
|
|
1484
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1485
|
+
Tuple[
|
|
1486
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1487
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1488
|
+
]
|
|
1489
|
+
] = None,
|
|
1490
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1491
|
+
_content_type: Optional[StrictStr] = None,
|
|
1492
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1493
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1494
|
+
) -> RESTResponseType:
|
|
1495
|
+
"""Member – Query Merchant Info
|
|
1496
|
+
|
|
1497
|
+
Query merchant profile information by login identifier (for example mobile number). JSON envelope uses `request.head`, `request.body`, and root `signature` (same Open API pattern as other `.htm` endpoints).
|
|
1498
|
+
|
|
1499
|
+
:param query_merchant_info_request: (required)
|
|
1500
|
+
:type query_merchant_info_request: QueryMerchantInfoRequest
|
|
1501
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1502
|
+
number provided, it will be total request
|
|
1503
|
+
timeout. It can also be a pair (tuple) of
|
|
1504
|
+
(connection, read) timeouts.
|
|
1505
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1506
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1507
|
+
request; this effectively ignores the
|
|
1508
|
+
authentication in the spec for a single request.
|
|
1509
|
+
:type _request_auth: dict, optional
|
|
1510
|
+
:param _content_type: force content-type for the request.
|
|
1511
|
+
:type _content_type: str, Optional
|
|
1512
|
+
:param _headers: set to override the headers for a single
|
|
1513
|
+
request; this effectively ignores the headers
|
|
1514
|
+
in the spec for a single request.
|
|
1515
|
+
:type _headers: dict, optional
|
|
1516
|
+
:param _host_index: set to override the host_index for a single
|
|
1517
|
+
request; this effectively ignores the host_index
|
|
1518
|
+
in the spec for a single request.
|
|
1519
|
+
:type _host_index: int, optional
|
|
1520
|
+
:return: Returns the result object.
|
|
1521
|
+
""" # noqa: E501
|
|
1522
|
+
|
|
1523
|
+
_param = self._query_merchant_info_serialize(
|
|
1524
|
+
query_merchant_info_request=query_merchant_info_request,
|
|
1525
|
+
_request_auth=_request_auth,
|
|
1526
|
+
_content_type=_content_type,
|
|
1527
|
+
_headers=_headers,
|
|
1528
|
+
_host_index=_host_index
|
|
1529
|
+
)
|
|
1530
|
+
|
|
1531
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1532
|
+
'200': "QueryMerchantInfoResponse",
|
|
1533
|
+
}
|
|
1534
|
+
response_data = self.api_client.call_api(
|
|
1535
|
+
*_param,
|
|
1536
|
+
_request_timeout=_request_timeout
|
|
1537
|
+
)
|
|
1538
|
+
return response_data.response
|
|
1539
|
+
|
|
1540
|
+
|
|
1541
|
+
def _query_merchant_info_serialize(
|
|
1542
|
+
self,
|
|
1543
|
+
query_merchant_info_request: Type[BaseSdkModel],
|
|
1544
|
+
_request_auth,
|
|
1545
|
+
_content_type,
|
|
1546
|
+
_headers,
|
|
1547
|
+
_host_index,
|
|
1548
|
+
) -> RequestSerialized:
|
|
1549
|
+
|
|
1550
|
+
_host = None
|
|
1551
|
+
|
|
1552
|
+
_collection_formats: Dict[str, str] = {
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1555
|
+
_path_params: Dict[str, str] = {}
|
|
1556
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1557
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1558
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1559
|
+
_files: Dict[
|
|
1560
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1561
|
+
] = {}
|
|
1562
|
+
_body_params: Optional[bytes] = None
|
|
1563
|
+
|
|
1564
|
+
# process the path parameters
|
|
1565
|
+
# process the query parameters
|
|
1566
|
+
# process the header parameters
|
|
1567
|
+
# process the form parameters
|
|
1568
|
+
# process the body parameter
|
|
1569
|
+
if query_merchant_info_request is not None:
|
|
1570
|
+
_body_params = query_merchant_info_request
|
|
1571
|
+
|
|
1572
|
+
|
|
1573
|
+
# set the HTTP header `Accept`
|
|
1574
|
+
if 'Accept' not in _header_params:
|
|
1575
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1576
|
+
[
|
|
1577
|
+
'application/json'
|
|
1578
|
+
]
|
|
1579
|
+
)
|
|
1580
|
+
|
|
1581
|
+
# set the HTTP header `Content-Type`
|
|
1582
|
+
if _content_type:
|
|
1583
|
+
_header_params['Content-Type'] = _content_type
|
|
1584
|
+
else:
|
|
1585
|
+
_default_content_type = (
|
|
1586
|
+
self.api_client.select_header_content_type(
|
|
1587
|
+
[
|
|
1588
|
+
'application/json'
|
|
1589
|
+
]
|
|
1590
|
+
)
|
|
1591
|
+
)
|
|
1592
|
+
if _default_content_type is not None:
|
|
1593
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1594
|
+
|
|
1595
|
+
# authentication setting
|
|
1596
|
+
_auth_settings: List[str] = [
|
|
1597
|
+
'CLIENT_SECRET'
|
|
1598
|
+
]
|
|
1599
|
+
|
|
1600
|
+
# For OPEN_API type, we use CLIENT_SECRET authentication with signature
|
|
1601
|
+
# merge list of auth settings with Open API runtime headers
|
|
1602
|
+
_auth_settings = OpenApiHeader.merge_with_open_api_runtime_headers(_auth_settings)
|
|
1603
|
+
_function_name = "dana.ap.bizprod.biz.service.openapi.merchant.queryMerchantInfo"
|
|
1604
|
+
# Create the full request structure for OPEN_API
|
|
1605
|
+
# Wrap the simplified body parameters in the proper DANA request format
|
|
1606
|
+
|
|
1607
|
+
# Generate head parameters
|
|
1608
|
+
_generated_auth = OpenApiHeader.get_open_api_generated_headers(
|
|
1609
|
+
method='POST',
|
|
1610
|
+
resource_path='/dana/member/merchant/queryMerchantInfo.htm',
|
|
1611
|
+
body='{}', # Empty body for head generation
|
|
1612
|
+
function_name=_function_name,
|
|
1613
|
+
client_id=self.api_client.configuration.get_api_key_with_prefix('X_PARTNER_ID'),
|
|
1614
|
+
client_secret=self.api_client.configuration.get_api_key_with_prefix('CLIENT_SECRET')
|
|
1615
|
+
)
|
|
1616
|
+
|
|
1617
|
+
# Extract values from auth settings for JSON body
|
|
1618
|
+
head_params = {
|
|
1619
|
+
key: auth_setting['value']
|
|
1620
|
+
for key, auth_setting in _generated_auth.items()
|
|
1621
|
+
}
|
|
1622
|
+
|
|
1623
|
+
# Create the full request structure
|
|
1624
|
+
request_body = {
|
|
1625
|
+
"request": {
|
|
1626
|
+
"head": head_params,
|
|
1627
|
+
"body": query_merchant_info_request.to_dict()
|
|
1628
|
+
}
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1631
|
+
# Generate signature
|
|
1632
|
+
_signature = OpenApiHeader.generate_open_api_signature(
|
|
1633
|
+
body=json.dumps(request_body),
|
|
1634
|
+
private_key=self.api_client.configuration.get_api_key_with_prefix('PRIVATE_KEY')
|
|
1635
|
+
)
|
|
1636
|
+
|
|
1637
|
+
# Add signature to the request
|
|
1638
|
+
if _signature:
|
|
1639
|
+
request_body['signature'] = _signature
|
|
1640
|
+
|
|
1641
|
+
# Convert final request to JSON string
|
|
1642
|
+
_body_params = request_body
|
|
1643
|
+
|
|
1644
|
+
return self.api_client.param_serialize(
|
|
1645
|
+
method='POST',
|
|
1646
|
+
resource_path='/dana/member/merchant/queryMerchantInfo.htm',
|
|
1647
|
+
path_params=_path_params,
|
|
1648
|
+
query_params=_query_params,
|
|
1649
|
+
header_params=_header_params,
|
|
1650
|
+
body=_body_params,
|
|
1651
|
+
post_params=_form_params,
|
|
1652
|
+
files=_files,
|
|
1653
|
+
auth_settings=_auth_settings,
|
|
1654
|
+
collection_formats=_collection_formats,
|
|
1655
|
+
_host=_host,
|
|
1656
|
+
_request_auth=_request_auth,
|
|
1657
|
+
_generated_auth=_generated_auth,
|
|
1658
|
+
)
|
|
1659
|
+
|
|
1660
|
+
|
|
1338
1661
|
@validate_call
|
|
1339
1662
|
def query_merchant_resource(
|
|
1340
1663
|
self,
|
|
@@ -1594,6 +1917,7 @@ class MerchantManagementApi:
|
|
|
1594
1917
|
# For OPEN_API type, we use CLIENT_SECRET authentication with signature
|
|
1595
1918
|
# merge list of auth settings with Open API runtime headers
|
|
1596
1919
|
_auth_settings = OpenApiHeader.merge_with_open_api_runtime_headers(_auth_settings)
|
|
1920
|
+
_function_name = "dana.merchant.queryMerchantResource"
|
|
1597
1921
|
# Create the full request structure for OPEN_API
|
|
1598
1922
|
# Wrap the simplified body parameters in the proper DANA request format
|
|
1599
1923
|
|
|
@@ -1602,7 +1926,7 @@ class MerchantManagementApi:
|
|
|
1602
1926
|
method='POST',
|
|
1603
1927
|
resource_path='/dana/merchant/queryMerchantResource.htm',
|
|
1604
1928
|
body='{}', # Empty body for head generation
|
|
1605
|
-
function_name=
|
|
1929
|
+
function_name=_function_name,
|
|
1606
1930
|
client_id=self.api_client.configuration.get_api_key_with_prefix('X_PARTNER_ID'),
|
|
1607
1931
|
client_secret=self.api_client.configuration.get_api_key_with_prefix('CLIENT_SECRET')
|
|
1608
1932
|
)
|
|
@@ -1910,6 +2234,7 @@ class MerchantManagementApi:
|
|
|
1910
2234
|
# For OPEN_API type, we use CLIENT_SECRET authentication with signature
|
|
1911
2235
|
# merge list of auth settings with Open API runtime headers
|
|
1912
2236
|
_auth_settings = OpenApiHeader.merge_with_open_api_runtime_headers(_auth_settings)
|
|
2237
|
+
_function_name = "dana.merchant.shop.queryShop"
|
|
1913
2238
|
# Create the full request structure for OPEN_API
|
|
1914
2239
|
# Wrap the simplified body parameters in the proper DANA request format
|
|
1915
2240
|
|
|
@@ -1918,7 +2243,7 @@ class MerchantManagementApi:
|
|
|
1918
2243
|
method='POST',
|
|
1919
2244
|
resource_path='/dana/merchant/shop/queryShop.htm',
|
|
1920
2245
|
body='{}', # Empty body for head generation
|
|
1921
|
-
function_name=
|
|
2246
|
+
function_name=_function_name,
|
|
1922
2247
|
client_id=self.api_client.configuration.get_api_key_with_prefix('X_PARTNER_ID'),
|
|
1923
2248
|
client_secret=self.api_client.configuration.get_api_key_with_prefix('CLIENT_SECRET')
|
|
1924
2249
|
)
|
|
@@ -2226,6 +2551,7 @@ class MerchantManagementApi:
|
|
|
2226
2551
|
# For OPEN_API type, we use CLIENT_SECRET authentication with signature
|
|
2227
2552
|
# merge list of auth settings with Open API runtime headers
|
|
2228
2553
|
_auth_settings = OpenApiHeader.merge_with_open_api_runtime_headers(_auth_settings)
|
|
2554
|
+
_function_name = "dana.merchant.division.updateDivision"
|
|
2229
2555
|
# Create the full request structure for OPEN_API
|
|
2230
2556
|
# Wrap the simplified body parameters in the proper DANA request format
|
|
2231
2557
|
|
|
@@ -2234,7 +2560,7 @@ class MerchantManagementApi:
|
|
|
2234
2560
|
method='POST',
|
|
2235
2561
|
resource_path='/dana/merchant/division/updateDivision.htm',
|
|
2236
2562
|
body='{}', # Empty body for head generation
|
|
2237
|
-
function_name=
|
|
2563
|
+
function_name=_function_name,
|
|
2238
2564
|
client_id=self.api_client.configuration.get_api_key_with_prefix('X_PARTNER_ID'),
|
|
2239
2565
|
client_secret=self.api_client.configuration.get_api_key_with_prefix('CLIENT_SECRET')
|
|
2240
2566
|
)
|
|
@@ -2542,6 +2868,7 @@ class MerchantManagementApi:
|
|
|
2542
2868
|
# For OPEN_API type, we use CLIENT_SECRET authentication with signature
|
|
2543
2869
|
# merge list of auth settings with Open API runtime headers
|
|
2544
2870
|
_auth_settings = OpenApiHeader.merge_with_open_api_runtime_headers(_auth_settings)
|
|
2871
|
+
_function_name = "dana.merchant.shop.updateShop"
|
|
2545
2872
|
# Create the full request structure for OPEN_API
|
|
2546
2873
|
# Wrap the simplified body parameters in the proper DANA request format
|
|
2547
2874
|
|
|
@@ -2550,7 +2877,7 @@ class MerchantManagementApi:
|
|
|
2550
2877
|
method='POST',
|
|
2551
2878
|
resource_path='/dana/merchant/shop/updateShop.htm',
|
|
2552
2879
|
body='{}', # Empty body for head generation
|
|
2553
|
-
function_name=
|
|
2880
|
+
function_name=_function_name,
|
|
2554
2881
|
client_id=self.api_client.configuration.get_api_key_with_prefix('X_PARTNER_ID'),
|
|
2555
2882
|
client_secret=self.api_client.configuration.get_api_key_with_prefix('CLIENT_SECRET')
|
|
2556
2883
|
)
|
|
@@ -150,3 +150,47 @@ class EnableOnly(str, Enum):
|
|
|
150
150
|
TRUE = "true"
|
|
151
151
|
FALSE = "false"
|
|
152
152
|
|
|
153
|
+
class LoginType(str, Enum):
|
|
154
|
+
ROLE = "ROLE"
|
|
155
|
+
MOBILE_NO = "MOBILE_NO"
|
|
156
|
+
|
|
157
|
+
class ContactAddressType(str, Enum):
|
|
158
|
+
OFFICE_ADD = "OFFICE_ADD"
|
|
159
|
+
REG_ADD = "REG_ADD"
|
|
160
|
+
HOME_ADD = "HOME_ADD"
|
|
161
|
+
|
|
162
|
+
class Status(str, Enum):
|
|
163
|
+
ENABLE = "ENABLE"
|
|
164
|
+
FROZEN = "FROZEN"
|
|
165
|
+
CLOSE = "CLOSE"
|
|
166
|
+
|
|
167
|
+
class DebitFreezeStatus(str, Enum):
|
|
168
|
+
ENABLE = "ENABLE"
|
|
169
|
+
FROZEN = "FROZEN"
|
|
170
|
+
CLOSE = "CLOSE"
|
|
171
|
+
|
|
172
|
+
class CreditFreezeStatus(str, Enum):
|
|
173
|
+
ENABLE = "ENABLE"
|
|
174
|
+
FROZEN = "FROZEN"
|
|
175
|
+
CLOSE = "CLOSE"
|
|
176
|
+
|
|
177
|
+
class AccountType(str, Enum):
|
|
178
|
+
MERCHANT_SETTLEMENT_ACCOUNT = "MERCHANT_SETTLEMENT_ACCOUNT"
|
|
179
|
+
MERCHANT_PAYABLE_ACCOUNT = "MERCHANT_PAYABLE_ACCOUNT"
|
|
180
|
+
MERCHANT_DEPOSIT_ACCOUNT = "MERCHANT_DEPOSIT_ACCOUNT"
|
|
181
|
+
|
|
182
|
+
class MerchantType(str, Enum):
|
|
183
|
+
INDIVIDUAL = "INDIVIDUAL"
|
|
184
|
+
CORPORATION = "CORPORATION"
|
|
185
|
+
FINANCIAL_INST = "FINANCIAL_INST"
|
|
186
|
+
|
|
187
|
+
class MerchantSubType(str, Enum):
|
|
188
|
+
COMPANY_TYPE_22 = "COMPANY_TYPE_22"
|
|
189
|
+
COMPANY_TYPE_31 = "COMPANY_TYPE_31"
|
|
190
|
+
COMPANY_TYPE_41 = "COMPANY_TYPE_41"
|
|
191
|
+
|
|
192
|
+
class MerchantStatus(str, Enum):
|
|
193
|
+
PENDING = "PENDING"
|
|
194
|
+
ACTIVE = "ACTIVE"
|
|
195
|
+
FROZEN = "FROZEN"
|
|
196
|
+
|
|
@@ -45,6 +45,13 @@ from dana.merchant_management.v1.models.create_shop_response_response_body impor
|
|
|
45
45
|
from dana.merchant_management.v1.models.create_shop_response_response_head import CreateShopResponseResponseHead
|
|
46
46
|
from dana.merchant_management.v1.models.division_resource_info import DivisionResourceInfo
|
|
47
47
|
from dana.merchant_management.v1.models.member_asset_result_info import MemberAssetResultInfo
|
|
48
|
+
from dana.merchant_management.v1.models.merchant_account_info import MerchantAccountInfo
|
|
49
|
+
from dana.merchant_management.v1.models.merchant_certificate_info import MerchantCertificateInfo
|
|
50
|
+
from dana.merchant_management.v1.models.merchant_contact_address import MerchantContactAddress
|
|
51
|
+
from dana.merchant_management.v1.models.merchant_contact_email import MerchantContactEmail
|
|
52
|
+
from dana.merchant_management.v1.models.merchant_contact_mobile_no import MerchantContactMobileNo
|
|
53
|
+
from dana.merchant_management.v1.models.merchant_corporate_certificate import MerchantCorporateCertificate
|
|
54
|
+
from dana.merchant_management.v1.models.merchant_information import MerchantInformation
|
|
48
55
|
from dana.merchant_management.v1.models.merchant_resource_information import MerchantResourceInformation
|
|
49
56
|
from dana.merchant_management.v1.models.mobile_no_info import MobileNoInfo
|
|
50
57
|
from dana.merchant_management.v1.models.pic_info import PicInfo
|
|
@@ -58,6 +65,11 @@ from dana.merchant_management.v1.models.query_division_response import QueryDivi
|
|
|
58
65
|
from dana.merchant_management.v1.models.query_division_response_response import QueryDivisionResponseResponse
|
|
59
66
|
from dana.merchant_management.v1.models.query_division_response_response_body import QueryDivisionResponseResponseBody
|
|
60
67
|
from dana.merchant_management.v1.models.query_division_response_response_head import QueryDivisionResponseResponseHead
|
|
68
|
+
from dana.merchant_management.v1.models.query_merchant_info_request import QueryMerchantInfoRequest
|
|
69
|
+
from dana.merchant_management.v1.models.query_merchant_info_response import QueryMerchantInfoResponse
|
|
70
|
+
from dana.merchant_management.v1.models.query_merchant_info_response_response import QueryMerchantInfoResponseResponse
|
|
71
|
+
from dana.merchant_management.v1.models.query_merchant_info_response_response_body import QueryMerchantInfoResponseResponseBody
|
|
72
|
+
from dana.merchant_management.v1.models.query_merchant_info_response_response_head import QueryMerchantInfoResponseResponseHead
|
|
61
73
|
from dana.merchant_management.v1.models.query_merchant_resource_request import QueryMerchantResourceRequest
|
|
62
74
|
from dana.merchant_management.v1.models.query_merchant_resource_response import QueryMerchantResourceResponse
|
|
63
75
|
from dana.merchant_management.v1.models.query_merchant_resource_response_response import QueryMerchantResourceResponseResponse
|