tencentcloud-sdk-nodejs-intl-en 3.0.737 → 3.0.738

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-intl-en",
3
- "version": "3.0.737",
3
+ "version": "3.0.738",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,2 +1,2 @@
1
- const sdkVersion = "3.0.737";
1
+ const sdkVersion = "3.0.738";
2
2
  module.exports = sdkVersion
@@ -31,10 +31,12 @@ const AllocateCustomerCreditRequest = models.AllocateCustomerCreditRequest;
31
31
  const DescribeBillSummaryByRegionResponse = models.DescribeBillSummaryByRegionResponse;
32
32
  const DescribeCustomerBillSummaryResponse = models.DescribeCustomerBillSummaryResponse;
33
33
  const QueryCustomersCreditRequest = models.QueryCustomersCreditRequest;
34
+ const DescribeBillDetailRequest = models.DescribeBillDetailRequest;
34
35
  const QueryCreditByUinListRequest = models.QueryCreditByUinListRequest;
35
36
  const CreateAccountResponse = models.CreateAccountResponse;
36
37
  const QueryAccountVerificationStatusResponse = models.QueryAccountVerificationStatusResponse;
37
38
  const RegionSummaryOverviewItem = models.RegionSummaryOverviewItem;
39
+ const CustomerBillDetailData = models.CustomerBillDetailData;
38
40
  const GetCountryCodesResponse = models.GetCountryCodesResponse;
39
41
  const QueryCreditByUinListResponse = models.QueryCreditByUinListResponse;
40
42
  const DescribeCustomerInfoResponse = models.DescribeCustomerInfoResponse;
@@ -54,18 +56,19 @@ const DescribeCustomerInfoRequest = models.DescribeCustomerInfoRequest;
54
56
  const QueryCreditQuotaRequest = models.QueryCreditQuotaRequest;
55
57
  const AllocateCustomerCreditResponse = models.AllocateCustomerCreditResponse;
56
58
  const QueryVoucherListByUinVoucherItem = models.QueryVoucherListByUinVoucherItem;
57
- const QueryVoucherAmountByUinRequest = models.QueryVoucherAmountByUinRequest;
59
+ const DescribeBillSummaryByProductRequest = models.DescribeBillSummaryByProductRequest;
58
60
  const QueryDirectCustomersCreditData = models.QueryDirectCustomersCreditData;
59
61
  const GetCountryCodesRequest = models.GetCountryCodesRequest;
60
62
  const CountryCodeItem = models.CountryCodeItem;
61
63
  const BillDetailData = models.BillDetailData;
62
- const DescribeBillSummaryByProductRequest = models.DescribeBillSummaryByProductRequest;
64
+ const DescribeBillDetailResponse = models.DescribeBillDetailResponse;
63
65
  const QueryCreditAllocationHistoryRequest = models.QueryCreditAllocationHistoryRequest;
64
66
  const QueryCustomersCreditResponse = models.QueryCustomersCreditResponse;
65
67
  const DescribeCustomerUinRequest = models.DescribeCustomerUinRequest;
66
68
  const QueryVoucherListByUinResponse = models.QueryVoucherListByUinResponse;
67
69
  const QueryVoucherPoolRequest = models.QueryVoucherPoolRequest;
68
70
  const DescribeCustomerInfoData = models.DescribeCustomerInfoData;
71
+ const QueryVoucherAmountByUinRequest = models.QueryVoucherAmountByUinRequest;
69
72
  const PayModeSummaryOverviewItem = models.PayModeSummaryOverviewItem;
70
73
  const QueryCustomersCreditData = models.QueryCustomersCreditData;
71
74
  const DescribeCustomerBillSummaryRequest = models.DescribeCustomerBillSummaryRequest;
@@ -178,6 +181,17 @@ Notes:<br>
178
181
  this.request("AllocateCustomerCredit", req, resp, cb);
179
182
  }
180
183
 
