alibabacloud-agency20221216 1.6.0__tar.gz → 1.7.0__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 (18) hide show
  1. {alibabacloud_agency20221216-1.6.0 → alibabacloud_agency20221216-1.7.0}/ChangeLog.md +11 -0
  2. {alibabacloud_agency20221216-1.6.0 → alibabacloud_agency20221216-1.7.0}/PKG-INFO +1 -1
  3. alibabacloud_agency20221216-1.7.0/alibabacloud_agency20221216/__init__.py +1 -0
  4. {alibabacloud_agency20221216-1.6.0 → alibabacloud_agency20221216-1.7.0}/alibabacloud_agency20221216/client.py +468 -0
  5. {alibabacloud_agency20221216-1.6.0 → alibabacloud_agency20221216-1.7.0}/alibabacloud_agency20221216/models.py +1012 -58
  6. {alibabacloud_agency20221216-1.6.0 → alibabacloud_agency20221216-1.7.0}/alibabacloud_agency20221216.egg-info/PKG-INFO +1 -1
  7. alibabacloud_agency20221216-1.7.0/alibabacloud_agency20221216.egg-info/requires.txt +4 -0
  8. {alibabacloud_agency20221216-1.6.0 → alibabacloud_agency20221216-1.7.0}/setup.py +3 -3
  9. alibabacloud_agency20221216-1.6.0/alibabacloud_agency20221216/__init__.py +0 -1
  10. alibabacloud_agency20221216-1.6.0/alibabacloud_agency20221216.egg-info/requires.txt +0 -4
  11. {alibabacloud_agency20221216-1.6.0 → alibabacloud_agency20221216-1.7.0}/LICENSE +0 -0
  12. {alibabacloud_agency20221216-1.6.0 → alibabacloud_agency20221216-1.7.0}/MANIFEST.in +0 -0
  13. {alibabacloud_agency20221216-1.6.0 → alibabacloud_agency20221216-1.7.0}/README-CN.md +0 -0
  14. {alibabacloud_agency20221216-1.6.0 → alibabacloud_agency20221216-1.7.0}/README.md +0 -0
  15. {alibabacloud_agency20221216-1.6.0 → alibabacloud_agency20221216-1.7.0}/alibabacloud_agency20221216.egg-info/SOURCES.txt +0 -0
  16. {alibabacloud_agency20221216-1.6.0 → alibabacloud_agency20221216-1.7.0}/alibabacloud_agency20221216.egg-info/dependency_links.txt +0 -0
  17. {alibabacloud_agency20221216-1.6.0 → alibabacloud_agency20221216-1.7.0}/alibabacloud_agency20221216.egg-info/top_level.txt +0 -0
  18. {alibabacloud_agency20221216-1.6.0 → alibabacloud_agency20221216-1.7.0}/setup.cfg +0 -0
@@ -1,3 +1,14 @@
1
+ 2025-02-20 Version: 1.6.1
2
+ - Update API IssueCouponForCustomer: add param IsUseBenefit.
3
+
4
+
5
+ 2024-11-29 Version: 1.6.0
6
+ - Support API CancelCoupon.
7
+ - Support API CouponApprovalStatusList.
8
+ - Support API DeleteCouponTemplate.
9
+ - Support API GetCouponTemplateDetail.
10
+
11
+
1
12
  2024-11-05 Version: 1.5.1
2
13
  - Update API CreateCouponTemplate: update param CouponDescription.
3
14
  - Update API CreateCouponTemplate: update param ReasonForApplication.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_agency20221216
3
- Version: 1.6.0
3
+ Version: 1.7.0
4
4
  Summary: Alibaba Cloud Agency (20221216) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -0,0 +1 @@
1
+ __version__ = '1.7.0'
@@ -1439,6 +1439,114 @@ class Client(OpenApiClient):
1439
1439
  runtime = util_models.RuntimeOptions()
1440
1440
  return await self.export_customer_quota_record_with_options_async(request, runtime)
1441
1441
 
