dana-python 2.1.4__tar.gz → 2.1.6__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.
Files changed (236) hide show
  1. {dana_python-2.1.4/dana_python.egg-info → dana_python-2.1.6}/PKG-INFO +1 -1
  2. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/v1/api/disbursement_api.py +6 -37
  3. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/__init__.py +7 -0
  4. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/api/merchant_management_api.py +318 -0
  5. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/enum.py +42 -0
  6. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/__init__.py +7 -0
  7. dana_python-2.1.6/dana/merchant_management/v1/models/asset_card_list_item.py +222 -0
  8. dana_python-2.1.6/dana/merchant_management/v1/models/member_asset_result_info.py +142 -0
  9. dana_python-2.1.6/dana/merchant_management/v1/models/query_asset_card_list_request.py +170 -0
  10. dana_python-2.1.6/dana/merchant_management/v1/models/query_asset_card_list_response.py +132 -0
  11. dana_python-2.1.6/dana/merchant_management/v1/models/query_asset_card_list_response_response.py +136 -0
  12. dana_python-2.1.6/dana/merchant_management/v1/models/query_asset_card_list_response_response_body.py +140 -0
  13. dana_python-2.1.6/dana/merchant_management/v1/models/query_asset_card_list_response_response_head.py +159 -0
  14. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/custom_validation.py +1 -1
  15. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/util.py +15 -4
  16. {dana_python-2.1.4 → dana_python-2.1.6/dana_python.egg-info}/PKG-INFO +1 -1
  17. {dana_python-2.1.4 → dana_python-2.1.6}/dana_python.egg-info/SOURCES.txt +7 -0
  18. {dana_python-2.1.4 → dana_python-2.1.6}/pyproject.toml +1 -1
  19. {dana_python-2.1.4 → dana_python-2.1.6}/tests/test_merchant_management_api.py +27 -1
  20. {dana_python-2.1.4 → dana_python-2.1.6}/LICENSE +0 -0
  21. {dana_python-2.1.4 → dana_python-2.1.6}/README.md +0 -0
  22. {dana_python-2.1.4 → dana_python-2.1.6}/dana/__init__.py +0 -0
  23. {dana_python-2.1.4 → dana_python-2.1.6}/dana/api_client.py +0 -0
  24. {dana_python-2.1.4 → dana_python-2.1.6}/dana/api_response.py +0 -0
  25. {dana_python-2.1.4 → dana_python-2.1.6}/dana/base/__init__.py +0 -0
  26. {dana_python-2.1.4 → dana_python-2.1.6}/dana/base/configuration.py +0 -0
  27. {dana_python-2.1.4 → dana_python-2.1.6}/dana/base/model.py +0 -0
  28. {dana_python-2.1.4 → dana_python-2.1.6}/dana/base/types.py +0 -0
  29. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/__init__.py +0 -0
  30. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/v1/__init__.py +0 -0
  31. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/v1/api/__init__.py +0 -0
  32. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/v1/enum.py +0 -0
  33. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/v1/models/__init__.py +0 -0
  34. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/v1/models/bank_account_inquiry_request.py +0 -0
  35. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/v1/models/bank_account_inquiry_request_additional_info.py +0 -0
  36. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/v1/models/bank_account_inquiry_response.py +0 -0
  37. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/v1/models/bank_account_inquiry_response_additional_info.py +0 -0
  38. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/v1/models/dana_account_inquiry_request.py +0 -0
  39. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/v1/models/dana_account_inquiry_request_additional_info.py +0 -0
  40. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/v1/models/dana_account_inquiry_response.py +0 -0
  41. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/v1/models/money.py +0 -0
  42. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/v1/models/transfer_to_bank_inquiry_status_request.py +0 -0
  43. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/v1/models/transfer_to_bank_inquiry_status_response.py +0 -0
  44. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/v1/models/transfer_to_bank_request.py +0 -0
  45. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/v1/models/transfer_to_bank_request_additional_info.py +0 -0
  46. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/v1/models/transfer_to_bank_response.py +0 -0
  47. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/v1/models/transfer_to_dana_inquiry_status_request.py +0 -0
  48. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/v1/models/transfer_to_dana_inquiry_status_response.py +0 -0
  49. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/v1/models/transfer_to_dana_request.py +0 -0
  50. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/v1/models/transfer_to_dana_request_additional_info.py +0 -0
  51. {dana_python-2.1.4 → dana_python-2.1.6}/dana/disbursement/v1/models/transfer_to_dana_response.py +0 -0
  52. {dana_python-2.1.4 → dana_python-2.1.6}/dana/exceptions.py +0 -0
  53. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/__init__.py +0 -0
  54. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/api/__init__.py +0 -0
  55. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/address_info.py +0 -0
  56. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/business_docs.py +0 -0
  57. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/create_division_request.py +0 -0
  58. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/create_division_request_ext_info.py +0 -0
  59. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/create_division_response.py +0 -0
  60. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/create_division_response_response.py +0 -0
  61. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/create_division_response_response_body.py +0 -0
  62. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/create_division_response_response_head.py +0 -0
  63. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/create_shop_request.py +0 -0
  64. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/create_shop_response.py +0 -0
  65. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/create_shop_response_response.py +0 -0
  66. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/create_shop_response_response_body.py +0 -0
  67. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/create_shop_response_response_head.py +0 -0
  68. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/division_resource_info.py +0 -0
  69. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/merchant_resource_information.py +0 -0
  70. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/mobile_no_info.py +0 -0
  71. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/pic_info.py +0 -0
  72. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/query_division_request.py +0 -0
  73. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/query_division_response.py +0 -0
  74. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/query_division_response_response.py +0 -0
  75. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/query_division_response_response_body.py +0 -0
  76. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/query_division_response_response_head.py +0 -0
  77. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/query_merchant_resource_request.py +0 -0
  78. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/query_merchant_resource_response.py +0 -0
  79. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/query_merchant_resource_response_response.py +0 -0
  80. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/query_merchant_resource_response_response_body.py +0 -0
  81. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/query_merchant_resource_response_response_head.py +0 -0
  82. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/query_shop_request.py +0 -0
  83. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/query_shop_response.py +0 -0
  84. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/query_shop_response_response.py +0 -0
  85. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/query_shop_response_response_body.py +0 -0
  86. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/query_shop_response_response_head.py +0 -0
  87. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/result_info.py +0 -0
  88. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/shop_resource_info.py +0 -0
  89. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/update_division_request.py +0 -0
  90. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/update_division_response.py +0 -0
  91. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/update_division_response_response.py +0 -0
  92. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/update_division_response_response_body.py +0 -0
  93. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/update_division_response_response_head.py +0 -0
  94. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/update_shop_request.py +0 -0
  95. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/update_shop_response.py +0 -0
  96. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/update_shop_response_response.py +0 -0
  97. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/update_shop_response_response_head.py +0 -0
  98. {dana_python-2.1.4 → dana_python-2.1.6}/dana/merchant_management/v1/models/user_name.py +0 -0
  99. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/__init__.py +0 -0
  100. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/__init__.py +0 -0
  101. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/api/__init__.py +0 -0
  102. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/api/payment_gateway_api.py +0 -0
  103. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/enum.py +0 -0
  104. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/__init__.py +0 -0
  105. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/actor_context.py +0 -0
  106. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/amount_detail.py +0 -0
  107. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/audit_info.py +0 -0
  108. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/buyer.py +0 -0
  109. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/cancel_order_request.py +0 -0
  110. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/cancel_order_response.py +0 -0
  111. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/consult_pay_payment_info.py +0 -0
  112. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/consult_pay_request.py +0 -0
  113. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/consult_pay_request_additional_info.py +0 -0
  114. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/consult_pay_response.py +0 -0
  115. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/create_order_by_api_additional_info.py +0 -0
  116. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/create_order_by_api_request.py +0 -0
  117. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/create_order_by_redirect_additional_info.py +0 -0
  118. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/create_order_by_redirect_request.py +0 -0
  119. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/create_order_response.py +0 -0
  120. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/create_order_response_additional_info.py +0 -0
  121. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/env_info.py +0 -0
  122. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/goods.py +0 -0
  123. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/money.py +0 -0
  124. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/order_api_object.py +0 -0
  125. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/order_redirect_object.py +0 -0
  126. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/pay_option_additional_info.py +0 -0
  127. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/pay_option_detail.py +0 -0
  128. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/pay_option_info.py +0 -0
  129. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/payment_view.py +0 -0
  130. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/promo_info.py +0 -0
  131. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/query_payment_request.py +0 -0
  132. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/query_payment_response.py +0 -0
  133. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/query_payment_response_additional_info.py +0 -0
  134. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/refund_option_bill.py +0 -0
  135. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/refund_order_request.py +0 -0
  136. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/refund_order_request_additional_info.py +0 -0
  137. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/refund_order_response.py +0 -0
  138. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/seller.py +0 -0
  139. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/shipping_info.py +0 -0
  140. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/status_detail.py +0 -0
  141. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/time_detail.py +0 -0
  142. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/url_param.py +0 -0
  143. {dana_python-2.1.4 → dana_python-2.1.6}/dana/payment_gateway/v1/models/virtual_account_info.py +0 -0
  144. {dana_python-2.1.4 → dana_python-2.1.6}/dana/rest.py +0 -0
  145. {dana_python-2.1.4 → dana_python-2.1.6}/dana/utils/date_validation.py +0 -0
  146. {dana_python-2.1.4 → dana_python-2.1.6}/dana/utils/models.py +0 -0
  147. {dana_python-2.1.4 → dana_python-2.1.6}/dana/utils/open_api_configuration.py +0 -0
  148. {dana_python-2.1.4 → dana_python-2.1.6}/dana/utils/open_api_header.py +0 -0
  149. {dana_python-2.1.4 → dana_python-2.1.6}/dana/utils/script.py +0 -0
  150. {dana_python-2.1.4 → dana_python-2.1.6}/dana/utils/snap_configuration.py +0 -0
  151. {dana_python-2.1.4 → dana_python-2.1.6}/dana/utils/snap_header.py +0 -0
  152. {dana_python-2.1.4 → dana_python-2.1.6}/dana/utils/url.py +0 -0
  153. {dana_python-2.1.4 → dana_python-2.1.6}/dana/webhook/__init__.py +0 -0
  154. {dana_python-2.1.4 → dana_python-2.1.6}/dana/webhook/finish_notify_payment_info.py +0 -0
  155. {dana_python-2.1.4 → dana_python-2.1.6}/dana/webhook/finish_notify_request.py +0 -0
  156. {dana_python-2.1.4 → dana_python-2.1.6}/dana/webhook/finish_notify_request_additional_info.py +0 -0
  157. {dana_python-2.1.4 → dana_python-2.1.6}/dana/webhook/finish_notify_response.py +0 -0
  158. {dana_python-2.1.4 → dana_python-2.1.6}/dana/webhook/money.py +0 -0
  159. {dana_python-2.1.4 → dana_python-2.1.6}/dana/webhook/pay_option_info.py +0 -0
  160. {dana_python-2.1.4 → dana_python-2.1.6}/dana/webhook/shop_info.py +0 -0
  161. {dana_python-2.1.4 → dana_python-2.1.6}/dana/webhook/webhook.py +0 -0
  162. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/__init__.py +0 -0
  163. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/__init__.py +0 -0
  164. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/api/__init__.py +0 -0
  165. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/api/widget_api.py +0 -0
  166. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/custom_validation.py +0 -0
  167. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/enum.py +0 -0
  168. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/__init__.py +0 -0
  169. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/account_info.py +0 -0
  170. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/account_unbinding_request.py +0 -0
  171. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/account_unbinding_request_additional_info.py +0 -0
  172. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/account_unbinding_response.py +0 -0
  173. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/amount_detail.py +0 -0
  174. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/apply_ott_request.py +0 -0
  175. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/apply_ott_request_additional_info.py +0 -0
  176. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/apply_ott_response.py +0 -0
  177. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/apply_ott_response_user_resources_inner.py +0 -0
  178. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/apply_token_authorization_code_request.py +0 -0
  179. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/apply_token_refresh_token_request.py +0 -0
  180. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/apply_token_response.py +0 -0
  181. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/apply_token_response_additional_info.py +0 -0
  182. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/apply_token_response_additional_info_user_info.py +0 -0
  183. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/balance_inquiry_request.py +0 -0
  184. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/balance_inquiry_request_additional_info.py +0 -0
  185. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/balance_inquiry_response.py +0 -0
  186. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/buyer.py +0 -0
  187. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/cancel_order_request.py +0 -0
  188. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/cancel_order_response.py +0 -0
  189. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/env_info.py +0 -0
  190. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/goods.py +0 -0
  191. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/international_order_info.py +0 -0
  192. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/international_order_info_exchange_rate.py +0 -0
  193. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/money.py +0 -0
  194. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/oauth2_url_data.py +0 -0
  195. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/oauth2_url_data_seamless_data.py +0 -0
  196. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/order.py +0 -0
  197. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/pay_option_detail.py +0 -0
  198. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/pay_option_detail_additional_info.py +0 -0
  199. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/pay_option_info.py +0 -0
  200. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/payment_promo_info.py +0 -0
  201. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/payment_view.py +0 -0
  202. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/query_payment_request.py +0 -0
  203. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/query_payment_response.py +0 -0
  204. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/query_payment_response_additional_info.py +0 -0
  205. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/query_user_profile_request.py +0 -0
  206. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/query_user_profile_response.py +0 -0
  207. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/query_user_profile_response_response.py +0 -0
  208. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/query_user_profile_response_response_body.py +0 -0
  209. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/query_user_profile_response_response_head.py +0 -0
  210. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/refund_order_request.py +0 -0
  211. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/refund_order_request_additional_info.py +0 -0
  212. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/refund_order_response.py +0 -0
  213. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/refund_promo_info.py +0 -0
  214. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/result_info.py +0 -0
  215. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/seller.py +0 -0
  216. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/service_info.py +0 -0
  217. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/shipping_info.py +0 -0
  218. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/status_detail.py +0 -0
  219. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/time_detail.py +0 -0
  220. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/url_param.py +0 -0
  221. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/user_resource_info.py +0 -0
  222. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/virtual_account_info.py +0 -0
  223. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/widget_payment_request.py +0 -0
  224. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/widget_payment_request_additional_info.py +0 -0
  225. {dana_python-2.1.4 → dana_python-2.1.6}/dana/widget/v1/models/widget_payment_response.py +0 -0
  226. {dana_python-2.1.4 → dana_python-2.1.6}/dana_python.egg-info/dependency_links.txt +0 -0
  227. {dana_python-2.1.4 → dana_python-2.1.6}/dana_python.egg-info/requires.txt +0 -0
  228. {dana_python-2.1.4 → dana_python-2.1.6}/dana_python.egg-info/top_level.txt +0 -0
  229. {dana_python-2.1.4 → dana_python-2.1.6}/setup.cfg +0 -0
  230. {dana_python-2.1.4 → dana_python-2.1.6}/tests/test_disbursement_api.py +0 -0
  231. {dana_python-2.1.4 → dana_python-2.1.6}/tests/test_payment_gateway_api.py +0 -0
  232. {dana_python-2.1.4 → dana_python-2.1.6}/tests/test_payment_gateway_with_automation.py +0 -0
  233. {dana_python-2.1.4 → dana_python-2.1.6}/tests/test_snap_header.py +0 -0
  234. {dana_python-2.1.4 → dana_python-2.1.6}/tests/test_webhook.py +0 -0
  235. {dana_python-2.1.4 → dana_python-2.1.6}/tests/test_widget_api.py +0 -0
  236. {dana_python-2.1.4 → dana_python-2.1.6}/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.4