184
+ /**
185
+ * This API is used to query the customer bill details.
186
+ * @param {DescribeBillDetailRequest} req
187
+ * @param {function(string, DescribeBillDetailResponse):void} cb
188
+ * @public
189
+ */
190
+ DescribeBillDetail(req, cb) {
191
+ let resp = new DescribeBillDetailResponse();
192
+ this.request("DescribeBillDetail", req, resp, cb);
193
+ }
194
+
181
195
  /**
182
196
  * This API is used to query the voucher quota based on the customer UIN.
183
197
  * @param {QueryVoucherAmountByUinRequest} req
@@ -634,6 +634,62 @@ class QueryCustomersCreditRequest extends AbstractModel {
634
634
  }
635
635
  }
636
636
 
637
+ /**
638
+ * DescribeBillDetail request structure.
639
+ * @class
640
+ */
641
+ class DescribeBillDetailRequest extends AbstractModel {
642
+ constructor(){
643
+ super();
644
+
645
+ /**
646
+ * The queried month in u200dthe format of “YYYY-MM”, such as 2023-01.
647
+ * @type {string || null}
648
+ */
649
+ this.Month = null;
650
+
651
+ /**
652
+ * A pagination parameter that specifies the number of entries per page
653
+ * @type {number || null}
654
+ */
655
+ this.PageSize = null;
656
+
657
+ /**
658
+ * A pagination parameter that specifies the current page number
659
+ * @type {number || null}
660
+ */
661
+ this.Page = null;
662
+
663
+ /**
664
+ * Billing mode. Valid values: `prePay` (Monthly subscription), postPay` (Pay-As-You-Go resources).
665
+ * @type {string || null}
666
+ */
667
+ this.PayMode = null;
668
+
669
+ /**
670
+ * Transaction type. Valid values: `prepay_purchase` (Purchase), `prepay_renew` (Renewal), `prepay_modify` (Upgrade/Downgrade), `prepay_return` ( Monthly subscription refund), `postpay_deduct` (Pay-as-you-go), `postpay_deduct_h` (Hourly settlement), `postpay_deduct_d` (Daily settlement), `postpay_deduct_m` (Monthly settlement), `offline_deduct` (Offline project deduction), `online_deduct` (Offline product deduction), `recon_deduct` (Adjustment - deduction), `recon_increase` (Adjustment - compensation), `ripay_purchase` (One-off RI Fee), `postpay_deduct_s` (Spot), `ri_hour_pay` (Hourly RI fee), `prePurchase` (New monthly subscription), `preRenew` (Monthly subscription renewal), `preUpgrade` (Upgrade/Downgrade), `preDowngrade` (Upgrade/Downgrade), `svp_hour_pay` (Hourly Savings Plan fee), `recon_guarantee` (Minimum spend deduction), `pre_purchase` (New monthly subscription), `pre_renew` (Monthly subscription renewal), `pre_upgrade` (Upgrade/Downgrade), `pre_downgrade` (Upgrade/Downgrade).
671
+ * @type {string || null}
672
+ */
673
+ this.ActionType = null;
674
+
675
+ }
676
+
677
+ /**
678
+ * @private
679
+ */
680
+ deserialize(params) {
681
+ if (!params) {
682
+ return;
683
+ }
684
+ this.Month = 'Month' in params ? params.Month : null;
685
+ this.PageSize = 'PageSize' in params ? params.PageSize : null;
686
+ this.Page = 'Page' in params ? params.Page : null;
687
+ this.PayMode = 'PayMode' in params ? params.PayMode : null;
688
+ this.ActionType = 'ActionType' in params ? params.ActionType : null;
689
+
690
+ }
691
+ }
692
+
637
693
  /**
638
694
  * QueryCreditByUinList request structure.
639
695
  * @class
@@ -793,6 +849,250 @@ Note: This field may return null, indicating that no valid values can be obtaine
793
849
  }
794
850
  }
795
851
 
852
+ /**
853
+ * Customer bill details
854
+ * @class
855
+ */
856
+ class CustomerBillDetailData extends AbstractModel {
857
+ constructor(){
858
+ super();
859
+
860
+ /**
861
+ * Reseller account
862
+ Note: This field may return null, indicating that no valid values can be obtained.
863
+ * @type {number || null}
864
+ */
865
+ this.PayerAccountId = null;
866
+
867
+ /**
868
+ * Customer account
869
+ Note: This field may return null, indicating that no valid values can be obtained.
870
+ * @type {number || null}
871
+ */
872
+ this.OwnerAccountId = null;
873
+
874
+ /**
875
+ * Operator account
876
+ Note: This field may return null, indicating that no valid values can be obtained.
877
+ * @type {number || null}
878
+ */
879
+ this.OperatorAccountId = null;
880
+
881
+ /**
882
+ * Product name
883
+ Note: This field may return null, indicating that no valid values can be obtained.
884
+ * @type {string || null}
885
+ */
886
+ this.ProductName = null;
887
+
888
+ /**
889
+ * Billing mode
890
+ `Monthly subscription` (Monthly subscription)
891
+ `Pay-As-You-Go resources` (Pay-as-you-go)
892
+ `Standard RI` (Reserved instance)
893
+ Note: This field may return null, indicating that no valid values can be obtained.
894
+ * @type {string || null}
895
+ */
896
+ this.BillingMode = null;
897
+
898
+ /**
899
+ * Project name
900
+
901
+ Note: This field may return null, indicating that no valid values can be obtained.
902
+ * @type {string || null}
903
+ */
904
+ this.ProjectName = null;
905
+
906
+ /**
907
+ * Resource region
908
+ Note: This field may return null, indicating that no valid values can be obtained.
909
+ * @type {string || null}
910
+ */
911
+ this.Region = null;
912
+
913
+ /**
914
+ * Resource AZ
915
+ Note: This field may return null, indicating that no valid values can be obtained.
916
+ * @type {string || null}
917
+ */
918
+ this.AvailabilityZone = null;
919
+
920
+ /**
921
+ * Instance ID
922
+ Note: This field may return null, indicating that no valid values can be obtained.
923
+ * @type {string || null}
924
+ */
925
+ this.InstanceId = null;
926
+
927
+ /**
928
+ * Instance name
929
+ Note: This field may return null, indicating that no valid values can be obtained.
930
+ * @type {string || null}
931
+ */
932
+ this.InstanceName = null;
933
+
934
+ /**
935
+ * Subproduct name
936
+
937
+ Note: This field may return null, indicating that no valid values can be obtained.
938
+ * @type {string || null}
939
+ */
940
+ this.SubProductName = null;
941
+
942
+ /**
943
+ * Settlement type
944
+ Note: This field may return null, indicating that no valid values can be obtained.
945
+ * @type {string || null}
946
+ */
947
+ this.TransactionType = null;
948
+
949
+ /**
950
+ * Transaction ID
951
+ Note: This field may return null, indicating that no valid values can be obtained.
952
+ * @type {string || null}
953
+ */
954
+ this.TransactionId = null;
955
+
956
+ /**
957
+ * Settlement time
958
+
959
+ Note: This field may return null, indicating that no valid values can be obtained.
960
+ * @type {string || null}
961
+ */
962
+ this.TransactionTime = null;
963
+
964
+ /**
965
+ * Start time of resource use
966
+ Note: This field may return null, indicating that no valid values can be obtained.
967
+ * @type {string || null}
968
+ */
969
+ this.UsageStartTime = null;
970
+
971
+ /**
972
+ * End time of resource use
973
+ Note: This field may return null, indicating that no valid values can be obtained.
974
+ * @type {string || null}
975
+ */
976
+ this.UsageEndTime = null;
977
+
978
+ /**
979
+ * Component
980
+ Note: This field may return null, indicating that no valid values can be obtained.
981
+ * @type {string || null}
982
+ */
983
+ this.ComponentType = null;
984
+
985
+ /**
986
+ * Component name
987
+ Note: This field may return null, indicating that no valid values can be obtained.
988
+ * @type {string || null}
989
+ */
990
+ this.ComponentName = null;
991
+
992
+ /**
993
+ * Component list price
994
+ Note: This field may return null, indicating that no valid values can be obtained.
995
+ * @type {string || null}
996
+ */
997
+ this.ComponentListPrice = null;
998
+
999
+ /**
1000
+ * Price unit
1001
+ Note: This field may return null, indicating that no valid values can be obtained.
1002
+ * @type {string || null}
1003
+ */
1004
+ this.ComponentPriceMeasurementUnit = null;
1005
+
1006
+ /**
1007
+ * Component usage
1008
+ Note: This field may return null, indicating that no valid values can be obtained.
1009
+ * @type {string || null}
1010
+ */
1011
+ this.ComponentUsage = null;
1012
+
1013
+ /**
1014
+ * Component usage unit
1015
+ Note: This field may return null, indicating that no valid values can be obtained.
1016
+ * @type {string || null}
1017
+ */
1018
+ this.ComponentUsageUnit = null;
1019
+
1020
+ /**
1021
+ * Resource usage duration
1022
+ Note: This field may return null, indicating that no valid values can be obtained.
1023
+ * @type {string || null}
1024
+ */
1025
+ this.UsageDuration = null;
1026
+
1027
+ /**
1028
+ * Duration unit
1029
+ Note: This field may return null, indicating that no valid values can be obtained.
1030
+ * @type {string || null}
1031
+ */
1032
+ this.DurationUnit = null;
1033
+
1034
+ /**
1035
+ * Original cost
1036
+ Original cost = component list price * component usage * usage duration
1037
+ Note: This field may return null, indicating that no valid values can be obtained.
1038
+ * @type {string || null}
1039
+ */
1040
+ this.OriginalCost = null;
1041
+
1042
+ /**
1043
+ * Currency
1044
+ Note: This field may return null, indicating that no valid values can be obtained.
1045
+ * @type {string || null}
1046
+ */
1047
+ this.Currency = null;
1048
+
1049
+ /**
1050
+ * Total cost = discounted total - voucher deduction
1051
+ Note: This field may return null, indicating that no valid values can be obtained.
1052
+ * @type {string || null}
1053
+ */
1054
+ this.TotalCost = null;
1055
+
1056
+ }
1057
+
1058
+ /**
1059
+ * @private
1060
+ */
1061
+ deserialize(params) {
1062
+ if (!params) {
1063
+ return;
1064
+ }
1065
+ this.PayerAccountId = 'PayerAccountId' in params ? params.PayerAccountId : null;
1066
+ this.OwnerAccountId = 'OwnerAccountId' in params ? params.OwnerAccountId : null;
1067
+ this.OperatorAccountId = 'OperatorAccountId' in params ? params.OperatorAccountId : null;
1068
+ this.ProductName = 'ProductName' in params ? params.ProductName : null;
1069
+ this.BillingMode = 'BillingMode' in params ? params.BillingMode : null;
1070
+ this.ProjectName = 'ProjectName' in params ? params.ProjectName : null;
1071
+ this.Region = 'Region' in params ? params.Region : null;
1072
+ this.AvailabilityZone = 'AvailabilityZone' in params ? params.AvailabilityZone : null;
1073
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1074
+ this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
1075
+ this.SubProductName = 'SubProductName' in params ? params.SubProductName : null;
1076
+ this.TransactionType = 'TransactionType' in params ? params.TransactionType : null;
1077
+ this.TransactionId = 'TransactionId' in params ? params.TransactionId : null;
1078
+ this.TransactionTime = 'TransactionTime' in params ? params.TransactionTime : null;
1079
+ this.UsageStartTime = 'UsageStartTime' in params ? params.UsageStartTime : null;
1080
+ this.UsageEndTime = 'UsageEndTime' in params ? params.UsageEndTime : null;
1081
+ this.ComponentType = 'ComponentType' in params ? params.ComponentType : null;
1082
+ this.ComponentName = 'ComponentName' in params ? params.ComponentName : null;
1083
+ this.ComponentListPrice = 'ComponentListPrice' in params ? params.ComponentListPrice : null;
1084
+ this.ComponentPriceMeasurementUnit = 'ComponentPriceMeasurementUnit' in params ? params.ComponentPriceMeasurementUnit : null;
1085
+ this.ComponentUsage = 'ComponentUsage' in params ? params.ComponentUsage : null;
1086
+ this.ComponentUsageUnit = 'ComponentUsageUnit' in params ? params.ComponentUsageUnit : null;
1087
+ this.UsageDuration = 'UsageDuration' in params ? params.UsageDuration : null;
1088
+ this.DurationUnit = 'DurationUnit' in params ? params.DurationUnit : null;
1089
+ this.OriginalCost = 'OriginalCost' in params ? params.OriginalCost : null;
1090
+ this.Currency = 'Currency' in params ? params.Currency : null;
1091
+ this.TotalCost = 'TotalCost' in params ? params.TotalCost : null;
1092
+
1093
+ }
1094
+ }
1095
+
796
1096
  /**
797
1097
  * GetCountryCodes response structure.
798
1098
  * @class
@@ -1708,18 +2008,24 @@ class QueryVoucherListByUinVoucherItem extends AbstractModel {
1708
2008
  }
1709
2009
 
1710
2010
  /**
1711
- * QueryVoucherAmountByUin request structure.
2011
+ * DescribeBillSummaryByProduct request structure.
1712
2012
  * @class
1713
2013
  */
