tencentcloud-sdk-nodejs 4.0.709 → 4.0.710
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/CHANGELOG.md +147 -0
- package/SERVICE_CHANGELOG.md +181 -215
- package/package.json +1 -1
- package/products.md +13 -13
- package/src/common/sdk_version.ts +1 -1
- package/src/services/bi/v20220105/bi_client.ts +91 -79
- package/src/services/bi/v20220105/bi_models.ts +68 -25
- package/src/services/cdn/v20180606/cdn_models.ts +25 -25
- package/src/services/clb/v20180317/clb_client.ts +1 -1
- package/src/services/clb/v20180317/clb_models.ts +15 -10
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +2 -2
- package/src/services/dlc/v20210125/dlc_client.ts +3 -2
- package/src/services/dlc/v20210125/dlc_models.ts +73 -38
- package/src/services/domain/v20180808/domain_client.ts +78 -17
- package/src/services/domain/v20180808/domain_models.ts +188 -21
- package/src/services/ess/v20201111/ess_models.ts +11 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +11 -0
- package/src/services/faceid/v20180301/faceid_models.ts +12 -12
- package/src/services/tione/v20211111/tione_client.ts +2 -4
- package/src/services/tione/v20211111/tione_models.ts +0 -2
- package/src/services/tse/v20201207/tse_models.ts +10 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/bi/v20220105/bi_client.d.ts +35 -31
- package/tencentcloud/services/bi/v20220105/bi_client.js +51 -45
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +65 -24
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +25 -25
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +1 -1
- package/tencentcloud/services/clb/v20180317/clb_client.js +1 -1
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +15 -10
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +2 -2
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +1 -1
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +72 -38
- package/tencentcloud/services/domain/v20180808/domain_client.d.ts +26 -6
- package/tencentcloud/services/domain/v20180808/domain_client.js +37 -7
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +177 -21
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +11 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +11 -0
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +12 -12
- package/tencentcloud/services/tione/v20211111/tione_client.d.ts +1 -3
- package/tencentcloud/services/tione/v20211111/tione_client.js +1 -3
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +0 -2
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +10 -0
- package/test/bi.v20220105.test.js +42 -32
- package/test/domain.v20180808.test.js +54 -4
|
@@ -24,6 +24,15 @@ export interface RenewDomainBatchResponse {
|
|
|
24
24
|
*/
|
|
25
25
|
RequestId?: string;
|
|
26
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* SyncCustomDnsHost请求参数结构体
|
|
29
|
+
*/
|
|
30
|
+
export interface SyncCustomDnsHostRequest {
|
|
31
|
+
/**
|
|
32
|
+
* 域名实例ID
|
|
33
|
+
*/
|
|
34
|
+
DomainId: string;
|
|
35
|
+
}
|
|
27
36
|
/**
|
|
28
37
|
* BatchModifyDomainInfo请求参数结构体
|
|
29
38
|
*/
|
|
@@ -336,6 +345,24 @@ export interface ModifyDomainDNSBatchResponse {
|
|
|
336
345
|
*/
|
|
337
346
|
RequestId?: string;
|
|
338
347
|
}
|
|
348
|
+
/**
|
|
349
|
+
* DescribeCustomDnsHostSet返回参数结构体
|
|
350
|
+
*/
|
|
351
|
+
export interface DescribeCustomDnsHostSetResponse {
|
|
352
|
+
/**
|
|
353
|
+
* 自定义DNS Host 列表
|
|
354
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
355
|
+
*/
|
|
356
|
+
DnsHostSet: Array<CustomDnsHost>;
|
|
357
|
+
/**
|
|
358
|
+
* 自定义DNS Host总数
|
|
359
|
+
*/
|
|
360
|
+
TotalCount: number;
|
|
361
|
+
/**
|
|
362
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
363
|
+
*/
|
|
364
|
+
RequestId?: string;
|
|
365
|
+
}
|
|
339
366
|
/**
|
|
340
367
|
* DeletePhoneEmail请求参数结构体
|
|
341
368
|
*/
|
|
@@ -363,17 +390,17 @@ export interface DescribeTemplateResponse {
|
|
|
363
390
|
RequestId?: string;
|
|
364
391
|
}
|
|
365
392
|
/**
|
|
366
|
-
*
|
|
393
|
+
* 自定义DNS Host
|
|
367
394
|
*/
|
|
368
|
-
export interface
|
|
395
|
+
export interface CustomDnsHost {
|
|
369
396
|
/**
|
|
370
|
-
*
|
|
397
|
+
* DNS名称
|
|
371
398
|
*/
|
|
372
|
-
|
|
399
|
+
DnsName: string;
|
|
373
400
|
/**
|
|
374
|
-
*
|
|
401
|
+
* IP地址列表
|
|
375
402
|
*/
|
|
376
|
-
|
|
403
|
+
IpSet: Array<string>;
|
|
377
404
|
}
|
|
378
405
|
/**
|
|
379
406
|
* CheckDomain返回参数结构体
|
|
@@ -466,6 +493,19 @@ export interface CreatePhoneEmailRequest {
|
|
|
466
493
|
*/
|
|
467
494
|
VerifyCode: string;
|
|
468
495
|
}
|
|
496
|
+
/**
|
|
497
|
+
* DeleteCustomDnsHost返回参数结构体
|
|
498
|
+
*/
|
|
499
|
+
export interface DeleteCustomDnsHostResponse {
|
|
500
|
+
/**
|
|
501
|
+
* 异步任务ID
|
|
502
|
+
*/
|
|
503
|
+
LogId: number;
|
|
504
|
+
/**
|
|
505
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
506
|
+
*/
|
|
507
|
+
RequestId?: string;
|
|
508
|
+
}
|
|
469
509
|
/**
|
|
470
510
|
* 域名价格信息
|
|
471
511
|
*/
|
|
@@ -694,6 +734,19 @@ export interface DescribeTemplateListRequest {
|
|
|
694
734
|
*/
|
|
695
735
|
Keyword?: string;
|
|
696
736
|
}
|
|
737
|
+
/**
|
|
738
|
+
* UpdateProhibitionBatch返回参数结构体
|
|
739
|
+
*/
|
|
740
|
+
export interface UpdateProhibitionBatchResponse {
|
|
741
|
+
/**
|
|
742
|
+
* 日志ID
|
|
743
|
+
*/
|
|
744
|
+
LogId: number;
|
|
745
|
+
/**
|
|
746
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
747
|
+
*/
|
|
748
|
+
RequestId?: string;
|
|
749
|
+
}
|
|
697
750
|
/**
|
|
698
751
|
* DescribeBatchOperationLogDetails请求参数结构体
|
|
699
752
|
*/
|
|
@@ -712,22 +765,21 @@ export interface DescribeBatchOperationLogDetailsRequest {
|
|
|
712
765
|
Limit?: number;
|
|
713
766
|
}
|
|
714
767
|
/**
|
|
715
|
-
*
|
|
768
|
+
* DescribeCustomDnsHostSet请求参数结构体
|
|
716
769
|
*/
|
|
717
|
-
export interface
|
|
770
|
+
export interface DescribeCustomDnsHostSetRequest {
|
|
718
771
|
/**
|
|
719
|
-
*
|
|
720
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
772
|
+
* 域名实例ID
|
|
721
773
|
*/
|
|
722
|
-
|
|
774
|
+
DomainId: string;
|
|
723
775
|
/**
|
|
724
|
-
*
|
|
776
|
+
* 返回数量,默认为20,取值范围[1,100]
|
|
725
777
|
*/
|
|
726
|
-
|
|
778
|
+
Limit: number;
|
|
727
779
|
/**
|
|
728
|
-
*
|
|
780
|
+
* 偏移量,默认为0
|
|
729
781
|
*/
|
|
730
|
-
|
|
782
|
+
Offset: number;
|
|
731
783
|
}
|
|
732
784
|
/**
|
|
733
785
|
* CreateCustomDnsHost返回参数结构体
|
|
@@ -1129,6 +1181,23 @@ export interface CreateDomainBatchRequest {
|
|
|
1129
1181
|
*/
|
|
1130
1182
|
ActivityId?: string;
|
|
1131
1183
|
}
|
|
1184
|
+
/**
|
|
1185
|
+
* ModifyIntlCustomDnsHost请求参数结构体
|
|
1186
|
+
*/
|
|
1187
|
+
export interface ModifyIntlCustomDnsHostRequest {
|
|
1188
|
+
/**
|
|
1189
|
+
* 域名ID
|
|
1190
|
+
*/
|
|
1191
|
+
DomainId: string;
|
|
1192
|
+
/**
|
|
1193
|
+
* DNS Host
|
|
1194
|
+
*/
|
|
1195
|
+
DnsName: string;
|
|
1196
|
+
/**
|
|
1197
|
+
* IP地址
|
|
1198
|
+
*/
|
|
1199
|
+
IpSet: Array<string>;
|
|
1200
|
+
}
|
|
1132
1201
|
/**
|
|
1133
1202
|
* DescribeDomainSimpleInfo返回参数结构体
|
|
1134
1203
|
*/
|
|
@@ -1281,6 +1350,24 @@ export interface DomainBaseInfo {
|
|
|
1281
1350
|
*/
|
|
1282
1351
|
LockEndTime: string;
|
|
1283
1352
|
}
|
|
1353
|
+
/**
|
|
1354
|
+
* DescribeDomainNameList返回参数结构体
|
|
1355
|
+
*/
|
|
1356
|
+
export interface DescribeDomainNameListResponse {
|
|
1357
|
+
/**
|
|
1358
|
+
* 域名信息集合
|
|
1359
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1360
|
+
*/
|
|
1361
|
+
DomainSet: Array<DomainList>;
|
|
1362
|
+
/**
|
|
1363
|
+
* 域名总数量
|
|
1364
|
+
*/
|
|
1365
|
+
TotalCount: number;
|
|
1366
|
+
/**
|
|
1367
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1368
|
+
*/
|
|
1369
|
+
RequestId?: string;
|
|
1370
|
+
}
|
|
1284
1371
|
/**
|
|
1285
1372
|
* DescribeDomainNameList请求参数结构体
|
|
1286
1373
|
*/
|
|
@@ -1360,6 +1447,49 @@ export interface TransferProhibitionBatchResponse {
|
|
|
1360
1447
|
*/
|
|
1361
1448
|
RequestId?: string;
|
|
1362
1449
|
}
|
|
1450
|
+
/**
|
|
1451
|
+
* ModifyCustomDnsHost返回参数结构体
|
|
1452
|
+
*/
|
|
1453
|
+
export interface ModifyCustomDnsHostResponse {
|
|
1454
|
+
/**
|
|
1455
|
+
* 异步任务ID
|
|
1456
|
+
*/
|
|
1457
|
+
LogId: number;
|
|
1458
|
+
/**
|
|
1459
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1460
|
+
*/
|
|
1461
|
+
RequestId?: string;
|
|
1462
|
+
}
|
|
1463
|
+
/**
|
|
1464
|
+
* SyncCustomDnsHost返回参数结构体
|
|
1465
|
+
*/
|
|
1466
|
+
export interface SyncCustomDnsHostResponse {
|
|
1467
|
+
/**
|
|
1468
|
+
* 异步任务ID
|
|
1469
|
+
*/
|
|
1470
|
+
LogId: number;
|
|
1471
|
+
/**
|
|
1472
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1473
|
+
*/
|
|
1474
|
+
RequestId?: string;
|
|
1475
|
+
}
|
|
1476
|
+
/**
|
|
1477
|
+
* ModifyCustomDnsHost请求参数结构体
|
|
1478
|
+
*/
|
|
1479
|
+
export interface ModifyCustomDnsHostRequest {
|
|
1480
|
+
/**
|
|
1481
|
+
* 域名实例ID
|
|
1482
|
+
*/
|
|
1483
|
+
DomainId: string;
|
|
1484
|
+
/**
|
|
1485
|
+
* DNS名称
|
|
1486
|
+
*/
|
|
1487
|
+
DnsName: string;
|
|
1488
|
+
/**
|
|
1489
|
+
* IP地址列表
|
|
1490
|
+
*/
|
|
1491
|
+
IpSet: Array<string>;
|
|
1492
|
+
}
|
|
1363
1493
|
/**
|
|
1364
1494
|
* CreateCustomDnsHost请求参数结构体
|
|
1365
1495
|
*/
|
|
@@ -1390,6 +1520,19 @@ export interface ModifyDomainDNSBatchRequest {
|
|
|
1390
1520
|
*/
|
|
1391
1521
|
Dns: Array<string>;
|
|
1392
1522
|
}
|
|
1523
|
+
/**
|
|
1524
|
+
* DeleteCustomDnsHost请求参数结构体
|
|
1525
|
+
*/
|
|
1526
|
+
export interface DeleteCustomDnsHostRequest {
|
|
1527
|
+
/**
|
|
1528
|
+
* 域名实例ID
|
|
1529
|
+
*/
|
|
1530
|
+
DomainId: string;
|
|
1531
|
+
/**
|
|
1532
|
+
* DNS名称
|
|
1533
|
+
*/
|
|
1534
|
+
DnsName: string;
|
|
1535
|
+
}
|
|
1393
1536
|
/**
|
|
1394
1537
|
* DescribeBatchOperationLogDetails返回参数结构体
|
|
1395
1538
|
*/
|
|
@@ -1408,6 +1551,19 @@ export interface DescribeBatchOperationLogDetailsResponse {
|
|
|
1408
1551
|
*/
|
|
1409
1552
|
RequestId?: string;
|
|
1410
1553
|
}
|
|
1554
|
+
/**
|
|
1555
|
+
* SendPhoneEmailCode请求参数结构体
|
|
1556
|
+
*/
|
|
1557
|
+
export interface SendPhoneEmailCodeRequest {
|
|
1558
|
+
/**
|
|
1559
|
+
* 手机或者邮箱号。
|
|
1560
|
+
*/
|
|
1561
|
+
Code: string;
|
|
1562
|
+
/**
|
|
1563
|
+
* 1:手机 2:邮箱。
|
|
1564
|
+
*/
|
|
1565
|
+
Type: number;
|
|
1566
|
+
}
|
|
1411
1567
|
/**
|
|
1412
1568
|
* DescribePhoneEmailList返回参数结构体
|
|
1413
1569
|
*/
|
|
@@ -1508,17 +1664,17 @@ export interface ModifyDomainOwnerBatchRequest {
|
|
|
1508
1664
|
NewOwnerAppId?: string;
|
|
1509
1665
|
}
|
|
1510
1666
|
/**
|
|
1511
|
-
*
|
|
1667
|
+
* ModifyIntlCustomDnsHost返回参数结构体
|
|
1512
1668
|
*/
|
|
1513
|
-
export interface
|
|
1669
|
+
export interface ModifyIntlCustomDnsHostResponse {
|
|
1514
1670
|
/**
|
|
1515
|
-
*
|
|
1671
|
+
* 任务ID
|
|
1516
1672
|
*/
|
|
1517
|
-
|
|
1673
|
+
LogId: number;
|
|
1518
1674
|
/**
|
|
1519
|
-
*
|
|
1675
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1520
1676
|
*/
|
|
1521
|
-
|
|
1677
|
+
RequestId?: string;
|
|
1522
1678
|
}
|
|
1523
1679
|
/**
|
|
1524
1680
|
* 批量操作记录
|
|
@@ -5232,6 +5232,17 @@ export interface ApproverOption {
|
|
|
5232
5232
|
</ul>
|
|
5233
5233
|
*/
|
|
5234
5234
|
FillType?: number;
|
|
5235
|
+
/**
|
|
5236
|
+
* 签署人阅读合同限制参数
|
|
5237
|
+
<br/>取值:
|
|
5238
|
+
<ul>
|
|
5239
|
+
<li> LimitReadTimeAndBottom,阅读合同必须限制阅读时长并且必须阅读到底</li>
|
|
5240
|
+
<li> LimitReadTime,阅读合同仅限制阅读时长</li>
|
|
5241
|
+
<li> LimitBottom,阅读合同仅限制必须阅读到底</li>
|
|
5242
|
+
<li> NoReadTimeAndBottom,阅读合同不限制阅读时长且不限制阅读到底(白名单功能,请联系客户经理开白使用)</li>
|
|
5243
|
+
</ul>
|
|
5244
|
+
*/
|
|
5245
|
+
FlowReadLimit?: string;
|
|
5235
5246
|
}
|
|
5236
5247
|
/**
|
|
5237
5248
|
* CreateEmbedWebUrl返回参数结构体
|
|
@@ -4520,6 +4520,17 @@ export interface ApproverOption {
|
|
|
4520
4520
|
</ul>
|
|
4521
4521
|
*/
|
|
4522
4522
|
FillType?: number;
|
|
4523
|
+
/**
|
|
4524
|
+
* 签署人阅读合同限制参数
|
|
4525
|
+
<br/>取值:
|
|
4526
|
+
<ul>
|
|
4527
|
+
<li> LimitReadTimeAndBottom,阅读合同必须限制阅读时长并且必须阅读到底</li>
|
|
4528
|
+
<li> LimitReadTime,阅读合同仅限制阅读时长</li>
|
|
4529
|
+
<li> LimitBottom,阅读合同仅限制必须阅读到底</li>
|
|
4530
|
+
<li> NoReadTimeAndBottom,阅读合同不限制阅读时长且不限制阅读到底(白名单功能,请联系客户经理开白使用)</li>
|
|
4531
|
+
</ul>
|
|
4532
|
+
*/
|
|
4533
|
+
FlowReadLimit?: string;
|
|
4523
4534
|
}
|
|
4524
4535
|
/**
|
|
4525
4536
|
* 合作企业经办人列表信息
|
|
@@ -654,7 +654,7 @@ export interface GetEidTokenRequest {
|
|
|
654
654
|
MerchantId: string;
|
|
655
655
|
/**
|
|
656
656
|
* 身份标识(未使用OCR服务时,必须传入)。
|
|
657
|
-
规则:a-
|
|
657
|
+
规则:a-z,A-Z,0-9组合。最长长度32位。
|
|
658
658
|
*/
|
|
659
659
|
IdCard?: string;
|
|
660
660
|
/**
|
|
@@ -907,24 +907,24 @@ export interface LivenessRecognitionResponse {
|
|
|
907
907
|
* 验证通过后的视频最佳截图照片,照片为BASE64编码后的值,jpg格式。
|
|
908
908
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
909
909
|
*/
|
|
910
|
-
BestFrameBase64
|
|
910
|
+
BestFrameBase64?: string;
|
|
911
911
|
/**
|
|
912
912
|
* 相似度,取值范围 [0.00, 100.00]。推荐相似度大于等于70时可判断为同一人,可根据具体场景自行调整阈值(阈值70的误通过率为千分之一,阈值80的误通过率是万分之一)
|
|
913
913
|
*/
|
|
914
|
-
Sim
|
|
914
|
+
Sim?: number;
|
|
915
915
|
/**
|
|
916
916
|
* 业务错误码,成功情况返回Success, 错误情况请参考下方错误码 列表中FailedOperation部分
|
|
917
917
|
*/
|
|
918
|
-
Result
|
|
918
|
+
Result?: string;
|
|
919
919
|
/**
|
|
920
920
|
* 业务结果描述。
|
|
921
921
|
*/
|
|
922
|
-
Description
|
|
922
|
+
Description?: string;
|
|
923
923
|
/**
|
|
924
924
|
* 最佳截图列表,仅在配置了返回多张最佳截图时返回。
|
|
925
925
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
926
926
|
*/
|
|
927
|
-
BestFrameList
|
|
927
|
+
BestFrameList?: Array<string>;
|
|
928
928
|
/**
|
|
929
929
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
930
930
|
*/
|
|
@@ -1656,7 +1656,7 @@ export interface DetectAuthRequest {
|
|
|
1656
1656
|
TerminalType?: string;
|
|
1657
1657
|
/**
|
|
1658
1658
|
* 身份标识(未使用OCR服务时,必须传入)。
|
|
1659
|
-
规则:a-
|
|
1659
|
+
规则:a-z,A-Z,0-9组合。最长长度32位。
|
|
1660
1660
|
*/
|
|
1661
1661
|
IdCard?: string;
|
|
1662
1662
|
/**
|
|
@@ -2043,15 +2043,15 @@ export interface ImageRecognitionResponse {
|
|
|
2043
2043
|
/**
|
|
2044
2044
|
* 相似度,取值范围 [0.00, 100.00]。推荐相似度大于等于70时可判断为同一人,可根据具体场景自行调整阈值(阈值70的误通过率为千分之一,阈值80的误通过率是万分之一)
|
|
2045
2045
|
*/
|
|
2046
|
-
Sim
|
|
2046
|
+
Sim?: number;
|
|
2047
2047
|
/**
|
|
2048
2048
|
* 业务错误码,成功情况返回Success, 错误情况请参考下方错误码 列表中FailedOperation部分
|
|
2049
2049
|
*/
|
|
2050
|
-
Result
|
|
2050
|
+
Result?: string;
|
|
2051
2051
|
/**
|
|
2052
2052
|
* 业务结果描述。
|
|
2053
2053
|
*/
|
|
2054
|
-
Description
|
|
2054
|
+
Description?: string;
|
|
2055
2055
|
/**
|
|
2056
2056
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2057
2057
|
*/
|
|
@@ -2336,11 +2336,11 @@ export interface GetEidTokenResponse {
|
|
|
2336
2336
|
* 一次核身流程的标识,有效时间为600秒;
|
|
2337
2337
|
完成核身后,可用该标识获取验证结果信息。
|
|
2338
2338
|
*/
|
|
2339
|
-
EidToken
|
|
2339
|
+
EidToken?: string;
|
|
2340
2340
|
/**
|
|
2341
2341
|
* 发起核身流程的URL,用于H5场景核身。
|
|
2342
2342
|
*/
|
|
2343
|
-
Url
|
|
2343
|
+
Url?: string;
|
|
2344
2344
|
/**
|
|
2345
2345
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2346
2346
|
*/
|
|
@@ -96,9 +96,7 @@ export declare class Client extends AbstractClient {
|
|
|
96
96
|
*/
|
|
97
97
|
DescribeModelAccelerateTask(req: DescribeModelAccelerateTaskRequest, cb?: (error: string, rep: DescribeModelAccelerateTaskResponse) => void): Promise<DescribeModelAccelerateTaskResponse>;
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
100
|
-
1. 与多行业多场景大模型的在线体验聊天
|
|
101
|
-
2. 与自行部署的开源大模型的聊天
|
|
99
|
+
* 该接口支持与自行部署的大模型的聊天。
|
|
102
100
|
*/
|
|
103
101
|
ChatCompletion(req: ChatCompletionRequest, cb?: (error: string, rep: ChatCompletionResponse) => void): Promise<ChatCompletionResponse>;
|
|
104
102
|
/**
|
|
@@ -160,9 +160,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
160
160
|
return this.request("DescribeModelAccelerateTask", req, cb);
|
|
161
161
|
}
|
|
162
162
|
/**
|
|
163
|
-
*
|
|
164
|
-
1. 与多行业多场景大模型的在线体验聊天
|
|
165
|
-
2. 与自行部署的开源大模型的聊天
|
|
163
|
+
* 该接口支持与自行部署的大模型的聊天。
|
|
166
164
|
*/
|
|
167
165
|
async ChatCompletion(req, cb) {
|
|
168
166
|
return this.request("ChatCompletion", req, cb);
|
|
@@ -2149,7 +2149,6 @@ export interface FrameworkVersion {
|
|
|
2149
2149
|
export interface ChatCompletionRequest {
|
|
2150
2150
|
/**
|
|
2151
2151
|
* 对话的目标模型ID。
|
|
2152
|
-
多行业多场景大模型在线体验聊天:tj_llm_clm-v1。
|
|
2153
2152
|
自行部署的开源大模型聊天:部署的模型服务组ID,形如ms-xxyyzz。
|
|
2154
2153
|
*/
|
|
2155
2154
|
Model: string;
|
|
@@ -5636,7 +5635,6 @@ export interface SendChatMessageRequest {
|
|
|
5636
5635
|
Question: string;
|
|
5637
5636
|
/**
|
|
5638
5637
|
* 会话模型版本。
|
|
5639
|
-
多行业多场景大模型:填写 tj_llm_clm-v1。
|
|
5640
5638
|
多行业客服大模型:填写demo_big_model_version_id。
|
|
5641
5639
|
默认为demo_big_model_version_id,即多行业客服大模型。
|
|
5642
5640
|
*/
|
|
@@ -1230,6 +1230,16 @@ export interface InstancePort {
|
|
|
1230
1230
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1231
1231
|
*/
|
|
1232
1232
|
HttpsPort?: string;
|
|
1233
|
+
/**
|
|
1234
|
+
* 监听的 tcp 端口范围。
|
|
1235
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1236
|
+
*/
|
|
1237
|
+
TcpPort?: string;
|
|
1238
|
+
/**
|
|
1239
|
+
* 监听的 udp 端口范围。
|
|
1240
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1241
|
+
*/
|
|
1242
|
+
UdpPort?: string;
|
|
1233
1243
|
}
|
|
1234
1244
|
/**
|
|
1235
1245
|
* 获取云原生API网关基础信息响应结果。
|
|
@@ -48,9 +48,9 @@ it("bi.v20220105.CreateDatasource", async function () {
|
|
|
48
48
|
}
|
|
49
49
|
})
|
|
50
50
|
|
|
51
|
-
it("bi.v20220105.
|
|
51
|
+
it("bi.v20220105.DescribeProjectInfo", async function () {
|
|
52
52
|
try {
|
|
53
|
-
const data = await client.
|
|
53
|
+
const data = await client.DescribeProjectInfo({})
|
|
54
54
|
expect(data).to.be.ok
|
|
55
55
|
} catch(error) {
|
|
56
56
|
expect(error.requestId).to.be.ok
|
|
@@ -58,9 +58,19 @@ it("bi.v20220105.CreateUserRoleProject", async function () {
|
|
|
58
58
|
}
|
|
59
59
|
})
|
|
60
60
|
|
|
61
|
-
it("bi.v20220105.
|
|
61
|
+
it("bi.v20220105.ApplyEmbedInterval", async function () {
|
|
62
62
|
try {
|
|
63
|
-
const data = await client.
|
|
63
|
+
const data = await client.ApplyEmbedInterval({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
71
|
+
it("bi.v20220105.CreateDatasourceCloud", async function () {
|
|
72
|
+
try {
|
|
73
|
+
const data = await client.CreateDatasourceCloud({})
|
|
64
74
|
expect(data).to.be.ok
|
|
65
75
|
} catch(error) {
|
|
66
76
|
expect(error.requestId).to.be.ok
|
|
@@ -88,9 +98,9 @@ it("bi.v20220105.CreateEmbedToken", async function () {
|
|
|
88
98
|
}
|
|
89
99
|
})
|
|
90
100
|
|
|
91
|
-
it("bi.v20220105.
|
|
101
|
+
it("bi.v20220105.CreateUserRole", async function () {
|
|
92
102
|
try {
|
|
93
|
-
const data = await client.
|
|
103
|
+
const data = await client.CreateUserRole({})
|
|
94
104
|
expect(data).to.be.ok
|
|
95
105
|
} catch(error) {
|
|
96
106
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +108,9 @@ it("bi.v20220105.DescribeProjectInfo", async function () {
|
|
|
98
108
|
}
|
|
99
109
|
})
|
|
100
110
|
|
|
101
|
-
it("bi.v20220105.
|
|
111
|
+
it("bi.v20220105.DeleteDatasource", async function () {
|
|
102
112
|
try {
|
|
103
|
-
const data = await client.
|
|
113
|
+
const data = await client.DeleteDatasource({})
|
|
104
114
|
expect(data).to.be.ok
|
|
105
115
|
} catch(error) {
|
|
106
116
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +118,9 @@ it("bi.v20220105.CreateProject", async function () {
|
|
|
108
118
|
}
|
|
109
119
|
})
|
|
110
120
|
|
|
111
|
-
it("bi.v20220105.
|
|
121
|
+
it("bi.v20220105.DeleteUserRole", async function () {
|
|
112
122
|
try {
|
|
113
|
-
const data = await client.
|
|
123
|
+
const data = await client.DeleteUserRole({})
|
|
114
124
|
expect(data).to.be.ok
|
|
115
125
|
} catch(error) {
|
|
116
126
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +128,9 @@ it("bi.v20220105.CreateUserRole", async function () {
|
|
|
118
128
|
}
|
|
119
129
|
})
|
|
120
130
|
|
|
121
|
-
it("bi.v20220105.
|
|
131
|
+
it("bi.v20220105.ModifyProject", async function () {
|
|
122
132
|
try {
|
|
123
|
-
const data = await client.
|
|
133
|
+
const data = await client.ModifyProject({})
|
|
124
134
|
expect(data).to.be.ok
|
|
125
135
|
} catch(error) {
|
|
126
136
|
expect(error.requestId).to.be.ok
|
|
@@ -128,9 +138,9 @@ it("bi.v20220105.DescribeUserProjectList", async function () {
|
|
|
128
138
|
}
|
|
129
139
|
})
|
|
130
140
|
|
|
131
|
-
it("bi.v20220105.
|
|
141
|
+
it("bi.v20220105.DescribeUserRoleList", async function () {
|
|
132
142
|
try {
|
|
133
|
-
const data = await client.
|
|
143
|
+
const data = await client.DescribeUserRoleList({})
|
|
134
144
|
expect(data).to.be.ok
|
|
135
145
|
} catch(error) {
|
|
136
146
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +148,9 @@ it("bi.v20220105.DeleteDatasource", async function () {
|
|
|
138
148
|
}
|
|
139
149
|
})
|
|
140
150
|
|
|
141
|
-
it("bi.v20220105.
|
|
151
|
+
it("bi.v20220105.DescribeUserRoleProjectList", async function () {
|
|
142
152
|
try {
|
|
143
|
-
const data = await client.
|
|
153
|
+
const data = await client.DescribeUserRoleProjectList({})
|
|
144
154
|
expect(data).to.be.ok
|
|
145
155
|
} catch(error) {
|
|
146
156
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +158,9 @@ it("bi.v20220105.ApplyEmbedInterval", async function () {
|
|
|
148
158
|
}
|
|
149
159
|
})
|
|
150
160
|
|
|
151
|
-
it("bi.v20220105.
|
|
161
|
+
it("bi.v20220105.ModifyDatasourceCloud", async function () {
|
|
152
162
|
try {
|
|
153
|
-
const data = await client.
|
|
163
|
+
const data = await client.ModifyDatasourceCloud({})
|
|
154
164
|
expect(data).to.be.ok
|
|
155
165
|
} catch(error) {
|
|
156
166
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +168,9 @@ it("bi.v20220105.DeleteUserRole", async function () {
|
|
|
158
168
|
}
|
|
159
169
|
})
|
|
160
170
|
|
|
161
|
-
it("bi.v20220105.
|
|
171
|
+
it("bi.v20220105.CreateUserRoleProject", async function () {
|
|
162
172
|
try {
|
|
163
|
-
const data = await client.
|
|
173
|
+
const data = await client.CreateUserRoleProject({})
|
|
164
174
|
expect(data).to.be.ok
|
|
165
175
|
} catch(error) {
|
|
166
176
|
expect(error.requestId).to.be.ok
|
|
@@ -168,9 +178,9 @@ it("bi.v20220105.ModifyUserRoleProject", async function () {
|
|
|
168
178
|
}
|
|
169
179
|
})
|
|
170
180
|
|
|
171
|
-
it("bi.v20220105.
|
|
181
|
+
it("bi.v20220105.DeleteUserRoleProject", async function () {
|
|
172
182
|
try {
|
|
173
|
-
const data = await client.
|
|
183
|
+
const data = await client.DeleteUserRoleProject({})
|
|
174
184
|
expect(data).to.be.ok
|
|
175
185
|
} catch(error) {
|
|
176
186
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +188,9 @@ it("bi.v20220105.ModifyProject", async function () {
|
|
|
178
188
|
}
|
|
179
189
|
})
|
|
180
190
|
|
|
181
|
-
it("bi.v20220105.
|
|
191
|
+
it("bi.v20220105.CreateProject", async function () {
|
|
182
192
|
try {
|
|
183
|
-
const data = await client.
|
|
193
|
+
const data = await client.CreateProject({})
|
|
184
194
|
expect(data).to.be.ok
|
|
185
195
|
} catch(error) {
|
|
186
196
|
expect(error.requestId).to.be.ok
|
|
@@ -188,9 +198,9 @@ it("bi.v20220105.DescribeProjectList", async function () {
|
|
|
188
198
|
}
|
|
189
199
|
})
|
|
190
200
|
|
|
191
|
-
it("bi.v20220105.
|
|
201
|
+
it("bi.v20220105.DescribeUserProjectList", async function () {
|
|
192
202
|
try {
|
|
193
|
-
const data = await client.
|
|
203
|
+
const data = await client.DescribeUserProjectList({})
|
|
194
204
|
expect(data).to.be.ok
|
|
195
205
|
} catch(error) {
|
|
196
206
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +208,9 @@ it("bi.v20220105.DescribeUserRoleList", async function () {
|
|
|
198
208
|
}
|
|
199
209
|
})
|
|
200
210
|
|
|
201
|
-
it("bi.v20220105.
|
|
211
|
+
it("bi.v20220105.DeleteProject", async function () {
|
|
202
212
|
try {
|
|
203
|
-
const data = await client.
|
|
213
|
+
const data = await client.DeleteProject({})
|
|
204
214
|
expect(data).to.be.ok
|
|
205
215
|
} catch(error) {
|
|
206
216
|
expect(error.requestId).to.be.ok
|
|
@@ -208,9 +218,9 @@ it("bi.v20220105.CreateDatasourceCloud", async function () {
|
|
|
208
218
|
}
|
|
209
219
|
})
|
|
210
220
|
|
|
211
|
-
it("bi.v20220105.
|
|
221
|
+
it("bi.v20220105.ModifyUserRoleProject", async function () {
|
|
212
222
|
try {
|
|
213
|
-
const data = await client.
|
|
223
|
+
const data = await client.ModifyUserRoleProject({})
|
|
214
224
|
expect(data).to.be.ok
|
|
215
225
|
} catch(error) {
|
|
216
226
|
expect(error.requestId).to.be.ok
|
|
@@ -218,9 +228,9 @@ it("bi.v20220105.DeleteUserRoleProject", async function () {
|
|
|
218
228
|
}
|
|
219
229
|
})
|
|
220
230
|
|
|
221
|
-
it("bi.v20220105.
|
|
231
|
+
it("bi.v20220105.DescribeProjectList", async function () {
|
|
222
232
|
try {
|
|
223
|
-
const data = await client.
|
|
233
|
+
const data = await client.DescribeProjectList({})
|
|
224
234
|
expect(data).to.be.ok
|
|
225
235
|
} catch(error) {
|
|
226
236
|
expect(error.requestId).to.be.ok
|