3
+ Version: 2.1.6
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>
@@ -30,7 +30,6 @@ import warnings
30
30
  from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
31
31
  from typing import Any, Dict, List, Optional, Tuple, Union, Type
32
32
  from typing_extensions import Annotated
33
- import os
34
33
  from dana.utils import url
35
34
 
36
35
  from dana.disbursement.v1.models.bank_account_inquiry_request import BankAccountInquiryRequest
@@ -355,22 +354,6 @@ class DisbursementApi:
355
354
  )
356
355
 
357
356
 
358
-
359
- def _get_account_inquiry_path(self) -> str:
360
- """Get the account inquiry path based on environment.
361
-
362
- This method ONLY returns paths for the Disbursement account-inquiry endpoint.
363
- Uses exact path matching to ensure no other endpoints are affected.
364
-
365
- Returns:
366
- str: The path for account inquiry endpoint
367
- - Sandbox: /rest/v1.0/emoney/account-inquiry
368
- - Production: /v1.0/emoney/account-inquiry.htm
369
- """
370
- env = os.getenv("DANA_ENV", os.getenv("ENV", "sandbox")).lower()
371
- return '/v1.0/emoney/account-inquiry.htm' if env == 'production' else '/rest/v1.0/emoney/account-inquiry'
372
-
373
-
374
357
  @validate_call