1714
- class QueryVoucherAmountByUinRequest extends AbstractModel {
2014
+ class DescribeBillSummaryByProductRequest extends AbstractModel {
1715
2015
  constructor(){
1716
2016
  super();
1717
2017
 
1718
2018
  /**
1719
- * Customer UIN list
1720
- * @type {Array.<number> || null}
2019
+ * Bill month in the format of "yyyy-MM"
2020
+ * @type {string || null}
1721
2021
  */
1722
- this.ClientUins = null;
2022
+ this.BillMonth = null;
2023
+
2024
+ /**
2025
+ * Customer UIN
2026
+ * @type {number || null}
2027
+ */
2028
+ this.CustomerUin = null;
1723
2029
 
1724
2030
  }
1725
2031
 
@@ -1730,7 +2036,8 @@ class QueryVoucherAmountByUinRequest extends AbstractModel {
1730
2036
  if (!params) {
1731
2037
  return;
1732
2038
  }
1733
- this.ClientUins = 'ClientUins' in params ? params.ClientUins : null;
2039
+ this.BillMonth = 'BillMonth' in params ? params.BillMonth : null;
2040
+ this.CustomerUin = 'CustomerUin' in params ? params.CustomerUin : null;
1734
2041
 
1735
2042
  }
1736
2043
  }
@@ -2123,24 +2430,32 @@ Note: This field may return null, indicating that no valid values can be obtaine
2123
2430
  }
