tencentcloud-sdk-nodejs-essbasic 4.0.758 → 4.0.759
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/package.json +1 -1
- package/products.md +3 -3
- package/src/services/essbasic/v20210526/essbasic_client.ts +46 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +169 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +29 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +32 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +163 -0
package/package.json
CHANGED
package/products.md
CHANGED
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
| dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-10-30 00:33:47 |
|
|
83
83
|
| dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-12-07 01:38:53 |
|
|
84
84
|
| dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2023-11-15 01:33:00 |
|
|
85
|
-
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-12-
|
|
85
|
+
| domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-12-15 01:10:52 |
|
|
86
86
|
| drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2023-11-10 01:14:28 |
|
|
87
87
|
| ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2023-08-17 02:59:40 |
|
|
88
88
|
| dsgc | [数据安全治理中心](https://cloud.tencent.com/document/product/1087) | 2023-11-29 01:53:04 |
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-12-07 01:47:01 |
|
|
98
98
|
| es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-12-05 01:46:13 |
|
|
99
99
|
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-12-14 01:47:26 |
|
|
100
|
-
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-12-14
|
|
100
|
+
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-12-14 16:39:27 |
|
|
101
101
|
| facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-09-18 01:48:33 |
|
|
102
102
|
| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-12-06 01:49:35 |
|
|
103
103
|
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-08-17 03:12:49 |
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
| tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2023-11-29 02:03:30 |
|
|
202
202
|
| tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2023-06-21 01:36:25 |
|
|
203
203
|
| tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2023-07-24 01:49:20 |
|
|
204
|
-
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-12-
|
|
204
|
+
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-12-14 16:31:17 |
|
|
205
205
|
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2023-11-15 02:26:59 |
|
|
206
206
|
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-08-30 01:25:15 |
|
|
207
207
|
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-12-14 02:34:26 |
|
|
@@ -71,6 +71,7 @@ import {
|
|
|
71
71
|
DescribeFlowDetailInfoResponse,
|
|
72
72
|
RecipientComponentInfo,
|
|
73
73
|
ChannelDescribeRolesRequest,
|
|
74
|
+
DescribeBatchOrganizationRegistrationUrlsRequest,
|
|
74
75
|
PrepareFlowsResponse,
|
|
75
76
|
ChannelCancelFlowRequest,
|
|
76
77
|
TemplateInfo,
|
|
@@ -81,12 +82,14 @@ import {
|
|
|
81
82
|
DescribeTemplatesResponse,
|
|
82
83
|
AutoSignConfig,
|
|
83
84
|
StaffRole,
|
|
85
|
+
CreateBatchOrganizationRegistrationTasksResponse,
|
|
84
86
|
ChannelVerifyPdfRequest,
|
|
85
87
|
CreateChannelFlowEvidenceReportRequest,
|
|
86
88
|
ChannelDescribeBillUsageDetailRequest,
|
|
87
89
|
ChannelCancelUserAutoSignEnableUrlRequest,
|
|
88
90
|
Permission,
|
|
89
91
|
DescribeTemplatesRequest,
|
|
92
|
+
OrganizationAuthUrl,
|
|
90
93
|
Staff,
|
|
91
94
|
ComponentLimit,
|
|
92
95
|
ChannelVerifyPdfResponse,
|
|
@@ -122,6 +125,7 @@ import {
|
|
|
122
125
|
DescribeBillUsageDetailResponse,
|
|
123
126
|
DescribeUsageResponse,
|
|
124
127
|
CreateSignUrlsRequest,
|
|
128
|
+
RegistrationOrganizationInfo,
|
|
125
129
|
ChannelCreateMultiFlowSignQRCodeRequest,
|
|
126
130
|
SignQrCode,
|
|
127
131
|
FlowApproverInfo,
|
|
@@ -148,6 +152,7 @@ import {
|
|
|
148
152
|
ChannelOrganizationInfo,
|
|
149
153
|
CreateSignUrlsResponse,
|
|
150
154
|
ChannelDeleteRoleRequest,
|
|
155
|
+
CreateBatchOrganizationRegistrationTasksRequest,
|
|
151
156
|
ChannelCreateBatchQuickSignUrlResponse,
|
|
152
157
|
ChannelCreateBatchCancelFlowUrlRequest,
|
|
153
158
|
ApproverRestriction,
|
|
@@ -188,6 +193,7 @@ import {
|
|
|
188
193
|
ChannelCreateSealPolicyRequest,
|
|
189
194
|
OccupiedSeal,
|
|
190
195
|
CreateFlowsByTemplatesRequest,
|
|
196
|
+
DescribeBatchOrganizationRegistrationUrlsResponse,
|
|
191
197
|
UploadFilesRequest,
|
|
192
198
|
DescribeChannelOrganizationsResponse,
|
|
193
199
|
ChannelCreateOrganizationBatchSignUrlResponse,
|
|
@@ -386,6 +392,20 @@ https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/launchAp
|
|
|
386
392
|
return this.request("ChannelCreateFlowByFiles", req, cb)
|
|
387
393
|
}
|
|
388
394
|
|
|
395
|
+
/**
|
|
396
|
+
* 此接口用于获取企业批量认证异步任务的状态及结果。
|
|
397
|
+
|
|
398
|
+
前提条件:已调用 CreateBatchOrganizationRegistrationTasks创建企业批量认证链接任务接口,并得到了任务Id。
|
|
399
|
+
|
|
400
|
+
异步任务的处理完成时间视当前已提交的任务量、任务的复杂程度等因素决定,正常情况下 3~5 秒即可完成,但也可能需要更长的时间
|
|
401
|
+
*/
|
|
402
|
+
async DescribeBatchOrganizationRegistrationUrls(
|
|
403
|
+
req: DescribeBatchOrganizationRegistrationUrlsRequest,
|
|
404
|
+
cb?: (error: string, rep: DescribeBatchOrganizationRegistrationUrlsResponse) => void
|
|
405
|
+
): Promise<DescribeBatchOrganizationRegistrationUrlsResponse> {
|
|
406
|
+
return this.request("DescribeBatchOrganizationRegistrationUrls", req, cb)
|
|
407
|
+
}
|
|
408
|
+
|
|
389
409
|
/**
|
|
390
410
|
* 1. 可以**通过图片**为子客企业代创建印章,图片最大5MB
|
|
391
411
|
|
|
@@ -682,6 +702,32 @@ https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/launchAp
|
|
|
682
702
|
return this.request("DescribeTemplates", req, cb)
|
|
683
703
|
}
|
|
684
704
|
|
|
705
|
+
/**
|
|
706
|
+
* 本接口(CreateBatchOrganizationRegistrationTasks)用于批量创建企业认证链接
|
|
707
|
+
该接口为异步提交任务接口,需要跟查询企业批量认证链接(DescribeBatchOrganizationRegistrationUrls) 配合使用.
|
|
708
|
+
|
|
709
|
+
批量创建链接有以下限制:
|
|
710
|
+
1. 单次最多创建10个子客。
|
|
711
|
+
2. 一天同一家企业最多创建8000个子客。
|
|
712
|
+
3. 同一批创建的子客不能重复 其中包括 企业名称,企业统一信用代码,子客经办人openId。
|
|
713
|
+
4. 跳转到小程序的实现,参考微信官方文档(分为全屏、半屏两种方式),如何配置也可以请参考: 跳转电子签小程序配置
|
|
714
|
+
|
|
715
|
+
注: 1. 如果生成的链接是APP链接,跳转到小程序的实现,参考微信官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>
|
|
716
|
+
|
|
717
|
+
**腾讯电子签小程序的AppID 和 原始Id如下:**
|
|
718
|
+
|
|
719
|
+
| 小程序 | AppID | 原始ID |
|
|
720
|
+
| ------------ | ------------ | ------------ |
|
|
721
|
+
| 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |
|
|
722
|
+
| 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |
|
|
723
|
+
*/
|
|
724
|
+
async CreateBatchOrganizationRegistrationTasks(
|
|
725
|
+
req: CreateBatchOrganizationRegistrationTasksRequest,
|
|
726
|
+
cb?: (error: string, rep: CreateBatchOrganizationRegistrationTasksResponse) => void
|
|
727
|
+
): Promise<CreateBatchOrganizationRegistrationTasksResponse> {
|
|
728
|
+
return this.request("CreateBatchOrganizationRegistrationTasks", req, cb)
|
|
729
|
+
}
|
|
730
|
+
|
|
685
731
|
/**
|
|
686
732
|
* 此接口(UploadFiles)文件上传。<br/>
|
|
687
733
|
|
|
@@ -2285,6 +2285,28 @@ Key:"**IsReturnPermissionGroup**",Values:["**1**"]表示接口返回角色对
|
|
|
2285
2285
|
Operator?: UserInfo
|
|
2286
2286
|
}
|
|
2287
2287
|
|
|
2288
|
+
/**
|
|
2289
|
+
* DescribeBatchOrganizationRegistrationUrls请求参数结构体
|
|
2290
|
+
*/
|
|
2291
|
+
export interface DescribeBatchOrganizationRegistrationUrlsRequest {
|
|
2292
|
+
/**
|
|
2293
|
+
* 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
|
2294
|
+
|
|
2295
|
+
此接口下面信息必填。
|
|
2296
|
+
<ul>
|
|
2297
|
+
<li>渠道应用标识: Agent.AppId</li>
|
|
2298
|
+
<li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li>
|
|
2299
|
+
<li>第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId</li>
|
|
2300
|
+
</ul>
|
|
2301
|
+
第三方平台子客企业和员工必须已经经过实名认证
|
|
2302
|
+
*/
|
|
2303
|
+
Agent: Agent
|
|
2304
|
+
/**
|
|
2305
|
+
* 通过接口CreateBatchOrganizationRegistrationTasks创建企业批量认证链接任得到的任务Id
|
|
2306
|
+
*/
|
|
2307
|
+
TaskId: string
|
|
2308
|
+
}
|
|
2309
|
+
|
|
2288
2310
|
/**
|
|
2289
2311
|
* PrepareFlows返回参数结构体
|
|
2290
2312
|
*/
|
|
@@ -2667,6 +2689,29 @@ export interface StaffRole {
|
|
|
2667
2689
|
RoleName: string
|
|
2668
2690
|
}
|
|
2669
2691
|
|
|
2692
|
+
/**
|
|
2693
|
+
* CreateBatchOrganizationRegistrationTasks返回参数结构体
|
|
2694
|
+
*/
|
|
2695
|
+
export interface CreateBatchOrganizationRegistrationTasksResponse {
|
|
2696
|
+
/**
|
|
2697
|
+
* 生成注册链接的任务Id,
|
|
2698
|
+
根据这个id, 调用DescribeBatchOrganizationRegistrationUrls 获取生成的链接,进入认证流程
|
|
2699
|
+
若存在其中任意一条链接错误,则返回具体的错误描述, 不会返回TaskId
|
|
2700
|
+
*/
|
|
2701
|
+
TaskId?: string
|
|
2702
|
+
/**
|
|
2703
|
+
* 批量生成企业认证链接的详细错误信息,
|
|
2704
|
+
顺序与输入参数保持一致。
|
|
2705
|
+
若企业认证均成功生成,则不返回错误信息;
|
|
2706
|
+
若存在任何错误,则返回具体的错误描述。
|
|
2707
|
+
*/
|
|
2708
|
+
ErrorMessages?: Array<string>
|
|
2709
|
+
/**
|
|
2710
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2711
|
+
*/
|
|
2712
|
+
RequestId?: string
|
|
2713
|
+
}
|
|
2714
|
+
|
|
2670
2715
|
/**
|
|
2671
2716
|
* ChannelVerifyPdf请求参数结构体
|
|
2672
2717
|
*/
|
|
@@ -2957,6 +3002,25 @@ export interface DescribeTemplatesRequest {
|
|
|
2957
3002
|
Operator?: UserInfo
|
|
2958
3003
|
}
|
|
2959
3004
|
|
|
3005
|
+
/**
|
|
3006
|
+
* 企业批量注册链接信息
|
|
3007
|
+
*/
|
|
3008
|
+
export interface OrganizationAuthUrl {
|
|
3009
|
+
/**
|
|
3010
|
+
* 跳转链接, 链接的有效期根据企业,员工状态和终端等有区别, 可以参考下表
|
|
3011
|
+
<table> <thead> <tr> <th>子客企业状态</th> <th>子客企业员工状态</th> <th>Endpoint</th> <th>链接有效期限</th> </tr> </thead> <tbody> <tr> <td>企业未激活</td> <td>员工未认证</td> <td>PC</td> <td>5分钟</td> </tr> <tr> <td>企业未激活</td> <td>员工未认证</td> <td>CHANNEL/SHORT_URL/APP</td> <td>一年</td> </tr> <tr> <td>企业已激活</td> <td>员工未认证</td> <td>PC</td> <td>5分钟</td> </tr> <tr> <td>企业已激活</td> <td>员工未认证</td> <td>CHANNEL/SHORT_URL/APP</td> <td>一年</td> </tr> <tr> <td>企业已激活</td> <td>员工已认证</td> <td>PC</td> <td>5分钟</td> </tr> <tr> <td>企业已激活</td> <td>员工已认证</td> <td>CHANNEL/SHORT_URL/APP</td> <td>一年</td> </tr> </tbody> </table>
|
|
3012
|
+
注:
|
|
3013
|
+
`1.链接仅单次有效,每次登录需要需要重新创建新的链接`
|
|
3014
|
+
`2.创建的链接应避免被转义,如:&被转义为\u0026;如使用Postman请求后,请选择响应类型为 JSON,否则链接将被转义`
|
|
3015
|
+
|
|
3016
|
+
*/
|
|
3017
|
+
AuthUrl?: string
|
|
3018
|
+
/**
|
|
3019
|
+
* 企业批量注册的错误信息,例如:企业三要素不通过
|
|
3020
|
+
*/
|
|
3021
|
+
ErrorMessage?: string
|
|
3022
|
+
}
|
|
3023
|
+
|
|
2960
3024
|
/**
|
|
2961
3025
|
* 企业员工信息
|
|
2962
3026
|
*/
|
|
@@ -4378,6 +4442,64 @@ export interface CreateSignUrlsRequest {
|
|
|
4378
4442
|
RecipientIds?: Array<string>
|
|
4379
4443
|
}
|
|
4380
4444
|
|
|
4445
|
+
/**
|
|
4446
|
+
* 企业认证信息参数, 需要保证这些参数跟营业执照中的信息一致。
|
|
4447
|
+
*/
|
|
4448
|
+
export interface RegistrationOrganizationInfo {
|
|
4449
|
+
/**
|
|
4450
|
+
* 组织机构名称。
|
|
4451
|
+
请确认该名称与企业营业执照中注册的名称一致。
|
|
4452
|
+
如果名称中包含英文括号(),请使用中文括号()代替。
|
|
4453
|
+
*/
|
|
4454
|
+
OrganizationName: string
|
|
4455
|
+
/**
|
|
4456
|
+
* 机构在贵司业务系统中的唯一标识,用于与腾讯电子签企业账号进行映射,确保在同一应用内不会出现重复。
|
|
4457
|
+
该标识最大长度为64位字符串,仅支持包含26个英文字母和数字0-9的字符。
|
|
4458
|
+
*/
|
|
4459
|
+
OrganizationOpenId: string
|
|
4460
|
+
/**
|
|
4461
|
+
* 员工在贵司业务系统中的唯一身份标识,用于与腾讯电子签账号进行映射,确保在同一应用内不会出现重复。
|
|
4462
|
+
该标识最大长度为64位字符串,仅支持包含26个英文字母和数字0-9的字符。
|
|
4463
|
+
*/
|
|
4464
|
+
OpenId: string
|
|
4465
|
+
/**
|
|
4466
|
+
* 组织机构企业统一社会信用代码。
|
|
4467
|
+
请确认该企业统一社会信用代码与企业营业执照中注册的统一社会信用代码一致。
|
|
4468
|
+
*/
|
|
4469
|
+
UniformSocialCreditCode: string
|
|
4470
|
+
/**
|
|
4471
|
+
* 组织机构法人的姓名。
|
|
4472
|
+
请确认该企业统一社会信用代码与企业营业执照中注册的法人姓名一致。
|
|
4473
|
+
*/
|
|
4474
|
+
LegalName: string
|
|
4475
|
+
/**
|
|
4476
|
+
* 组织机构企业注册地址。
|
|
4477
|
+
请确认该企业注册地址与企业营业执照中注册的地址一致。
|
|
4478
|
+
*/
|
|
4479
|
+
Address: string
|
|
4480
|
+
/**
|
|
4481
|
+
* 组织机构超管姓名。
|
|
4482
|
+
在注册流程中,必须是超管本人进行操作。
|
|
4483
|
+
如果法人做为超管管理组织机构,超管姓名就是法人姓名
|
|
4484
|
+
*/
|
|
4485
|
+
AdminName?: string
|
|
4486
|
+
/**
|
|
4487
|
+
* 组织机构超管姓名。
|
|
4488
|
+
在注册流程中,这个手机号必须跟操作人在电子签注册的个人手机号一致。
|
|
4489
|
+
*/
|
|
4490
|
+
AdminMobile?: string
|
|
4491
|
+
/**
|
|
4492
|
+
* 可选的此企业允许的授权方式, 可以设置的方式有:
|
|
4493
|
+
1:上传授权书+对公打款
|
|
4494
|
+
2:法人授权/认证 会根据当前操作人的身份判定,如果当前操作人是法人,则是法人认证, 如果当前操作人不是法人,则走法人授权
|
|
4495
|
+
|
|
4496
|
+
注:
|
|
4497
|
+
`1. 当前仅支持一种认证方式`
|
|
4498
|
+
`2. 如果当前的企业类型是政府/事业单位, 则只支持上传授权书+对公打款`
|
|
4499
|
+
*/
|
|
4500
|
+
AuthorizationTypes?: Array<number | bigint>
|
|
4501
|
+
}
|
|
4502
|
+
|
|
4381
4503
|
/**
|
|
4382
4504
|
* ChannelCreateMultiFlowSignQRCode请求参数结构体
|
|
4383
4505
|
*/
|
|
@@ -5361,6 +5483,39 @@ export interface ChannelDeleteRoleRequest {
|
|
|
5361
5483
|
RoleIds: Array<string>
|
|
5362
5484
|
}
|
|
5363
5485
|
|
|
5486
|
+
/**
|
|
5487
|
+
* CreateBatchOrganizationRegistrationTasks请求参数结构体
|
|
5488
|
+
*/
|
|
5489
|
+
export interface CreateBatchOrganizationRegistrationTasksRequest {
|
|
5490
|
+
/**
|
|
5491
|
+
* 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
|
5492
|
+
|
|
5493
|
+
此接口下面信息必填。
|
|
5494
|
+
<ul>
|
|
5495
|
+
<li>渠道应用标识: Agent.AppId</li>
|
|
5496
|
+
<li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li>
|
|
5497
|
+
<li>第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId</li>
|
|
5498
|
+
</ul>
|
|
5499
|
+
第三方平台子客企业和员工必须已经经过实名认证
|
|
5500
|
+
*/
|
|
5501
|
+
Agent: Agent
|
|
5502
|
+
/**
|
|
5503
|
+
* 当前应用下子客的组织机构注册信息。
|
|
5504
|
+
一次最多支持10条认证流
|
|
5505
|
+
*/
|
|
5506
|
+
RegistrationOrganizations: Array<RegistrationOrganizationInfo>
|
|
5507
|
+
/**
|
|
5508
|
+
* 生成链接的类型:
|
|
5509
|
+
<ul><li>**PC**:(默认)web控制台链接, 需要在PC浏览器中打开</li>
|
|
5510
|
+
<li>**CHANNEL**:H5跳转到电子签小程序链接, 一般用于发送短信中带的链接, 打开后进入腾讯电子签小程序</li>
|
|
5511
|
+
<li>**SHORT_URL**:H5跳转到电子签小程序链接的短链形式, 一般用于发送短信中带的链接, 打开后进入腾讯电子签小程序</li>
|
|
5512
|
+
<li>**APP**:第三方APP或小程序跳转电子签小程序链接, 一般用于贵方小程序或者APP跳转过来, 打开后进入腾讯电子签小程序</li></ul>
|
|
5513
|
+
示例值:PC
|
|
5514
|
+
|
|
5515
|
+
*/
|
|
5516
|
+
Endpoint?: string
|
|
5517
|
+
}
|
|
5518
|
+
|
|
5364
5519
|
/**
|
|
5365
5520
|
* ChannelCreateBatchQuickSignUrl返回参数结构体
|
|
5366
5521
|
*/
|
|
@@ -6552,6 +6707,20 @@ export interface CreateFlowsByTemplatesRequest {
|
|
|
6552
6707
|
Operator?: UserInfo
|
|
6553
6708
|
}
|
|
6554
6709
|
|
|
6710
|
+
/**
|
|
6711
|
+
* DescribeBatchOrganizationRegistrationUrls返回参数结构体
|
|
6712
|
+
*/
|
|
6713
|
+
export interface DescribeBatchOrganizationRegistrationUrlsResponse {
|
|
6714
|
+
/**
|
|
6715
|
+
* 企业批量注册链接信息
|
|
6716
|
+
*/
|
|
6717
|
+
OrganizationAuthUrls?: Array<OrganizationAuthUrl>
|
|
6718
|
+
/**
|
|
6719
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6720
|
+
*/
|
|
6721
|
+
RequestId?: string
|
|
6722
|
+
}
|
|
6723
|
+
|
|
6555
6724
|
/**
|
|
6556
6725
|
* UploadFiles请求参数结构体
|
|
6557
6726
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { SyncProxyOrganizationResponse, ChannelCreateConvertTaskApiResponse, ChannelCreateFlowRemindsResponse, ChannelDeleteSealPoliciesRequest, ChannelBatchCancelFlowsResponse, ChannelDisableUserAutoSignResponse, ChannelCreateFlowGroupByTemplatesResponse, ChannelCreateFlowSignReviewRequest, DescribeFlowDetailInfoRequest, ChannelCancelUserAutoSignEnableUrlResponse, ModifyExtendedServiceRequest, DescribeResourceUrlsByFlowsRequest, CreateChannelOrganizationInfoChangeUrlResponse, ChannelCreateFlowSignUrlResponse, ChannelCreateBatchSignUrlResponse, ChannelCreatePrepareFlowResponse, OperateChannelTemplateResponse, ChannelCreateRoleRequest, CreateConsoleLoginUrlResponse, ChannelDeleteRoleUsersRequest, ChannelCreateUserRolesResponse, SyncProxyOrganizationRequest, ChannelCreatePrepareFlowRequest, ChannelCreateFlowRemindsRequest, ChannelCreateSealPolicyResponse, ChannelCancelFlowResponse, ChannelCreateWebThemeConfigRequest, ChannelCreateConvertTaskApiRequest, ChannelCreateFlowByFilesRequest, UploadFilesResponse, ChannelCreatePreparedPersonalEsignResponse, DescribeResourceUrlsByFlowsResponse, ChannelCreateFlowGroupByFilesRequest, ChannelCreateOrganizationModifyQrCodeRequest, ChannelCreateFlowByFilesResponse, DescribeFlowDetailInfoResponse, ChannelDescribeRolesRequest, PrepareFlowsResponse, ChannelCancelFlowRequest, ChannelCreateOrganizationBatchSignUrlRequest, GetDownloadFlowUrlResponse, DescribeTemplatesResponse, ChannelVerifyPdfRequest, CreateChannelFlowEvidenceReportRequest, ChannelDescribeBillUsageDetailRequest, ChannelCancelUserAutoSignEnableUrlRequest, DescribeTemplatesRequest, ChannelVerifyPdfResponse, CreateConsoleLoginUrlRequest, ChannelCreateUserAutoSignSealUrlRequest, ChannelCreateUserAutoSignEnableUrlRequest, ChannelCancelMultiFlowSignQRCodeRequest, ChannelDescribeOrganizationSealsRequest, DescribeUsageRequest, DescribeExtendedServiceAuthInfoRequest, DescribeChannelSealPolicyWorkflowUrlRequest, ChannelCreateBoundFlowsResponse, ChannelCreateUserAutoSignSealUrlResponse, ChannelCreateBatchQuickSignUrlRequest, ChannelCreateBoundFlowsRequest, ChannelDescribeEmployeesRequest, ChannelDeleteRoleUsersResponse, SyncProxyOrganizationOperatorsRequest, ChannelCreateFlowApproversResponse, DescribeBillUsageDetailResponse, DescribeUsageResponse, CreateSignUrlsRequest, ChannelCreateMultiFlowSignQRCodeRequest, ChannelCreateUserAutoSignEnableUrlResponse, ChannelGetTaskResultApiRequest, DescribeChannelOrganizationsRequest, ChannelCreatePreparedPersonalEsignRequest, ChannelDescribeBillUsageDetailResponse, CreateFlowsByTemplatesResponse, DescribeChannelFlowEvidenceReportRequest, ChannelCreateRoleResponse, SyncProxyOrganizationOperatorsResponse, ChannelDescribeUserAutoSignStatusRequest, ChannelModifyRoleResponse, CreateSignUrlsResponse, ChannelDeleteRoleRequest, ChannelCreateBatchQuickSignUrlResponse, ChannelCreateBatchCancelFlowUrlRequest, PrepareFlowsRequest, ChannelCreateFlowSignReviewResponse, ChannelDisableUserAutoSignRequest, ChannelDescribeOrganizationSealsResponse, CreateSealByImageResponse, ChannelCancelMultiFlowSignQRCodeResponse, ChannelDescribeRolesResponse, ChannelCreateReleaseFlowRequest, ChannelDescribeFlowComponentsResponse, ChannelCreateFlowGroupByFilesResponse, ChannelCreateMultiFlowSignQRCodeResponse, ChannelDescribeUserAutoSignStatusResponse, ModifyExtendedServiceResponse, ChannelCreateUserRolesRequest, ChannelGetTaskResultApiResponse, ChannelCreateBatchSignUrlRequest, ChannelCreateOrganizationModifyQrCodeResponse, ChannelDeleteSealPoliciesResponse, ChannelCreateWebThemeConfigResponse, GetDownloadFlowUrlRequest, ChannelCreateEmbedWebUrlResponse, ChannelBatchCancelFlowsRequest, CreateChannelOrganizationInfoChangeUrlRequest, ChannelModifyRoleRequest, ChannelUpdateSealStatusRequest, ChannelCreateFlowGroupByTemplatesRequest, DescribeBillUsageDetailRequest, ChannelCreateSealPolicyRequest, CreateFlowsByTemplatesRequest, UploadFilesRequest, DescribeChannelOrganizationsResponse, ChannelCreateOrganizationBatchSignUrlResponse, ChannelCreateBatchCancelFlowUrlResponse, OperateChannelTemplateRequest, DescribeChannelSealPolicyWorkflowUrlResponse, CreateChannelFlowEvidenceReportResponse, ChannelDescribeEmployeesResponse, ChannelDeleteRoleResponse, ChannelCreateReleaseFlowResponse, DescribeChannelFlowEvidenceReportResponse, CreateSealByImageRequest, ChannelCreateFlowApproversRequest, ChannelUpdateSealStatusResponse, ChannelCreateFlowSignUrlRequest, DescribeExtendedServiceAuthInfoResponse, ChannelCreateEmbedWebUrlRequest, ChannelDescribeFlowComponentsRequest } from "./essbasic_models";
|
|
2
|
+
import { SyncProxyOrganizationResponse, ChannelCreateConvertTaskApiResponse, ChannelCreateFlowRemindsResponse, ChannelDeleteSealPoliciesRequest, ChannelBatchCancelFlowsResponse, ChannelDisableUserAutoSignResponse, ChannelCreateFlowGroupByTemplatesResponse, ChannelCreateFlowSignReviewRequest, DescribeFlowDetailInfoRequest, ChannelCancelUserAutoSignEnableUrlResponse, ModifyExtendedServiceRequest, DescribeResourceUrlsByFlowsRequest, CreateChannelOrganizationInfoChangeUrlResponse, ChannelCreateFlowSignUrlResponse, ChannelCreateBatchSignUrlResponse, ChannelCreatePrepareFlowResponse, OperateChannelTemplateResponse, ChannelCreateRoleRequest, CreateConsoleLoginUrlResponse, ChannelDeleteRoleUsersRequest, ChannelCreateUserRolesResponse, SyncProxyOrganizationRequest, ChannelCreatePrepareFlowRequest, ChannelCreateFlowRemindsRequest, ChannelCreateSealPolicyResponse, ChannelCancelFlowResponse, ChannelCreateWebThemeConfigRequest, ChannelCreateConvertTaskApiRequest, ChannelCreateFlowByFilesRequest, UploadFilesResponse, ChannelCreatePreparedPersonalEsignResponse, DescribeResourceUrlsByFlowsResponse, ChannelCreateFlowGroupByFilesRequest, ChannelCreateOrganizationModifyQrCodeRequest, ChannelCreateFlowByFilesResponse, DescribeFlowDetailInfoResponse, ChannelDescribeRolesRequest, DescribeBatchOrganizationRegistrationUrlsRequest, PrepareFlowsResponse, ChannelCancelFlowRequest, ChannelCreateOrganizationBatchSignUrlRequest, GetDownloadFlowUrlResponse, DescribeTemplatesResponse, CreateBatchOrganizationRegistrationTasksResponse, ChannelVerifyPdfRequest, CreateChannelFlowEvidenceReportRequest, ChannelDescribeBillUsageDetailRequest, ChannelCancelUserAutoSignEnableUrlRequest, DescribeTemplatesRequest, ChannelVerifyPdfResponse, CreateConsoleLoginUrlRequest, ChannelCreateUserAutoSignSealUrlRequest, ChannelCreateUserAutoSignEnableUrlRequest, ChannelCancelMultiFlowSignQRCodeRequest, ChannelDescribeOrganizationSealsRequest, DescribeUsageRequest, DescribeExtendedServiceAuthInfoRequest, DescribeChannelSealPolicyWorkflowUrlRequest, ChannelCreateBoundFlowsResponse, ChannelCreateUserAutoSignSealUrlResponse, ChannelCreateBatchQuickSignUrlRequest, ChannelCreateBoundFlowsRequest, ChannelDescribeEmployeesRequest, ChannelDeleteRoleUsersResponse, SyncProxyOrganizationOperatorsRequest, ChannelCreateFlowApproversResponse, DescribeBillUsageDetailResponse, DescribeUsageResponse, CreateSignUrlsRequest, ChannelCreateMultiFlowSignQRCodeRequest, ChannelCreateUserAutoSignEnableUrlResponse, ChannelGetTaskResultApiRequest, DescribeChannelOrganizationsRequest, ChannelCreatePreparedPersonalEsignRequest, ChannelDescribeBillUsageDetailResponse, CreateFlowsByTemplatesResponse, DescribeChannelFlowEvidenceReportRequest, ChannelCreateRoleResponse, SyncProxyOrganizationOperatorsResponse, ChannelDescribeUserAutoSignStatusRequest, ChannelModifyRoleResponse, CreateSignUrlsResponse, ChannelDeleteRoleRequest, CreateBatchOrganizationRegistrationTasksRequest, ChannelCreateBatchQuickSignUrlResponse, ChannelCreateBatchCancelFlowUrlRequest, PrepareFlowsRequest, ChannelCreateFlowSignReviewResponse, ChannelDisableUserAutoSignRequest, ChannelDescribeOrganizationSealsResponse, CreateSealByImageResponse, ChannelCancelMultiFlowSignQRCodeResponse, ChannelDescribeRolesResponse, ChannelCreateReleaseFlowRequest, ChannelDescribeFlowComponentsResponse, ChannelCreateFlowGroupByFilesResponse, ChannelCreateMultiFlowSignQRCodeResponse, ChannelDescribeUserAutoSignStatusResponse, ModifyExtendedServiceResponse, ChannelCreateUserRolesRequest, ChannelGetTaskResultApiResponse, ChannelCreateBatchSignUrlRequest, ChannelCreateOrganizationModifyQrCodeResponse, ChannelDeleteSealPoliciesResponse, ChannelCreateWebThemeConfigResponse, GetDownloadFlowUrlRequest, ChannelCreateEmbedWebUrlResponse, ChannelBatchCancelFlowsRequest, CreateChannelOrganizationInfoChangeUrlRequest, ChannelModifyRoleRequest, ChannelUpdateSealStatusRequest, ChannelCreateFlowGroupByTemplatesRequest, DescribeBillUsageDetailRequest, ChannelCreateSealPolicyRequest, CreateFlowsByTemplatesRequest, DescribeBatchOrganizationRegistrationUrlsResponse, UploadFilesRequest, DescribeChannelOrganizationsResponse, ChannelCreateOrganizationBatchSignUrlResponse, ChannelCreateBatchCancelFlowUrlResponse, OperateChannelTemplateRequest, DescribeChannelSealPolicyWorkflowUrlResponse, CreateChannelFlowEvidenceReportResponse, ChannelDescribeEmployeesResponse, ChannelDeleteRoleResponse, ChannelCreateReleaseFlowResponse, DescribeChannelFlowEvidenceReportResponse, CreateSealByImageRequest, ChannelCreateFlowApproversRequest, ChannelUpdateSealStatusResponse, ChannelCreateFlowSignUrlRequest, DescribeExtendedServiceAuthInfoResponse, ChannelCreateEmbedWebUrlRequest, ChannelDescribeFlowComponentsRequest } from "./essbasic_models";
|
|
3
3
|
/**
|
|
4
4
|
* essbasic client
|
|
5
5
|
* @class
|
|
@@ -136,6 +136,14 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
136
136
|
`2. 不同类型的签署方传参不同, 可以参考开发者中心的FlowApproverInfo结构体说明`
|
|
137
137
|
*/
|
|
138
138
|
ChannelCreateFlowByFiles(req: ChannelCreateFlowByFilesRequest, cb?: (error: string, rep: ChannelCreateFlowByFilesResponse) => void): Promise<ChannelCreateFlowByFilesResponse>;
|
|
139
|
+
/**
|
|
140
|
+
* 此接口用于获取企业批量认证异步任务的状态及结果。
|
|
141
|
+
|
|
142
|
+
前提条件:已调用 CreateBatchOrganizationRegistrationTasks创建企业批量认证链接任务接口,并得到了任务Id。
|
|
143
|
+
|
|
144
|
+
异步任务的处理完成时间视当前已提交的任务量、任务的复杂程度等因素决定,正常情况下 3~5 秒即可完成,但也可能需要更长的时间
|
|
145
|
+
*/
|
|
146
|
+
DescribeBatchOrganizationRegistrationUrls(req: DescribeBatchOrganizationRegistrationUrlsRequest, cb?: (error: string, rep: DescribeBatchOrganizationRegistrationUrlsResponse) => void): Promise<DescribeBatchOrganizationRegistrationUrlsResponse>;
|
|
139
147
|
/**
|
|
140
148
|
* 1. 可以**通过图片**为子客企业代创建印章,图片最大5MB
|
|
141
149
|
|
|
@@ -342,6 +350,26 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
342
350
|
>2. TemplateId 和TemplateIds互为独立,若两个参数都传入,则以TemplateId为准
|
|
343
351
|
*/
|
|
344
352
|
DescribeTemplates(req: DescribeTemplatesRequest, cb?: (error: string, rep: DescribeTemplatesResponse) => void): Promise<DescribeTemplatesResponse>;
|
|
353
|
+
/**
|
|
354
|
+
* 本接口(CreateBatchOrganizationRegistrationTasks)用于批量创建企业认证链接
|
|
355
|
+
该接口为异步提交任务接口,需要跟查询企业批量认证链接(DescribeBatchOrganizationRegistrationUrls) 配合使用.
|
|
356
|
+
|
|
357
|
+
批量创建链接有以下限制:
|
|
358
|
+
1. 单次最多创建10个子客。
|
|
359
|
+
2. 一天同一家企业最多创建8000个子客。
|
|
360
|
+
3. 同一批创建的子客不能重复 其中包括 企业名称,企业统一信用代码,子客经办人openId。
|
|
361
|
+
4. 跳转到小程序的实现,参考微信官方文档(分为全屏、半屏两种方式),如何配置也可以请参考: 跳转电子签小程序配置
|
|
362
|
+
|
|
363
|
+
注: 1. 如果生成的链接是APP链接,跳转到小程序的实现,参考微信官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>
|
|
364
|
+
|
|
365
|
+
**腾讯电子签小程序的AppID 和 原始Id如下:**
|
|
366
|
+
|
|
367
|
+
| 小程序 | AppID | 原始ID |
|
|
368
|
+
| ------------ | ------------ | ------------ |
|
|
369
|
+
| 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |
|
|
370
|
+
| 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |
|
|
371
|
+
*/
|
|
372
|
+
CreateBatchOrganizationRegistrationTasks(req: CreateBatchOrganizationRegistrationTasksRequest, cb?: (error: string, rep: CreateBatchOrganizationRegistrationTasksResponse) => void): Promise<CreateBatchOrganizationRegistrationTasksResponse>;
|
|
345
373
|
/**
|
|
346
374
|
* 此接口(UploadFiles)文件上传。<br/>
|
|
347
375
|
|
|
@@ -169,6 +169,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
169
169
|
async ChannelCreateFlowByFiles(req, cb) {
|
|
170
170
|
return this.request("ChannelCreateFlowByFiles", req, cb);
|
|
171
171
|
}
|
|
172
|
+
/**
|
|
173
|
+
* 此接口用于获取企业批量认证异步任务的状态及结果。
|
|
174
|
+
|
|
175
|
+
前提条件:已调用 CreateBatchOrganizationRegistrationTasks创建企业批量认证链接任务接口,并得到了任务Id。
|
|
176
|
+
|
|
177
|
+
异步任务的处理完成时间视当前已提交的任务量、任务的复杂程度等因素决定,正常情况下 3~5 秒即可完成,但也可能需要更长的时间
|
|
178
|
+
*/
|
|
179
|
+
async DescribeBatchOrganizationRegistrationUrls(req, cb) {
|
|
180
|
+
return this.request("DescribeBatchOrganizationRegistrationUrls", req, cb);
|
|
181
|
+
}
|
|
172
182
|
/**
|
|
173
183
|
* 1. 可以**通过图片**为子客企业代创建印章,图片最大5MB
|
|
174
184
|
|
|
@@ -405,6 +415,28 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
405
415
|
async DescribeTemplates(req, cb) {
|
|
406
416
|
return this.request("DescribeTemplates", req, cb);
|
|
407
417
|
}
|
|
418
|
+
/**
|
|
419
|
+
* 本接口(CreateBatchOrganizationRegistrationTasks)用于批量创建企业认证链接
|
|
420
|
+
该接口为异步提交任务接口,需要跟查询企业批量认证链接(DescribeBatchOrganizationRegistrationUrls) 配合使用.
|
|
421
|
+
|
|
422
|
+
批量创建链接有以下限制:
|
|
423
|
+
1. 单次最多创建10个子客。
|
|
424
|
+
2. 一天同一家企业最多创建8000个子客。
|
|
425
|
+
3. 同一批创建的子客不能重复 其中包括 企业名称,企业统一信用代码,子客经办人openId。
|
|
426
|
+
4. 跳转到小程序的实现,参考微信官方文档(分为全屏、半屏两种方式),如何配置也可以请参考: 跳转电子签小程序配置
|
|
427
|
+
|
|
428
|
+
注: 1. 如果生成的链接是APP链接,跳转到小程序的实现,参考微信官方文档(分为<a href="https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html">全屏</a>、<a href="https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html">半屏</a>两种方式),如何配置也可以请参考: <a href="https://qian.tencent.com/developers/company/openwxminiprogram">跳转电子签小程序配置</a>
|
|
429
|
+
|
|
430
|
+
**腾讯电子签小程序的AppID 和 原始Id如下:**
|
|
431
|
+
|
|
432
|
+
| 小程序 | AppID | 原始ID |
|
|
433
|
+
| ------------ | ------------ | ------------ |
|
|
434
|
+
| 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |
|
|
435
|
+
| 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |
|
|
436
|
+
*/
|
|
437
|
+
async CreateBatchOrganizationRegistrationTasks(req, cb) {
|
|
438
|
+
return this.request("CreateBatchOrganizationRegistrationTasks", req, cb);
|
|
439
|
+
}
|
|
408
440
|
/**
|
|
409
441
|
* 此接口(UploadFiles)文件上传。<br/>
|
|
410
442
|
|
|
@@ -2214,6 +2214,27 @@ export interface ChannelDescribeRolesRequest {
|
|
|
2214
2214
|
*/
|
|
2215
2215
|
Operator?: UserInfo;
|
|
2216
2216
|
}
|
|
2217
|
+
/**
|
|
2218
|
+
* DescribeBatchOrganizationRegistrationUrls请求参数结构体
|
|
2219
|
+
*/
|
|
2220
|
+
export interface DescribeBatchOrganizationRegistrationUrlsRequest {
|
|
2221
|
+
/**
|
|
2222
|
+
* 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
|
2223
|
+
|
|
2224
|
+
此接口下面信息必填。
|
|
2225
|
+
<ul>
|
|
2226
|
+
<li>渠道应用标识: Agent.AppId</li>
|
|
2227
|
+
<li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li>
|
|
2228
|
+
<li>第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId</li>
|
|
2229
|
+
</ul>
|
|
2230
|
+
第三方平台子客企业和员工必须已经经过实名认证
|
|
2231
|
+
*/
|
|
2232
|
+
Agent: Agent;
|
|
2233
|
+
/**
|
|
2234
|
+
* 通过接口CreateBatchOrganizationRegistrationTasks创建企业批量认证链接任得到的任务Id
|
|
2235
|
+
*/
|
|
2236
|
+
TaskId: string;
|
|
2237
|
+
}
|
|
2217
2238
|
/**
|
|
2218
2239
|
* PrepareFlows返回参数结构体
|
|
2219
2240
|
*/
|
|
@@ -2586,6 +2607,28 @@ export interface StaffRole {
|
|
|
2586
2607
|
*/
|
|
2587
2608
|
RoleName: string;
|
|
2588
2609
|
}
|
|
2610
|
+
/**
|
|
2611
|
+
* CreateBatchOrganizationRegistrationTasks返回参数结构体
|
|
2612
|
+
*/
|
|
2613
|
+
export interface CreateBatchOrganizationRegistrationTasksResponse {
|
|
2614
|
+
/**
|
|
2615
|
+
* 生成注册链接的任务Id,
|
|
2616
|
+
根据这个id, 调用DescribeBatchOrganizationRegistrationUrls 获取生成的链接,进入认证流程
|
|
2617
|
+
若存在其中任意一条链接错误,则返回具体的错误描述, 不会返回TaskId
|
|
2618
|
+
*/
|
|
2619
|
+
TaskId?: string;
|
|
2620
|
+
/**
|
|
2621
|
+
* 批量生成企业认证链接的详细错误信息,
|
|
2622
|
+
顺序与输入参数保持一致。
|
|
2623
|
+
若企业认证均成功生成,则不返回错误信息;
|
|
2624
|
+
若存在任何错误,则返回具体的错误描述。
|
|
2625
|
+
*/
|
|
2626
|
+
ErrorMessages?: Array<string>;
|
|
2627
|
+
/**
|
|
2628
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2629
|
+
*/
|
|
2630
|
+
RequestId?: string;
|
|
2631
|
+
}
|
|
2589
2632
|
/**
|
|
2590
2633
|
* ChannelVerifyPdf请求参数结构体
|
|
2591
2634
|
*/
|
|
@@ -2870,6 +2913,24 @@ export interface DescribeTemplatesRequest {
|
|
|
2870
2913
|
*/
|
|
2871
2914
|
Operator?: UserInfo;
|
|
2872
2915
|
}
|
|
2916
|
+
/**
|
|
2917
|
+
* 企业批量注册链接信息
|
|
2918
|
+
*/
|
|
2919
|
+
export interface OrganizationAuthUrl {
|
|
2920
|
+
/**
|
|
2921
|
+
* 跳转链接, 链接的有效期根据企业,员工状态和终端等有区别, 可以参考下表
|
|
2922
|
+
<table> <thead> <tr> <th>子客企业状态</th> <th>子客企业员工状态</th> <th>Endpoint</th> <th>链接有效期限</th> </tr> </thead> <tbody> <tr> <td>企业未激活</td> <td>员工未认证</td> <td>PC</td> <td>5分钟</td> </tr> <tr> <td>企业未激活</td> <td>员工未认证</td> <td>CHANNEL/SHORT_URL/APP</td> <td>一年</td> </tr> <tr> <td>企业已激活</td> <td>员工未认证</td> <td>PC</td> <td>5分钟</td> </tr> <tr> <td>企业已激活</td> <td>员工未认证</td> <td>CHANNEL/SHORT_URL/APP</td> <td>一年</td> </tr> <tr> <td>企业已激活</td> <td>员工已认证</td> <td>PC</td> <td>5分钟</td> </tr> <tr> <td>企业已激活</td> <td>员工已认证</td> <td>CHANNEL/SHORT_URL/APP</td> <td>一年</td> </tr> </tbody> </table>
|
|
2923
|
+
注:
|
|
2924
|
+
`1.链接仅单次有效,每次登录需要需要重新创建新的链接`
|
|
2925
|
+
`2.创建的链接应避免被转义,如:&被转义为\u0026;如使用Postman请求后,请选择响应类型为 JSON,否则链接将被转义`
|
|
2926
|
+
|
|
2927
|
+
*/
|
|
2928
|
+
AuthUrl?: string;
|
|
2929
|
+
/**
|
|
2930
|
+
* 企业批量注册的错误信息,例如:企业三要素不通过
|
|
2931
|
+
*/
|
|
2932
|
+
ErrorMessage?: string;
|
|
2933
|
+
}
|
|
2873
2934
|
/**
|
|
2874
2935
|
* 企业员工信息
|
|
2875
2936
|
*/
|
|
@@ -4256,6 +4317,63 @@ export interface CreateSignUrlsRequest {
|
|
|
4256
4317
|
*/
|
|
4257
4318
|
RecipientIds?: Array<string>;
|
|
4258
4319
|
}
|
|
4320
|
+
/**
|
|
4321
|
+
* 企业认证信息参数, 需要保证这些参数跟营业执照中的信息一致。
|
|
4322
|
+
*/
|
|
4323
|
+
export interface RegistrationOrganizationInfo {
|
|
4324
|
+
/**
|
|
4325
|
+
* 组织机构名称。
|
|
4326
|
+
请确认该名称与企业营业执照中注册的名称一致。
|
|
4327
|
+
如果名称中包含英文括号(),请使用中文括号()代替。
|
|
4328
|
+
*/
|
|
4329
|
+
OrganizationName: string;
|
|
4330
|
+
/**
|
|
4331
|
+
* 机构在贵司业务系统中的唯一标识,用于与腾讯电子签企业账号进行映射,确保在同一应用内不会出现重复。
|
|
4332
|
+
该标识最大长度为64位字符串,仅支持包含26个英文字母和数字0-9的字符。
|
|
4333
|
+
*/
|
|
4334
|
+
OrganizationOpenId: string;
|
|
4335
|
+
/**
|
|
4336
|
+
* 员工在贵司业务系统中的唯一身份标识,用于与腾讯电子签账号进行映射,确保在同一应用内不会出现重复。
|
|
4337
|
+
该标识最大长度为64位字符串,仅支持包含26个英文字母和数字0-9的字符。
|
|
4338
|
+
*/
|
|
4339
|
+
OpenId: string;
|
|
4340
|
+
/**
|
|
4341
|
+
* 组织机构企业统一社会信用代码。
|
|
4342
|
+
请确认该企业统一社会信用代码与企业营业执照中注册的统一社会信用代码一致。
|
|
4343
|
+
*/
|
|
4344
|
+
UniformSocialCreditCode: string;
|
|
4345
|
+
/**
|
|
4346
|
+
* 组织机构法人的姓名。
|
|
4347
|
+
请确认该企业统一社会信用代码与企业营业执照中注册的法人姓名一致。
|
|
4348
|
+
*/
|
|
4349
|
+
LegalName: string;
|
|
4350
|
+
/**
|
|
4351
|
+
* 组织机构企业注册地址。
|
|
4352
|
+
请确认该企业注册地址与企业营业执照中注册的地址一致。
|
|
4353
|
+
*/
|
|
4354
|
+
Address: string;
|
|
4355
|
+
/**
|
|
4356
|
+
* 组织机构超管姓名。
|
|
4357
|
+
在注册流程中,必须是超管本人进行操作。
|
|
4358
|
+
如果法人做为超管管理组织机构,超管姓名就是法人姓名
|
|
4359
|
+
*/
|
|
4360
|
+
AdminName?: string;
|
|
4361
|
+
/**
|
|
4362
|
+
* 组织机构超管姓名。
|
|
4363
|
+
在注册流程中,这个手机号必须跟操作人在电子签注册的个人手机号一致。
|
|
4364
|
+
*/
|
|
4365
|
+
AdminMobile?: string;
|
|
4366
|
+
/**
|
|
4367
|
+
* 可选的此企业允许的授权方式, 可以设置的方式有:
|
|
4368
|
+
1:上传授权书+对公打款
|
|
4369
|
+
2:法人授权/认证 会根据当前操作人的身份判定,如果当前操作人是法人,则是法人认证, 如果当前操作人不是法人,则走法人授权
|
|
4370
|
+
|
|
4371
|
+
注:
|
|
4372
|
+
`1. 当前仅支持一种认证方式`
|
|
4373
|
+
`2. 如果当前的企业类型是政府/事业单位, 则只支持上传授权书+对公打款`
|
|
4374
|
+
*/
|
|
4375
|
+
AuthorizationTypes?: Array<number | bigint>;
|
|
4376
|
+
}
|
|
4259
4377
|
/**
|
|
4260
4378
|
* ChannelCreateMultiFlowSignQRCode请求参数结构体
|
|
4261
4379
|
*/
|
|
@@ -5213,6 +5331,38 @@ export interface ChannelDeleteRoleRequest {
|
|
|
5213
5331
|
*/
|
|
5214
5332
|
RoleIds: Array<string>;
|
|
5215
5333
|
}
|
|
5334
|
+
/**
|
|
5335
|
+
* CreateBatchOrganizationRegistrationTasks请求参数结构体
|
|
5336
|
+
*/
|
|
5337
|
+
export interface CreateBatchOrganizationRegistrationTasksRequest {
|
|
5338
|
+
/**
|
|
5339
|
+
* 关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
|
5340
|
+
|
|
5341
|
+
此接口下面信息必填。
|
|
5342
|
+
<ul>
|
|
5343
|
+
<li>渠道应用标识: Agent.AppId</li>
|
|
5344
|
+
<li>第三方平台子客企业标识: Agent.ProxyOrganizationOpenId</li>
|
|
5345
|
+
<li>第三方平台子客企业中的员工标识: Agent. ProxyOperator.OpenId</li>
|
|
5346
|
+
</ul>
|
|
5347
|
+
第三方平台子客企业和员工必须已经经过实名认证
|
|
5348
|
+
*/
|
|
5349
|
+
Agent: Agent;
|
|
5350
|
+
/**
|
|
5351
|
+
* 当前应用下子客的组织机构注册信息。
|
|
5352
|
+
一次最多支持10条认证流
|
|
5353
|
+
*/
|
|
5354
|
+
RegistrationOrganizations: Array<RegistrationOrganizationInfo>;
|
|
5355
|
+
/**
|
|
5356
|
+
* 生成链接的类型:
|
|
5357
|
+
<ul><li>**PC**:(默认)web控制台链接, 需要在PC浏览器中打开</li>
|
|
5358
|
+
<li>**CHANNEL**:H5跳转到电子签小程序链接, 一般用于发送短信中带的链接, 打开后进入腾讯电子签小程序</li>
|
|
5359
|
+
<li>**SHORT_URL**:H5跳转到电子签小程序链接的短链形式, 一般用于发送短信中带的链接, 打开后进入腾讯电子签小程序</li>
|
|
5360
|
+
<li>**APP**:第三方APP或小程序跳转电子签小程序链接, 一般用于贵方小程序或者APP跳转过来, 打开后进入腾讯电子签小程序</li></ul>
|
|
5361
|
+
示例值:PC
|
|
5362
|
+
|
|
5363
|
+
*/
|
|
5364
|
+
Endpoint?: string;
|
|
5365
|
+
}
|
|
5216
5366
|
/**
|
|
5217
5367
|
* ChannelCreateBatchQuickSignUrl返回参数结构体
|
|
5218
5368
|
*/
|
|
@@ -6364,6 +6514,19 @@ export interface CreateFlowsByTemplatesRequest {
|
|
|
6364
6514
|
*/
|
|
6365
6515
|
Operator?: UserInfo;
|
|
6366
6516
|
}
|
|
6517
|
+
/**
|
|
6518
|
+
* DescribeBatchOrganizationRegistrationUrls返回参数结构体
|
|
6519
|
+
*/
|
|
6520
|
+
export interface DescribeBatchOrganizationRegistrationUrlsResponse {
|
|
6521
|
+
/**
|
|
6522
|
+
* 企业批量注册链接信息
|
|
6523
|
+
*/
|
|
6524
|
+
OrganizationAuthUrls?: Array<OrganizationAuthUrl>;
|
|
6525
|
+
/**
|
|
6526
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
6527
|
+
*/
|
|
6528
|
+
RequestId?: string;
|
|
6529
|
+
}
|
|
6367
6530
|
/**
|
|
6368
6531
|
* UploadFiles请求参数结构体
|
|
6369
6532
|
*/
|