tencentcloud-sdk-nodejs-intl-en 3.0.1048 → 3.0.1049
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
|
@@ -111,7 +111,7 @@ class UpdateApiKeyRequest extends AbstractModel {
|
|
|
111
111
|
this.AccessKeyId = null;
|
|
112
112
|
|
|
113
113
|
/**
|
|
114
|
-
* Key to be updated, which is required when a custom key is updated. It can contain 10
|
|
114
|
+
* Key to be updated, which is required when a custom key is updated. It can contain 10-50 letters, digits, and underscores.
|
|
115
115
|
* @type {string || null}
|
|
116
116
|
*/
|
|
117
117
|
this.AccessKeySecret = null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1049";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -17,11 +17,12 @@
|
|
|
17
17
|
const models = require("./models");
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
19
|
const QueryDirectCustomersCreditResponse = models.QueryDirectCustomersCreditResponse;
|
|
20
|
-
const
|
|
20
|
+
const SendVerifyCodeRequest = models.SendVerifyCodeRequest;
|
|
21
21
|
const QueryPartnerCreditResponse = models.QueryPartnerCreditResponse;
|
|
22
22
|
const QueryVoucherListByUinRequest = models.QueryVoucherListByUinRequest;
|
|
23
23
|
const QueryVoucherAmountByUinRequest = models.QueryVoucherAmountByUinRequest;
|
|
24
24
|
const QueryVoucherAmountByUinResponse = models.QueryVoucherAmountByUinResponse;
|
|
25
|
+
const SendVerifyCodeResponse = models.SendVerifyCodeResponse;
|
|
25
26
|
const QueryVoucherAmountByUinItem = models.QueryVoucherAmountByUinItem;
|
|
26
27
|
const QueryCreditAllocationHistoryData = models.QueryCreditAllocationHistoryData;
|
|
27
28
|
const DescribeBillSummaryResponse = models.DescribeBillSummaryResponse;
|
|
@@ -77,6 +78,7 @@ const DescribeBillDownloadUrlRequest = models.DescribeBillDownloadUrlRequest;
|
|
|
77
78
|
const DescribeCustomerUinRequest = models.DescribeCustomerUinRequest;
|
|
78
79
|
const QueryVoucherListByUinResponse = models.QueryVoucherListByUinResponse;
|
|
79
80
|
const QueryVoucherPoolRequest = models.QueryVoucherPoolRequest;
|
|
81
|
+
const SummaryDetails = models.SummaryDetails;
|
|
80
82
|
const DescribeCustomerInfoData = models.DescribeCustomerInfoData;
|
|
81
83
|
const DescribeBillDownloadUrlResponse = models.DescribeBillDownloadUrlResponse;
|
|
82
84
|
const ModifyClientRemarkRequest = models.ModifyClientRemarkRequest;
|
|
@@ -177,6 +179,17 @@ class IntlpartnersmgtClient extends AbstractClient {
|
|
|
177
179
|
this.request("DescribeCustomerInfo", req, resp, cb);
|
|
178
180
|
}
|
|
179
181
|
|
|
182
|
+
/**
|
|
183
|
+
* This API is used to send a verification code for account registration.
|
|
184
|
+
* @param {SendVerifyCodeRequest} req
|
|
185
|
+
* @param {function(string, SendVerifyCodeResponse):void} cb
|
|
186
|
+
* @public
|
|
187
|
+
*/
|
|
188
|
+
SendVerifyCode(req, cb) {
|
|
189
|
+
let resp = new SendVerifyCodeResponse();
|
|
190
|
+
this.request("SendVerifyCode", req, resp, cb);
|
|
191
|
+
}
|
|
192
|
+
|
|
180
193
|
/**
|
|
181
194
|
* This API is used to query the voucher list based on the customer UIN.
|
|
182
195
|
* @param {QueryVoucherListByUinRequest} req
|
|
@@ -60,60 +60,24 @@ class QueryDirectCustomersCreditResponse extends AbstractModel {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* SendVerifyCode request structure.
|
|
64
64
|
* @class
|
|
65
65
|
*/
|
|
66
|
-
class
|
|
66
|
+
class SendVerifyCodeRequest extends AbstractModel {
|
|
67
67
|
constructor(){
|
|
68
68
|
super();
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
72
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
73
|
-
* @type {Array.<BusinessInfo> || null}
|
|
74
|
-
*/
|
|
75
|
-
this.Business = null;
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* Original price
|
|
79
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
71
|
+
* Country code.
|
|
80
72
|
* @type {string || null}
|
|
81
73
|
*/
|
|
82
|
-
this.
|
|
83
|
-
|
|
84
|
-
/**
|
|
85
|
-
* Voucher amount
|
|
86
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
87
|
-
* @type {string || null}
|
|
88
|
-
*/
|
|
89
|
-
this.VoucherPayAmount = null;
|
|
90
|
-
|
|
91
|
-
/**
|
|
92
|
-
* Daily deduction
|
|
93
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
94
|
-
* @type {string || null}
|
|
95
|
-
*/
|
|
96
|
-
this.RICost = null;
|
|
97
|
-
|
|
98
|
-
/**
|
|
99
|
-
* Total amount
|
|
100
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
101
|
-
* @type {string || null}
|
|
102
|
-
*/
|
|
103
|
-
this.TotalCost = null;
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* Summary key by classification dimension Note: This field may return null, indicating that no valid values can be obtained.
|
|
107
|
-
* @type {string || null}
|
|
108
|
-
*/
|
|
109
|
-
this.GroupKey = null;
|
|
74
|
+
this.CountryCode = null;
|
|
110
75
|
|
|
111
76
|
/**
|
|
112
|
-
*
|
|
113
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
77
|
+
* Mobile number.
|
|
114
78
|
* @type {string || null}
|
|
115
79
|
*/
|
|
116
|
-
this.
|
|
80
|
+
this.PhoneNum = null;
|
|
117
81
|
|
|
118
82
|
}
|
|
119
83
|
|
|
@@ -124,21 +88,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
124
88
|
if (!params) {
|
|
125
89
|
return;
|
|
126
90
|
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
this.Business = new Array();
|
|
130
|
-
for (let z in params.Business) {
|
|
131
|
-
let obj = new BusinessInfo();
|
|
132
|
-
obj.deserialize(params.Business[z]);
|
|
133
|
-
this.Business.push(obj);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
this.OriginalCost = 'OriginalCost' in params ? params.OriginalCost : null;
|
|
137
|
-
this.VoucherPayAmount = 'VoucherPayAmount' in params ? params.VoucherPayAmount : null;
|
|
138
|
-
this.RICost = 'RICost' in params ? params.RICost : null;
|
|
139
|
-
this.TotalCost = 'TotalCost' in params ? params.TotalCost : null;
|
|
140
|
-
this.GroupKey = 'GroupKey' in params ? params.GroupKey : null;
|
|
141
|
-
this.GroupValue = 'GroupValue' in params ? params.GroupValue : null;
|
|
91
|
+
this.CountryCode = 'CountryCode' in params ? params.CountryCode : null;
|
|
92
|
+
this.PhoneNum = 'PhoneNum' in params ? params.PhoneNum : null;
|
|
142
93
|
|
|
143
94
|
}
|
|
144
95
|
}
|
|
@@ -312,6 +263,34 @@ class QueryVoucherAmountByUinResponse extends AbstractModel {
|
|
|
312
263
|
}
|
|
313
264
|
}
|
|
314
265
|
|
|
266
|
+
/**
|
|
267
|
+
* SendVerifyCode response structure.
|
|
268
|
+
* @class
|
|
269
|
+
*/
|
|
270
|
+
class SendVerifyCodeResponse extends AbstractModel {
|
|
271
|
+
constructor(){
|
|
272
|
+
super();
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* 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.
|
|
276
|
+
* @type {string || null}
|
|
277
|
+
*/
|
|
278
|
+
this.RequestId = null;
|
|
279
|
+
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* @private
|
|
284
|
+
*/
|
|
285
|
+
deserialize(params) {
|
|
286
|
+
if (!params) {
|
|
287
|
+
return;
|
|
288
|
+
}
|
|
289
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
290
|
+
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
|
|
315
294
|
/**
|
|
316
295
|
* Customer voucher quota
|
|
317
296
|
* @class
|
|
@@ -977,7 +956,7 @@ class CreateAccountResponse extends AbstractModel {
|
|
|
977
956
|
this.Uin = null;
|
|
978
957
|
|
|
979
958
|
/**
|
|
980
|
-
* The unique request ID,
|
|
959
|
+
* 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.
|
|
981
960
|
* @type {string || null}
|
|
982
961
|
*/
|
|
983
962
|
this.RequestId = null;
|
|
@@ -2063,8 +2042,7 @@ A password must contain numbers, letters, and symbols (!@#$%^&*()). Space is not
|
|
|
2063
2042
|
this.ConfirmPassword = null;
|
|
2064
2043
|
|
|
2065
2044
|
/**
|
|
2066
|
-
* Customer mobile number
|
|
2067
|
-
A global mobile number within 1-32 digits is allowed, such as 18888888888.
|
|
2045
|
+
* Customer's mobile number. The caller needs to ensure the validity and correctness of the mobile number. A global mobile number within a range of 1-32 digits is allowed. Starting from October 25, 2024, the system will perform binding limit verification of the mobile number you provide, allowing a maximum of 5 accounts per mobile number.
|
|
2068
2046
|
* @type {string || null}
|
|
2069
2047
|
*/
|
|
2070
2048
|
this.PhoneNum = null;
|
|
@@ -2087,6 +2065,12 @@ A global mobile number within 1-32 digits is allowed, such as 18888888888.
|
|
|
2087
2065
|
*/
|
|
2088
2066
|
this.Extended = null;
|
|
2089
2067
|
|
|
2068
|
+
/**
|
|
2069
|
+
* Verification code. Starting from October 25, 2024, a new parameter will be used to verify the validity of the mobile number you provide. When the interface is requested for the first time, a null value can be passed in. The interface will send a 6-digit verification code by SMS to the mobile number you provide, and you need to pass it in again together with other parameters after you receive it.
|
|
2070
|
+
* @type {string || null}
|
|
2071
|
+
*/
|
|
2072
|
+
this.VerifyCode = null;
|
|
2073
|
+
|
|
2090
2074
|
}
|
|
2091
2075
|
|
|
2092
2076
|
/**
|
|
@@ -2104,6 +2088,7 @@ A global mobile number within 1-32 digits is allowed, such as 18888888888.
|
|
|
2104
2088
|
this.CountryCode = 'CountryCode' in params ? params.CountryCode : null;
|
|
2105
2089
|
this.Area = 'Area' in params ? params.Area : null;
|
|
2106
2090
|
this.Extended = 'Extended' in params ? params.Extended : null;
|
|
2091
|
+
this.VerifyCode = 'VerifyCode' in params ? params.VerifyCode : null;
|
|
2107
2092
|
|
|
2108
2093
|
}
|
|
2109
2094
|
}
|
|
@@ -3172,6 +3157,90 @@ class QueryVoucherPoolRequest extends AbstractModel {
|
|
|
3172
3157
|
}
|
|
3173
3158
|
}
|
|
3174
3159
|
|
|
3160
|
+
/**
|
|
3161
|
+
* Detailed summary by billing dimension
|
|
3162
|
+
* @class
|
|
3163
|
+
*/
|
|
3164
|
+
class SummaryDetails extends AbstractModel {
|
|
3165
|
+
constructor(){
|
|
3166
|
+
super();
|
|
3167
|
+
|
|
3168
|
+
/**
|
|
3169
|
+
* Product information list
|
|
3170
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3171
|
+
* @type {Array.<BusinessInfo> || null}
|
|
3172
|
+
*/
|
|
3173
|
+
this.Business = null;
|
|
3174
|
+
|
|
3175
|
+
/**
|
|
3176
|
+
* Original price
|
|
3177
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3178
|
+
* @type {string || null}
|
|
3179
|
+
*/
|
|
3180
|
+
this.OriginalCost = null;
|
|
3181
|
+
|
|
3182
|
+
/**
|
|
3183
|
+
* Voucher amount
|
|
3184
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3185
|
+
* @type {string || null}
|
|
3186
|
+
*/
|
|
3187
|
+
this.VoucherPayAmount = null;
|
|
3188
|
+
|
|
3189
|
+
/**
|
|
3190
|
+
* Daily deduction
|
|
3191
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3192
|
+
* @type {string || null}
|
|
3193
|
+
*/
|
|
3194
|
+
this.RICost = null;
|
|
3195
|
+
|
|
3196
|
+
/**
|
|
3197
|
+
* Total amount
|
|
3198
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3199
|
+
* @type {string || null}
|
|
3200
|
+
*/
|
|
3201
|
+
this.TotalCost = null;
|
|
3202
|
+
|
|
3203
|
+
/**
|
|
3204
|
+
* Summary key by classification dimension Note: This field may return null, indicating that no valid values can be obtained.
|
|
3205
|
+
* @type {string || null}
|
|
3206
|
+
*/
|
|
3207
|
+
this.GroupKey = null;
|
|
3208
|
+
|
|
3209
|
+
/**
|
|
3210
|
+
* Summary value by classification dimension
|
|
3211
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
3212
|
+
* @type {string || null}
|
|
3213
|
+
*/
|
|
3214
|
+
this.GroupValue = null;
|
|
3215
|
+
|
|
3216
|
+
}
|
|
3217
|
+
|
|
3218
|
+
/**
|
|
3219
|
+
* @private
|
|
3220
|
+
*/
|
|
3221
|
+
deserialize(params) {
|
|
3222
|
+
if (!params) {
|
|
3223
|
+
return;
|
|
3224
|
+
}
|
|
3225
|
+
|
|
3226
|
+
if (params.Business) {
|
|
3227
|
+
this.Business = new Array();
|
|
3228
|
+
for (let z in params.Business) {
|
|
3229
|
+
let obj = new BusinessInfo();
|
|
3230
|
+
obj.deserialize(params.Business[z]);
|
|
3231
|
+
this.Business.push(obj);
|
|
3232
|
+
}
|
|
3233
|
+
}
|
|
3234
|
+
this.OriginalCost = 'OriginalCost' in params ? params.OriginalCost : null;
|
|
3235
|
+
this.VoucherPayAmount = 'VoucherPayAmount' in params ? params.VoucherPayAmount : null;
|
|
3236
|
+
this.RICost = 'RICost' in params ? params.RICost : null;
|
|
3237
|
+
this.TotalCost = 'TotalCost' in params ? params.TotalCost : null;
|
|
3238
|
+
this.GroupKey = 'GroupKey' in params ? params.GroupKey : null;
|
|
3239
|
+
this.GroupValue = 'GroupValue' in params ? params.GroupValue : null;
|
|
3240
|
+
|
|
3241
|
+
}
|
|
3242
|
+
}
|
|
3243
|
+
|
|
3175
3244
|
/**
|
|
3176
3245
|
* Customer information
|
|
3177
3246
|
* @class
|
|
@@ -3627,11 +3696,12 @@ class QueryDirectCustomersCreditRequest extends AbstractModel {
|
|
|
3627
3696
|
|
|
3628
3697
|
module.exports = {
|
|
3629
3698
|
QueryDirectCustomersCreditResponse: QueryDirectCustomersCreditResponse,
|
|
3630
|
-
|
|
3699
|
+
SendVerifyCodeRequest: SendVerifyCodeRequest,
|
|
3631
3700
|
QueryPartnerCreditResponse: QueryPartnerCreditResponse,
|
|
3632
3701
|
QueryVoucherListByUinRequest: QueryVoucherListByUinRequest,
|
|
3633
3702
|
QueryVoucherAmountByUinRequest: QueryVoucherAmountByUinRequest,
|
|
3634
3703
|
QueryVoucherAmountByUinResponse: QueryVoucherAmountByUinResponse,
|
|
3704
|
+
SendVerifyCodeResponse: SendVerifyCodeResponse,
|
|
3635
3705
|
QueryVoucherAmountByUinItem: QueryVoucherAmountByUinItem,
|
|
3636
3706
|
QueryCreditAllocationHistoryData: QueryCreditAllocationHistoryData,
|
|
3637
3707
|
DescribeBillSummaryResponse: DescribeBillSummaryResponse,
|
|
@@ -3687,6 +3757,7 @@ module.exports = {
|
|
|
3687
3757
|
DescribeCustomerUinRequest: DescribeCustomerUinRequest,
|
|
3688
3758
|
QueryVoucherListByUinResponse: QueryVoucherListByUinResponse,
|
|
3689
3759
|
QueryVoucherPoolRequest: QueryVoucherPoolRequest,
|
|
3760
|
+
SummaryDetails: SummaryDetails,
|
|
3690
3761
|
DescribeCustomerInfoData: DescribeCustomerInfoData,
|
|
3691
3762
|
DescribeBillDownloadUrlResponse: DescribeBillDownloadUrlResponse,
|
|
3692
3763
|
ModifyClientRemarkRequest: ModifyClientRemarkRequest,
|