tencentcloud-sdk-nodejs 4.0.615 → 4.0.617
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 +440 -0
- package/SERVICE_CHANGELOG.md +385 -201
- package/package.json +1 -1
- package/products.md +21 -21
- package/src/common/sdk_version.ts +1 -1
- package/src/services/apigateway/v20180808/apigateway_client.ts +3 -1
- package/src/services/apigateway/v20180808/apigateway_models.ts +132 -5
- package/src/services/ccc/v20200210/ccc_models.ts +6 -1
- package/src/services/cdb/v20170320/cdb_models.ts +1 -1
- package/src/services/cfg/v20210820/cfg_client.ts +2 -1
- package/src/services/cfg/v20210820/cfg_models.ts +64 -24
- package/src/services/ckafka/v20190819/ckafka_client.ts +2 -1
- package/src/services/ckafka/v20190819/ckafka_models.ts +79 -7
- package/src/services/clb/v20180317/clb_models.ts +2 -1
- package/src/services/csip/v20221121/csip_client.ts +12 -0
- package/src/services/csip/v20221121/csip_models.ts +25 -0
- package/src/services/dcdb/v20180411/dcdb_client.ts +12 -0
- package/src/services/dcdb/v20180411/dcdb_models.ts +30 -0
- package/src/services/dnspod/v20210323/dnspod_client.ts +19 -7
- package/src/services/dnspod/v20210323/dnspod_models.ts +119 -6
- package/src/services/ess/v20201111/ess_client.ts +95 -46
- package/src/services/ess/v20201111/ess_models.ts +241 -34
- package/src/services/essbasic/v20210526/essbasic_client.ts +2 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +47 -37
- package/src/services/sms/v20190711/sms_client.ts +1 -1
- package/src/services/sms/v20190711/sms_models.ts +1 -1
- package/src/services/sms/v20210111/sms_client.ts +1 -1
- package/src/services/sms/v20210111/sms_models.ts +1 -1
- package/src/services/tdmq/v20200217/tdmq_client.ts +3 -2
- package/src/services/tdmq/v20200217/tdmq_models.ts +26 -10
- package/src/services/tione/v20211111/tione_client.ts +1 -0
- package/src/services/tione/v20211111/tione_models.ts +24 -2
- package/src/services/tiw/v20190919/tiw_models.ts +1 -3
- package/src/services/tsf/v20180326/tsf_models.ts +1 -1
- package/src/services/vpc/v20170312/vpc_client.ts +3 -3
- package/src/services/vpc/v20170312/vpc_models.ts +10 -9
- package/src/services/wedata/v20210820/wedata_client.ts +15 -1
- package/src/services/wedata/v20210820/wedata_models.ts +196 -6
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_client.d.ts +1 -1
- package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +111 -5
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +5 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +1 -1
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +54 -20
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +1 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +1 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +66 -7
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +2 -1
- package/tencentcloud/services/csip/v20221121/csip_client.d.ts +5 -1
- package/tencentcloud/services/csip/v20221121/csip_client.js +6 -0
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +22 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +5 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +6 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +26 -0
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +7 -3
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +9 -3
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +101 -6
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +37 -21
- package/tencentcloud/services/ess/v20201111/ess_client.js +49 -25
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +207 -31
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +40 -31
- package/tencentcloud/services/sms/v20190711/sms_client.d.ts +1 -1
- package/tencentcloud/services/sms/v20190711/sms_client.js +1 -1
- package/tencentcloud/services/sms/v20190711/sms_models.d.ts +1 -1
- package/tencentcloud/services/sms/v20210111/sms_client.d.ts +1 -1
- package/tencentcloud/services/sms/v20210111/sms_client.js +1 -1
- package/tencentcloud/services/sms/v20210111/sms_models.d.ts +1 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +1 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +1 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +23 -10
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +21 -2
- package/tencentcloud/services/tiw/v20190919/tiw_models.d.ts +1 -3
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +3 -3
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +3 -3
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +10 -9
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +5 -1
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +6 -0
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +166 -6
- package/test/csip.v20221121.test.js +10 -0
- package/test/dcdb.v20180411.test.js +10 -0
- package/test/dnspod.v20210323.test.js +12 -2
- package/test/ess.v20201111.test.js +50 -10
- package/test/wedata.v20210820.test.js +10 -0
|
@@ -21,6 +21,7 @@ import {
|
|
|
21
21
|
DescribeDbAssetInfoResponse,
|
|
22
22
|
DescribeDbAssetsRequest,
|
|
23
23
|
DescribeScanReportListRequest,
|
|
24
|
+
CreateDomainAndIpRequest,
|
|
24
25
|
ScanTaskInfo,
|
|
25
26
|
FilterDataObject,
|
|
26
27
|
CVMAssetVO,
|
|
@@ -41,6 +42,7 @@ import {
|
|
|
41
42
|
DescribeSubnetAssetsRequest,
|
|
42
43
|
AssetBaseInfoResponse,
|
|
43
44
|
DescribeCVMAssetsResponse,
|
|
45
|
+
CreateDomainAndIpResponse,
|
|
44
46
|
DescribeDbAssetsResponse,
|
|
45
47
|
AddNewBindRoleUserResponse,
|
|
46
48
|
DescribeCVMAssetInfoRequest,
|
|
@@ -106,6 +108,16 @@ export class Client extends AbstractClient {
|
|
|
106
108
|
return this.request("DescribeScanReportList", req, cb)
|
|
107
109
|
}
|
|
108
110
|
|
|
111
|
+
/**
|
|
112
|
+
* 创建域名、ip相关信息
|
|
113
|
+
*/
|
|
114
|
+
async CreateDomainAndIp(
|
|
115
|
+
req: CreateDomainAndIpRequest,
|
|
116
|
+
cb?: (error: string, rep: CreateDomainAndIpResponse) => void
|
|
117
|
+
): Promise<CreateDomainAndIpResponse> {
|
|
118
|
+
return this.request("CreateDomainAndIp", req, cb)
|
|
119
|
+
}
|
|
120
|
+
|
|
109
121
|
/**
|
|
110
122
|
* 获取子网列表
|
|
111
123
|
*/
|
|
@@ -51,6 +51,16 @@ export interface DescribeScanReportListRequest {
|
|
|
51
51
|
Filter?: Filter
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
/**
|
|
55
|
+
* CreateDomainAndIp请求参数结构体
|
|
56
|
+
*/
|
|
57
|
+
export interface CreateDomainAndIpRequest {
|
|
58
|
+
/**
|
|
59
|
+
* -
|
|
60
|
+
*/
|
|
61
|
+
Content: Array<string>
|
|
62
|
+
}
|
|
63
|
+
|
|
54
64
|
/**
|
|
55
65
|
* 扫描任务详情
|
|
56
66
|
*/
|
|
@@ -1292,6 +1302,21 @@ export interface DescribeCVMAssetsResponse {
|
|
|
1292
1302
|
RequestId?: string
|
|
1293
1303
|
}
|
|
1294
1304
|
|
|
1305
|
+
/**
|
|
1306
|
+
* CreateDomainAndIp返回参数结构体
|
|
1307
|
+
*/
|
|
1308
|
+
export interface CreateDomainAndIpResponse {
|
|
1309
|
+
/**
|
|
1310
|
+
* 返回创建成功的数量
|
|
1311
|
+
*/
|
|
1312
|
+
Data?: number
|
|
1313
|
+
|
|
1314
|
+
/**
|
|
1315
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1316
|
+
*/
|
|
1317
|
+
RequestId?: string
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1295
1320
|
/**
|
|
1296
1321
|
* DescribeDbAssets返回参数结构体
|
|
1297
1322
|
*/
|
|
@@ -55,6 +55,7 @@ import {
|
|
|
55
55
|
DescribeFlowResponse,
|
|
56
56
|
UpgradeHourDCDBInstanceRequest,
|
|
57
57
|
CloneAccountResponse,
|
|
58
|
+
IsolateDCDBInstanceRequest,
|
|
58
59
|
IsolateDedicatedDBInstanceRequest,
|
|
59
60
|
ModifyAccountDescriptionResponse,
|
|
60
61
|
DestroyDCDBInstanceRequest,
|
|
@@ -174,6 +175,7 @@ import {
|
|
|
174
175
|
AddShardConfig,
|
|
175
176
|
ModifyDBSyncModeRequest,
|
|
176
177
|
ModifyAccountConfigResponse,
|
|
178
|
+
IsolateDCDBInstanceResponse,
|
|
177
179
|
DescribeProjectsResponse,
|
|
178
180
|
CreateTmpDCDBInstanceResponse,
|
|
179
181
|
CreateAccountResponse,
|
|
@@ -803,6 +805,16 @@ export class Client extends AbstractClient {
|
|
|
803
805
|
return this.request("DestroyHourDCDBInstance", req, cb)
|
|
804
806
|
}
|
|
805
807
|
|
|
808
|
+
/**
|
|
809
|
+
* 本接口(IsolateDCDBInstance)用于隔离分布式数据库TDSQL实例(包年包月),隔离后不能通过IP和端口访问数据库。隔离的实例可在回收站中进行开机。若为欠费隔离,请尽快进行充值。
|
|
810
|
+
*/
|
|
811
|
+
async IsolateDCDBInstance(
|
|
812
|
+
req: IsolateDCDBInstanceRequest,
|
|
813
|
+
cb?: (error: string, rep: IsolateDCDBInstanceResponse) => void
|
|
814
|
+
): Promise<IsolateDCDBInstanceResponse> {
|
|
815
|
+
return this.request("IsolateDCDBInstance", req, cb)
|
|
816
|
+
}
|
|
817
|
+
|
|
806
818
|
/**
|
|
807
819
|
* 本接口(ModifyInstanceVport)用于修改实例VPORT
|
|
808
820
|
*/
|
|
@@ -863,6 +863,16 @@ export interface CloneAccountResponse {
|
|
|
863
863
|
RequestId?: string
|
|
864
864
|
}
|
|
865
865
|
|
|
866
|
+
/**
|
|
867
|
+
* IsolateDCDBInstance请求参数结构体
|
|
868
|
+
*/
|
|
869
|
+
export interface IsolateDCDBInstanceRequest {
|
|
870
|
+
/**
|
|
871
|
+
* 实例 ID,格式如:tdsqlshard-avw0207d,与云数据库控制台页面中显示的实例 ID 相同,可使用 查询实例列表 接口获取,其值为输出参数中字段 InstanceId 的值。
|
|
872
|
+
*/
|
|
873
|
+
InstanceIds: Array<string>
|
|
874
|
+
}
|
|
875
|
+
|
|
866
876
|
/**
|
|
867
877
|
* IsolateDedicatedDBInstance请求参数结构体
|
|
868
878
|
*/
|
|
@@ -4439,6 +4449,26 @@ export interface ModifyAccountConfigResponse {
|
|
|
4439
4449
|
RequestId?: string
|
|
4440
4450
|
}
|
|
4441
4451
|
|
|
4452
|
+
/**
|
|
4453
|
+
* IsolateDCDBInstance返回参数结构体
|
|
4454
|
+
*/
|
|
4455
|
+
export interface IsolateDCDBInstanceResponse {
|
|
4456
|
+
/**
|
|
4457
|
+
* 隔离成功实例ID列表。
|
|
4458
|
+
*/
|
|
4459
|
+
SuccessInstanceIds?: Array<string>
|
|
4460
|
+
|
|
4461
|
+
/**
|
|
4462
|
+
* 隔离失败实例ID列表。
|
|
4463
|
+
*/
|
|
4464
|
+
FailedInstanceIds?: Array<string>
|
|
4465
|
+
|
|
4466
|
+
/**
|
|
4467
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4468
|
+
*/
|
|
4469
|
+
RequestId?: string
|
|
4470
|
+
}
|
|
4471
|
+
|
|
4442
4472
|
/**
|
|
4443
4473
|
* DescribeProjects返回参数结构体
|
|
4444
4474
|
*/
|
|
@@ -44,6 +44,7 @@ import {
|
|
|
44
44
|
DescribeDomainResponse,
|
|
45
45
|
DescribeSnapshotListRequest,
|
|
46
46
|
DescribePackageDetailResponse,
|
|
47
|
+
DescribeDomainFilterListResponse,
|
|
47
48
|
DescribeRecordLineListResponse,
|
|
48
49
|
SnapshotPageInfo,
|
|
49
50
|
DomainInfo,
|
|
@@ -107,6 +108,7 @@ import {
|
|
|
107
108
|
ModifyRecordBatchRequest,
|
|
108
109
|
WhoisContactAddress,
|
|
109
110
|
SnapshotConfig,
|
|
111
|
+
ModifyRecordFieldsResponse,
|
|
110
112
|
DeleteRecordResponse,
|
|
111
113
|
CreateRecordBatchRecord,
|
|
112
114
|
CreateDomainResponse,
|
|
@@ -159,7 +161,7 @@ import {
|
|
|
159
161
|
SnapshotInfo,
|
|
160
162
|
ModifyDynamicDNSRequest,
|
|
161
163
|
DescribeRecordGroupListRequest,
|
|
162
|
-
|
|
164
|
+
DescribeDomainFilterListRequest,
|
|
163
165
|
PurviewInfo,
|
|
164
166
|
ModifyRecordRemarkRequest,
|
|
165
167
|
ModifySnapshotConfigResponse,
|
|
@@ -271,6 +273,16 @@ export class Client extends AbstractClient {
|
|
|
271
273
|
return this.request("DeleteRecordGroup", req, cb)
|
|
272
274
|
}
|
|
273
275
|
|
|
276
|
+
/**
|
|
277
|
+
* 重新回滚指定解析记录快照
|
|
278
|
+
*/
|
|
279
|
+
async RollbackRecordSnapshot(
|
|
280
|
+
req: RollbackRecordSnapshotRequest,
|
|
281
|
+
cb?: (error: string, rep: RollbackRecordSnapshotResponse) => void
|
|
282
|
+
): Promise<RollbackRecordSnapshotResponse> {
|
|
283
|
+
return this.request("RollbackRecordSnapshot", req, cb)
|
|
284
|
+
}
|
|
285
|
+
|
|
274
286
|
/**
|
|
275
287
|
* 修改域名状态
|
|
276
288
|
*/
|
|
@@ -742,13 +754,13 @@ export class Client extends AbstractClient {
|
|
|
742
754
|
}
|
|
743
755
|
|
|
744
756
|
/**
|
|
745
|
-
*
|
|
757
|
+
* 获取域名筛选列表
|
|
746
758
|
*/
|
|
747
|
-
async
|
|
748
|
-
req:
|
|
749
|
-
cb?: (error: string, rep:
|
|
750
|
-
): Promise<
|
|
751
|
-
return this.request("
|
|
759
|
+
async DescribeDomainFilterList(
|
|
760
|
+
req: DescribeDomainFilterListRequest,
|
|
761
|
+
cb?: (error: string, rep: DescribeDomainFilterListResponse) => void
|
|
762
|
+
): Promise<DescribeDomainFilterListResponse> {
|
|
763
|
+
return this.request("DescribeDomainFilterList", req, cb)
|
|
752
764
|
}
|
|
753
765
|
|
|
754
766
|
/**
|
|
@@ -662,6 +662,26 @@ export interface DescribePackageDetailResponse {
|
|
|
662
662
|
RequestId?: string
|
|
663
663
|
}
|
|
664
664
|
|
|
665
|
+
/**
|
|
666
|
+
* DescribeDomainFilterList返回参数结构体
|
|
667
|
+
*/
|
|
668
|
+
export interface DescribeDomainFilterListResponse {
|
|
669
|
+
/**
|
|
670
|
+
* 列表页统计信息
|
|
671
|
+
*/
|
|
672
|
+
DomainCountInfo?: DomainCountInfo
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* 域名列表
|
|
676
|
+
*/
|
|
677
|
+
DomainList?: Array<DomainListItem>
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
681
|
+
*/
|
|
682
|
+
RequestId?: string
|
|
683
|
+
}
|
|
684
|
+
|
|
665
685
|
/**
|
|
666
686
|
* DescribeRecordLineList返回参数结构体
|
|
667
687
|
*/
|
|
@@ -2391,6 +2411,21 @@ export interface SnapshotConfig {
|
|
|
2391
2411
|
UpdatedOn: string
|
|
2392
2412
|
}
|
|
2393
2413
|
|
|
2414
|
+
/**
|
|
2415
|
+
* ModifyRecordFields返回参数结构体
|
|
2416
|
+
*/
|
|
2417
|
+
export interface ModifyRecordFieldsResponse {
|
|
2418
|
+
/**
|
|
2419
|
+
* 记录ID
|
|
2420
|
+
*/
|
|
2421
|
+
RecordId?: number
|
|
2422
|
+
|
|
2423
|
+
/**
|
|
2424
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2425
|
+
*/
|
|
2426
|
+
RequestId?: string
|
|
2427
|
+
}
|
|
2428
|
+
|
|
2394
2429
|
/**
|
|
2395
2430
|
* DeleteRecord返回参数结构体
|
|
2396
2431
|
*/
|
|
@@ -3720,18 +3755,96 @@ export interface DescribeRecordGroupListRequest {
|
|
|
3720
3755
|
}
|
|
3721
3756
|
|
|
3722
3757
|
/**
|
|
3723
|
-
*
|
|
3758
|
+
* DescribeDomainFilterList请求参数结构体
|
|
3724
3759
|
*/
|
|
3725
|
-
export interface
|
|
3760
|
+
export interface DescribeDomainFilterListRequest {
|
|
3726
3761
|
/**
|
|
3727
|
-
|
|
3762
|
+
* 根据域名分组类型获取域名。可取值为 ALL,MINE,SHARE,RECENT。
|
|
3763
|
+
ALL:全部
|
|
3764
|
+
MINE:我的域名
|
|
3765
|
+
SHARE:共享给我的域名
|
|
3766
|
+
RECENT:最近操作过的域名
|
|
3767
|
+
*/
|
|
3768
|
+
Type: string
|
|
3769
|
+
|
|
3770
|
+
/**
|
|
3771
|
+
* 记录开始的偏移, 第一条记录为 0, 依次类推。默认值为 0。
|
|
3728
3772
|
*/
|
|
3729
|
-
|
|
3773
|
+
Offset?: number
|
|
3730
3774
|
|
|
3731
3775
|
/**
|
|
3732
|
-
*
|
|
3776
|
+
* 要获取的域名数量, 比如获取 20 个, 则为 20。默认值为 5000。如果账户中的域名数量超过了 5000, 将会强制分页并且只返回前 5000 条, 这时需要通过 Offset 和 Limit 参数去获取其它域名。
|
|
3733
3777
|
*/
|
|
3734
|
-
|
|
3778
|
+
Limit?: number
|
|
3779
|
+
|
|
3780
|
+
/**
|
|
3781
|
+
* 根据域名分组 id 获取域名,可通过 DescribeDomain 或 DescribeDomainList 接口 GroupId 字段获取。
|
|
3782
|
+
*/
|
|
3783
|
+
GroupId?: Array<number>
|
|
3784
|
+
|
|
3785
|
+
/**
|
|
3786
|
+
* 根据关键字获取域名。
|
|
3787
|
+
*/
|
|
3788
|
+
Keyword?: string
|
|
3789
|
+
|
|
3790
|
+
/**
|
|
3791
|
+
* 排序字段。可取值为 NAME,STATUS,RECORDS,GRADE,UPDATED_ON。
|
|
3792
|
+
NAME:域名名称
|
|
3793
|
+
STATUS:域名状态
|
|
3794
|
+
RECORDS:记录数量
|
|
3795
|
+
GRADE:套餐等级
|
|
3796
|
+
UPDATED_ON:更新时间
|
|
3797
|
+
*/
|
|
3798
|
+
SortField?: string
|
|
3799
|
+
|
|
3800
|
+
/**
|
|
3801
|
+
* 排序类型,升序:ASC,降序:DESC。
|
|
3802
|
+
*/
|
|
3803
|
+
SortType?: string
|
|
3804
|
+
|
|
3805
|
+
/**
|
|
3806
|
+
* 根据域名状态获取域名。可取值为 ENABLE,LOCK,PAUSE,SPAM。
|
|
3807
|
+
ENABLE:正常
|
|
3808
|
+
LOCK:锁定
|
|
3809
|
+
PAUSE:暂停
|
|
3810
|
+
SPAM:封禁
|
|
3811
|
+
*/
|
|
3812
|
+
Status?: Array<string>
|
|
3813
|
+
|
|
3814
|
+
/**
|
|
3815
|
+
* 根据套餐获取域名,可通过 DescribeDomain 或 DescribeDomainList 接口 Grade 字段获取。
|
|
3816
|
+
*/
|
|
3817
|
+
Package?: Array<string>
|
|
3818
|
+
|
|
3819
|
+
/**
|
|
3820
|
+
* 根据备注信息获取域名。
|
|
3821
|
+
*/
|
|
3822
|
+
Remark?: string
|
|
3823
|
+
|
|
3824
|
+
/**
|
|
3825
|
+
* 要获取域名的更新时间起始时间点,如 '2021-05-01 03:00:00'。
|
|
3826
|
+
*/
|
|
3827
|
+
UpdatedAtBegin?: string
|
|
3828
|
+
|
|
3829
|
+
/**
|
|
3830
|
+
* 要获取域名的更新时间终止时间点,如 '2021-05-10 20:00:00'。
|
|
3831
|
+
*/
|
|
3832
|
+
UpdatedAtEnd?: string
|
|
3833
|
+
|
|
3834
|
+
/**
|
|
3835
|
+
* 要获取域名的记录数查询区间起点。
|
|
3836
|
+
*/
|
|
3837
|
+
RecordCountBegin?: number
|
|
3838
|
+
|
|
3839
|
+
/**
|
|
3840
|
+
* 要获取域名的记录数查询区间终点。
|
|
3841
|
+
*/
|
|
3842
|
+
RecordCountEnd?: number
|
|
3843
|
+
|
|
3844
|
+
/**
|
|
3845
|
+
* 项目ID
|
|
3846
|
+
*/
|
|
3847
|
+
ProjectId?: number
|
|
3735
3848
|
}
|
|
3736
3849
|
|
|
3737
3850
|
/**
|
|
@@ -18,11 +18,13 @@
|
|
|
18
18
|
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
20
|
import {
|
|
21
|
+
ModifyIntegrationDepartmentResponse,
|
|
21
22
|
CancelFlowResponse,
|
|
22
23
|
DescribeFlowEvidenceReportRequest,
|
|
23
24
|
UpdateIntegrationEmployeesResponse,
|
|
24
25
|
Department,
|
|
25
26
|
CreatePreparedPersonalEsignRequest,
|
|
27
|
+
DescribeIntegrationDepartmentsResponse,
|
|
26
28
|
FileInfo,
|
|
27
29
|
CreateFlowApproversResponse,
|
|
28
30
|
DescribeIntegrationMainOrganizationUserRequest,
|
|
@@ -33,13 +35,13 @@ import {
|
|
|
33
35
|
DisableUserAutoSignResponse,
|
|
34
36
|
BindEmployeeUserIdWithClientOpenIdResponse,
|
|
35
37
|
CreateIntegrationEmployeesRequest,
|
|
36
|
-
|
|
38
|
+
DescribeIntegrationRolesRequest,
|
|
37
39
|
CreateFlowEvidenceReportRequest,
|
|
38
40
|
StartFlowResponse,
|
|
39
41
|
StaffRole,
|
|
40
42
|
FlowApproverUrlInfo,
|
|
41
43
|
AuthorizedUser,
|
|
42
|
-
|
|
44
|
+
CreateConvertTaskApiRequest,
|
|
43
45
|
CreateFlowRemindsResponse,
|
|
44
46
|
DescribeOrganizationGroupOrganizationsRequest,
|
|
45
47
|
Agent,
|
|
@@ -53,11 +55,14 @@ import {
|
|
|
53
55
|
CreateIntegrationUserRolesResponse,
|
|
54
56
|
CreateFlowRequest,
|
|
55
57
|
CreateSchemeUrlRequest,
|
|
58
|
+
DeleteIntegrationDepartmentResponse,
|
|
56
59
|
AutoSignConfig,
|
|
57
60
|
DescribeThirdPartyAuthCodeRequest,
|
|
58
61
|
UnbindEmployeeUserIdWithClientOpenIdResponse,
|
|
59
62
|
CreateReleaseFlowResponse,
|
|
60
63
|
BindEmployeeUserIdWithClientOpenIdRequest,
|
|
64
|
+
DescribeIntegrationDepartmentsRequest,
|
|
65
|
+
CreateIntegrationDepartmentResponse,
|
|
61
66
|
DeleteSealPoliciesResponse,
|
|
62
67
|
OrganizationInfo,
|
|
63
68
|
DescribeUserAutoSignStatusResponse,
|
|
@@ -86,6 +91,7 @@ import {
|
|
|
86
91
|
Staff,
|
|
87
92
|
CreateFlowEvidenceReportResponse,
|
|
88
93
|
DescribeFileUrlsResponse,
|
|
94
|
+
CreateIntegrationDepartmentRequest,
|
|
89
95
|
GroupOrganization,
|
|
90
96
|
DeleteIntegrationRoleUsersResponse,
|
|
91
97
|
CreateDocumentRequest,
|
|
@@ -111,6 +117,7 @@ import {
|
|
|
111
117
|
FailedCreateRoleData,
|
|
112
118
|
ApproverInfo,
|
|
113
119
|
CreateFlowSignReviewResponse,
|
|
120
|
+
ModifyIntegrationDepartmentRequest,
|
|
114
121
|
Filter,
|
|
115
122
|
CreateStaffResult,
|
|
116
123
|
CreateUserAutoSignEnableUrlRequest,
|
|
@@ -124,6 +131,7 @@ import {
|
|
|
124
131
|
CreatePrepareFlowResponse,
|
|
125
132
|
GetTaskResultApiResponse,
|
|
126
133
|
CancelMultiFlowSignQRCodeRequest,
|
|
134
|
+
DeleteIntegrationDepartmentRequest,
|
|
127
135
|
ModifyApplicationCallbackInfoRequest,
|
|
128
136
|
IntegrationMainOrganizationUser,
|
|
129
137
|
StartFlowRequest,
|
|
@@ -135,6 +143,7 @@ import {
|
|
|
135
143
|
CancelFlowRequest,
|
|
136
144
|
UploadFile,
|
|
137
145
|
Component,
|
|
146
|
+
IntegrationDepartment,
|
|
138
147
|
DescribeIntegrationRolesResponse,
|
|
139
148
|
CreateFlowRemindsRequest,
|
|
140
149
|
UpdateIntegrationEmployeesRequest,
|
|
@@ -172,13 +181,14 @@ export class Client extends AbstractClient {
|
|
|
172
181
|
}
|
|
173
182
|
|
|
174
183
|
/**
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
184
|
+
* 查询合同详情
|
|
185
|
+
适用场景:可用于主动查询某个合同详情信息。
|
|
186
|
+
*/
|
|
187
|
+
async DescribeFlowInfo(
|
|
188
|
+
req: DescribeFlowInfoRequest,
|
|
189
|
+
cb?: (error: string, rep: DescribeFlowInfoResponse) => void
|
|
190
|
+
): Promise<DescribeFlowInfoResponse> {
|
|
191
|
+
return this.request("DescribeFlowInfo", req, cb)
|
|
182
192
|
}
|
|
183
193
|
|
|
184
194
|
/**
|
|
@@ -260,14 +270,23 @@ callbackinfo包含: 回调地址和签名key
|
|
|
260
270
|
}
|
|
261
271
|
|
|
262
272
|
/**
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
273
|
+
* 对企业员工进行印章授权
|
|
274
|
+
*/
|
|
275
|
+
async CreateSealPolicy(
|
|
276
|
+
req: CreateSealPolicyRequest,
|
|
277
|
+
cb?: (error: string, rep: CreateSealPolicyResponse) => void
|
|
278
|
+
): Promise<CreateSealPolicyResponse> {
|
|
279
|
+
return this.request("CreateSealPolicy", req, cb)
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* 此API接口用户查询加入集团的成员企业
|
|
284
|
+
*/
|
|
285
|
+
async DescribeOrganizationGroupOrganizations(
|
|
286
|
+
req: DescribeOrganizationGroupOrganizationsRequest,
|
|
287
|
+
cb?: (error: string, rep: DescribeOrganizationGroupOrganizationsResponse) => void
|
|
288
|
+
): Promise<DescribeOrganizationGroupOrganizationsResponse> {
|
|
289
|
+
return this.request("DescribeOrganizationGroupOrganizations", req, cb)
|
|
271
290
|
}
|
|
272
291
|
|
|
273
292
|
/**
|
|
@@ -302,6 +321,16 @@ callbackinfo包含: 回调地址和签名key
|
|
|
302
321
|
return this.request("CreateBatchCancelFlowUrl", req, cb)
|
|
303
322
|
}
|
|
304
323
|
|
|
324
|
+
/**
|
|
325
|
+
* 通过此接口,删除企业的部门。
|
|
326
|
+
*/
|
|
327
|
+
async DeleteIntegrationDepartment(
|
|
328
|
+
req: DeleteIntegrationDepartmentRequest,
|
|
329
|
+
cb?: (error: string, rep: DeleteIntegrationDepartmentResponse) => void
|
|
330
|
+
): Promise<DeleteIntegrationDepartmentResponse> {
|
|
331
|
+
return this.request("DeleteIntegrationDepartment", req, cb)
|
|
332
|
+
}
|
|
333
|
+
|
|
305
334
|
/**
|
|
306
335
|
* 将电子签系统员工userId与客户系统员工openId进行绑定
|
|
307
336
|
*/
|
|
@@ -394,24 +423,32 @@ callbackinfo包含: 回调地址和签名key
|
|
|
394
423
|
}
|
|
395
424
|
|
|
396
425
|
/**
|
|
397
|
-
*
|
|
398
|
-
|
|
426
|
+
* 此接口(CreateMultiFlowSignQRCode)用于创建一码多扫流程签署二维码。
|
|
427
|
+
适用场景:无需填写签署人信息,可通过模板id生成签署二维码,签署人可通过扫描二维码补充签署信息进行实名签署。常用于提前不知道签署人的身份信息场景,例如:劳务工招工、大批量员工入职等场景。
|
|
428
|
+
|
|
429
|
+
**本接口适用于发起方没有填写控件的 B2C或者单C模板**
|
|
430
|
+
|
|
431
|
+
**若是B2C模板,还要满足以下任意一个条件**
|
|
432
|
+
- 模板中配置的签署顺序是无序
|
|
433
|
+
- B端企业的签署方式是静默签署
|
|
434
|
+
- B端企业是非首位签署
|
|
399
435
|
*/
|
|
400
|
-
async
|
|
401
|
-
req:
|
|
402
|
-
cb?: (error: string, rep:
|
|
403
|
-
): Promise<
|
|
404
|
-
return this.request("
|
|
436
|
+
async CreateMultiFlowSignQRCode(
|
|
437
|
+
req: CreateMultiFlowSignQRCodeRequest,
|
|
438
|
+
cb?: (error: string, rep: CreateMultiFlowSignQRCodeResponse) => void
|
|
439
|
+
): Promise<CreateMultiFlowSignQRCodeResponse> {
|
|
440
|
+
return this.request("CreateMultiFlowSignQRCode", req, cb)
|
|
405
441
|
}
|
|
406
442
|
|
|
407
443
|
/**
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
444
|
+
* 创建出证报告,返回报告 ID。需要配合出证套餐才能调用。
|
|
445
|
+
出证需要一定时间,建议调用创建出证24小时之后再通过DescribeFlowEvidenceReport进行查询。
|
|
446
|
+
*/
|
|
447
|
+
async CreateFlowEvidenceReport(
|
|
448
|
+
req: CreateFlowEvidenceReportRequest,
|
|
449
|
+
cb?: (error: string, rep: CreateFlowEvidenceReportResponse) => void
|
|
450
|
+
): Promise<CreateFlowEvidenceReportResponse> {
|
|
451
|
+
return this.request("CreateFlowEvidenceReport", req, cb)
|
|
415
452
|
}
|
|
416
453
|
|
|
417
454
|
/**
|
|
@@ -491,21 +528,13 @@ callbackinfo包含: 回调地址和签名key
|
|
|
491
528
|
}
|
|
492
529
|
|
|
493
530
|
/**
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
- B端企业的签署方式是静默签署
|
|
502
|
-
- B端企业是非首位签署
|
|
503
|
-
*/
|
|
504
|
-
async CreateMultiFlowSignQRCode(
|
|
505
|
-
req: CreateMultiFlowSignQRCodeRequest,
|
|
506
|
-
cb?: (error: string, rep: CreateMultiFlowSignQRCodeResponse) => void
|
|
507
|
-
): Promise<CreateMultiFlowSignQRCodeResponse> {
|
|
508
|
-
return this.request("CreateMultiFlowSignQRCode", req, cb)
|
|
531
|
+
* 通过此接口,创建企业的部门,支持绑定客户系统部门ID。
|
|
532
|
+
*/
|
|
533
|
+
async CreateIntegrationDepartment(
|
|
534
|
+
req: CreateIntegrationDepartmentRequest,
|
|
535
|
+
cb?: (error: string, rep: CreateIntegrationDepartmentResponse) => void
|
|
536
|
+
): Promise<CreateIntegrationDepartmentResponse> {
|
|
537
|
+
return this.request("CreateIntegrationDepartment", req, cb)
|
|
509
538
|
}
|
|
510
539
|
|
|
511
540
|
/**
|
|
@@ -676,6 +705,26 @@ httpProfile.setEndpoint("file.test.ess.tencent.cn");<br/>
|
|
|
676
705
|
return this.request("CreateSchemeUrl", req, cb)
|
|
677
706
|
}
|
|
678
707
|
|
|
708
|
+
/**
|
|
709
|
+
* 通过此接口,查询企业的部门,支持查询单个部门节点或单个部门节点及一级子节点部门列表。
|
|
710
|
+
*/
|
|
711
|
+
async DescribeIntegrationDepartments(
|
|
712
|
+
req: DescribeIntegrationDepartmentsRequest,
|
|
713
|
+
cb?: (error: string, rep: DescribeIntegrationDepartmentsResponse) => void
|
|
714
|
+
): Promise<DescribeIntegrationDepartmentsResponse> {
|
|
715
|
+
return this.request("DescribeIntegrationDepartments", req, cb)
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
/**
|
|
719
|
+
* 通过此接口,更新企业的部门信息,支持更新部门名、客户系统部门ID、部门序列号。
|
|
720
|
+
*/
|
|
721
|
+
async ModifyIntegrationDepartment(
|
|
722
|
+
req: ModifyIntegrationDepartmentRequest,
|
|
723
|
+
cb?: (error: string, rep: ModifyIntegrationDepartmentResponse) => void
|
|
724
|
+
): Promise<ModifyIntegrationDepartmentResponse> {
|
|
725
|
+
return this.request("ModifyIntegrationDepartment", req, cb)
|
|
726
|
+
}
|
|
727
|
+
|
|
679
728
|
/**
|
|
680
729
|
* 创建员工,如需在此接口提醒员工实名,入参Employees的OpenId不传
|
|
681
730
|
*/
|