tencentcloud-sdk-nodejs 4.0.616 → 4.0.618
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 +353 -0
- package/SERVICE_CHANGELOG.md +398 -196
- package/package.json +1 -1
- package/products.md +21 -21
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_models.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 +1 -1
- package/src/services/cdn/v20180606/cdn_models.ts +9 -0
- package/src/services/cdwch/v20200915/cdwch_client.ts +21 -8
- package/src/services/cdwch/v20200915/cdwch_models.ts +131 -61
- package/src/services/ckafka/v20190819/ckafka_client.ts +3 -2
- package/src/services/ckafka/v20190819/ckafka_models.ts +55 -27
- package/src/services/cls/v20201016/cls_client.ts +1 -1
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +10 -4
- package/src/services/dbbrain/v20191016/dbbrain_models.ts +5 -0
- package/src/services/dcdb/v20180411/dcdb_client.ts +1 -1
- package/src/services/dnspod/v20210323/dnspod_models.ts +42 -0
- package/src/services/dts/v20180330/dts_models.ts +1 -1
- package/src/services/ess/v20201111/ess_client.ts +110 -49
- package/src/services/ess/v20201111/ess_models.ts +292 -61
- package/src/services/essbasic/v20210526/essbasic_client.ts +2 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +26 -13
- package/src/services/mariadb/v20170312/mariadb_client.ts +1 -1
- package/src/services/monitor/v20180724/monitor_models.ts +10 -0
- package/src/services/mps/v20190612/mps_client.ts +2 -0
- package/src/services/mps/v20190612/mps_models.ts +72 -5
- package/src/services/ocr/v20181119/ocr_models.ts +5 -4
- package/src/services/organization/v20210331/organization_client.ts +39 -3
- package/src/services/organization/v20210331/organization_models.ts +163 -14
- package/src/services/postgres/v20170312/postgres_models.ts +14 -6
- package/src/services/ses/v20201002/ses_models.ts +2 -2
- package/src/services/tke/v20180525/tke_models.ts +5 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +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 +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +8 -0
- package/tencentcloud/services/cdwch/v20200915/cdwch_client.d.ts +7 -3
- package/tencentcloud/services/cdwch/v20200915/cdwch_client.js +9 -3
- package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +111 -52
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +1 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +47 -23
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +1 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +1 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +9 -4
- package/tencentcloud/services/dbbrain/v20191016/dbbrain_models.d.ts +4 -0
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +1 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +1 -1
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +35 -0
- package/tencentcloud/services/dts/v20180330/dts_models.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +42 -22
- package/tencentcloud/services/ess/v20201111/ess_client.js +56 -26
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +252 -55
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +2 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +19 -8
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +1 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +1 -1
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +8 -0
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +62 -5
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +4 -4
- package/tencentcloud/services/organization/v20210331/organization_client.d.ts +13 -1
- package/tencentcloud/services/organization/v20210331/organization_client.js +18 -0
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +141 -14
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +12 -5
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +2 -2
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +4 -0
- package/test/cdwch.v20200915.test.js +12 -2
- package/test/ess.v20201111.test.js +60 -10
- package/test/organization.v20210331.test.js +30 -0
|
@@ -135,6 +135,7 @@ import {
|
|
|
135
135
|
DescribeTopicProduceConnectionRequest,
|
|
136
136
|
CreateAclRequest,
|
|
137
137
|
DescribeTopicSyncReplicaResponse,
|
|
138
|
+
DescribeUserRequest,
|
|
138
139
|
CreateConnectResourceRequest,
|
|
139
140
|
MariaDBParam,
|
|
140
141
|
Route,
|
|
@@ -181,7 +182,7 @@ import {
|
|
|
181
182
|
DescribeGroupInfoResponse,
|
|
182
183
|
AppIdResponse,
|
|
183
184
|
DescribeTopicRequest,
|
|
184
|
-
|
|
185
|
+
DealInstanceDTO,
|
|
185
186
|
CreatePartitionRequest,
|
|
186
187
|
Group,
|
|
187
188
|
GroupInfoResponse,
|
|
@@ -319,7 +320,7 @@ import {
|
|
|
319
320
|
CreateDatahubTaskResponse,
|
|
320
321
|
ClickHouseConnectParam,
|
|
321
322
|
DescribeTaskStatusRequest,
|
|
322
|
-
|
|
323
|
+
CreateTokenRequest,
|
|
323
324
|
DescribeDatahubTopicsResp,
|
|
324
325
|
DescribeTopicSyncReplicaRequest,
|
|
325
326
|
DescribeConnectResource,
|
|
@@ -1567,7 +1567,7 @@ export interface FilterMapParam {
|
|
|
1567
1567
|
}
|
|
1568
1568
|
|
|
1569
1569
|
/**
|
|
1570
|
-
*
|
|
1570
|
+
* 预付费实例相关接口返回结构
|
|
1571
1571
|
*/
|
|
1572
1572
|
export interface CreateInstancePreResp {
|
|
1573
1573
|
/**
|
|
@@ -1587,10 +1587,10 @@ export interface CreateInstancePreResp {
|
|
|
1587
1587
|
Data: CreateInstancePreData
|
|
1588
1588
|
|
|
1589
1589
|
/**
|
|
1590
|
-
*
|
|
1590
|
+
* 删除时间。目前该参数字段已废弃,将会在未来被删除
|
|
1591
1591
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1592
1592
|
*/
|
|
1593
|
-
DeleteRouteTimestamp
|
|
1593
|
+
DeleteRouteTimestamp?: string
|
|
1594
1594
|
}
|
|
1595
1595
|
|
|
1596
1596
|
/**
|
|
@@ -1959,10 +1959,16 @@ export interface CreateInstancePreData {
|
|
|
1959
1959
|
DealNames: Array<string>
|
|
1960
1960
|
|
|
1961
1961
|
/**
|
|
1962
|
-
* 实例Id
|
|
1962
|
+
* 实例Id,当购买多个实例时,默认返回购买的第一个实例 id
|
|
1963
1963
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1964
1964
|
*/
|
|
1965
1965
|
InstanceId: string
|
|
1966
|
+
|
|
1967
|
+
/**
|
|
1968
|
+
* 订单和购买实例对应映射列表
|
|
1969
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1970
|
+
*/
|
|
1971
|
+
DealNameInstanceIdMapping?: Array<DealInstanceDTO>
|
|
1966
1972
|
}
|
|
1967
1973
|
|
|
1968
1974
|
/**
|
|
@@ -3594,6 +3600,31 @@ export interface DescribeTopicSyncReplicaResponse {
|
|
|
3594
3600
|
RequestId?: string
|
|
3595
3601
|
}
|
|
3596
3602
|
|
|
3603
|
+
/**
|
|
3604
|
+
* DescribeUser请求参数结构体
|
|
3605
|
+
*/
|
|
3606
|
+
export interface DescribeUserRequest {
|
|
3607
|
+
/**
|
|
3608
|
+
* 实例Id
|
|
3609
|
+
*/
|
|
3610
|
+
InstanceId: string
|
|
3611
|
+
|
|
3612
|
+
/**
|
|
3613
|
+
* 按照名称过滤
|
|
3614
|
+
*/
|
|
3615
|
+
SearchWord?: string
|
|
3616
|
+
|
|
3617
|
+
/**
|
|
3618
|
+
* 偏移
|
|
3619
|
+
*/
|
|
3620
|
+
Offset?: number
|
|
3621
|
+
|
|
3622
|
+
/**
|
|
3623
|
+
* 本次返回个数
|
|
3624
|
+
*/
|
|
3625
|
+
Limit?: number
|
|
3626
|
+
}
|
|
3627
|
+
|
|
3597
3628
|
/**
|
|
3598
3629
|
* CreateConnectResource请求参数结构体
|
|
3599
3630
|
*/
|
|
@@ -4857,18 +4888,20 @@ export interface DescribeTopicRequest {
|
|
|
4857
4888
|
}
|
|
4858
4889
|
|
|
4859
4890
|
/**
|
|
4860
|
-
*
|
|
4891
|
+
* 预付费/后付费接口中,订单和 CKafka 实例映射数据结构
|
|
4861
4892
|
*/
|
|
4862
|
-
export interface
|
|
4893
|
+
export interface DealInstanceDTO {
|
|
4863
4894
|
/**
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4895
|
+
* 订单流水
|
|
4896
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4897
|
+
*/
|
|
4898
|
+
DealName?: string
|
|
4867
4899
|
|
|
4868
4900
|
/**
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4901
|
+
* 订单流水对应购买的 CKafka 实例 id 列表
|
|
4902
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4903
|
+
*/
|
|
4904
|
+
InstanceIdList?: Array<string>
|
|
4872
4905
|
}
|
|
4873
4906
|
|
|
4874
4907
|
/**
|
|
@@ -8754,6 +8787,11 @@ export interface CreateInstancePreRequest {
|
|
|
8754
8787
|
* 可用区列表,购买多可用区实例时为必填项
|
|
8755
8788
|
*/
|
|
8756
8789
|
ZoneIds?: Array<number>
|
|
8790
|
+
|
|
8791
|
+
/**
|
|
8792
|
+
* 公网带宽大小,单位 Mbps。默认是没有加上免费 3Mbps 带宽。例如总共需要 3Mbps 公网带宽,此处传 0;总共需要 4Mbps 公网带宽,此处传 1。默认值为 0
|
|
8793
|
+
*/
|
|
8794
|
+
PublicNetworkMonthly?: number
|
|
8757
8795
|
}
|
|
8758
8796
|
|
|
8759
8797
|
/**
|
|
@@ -8948,28 +8986,18 @@ export interface DescribeTaskStatusRequest {
|
|
|
8948
8986
|
}
|
|
8949
8987
|
|
|
8950
8988
|
/**
|
|
8951
|
-
*
|
|
8989
|
+
* CreateToken请求参数结构体
|
|
8952
8990
|
*/
|
|
8953
|
-
export interface
|
|
8991
|
+
export interface CreateTokenRequest {
|
|
8954
8992
|
/**
|
|
8955
|
-
* 实例
|
|
8993
|
+
* 实例ID
|
|
8956
8994
|
*/
|
|
8957
8995
|
InstanceId: string
|
|
8958
8996
|
|
|
8959
8997
|
/**
|
|
8960
|
-
*
|
|
8961
|
-
*/
|
|
8962
|
-
SearchWord?: string
|
|
8963
|
-
|
|
8964
|
-
/**
|
|
8965
|
-
* 偏移
|
|
8966
|
-
*/
|
|
8967
|
-
Offset?: number
|
|
8968
|
-
|
|
8969
|
-
/**
|
|
8970
|
-
* 本次返回个数
|
|
8998
|
+
* 用户名
|
|
8971
8999
|
*/
|
|
8972
|
-
|
|
9000
|
+
User: string
|
|
8973
9001
|
}
|
|
8974
9002
|
|
|
8975
9003
|
/**
|
|
@@ -250,7 +250,7 @@ export class Client extends AbstractClient {
|
|
|
250
250
|
|
|
251
251
|
/**
|
|
252
252
|
* ## 提示
|
|
253
|
-
为了保障您日志数据的可靠性以及更高效地使用日志服务,建议您使用CLS优化后的接口[上传结构化日志](https://cloud.tencent.com/document/product/614/16873)
|
|
253
|
+
为了保障您日志数据的可靠性以及更高效地使用日志服务,建议您使用CLS优化后的接口[上传结构化日志](https://cloud.tencent.com/document/product/614/16873)。
|
|
254
254
|
|
|
255
255
|
同时我们给此接口专门优化定制了多个语言版本的SDK供您选择,SDK提供统一的异步发送、资源控制、自动重试、优雅关闭、感知上报等功能,使上报日志功能更完善,详情请参考[SDK采集](https://cloud.tencent.com/document/product/614/67157)。
|
|
256
256
|
|
|
@@ -5897,7 +5897,7 @@ export interface SwitchProxyVpcResponse {
|
|
|
5897
5897
|
*/
|
|
5898
5898
|
export interface DescribeParamTemplateDetailRequest {
|
|
5899
5899
|
/**
|
|
5900
|
-
*
|
|
5900
|
+
* 参数模板ID
|
|
5901
5901
|
*/
|
|
5902
5902
|
TemplateId: number
|
|
5903
5903
|
}
|
|
@@ -7412,6 +7412,12 @@ pausing
|
|
|
7412
7412
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7413
7413
|
*/
|
|
7414
7414
|
ResourcePackages?: Array<ResourcePackage>
|
|
7415
|
+
|
|
7416
|
+
/**
|
|
7417
|
+
* 自动续费标识,1为自动续费,0为到期不续
|
|
7418
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7419
|
+
*/
|
|
7420
|
+
RenewFlag?: number
|
|
7415
7421
|
}
|
|
7416
7422
|
|
|
7417
7423
|
/**
|
|
@@ -7983,17 +7989,17 @@ export interface DescribeAccountAllGrantPrivilegesRequest {
|
|
|
7983
7989
|
*/
|
|
7984
7990
|
export interface DescribeParamTemplateDetailResponse {
|
|
7985
7991
|
/**
|
|
7986
|
-
*
|
|
7992
|
+
* 参数模板ID
|
|
7987
7993
|
*/
|
|
7988
7994
|
TemplateId?: number
|
|
7989
7995
|
|
|
7990
7996
|
/**
|
|
7991
|
-
*
|
|
7997
|
+
* 参数模板名称
|
|
7992
7998
|
*/
|
|
7993
7999
|
TemplateName?: string
|
|
7994
8000
|
|
|
7995
8001
|
/**
|
|
7996
|
-
*
|
|
8002
|
+
* 参数模板描述
|
|
7997
8003
|
*/
|
|
7998
8004
|
TemplateDescription?: string
|
|
7999
8005
|
|
|
@@ -634,7 +634,7 @@ export class Client extends AbstractClient {
|
|
|
634
634
|
**注意**
|
|
635
635
|
- 系统保留库:"mysql",只开放["SELECT"]权限
|
|
636
636
|
- 只读账号授予读写权限会报错
|
|
637
|
-
-
|
|
637
|
+
- 不传权限参数表示保留现有权限,如需清除,请在复杂类型Privileges字段传空数组
|
|
638
638
|
*/
|
|
639
639
|
async ModifyAccountPrivileges(
|
|
640
640
|
req: ModifyAccountPrivilegesRequest,
|
|
@@ -833,6 +833,48 @@ export interface DomainInfo {
|
|
|
833
833
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
834
834
|
*/
|
|
835
835
|
OwnerNick: string
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* 是否在付费套餐宽限期
|
|
839
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
840
|
+
*/
|
|
841
|
+
IsGracePeriod?: string
|
|
842
|
+
|
|
843
|
+
/**
|
|
844
|
+
* 是否在付费套餐缓冲期
|
|
845
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
846
|
+
*/
|
|
847
|
+
VipBuffered?: string
|
|
848
|
+
|
|
849
|
+
/**
|
|
850
|
+
* VIP套餐有效期开始时间
|
|
851
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
852
|
+
*/
|
|
853
|
+
VipStartAt?: string
|
|
854
|
+
|
|
855
|
+
/**
|
|
856
|
+
* VIP套餐有效期结束时间
|
|
857
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
858
|
+
*/
|
|
859
|
+
VipEndAt?: string
|
|
860
|
+
|
|
861
|
+
/**
|
|
862
|
+
* VIP套餐自动续费标识。可能的值为:default-默认;no-不自动续费;yes-自动续费
|
|
863
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
864
|
+
*/
|
|
865
|
+
VipAutoRenew?: string
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* VIP套餐资源ID
|
|
869
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
870
|
+
*/
|
|
871
|
+
VipResourceId?: string
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* 是否是子域名。
|
|
875
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
876
|
+
*/
|
|
877
|
+
IsSubDomain?: boolean
|
|
836
878
|
}
|
|
837
879
|
|
|
838
880
|
/**
|
|
@@ -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,
|
|
@@ -31,15 +33,16 @@ import {
|
|
|
31
33
|
FlowCreateApprover,
|
|
32
34
|
DescribeThirdPartyAuthCodeResponse,
|
|
33
35
|
DisableUserAutoSignResponse,
|
|
36
|
+
CancelUserAutoSignEnableUrlResponse,
|
|
34
37
|
BindEmployeeUserIdWithClientOpenIdResponse,
|
|
35
38
|
CreateIntegrationEmployeesRequest,
|
|
36
|
-
|
|
39
|
+
DescribeIntegrationRolesRequest,
|
|
37
40
|
CreateFlowEvidenceReportRequest,
|
|
38
41
|
StartFlowResponse,
|
|
39
42
|
StaffRole,
|
|
40
43
|
FlowApproverUrlInfo,
|
|
41
44
|
AuthorizedUser,
|
|
42
|
-
|
|
45
|
+
CreateConvertTaskApiRequest,
|
|
43
46
|
CreateFlowRemindsResponse,
|
|
44
47
|
DescribeOrganizationGroupOrganizationsRequest,
|
|
45
48
|
Agent,
|
|
@@ -53,11 +56,14 @@ import {
|
|
|
53
56
|
CreateIntegrationUserRolesResponse,
|
|
54
57
|
CreateFlowRequest,
|
|
55
58
|
CreateSchemeUrlRequest,
|
|
59
|
+
DeleteIntegrationDepartmentResponse,
|
|
56
60
|
AutoSignConfig,
|
|
57
61
|
DescribeThirdPartyAuthCodeRequest,
|
|
58
62
|
UnbindEmployeeUserIdWithClientOpenIdResponse,
|
|
59
63
|
CreateReleaseFlowResponse,
|
|
60
64
|
BindEmployeeUserIdWithClientOpenIdRequest,
|
|
65
|
+
DescribeIntegrationDepartmentsRequest,
|
|
66
|
+
CreateIntegrationDepartmentResponse,
|
|
61
67
|
DeleteSealPoliciesResponse,
|
|
62
68
|
OrganizationInfo,
|
|
63
69
|
DescribeUserAutoSignStatusResponse,
|
|
@@ -86,6 +92,7 @@ import {
|
|
|
86
92
|
Staff,
|
|
87
93
|
CreateFlowEvidenceReportResponse,
|
|
88
94
|
DescribeFileUrlsResponse,
|
|
95
|
+
CreateIntegrationDepartmentRequest,
|
|
89
96
|
GroupOrganization,
|
|
90
97
|
DeleteIntegrationRoleUsersResponse,
|
|
91
98
|
CreateDocumentRequest,
|
|
@@ -111,11 +118,13 @@ import {
|
|
|
111
118
|
FailedCreateRoleData,
|
|
112
119
|
ApproverInfo,
|
|
113
120
|
CreateFlowSignReviewResponse,
|
|
121
|
+
ModifyIntegrationDepartmentRequest,
|
|
114
122
|
Filter,
|
|
115
123
|
CreateStaffResult,
|
|
116
124
|
CreateUserAutoSignEnableUrlRequest,
|
|
117
125
|
DescribeIntegrationMainOrganizationUserResponse,
|
|
118
126
|
RemindFlowRecords,
|
|
127
|
+
CancelUserAutoSignEnableUrlRequest,
|
|
119
128
|
FailedCreateStaffData,
|
|
120
129
|
ApproverRestriction,
|
|
121
130
|
DeleteSealPoliciesRequest,
|
|
@@ -124,6 +133,7 @@ import {
|
|
|
124
133
|
CreatePrepareFlowResponse,
|
|
125
134
|
GetTaskResultApiResponse,
|
|
126
135
|
CancelMultiFlowSignQRCodeRequest,
|
|
136
|
+
DeleteIntegrationDepartmentRequest,
|
|
127
137
|
ModifyApplicationCallbackInfoRequest,
|
|
128
138
|
IntegrationMainOrganizationUser,
|
|
129
139
|
StartFlowRequest,
|
|
@@ -135,6 +145,7 @@ import {
|
|
|
135
145
|
CancelFlowRequest,
|
|
136
146
|
UploadFile,
|
|
137
147
|
Component,
|
|
148
|
+
IntegrationDepartment,
|
|
138
149
|
DescribeIntegrationRolesResponse,
|
|
139
150
|
CreateFlowRemindsRequest,
|
|
140
151
|
UpdateIntegrationEmployeesRequest,
|
|
@@ -153,13 +164,13 @@ import {
|
|
|
153
164
|
CreateMultiFlowSignQRCodeRequest,
|
|
154
165
|
DescribeFlowInfoRequest,
|
|
155
166
|
DescribeFlowInfoResponse,
|
|
156
|
-
|
|
167
|
+
CancelMultiFlowSignQRCodeResponse,
|
|
157
168
|
CreateFlowResponse,
|
|
158
169
|
DescribeUserAutoSignStatusRequest,
|
|
159
170
|
ReleasedApprover,
|
|
160
171
|
FlowBrief,
|
|
161
172
|
DescribeOrganizationGroupOrganizationsResponse,
|
|
162
|
-
|
|
173
|
+
CcInfo,
|
|
163
174
|
} from "./ess_models"
|
|
164
175
|
|
|
165
176
|
/**
|
|
@@ -172,13 +183,14 @@ export class Client extends AbstractClient {
|
|
|
172
183
|
}
|
|
173
184
|
|
|
174
185
|
/**
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
186
|
+
* 查询合同详情
|
|
187
|
+
适用场景:可用于主动查询某个合同详情信息。
|
|
188
|
+
*/
|
|
189
|
+
async DescribeFlowInfo(
|
|
190
|
+
req: DescribeFlowInfoRequest,
|
|
191
|
+
cb?: (error: string, rep: DescribeFlowInfoResponse) => void
|
|
192
|
+
): Promise<DescribeFlowInfoResponse> {
|
|
193
|
+
return this.request("DescribeFlowInfo", req, cb)
|
|
182
194
|
}
|
|
183
195
|
|
|
184
196
|
/**
|
|
@@ -260,14 +272,23 @@ callbackinfo包含: 回调地址和签名key
|
|
|
260
272
|
}
|
|
261
273
|
|
|
262
274
|
/**
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
275
|
+
* 对企业员工进行印章授权
|
|
276
|
+
*/
|
|
277
|
+
async CreateSealPolicy(
|
|
278
|
+
req: CreateSealPolicyRequest,
|
|
279
|
+
cb?: (error: string, rep: CreateSealPolicyResponse) => void
|
|
280
|
+
): Promise<CreateSealPolicyResponse> {
|
|
281
|
+
return this.request("CreateSealPolicy", req, cb)
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* 此API接口用户查询加入集团的成员企业
|
|
286
|
+
*/
|
|
287
|
+
async DescribeOrganizationGroupOrganizations(
|
|
288
|
+
req: DescribeOrganizationGroupOrganizationsRequest,
|
|
289
|
+
cb?: (error: string, rep: DescribeOrganizationGroupOrganizationsResponse) => void
|
|
290
|
+
): Promise<DescribeOrganizationGroupOrganizationsResponse> {
|
|
291
|
+
return this.request("DescribeOrganizationGroupOrganizations", req, cb)
|
|
271
292
|
}
|
|
272
293
|
|
|
273
294
|
/**
|
|
@@ -302,6 +323,16 @@ callbackinfo包含: 回调地址和签名key
|
|
|
302
323
|
return this.request("CreateBatchCancelFlowUrl", req, cb)
|
|
303
324
|
}
|
|
304
325
|
|
|
326
|
+
/**
|
|
327
|
+
* 通过此接口,删除企业的部门。
|
|
328
|
+
*/
|
|
329
|
+
async DeleteIntegrationDepartment(
|
|
330
|
+
req: DeleteIntegrationDepartmentRequest,
|
|
331
|
+
cb?: (error: string, rep: DeleteIntegrationDepartmentResponse) => void
|
|
332
|
+
): Promise<DeleteIntegrationDepartmentResponse> {
|
|
333
|
+
return this.request("DeleteIntegrationDepartment", req, cb)
|
|
334
|
+
}
|
|
335
|
+
|
|
305
336
|
/**
|
|
306
337
|
* 将电子签系统员工userId与客户系统员工openId进行绑定
|
|
307
338
|
*/
|
|
@@ -394,24 +425,32 @@ callbackinfo包含: 回调地址和签名key
|
|
|
394
425
|
}
|
|
395
426
|
|
|
396
427
|
/**
|
|
397
|
-
*
|
|
398
|
-
|
|
428
|
+
* 此接口(CreateMultiFlowSignQRCode)用于创建一码多扫流程签署二维码。
|
|
429
|
+
适用场景:无需填写签署人信息,可通过模板id生成签署二维码,签署人可通过扫描二维码补充签署信息进行实名签署。常用于提前不知道签署人的身份信息场景,例如:劳务工招工、大批量员工入职等场景。
|
|
430
|
+
|
|
431
|
+
**本接口适用于发起方没有填写控件的 B2C或者单C模板**
|
|
432
|
+
|
|
433
|
+
**若是B2C模板,还要满足以下任意一个条件**
|
|
434
|
+
- 模板中配置的签署顺序是无序
|
|
435
|
+
- B端企业的签署方式是静默签署
|
|
436
|
+
- B端企业是非首位签署
|
|
399
437
|
*/
|
|
400
|
-
async
|
|
401
|
-
req:
|
|
402
|
-
cb?: (error: string, rep:
|
|
403
|
-
): Promise<
|
|
404
|
-
return this.request("
|
|
438
|
+
async CreateMultiFlowSignQRCode(
|
|
439
|
+
req: CreateMultiFlowSignQRCodeRequest,
|
|
440
|
+
cb?: (error: string, rep: CreateMultiFlowSignQRCodeResponse) => void
|
|
441
|
+
): Promise<CreateMultiFlowSignQRCodeResponse> {
|
|
442
|
+
return this.request("CreateMultiFlowSignQRCode", req, cb)
|
|
405
443
|
}
|
|
406
444
|
|
|
407
445
|
/**
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
446
|
+
* 创建出证报告,返回报告 ID。需要配合出证套餐才能调用。
|
|
447
|
+
出证需要一定时间,建议调用创建出证24小时之后再通过DescribeFlowEvidenceReport进行查询。
|
|
448
|
+
*/
|
|
449
|
+
async CreateFlowEvidenceReport(
|
|
450
|
+
req: CreateFlowEvidenceReportRequest,
|
|
451
|
+
cb?: (error: string, rep: CreateFlowEvidenceReportResponse) => void
|
|
452
|
+
): Promise<CreateFlowEvidenceReportResponse> {
|
|
453
|
+
return this.request("CreateFlowEvidenceReport", req, cb)
|
|
415
454
|
}
|
|
416
455
|
|
|
417
456
|
/**
|
|
@@ -491,21 +530,13 @@ callbackinfo包含: 回调地址和签名key
|
|
|
491
530
|
}
|
|
492
531
|
|
|
493
532
|
/**
|
|
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)
|
|
533
|
+
* 通过此接口,创建企业的部门,支持绑定客户系统部门ID。
|
|
534
|
+
*/
|
|
535
|
+
async CreateIntegrationDepartment(
|
|
536
|
+
req: CreateIntegrationDepartmentRequest,
|
|
537
|
+
cb?: (error: string, rep: CreateIntegrationDepartmentResponse) => void
|
|
538
|
+
): Promise<CreateIntegrationDepartmentResponse> {
|
|
539
|
+
return this.request("CreateIntegrationDepartment", req, cb)
|
|
509
540
|
}
|
|
510
541
|
|
|
511
542
|
/**
|
|
@@ -554,7 +585,7 @@ callbackinfo包含: 回调地址和签名key
|
|
|
554
585
|
}
|
|
555
586
|
|
|
556
587
|
/**
|
|
557
|
-
* 上传了word、excel
|
|
588
|
+
* 上传了word、excel、图片文件后,通过该接口发起文件转换任务,将word、excel、图片文件转换为pdf文件。
|
|
558
589
|
*/
|
|
559
590
|
async CreateConvertTaskApi(
|
|
560
591
|
req: CreateConvertTaskApiRequest,
|
|
@@ -676,6 +707,36 @@ httpProfile.setEndpoint("file.test.ess.tencent.cn");<br/>
|
|
|
676
707
|
return this.request("CreateSchemeUrl", req, cb)
|
|
677
708
|
}
|
|
678
709
|
|
|
710
|
+
/**
|
|
711
|
+
* 此接口(CancelUserAutoSignEnableUrl)用来撤销发送给个人用户的自动签开通链接,撤销后对应的个人用户开通链接失效。若个人用户已经完成开通,将无法撤销。(处方单场景专用,使用此接口请与客户经理确认)
|
|
712
|
+
*/
|
|
713
|
+
async CancelUserAutoSignEnableUrl(
|
|
714
|
+
req: CancelUserAutoSignEnableUrlRequest,
|
|
715
|
+
cb?: (error: string, rep: CancelUserAutoSignEnableUrlResponse) => void
|
|
716
|
+
): Promise<CancelUserAutoSignEnableUrlResponse> {
|
|
717
|
+
return this.request("CancelUserAutoSignEnableUrl", req, cb)
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* 通过此接口,查询企业的部门,支持查询单个部门节点或单个部门节点及一级子节点部门列表。
|
|
722
|
+
*/
|
|
723
|
+
async DescribeIntegrationDepartments(
|
|
724
|
+
req: DescribeIntegrationDepartmentsRequest,
|
|
725
|
+
cb?: (error: string, rep: DescribeIntegrationDepartmentsResponse) => void
|
|
726
|
+
): Promise<DescribeIntegrationDepartmentsResponse> {
|
|
727
|
+
return this.request("DescribeIntegrationDepartments", req, cb)
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* 通过此接口,更新企业的部门信息,支持更新部门名、客户系统部门ID、部门序列号。
|
|
732
|
+
*/
|
|
733
|
+
async ModifyIntegrationDepartment(
|
|
734
|
+
req: ModifyIntegrationDepartmentRequest,
|
|
735
|
+
cb?: (error: string, rep: ModifyIntegrationDepartmentResponse) => void
|
|
736
|
+
): Promise<ModifyIntegrationDepartmentResponse> {
|
|
737
|
+
return this.request("ModifyIntegrationDepartment", req, cb)
|
|
738
|
+
}
|
|
739
|
+
|
|
679
740
|
/**
|
|
680
741
|
* 创建员工,如需在此接口提醒员工实名,入参Employees的OpenId不传
|
|
681
742
|
*/
|