tencentcloud-sdk-nodejs-intl-en 3.0.1337 → 3.0.1339

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.
@@ -727,18 +727,47 @@ Filipino: fil, hindi: hi, polish: pl, czech: cs, dutch: nl, khmer: km, burmese:
727
727
  }
728
728
 
729
729
  /**
730
- * Specifies the detailed information of the input token.
730
+ * QueryHunyuanTo3DTextureEditJob response structure.
731
731
  * @class
732
732
  */
733
- class PromptTokensDetails extends AbstractModel {
733
+ class QueryHunyuanTo3DTextureEditJobResponse extends AbstractModel {
734
734
  constructor(){
735
735
  super();
736
736
 
737
737
  /**
738
- * The number of cache tokens.
738
+ * Task status
739
+ WAIT: waiting;
740
+ RUN: running;
741
+ FAIL: failed;
742
+ DONE: successful;
743
+ Example value: RUN
739
744
  * @type {string || null}
740
745
  */
741
- this.CachedTokens = null;
746
+ this.Status = null;
747
+
748
+ /**
749
+ * Error code
750
+ * @type {string || null}
751
+ */
752
+ this.ErrorCode = null;
753
+
754
+ /**
755
+ * Error message
756
+ * @type {string || null}
757
+ */
758
+ this.ErrorMessage = null;
759
+
760
+ /**
761
+ * The URL address for generating texture files is valid for 1 day.
762
+ * @type {Array.<File3D> || null}
763
+ */
764
+ this.ResultFile3Ds = null;
765
+
766
+ /**
767
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
768
+ * @type {string || null}
769
+ */
770
+ this.RequestId = null;
742
771
 
743
772
  }
744
773
 
@@ -749,7 +778,19 @@ class PromptTokensDetails extends AbstractModel {
749
778
  if (!params) {
750
779
  return;
751
780
  }
752
- this.CachedTokens = 'CachedTokens' in params ? params.CachedTokens : null;
781
+ this.Status = 'Status' in params ? params.Status : null;
782
+ this.ErrorCode = 'ErrorCode' in params ? params.ErrorCode : null;
783
+ this.ErrorMessage = 'ErrorMessage' in params ? params.ErrorMessage : null;
784
+
785
+ if (params.ResultFile3Ds) {
786
+ this.ResultFile3Ds = new Array();
787
+ for (let z in params.ResultFile3Ds) {
788
+ let obj = new File3D();
789
+ obj.deserialize(params.ResultFile3Ds[z]);
790
+ this.ResultFile3Ds.push(obj);
791
+ }
792
+ }
793
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
753
794
 
754
795
  }
755
796
  }
@@ -902,47 +943,57 @@ class File3D extends AbstractModel {
902
943
  }
903
944
 
904
945
  /**
905
- * QueryHunyuanTo3DTextureEditJob response structure.
946
+ * Specifies the detailed information of the input token.
906
947
  * @class
907
948
  */
908
- class QueryHunyuanTo3DTextureEditJobResponse extends AbstractModel {
949
+ class PromptTokensDetails extends AbstractModel {
909
950
  constructor(){
910
951
  super();
911
952
 
912
953
  /**
913
- * Task status
914
- WAIT: waiting;
915
- RUN: running;
916
- FAIL: failed;
917
- DONE: successful;
918
- Example value: RUN
954
+ * The number of cache tokens.
919
955
  * @type {string || null}
920
956
  */
921
- this.Status = null;
957
+ this.CachedTokens = null;
922
958
 
923
- /**
924
- * Error code
925
- * @type {string || null}
926
- */
927
- this.ErrorCode = null;
959
+ }
928
960
 
929
- /**
930
- * Error message
931
- * @type {string || null}
932
- */
933
- this.ErrorMessage = null;
961
+ /**
962
+ * @private
963
+ */
964
+ deserialize(params) {
965
+ if (!params) {
966
+ return;
967
+ }
968
+ this.CachedTokens = 'CachedTokens' in params ? params.CachedTokens : null;
969
+
970
+ }
971
+ }
972
+
973
+ /**
974
+ * SubmitConvert3DFormatJob request structure.
975
+ * @class
976
+ */
977
+ class SubmitConvert3DFormatJobRequest extends AbstractModel {
978
+ constructor(){
979
+ super();
934
980
 
935
981
  /**
936
- * The URL address for generating texture files is valid for 1 day.
937
- * @type {Array.<File3D> || null}
982
+ * 3D file URL address. The model file size should be less than 200MB;
983
+ Supports 3D file inputs in FBX, OBJ, and GLB formats;
984
+ For the OBJ format, a compressed package URL must be uploaded, containing URLs for the obj and mtl 3D model files, as well as texture maps;
985
+ It is recommended to upload OBJ models generated by HY-3D.
986
+ * @type {InputFile3D || null}
938
987
  */
939
- this.ResultFile3Ds = null;
988
+ this.File = null;
940
989
 
941
990
  /**
942
- * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
991
+ * Returns the 3D file format. valid values:
992
+ STL, USDZ, FBX, MP4, GIF;
993
+ Example value: STL.
943
994
  * @type {string || null}
944
995
  */
945
- this.RequestId = null;
996
+ this.Format = null;
946
997
 
947
998
  }
948
999
 
@@ -953,19 +1004,13 @@ Example value: RUN
953
1004
  if (!params) {
954
1005
  return;
955
1006
  }
956
- this.Status = 'Status' in params ? params.Status : null;
957
- this.ErrorCode = 'ErrorCode' in params ? params.ErrorCode : null;
958
- this.ErrorMessage = 'ErrorMessage' in params ? params.ErrorMessage : null;
959
1007
 
960
- if (params.ResultFile3Ds) {
961
- this.ResultFile3Ds = new Array();
962
- for (let z in params.ResultFile3Ds) {
963
- let obj = new File3D();
964
- obj.deserialize(params.ResultFile3Ds[z]);
965
- this.ResultFile3Ds.push(obj);
966
- }
1008
+ if (params.File) {
1009
+ let obj = new InputFile3D();
1010
+ obj.deserialize(params.File)
1011
+ this.File = obj;
967
1012
  }
968
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
1013
+ this.Format = 'Format' in params ? params.Format : null;
969
1014
 
970
1015
  }
971
1016
  }
@@ -1731,6 +1776,41 @@ class ErrorMsg extends AbstractModel {
1731
1776
  }
1732
1777
  }
1733
1778
 
1779
+ /**
1780
+ * SubmitConvert3DFormatJob response structure.
1781
+ * @class
1782
+ */
1783
+ class SubmitConvert3DFormatJobResponse extends AbstractModel {
1784
+ constructor(){
1785
+ super();
1786
+
1787
+ /**
1788
+ * Task ID.
1789
+ * @type {string || null}
1790
+ */
1791
+ this.JobId = null;
1792
+
1793
+ /**
1794
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
1795
+ * @type {string || null}
1796
+ */
1797
+ this.RequestId = null;
1798
+
1799
+ }
1800
+
1801
+ /**
1802
+ * @private
1803
+ */
1804
+ deserialize(params) {
1805
+ if (!params) {
1806
+ return;
1807
+ }
1808
+ this.JobId = 'JobId' in params ? params.JobId : null;
1809
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1810
+
1811
+ }
1812
+ }
1813
+
1734
1814
  /**
1735
1815
  * QueryHunyuanTo3DProJob response structure.
1736
1816
  * @class
@@ -1826,6 +1906,34 @@ class QueryHunyuan3DPartJobRequest extends AbstractModel {
1826
1906
  }
1827
1907
  }
1828
1908
 
1909
+ /**
1910
+ * DescribeConvert3DFormatJob request structure.
1911
+ * @class
1912
+ */
1913
+ class DescribeConvert3DFormatJobRequest extends AbstractModel {
1914
+ constructor(){
1915
+ super();
1916
+
1917
+ /**
1918
+ * Task ID (valid period: 24 hours).
1919
+ * @type {string || null}
1920
+ */
1921
+ this.JobId = null;
1922
+
1923
+ }
1924
+
1925
+ /**
1926
+ * @private
1927
+ */
1928
+ deserialize(params) {
1929
+ if (!params) {
1930
+ return;
1931
+ }
1932
+ this.JobId = 'JobId' in params ? params.JobId : null;
1933
+
1934
+ }
1935
+ }
1936
+
1829
1937
  /**
1830
1938
  * Translate the session content via translation api.
1831
1939
  * @class
@@ -1889,6 +1997,74 @@ class QueryHunyuanTo3DRapidJobRequest extends AbstractModel {
1889
1997
  }
1890
1998
  }
1891
1999
 
2000
+ /**
2001
+ * DescribeConvert3DFormatJob response structure.
2002
+ * @class
2003
+ */
2004
+ class DescribeConvert3DFormatJobResponse extends AbstractModel {
2005
+ constructor(){
2006
+ super();
2007
+
2008
+ /**
2009
+ * Task status:
2010
+ WAIT: waiting;
2011
+ RUN: running;
2012
+ FAIL: failed;
2013
+ DONE: successfu.
2014
+ * @type {string || null}
2015
+ */
2016
+ this.Status = null;
2017
+
2018
+ /**
2019
+ * Error code.
2020
+ * @type {string || null}
2021
+ */
2022
+ this.ErrorCode = null;
2023
+
2024
+ /**
2025
+ * Error message.
2026
+ * @type {string || null}
2027
+ */
2028
+ this.ErrorMessage = null;
2029
+
2030
+ /**
2031
+ * Describes the generated 3d file array (valid period: 24 hours).
2032
+ * @type {Array.<File3D> || null}
2033
+ */
2034
+ this.ResultFile3Ds = null;
2035
+
2036
+ /**
2037
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
2038
+ * @type {string || null}
2039
+ */
2040
+ this.RequestId = null;
2041
+
2042
+ }
2043
+
2044
+ /**
2045
+ * @private
2046
+ */
2047
+ deserialize(params) {
2048
+ if (!params) {
2049
+ return;
2050
+ }
2051
+ this.Status = 'Status' in params ? params.Status : null;
2052
+ this.ErrorCode = 'ErrorCode' in params ? params.ErrorCode : null;
2053
+ this.ErrorMessage = 'ErrorMessage' in params ? params.ErrorMessage : null;
2054
+
2055
+ if (params.ResultFile3Ds) {
2056
+ this.ResultFile3Ds = new Array();
2057
+ for (let z in params.ResultFile3Ds) {
2058
+ let obj = new File3D();
2059
+ obj.deserialize(params.ResultFile3Ds[z]);
2060
+ this.ResultFile3Ds.push(obj);
2061
+ }
2062
+ }
2063
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2064
+
2065
+ }
2066
+ }
2067
+
1892
2068
  /**
1893
2069
  * Describe3DSmartTopologyJob request structure.
1894
2070
  * @class
@@ -1930,12 +2106,13 @@ module.exports = {
1930
2106
  Usage: Usage,
1931
2107
  SubmitHunyuanTo3DRapidJobResponse: SubmitHunyuanTo3DRapidJobResponse,
1932
2108
  ChatTranslationsRequest: ChatTranslationsRequest,
1933
- PromptTokensDetails: PromptTokensDetails,
2109
+ QueryHunyuanTo3DTextureEditJobResponse: QueryHunyuanTo3DTextureEditJobResponse,
1934
2110
  SubmitHunyuanTo3DUVJobRequest: SubmitHunyuanTo3DUVJobRequest,
1935
2111
  Submit3DSmartTopologyJobResponse: Submit3DSmartTopologyJobResponse,
1936
2112
  SubmitHunyuanTo3DTextureEditJobResponse: SubmitHunyuanTo3DTextureEditJobResponse,
1937
2113
  File3D: File3D,
1938
- QueryHunyuanTo3DTextureEditJobResponse: QueryHunyuanTo3DTextureEditJobResponse,
2114
+ PromptTokensDetails: PromptTokensDetails,
2115
+ SubmitConvert3DFormatJobRequest: SubmitConvert3DFormatJobRequest,
1939
2116
  InputFile3D: InputFile3D,
1940
2117
  TranslationDelta: TranslationDelta,
1941
2118
  SubmitHunyuanTo3DRapidJobRequest: SubmitHunyuanTo3DRapidJobRequest,
@@ -1952,10 +2129,13 @@ module.exports = {
1952
2129
  ImageInfo: ImageInfo,
1953
2130
  SubmitHunyuanTo3DProJobResponse: SubmitHunyuanTo3DProJobResponse,
1954
2131
  ErrorMsg: ErrorMsg,
2132
+ SubmitConvert3DFormatJobResponse: SubmitConvert3DFormatJobResponse,
1955
2133
  QueryHunyuanTo3DProJobResponse: QueryHunyuanTo3DProJobResponse,
1956
2134
  QueryHunyuan3DPartJobRequest: QueryHunyuan3DPartJobRequest,
2135
+ DescribeConvert3DFormatJobRequest: DescribeConvert3DFormatJobRequest,
1957
2136
  TranslationMessage: TranslationMessage,
1958
2137
  QueryHunyuanTo3DRapidJobRequest: QueryHunyuanTo3DRapidJobRequest,
2138
+ DescribeConvert3DFormatJobResponse: DescribeConvert3DFormatJobResponse,
1959
2139
  Describe3DSmartTopologyJobRequest: Describe3DSmartTopologyJobRequest,
1960
2140
 
1961
2141
  }
@@ -58,6 +58,7 @@ const AllocateCustomerCreditRequest = models.AllocateCustomerCreditRequest;
58
58
  const DescribeCustomerOwnVoucherListResponse = models.DescribeCustomerOwnVoucherListResponse;
59
59
  const DescribeBillDownloadUrlRequest = models.DescribeBillDownloadUrlRequest;
60
60
  const DescribeBillSummaryByPayModeRequest = models.DescribeBillSummaryByPayModeRequest;
61
+ const DescribeCustomerVoucherUsageDetailsResponse = models.DescribeCustomerVoucherUsageDetailsResponse;
61
62
  const QueryInvitationInfoData = models.QueryInvitationInfoData;
62
63
  const QuerySubAgentsDetailV2Request = models.QuerySubAgentsDetailV2Request;
63
64
  const GetCountryCodesResponse = models.GetCountryCodesResponse;
@@ -67,7 +68,7 @@ const QueryT1IndirectCustomersDetailResponse = models.QueryT1IndirectCustomersDe
67
68
  const QueryVoucherAmountByUinRequest = models.QueryVoucherAmountByUinRequest;
68
69
  const GetCountryCodesRequest = models.GetCountryCodesRequest;
69
70
  const ForceQNResponse = models.ForceQNResponse;
70
- const QueryPendingCustomersItem = models.QueryPendingCustomersItem;
71
+ const DescribeBillDetailResponse = models.DescribeBillDetailResponse;
71
72
  const QueryDirectCustomersCreditResponse = models.QueryDirectCustomersCreditResponse;
72
73
  const DescribeBillDownloadUrlResponse = models.DescribeBillDownloadUrlResponse;
73
74
  const DescribeCustomerVoucherListRequest = models.DescribeCustomerVoucherListRequest;
@@ -88,12 +89,13 @@ const QueryAccountVerificationStatusRequest = models.QueryAccountVerificationSta
88
89
  const ActionSummaryOverviewItem = models.ActionSummaryOverviewItem;
89
90
  const QueryPendingClientsV2Response = models.QueryPendingClientsV2Response;
90
91
  const AllocateCreditPoolResponse = models.AllocateCreditPoolResponse;
91
- const DescribeBillDetailResponse = models.DescribeBillDetailResponse;
92
+ const QueryPendingCustomersItem = models.QueryPendingCustomersItem;
92
93
  const QueryCreditAllocationHistoryRequest = models.QueryCreditAllocationHistoryRequest;
93
94
  const DescribeCustomerUinResponse = models.DescribeCustomerUinResponse;
94
95
  const DescribeCustomerBillDetailByDayResponse = models.DescribeCustomerBillDetailByDayResponse;
95
96
  const ApproveClientApplyRequest = models.ApproveClientApplyRequest;
96
97
  const ApproveSubAgentApplyRequest = models.ApproveSubAgentApplyRequest;
98
+ const DescribeCustomerVoucherUsageDetailsRequest = models.DescribeCustomerVoucherUsageDetailsRequest;
97
99
  const PayModeSummaryOverviewItem = models.PayModeSummaryOverviewItem;
98
100
  const QueryCustomersCreditData = models.QueryCustomersCreditData;
99
101
  const QueryCustomersCreditResponse = models.QueryCustomersCreditResponse;
@@ -121,6 +123,7 @@ const DescribeCustomerInfoRequest = models.DescribeCustomerInfoRequest;
121
123
  const QueryPolicyProductListByCodeResponse = models.QueryPolicyProductListByCodeResponse;
122
124
  const QueryVoucherListByUinVoucherItem = models.QueryVoucherListByUinVoucherItem;
123
125
  const ModifyClientRemarkRequest = models.ModifyClientRemarkRequest;
126
+ const UsageDetail = models.UsageDetail;
124
127
  const QueryPendingSubAgentsV2Response = models.QueryPendingSubAgentsV2Response;
125
128
  const DescribeCustomerBillDetailByDayRequest = models.DescribeCustomerBillDetailByDayRequest;
126
129
  const BillDetailData = models.BillDetailData;
@@ -377,6 +380,18 @@ Callable roles: Distributor, Second-level reseller, Reseller
377
380
  this.request("DescribeBillSummaryByPayMode", req, resp, cb);
378
381
  }
379
382
 
383
+ /**
384
+ * This API is used to query the daily bill expenditure of customer by resellers.
385
+ Invocation Role: first-level reseller, second-level reseller, reseller.
386
+ * @param {DescribeCustomerBillDetailByDayRequest} req
387
+ * @param {function(string, DescribeCustomerBillDetailByDayResponse):void} cb
388
+ * @public
389
+ */
390
+ DescribeCustomerBillDetailByDay(req, cb) {
391
+ let resp = new DescribeCustomerBillDetailByDayResponse();
392
+ this.request("DescribeCustomerBillDetailByDay", req, resp, cb);
393
+ }
394
+
380
395
  /**
381
396
  * This API is used to perform operations. Application for allowlist is required before usage. If needed, contact your business representative to request allowlisting. The specific usage process is as follows;.
382
397
  This API is used to create an invitation link. You can send the invitation link to your designated email address.
@@ -545,15 +560,15 @@ Callable roles: Reseller, Distributor, Second-level reseller
545
560
  }
546
561
 
547
562
  /**
548
- * This API is used to query the daily bill expenditure of customer by resellers.
549
- Invocation Role: first-level reseller, second-level reseller, reseller.
550
- * @param {DescribeCustomerBillDetailByDayRequest} req
551
- * @param {function(string, DescribeCustomerBillDetailByDayResponse):void} cb
563
+ * Description: The current API is used to query the usage details of reseller's customer vouchers by Reseller, Second-level Reseller or Distributor.
564
+ Reseller, Second-level Reseller or Distributor can call this API.
565
+ * @param {DescribeCustomerVoucherUsageDetailsRequest} req
566
+ * @param {function(string, DescribeCustomerVoucherUsageDetailsResponse):void} cb
552
567
  * @public
553
568
  */
554
- DescribeCustomerBillDetailByDay(req, cb) {
555
- let resp = new DescribeCustomerBillDetailByDayResponse();
556
- this.request("DescribeCustomerBillDetailByDay", req, resp, cb);
569
+ DescribeCustomerVoucherUsageDetails(req, cb) {
570
+ let resp = new DescribeCustomerVoucherUsageDetailsResponse();
571
+ this.request("DescribeCustomerVoucherUsageDetails", req, resp, cb);
557
572
  }
558
573
 
559
574
  /**