tencentcloud-sdk-nodejs 4.0.531 → 4.0.532
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 +94 -0
- package/SERVICE_CHANGELOG.md +143 -16
- package/package.json +1 -1
- package/products.md +11 -11
- package/src/common/sdk_version.ts +1 -1
- package/src/services/dlc/v20210125/dlc_client.ts +35 -10
- package/src/services/dlc/v20210125/dlc_models.ts +275 -30
- package/src/services/ecm/v20190719/ecm_models.ts +1 -1
- package/src/services/ess/v20201111/ess_client.ts +31 -4
- package/src/services/ess/v20201111/ess_models.ts +299 -71
- package/src/services/vpc/v20170312/vpc_models.ts +5 -0
- package/src/services/waf/v20180125/waf_client.ts +37 -0
- package/src/services/waf/v20180125/waf_models.ts +160 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +11 -3
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +15 -3
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +232 -28
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +9 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +12 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +259 -65
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +4 -0
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +13 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +18 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +135 -0
- package/test/dlc.v20210125.test.js +22 -2
- package/test/ess.v20201111.test.js +20 -0
- package/test/waf.v20180125.test.js +30 -0
|
@@ -27,6 +27,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
27
27
|
constructor(clientConfig) {
|
|
28
28
|
super("ess.tencentcloudapi.com", "2020-11-11", clientConfig);
|
|
29
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* 此API接口用户查询加入集团的成员企业
|
|
32
|
+
*/
|
|
33
|
+
async DescribeOrganizationGroupOrganizations(req, cb) {
|
|
34
|
+
return this.request("DescribeOrganizationGroupOrganizations", req, cb);
|
|
35
|
+
}
|
|
30
36
|
/**
|
|
31
37
|
* 此接口用于发起流程
|
|
32
38
|
适用场景:见创建签署流程接口。
|
|
@@ -204,6 +210,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
204
210
|
async CreateFlowReminds(req, cb) {
|
|
205
211
|
return this.request("CreateFlowReminds", req, cb);
|
|
206
212
|
}
|
|
213
|
+
/**
|
|
214
|
+
* 通过子企业影子账号查询主企业员工账号
|
|
215
|
+
*/
|
|
216
|
+
async DescribeIntegrationMainOrganizationUser(req, cb) {
|
|
217
|
+
return this.request("DescribeIntegrationMainOrganizationUser", req, cb);
|
|
218
|
+
}
|
|
207
219
|
/**
|
|
208
220
|
* 通过AuthCode查询用户是否实名
|
|
209
221
|
*/
|
|
@@ -78,69 +78,60 @@ APP:第三方APP或小程序跳转电子签小程序的path。
|
|
|
78
78
|
Agent?: Agent;
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
82
|
-
*/
|
|
83
|
-
export interface CreateFlowApproversResponse {
|
|
84
|
-
/**
|
|
85
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
86
|
-
*/
|
|
87
|
-
RequestId?: string;
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* UploadFiles请求参数结构体
|
|
81
|
+
* 二期接口返回的模板中文件的信息结构
|
|
91
82
|
*/
|
|
92
|
-
export interface
|
|
93
|
-
/**
|
|
94
|
-
* 文件对应业务类型
|
|
95
|
-
1. TEMPLATE - 模板; 文件类型:.pdf/.doc/.docx/.html
|
|
96
|
-
2. DOCUMENT - 签署过程及签署后的合同文档/图片控件 文件类型:.pdf/.doc/.docx/.jpg/.png/.xls.xlsx/.html
|
|
97
|
-
3. SEAL - 印章; 文件类型:.jpg/.jpeg/.png
|
|
98
|
-
*/
|
|
99
|
-
BusinessType: string;
|
|
83
|
+
export interface FileInfo {
|
|
100
84
|
/**
|
|
101
|
-
*
|
|
85
|
+
* 文件Id
|
|
102
86
|
*/
|
|
103
|
-
|
|
87
|
+
FileId?: string;
|
|
104
88
|
/**
|
|
105
|
-
*
|
|
89
|
+
* 文件名
|
|
106
90
|
*/
|
|
107
|
-
|
|
91
|
+
FileName?: string;
|
|
108
92
|
/**
|
|
109
|
-
*
|
|
110
|
-
如:PDF 表示上传的文件 xxx.pdf的文件类型是 PDF
|
|
93
|
+
* 文件大小,单位为Byte
|
|
111
94
|
*/
|
|
112
|
-
|
|
95
|
+
FileSize?: number;
|
|
113
96
|
/**
|
|
114
|
-
*
|
|
115
|
-
true--是,处理置白
|
|
116
|
-
默认为false--否,不处理
|
|
97
|
+
* 文件上传时间,10位时间戳(精确到秒)
|
|
117
98
|
*/
|
|
118
|
-
|
|
99
|
+
CreatedOn?: number;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* CreateFlowApprovers返回参数结构体
|
|
103
|
+
*/
|
|
104
|
+
export interface CreateFlowApproversResponse {
|
|
119
105
|
/**
|
|
120
|
-
*
|
|
106
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
121
107
|
*/
|
|
122
|
-
|
|
108
|
+
RequestId?: string;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* DescribeIntegrationMainOrganizationUser请求参数结构体
|
|
112
|
+
*/
|
|
113
|
+
export interface DescribeIntegrationMainOrganizationUserRequest {
|
|
123
114
|
/**
|
|
124
|
-
*
|
|
115
|
+
* 操作人信息,userId必填
|
|
125
116
|
*/
|
|
126
|
-
|
|
117
|
+
Operator: UserInfo;
|
|
127
118
|
}
|
|
128
119
|
/**
|
|
129
|
-
*
|
|
120
|
+
* CreateMultiFlowSignQRCode返回参数结构体
|
|
130
121
|
*/
|
|
131
|
-
export interface
|
|
122
|
+
export interface CreateMultiFlowSignQRCodeResponse {
|
|
132
123
|
/**
|
|
133
|
-
*
|
|
124
|
+
* 签署二维码对象
|
|
134
125
|
*/
|
|
135
|
-
|
|
126
|
+
QrCode: SignQrCode;
|
|
136
127
|
/**
|
|
137
|
-
*
|
|
128
|
+
* 签署链接对象
|
|
138
129
|
*/
|
|
139
|
-
|
|
130
|
+
SignUrls: SignUrl;
|
|
140
131
|
/**
|
|
141
|
-
*
|
|
132
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
142
133
|
*/
|
|
143
|
-
|
|
134
|
+
RequestId?: string;
|
|
144
135
|
}
|
|
145
136
|
/**
|
|
146
137
|
* 创建流程的签署方信息
|
|
@@ -355,6 +346,39 @@ export interface CreateFlowRemindsResponse {
|
|
|
355
346
|
*/
|
|
356
347
|
RequestId?: string;
|
|
357
348
|
}
|
|
349
|
+
/**
|
|
350
|
+
* DescribeOrganizationGroupOrganizations请求参数结构体
|
|
351
|
+
*/
|
|
352
|
+
export interface DescribeOrganizationGroupOrganizationsRequest {
|
|
353
|
+
/**
|
|
354
|
+
* 操作人信息,userId必填
|
|
355
|
+
*/
|
|
356
|
+
Operator: UserInfo;
|
|
357
|
+
/**
|
|
358
|
+
* 单次查询成员企业最大返回数量
|
|
359
|
+
*/
|
|
360
|
+
Limit: number;
|
|
361
|
+
/**
|
|
362
|
+
* 页面偏移量
|
|
363
|
+
*/
|
|
364
|
+
Offset: number;
|
|
365
|
+
/**
|
|
366
|
+
* 查询成员企业的企业名,模糊匹配
|
|
367
|
+
*/
|
|
368
|
+
Name?: string;
|
|
369
|
+
/**
|
|
370
|
+
* 成员企业加入集团的当前状态:1-待授权;2-已授权待激活;3-拒绝授权;4-已解除;5-已加入
|
|
371
|
+
*/
|
|
372
|
+
Status?: number;
|
|
373
|
+
/**
|
|
374
|
+
* 是否到处当前成员企业数据
|
|
375
|
+
*/
|
|
376
|
+
Export?: boolean;
|
|
377
|
+
/**
|
|
378
|
+
* 成员企业id
|
|
379
|
+
*/
|
|
380
|
+
Id?: string;
|
|
381
|
+
}
|
|
358
382
|
/**
|
|
359
383
|
* 应用相关信息
|
|
360
384
|
*/
|
|
@@ -730,6 +754,10 @@ export interface DescribeFlowInfoRequest {
|
|
|
730
754
|
* 调用方用户信息
|
|
731
755
|
*/
|
|
732
756
|
Operator?: UserInfo;
|
|
757
|
+
/**
|
|
758
|
+
* 应用信息
|
|
759
|
+
*/
|
|
760
|
+
Agent?: Agent;
|
|
733
761
|
}
|
|
734
762
|
/**
|
|
735
763
|
* 机构信息
|
|
@@ -1477,21 +1505,21 @@ export interface CreateDocumentRequest {
|
|
|
1477
1505
|
ClientToken?: string;
|
|
1478
1506
|
}
|
|
1479
1507
|
/**
|
|
1480
|
-
*
|
|
1508
|
+
* 催办接口返回详细信息
|
|
1481
1509
|
*/
|
|
1482
|
-
export interface
|
|
1510
|
+
export interface RemindFlowRecords {
|
|
1483
1511
|
/**
|
|
1484
|
-
*
|
|
1512
|
+
* 是否能够催办
|
|
1485
1513
|
*/
|
|
1486
|
-
|
|
1514
|
+
CanRemind: boolean;
|
|
1487
1515
|
/**
|
|
1488
|
-
*
|
|
1516
|
+
* 合同id
|
|
1489
1517
|
*/
|
|
1490
|
-
|
|
1518
|
+
FlowId: string;
|
|
1491
1519
|
/**
|
|
1492
|
-
*
|
|
1520
|
+
* 催办详情
|
|
1493
1521
|
*/
|
|
1494
|
-
|
|
1522
|
+
RemindMessage: string;
|
|
1495
1523
|
}
|
|
1496
1524
|
/**
|
|
1497
1525
|
* DescribeOrganizationSeals返回参数结构体
|
|
@@ -1574,6 +1602,71 @@ export interface RegisterInfo {
|
|
|
1574
1602
|
*/
|
|
1575
1603
|
Uscc: string;
|
|
1576
1604
|
}
|
|
1605
|
+
/**
|
|
1606
|
+
* 成员企业信息
|
|
1607
|
+
*/
|
|
1608
|
+
export interface GroupOrganization {
|
|
1609
|
+
/**
|
|
1610
|
+
* 成员企业名
|
|
1611
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1612
|
+
*/
|
|
1613
|
+
Name?: string;
|
|
1614
|
+
/**
|
|
1615
|
+
* 成员企业别名
|
|
1616
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1617
|
+
*/
|
|
1618
|
+
Alias?: string;
|
|
1619
|
+
/**
|
|
1620
|
+
* 成员企业id
|
|
1621
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1622
|
+
*/
|
|
1623
|
+
OrganizationId?: string;
|
|
1624
|
+
/**
|
|
1625
|
+
* 更新时间
|
|
1626
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1627
|
+
*/
|
|
1628
|
+
UpdateTime?: number;
|
|
1629
|
+
/**
|
|
1630
|
+
* 成员企业状态
|
|
1631
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1632
|
+
*/
|
|
1633
|
+
Status?: number;
|
|
1634
|
+
/**
|
|
1635
|
+
* 是否为集团主企业
|
|
1636
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1637
|
+
*/
|
|
1638
|
+
IsMainOrganization?: boolean;
|
|
1639
|
+
/**
|
|
1640
|
+
* 企业社会信用代码
|
|
1641
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1642
|
+
*/
|
|
1643
|
+
IdCardNumber?: string;
|
|
1644
|
+
/**
|
|
1645
|
+
* 企业超管信息
|
|
1646
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1647
|
+
*/
|
|
1648
|
+
AdminInfo?: Admin;
|
|
1649
|
+
/**
|
|
1650
|
+
* 企业许可证
|
|
1651
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1652
|
+
*/
|
|
1653
|
+
License?: string;
|
|
1654
|
+
/**
|
|
1655
|
+
* 企业许可证过期时间
|
|
1656
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1657
|
+
*/
|
|
1658
|
+
LicenseExpireTime?: number;
|
|
1659
|
+
/**
|
|
1660
|
+
* 成员企业加入集团时间
|
|
1661
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1662
|
+
*/
|
|
1663
|
+
JoinTime?: number;
|
|
1664
|
+
/**
|
|
1665
|
+
* 是否可以使用审批流引擎
|
|
1666
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1667
|
+
*/
|
|
1668
|
+
FlowEngineEnable?: boolean;
|
|
1669
|
+
}
|
|
1577
1670
|
/**
|
|
1578
1671
|
* CreateFlowSignUrl请求参数结构体
|
|
1579
1672
|
*/
|
|
@@ -1890,25 +1983,18 @@ export interface CreateStaffResult {
|
|
|
1890
1983
|
FailedEmployeeData: Array<FailedCreateStaffData>;
|
|
1891
1984
|
}
|
|
1892
1985
|
/**
|
|
1893
|
-
*
|
|
1986
|
+
* DescribeIntegrationMainOrganizationUser返回参数结构体
|
|
1894
1987
|
*/
|
|
1895
|
-
export interface
|
|
1896
|
-
/**
|
|
1897
|
-
* 文件Id
|
|
1898
|
-
*/
|
|
1899
|
-
FileId?: string;
|
|
1988
|
+
export interface DescribeIntegrationMainOrganizationUserResponse {
|
|
1900
1989
|
/**
|
|
1901
|
-
*
|
|
1902
|
-
|
|
1903
|
-
FileName?: string;
|
|
1904
|
-
/**
|
|
1905
|
-
* 文件大小,单位为Byte
|
|
1990
|
+
* 主企业员工账号信息
|
|
1991
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1906
1992
|
*/
|
|
1907
|
-
|
|
1993
|
+
IntegrationMainOrganizationUser?: IntegrationMainOrganizationUser;
|
|
1908
1994
|
/**
|
|
1909
|
-
*
|
|
1995
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1910
1996
|
*/
|
|
1911
|
-
|
|
1997
|
+
RequestId?: string;
|
|
1912
1998
|
}
|
|
1913
1999
|
/**
|
|
1914
2000
|
* CreateSchemeUrl返回参数结构体
|
|
@@ -2011,6 +2097,26 @@ export interface CancelMultiFlowSignQRCodeRequest {
|
|
|
2011
2097
|
*/
|
|
2012
2098
|
Agent?: Agent;
|
|
2013
2099
|
}
|
|
2100
|
+
/**
|
|
2101
|
+
* 主企业员工账号信息
|
|
2102
|
+
*/
|
|
2103
|
+
export interface IntegrationMainOrganizationUser {
|
|
2104
|
+
/**
|
|
2105
|
+
* 主企业id
|
|
2106
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2107
|
+
*/
|
|
2108
|
+
MainOrganizationId?: string;
|
|
2109
|
+
/**
|
|
2110
|
+
* 主企业员工UserId
|
|
2111
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2112
|
+
*/
|
|
2113
|
+
MainUserId?: string;
|
|
2114
|
+
/**
|
|
2115
|
+
* 主企业员工名
|
|
2116
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2117
|
+
*/
|
|
2118
|
+
UserName?: string;
|
|
2119
|
+
}
|
|
2014
2120
|
/**
|
|
2015
2121
|
* StartFlow请求参数结构体
|
|
2016
2122
|
*/
|
|
@@ -2376,7 +2482,7 @@ export interface CreateFlowRemindsRequest {
|
|
|
2376
2482
|
*/
|
|
2377
2483
|
Operator: UserInfo;
|
|
2378
2484
|
/**
|
|
2379
|
-
*
|
|
2485
|
+
* 需要执行催办的签署流程id数组,最多100个
|
|
2380
2486
|
*/
|
|
2381
2487
|
FlowIds: Array<string>;
|
|
2382
2488
|
}
|
|
@@ -2464,6 +2570,21 @@ export interface DescribeFlowBriefsResponse {
|
|
|
2464
2570
|
*/
|
|
2465
2571
|
RequestId?: string;
|
|
2466
2572
|
}
|
|
2573
|
+
/**
|
|
2574
|
+
* 企业超管信息
|
|
2575
|
+
*/
|
|
2576
|
+
export interface Admin {
|
|
2577
|
+
/**
|
|
2578
|
+
* 超管名
|
|
2579
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2580
|
+
*/
|
|
2581
|
+
Name?: string;
|
|
2582
|
+
/**
|
|
2583
|
+
* 超管手机号
|
|
2584
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2585
|
+
*/
|
|
2586
|
+
Mobile?: string;
|
|
2587
|
+
}
|
|
2467
2588
|
/**
|
|
2468
2589
|
* 持有的电子印章信息
|
|
2469
2590
|
*/
|
|
@@ -2532,6 +2653,45 @@ export interface DescribeFlowTemplatesResponse {
|
|
|
2532
2653
|
*/
|
|
2533
2654
|
RequestId?: string;
|
|
2534
2655
|
}
|
|
2656
|
+
/**
|
|
2657
|
+
* UploadFiles请求参数结构体
|
|
2658
|
+
*/
|
|
2659
|
+
export interface UploadFilesRequest {
|
|
2660
|
+
/**
|
|
2661
|
+
* 文件对应业务类型
|
|
2662
|
+
1. TEMPLATE - 模板; 文件类型:.pdf/.doc/.docx/.html
|
|
2663
|
+
2. DOCUMENT - 签署过程及签署后的合同文档/图片控件 文件类型:.pdf/.doc/.docx/.jpg/.png/.xls.xlsx/.html
|
|
2664
|
+
3. SEAL - 印章; 文件类型:.jpg/.jpeg/.png
|
|
2665
|
+
*/
|
|
2666
|
+
BusinessType: string;
|
|
2667
|
+
/**
|
|
2668
|
+
* 调用方信息,其中OperatorId为必填字段,即用户的UserId
|
|
2669
|
+
*/
|
|
2670
|
+
Caller?: Caller;
|
|
2671
|
+
/**
|
|
2672
|
+
* 上传文件内容数组,最多支持20个文件
|
|
2673
|
+
*/
|
|
2674
|
+
FileInfos?: Array<UploadFile>;
|
|
2675
|
+
/**
|
|
2676
|
+
* 文件类型, 默认通过文件内容解析得到文件类型,客户可以显示的说明上传文件的类型。
|
|
2677
|
+
如:PDF 表示上传的文件 xxx.pdf的文件类型是 PDF
|
|
2678
|
+
*/
|
|
2679
|
+
FileType?: string;
|
|
2680
|
+
/**
|
|
2681
|
+
* 此参数只对 PDF 文件有效。是否将pdf灰色矩阵置白
|
|
2682
|
+
true--是,处理置白
|
|
2683
|
+
默认为false--否,不处理
|
|
2684
|
+
*/
|
|
2685
|
+
CoverRect?: boolean;
|
|
2686
|
+
/**
|
|
2687
|
+
* 用户自定义ID数组,与上传文件一一对应
|
|
2688
|
+
*/
|
|
2689
|
+
CustomIds?: Array<string>;
|
|
2690
|
+
/**
|
|
2691
|
+
* 不再使用,上传文件链接数组,最多支持20个URL
|
|
2692
|
+
*/
|
|
2693
|
+
FileUrls?: string;
|
|
2694
|
+
}
|
|
2535
2695
|
/**
|
|
2536
2696
|
* CreateBatchCancelFlowUrl请求参数结构体
|
|
2537
2697
|
*/
|
|
@@ -2600,7 +2760,7 @@ export interface DescribeFlowInfoResponse {
|
|
|
2600
2760
|
/**
|
|
2601
2761
|
* 签署流程信息
|
|
2602
2762
|
*/
|
|
2603
|
-
FlowDetailInfos
|
|
2763
|
+
FlowDetailInfos?: Array<FlowDetailInfo>;
|
|
2604
2764
|
/**
|
|
2605
2765
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2606
2766
|
*/
|
|
@@ -2676,6 +2836,40 @@ export interface FlowBrief {
|
|
|
2676
2836
|
*/
|
|
2677
2837
|
FlowMessage: string;
|
|
2678
2838
|
}
|
|
2839
|
+
/**
|
|
2840
|
+
* DescribeOrganizationGroupOrganizations返回参数结构体
|
|
2841
|
+
*/
|
|
2842
|
+
export interface DescribeOrganizationGroupOrganizationsResponse {
|
|
2843
|
+
/**
|
|
2844
|
+
* 查询到的符合条件的成员企业总数量
|
|
2845
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2846
|
+
*/
|
|
2847
|
+
Total?: number;
|
|
2848
|
+
/**
|
|
2849
|
+
* 已授权待激活的企业数量
|
|
2850
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2851
|
+
*/
|
|
2852
|
+
JoinedTotal?: number;
|
|
2853
|
+
/**
|
|
2854
|
+
* 已加入的企业数量
|
|
2855
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2856
|
+
*/
|
|
2857
|
+
ActivedTotal?: number;
|
|
2858
|
+
/**
|
|
2859
|
+
* 导出文件的url
|
|
2860
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2861
|
+
*/
|
|
2862
|
+
ExportUrl?: string;
|
|
2863
|
+
/**
|
|
2864
|
+
* 成员企业信息列表
|
|
2865
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2866
|
+
*/
|
|
2867
|
+
List?: Array<GroupOrganization>;
|
|
2868
|
+
/**
|
|
2869
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2870
|
+
*/
|
|
2871
|
+
RequestId?: string;
|
|
2872
|
+
}
|
|
2679
2873
|
/**
|
|
2680
2874
|
* CancelMultiFlowSignQRCode返回参数结构体
|
|
2681
2875
|
*/
|
|
@@ -10759,6 +10759,10 @@ ENABLE:启用该路由
|
|
|
10759
10759
|
DISABLE:不启用该路由
|
|
10760
10760
|
*/
|
|
10761
10761
|
Status?: string;
|
|
10762
|
+
/**
|
|
10763
|
+
* 路由CIDR
|
|
10764
|
+
*/
|
|
10765
|
+
DestinationCidrBlock?: string;
|
|
10762
10766
|
}
|
|
10763
10767
|
/**
|
|
10764
10768
|
* ModifyVpnConnectionAttribute请求参数结构体
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { CreateAccessExportRequest, DescribeIpHitItemsResponse, DescribeUserCdcClbWafRegionsRequest, DeleteAttackDownloadRecordResponse, DescribeFlowTrendRequest, DescribeWafAutoDenyStatusRequest, DescribeWafAutoDenyRulesResponse, DescribeIpAccessControlResponse, DescribeInstancesResponse, ModifyDomainWhiteRuleRequest, DescribeAccessIndexRequest, DeleteSessionRequest, DescribeWafAutoDenyRulesRequest, AddCustomRuleResponse, DescribeFlowTrendResponse, GetAttackDownloadRecordsRequest, UpsertIpAccessControlRequest, DeleteDownloadRecordRequest, DescribeUserCdcClbWafRegionsResponse, DeleteAccessExportResponse, DescribeAccessExportsRequest, DescribeUserClbWafRegionsResponse, ModifyWafAutoDenyStatusRequest, ModifyAccessPeriodResponse, DescribeAutoDenyIPResponse, SearchAccessLogResponse, DescribeAutoDenyIPRequest, DescribeIpAccessControlRequest, AddSpartaProtectionRequest, PostAttackDownloadTaskRequest, DescribeAccessFastAnalysisRequest, DeleteIpAccessControlRequest, DeleteDomainWhiteRulesResponse, ModifyWafAutoDenyStatusResponse, DescribeWafAutoDenyStatusResponse, DeleteDomainWhiteRulesRequest, PostAttackDownloadTaskResponse, DescribeDomainDetailsSaasRequest, ModifyCustomRuleStatusResponse, AddSpartaProtectionResponse, DescribeDomainWhiteRulesRequest, AddDomainWhiteRuleResponse, ModifyCustomRuleStatusRequest, DeleteDownloadRecordResponse, ModifyAccessPeriodRequest, ModifyWafAutoDenyRulesResponse, DescribeInstancesRequest, DeleteIpAccessControlResponse, DescribeDomainDetailsSaasResponse, AddCustomRuleRequest, ModifyDomainWhiteRuleResponse, ModifyWafAutoDenyRulesRequest, DescribeAccessFastAnalysisResponse, DescribeDomainsResponse, ModifyWafThreatenIntelligenceRequest, DescribeIpHitItemsRequest, GetAttackDownloadRecordsResponse, DeleteAccessExportRequest, DescribeUserClbWafRegionsRequest, DescribeDomainWhiteRulesResponse, DeleteAttackDownloadRecordRequest, DescribeWafThreatenIntelligenceResponse, AddDomainWhiteRuleRequest, UpsertIpAccessControlResponse, DeleteSessionResponse, DescribeWafThreatenIntelligenceRequest, DescribeAccessIndexResponse, DescribeAccessExportsResponse, CreateAccessExportResponse, SearchAccessLogRequest, DescribeDomainsRequest, ModifyWafThreatenIntelligenceResponse } from "./waf_models";
|
|
3
|
+
import { CreateAccessExportRequest, DescribeIpHitItemsResponse, DescribeUserCdcClbWafRegionsRequest, DeleteAttackDownloadRecordResponse, DescribeFlowTrendRequest, DescribeWafAutoDenyStatusRequest, DescribeWafAutoDenyRulesResponse, DescribeIpAccessControlResponse, DescribeInstancesResponse, ModifyDomainWhiteRuleRequest, DescribeAccessIndexRequest, DeleteSessionRequest, DescribeWafAutoDenyRulesRequest, SearchAttackLogRequest, AddCustomRuleResponse, DescribeFlowTrendResponse, GetAttackDownloadRecordsRequest, UpsertIpAccessControlRequest, DeleteDownloadRecordRequest, DescribeUserCdcClbWafRegionsResponse, DeleteAccessExportResponse, DescribeAccessExportsRequest, DescribeUserClbWafRegionsResponse, ModifyWafAutoDenyStatusRequest, ModifyAccessPeriodResponse, DescribeAutoDenyIPResponse, SwitchDomainRulesResponse, SearchAccessLogResponse, SwitchDomainRulesRequest, DescribeAutoDenyIPRequest, DescribeIpAccessControlRequest, ModifyAreaBanStatusRequest, AddSpartaProtectionRequest, PostAttackDownloadTaskRequest, DescribeAccessFastAnalysisRequest, DeleteIpAccessControlRequest, DeleteDomainWhiteRulesResponse, ModifyWafAutoDenyStatusResponse, DescribeWafAutoDenyStatusResponse, DeleteDomainWhiteRulesRequest, PostAttackDownloadTaskResponse, DescribeDomainDetailsSaasRequest, ModifyCustomRuleStatusResponse, AddSpartaProtectionResponse, DescribeDomainWhiteRulesRequest, AddDomainWhiteRuleResponse, ModifyCustomRuleStatusRequest, DeleteDownloadRecordResponse, ModifyAccessPeriodRequest, ModifyWafAutoDenyRulesResponse, SearchAttackLogResponse, DescribeInstancesRequest, DeleteIpAccessControlResponse, DescribeDomainDetailsSaasResponse, AddCustomRuleRequest, ModifyAreaBanStatusResponse, ModifyDomainWhiteRuleResponse, ModifyWafAutoDenyRulesRequest, DescribeAccessFastAnalysisResponse, DescribeDomainsResponse, ModifyWafThreatenIntelligenceRequest, DescribeIpHitItemsRequest, GetAttackDownloadRecordsResponse, DeleteAccessExportRequest, DescribeUserClbWafRegionsRequest, DescribeDomainWhiteRulesResponse, DeleteAttackDownloadRecordRequest, DescribeWafThreatenIntelligenceResponse, AddDomainWhiteRuleRequest, UpsertIpAccessControlResponse, DeleteSessionResponse, DescribeWafThreatenIntelligenceRequest, DescribeAccessIndexResponse, DescribeAccessExportsResponse, CreateAccessExportResponse, SearchAccessLogRequest, DescribeDomainsRequest, ModifyWafThreatenIntelligenceResponse } from "./waf_models";
|
|
4
4
|
/**
|
|
5
5
|
* waf client
|
|
6
6
|
* @class
|
|
@@ -25,6 +25,10 @@ export declare class Client extends AbstractClient {
|
|
|
25
25
|
|
|
26
26
|
*/
|
|
27
27
|
DeleteDomainWhiteRules(req: DeleteDomainWhiteRulesRequest, cb?: (error: string, rep: DeleteDomainWhiteRulesResponse) => void): Promise<DeleteDomainWhiteRulesResponse>;
|
|
28
|
+
/**
|
|
29
|
+
* 修改防护域名的地域封禁状态
|
|
30
|
+
*/
|
|
31
|
+
ModifyAreaBanStatus(req: ModifyAreaBanStatusRequest, cb?: (error: string, rep: ModifyAreaBanStatusResponse) => void): Promise<ModifyAreaBanStatusResponse>;
|
|
28
32
|
/**
|
|
29
33
|
* 查询用户所有域名的详细信息
|
|
30
34
|
*/
|
|
@@ -37,6 +41,10 @@ export declare class Client extends AbstractClient {
|
|
|
37
41
|
* 本接口用于创建访问日志导出
|
|
38
42
|
*/
|
|
39
43
|
CreateAccessExport(req: CreateAccessExportRequest, cb?: (error: string, rep: CreateAccessExportResponse) => void): Promise<CreateAccessExportResponse>;
|
|
44
|
+
/**
|
|
45
|
+
* 新版本CLS接口存在参数变化,query改成了query_string支持lucence语法接口搜索查询。
|
|
46
|
+
*/
|
|
47
|
+
SearchAttackLog(req: SearchAttackLogRequest, cb?: (error: string, rep: SearchAttackLogResponse) => void): Promise<SearchAttackLogResponse>;
|
|
40
48
|
/**
|
|
41
49
|
* 查询单个saas域名详情
|
|
42
50
|
*/
|
|
@@ -97,6 +105,10 @@ export declare class Client extends AbstractClient {
|
|
|
97
105
|
* 创建搜索下载攻击日志任务,使用CLS新版本的搜索下载getlog接口
|
|
98
106
|
*/
|
|
99
107
|
PostAttackDownloadTask(req: PostAttackDownloadTaskRequest, cb?: (error: string, rep: PostAttackDownloadTaskResponse) => void): Promise<PostAttackDownloadTaskResponse>;
|
|
108
|
+
/**
|
|
109
|
+
* 切换域名的规则开关
|
|
110
|
+
*/
|
|
111
|
+
SwitchDomainRules(req: SwitchDomainRulesRequest, cb?: (error: string, rep: SwitchDomainRulesResponse) => void): Promise<SwitchDomainRulesResponse>;
|
|
100
112
|
/**
|
|
101
113
|
* 配置WAF威胁情报封禁模块详情
|
|
102
114
|
*/
|
|
@@ -53,6 +53,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
53
53
|
async DeleteDomainWhiteRules(req, cb) {
|
|
54
54
|
return this.request("DeleteDomainWhiteRules", req, cb);
|
|
55
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* 修改防护域名的地域封禁状态
|
|
58
|
+
*/
|
|
59
|
+
async ModifyAreaBanStatus(req, cb) {
|
|
60
|
+
return this.request("ModifyAreaBanStatus", req, cb);
|
|
61
|
+
}
|
|
56
62
|
/**
|
|
57
63
|
* 查询用户所有域名的详细信息
|
|
58
64
|
*/
|
|
@@ -71,6 +77,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
71
77
|
async CreateAccessExport(req, cb) {
|
|
72
78
|
return this.request("CreateAccessExport", req, cb);
|
|
73
79
|
}
|
|
80
|
+
/**
|
|
81
|
+
* 新版本CLS接口存在参数变化,query改成了query_string支持lucence语法接口搜索查询。
|
|
82
|
+
*/
|
|
83
|
+
async SearchAttackLog(req, cb) {
|
|
84
|
+
return this.request("SearchAttackLog", req, cb);
|
|
85
|
+
}
|
|
74
86
|
/**
|
|
75
87
|
* 查询单个saas域名详情
|
|
76
88
|
*/
|
|
@@ -161,6 +173,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
161
173
|
async PostAttackDownloadTask(req, cb) {
|
|
162
174
|
return this.request("PostAttackDownloadTask", req, cb);
|
|
163
175
|
}
|
|
176
|
+
/**
|
|
177
|
+
* 切换域名的规则开关
|
|
178
|
+
*/
|
|
179
|
+
async SwitchDomainRules(req, cb) {
|
|
180
|
+
return this.request("SwitchDomainRules", req, cb);
|
|
181
|
+
}
|
|
164
182
|
/**
|
|
165
183
|
* 配置WAF威胁情报封禁模块详情
|
|
166
184
|
*/
|