2124
2431
 
2125
2432
  /**
2126
- * DescribeBillSummaryByProduct request structure.
2433
+ * DescribeBillDetail response structure.
2127
2434
  * @class
2128
2435
  */
2129
- class DescribeBillSummaryByProductRequest extends AbstractModel {
2436
+ class DescribeBillDetailResponse extends AbstractModel {
2130
2437
  constructor(){
2131
2438
  super();
2132
2439
 
2133
2440
  /**
2134
- * Bill month in the format of "yyyy-MM"
2135
- * @type {string || null}
2441
+ * Data details
2442
+ Note: This field may return null, indicating that no valid values can be obtained.
2443
+ * @type {Array.<CustomerBillDetailData> || null}
2136
2444
  */
2137
- this.BillMonth = null;
2445
+ this.DetailSet = null;
2138
2446
 
2139
2447
  /**
2140
- * Customer UIN
2448
+ * Total number of data entries
2449
+ Note: This field may return null, indicating that no valid values can be obtained.
2141
2450
  * @type {number || null}
2142
2451
  */
2143
- this.CustomerUin = null;
2452
+ this.Total = null;
2453
+
2454
+ /**
2455
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
2456
+ * @type {string || null}
2457
+ */
2458
+ this.RequestId = null;
2144
2459
 
2145
2460
  }
2146
2461
 
@@ -2151,8 +2466,17 @@ class DescribeBillSummaryByProductRequest extends AbstractModel {
2151
2466
  if (!params) {
2152
2467
  return;
2153
2468
  }
2154
- this.BillMonth = 'BillMonth' in params ? params.BillMonth : null;
2155
- this.CustomerUin = 'CustomerUin' in params ? params.CustomerUin : null;
2469
+
2470
+ if (params.DetailSet) {
2471
+ this.DetailSet = new Array();
2472
+ for (let z in params.DetailSet) {
2473
+ let obj = new CustomerBillDetailData();
2474
+ obj.deserialize(params.DetailSet[z]);
2475
+ this.DetailSet.push(obj);
2476
+ }
2477
+ }
2478
+ this.Total = 'Total' in params ? params.Total : null;
2479
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2156
2480
 
2157
2481
  }
2158
2482
  }
@@ -2426,6 +2750,34 @@ class DescribeCustomerInfoData extends AbstractModel {
2426
2750
  }
2427
2751
  }
