tencentcloud-sdk-nodejs-intl-en 3.0.391 → 3.0.392
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,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.392";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -1000,9 +1000,8 @@ class SendSmsRequest extends AbstractModel {
|
|
|
1000
1000
|
super();
|
|
1001
1001
|
|
|
1002
1002
|
/**
|
|
1003
|
-
* Target mobile number in E.164 format
|
|
1004
|
-
|
|
1005
|
-
Note: 11-digit Chinese mainland numbers prefixed by 0086 or 86 or those without any country/region code are also supported. The default prefix is +86.
|
|
1003
|
+
* Target mobile number in the E.164 standard in the format of +[country/region code][mobile number]. Up to 200 mobile numbers are supported in one request (which should be all Chinese mainland mobile numbers or all global mobile numbers).
|
|
1004
|
+
For example, +8613711112222, which has a + sign followed by 86 (country/region code) and then by 13711112222 (mobile number).
|
|
1006
1005
|
* @type {Array.<string> || null}
|
|
1007
1006
|
*/
|
|
1008
1007
|
this.PhoneNumberSet = null;
|
|
@@ -1450,6 +1449,13 @@ class PullSmsSendStatus extends AbstractModel {
|
|
|
1450
1449
|
*/
|
|
1451
1450
|
this.Description = null;
|
|
1452
1451
|
|
|
1452
|
+
/**
|
|
1453
|
+
* User session content, which is the same as the `SessionContext` in the request and is empty by default. If you need to activate it, contact [SMS Helper](https://intl.cloud.tencent.com/document/product/382/3773?from_cn_redirect=1#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81).
|
|
1454
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1455
|
+
* @type {string || null}
|
|
1456
|
+
*/
|
|
1457
|
+
this.SessionContext = null;
|
|
1458
|
+
|
|
1453
1459
|
}
|
|
1454
1460
|
|
|
1455
1461
|
/**
|
|
@@ -1466,6 +1472,7 @@ class PullSmsSendStatus extends AbstractModel {
|
|
|
1466
1472
|
this.SerialNo = 'SerialNo' in params ? params.SerialNo : null;
|
|
1467
1473
|
this.ReportStatus = 'ReportStatus' in params ? params.ReportStatus : null;
|
|
1468
1474
|
this.Description = 'Description' in params ? params.Description : null;
|
|
1475
|
+
this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
|
|
1469
1476
|
|
|
1470
1477
|
}
|
|
1471
1478
|
}
|
|
@@ -75,10 +75,10 @@ class SmsClient extends AbstractClient {
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
|
-
* 1. This API is used to modify an SMS signature.
|
|
79
|
-
2. ⚠️ Note:
|
|
78
|
+
* 1. This API is used to modify an SMS signature. Read the [Tencent Cloud SMS signature review standards](https://intl.cloud.tencent.com/document/product/382/40658) before making a modification.
|
|
79
|
+
2. ⚠️ Note: Individual users cannot use this API to modify SMS signatures. For more information, see [Identity Verification Guide](https://intl.cloud.tencent.com/document/product/378/3629). If your account identity is individual, you can log in to the [console](https://console.cloud.tencent.com/smsv2) to modify SMS signatures.
|
|
80
80
|
3. Modifications can be made only if the signature status is **Pending Review** or **Rejected**. **Approved** signatures cannot be modified.
|
|
81
|
-
>- Note:
|
|
81
|
+
>- Note: Because of the improved security of **TencentCloud API 3.0**, **API authentication** is more complicated. We recommend you use the Tencent Cloud SMS service with the SDK.
|
|
82
82
|
>- You can run this API directly in [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms), which eliminates the signature calculation steps. After it is executed successfully, API Explorer can **automatically generate** SDK code samples.
|
|
83
83
|
* @param {ModifySmsSignRequest} req
|
|
84
84
|
* @param {function(string, ModifySmsSignResponse):void} cb
|
|
@@ -121,9 +121,9 @@ Currently, you can also [configure the callback](https://intl.cloud.tencent.com/
|
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
123
|
* This API is used to send SMS verification codes, notification, or marketing messages to users.
|
|
124
|
-
>- Note:
|
|
125
|
-
>- You can run this API directly in [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms), which eliminates the signature calculation steps. After it is executed successfully, API Explorer can **automatically generate** SDK code samples.
|
|
126
|
-
|
|
124
|
+
>- Note: Because of the improved security of **TencentCloud API 3.0**, **API authentication** is more complicated. We recommend you use the Tencent Cloud SMS service with the [SDK](https://intl.cloud.tencent.com/document/product/382/43193?from_cn_redirect=1).
|
|
125
|
+
>- Note: You can run this API directly in [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms), which eliminates the signature calculation steps. After it is executed successfully, API Explorer can **automatically generate** SDK code samples.
|
|
126
|
+
>- Note: This API is currently on the 2021-01-11 version. If you are still using the [2019-07-11 version](https://intl.cloud.tencent.com/document/product/382/38778?from_cn_redirect=1), we recommend you use this latest version. For version differences, see [Version description](https://intl.cloud.tencent.com/document/product/382/63195?from_cn_redirect=1#.E7.89.88.E6.9C.AC.E6.8F.8F.E8.BF.B0).
|
|
127
127
|
* @param {SendSmsRequest} req
|
|
128
128
|
* @param {function(string, SendSmsResponse):void} cb
|
|
129
129
|
* @public
|
|
@@ -190,7 +190,8 @@ Currently, you can also [configure the callback](https://intl.cloud.tencent.com/
|
|
|
190
190
|
/**
|
|
191
191
|
* This API is used to pull SMS reply status.
|
|
192
192
|
Currently, you can also [configure the reply callback](https://intl.cloud.tencent.com/document/product/382/42907?from_cn_redirect=1) to get replies.
|
|
193
|
-
>- Note:
|
|
193
|
+
>- Note: You need to contact [SMS Helper](https://intl.cloud.tencent.com/document/product/382/3773?from_cn_redirect=1#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81) to activate this API.
|
|
194
|
+
>- Note: Because of the improved security of **TencentCloud API 3.0**, **API authentication** is more complicated. We recommend you use the Tencent Cloud SMS service with the SDK.
|
|
194
195
|
>- You can run this API directly in [API 3.0 Explorer](https://console.cloud.tencent.com/api/explorer?Product=sms&Version=2021-01-11&Action=SendSms), which eliminates the signature calculation steps. After it is executed successfully, API Explorer can **automatically generate** SDK code samples.
|
|
195
196
|
|
|
196
197
|
* @param {PullSmsReplyStatusRequest} req
|