375
358
  def dana_account_inquiry(
376
359
  self,
@@ -636,7 +619,7 @@ class DisbursementApi:
636
619
  _auth_settings = SnapHeader.merge_with_snap_runtime_headers(_auth_settings)
637
620
  _generated_auth = SnapHeader.get_snap_generated_auth(
638
621
  method='POST',
639
- resource_path=(self._get_account_inquiry_path()),
622
+ resource_path='/rest/v1.0/emoney/account-inquiry',
640
623
  body=dana_account_inquiry_request.to_json(),
641
624
  private_key=self.api_client.configuration.get_api_key_with_prefix('PRIVATE_KEY'),
642
625
  private_key_path=self.api_client.configuration.get_api_key_with_prefix('PRIVATE_KEY_PATH')
@@ -644,7 +627,7 @@ class DisbursementApi:
644
627
 
645
628
  return self.api_client.param_serialize(
646
629
  method='POST',
647
- resource_path=(self._get_account_inquiry_path()),
630
+ resource_path='/rest/v1.0/emoney/account-inquiry',
648
631
  path_params=_path_params,
649
632
  query_params=_query_params,
650
633
  header_params=_header_params,
@@ -1238,13 +1221,6 @@ class DisbursementApi:
1238
1221
  )
1239
1222
 
1240
1223
 
1241
-
1242
- def _get_transfer_to_dana_path(self) -> str:
1243
- """Transfer to DANA (topup) path based on environment."""
1244
- env = os.getenv("DANA_ENV", os.getenv("ENV", "sandbox")).lower()
1245
- return '/v1.0/emoney/topup.htm' if env == 'production' else '/rest/v1.0/emoney/topup'
1246
-
1247
-
1248
1224
  @validate_call
1249
1225
  def transfer_to_dana(
1250
1226
  self,
@@ -1510,7 +1486,7 @@ class DisbursementApi:
1510
1486
  _auth_settings = SnapHeader.merge_with_snap_runtime_headers(_auth_settings)
1511
1487
  _generated_auth = SnapHeader.get_snap_generated_auth(
1512
1488
  method='POST',
1513
- resource_path=(self._get_transfer_to_dana_path()),
1489
+ resource_path='/rest/v1.0/emoney/topup',
1514
1490
  body=transfer_to_dana_request.to_json(),
1515
1491
  private_key=self.api_client.configuration.get_api_key_with_prefix('PRIVATE_KEY'),
1516
1492
  private_key_path=self.api_client.configuration.get_api_key_with_prefix('PRIVATE_KEY_PATH')
@@ -1518,7 +1494,7 @@ class DisbursementApi:
1518
1494
 
1519
1495
  return self.api_client.param_serialize(
1520
1496
  method='POST',
1521
- resource_path=(self._get_transfer_to_dana_path()),
1497
+ resource_path='/rest/v1.0/emoney/topup',
1522
1498
  path_params=_path_params,
1523
1499
  query_params=_query_params,
1524
1500
  header_params=_header_params,
@@ -1533,13 +1509,6 @@ class DisbursementApi:
1533
1509
  )
1534
1510
 
1535
1511
 
1536
-
1537
- def _get_transfer_to_dana_inquiry_status_path(self) -> str:
1538
- """Topup-status inquiry path based on environment."""
1539
- env = os.getenv("DANA_ENV", os.getenv("ENV", "sandbox")).lower()
1540
- return '/v1.0/emoney/topup-status.htm' if env == 'production' else '/rest/v1.0/emoney/topup-status'
1541
-
1542
-
1543
1512
  @validate_call
1544
1513
  def transfer_to_dana_inquiry_status(
1545
1514
  self,
@@ -1805,7 +1774,7 @@ class DisbursementApi:
1805
1774
  _auth_settings = SnapHeader.merge_with_snap_runtime_headers(_auth_settings)
1806
1775
  _generated_auth = SnapHeader.get_snap_generated_auth(
1807
1776
  method='POST',
1808
- resource_path=(self._get_transfer_to_dana_inquiry_status_path()),
1777
+ resource_path='/rest/v1.0/emoney/topup-status',
1809
1778
  body=transfer_to_dana_inquiry_status_request.to_json(),
1810
1779
  private_key=self.api_client.configuration.get_api_key_with_prefix('PRIVATE_KEY'),
1811
1780
  private_key_path=self.api_client.configuration.get_api_key_with_prefix('PRIVATE_KEY_PATH')
@@ -1813,7 +1782,7 @@ class DisbursementApi:
1813
1782
 
1814
1783
  return self.api_client.param_serialize(
1815
1784
  method='POST',
1816
- resource_path=(self._get_transfer_to_dana_inquiry_status_path()),
1785
+ resource_path='/rest/v1.0/emoney/topup-status',
1817
1786
  path_params=_path_params,
1818
1787
  query_params=_query_params,
1819
1788
  header_params=_header_params,
@@ -37,6 +37,7 @@ from dana.merchant_management.v1.api.merchant_management_api import MerchantMana
37
37
 
38
38
  # import models into sdk package
39
39
  from dana.merchant_management.v1.models.address_info import AddressInfo
40
+ from dana.merchant_management.v1.models.asset_card_list_item import AssetCardListItem
40
41
  from dana.merchant_management.v1.models.business_docs import BusinessDocs
41
42
  from dana.merchant_management.v1.models.create_division_request import CreateDivisionRequest
42
43
  from dana.merchant_management.v1.models.create_division_request_ext_info import CreateDivisionRequestExtInfo
@@ -50,9 +51,15 @@ from dana.merchant_management.v1.models.create_shop_response_response import Cre
50
51
  from dana.merchant_management.v1.models.create_shop_response_response_body import CreateShopResponseResponseBody
51
52
  from dana.merchant_management.v1.models.create_shop_response_response_head import CreateShopResponseResponseHead
52
53
  from dana.merchant_management.v1.models.division_resource_info import DivisionResourceInfo
54
+ from dana.merchant_management.v1.models.member_asset_result_info import MemberAssetResultInfo
53
55
  from dana.merchant_management.v1.models.merchant_resource_information import MerchantResourceInformation
54
56
  from dana.merchant_management.v1.models.mobile_no_info import MobileNoInfo
55
57
  from dana.merchant_management.v1.models.pic_info import PicInfo
58
+ from dana.merchant_management.v1.models.query_asset_card_list_request import QueryAssetCardListRequest
59
+ from dana.merchant_management.v1.models.query_asset_card_list_response import QueryAssetCardListResponse
60
+ from dana.merchant_management.v1.models.query_asset_card_list_response_response import QueryAssetCardListResponseResponse
61
+ from dana.merchant_management.v1.models.query_asset_card_list_response_response_body import QueryAssetCardListResponseResponseBody
62
+ from dana.merchant_management.v1.models.query_asset_card_list_response_response_head import QueryAssetCardListResponseResponseHead
56
63
  from dana.merchant_management.v1.models.query_division_request import QueryDivisionRequest
57
64
  from dana.merchant_management.v1.models.query_division_response import QueryDivisionResponse
58
65
  from dana.merchant_management.v1.models.query_division_response_response import QueryDivisionResponseResponse
@@ -37,6 +37,8 @@ from dana.merchant_management.v1.models.create_division_request import CreateDiv
37
37
  from dana.merchant_management.v1.models.create_division_response import CreateDivisionResponse
38
38
  from dana.merchant_management.v1.models.create_shop_request import CreateShopRequest
39
39
  from dana.merchant_management.v1.models.create_shop_response import CreateShopResponse
40
+ from dana.merchant_management.v1.models.query_asset_card_list_request import QueryAssetCardListRequest
41
+ from dana.merchant_management.v1.models.query_asset_card_list_response import QueryAssetCardListResponse
40
42
  from dana.merchant_management.v1.models.query_division_request import QueryDivisionRequest
41
43
  from dana.merchant_management.v1.models.query_division_response import QueryDivisionResponse
42
44
  from dana.merchant_management.v1.models.query_merchant_resource_request import QueryMerchantResourceRequest
@@ -701,6 +703,322 @@ class MerchantManagementApi:
701
703
  )
702
704
 
703
705
 
706
+ @validate_call
707
+ def query_asset_card_list(
708
+ self,
709
+ query_asset_card_list_request: QueryAssetCardListRequest,
710
+ _request_timeout: Union[
711
+ None,
712
+ Annotated[StrictFloat, Field(gt=0)],
713
+ Tuple[
714
+ Annotated[StrictFloat, Field(gt=0)],
715
+ Annotated[StrictFloat, Field(gt=0)]
716
+ ]
717
+ ] = None,
718
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
719
+ _content_type: Optional[StrictStr] = None,
720
+ _headers: Optional[Dict[StrictStr, Any]] = None,
721
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
722
+ ) -> QueryAssetCardListResponse:
723
+ """Member – Query asset card list
724
+
725
+ Query member asset cards filtered by contact business type and asset type. JSON envelope uses `request.head`, `request.body`, and root `signature` (same Open API pattern as other `.htm` endpoints).
726
+
727
+ :param query_asset_card_list_request: (required)
728
+ :type query_asset_card_list_request: QueryAssetCardListRequest
729
+ :param _request_timeout: timeout setting for this request. If one
730
+ number provided, it will be total request
731
+ timeout. It can also be a pair (tuple) of
732
+ (connection, read) timeouts.
733
+ :type _request_timeout: int, tuple(int, int), optional
734
+ :param _request_auth: set to override the auth_settings for an a single
735
+ request; this effectively ignores the
736
+ authentication in the spec for a single request.
737
+ :type _request_auth: dict, optional
738
+ :param _content_type: force content-type for the request.
739
+ :type _content_type: str, Optional
740
+ :param _headers: set to override the headers for a single
741
+ request; this effectively ignores the headers
742
+ in the spec for a single request.
743
+ :type _headers: dict, optional
744
+ :param _host_index: set to override the host_index for a single
745
+ request; this effectively ignores the host_index
746
+ in the spec for a single request.
747
+ :type _host_index: int, optional
748
+ :return: Returns the result object.
749
+ """ # noqa: E501
750
+
751
+ _param = self._query_asset_card_list_serialize(
752
+ query_asset_card_list_request=query_asset_card_list_request,
753
+ _request_auth=_request_auth,
754
+ _content_type=_content_type,
755
+ _headers=_headers,
756
+ _host_index=_host_index
757
+ )
758
+
759
+ _response_types_map: Dict[str, Optional[str]] = {
760
+ '200': "QueryAssetCardListResponse",
761
+ }
762
+ response_data = self.api_client.call_api(
763
+ *_param,
764
+ _request_timeout=_request_timeout
765
+ )
766
+ response_data.read()
767
+ return self.api_client.response_deserialize(
768
+ response_data=response_data,
769
+ response_types_map=_response_types_map,
770
+ ).data
771
+
772
+
773
+ @validate_call
774
+ def query_asset_card_list_with_http_info(
775
+ self,
776
+ query_asset_card_list_request: QueryAssetCardListRequest,
777
+ _request_timeout: Union[
778
+ None,
779
+ Annotated[StrictFloat, Field(gt=0)],
780
+ Tuple[
781
+ Annotated[StrictFloat, Field(gt=0)],
782
+ Annotated[StrictFloat, Field(gt=0)]
783
+ ]
784
+ ] = None,
785
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
786
+ _content_type: Optional[StrictStr] = None,
787
+ _headers: Optional[Dict[StrictStr, Any]] = None,
788
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
789
+ ) -> ApiResponse[QueryAssetCardListResponse]:
790
+ """Member – Query asset card list
791
+
792
+ Query member asset cards filtered by contact business type and asset type. JSON envelope uses `request.head`, `request.body`, and root `signature` (same Open API pattern as other `.htm` endpoints).
793
+
794
+ :param query_asset_card_list_request: (required)
795
+ :type query_asset_card_list_request: QueryAssetCardListRequest
796
+ :param _request_timeout: timeout setting for this request. If one
797
+ number provided, it will be total request
798
+ timeout. It can also be a pair (tuple) of
799
+ (connection, read) timeouts.
800
+ :type _request_timeout: int, tuple(int, int), optional
801
+ :param _request_auth: set to override the auth_settings for an a single
802
+ request; this effectively ignores the
803
+ authentication in the spec for a single request.
804
+ :type _request_auth: dict, optional
805
+ :param _content_type: force content-type for the request.
806
+ :type _content_type: str, Optional
807
+ :param _headers: set to override the headers for a single
808
+ request; this effectively ignores the headers
809
+ in the spec for a single request.
810
+ :type _headers: dict, optional
811
+ :param _host_index: set to override the host_index for a single
812
+ request; this effectively ignores the host_index
813
+ in the spec for a single request.
814
+ :type _host_index: int, optional
815
+ :return: Returns the result object.
816
+ """ # noqa: E501
817
+
818
+ _param = self._query_asset_card_list_serialize(
819
+ query_asset_card_list_request=query_asset_card_list_request,
820
+ _request_auth=_request_auth,
821
+ _content_type=_content_type,
822
+ _headers=_headers,
823
+ _host_index=_host_index
824
+ )
825
+
826
+ _response_types_map: Dict[str, Optional[str]] = {
827
+ '200': "QueryAssetCardListResponse",
828
+ }
829
+ response_data = self.api_client.call_api(
830
+ *_param,
831
+ _request_timeout=_request_timeout
832
+ )
833
+ response_data.read()
834
+ return self.api_client.response_deserialize(
835
+ response_data=response_data,
836
+ response_types_map=_response_types_map,
837
+ )
838
+
839
+
840
+ @validate_call
841
+ def query_asset_card_list_without_preload_content(
842
+ self,
843
+ query_asset_card_list_request: QueryAssetCardListRequest,
844
+ _request_timeout: Union[
845
+ None,
846
+ Annotated[StrictFloat, Field(gt=0)],
847
+ Tuple[
848
+ Annotated[StrictFloat, Field(gt=0)],
849
+ Annotated[StrictFloat, Field(gt=0)]
850
+ ]
851
+ ] = None,
852
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
853
+ _content_type: Optional[StrictStr] = None,
854
+ _headers: Optional[Dict[StrictStr, Any]] = None,
855
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
856
+ ) -> RESTResponseType:
857
+ """Member – Query asset card list
858
+
859
+ Query member asset cards filtered by contact business type and asset type. JSON envelope uses `request.head`, `request.body`, and root `signature` (same Open API pattern as other `.htm` endpoints).
860
+
861
+ :param query_asset_card_list_request: (required)
862
+ :type query_asset_card_list_request: QueryAssetCardListRequest
863
+ :param _request_timeout: timeout setting for this request. If one
864
+ number provided, it will be total request
865
+ timeout. It can also be a pair (tuple) of
866
+ (connection, read) timeouts.
867
+ :type _request_timeout: int, tuple(int, int), optional
868
+ :param _request_auth: set to override the auth_settings for an a single
869
+ request; this effectively ignores the
870
+ authentication in the spec for a single request.
871
+ :type _request_auth: dict, optional
872
+ :param _content_type: force content-type for the request.
873
+ :type _content_type: str, Optional
874
+ :param _headers: set to override the headers for a single
875
+ request; this effectively ignores the headers
876
+ in the spec for a single request.
877
+ :type _headers: dict, optional
878
+ :param _host_index: set to override the host_index for a single
879
+ request; this effectively ignores the host_index
880
+ in the spec for a single request.
881
+ :type _host_index: int, optional
882
+ :return: Returns the result object.
883
+ """ # noqa: E501
884
+
885
+ _param = self._query_asset_card_list_serialize(
886
+ query_asset_card_list_request=query_asset_card_list_request,
887
+ _request_auth=_request_auth,
888
+ _content_type=_content_type,
889
+ _headers=_headers,
890
+ _host_index=_host_index
891
+ )
892
+
893
+ _response_types_map: Dict[str, Optional[str]] = {
894
+ '200': "QueryAssetCardListResponse",
895
+ }
896
+ response_data = self.api_client.call_api(
897
+ *_param,
898
+ _request_timeout=_request_timeout
899
+ )
900
+ return response_data.response
901
+
902
+
903
+ def _query_asset_card_list_serialize(
904
+ self,
905
+ query_asset_card_list_request: Type[BaseSdkModel],
906
+ _request_auth,
907
+ _content_type,
908
+ _headers,
909
+ _host_index,
910
+ ) -> RequestSerialized:
911
+
912
+ _host = None
913
+
914
+ _collection_formats: Dict[str, str] = {
915
+ }
916
+
917
+ _path_params: Dict[str, str] = {}
918
+ _query_params: List[Tuple[str, str]] = []
919
+ _header_params: Dict[str, Optional[str]] = _headers or {}
920
+ _form_params: List[Tuple[str, str]] = []
921
+ _files: Dict[
922
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
923
+ ] = {}
924
+ _body_params: Optional[bytes] = None
925
+
926
+ # process the path parameters
927
+ # process the query parameters
928
+ # process the header parameters
929
+ # process the form parameters
930
+ # process the body parameter
931
+ if query_asset_card_list_request is not None:
932
+ _body_params = query_asset_card_list_request
933
+
934
+
935
+ # set the HTTP header `Accept`
936
+ if 'Accept' not in _header_params:
937
+ _header_params['Accept'] = self.api_client.select_header_accept(
938
+ [
939
+ 'application/json'
940
+ ]
941
+ )
942
+
943
+ # set the HTTP header `Content-Type`
944
+ if _content_type:
945
+ _header_params['Content-Type'] = _content_type
946
+ else:
947
+ _default_content_type = (
948
+ self.api_client.select_header_content_type(
949
+ [
950
+ 'application/json'
951
+ ]
952
+ )
953
+ )
954
+ if _default_content_type is not None:
955
+ _header_params['Content-Type'] = _default_content_type
956
+
957
+ # authentication setting
958
+ _auth_settings: List[str] = [
959
+ 'CLIENT_SECRET'
960
+ ]
961
+
962
+ # For OPEN_API type, we use CLIENT_SECRET authentication with signature
963
+ # merge list of auth settings with Open API runtime headers
964
+ _auth_settings = OpenApiHeader.merge_with_open_api_runtime_headers(_auth_settings)
965
+ # Create the full request structure for OPEN_API
966
+ # Wrap the simplified body parameters in the proper DANA request format
967
+
968
+ # Generate head parameters
969
+ _generated_auth = OpenApiHeader.get_open_api_generated_headers(
970
+ method='POST',
971
+ resource_path='/dana/member/asset/queryAssetCardList.htm',
972
+ body='{}', # Empty body for head generation
973
+ function_name="dana.member.asset.queryAssetCardList",
974
+ client_id=self.api_client.configuration.get_api_key_with_prefix('X_PARTNER_ID'),
975
+ client_secret=self.api_client.configuration.get_api_key_with_prefix('CLIENT_SECRET')
976
+ )
977
+
978
+ # Extract values from auth settings for JSON body
979
+ head_params = {
980
+ key: auth_setting['value']
981
+ for key, auth_setting in _generated_auth.items()
982
+ }
983
+
984
+ # Create the full request structure
985
+ request_body = {
986
+ "request": {
987
+ "head": head_params,
988
+ "body": query_asset_card_list_request.to_dict()
989
+ }
990
+ }
991
+
992
+ # Generate signature
993
+ _signature = OpenApiHeader.generate_open_api_signature(
994
+ body=json.dumps(request_body),
995
+ private_key=self.api_client.configuration.get_api_key_with_prefix('PRIVATE_KEY')
996
+ )
997
+
998
+ # Add signature to the request
999
+ if _signature:
1000
+ request_body['signature'] = _signature
1001
+
1002
+ # Convert final request to JSON string
1003
+ _body_params = request_body
1004
+
1005
+ return self.api_client.param_serialize(
1006
+ method='POST',
1007
+ resource_path='/dana/member/asset/queryAssetCardList.htm',
1008
+ path_params=_path_params,
1009
+ query_params=_query_params,
1010
+ header_params=_header_params,
1011
+ body=_body_params,
1012
+ post_params=_form_params,
1013
+ files=_files,
1014
+ auth_settings=_auth_settings,
1015
+ collection_formats=_collection_formats,
1016
+ _host=_host,
1017
+ _request_auth=_request_auth,
1018
+ _generated_auth=_generated_auth,
1019
+ )
1020
+
1021
+
704
1022
  @validate_call
705
1023
  def query_division(
706
1024
  self,
@@ -108,3 +108,45 @@ class ShopBizType(str, Enum):
108
108
  ONLINE = "ONLINE"
109
109
  OFFLINE = "OFFLINE"
110
110
 
111
+ class ContactBizType(str, Enum):
112
+ TRANSFER_HIS = "TRANSFER_HIS"
113
+ DIRECT_TRANSFER = "DIRECT_TRANSFER"
114
+ GENERAL_CARD = "GENERAL_CARD"
115
+ DIRECTPAY_CARD = "DIRECTPAY_CARD"
116
+ PAYMENT_CARD = "PAYMENT_CARD"
117
+ CASHOUT_CARD = "CASHOUT_CARD"
118
+ IMPS_ACCOUNT = "IMPS_ACCOUNT"
119
+ INVESTMENT_ACCOUNT = "INVESTMENT_ACCOUNT"
120
+
121
+ class AssetType(str, Enum):
122
+ CHECKING_ACCOUNT = "CHECKING_ACCOUNT"
123
+ SAVINGS_ACCOUNT = "SAVINGS_ACCOUNT"
124
+ LOAN_ACCOUNT = "LOAN_ACCOUNT"
125
+ IMPS_ACCOUNT = "IMPS_ACCOUNT"
126
+ DEBIT_CARD = "DEBIT_CARD"
127
+ CREDIT_CARD = "CREDIT_CARD"
128
+ SECURED_CREDIT_CARD = "SECURED_CREDIT_CARD"
129
+ VA_ACCOUNT = "VA_ACCOUNT"
130
+ OTC_ACCOUNT = "OTC_ACCOUNT"
131
+ REFUND_ACCOUNT = "REFUND_ACCOUNT"
132
+ CREDIT_ACCOUNT = "CREDIT_ACCOUNT"
133
+ LOAN = "LOAN"
134
+ MUTUAL_FUNDS_ACCOUNT = "MUTUAL_FUNDS_ACCOUNT"
135
+ INVESTMENT = "INVESTMENT"
136
+
137
+ class DefaultAsset(str, Enum):
138
+ TRUE = "true"
139
+ FALSE = "false"
140
+
141
+ class EnableStatus(str, Enum):
142
+ TRUE = "true"
143
+ FALSE = "false"
144
+
145
+ class DirectDebit(str, Enum):
146
+ TRUE = "true"
147
+ FALSE = "false"
148
+
149
+ class EnableOnly(str, Enum):
150
+ TRUE = "true"
151
+ FALSE = "false"
152
+
@@ -30,6 +30,7 @@
30
30
 
31
31
  # import models into model package
32
32
  from dana.merchant_management.v1.models.address_info import AddressInfo
33
+ from dana.merchant_management.v1.models.asset_card_list_item import AssetCardListItem
33
34
  from dana.merchant_management.v1.models.business_docs import BusinessDocs
34
35
  from dana.merchant_management.v1.models.create_division_request import CreateDivisionRequest
35
36
  from dana.merchant_management.v1.models.create_division_request_ext_info import CreateDivisionRequestExtInfo
@@ -43,9 +44,15 @@ from dana.merchant_management.v1.models.create_shop_response_response import Cre
43
44
  from dana.merchant_management.v1.models.create_shop_response_response_body import CreateShopResponseResponseBody
44
45
  from dana.merchant_management.v1.models.create_shop_response_response_head import CreateShopResponseResponseHead
45
46
  from dana.merchant_management.v1.models.division_resource_info import DivisionResourceInfo
47
+ from dana.merchant_management.v1.models.member_asset_result_info import MemberAssetResultInfo
46
48
  from dana.merchant_management.v1.models.merchant_resource_information import MerchantResourceInformation
47
49
  from dana.merchant_management.v1.models.mobile_no_info import MobileNoInfo
48
50
  from dana.merchant_management.v1.models.pic_info import PicInfo
51
+ from dana.merchant_management.v1.models.query_asset_card_list_request import QueryAssetCardListRequest
52
+ from dana.merchant_management.v1.models.query_asset_card_list_response import QueryAssetCardListResponse
53
+ from dana.merchant_management.v1.models.query_asset_card_list_response_response import QueryAssetCardListResponseResponse
54
+ from dana.merchant_management.v1.models.query_asset_card_list_response_response_body import QueryAssetCardListResponseResponseBody
55
+ from dana.merchant_management.v1.models.query_asset_card_list_response_response_head import QueryAssetCardListResponseResponseHead
49
56
  from dana.merchant_management.v1.models.query_division_request import QueryDivisionRequest
50
57
  from dana.merchant_management.v1.models.query_division_response import QueryDivisionResponse
51
58
  from dana.merchant_management.v1.models.query_division_response_response import QueryDivisionResponseResponse