tencentcloud-sdk-nodejs-iai 4.1.98 → 4.1.120

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.
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-iai",
3
- "version": "4.1.98",
3
+ "version": "4.1.120",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -12,7 +12,8 @@
12
12
  "build:es": "tsc -p tsconfig.es.json",
13
13
  "build:slim": "node ./scripts/build_slim.js",
14
14
  "prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'",
15
- "clean": "rimraf tencentcloud es"
15
+ "clean": "rimraf tencentcloud es",
16
+ "test:common": "vitest run"
16
17
  },
17
18
  "engines": {
18
19
  "node": ">=10"
@@ -44,9 +45,8 @@
44
45
  "url": "https://github.com/tencentcloud/tencentcloud-sdk-nodejs"
45
46
  },
46
47
  "devDependencies": {
47
- "@types/form-data": "^2.5.0",
48
48
  "@types/json-bigint": "^1.0.1",
49
- "@types/node": "^14.0.26",
49
+ "@types/node": "^18.0.0",
50
50
  "@types/node-fetch": "^2.5.7",
51
51
  "@types/uuid": "^9.0.8",
52
52
  "@typescript-eslint/eslint-plugin": "^2.34.0",
@@ -61,6 +61,7 @@
61
61
  "prettier": "^2.3.0",
62
62
  "rimraf": "^5.0.10",
63
63
  "ts-node": "^8.10.2",
64
- "typescript": "^3.9.7"
64
+ "typescript": "^5.9.2",
65
+ "vitest": "2.1.9"
65
66
  }
66
67
  }
@@ -1572,15 +1572,15 @@ export interface VerifyFaceResponse {
1572
1572
  若需要验证两张图片中人脸是否为同一人,3.0版本误识率千分之一对应分数为40分,误识率万分之一对应分数为50分,误识率十万分之一对应分数为60分。 一般超过50分则可认定为同一人。
1573
1573
  2.0版本误识率千分之一对应分数为70分,误识率万分之一对应分数为80分,误识率十万分之一对应分数为90分。 一般超过80分则可认定为同一人。
1574
1574
  */
1575
- Score: number;
1575
+ Score?: number;
1576
1576
  /**
1577
1577
  * 是否为同一人判断,固定阈值分数为60分,若想更灵活地调整阈值可取Score参数返回进行判断
1578
1578
  */
1579
- IsMatch: boolean;
1579
+ IsMatch?: boolean;
1580
1580
  /**
1581
1581
  * 人脸识别所用的算法模型版本。
1582
1582
  */
1583
- FaceModelVersion: string;
1583
+ FaceModelVersion?: string;
1584
1584
  /**
1585
1585
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1586
1586
  */
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.iai = void 0;
3
4
  var iai_1 = require("./iai");
4
5
  Object.defineProperty(exports, "iai", { enumerable: true, get: function () { return iai_1.iai; } });