tencentcloud-sdk-nodejs-intl-en 3.0.1443 → 3.0.1444
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 +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/faceid/v20180301/faceid_client.js +1 -1
- package/tencentcloud/faceid/v20180301/models.js +29 -8
- package/tencentcloud/vod/v20180717/models.js +2563 -2563
- package/tencentcloud/vod/v20180717/vod_client.js +309 -309
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1444";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -412,7 +412,7 @@ The data generated with the SDK must be stored in COS, and the region of the COS
|
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
/**
|
|
415
|
-
* This API
|
|
415
|
+
* This API is used to update Webhook configurations.
|
|
416
416
|
* @param {UpdateEKYCWebhookRequest} req
|
|
417
417
|
* @param {function(string, UpdateEKYCWebhookResponse):void} cb
|
|
418
418
|
* @public
|
|
@@ -1310,13 +1310,13 @@ class CreateEKYCWebhookResponse extends AbstractModel {
|
|
|
1310
1310
|
this.WebhookId = null;
|
|
1311
1311
|
|
|
1312
1312
|
/**
|
|
1313
|
-
* Whether to add a
|
|
1313
|
+
* <p>Whether to add a callback signature key</p><p>Default value: false</p>
|
|
1314
1314
|
* @type {boolean || null}
|
|
1315
1315
|
*/
|
|
1316
1316
|
this.HasSignatureKey = null;
|
|
1317
1317
|
|
|
1318
1318
|
/**
|
|
1319
|
-
* <p>Callback
|
|
1319
|
+
* <p>Callback signature key</p>
|
|
1320
1320
|
* @type {string || null}
|
|
1321
1321
|
*/
|
|
1322
1322
|
this.SignatureKey = null;
|
|
@@ -3102,7 +3102,7 @@ class WebhookList extends AbstractModel {
|
|
|
3102
3102
|
this.WebhookId = null;
|
|
3103
3103
|
|
|
3104
3104
|
/**
|
|
3105
|
-
* <p>Callback
|
|
3105
|
+
* <p>Callback address name</p>
|
|
3106
3106
|
* @type {string || null}
|
|
3107
3107
|
*/
|
|
3108
3108
|
this.WebhookName = null;
|
|
@@ -3132,13 +3132,13 @@ class WebhookList extends AbstractModel {
|
|
|
3132
3132
|
this.ModTime = null;
|
|
3133
3133
|
|
|
3134
3134
|
/**
|
|
3135
|
-
* <p>Callback
|
|
3135
|
+
* <p>Callback signature key, up to 128 characters.</p>
|
|
3136
3136
|
* @type {string || null}
|
|
3137
3137
|
*/
|
|
3138
3138
|
this.SignatureKey = null;
|
|
3139
3139
|
|
|
3140
3140
|
/**
|
|
3141
|
-
* <p>Existence of callback
|
|
3141
|
+
* <p>Existence of callback signature key</p>
|
|
3142
3142
|
* @type {boolean || null}
|
|
3143
3143
|
*/
|
|
3144
3144
|
this.HasSignatureKey = null;
|
|
@@ -5101,13 +5101,13 @@ class UpdateEKYCWebhookResponse extends AbstractModel {
|
|
|
5101
5101
|
super();
|
|
5102
5102
|
|
|
5103
5103
|
/**
|
|
5104
|
-
* <p>ID of the
|
|
5104
|
+
* <p>ID of the Webhook configuration to be updated</p>
|
|
5105
5105
|
* @type {number || null}
|
|
5106
5106
|
*/
|
|
5107
5107
|
this.WebhookId = null;
|
|
5108
5108
|
|
|
5109
5109
|
/**
|
|
5110
|
-
* <p>Modification time after update, format YYYY-MM-DD HH:mm:ss</p>
|
|
5110
|
+
* <p>Modification time after the update, in the format YYYY-MM-DD HH:mm:ss</p>
|
|
5111
5111
|
* @type {string || null}
|
|
5112
5112
|
*/
|
|
5113
5113
|
this.ModTime = null;
|
|
@@ -7346,6 +7346,18 @@ class CreateEKYCWebhookRequest extends AbstractModel {
|
|
|
7346
7346
|
*/
|
|
7347
7347
|
this.WebhookURL = null;
|
|
7348
7348
|
|
|
7349
|
+
/**
|
|
7350
|
+
* <p>Business scenario. Default if not passed: AML_SCREENING_RESULT_CHANGE. For parameter values, see the enumeration below.</p><p>Enumeration values:</p><ul><li>AML_SCREENING_RESULT_CHANGE: AML anti-money laundering screening result change notification (default value) </li><li>NONDOC_VERIFICATION_RESULT: Non-document (NonDoc) verification result notification</li></ul>
|
|
7351
|
+
* @type {string || null}
|
|
7352
|
+
*/
|
|
7353
|
+
this.Scene = null;
|
|
7354
|
+
|
|
7355
|
+
/**
|
|
7356
|
+
* <p>Callback signature key, up to 128 characters. Used for HMAC-SHA256 signature verification of subsequent callback messages. If not passed, signature is not enabled. We recommend using OpenSSL random bytes to generate the key. Recommended command: openssl rand -base64 32</p><blockquote><p>Our side uses your configured <code>SignatureKey</code> to calculate an HMAC-SHA256 signature over "timestamp (<code>X-Webhook-Timestamp</code>) + <code>.</code> + request body", and puts the hexadecimal result in the request header <code>X-Webhook-Signature</code>. The message itself is unencrypted and transmitted over HTTPS. Use the same key to recalculate and compare the signature by the same rule to confirm that the notification source is trustworthy and the content has not been tampered with.</p></blockquote>
|
|
7357
|
+
* @type {string || null}
|
|
7358
|
+
*/
|
|
7359
|
+
this.SignatureKey = null;
|
|
7360
|
+
|
|
7349
7361
|
}
|
|
7350
7362
|
|
|
7351
7363
|
/**
|
|
@@ -7357,6 +7369,8 @@ class CreateEKYCWebhookRequest extends AbstractModel {
|
|
|
7357
7369
|
}
|
|
7358
7370
|
this.WebhookName = 'WebhookName' in params ? params.WebhookName : null;
|
|
7359
7371
|
this.WebhookURL = 'WebhookURL' in params ? params.WebhookURL : null;
|
|
7372
|
+
this.Scene = 'Scene' in params ? params.Scene : null;
|
|
7373
|
+
this.SignatureKey = 'SignatureKey' in params ? params.SignatureKey : null;
|
|
7360
7374
|
|
|
7361
7375
|
}
|
|
7362
7376
|
}
|
|
@@ -8307,11 +8321,17 @@ class UpdateEKYCWebhookRequest extends AbstractModel {
|
|
|
8307
8321
|
this.WebhookName = null;
|
|
8308
8322
|
|
|
8309
8323
|
/**
|
|
8310
|
-
* New callback URL,
|
|
8324
|
+
* <p>New callback URL, must be HTTPS protocol</p>
|
|
8311
8325
|
* @type {string || null}
|
|
8312
8326
|
*/
|
|
8313
8327
|
this.WebhookURL = null;
|
|
8314
8328
|
|
|
8329
|
+
/**
|
|
8330
|
+
* <p>Callback signature key, up to 128 characters. Used for HMAC-SHA256 signature verification of subsequent callback messages. If not provided, signature is not enabled. We recommend using OpenSSL random bytes to generate the key. Recommended command: openssl rand -base64 32 </p><blockquote><p>Our side uses your configured <code>SignatureKey</code> to calculate the HMAC-SHA256 signature over "timestamp (<code>X-Webhook-Timestamp</code>) + <code>.</code> + request body", and puts the hexadecimal result in the request header <code>X-Webhook-Signature</code>. The message itself is unencrypted and transmitted over HTTPS. Use the same key to recalculate and compare the signature following the same rule to confirm that the notification source is trustworthy and the content has not been tampered with.</p></blockquote>
|
|
8331
|
+
* @type {string || null}
|
|
8332
|
+
*/
|
|
8333
|
+
this.SignatureKey = null;
|
|
8334
|
+
|
|
8315
8335
|
}
|
|
8316
8336
|
|
|
8317
8337
|
/**
|
|
@@ -8324,6 +8344,7 @@ class UpdateEKYCWebhookRequest extends AbstractModel {
|
|
|
8324
8344
|
this.WebhookId = 'WebhookId' in params ? params.WebhookId : null;
|
|
8325
8345
|
this.WebhookName = 'WebhookName' in params ? params.WebhookName : null;
|
|
8326
8346
|
this.WebhookURL = 'WebhookURL' in params ? params.WebhookURL : null;
|
|
8347
|
+
this.SignatureKey = 'SignatureKey' in params ? params.SignatureKey : null;
|
|
8327
8348
|
|
|
8328
8349
|
}
|
|
8329
8350
|
}
|