2428
2752
 
2753
+ /**
2754
+ * QueryVoucherAmountByUin request structure.
2755
+ * @class
2756
+ */
2757
+ class QueryVoucherAmountByUinRequest extends AbstractModel {
2758
+ constructor(){
2759
+ super();
2760
+
2761
+ /**
2762
+ * Customer UIN list
2763
+ * @type {Array.<number> || null}
2764
+ */
2765
+ this.ClientUins = null;
2766
+
2767
+ }
2768
+
2769
+ /**
2770
+ * @private
2771
+ */
2772
+ deserialize(params) {
2773
+ if (!params) {
2774
+ return;
2775
+ }
2776
+ this.ClientUins = 'ClientUins' in params ? params.ClientUins : null;
2777
+
2778
+ }
2779
+ }
2780
+
2429
2781
  /**
2430
2782
  * Payment mode details in the customer bill data totaled by payment mode
2431
2783
  * @class
@@ -2738,10 +3090,12 @@ module.exports = {
2738
3090
  DescribeBillSummaryByRegionResponse: DescribeBillSummaryByRegionResponse,
2739
3091
  DescribeCustomerBillSummaryResponse: DescribeCustomerBillSummaryResponse,
2740
3092
  QueryCustomersCreditRequest: QueryCustomersCreditRequest,
3093
+ DescribeBillDetailRequest: DescribeBillDetailRequest,
2741
3094
  QueryCreditByUinListRequest: QueryCreditByUinListRequest,
2742
3095
  CreateAccountResponse: CreateAccountResponse,
2743
3096
  QueryAccountVerificationStatusResponse: QueryAccountVerificationStatusResponse,
2744
3097
  RegionSummaryOverviewItem: RegionSummaryOverviewItem,
3098
+ CustomerBillDetailData: CustomerBillDetailData,
2745
3099
  GetCountryCodesResponse: GetCountryCodesResponse,
2746
3100
  QueryCreditByUinListResponse: QueryCreditByUinListResponse,
2747
3101
  DescribeCustomerInfoResponse: DescribeCustomerInfoResponse,
@@ -2761,18 +3115,19 @@ module.exports = {
2761
3115
  QueryCreditQuotaRequest: QueryCreditQuotaRequest,
2762
3116
  AllocateCustomerCreditResponse: AllocateCustomerCreditResponse,
2763
3117
  QueryVoucherListByUinVoucherItem: QueryVoucherListByUinVoucherItem,
2764
- QueryVoucherAmountByUinRequest: QueryVoucherAmountByUinRequest,
3118
+ DescribeBillSummaryByProductRequest: DescribeBillSummaryByProductRequest,
2765
3119
  QueryDirectCustomersCreditData: QueryDirectCustomersCreditData,
2766
3120
  GetCountryCodesRequest: GetCountryCodesRequest,
2767
3121
  CountryCodeItem: CountryCodeItem,
2768
3122
  BillDetailData: BillDetailData,
2769
- DescribeBillSummaryByProductRequest: DescribeBillSummaryByProductRequest,
3123
+ DescribeBillDetailResponse: DescribeBillDetailResponse,
2770
3124
  QueryCreditAllocationHistoryRequest: QueryCreditAllocationHistoryRequest,
2771
3125
  QueryCustomersCreditResponse: QueryCustomersCreditResponse,
2772
3126
  DescribeCustomerUinRequest: DescribeCustomerUinRequest,
2773
3127
  QueryVoucherListByUinResponse: QueryVoucherListByUinResponse,
2774
3128
  QueryVoucherPoolRequest: QueryVoucherPoolRequest,
2775
3129
  DescribeCustomerInfoData: DescribeCustomerInfoData,
3130
+ QueryVoucherAmountByUinRequest: QueryVoucherAmountByUinRequest,
2776
3131
  PayModeSummaryOverviewItem: PayModeSummaryOverviewItem,
2777
3132
  QueryCustomersCreditData: QueryCustomersCreditData,
2778
3133
  DescribeCustomerBillSummaryRequest: DescribeCustomerBillSummaryRequest,
@@ -106,6 +106,7 @@ const CreateLiveRecordResponse = models.CreateLiveRecordResponse;
106
106
  const RuleInfo = models.RuleInfo;
107
107
  const UpdateLiveWatermarkResponse = models.UpdateLiveWatermarkResponse;
108
108
  const ModifyLiveDomainCertBindingsRequest = models.ModifyLiveDomainCertBindingsRequest;
109
+ const DescribeRecordTaskRequest = models.DescribeRecordTaskRequest;
109
110
  const CreateLiveTranscodeTemplateResponse = models.CreateLiveTranscodeTemplateResponse;
110
111
  const TimeShiftTemplate = models.TimeShiftTemplate;
111
112
  const LiveCertDomainInfo = models.LiveCertDomainInfo;
@@ -117,6 +118,7 @@ const CancelCommonMixStreamResponse = models.CancelCommonMixStreamResponse;
117
118
  const DescribeLiveDomainCertBindingsResponse = models.DescribeLiveDomainCertBindingsResponse;
118
119
  const DescribeConcurrentRecordStreamNumResponse = models.DescribeConcurrentRecordStreamNumResponse;
119
120
  const DescribeLiveTimeShiftBillInfoListRequest = models.DescribeLiveTimeShiftBillInfoListRequest;
121
+ const RecordTask = models.RecordTask;
120
122
  const DescribeLiveCertsResponse = models.DescribeLiveCertsResponse;
121
123
  const CommonMixInputParam = models.CommonMixInputParam;
122
124
  const WatermarkInfo = models.WatermarkInfo;
@@ -170,6 +172,7 @@ const AuthenticateDomainOwnerRequest = models.AuthenticateDomainOwnerRequest;
170
172
  const DescribeLiveForbidStreamListResponse = models.DescribeLiveForbidStreamListResponse;
171
173
  const DescribeStreamPushInfoListRequest = models.DescribeStreamPushInfoListRequest;
172
174
  const DeleteLiveTimeShiftTemplateResponse = models.DeleteLiveTimeShiftTemplateResponse;
175
+ const ModifyLivePushAuthKeyResponse = models.ModifyLivePushAuthKeyResponse;
173
176
  const DescribeLiveWatermarkResponse = models.DescribeLiveWatermarkResponse;
174
177
  const ResumeLiveStreamResponse = models.ResumeLiveStreamResponse;
175
178
  const DescribeLiveStreamOnlineListResponse = models.DescribeLiveStreamOnlineListResponse;
@@ -201,7 +204,7 @@ const BandwidthInfo = models.BandwidthInfo;
201
204
  const CancelCommonMixStreamRequest = models.CancelCommonMixStreamRequest;
202
205
  const UpdateLiveWatermarkRequest = models.UpdateLiveWatermarkRequest;
203
206
  const CertInfo = models.CertInfo;
204
- const ModifyLivePushAuthKeyResponse = models.ModifyLivePushAuthKeyResponse;
207
+ const DescribeRecordTaskResponse = models.DescribeRecordTaskResponse;
205
208
  const DescribeLiveDelayInfoListResponse = models.DescribeLiveDelayInfoListResponse;
206
209
  const DeleteLiveTranscodeTemplateRequest = models.DeleteLiveTranscodeTemplateRequest;
207
210
  const DescribeLiveCallbackRulesRequest = models.DescribeLiveCallbackRulesRequest;
@@ -399,14 +402,17 @@ Note: If you call this API to pause an inactive stream, the request will be cons
399
402
  }
400
403
 
401
404
  /**
402
- * This API is used to modify the recording template configuration.
403
- * @param {ModifyLiveRecordTemplateRequest} req
404
- * @param {function(string, ModifyLiveRecordTemplateResponse):void} cb
405
+ * This API is used to retrieve a list of recording tasks that were started and ended within a specified time range.
406
+ - Prerequisites:
407
+ 1. This API is only used to query recording tasks created by the CreateRecordTask interface.
408
+ 2. It cannot retrieve recording tasks that have been deleted by the DeleteRecordTask interface or tasks that have expired (platform retains for 3 months).
409
+ * @param {DescribeRecordTaskRequest} req
410
+ * @param {function(string, DescribeRecordTaskResponse):void} cb
405
411
  * @public
406
412
  */