1442
+ def export_reversed_deduction_history_with_options(
1443
+ self,
1444
+ request: agency_20221216_models.ExportReversedDeductionHistoryRequest,
1445
+ runtime: util_models.RuntimeOptions,
1446
+ ) -> agency_20221216_models.ExportReversedDeductionHistoryResponse:
1447
+ """
1448
+ @summary 额度冲减明细列表导出接口
1449
+
1450
+ @param request: ExportReversedDeductionHistoryRequest
1451
+ @param runtime: runtime options for this request RuntimeOptions
1452
+ @return: ExportReversedDeductionHistoryResponse
1453
+ """
1454
+ UtilClient.validate_model(request)
1455
+ query = {}
1456
+ if not UtilClient.is_unset(request.end_date):
1457
+ query['EndDate'] = request.end_date
1458
+ if not UtilClient.is_unset(request.export_uid):
1459
+ query['ExportUid'] = request.export_uid
1460
+ if not UtilClient.is_unset(request.language):
1461
+ query['Language'] = request.language
1462
+ if not UtilClient.is_unset(request.start_date):
1463
+ query['StartDate'] = request.start_date
1464
+ req = open_api_models.OpenApiRequest(
1465
+ query=OpenApiUtilClient.query(query)
1466
+ )
1467
+ params = open_api_models.Params(
1468
+ action='ExportReversedDeductionHistory',
1469
+ version='2022-12-16',
1470
+ protocol='HTTPS',
1471
+ pathname='/',
1472
+ method='POST',
1473
+ auth_type='AK',
1474
+ style='RPC',
1475
+ req_body_type='formData',
1476
+ body_type='json'
1477
+ )
1478
+ return TeaCore.from_map(
1479
+ agency_20221216_models.ExportReversedDeductionHistoryResponse(),
1480
+ self.call_api(params, req, runtime)
1481
+ )
1482
+
1483
+ async def export_reversed_deduction_history_with_options_async(
1484
+ self,
1485
+ request: agency_20221216_models.ExportReversedDeductionHistoryRequest,
1486
+ runtime: util_models.RuntimeOptions,
1487
+ ) -> agency_20221216_models.ExportReversedDeductionHistoryResponse:
1488
+ """
1489
+ @summary 额度冲减明细列表导出接口
1490
+
1491
+ @param request: ExportReversedDeductionHistoryRequest
1492
+ @param runtime: runtime options for this request RuntimeOptions
1493
+ @return: ExportReversedDeductionHistoryResponse
1494
+ """
1495
+ UtilClient.validate_model(request)
1496
+ query = {}
1497
+ if not UtilClient.is_unset(request.end_date):
1498
+ query['EndDate'] = request.end_date
1499
+ if not UtilClient.is_unset(request.export_uid):
1500
+ query['ExportUid'] = request.export_uid
1501
+ if not UtilClient.is_unset(request.language):
1502
+ query['Language'] = request.language
1503
+ if not UtilClient.is_unset(request.start_date):
1504
+ query['StartDate'] = request.start_date
1505
+ req = open_api_models.OpenApiRequest(
1506
+ query=OpenApiUtilClient.query(query)
1507
+ )
1508
+ params = open_api_models.Params(
1509
+ action='ExportReversedDeductionHistory',
1510
+ version='2022-12-16',
1511
+ protocol='HTTPS',
1512
+ pathname='/',
1513
+ method='POST',
1514
+ auth_type='AK',
1515
+ style='RPC',
1516
+ req_body_type='formData',
1517
+ body_type='json'
1518
+ )
1519
+ return TeaCore.from_map(
1520
+ agency_20221216_models.ExportReversedDeductionHistoryResponse(),
1521
+ await self.call_api_async(params, req, runtime)
1522
+ )
1523
+
1524
+ def export_reversed_deduction_history(
1525
+ self,
1526
+ request: agency_20221216_models.ExportReversedDeductionHistoryRequest,
1527
+ ) -> agency_20221216_models.ExportReversedDeductionHistoryResponse:
1528
+ """
1529
+ @summary 额度冲减明细列表导出接口
1530
+
1531
+ @param request: ExportReversedDeductionHistoryRequest
1532
+ @return: ExportReversedDeductionHistoryResponse
1533
+ """
1534
+ runtime = util_models.RuntimeOptions()
1535
+ return self.export_reversed_deduction_history_with_options(request, runtime)
1536
+
1537
+ async def export_reversed_deduction_history_async(
1538
+ self,
1539
+ request: agency_20221216_models.ExportReversedDeductionHistoryRequest,
1540
+ ) -> agency_20221216_models.ExportReversedDeductionHistoryResponse:
1541
+ """
1542
+ @summary 额度冲减明细列表导出接口
1543
+
1544
+ @param request: ExportReversedDeductionHistoryRequest
1545
+ @return: ExportReversedDeductionHistoryResponse
1546
+ """
1547
+ runtime = util_models.RuntimeOptions()
1548
+ return await self.export_reversed_deduction_history_with_options_async(request, runtime)
1549
+
1442
1550
  def get_account_info_with_options(
1443
1551
  self,
1444
1552
  request: agency_20221216_models.GetAccountInfoRequest,
@@ -1531,6 +1639,138 @@ class Client(OpenApiClient):
1531
1639
  runtime = util_models.RuntimeOptions()
1532
1640
  return await self.get_account_info_with_options_async(request, runtime)
1533
1641
 
1642
+ def get_commissionable_products_with_options(
1643
+ self,
1644
+ tmp_req: agency_20221216_models.GetCommissionableProductsRequest,
1645
+ runtime: util_models.RuntimeOptions,
1646
+ ) -> agency_20221216_models.GetCommissionableProductsResponse:
1647
+ """
1648
+ @summary 提供返佣商品API
1649
+
1650
+ @param tmp_req: GetCommissionableProductsRequest
1651
+ @param runtime: runtime options for this request RuntimeOptions
1652
+ @return: GetCommissionableProductsResponse
1653
+ """
1654
+ UtilClient.validate_model(tmp_req)
1655
+ request = agency_20221216_models.GetCommissionableProductsShrinkRequest()
1656
+ OpenApiUtilClient.convert(tmp_req, request)
1657
+ if not UtilClient.is_unset(tmp_req.list_show_status_list):
1658
+ request.list_show_status_list_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.list_show_status_list, 'ListShowStatusList', 'simple')
1659
+ query = {}
1660
+ if not UtilClient.is_unset(request.commodity_code_list):
1661
+ query['CommodityCodeList'] = request.commodity_code_list
1662
+ if not UtilClient.is_unset(request.fiscal_year):
1663
+ query['FiscalYear'] = request.fiscal_year
1664
+ if not UtilClient.is_unset(request.list_show_status_list_shrink):
1665
+ query['ListShowStatusList'] = request.list_show_status_list_shrink
1666
+ if not UtilClient.is_unset(request.page_no):
1667
+ query['PageNo'] = request.page_no
1668
+ if not UtilClient.is_unset(request.page_size):
1669
+ query['PageSize'] = request.page_size
1670
+ if not UtilClient.is_unset(request.pip_code_list):
1671
+ query['PipCodeList'] = request.pip_code_list
1672
+ if not UtilClient.is_unset(request.real_end_month):
1673
+ query['RealEndMonth'] = request.real_end_month
1674
+ if not UtilClient.is_unset(request.real_start_month):
1675
+ query['RealStartMonth'] = request.real_start_month
1676
+ req = open_api_models.OpenApiRequest(
1677
+ query=OpenApiUtilClient.query(query)
1678
+ )
1679
+ params = open_api_models.Params(
1680
+ action='GetCommissionableProducts',
1681
+ version='2022-12-16',
1682
+ protocol='HTTPS',
1683
+ pathname='/',
1684
+ method='POST',
1685
+ auth_type='AK',
1686
+ style='RPC',
1687
+ req_body_type='formData',
1688
+ body_type='json'
1689
+ )
1690
+ return TeaCore.from_map(
1691
+ agency_20221216_models.GetCommissionableProductsResponse(),
1692
+ self.call_api(params, req, runtime)
1693
+ )
1694
+
1695
+ async def get_commissionable_products_with_options_async(
1696
+ self,
1697
+ tmp_req: agency_20221216_models.GetCommissionableProductsRequest,
1698
+ runtime: util_models.RuntimeOptions,
1699
+ ) -> agency_20221216_models.GetCommissionableProductsResponse:
1700
+ """
1701
+ @summary 提供返佣商品API
1702
+
1703
+ @param tmp_req: GetCommissionableProductsRequest
1704
+ @param runtime: runtime options for this request RuntimeOptions
1705
+ @return: GetCommissionableProductsResponse
1706
+ """
1707
+ UtilClient.validate_model(tmp_req)
1708
+ request = agency_20221216_models.GetCommissionableProductsShrinkRequest()
1709
+ OpenApiUtilClient.convert(tmp_req, request)
1710
+ if not UtilClient.is_unset(tmp_req.list_show_status_list):
1711
+ request.list_show_status_list_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.list_show_status_list, 'ListShowStatusList', 'simple')
1712
+ query = {}
1713
+ if not UtilClient.is_unset(request.commodity_code_list):
1714
+ query['CommodityCodeList'] = request.commodity_code_list
1715
+ if not UtilClient.is_unset(request.fiscal_year):
1716
+ query['FiscalYear'] = request.fiscal_year
1717
+ if not UtilClient.is_unset(request.list_show_status_list_shrink):
1718
+ query['ListShowStatusList'] = request.list_show_status_list_shrink
1719
+ if not UtilClient.is_unset(request.page_no):
1720
+ query['PageNo'] = request.page_no
1721
+ if not UtilClient.is_unset(request.page_size):
1722
+ query['PageSize'] = request.page_size
1723
+ if not UtilClient.is_unset(request.pip_code_list):
1724
+ query['PipCodeList'] = request.pip_code_list
1725
+ if not UtilClient.is_unset(request.real_end_month):
1726
+ query['RealEndMonth'] = request.real_end_month
1727
+ if not UtilClient.is_unset(request.real_start_month):
1728
+ query['RealStartMonth'] = request.real_start_month
1729
+ req = open_api_models.OpenApiRequest(
1730
+ query=OpenApiUtilClient.query(query)
1731
+ )
1732
+ params = open_api_models.Params(
1733
+ action='GetCommissionableProducts',
1734
+ version='2022-12-16',
1735
+ protocol='HTTPS',
1736
+ pathname='/',
1737
+ method='POST',
1738
+ auth_type='AK',
1739
+ style='RPC',
1740
+ req_body_type='formData',
1741
+ body_type='json'
1742
+ )
1743
+ return TeaCore.from_map(
1744
+ agency_20221216_models.GetCommissionableProductsResponse(),
1745
+ await self.call_api_async(params, req, runtime)
1746
+ )
1747
+
1748
+ def get_commissionable_products(
1749
+ self,
1750
+ request: agency_20221216_models.GetCommissionableProductsRequest,
1751
+ ) -> agency_20221216_models.GetCommissionableProductsResponse:
1752
+ """
1753
+ @summary 提供返佣商品API
1754
+
1755
+ @param request: GetCommissionableProductsRequest
1756
+ @return: GetCommissionableProductsResponse
1757
+ """
1758
+ runtime = util_models.RuntimeOptions()
1759
+ return self.get_commissionable_products_with_options(request, runtime)
1760
+
1761
+ async def get_commissionable_products_async(
1762
+ self,
1763
+ request: agency_20221216_models.GetCommissionableProductsRequest,
1764
+ ) -> agency_20221216_models.GetCommissionableProductsResponse:
1765
+ """
1766
+ @summary 提供返佣商品API
1767
+
1768
+ @param request: GetCommissionableProductsRequest
1769
+ @return: GetCommissionableProductsResponse
1770
+ """
1771
+ runtime = util_models.RuntimeOptions()
1772
+ return await self.get_commissionable_products_with_options_async(request, runtime)
1773
+
1534
1774
  def get_coupon_template_detail_with_options(
1535
1775
  self,
1536
1776
  request: agency_20221216_models.GetCouponTemplateDetailRequest,
@@ -2421,6 +2661,8 @@ class Client(OpenApiClient):
2421
2661
  query['AcceptLanguage'] = request.accept_language
2422
2662
  if not UtilClient.is_unset(request.coupon_template_id):
2423
2663
  query['CouponTemplateId'] = request.coupon_template_id
2664
+ if not UtilClient.is_unset(request.is_use_benefit):
2665
+ query['IsUseBenefit'] = request.is_use_benefit
2424
2666
  if not UtilClient.is_unset(request.uidlist):
2425
2667
  query['Uidlist'] = request.uidlist
2426
2668
  req = open_api_models.OpenApiRequest(
@@ -2460,6 +2702,8 @@ class Client(OpenApiClient):
2460
2702
  query['AcceptLanguage'] = request.accept_language
2461
2703
  if not UtilClient.is_unset(request.coupon_template_id):
2462
2704
  query['CouponTemplateId'] = request.coupon_template_id
2705
+ if not UtilClient.is_unset(request.is_use_benefit):
2706
+ query['IsUseBenefit'] = request.is_use_benefit
2463
2707
  if not UtilClient.is_unset(request.uidlist):
2464
2708
  query['Uidlist'] = request.uidlist
2465
2709
  req = open_api_models.OpenApiRequest(
@@ -2705,6 +2949,230 @@ class Client(OpenApiClient):
2705
2949
  runtime = util_models.RuntimeOptions()
2706
2950
  return await self.list_coupon_usage_with_options_async(request, runtime)
2707
2951
 
2952
+ def list_export_tasks_with_options(
2953
+ self,
2954
+ request: agency_20221216_models.ListExportTasksRequest,
2955
+ runtime: util_models.RuntimeOptions,
2956
+ ) -> agency_20221216_models.ListExportTasksResponse:
2957
+ """
2958
+ @summary 通用查询导出任务列表
2959
+
2960
+ @param request: ListExportTasksRequest
2961
+ @param runtime: runtime options for this request RuntimeOptions
2962
+ @return: ListExportTasksResponse
2963
+ """
2964
+ UtilClient.validate_model(request)
2965
+ query = {}
2966
+ if not UtilClient.is_unset(request.language):
2967
+ query['Language'] = request.language
2968
+ if not UtilClient.is_unset(request.page_no):
2969
+ query['PageNo'] = request.page_no
2970
+ if not UtilClient.is_unset(request.page_size):
2971
+ query['PageSize'] = request.page_size
2972
+ if not UtilClient.is_unset(request.scene_code):
2973
+ query['SceneCode'] = request.scene_code
2974
+ req = open_api_models.OpenApiRequest(
2975
+ query=OpenApiUtilClient.query(query)
2976
+ )
2977
+ params = open_api_models.Params(
2978
+ action='ListExportTasks',
2979
+ version='2022-12-16',
2980
+ protocol='HTTPS',
2981
+ pathname='/',
2982
+ method='POST',
2983
+ auth_type='AK',
2984
+ style='RPC',
2985
+ req_body_type='formData',
2986
+ body_type='json'
2987
+ )
2988
+ return TeaCore.from_map(
2989
+ agency_20221216_models.ListExportTasksResponse(),
2990
+ self.call_api(params, req, runtime)
2991
+ )
2992
+
2993
+ async def list_export_tasks_with_options_async(
2994
+ self,
2995
+ request: agency_20221216_models.ListExportTasksRequest,
2996
+ runtime: util_models.RuntimeOptions,
2997
+ ) -> agency_20221216_models.ListExportTasksResponse:
2998
+ """
2999
+ @summary 通用查询导出任务列表
3000
+
3001
+ @param request: ListExportTasksRequest
3002
+ @param runtime: runtime options for this request RuntimeOptions
3003
+ @return: ListExportTasksResponse
3004
+ """
3005
+ UtilClient.validate_model(request)
3006
+ query = {}
3007
+ if not UtilClient.is_unset(request.language):
3008
+ query['Language'] = request.language
3009
+ if not UtilClient.is_unset(request.page_no):
3010
+ query['PageNo'] = request.page_no
3011
+ if not UtilClient.is_unset(request.page_size):
3012
+ query['PageSize'] = request.page_size
3013
+ if not UtilClient.is_unset(request.scene_code):
3014
+ query['SceneCode'] = request.scene_code
3015
+ req = open_api_models.OpenApiRequest(
3016
+ query=OpenApiUtilClient.query(query)
3017
+ )
3018
+ params = open_api_models.Params(
3019
+ action='ListExportTasks',
3020
+ version='2022-12-16',
3021
+ protocol='HTTPS',
3022
+ pathname='/',
3023
+ method='POST',
3024
+ auth_type='AK',
3025
+ style='RPC',
3026
+ req_body_type='formData',
3027
+ body_type='json'
3028
+ )
3029
+ return TeaCore.from_map(
3030
+ agency_20221216_models.ListExportTasksResponse(),
3031
+ await self.call_api_async(params, req, runtime)
3032
+ )
3033
+
3034
+ def list_export_tasks(
3035
+ self,
3036
+ request: agency_20221216_models.ListExportTasksRequest,
3037
+ ) -> agency_20221216_models.ListExportTasksResponse:
3038
+ """
3039
+ @summary 通用查询导出任务列表
3040
+
3041
+ @param request: ListExportTasksRequest
3042
+ @return: ListExportTasksResponse
3043
+ """
3044
+ runtime = util_models.RuntimeOptions()
3045
+ return self.list_export_tasks_with_options(request, runtime)
3046
+
3047
+ async def list_export_tasks_async(
3048
+ self,
3049
+ request: agency_20221216_models.ListExportTasksRequest,
3050
+ ) -> agency_20221216_models.ListExportTasksResponse:
3051
+ """
3052
+ @summary 通用查询导出任务列表
3053
+
3054
+ @param request: ListExportTasksRequest
3055
+ @return: ListExportTasksResponse
3056
+ """
3057
+ runtime = util_models.RuntimeOptions()
3058
+ return await self.list_export_tasks_with_options_async(request, runtime)
3059
+
3060
+ def query_reversed_deduction_history_with_options(
3061
+ self,
3062
+ request: agency_20221216_models.QueryReversedDeductionHistoryRequest,
3063
+ runtime: util_models.RuntimeOptions,
3064
+ ) -> agency_20221216_models.QueryReversedDeductionHistoryResponse:
3065
+ """
3066
+ @summary 额度冲减明细列表
3067
+
3068
+ @param request: QueryReversedDeductionHistoryRequest
3069
+ @param runtime: runtime options for this request RuntimeOptions
3070
+ @return: QueryReversedDeductionHistoryResponse
3071
+ """
3072
+ UtilClient.validate_model(request)
3073
+ query = {}
3074
+ if not UtilClient.is_unset(request.end_date):
3075
+ query['EndDate'] = request.end_date
3076
+ if not UtilClient.is_unset(request.language):
3077
+ query['Language'] = request.language
3078
+ if not UtilClient.is_unset(request.page_no):
3079
+ query['PageNo'] = request.page_no
3080
+ if not UtilClient.is_unset(request.page_size):
3081
+ query['PageSize'] = request.page_size
3082
+ if not UtilClient.is_unset(request.start_date):
3083
+ query['StartDate'] = request.start_date
3084
+ if not UtilClient.is_unset(request.uid):
3085
+ query['Uid'] = request.uid
3086
+ req = open_api_models.OpenApiRequest(
3087
+ query=OpenApiUtilClient.query(query)
3088
+ )
3089
+ params = open_api_models.Params(
3090
+ action='QueryReversedDeductionHistory',
3091
+ version='2022-12-16',
3092
+ protocol='HTTPS',
3093
+ pathname='/',
3094
+ method='POST',
3095
+ auth_type='AK',
3096
+ style='RPC',
3097
+ req_body_type='formData',
3098
+ body_type='json'
3099
+ )
3100
+ return TeaCore.from_map(
3101
+ agency_20221216_models.QueryReversedDeductionHistoryResponse(),
3102
+ self.call_api(params, req, runtime)
3103
+ )
3104
+
3105
+ async def query_reversed_deduction_history_with_options_async(
3106
+ self,
3107
+ request: agency_20221216_models.QueryReversedDeductionHistoryRequest,
3108
+ runtime: util_models.RuntimeOptions,
3109
+ ) -> agency_20221216_models.QueryReversedDeductionHistoryResponse:
3110
+ """
3111
+ @summary 额度冲减明细列表
3112
+
3113
+ @param request: QueryReversedDeductionHistoryRequest
3114
+ @param runtime: runtime options for this request RuntimeOptions
3115
+ @return: QueryReversedDeductionHistoryResponse
3116
+ """
3117
+ UtilClient.validate_model(request)
3118
+ query = {}
3119
+ if not UtilClient.is_unset(request.end_date):
3120
+ query['EndDate'] = request.end_date
3121
+ if not UtilClient.is_unset(request.language):
3122
+ query['Language'] = request.language
3123
+ if not UtilClient.is_unset(request.page_no):
3124
+ query['PageNo'] = request.page_no
3125
+ if not UtilClient.is_unset(request.page_size):
3126
+ query['PageSize'] = request.page_size
3127
+ if not UtilClient.is_unset(request.start_date):
3128
+ query['StartDate'] = request.start_date
3129
+ if not UtilClient.is_unset(request.uid):
3130
+ query['Uid'] = request.uid
3131
+ req = open_api_models.OpenApiRequest(
3132
+ query=OpenApiUtilClient.query(query)
3133
+ )
3134
+ params = open_api_models.Params(
3135
+ action='QueryReversedDeductionHistory',
3136
+ version='2022-12-16',
3137
+ protocol='HTTPS',
3138
+ pathname='/',
3139
+ method='POST',
3140
+ auth_type='AK',
3141
+ style='RPC',
3142
+ req_body_type='formData',
3143
+ body_type='json'
3144
+ )
3145
+ return TeaCore.from_map(
3146
+ agency_20221216_models.QueryReversedDeductionHistoryResponse(),
3147
+ await self.call_api_async(params, req, runtime)
3148
+ )
3149
+
3150
+ def query_reversed_deduction_history(
3151
+ self,
3152
+ request: agency_20221216_models.QueryReversedDeductionHistoryRequest,
3153
+ ) -> agency_20221216_models.QueryReversedDeductionHistoryResponse:
3154
+ """
3155
+ @summary 额度冲减明细列表
3156
+
3157
+ @param request: QueryReversedDeductionHistoryRequest
3158
+ @return: QueryReversedDeductionHistoryResponse
3159
+ """
3160
+ runtime = util_models.RuntimeOptions()
3161
+ return self.query_reversed_deduction_history_with_options(request, runtime)
3162
+
3163
+ async def query_reversed_deduction_history_async(
3164
+ self,
3165
+ request: agency_20221216_models.QueryReversedDeductionHistoryRequest,
3166
+ ) -> agency_20221216_models.QueryReversedDeductionHistoryResponse:
3167
+ """
3168
+ @summary 额度冲减明细列表
3169
+
3170
+ @param request: QueryReversedDeductionHistoryRequest
3171
+ @return: QueryReversedDeductionHistoryResponse
3172
+ """
3173
+ runtime = util_models.RuntimeOptions()
3174
+ return await self.query_reversed_deduction_history_with_options_async(request, runtime)
3175
+
2708
3176
  def quota_list_export_paged_with_options(
2709
3177
  self,
2710
3178
  request: agency_20221216_models.QuotaListExportPagedRequest,