407
- ModifyLiveRecordTemplate(req, cb) {
408
- let resp = new ModifyLiveRecordTemplateResponse();
409
- this.request("ModifyLiveRecordTemplate", req, resp, cb);
413
+ DescribeRecordTask(req, cb) {
414
+ let resp = new DescribeRecordTaskResponse();
415
+ this.request("DescribeRecordTask", req, resp, cb);
410
416
  }
411
417
 
412
418
  /**
@@ -599,6 +605,17 @@ Referer information is included in HTTP requests. After you enable referer confi
599
605
  this.request("DescribeVisitTopSumInfoList", req, resp, cb);
600
606
  }
601
607
 
608
+ /**
609
+ * This API is used to modify the recording template configuration.
610
+ * @param {ModifyLiveRecordTemplateRequest} req
611
+ * @param {function(string, ModifyLiveRecordTemplateResponse):void} cb
612
+ * @public
613
+ */
614
+ ModifyLiveRecordTemplate(req, cb) {
615
+ let resp = new ModifyLiveRecordTemplateResponse();
616
+ this.request("ModifyLiveRecordTemplate", req, resp, cb);
617
+ }
618
+
602
619
  /**
603
620
  * This API is used to get the domain name certificate information.
604
621
  * @param {DescribeLiveDomainCertRequest} req
@@ -4709,6 +4709,69 @@ You can specify either `CloudCertId` or the public/private key. If both are spec
4709
4709
  }
4710
4710
  }
4711
4711
 
4712
+ /**
4713
+ * DescribeRecordTask request structure.
4714
+ * @class
4715
+ */
4716
+ class DescribeRecordTaskRequest extends AbstractModel {
4717
+ constructor(){
4718
+ super();
4719
+
4720
+ /**
4721
+ * The start time of the tasks to retrieve in Unix timestamp. The time range should not be earlier than 90 days before the current time, and the query span should not exceed one week.
4722
+ * @type {number || null}
4723
+ */
4724
+ this.StartTime = null;
4725
+
4726
+ /**
4727
+ * The end time of the tasks to retrieve in Unix timestamp. The EndTime must be greater than the StartTime. The time range should not be earlier than 90 days before the current time, and the query span should not exceed one week. (Note: the start and end times of the task must be within the query time range).
4728
+ * @type {number || null}
4729
+ */
4730
+ this.EndTime = null;
4731
+
4732
+ /**
4733
+ * Stream name.
4734
+ * @type {string || null}
4735
+ */
4736
+ this.StreamName = null;
4737
+
4738
+ /**
4739
+ * Push domain name.
4740
+ * @type {string || null}
4741
+ */
4742
+ this.DomainName = null;
4743
+
4744
+ /**
4745
+ * Push path.
4746
+ * @type {string || null}
4747
+ */
4748
+ this.AppName = null;
4749
+
4750
+ /**
4751
+ * Page token used for batch retrieval: If a single request cannot retrieve all data, the interface will return a ScrollToken. The next request carrying this token will start retrieving from the next record.
4752
+ * @type {string || null}
4753
+ */
4754
+ this.ScrollToken = null;
4755
+
4756
+ }
4757
+
4758
+ /**
4759
+ * @private
4760
+ */
4761
+ deserialize(params) {
4762
+ if (!params) {
4763
+ return;
4764
+ }
4765
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
4766
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
4767
+ this.StreamName = 'StreamName' in params ? params.StreamName : null;
4768
+ this.DomainName = 'DomainName' in params ? params.DomainName : null;
4769
+ this.AppName = 'AppName' in params ? params.AppName : null;
4770
+ this.ScrollToken = 'ScrollToken' in params ? params.ScrollToken : null;
4771
+
4772
+ }
4773
+ }
4774
+
4712
4775
  /**
4713
4776
  * CreateLiveTranscodeTemplate response structure.
4714
4777
  * @class
@@ -5236,6 +5299,83 @@ Note: Beijing time is 8 hours ahead of UTC. The [ISO 8601 format](https://intl.c
5236
5299
  }
5237
5300
  }
5238
5301
 
5302
+ /**
5303
+ * Recording task.
5304
+ * @class
5305
+ */
5306
+ class RecordTask extends AbstractModel {
5307
+ constructor(){
5308
+ super();
5309
+
5310
+ /**
5311
+ * Recording task ID.
5312
+ * @type {string || null}
5313
+ */
5314
+ this.TaskId = null;
5315
+
5316
+ /**
5317
+ * Push domain name.
5318
+ * @type {string || null}
5319
+ */
5320
+ this.DomainName = null;
5321
+
5322
+ /**
5323
+ * Push path.
5324
+ * @type {string || null}
5325
+ */
5326
+ this.AppName = null;
5327
+
5328
+ /**
5329
+ * Stream name.
5330
+ * @type {string || null}
5331
+ */
5332
+ this.StreamName = null;
5333
+
5334
+ /**
5335
+ * The start time of the recording task in Unix timestamp.
5336
+ * @type {number || null}
5337
+ */
5338
+ this.StartTime = null;
5339
+
5340
+ /**
5341
+ * The end time of the recording task in Unix timestamp.
5342
+ * @type {number || null}
5343
+ */
5344
+ this.EndTime = null;
5345
+
5346
+ /**
5347
+ * Recording template ID.
5348
+ * @type {number || null}
5349
+ */
5350
+ this.TemplateId = null;
5351
+
5352
+ /**
5353
+ * The StopRecordTask API call stops the task at the Unix timestamp. A value of 0 indicates that the API has not been called to stop the task.
5354
+ * @type {number || null}
5355
+ */
5356
+ this.Stopped = null;
5357
+
5358
+ }
5359
+
5360
+ /**
5361
+ * @private
5362
+ */
5363
+ deserialize(params) {
5364
+ if (!params) {
5365
+ return;
5366
+ }
5367
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
5368
+ this.DomainName = 'DomainName' in params ? params.DomainName : null;
5369
+ this.AppName = 'AppName' in params ? params.AppName : null;
5370
+ this.StreamName = 'StreamName' in params ? params.StreamName : null;
5371
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
5372
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
5373
+ this.TemplateId = 'TemplateId' in params ? params.TemplateId : null;
5374
+ this.Stopped = 'Stopped' in params ? params.Stopped : null;
5375
+
5376
+ }
5377
+ }
5378
+
5239
5379
  /**
5240
5380
  * DescribeLiveCerts response structure.
5241
5381
  * @class
@@ -8098,6 +8238,34 @@ class DeleteLiveTimeShiftTemplateResponse extends AbstractModel {
8098
8238
  }
8099
8239
  }
8100
8240
 
8241
+ /**
8242
+ * ModifyLivePushAuthKey response structure.
8243
+ * @class
8244
+ */
8245
+ class ModifyLivePushAuthKeyResponse extends AbstractModel {
8246
+ constructor(){
8247
+ super();
8248
+
8249
+ /**
8250
+ * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
8251
+ * @type {string || null}
8252
+ */
8253
+ this.RequestId = null;
8254
+
8255
+ }
8256
+
8257
+ /**
8258
+ * @private
8259
+ */
8260
+ deserialize(params) {
8261
+ if (!params) {
8262
+ return;
8263
+ }
8264
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
8265
+
8266
+ }
8267
+ }
8268
+
8101
8269
  /**
8102
8270
  * DescribeLiveWatermark response structure.
8103
8271
  * @class
@@ -9803,13 +9971,25 @@ Note: Beijing time (UTC+8) is used.
9803
9971
  }
9804
9972
 
9805
9973
  /**
9806
- * ModifyLivePushAuthKey response structure.
9974
+ * DescribeRecordTask response structure.
9807
9975
  * @class
9808
9976
  */
9809
- class ModifyLivePushAuthKeyResponse extends AbstractModel {
9977
+ class DescribeRecordTaskResponse extends AbstractModel {
9810
9978
  constructor(){
9811
9979
  super();
9812
9980
 
9981
+ /**
9982
+ * Page token: When the request does not return all data, this field indicates the token of the next record. When this field is empty, it means there is no more data.
9983
+ * @type {string || null}
9984
+ */
9985
+ this.ScrollToken = null;
9986
+
9987
+ /**
9988
+ * List of recording tasks. When this field is empty, it means all data has been returned.
9989
+ * @type {Array.<RecordTask> || null}
9990
+ */
9991
+ this.TaskList = null;
9992
+
9813
9993
  /**
9814
9994
  * The unique request ID, which is returned for each request. RequestId is required for locating a problem.
9815
9995
  * @type {string || null}
@@ -9825,6 +10005,16 @@ class ModifyLivePushAuthKeyResponse extends AbstractModel {
9825
10005
  if (!params) {
9826
10006
  return;
9827
10007
  }
10008
+ this.ScrollToken = 'ScrollToken' in params ? params.ScrollToken : null;
10009
+
10010
+ if (params.TaskList) {
10011
+ this.TaskList = new Array();
10012
+ for (let z in params.TaskList) {
10013
+ let obj = new RecordTask();
10014
+ obj.deserialize(params.TaskList[z]);
10015
+ this.TaskList.push(obj);
10016
+ }
10017
+ }
9828
10018
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
9829
10019
 
9830
10020
  }
@@ -15519,6 +15709,7 @@ module.exports = {
15519
15709
  RuleInfo: RuleInfo,
15520
15710
  UpdateLiveWatermarkResponse: UpdateLiveWatermarkResponse,
15521
15711
  ModifyLiveDomainCertBindingsRequest: ModifyLiveDomainCertBindingsRequest,
15712
+ DescribeRecordTaskRequest: DescribeRecordTaskRequest,
15522
15713
  CreateLiveTranscodeTemplateResponse: CreateLiveTranscodeTemplateResponse,
15523
15714
  TimeShiftTemplate: TimeShiftTemplate,
15524
15715
  LiveCertDomainInfo: LiveCertDomainInfo,
@@ -15530,6 +15721,7 @@ module.exports = {
15530
15721
  DescribeLiveDomainCertBindingsResponse: DescribeLiveDomainCertBindingsResponse,
15531
15722
  DescribeConcurrentRecordStreamNumResponse: DescribeConcurrentRecordStreamNumResponse,
15532
15723
  DescribeLiveTimeShiftBillInfoListRequest: DescribeLiveTimeShiftBillInfoListRequest,
15724
+ RecordTask: RecordTask,
15533
15725
  DescribeLiveCertsResponse: DescribeLiveCertsResponse,
15534
15726
  CommonMixInputParam: CommonMixInputParam,
15535
15727
  WatermarkInfo: WatermarkInfo,
@@ -15583,6 +15775,7 @@ module.exports = {
15583
15775
  DescribeLiveForbidStreamListResponse: DescribeLiveForbidStreamListResponse,
15584
15776
  DescribeStreamPushInfoListRequest: DescribeStreamPushInfoListRequest,
15585
15777
  DeleteLiveTimeShiftTemplateResponse: DeleteLiveTimeShiftTemplateResponse,
15778
+ ModifyLivePushAuthKeyResponse: ModifyLivePushAuthKeyResponse,
15586
15779
  DescribeLiveWatermarkResponse: DescribeLiveWatermarkResponse,
15587
15780
  ResumeLiveStreamResponse: ResumeLiveStreamResponse,
15588
15781
  DescribeLiveStreamOnlineListResponse: DescribeLiveStreamOnlineListResponse,
@@ -15614,7 +15807,7 @@ module.exports = {
15614
15807
  CancelCommonMixStreamRequest: CancelCommonMixStreamRequest,
15615
15808
  UpdateLiveWatermarkRequest: UpdateLiveWatermarkRequest,
15616
15809
  CertInfo: CertInfo,
15617
- ModifyLivePushAuthKeyResponse: ModifyLivePushAuthKeyResponse,
15810
+ DescribeRecordTaskResponse: DescribeRecordTaskResponse,
15618
15811
  DescribeLiveDelayInfoListResponse: DescribeLiveDelayInfoListResponse,
15619
15812
  DeleteLiveTranscodeTemplateRequest: DeleteLiveTranscodeTemplateRequest,
15620
15813
  DescribeLiveCallbackRulesRequest: DescribeLiveCallbackRulesRequest,