tencentcloud-sdk-nodejs 4.0.698 → 4.0.700
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 +320 -0
- package/SERVICE_CHANGELOG.md +287 -69
- package/package.json +1 -1
- package/products.md +16 -16
- package/src/common/sdk_version.ts +1 -1
- package/src/services/as/v20180419/as_client.ts +117 -12
- package/src/services/as/v20180419/as_models.ts +425 -66
- package/src/services/cls/v20201016/cls_client.ts +2 -3
- package/src/services/emr/v20190103/emr_client.ts +1 -0
- package/src/services/emr/v20190103/emr_models.ts +24 -3
- package/src/services/ess/v20201111/ess_client.ts +36 -24
- package/src/services/ess/v20201111/ess_models.ts +111 -72
- package/src/services/essbasic/v20210526/essbasic_client.ts +16 -4
- package/src/services/essbasic/v20210526/essbasic_models.ts +33 -0
- package/src/services/iai/v20200303/iai_client.ts +0 -1
- package/src/services/iai/v20200303/iai_models.ts +46 -46
- package/src/services/live/v20180801/live_client.ts +1 -2
- package/src/services/live/v20180801/live_models.ts +5 -0
- package/src/services/mps/v20190612/mps_models.ts +59 -29
- package/src/services/ocr/v20181119/ocr_models.ts +6 -6
- package/src/services/tcb/v20180608/tcb_client.ts +3 -1
- package/src/services/tcb/v20180608/tcb_models.ts +43 -6
- package/src/services/teo/v20220901/teo_models.ts +2 -8
- package/src/services/tke/v20180525/tke_client.ts +179 -63
- package/src/services/tke/v20180525/tke_models.ts +862 -145
- package/src/services/vpc/v20170312/vpc_client.ts +3 -3
- package/src/services/vpc/v20170312/vpc_models.ts +67 -3
- package/src/services/waf/v20180125/waf_models.ts +5 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/as/v20180419/as_client.d.ts +48 -4
- package/tencentcloud/services/as/v20180419/as_client.js +62 -4
- package/tencentcloud/services/as/v20180419/as_models.d.ts +406 -66
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +0 -1
- package/tencentcloud/services/cls/v20201016/cls_client.js +0 -1
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +23 -3
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +22 -18
- package/tencentcloud/services/ess/v20201111/ess_client.js +24 -18
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +109 -72
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +9 -5
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +10 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +31 -0
- package/tencentcloud/services/iai/v20200303/iai_client.d.ts +0 -1
- package/tencentcloud/services/iai/v20200303/iai_client.js +0 -1
- package/tencentcloud/services/iai/v20200303/iai_models.d.ts +46 -46
- package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -2
- package/tencentcloud/services/live/v20180801/live_client.js +1 -2
- package/tencentcloud/services/live/v20180801/live_models.d.ts +5 -0
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +59 -29
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +6 -6
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +1 -1
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +41 -6
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +2 -8
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +55 -19
- package/tencentcloud/services/tke/v20180525/tke_client.js +81 -27
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +844 -153
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +3 -3
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +67 -3
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +5 -0
- package/test/as.v20180419.test.js +72 -2
- package/test/ess.v20201111.test.js +12 -2
- package/test/essbasic.v20210526.test.js +10 -0
- package/test/tke.v20180525.test.js +108 -18
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { DescribePersonCertificateResponse, CreateSealRequest, ModifyIntegrationDepartmentResponse, CancelFlowResponse, DescribeFlowEvidenceReportRequest, UpdateIntegrationEmployeesResponse, CreatePreparedPersonalEsignRequest, DescribeIntegrationDepartmentsResponse, CreateFlowApproversResponse, DescribeFileUrlsResponse, ModifyApplicationCallbackInfoResponse, CreateMultiFlowSignQRCodeResponse, DescribeThirdPartyAuthCodeResponse, DisableUserAutoSignResponse, CancelUserAutoSignEnableUrlResponse, BindEmployeeUserIdWithClientOpenIdResponse, CreateIntegrationEmployeesRequest, DescribeIntegrationRolesRequest, CreateFlowEvidenceReportRequest, StartFlowResponse, CreateIntegrationRoleRequest, DeleteIntegrationRoleUsersResponse, CreateConvertTaskApiRequest, DeleteIntegrationEmployeesResponse, CreateBatchSignUrlResponse, CreateFlowRemindsResponse, DescribeOrganizationGroupOrganizationsRequest, CreateFlowGroupByFilesRequest, DescribeFlowComponentsResponse, DescribeFlowEvidenceReportResponse, DeleteSealPoliciesRequest, CreateFlowGroupByTemplatesResponse, CreateDocumentResponse, DescribeIntegrationEmployeesRequest, CreateIntegrationUserRolesResponse, CreateFlowRequest, CreateSchemeUrlRequest, DeleteIntegrationDepartmentResponse, DescribeThirdPartyAuthCodeRequest, UnbindEmployeeUserIdWithClientOpenIdResponse, CreateReleaseFlowResponse, CreateWebThemeConfigResponse, BindEmployeeUserIdWithClientOpenIdRequest,
|
|
3
|
+
import { DescribePersonCertificateResponse, CreateSealRequest, ModifyIntegrationDepartmentResponse, CancelFlowResponse, DescribeFlowEvidenceReportRequest, UpdateIntegrationEmployeesResponse, CreatePreparedPersonalEsignRequest, DescribeIntegrationDepartmentsResponse, CreateFlowApproversResponse, DescribeFileUrlsResponse, ModifyApplicationCallbackInfoResponse, CreateMultiFlowSignQRCodeResponse, DescribeThirdPartyAuthCodeResponse, DisableUserAutoSignResponse, CancelUserAutoSignEnableUrlResponse, BindEmployeeUserIdWithClientOpenIdResponse, CreateIntegrationEmployeesRequest, DescribeIntegrationRolesRequest, CreateFlowEvidenceReportRequest, StartFlowResponse, CreateIntegrationRoleRequest, DeleteIntegrationRoleUsersResponse, CreateConvertTaskApiRequest, DeleteIntegrationEmployeesResponse, CreateBatchSignUrlResponse, CreateFlowRemindsResponse, DescribeOrganizationGroupOrganizationsRequest, CreateFlowGroupByFilesRequest, DescribeFlowComponentsResponse, DescribeFlowEvidenceReportResponse, DeleteSealPoliciesRequest, CreateFlowGroupByTemplatesResponse, CreateDocumentResponse, DescribeIntegrationEmployeesRequest, CreateIntegrationUserRolesResponse, CreateFlowRequest, CreateSchemeUrlRequest, DeleteIntegrationDepartmentResponse, DescribeThirdPartyAuthCodeRequest, UnbindEmployeeUserIdWithClientOpenIdResponse, CreateReleaseFlowResponse, CreateWebThemeConfigResponse, BindEmployeeUserIdWithClientOpenIdRequest, CreateOrganizationInfoChangeUrlResponse, CreateIntegrationDepartmentResponse, DescribeFlowTemplatesRequest, DeleteSealPoliciesResponse, DescribeUserAutoSignStatusResponse, CreatePersonAuthCertificateImageResponse, CreateBatchCancelFlowUrlResponse, CreateSealPolicyResponse, DisableUserAutoSignRequest, DescribeIntegrationEmployeesResponse, CreateConvertTaskApiResponse, CreateFlowSignReviewRequest, UnbindEmployeeUserIdWithClientOpenIdRequest, CreateSchemeUrlResponse, CreateUserAutoSignEnableUrlResponse, CreateFlowSignUrlResponse, DescribeFileUrlsRequest, CreateFlowApproversRequest, ModifyIntegrationRoleResponse, CreateFlowEvidenceReportResponse, CreateIntegrationRoleResponse, DescribeFlowComponentsRequest, CreateIntegrationDepartmentRequest, CreateDocumentRequest, CreatePreparedPersonalEsignResponse, DescribeOrganizationSealsResponse, CreateEmbedWebUrlRequest, DeleteIntegrationEmployeesRequest, GetTaskResultApiRequest, ModifyIntegrationRoleRequest, CreateFlowGroupByFilesResponse, CreateIntegrationEmployeesResponse, DeleteIntegrationRoleUsersRequest, CreateFlowByFilesRequest, CreateFlowSignUrlRequest, CreateReleaseFlowRequest, CreateIntegrationUserRolesRequest, CreatePersonAuthCertificateImageRequest, CreateFlowByFilesResponse, UploadFilesResponse, VerifyPdfRequest, CreateFlowSignReviewResponse, ModifyIntegrationDepartmentRequest, CreateUserAutoSignEnableUrlRequest, CreateOrganizationBatchSignUrlResponse, CancelUserAutoSignEnableUrlRequest, CreateWebThemeConfigRequest, CreateOrganizationBatchSignUrlRequest, CreatePrepareFlowResponse, GetTaskResultApiResponse, CancelMultiFlowSignQRCodeRequest, DeleteIntegrationDepartmentRequest, ModifyApplicationCallbackInfoRequest, StartFlowRequest, CreateSealResponse, CreatePrepareFlowRequest, CreateEmbedWebUrlResponse, CreateSealPolicyRequest, DescribeOrganizationSealsRequest, CancelFlowRequest, DescribeExtendedServiceAuthInfosRequest, DescribeIntegrationRolesResponse, CreateBatchSignUrlRequest, CreateFlowRemindsRequest, UpdateIntegrationEmployeesRequest, DescribeFlowBriefsRequest, CreateFlowGroupByTemplatesRequest, VerifyPdfResponse, DescribeFlowBriefsResponse, DescribeFlowTemplatesResponse, UploadFilesRequest, DescribePersonCertificateRequest, CreateBatchCancelFlowUrlRequest, CreateMultiFlowSignQRCodeRequest, DescribeFlowInfoRequest, DescribeIntegrationDepartmentsRequest, DescribeFlowInfoResponse, CancelMultiFlowSignQRCodeResponse, CreateFlowResponse, DescribeUserAutoSignStatusRequest, CreateOrganizationInfoChangeUrlRequest, DescribeOrganizationGroupOrganizationsResponse, DescribeExtendedServiceAuthInfosResponse } from "./ess_models";
|
|
4
4
|
/**
|
|
5
5
|
* ess client
|
|
6
6
|
* @class
|
|
@@ -209,6 +209,25 @@ export declare class Client extends AbstractClient {
|
|
|
209
209
|
<li>在解除协议发起之后,原合同的状态将转变为解除中。一旦解除协议签署完毕,原合同及解除协议均变为已解除状态。</li></ul>
|
|
210
210
|
*/
|
|
211
211
|
CreateReleaseFlow(req: CreateReleaseFlowRequest, cb?: (error: string, rep: CreateReleaseFlowResponse) => void): Promise<CreateReleaseFlowResponse>;
|
|
212
|
+
/**
|
|
213
|
+
* 获取跳转至腾讯电子签小程序的签署链接
|
|
214
|
+
|
|
215
|
+
适用场景:如果需要签署人在自己的APP、小程序、H5应用中签署,可以通过此接口获取跳转腾讯电子签小程序的签署跳转链接。
|
|
216
|
+
|
|
217
|
+
跳转到小程序的实现,参考微信官方文档(分为<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>
|
|
218
|
+
|
|
219
|
+
注:
|
|
220
|
+
`1. 如果签署人是在PC端扫码签署,可以通过生成跳转链接自主转换成二维码,让签署人在PC端扫码签署`
|
|
221
|
+
`2. 签署链接的有效期为90天,超过有效期链接不可用`
|
|
222
|
+
|
|
223
|
+
其中小程序的原始Id如下,或者查看小程序信息自助获取。
|
|
224
|
+
|
|
225
|
+
| 小程序 | AppID | 原始ID |
|
|
226
|
+
| ------------ | ------------ | ------------ |
|
|
227
|
+
| 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |
|
|
228
|
+
| 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |
|
|
229
|
+
*/
|
|
230
|
+
CreateSchemeUrl(req: CreateSchemeUrlRequest, cb?: (error: string, rep: CreateSchemeUrlResponse) => void): Promise<CreateSchemeUrlResponse>;
|
|
212
231
|
/**
|
|
213
232
|
* 通过此接口获取个人用户自动签的开通状态。
|
|
214
233
|
|
|
@@ -434,24 +453,9 @@ httpProfile.setEndpoint("file.test.ess.tencent.cn");
|
|
|
434
453
|
*/
|
|
435
454
|
DeleteIntegrationEmployees(req: DeleteIntegrationEmployeesRequest, cb?: (error: string, rep: DeleteIntegrationEmployeesResponse) => void): Promise<DeleteIntegrationEmployeesResponse>;
|
|
436
455
|
/**
|
|
437
|
-
*
|
|
438
|
-
|
|
439
|
-
适用场景:如果需要签署人在自己的APP、小程序、H5应用中签署,可以通过此接口获取跳转腾讯电子签小程序的签署跳转链接。
|
|
440
|
-
|
|
441
|
-
跳转到小程序的实现,参考微信官方文档(分为<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>
|
|
442
|
-
|
|
443
|
-
注:
|
|
444
|
-
`1. 如果签署人是在PC端扫码签署,可以通过生成跳转链接自主转换成二维码,让签署人在PC端扫码签署`
|
|
445
|
-
`2. 签署链接的有效期为90天,超过有效期链接不可用`
|
|
446
|
-
|
|
447
|
-
其中小程序的原始Id如下,或者查看小程序信息自助获取。
|
|
448
|
-
|
|
449
|
-
| 小程序 | AppID | 原始ID |
|
|
450
|
-
| ------------ | ------------ | ------------ |
|
|
451
|
-
| 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |
|
|
452
|
-
| 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |
|
|
456
|
+
* 此接口(CreateOrganizationInfoChangeUrl)用于创建企业信息变更链接,支持创建企业超管变更链接或企业基础信息变更链接,通过入参ChangeType指定。
|
|
453
457
|
*/
|
|
454
|
-
|
|
458
|
+
CreateOrganizationInfoChangeUrl(req: CreateOrganizationInfoChangeUrlRequest, cb?: (error: string, rep: CreateOrganizationInfoChangeUrlResponse) => void): Promise<CreateOrganizationInfoChangeUrlResponse>;
|
|
455
459
|
/**
|
|
456
460
|
* 用来撤销<a href="https://qian.tencent.com/developers/companyApis/users/CreateUserAutoSignEnableUrl" target="_blank">获取个人用户自动签的开通状态</a>生成的开通链接,撤销生成的链接失效。
|
|
457
461
|
|
|
@@ -281,6 +281,27 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
281
281
|
async CreateReleaseFlow(req, cb) {
|
|
282
282
|
return this.request("CreateReleaseFlow", req, cb);
|
|
283
283
|
}
|
|
284
|
+
/**
|
|
285
|
+
* 获取跳转至腾讯电子签小程序的签署链接
|
|
286
|
+
|
|
287
|
+
适用场景:如果需要签署人在自己的APP、小程序、H5应用中签署,可以通过此接口获取跳转腾讯电子签小程序的签署跳转链接。
|
|
288
|
+
|
|
289
|
+
跳转到小程序的实现,参考微信官方文档(分为<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>
|
|
290
|
+
|
|
291
|
+
注:
|
|
292
|
+
`1. 如果签署人是在PC端扫码签署,可以通过生成跳转链接自主转换成二维码,让签署人在PC端扫码签署`
|
|
293
|
+
`2. 签署链接的有效期为90天,超过有效期链接不可用`
|
|
294
|
+
|
|
295
|
+
其中小程序的原始Id如下,或者查看小程序信息自助获取。
|
|
296
|
+
|
|
297
|
+
| 小程序 | AppID | 原始ID |
|
|
298
|
+
| ------------ | ------------ | ------------ |
|
|
299
|
+
| 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |
|
|
300
|
+
| 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |
|
|
301
|
+
*/
|
|
302
|
+
async CreateSchemeUrl(req, cb) {
|
|
303
|
+
return this.request("CreateSchemeUrl", req, cb);
|
|
304
|
+
}
|
|
284
305
|
/**
|
|
285
306
|
* 通过此接口获取个人用户自动签的开通状态。
|
|
286
307
|
|
|
@@ -562,25 +583,10 @@ httpProfile.setEndpoint("file.test.ess.tencent.cn");
|
|
|
562
583
|
return this.request("DeleteIntegrationEmployees", req, cb);
|
|
563
584
|
}
|
|
564
585
|
/**
|
|
565
|
-
*
|
|
566
|
-
|
|
567
|
-
适用场景:如果需要签署人在自己的APP、小程序、H5应用中签署,可以通过此接口获取跳转腾讯电子签小程序的签署跳转链接。
|
|
568
|
-
|
|
569
|
-
跳转到小程序的实现,参考微信官方文档(分为<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>
|
|
570
|
-
|
|
571
|
-
注:
|
|
572
|
-
`1. 如果签署人是在PC端扫码签署,可以通过生成跳转链接自主转换成二维码,让签署人在PC端扫码签署`
|
|
573
|
-
`2. 签署链接的有效期为90天,超过有效期链接不可用`
|
|
574
|
-
|
|
575
|
-
其中小程序的原始Id如下,或者查看小程序信息自助获取。
|
|
576
|
-
|
|
577
|
-
| 小程序 | AppID | 原始ID |
|
|
578
|
-
| ------------ | ------------ | ------------ |
|
|
579
|
-
| 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |
|
|
580
|
-
| 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |
|
|
586
|
+
* 此接口(CreateOrganizationInfoChangeUrl)用于创建企业信息变更链接,支持创建企业超管变更链接或企业基础信息变更链接,通过入参ChangeType指定。
|
|
581
587
|
*/
|
|
582
|
-
async
|
|
583
|
-
return this.request("
|
|
588
|
+
async CreateOrganizationInfoChangeUrl(req, cb) {
|
|
589
|
+
return this.request("CreateOrganizationInfoChangeUrl", req, cb);
|
|
584
590
|
}
|
|
585
591
|
/**
|
|
586
592
|
* 用来撤销<a href="https://qian.tencent.com/developers/companyApis/users/CreateUserAutoSignEnableUrl" target="_blank">获取个人用户自动签的开通状态</a>生成的开通链接,撤销生成的链接失效。
|
|
@@ -372,6 +372,65 @@ export interface ReviewerInfo {
|
|
|
372
372
|
*/
|
|
373
373
|
Mobile?: string;
|
|
374
374
|
}
|
|
375
|
+
/**
|
|
376
|
+
* 合同流程的基础信息
|
|
377
|
+
*/
|
|
378
|
+
export interface FlowBrief {
|
|
379
|
+
/**
|
|
380
|
+
* 合同流程ID,为32位字符串。
|
|
381
|
+
*/
|
|
382
|
+
FlowId?: string;
|
|
383
|
+
/**
|
|
384
|
+
* 合同流程的名称。
|
|
385
|
+
*/
|
|
386
|
+
FlowName?: string;
|
|
387
|
+
/**
|
|
388
|
+
* 合同流程描述信息。
|
|
389
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
390
|
+
*/
|
|
391
|
+
FlowDescription?: string;
|
|
392
|
+
/**
|
|
393
|
+
* 合同流程的类别分类(如销售合同/入职合同等)。
|
|
394
|
+
*/
|
|
395
|
+
FlowType?: string;
|
|
396
|
+
/**
|
|
397
|
+
* 合同流程当前的签署状态, 会存在下列的状态值
|
|
398
|
+
<ul><li> **0** : 未开启流程(合同中不存在填写环节)</li>
|
|
399
|
+
<li> **1** : 待签署</li>
|
|
400
|
+
<li> **2** : 部分签署</li>
|
|
401
|
+
<li> **3** : 已拒签</li>
|
|
402
|
+
<li> **4** : 已签署</li>
|
|
403
|
+
<li> **5** : 已过期</li>
|
|
404
|
+
<li> **6** : 已撤销</li>
|
|
405
|
+
<li> **7** : 未开启流程(合同中存在填写环节)</li>
|
|
406
|
+
<li> **8** : 等待填写</li>
|
|
407
|
+
<li> **9** : 部分填写</li>
|
|
408
|
+
<li> **10** : 已拒填</li>
|
|
409
|
+
<li> **21** : 已解除</li></ul>
|
|
410
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
411
|
+
*/
|
|
412
|
+
FlowStatus?: number;
|
|
413
|
+
/**
|
|
414
|
+
* 合同流程创建时间,格式为Unix标准时间戳(秒)。
|
|
415
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
416
|
+
*/
|
|
417
|
+
CreatedOn?: number;
|
|
418
|
+
/**
|
|
419
|
+
* 当合同流程状态为已拒签(即 FlowStatus=3)或已撤销(即 FlowStatus=6)时,此字段 FlowMessage 为拒签或撤销原因。
|
|
420
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
421
|
+
*/
|
|
422
|
+
FlowMessage?: string;
|
|
423
|
+
/**
|
|
424
|
+
* 合同流程发起方的员工编号, 即员工在腾讯电子签平台的唯一身份标识。
|
|
425
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
426
|
+
*/
|
|
427
|
+
Creator?: string;
|
|
428
|
+
/**
|
|
429
|
+
* 合同流程的签署截止时间,格式为Unix标准时间戳(秒)。
|
|
430
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
431
|
+
*/
|
|
432
|
+
Deadline?: number;
|
|
433
|
+
}
|
|
375
434
|
/**
|
|
376
435
|
* DescribeThirdPartyAuthCode返回参数结构体
|
|
377
436
|
*/
|
|
@@ -1648,35 +1707,21 @@ export interface BindEmployeeUserIdWithClientOpenIdRequest {
|
|
|
1648
1707
|
Agent?: Agent;
|
|
1649
1708
|
}
|
|
1650
1709
|
/**
|
|
1651
|
-
*
|
|
1710
|
+
* CreateOrganizationInfoChangeUrl返回参数结构体
|
|
1652
1711
|
*/
|
|
1653
|
-
export interface
|
|
1712
|
+
export interface CreateOrganizationInfoChangeUrlResponse {
|
|
1654
1713
|
/**
|
|
1655
|
-
*
|
|
1656
|
-
注: `在调用此接口时,请确保指定的员工已获得组织架构管理权限,并具备接口传入的相应资源的数据权限。`
|
|
1714
|
+
* 创建的企业信息变更链接。
|
|
1657
1715
|
*/
|
|
1658
|
-
|
|
1659
|
-
/**
|
|
1660
|
-
* 查询类型,支持以下类型:
|
|
1661
|
-
<ul><li>**0**:查询单个部门节点列表,不包含子节点部门信息</li>
|
|
1662
|
-
<li>**1**:查询单个部门节点级一级子节点部门信息列表</li></ul>
|
|
1663
|
-
*/
|
|
1664
|
-
QueryType: number;
|
|
1716
|
+
Url?: string;
|
|
1665
1717
|
/**
|
|
1666
|
-
*
|
|
1667
|
-
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
|
1718
|
+
* 链接过期时间。链接7天有效。
|
|
1668
1719
|
*/
|
|
1669
|
-
|
|
1670
|
-
/**
|
|
1671
|
-
* 查询的部门ID。
|
|
1672
|
-
注:`如果同时指定了DeptId与DeptOpenId参数,系统将优先使用DeptId参数进行查询。当二者都未指定时,系统将返回根节点部门数据。`
|
|
1673
|
-
*/
|
|
1674
|
-
DeptId?: string;
|
|
1720
|
+
ExpiredTime?: number;
|
|
1675
1721
|
/**
|
|
1676
|
-
*
|
|
1677
|
-
注:`如果同时指定了DeptId与DeptOpenId参数,系统将优先使用DeptId参数进行查询。当二者都未指定时,系统将返回根节点部门数据。`
|
|
1722
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1678
1723
|
*/
|
|
1679
|
-
|
|
1724
|
+
RequestId?: string;
|
|
1680
1725
|
}
|
|
1681
1726
|
/**
|
|
1682
1727
|
* 权限树节点权限
|
|
@@ -6168,6 +6213,37 @@ export interface DescribeFlowInfoRequest {
|
|
|
6168
6213
|
*/
|
|
6169
6214
|
FlowGroupId?: string;
|
|
6170
6215
|
}
|
|
6216
|
+
/**
|
|
6217
|
+
* DescribeIntegrationDepartments请求参数结构体
|
|
6218
|
+
*/
|
|
6219
|
+
export interface DescribeIntegrationDepartmentsRequest {
|
|
6220
|
+
/**
|
|
6221
|
+
* 执行本接口操作的员工信息。
|
|
6222
|
+
注: `在调用此接口时,请确保指定的员工已获得组织架构管理权限,并具备接口传入的相应资源的数据权限。`
|
|
6223
|
+
*/
|
|
6224
|
+
Operator: UserInfo;
|
|
6225
|
+
/**
|
|
6226
|
+
* 查询类型,支持以下类型:
|
|
6227
|
+
<ul><li>**0**:查询单个部门节点列表,不包含子节点部门信息</li>
|
|
6228
|
+
<li>**1**:查询单个部门节点级一级子节点部门信息列表</li></ul>
|
|
6229
|
+
*/
|
|
6230
|
+
QueryType: number;
|
|
6231
|
+
/**
|
|
6232
|
+
* 代理企业和员工的信息。
|
|
6233
|
+
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
|
6234
|
+
*/
|
|
6235
|
+
Agent?: Agent;
|
|
6236
|
+
/**
|
|
6237
|
+
* 查询的部门ID。
|
|
6238
|
+
注:`如果同时指定了DeptId与DeptOpenId参数,系统将优先使用DeptId参数进行查询。当二者都未指定时,系统将返回根节点部门数据。`
|
|
6239
|
+
*/
|
|
6240
|
+
DeptId?: string;
|
|
6241
|
+
/**
|
|
6242
|
+
* 查询的客户系统部门ID。
|
|
6243
|
+
注:`如果同时指定了DeptId与DeptOpenId参数,系统将优先使用DeptId参数进行查询。当二者都未指定时,系统将返回根节点部门数据。`
|
|
6244
|
+
*/
|
|
6245
|
+
DeptOpenId?: string;
|
|
6246
|
+
}
|
|
6171
6247
|
/**
|
|
6172
6248
|
* DescribeFlowInfo返回参数结构体
|
|
6173
6249
|
*/
|
|
@@ -6294,63 +6370,24 @@ export interface FileUrl {
|
|
|
6294
6370
|
Option: string;
|
|
6295
6371
|
}
|
|
6296
6372
|
/**
|
|
6297
|
-
*
|
|
6373
|
+
* CreateOrganizationInfoChangeUrl请求参数结构体
|
|
6298
6374
|
*/
|
|
6299
|
-
export interface
|
|
6300
|
-
/**
|
|
6301
|
-
* 合同流程ID,为32位字符串。
|
|
6302
|
-
*/
|
|
6303
|
-
FlowId?: string;
|
|
6304
|
-
/**
|
|
6305
|
-
* 合同流程的名称。
|
|
6306
|
-
*/
|
|
6307
|
-
FlowName?: string;
|
|
6308
|
-
/**
|
|
6309
|
-
* 合同流程描述信息。
|
|
6310
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6311
|
-
*/
|
|
6312
|
-
FlowDescription?: string;
|
|
6313
|
-
/**
|
|
6314
|
-
* 合同流程的类别分类(如销售合同/入职合同等)。
|
|
6315
|
-
*/
|
|
6316
|
-
FlowType?: string;
|
|
6375
|
+
export interface CreateOrganizationInfoChangeUrlRequest {
|
|
6317
6376
|
/**
|
|
6318
|
-
*
|
|
6319
|
-
|
|
6320
|
-
<li> **1** : 待签署</li>
|
|
6321
|
-
<li> **2** : 部分签署</li>
|
|
6322
|
-
<li> **3** : 已拒签</li>
|
|
6323
|
-
<li> **4** : 已签署</li>
|
|
6324
|
-
<li> **5** : 已过期</li>
|
|
6325
|
-
<li> **6** : 已撤销</li>
|
|
6326
|
-
<li> **7** : 未开启流程(合同中存在填写环节)</li>
|
|
6327
|
-
<li> **8** : 等待填写</li>
|
|
6328
|
-
<li> **9** : 部分填写</li>
|
|
6329
|
-
<li> **10** : 已拒填</li>
|
|
6330
|
-
<li> **21** : 已解除</li></ul>
|
|
6331
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6332
|
-
*/
|
|
6333
|
-
FlowStatus?: number;
|
|
6334
|
-
/**
|
|
6335
|
-
* 合同流程创建时间,格式为Unix标准时间戳(秒)。
|
|
6336
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6337
|
-
*/
|
|
6338
|
-
CreatedOn?: number;
|
|
6339
|
-
/**
|
|
6340
|
-
* 当合同流程状态为已拒签(即 FlowStatus=3)或已撤销(即 FlowStatus=6)时,此字段 FlowMessage 为拒签或撤销原因。
|
|
6341
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
6377
|
+
* 执行本接口操作的员工信息。
|
|
6378
|
+
注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`
|
|
6342
6379
|
*/
|
|
6343
|
-
|
|
6380
|
+
Operator: UserInfo;
|
|
6344
6381
|
/**
|
|
6345
|
-
*
|
|
6346
|
-
|
|
6382
|
+
* 企业信息变更类型,可选类型如下:
|
|
6383
|
+
<ul><li>**1**:企业超管变更</li><li>**2**:企业基础信息变更</li></ul>
|
|
6347
6384
|
*/
|
|
6348
|
-
|
|
6385
|
+
ChangeType: number;
|
|
6349
6386
|
/**
|
|
6350
|
-
*
|
|
6351
|
-
|
|
6387
|
+
* 代理企业和员工的信息。
|
|
6388
|
+
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
|
6352
6389
|
*/
|
|
6353
|
-
|
|
6390
|
+
Agent?: Agent;
|
|
6354
6391
|
}
|
|
6355
6392
|
/**
|
|
6356
6393
|
* DescribeOrganizationGroupOrganizations返回参数结构体
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { SyncProxyOrganizationResponse, ChannelCreateConvertTaskApiResponse, ChannelCreateFlowRemindsResponse, ChannelDeleteSealPoliciesRequest, ChannelBatchCancelFlowsResponse, ChannelDisableUserAutoSignResponse, ChannelCreateFlowGroupByTemplatesResponse, ChannelCreateFlowSignReviewRequest, DescribeFlowDetailInfoRequest, ChannelCancelUserAutoSignEnableUrlResponse, ModifyExtendedServiceRequest, DescribeResourceUrlsByFlowsRequest, ChannelCreateFlowSignUrlResponse, ChannelCreateBatchSignUrlResponse, ChannelCreatePrepareFlowResponse, OperateChannelTemplateResponse, ChannelCreateRoleRequest, CreateConsoleLoginUrlResponse, ChannelDeleteRoleUsersRequest, ChannelCreateUserRolesResponse, SyncProxyOrganizationRequest, ChannelCreatePrepareFlowRequest, ChannelCreateFlowRemindsRequest, ChannelCreateSealPolicyResponse, ChannelCancelFlowResponse, ChannelCreateWebThemeConfigRequest, ChannelCreateConvertTaskApiRequest, ChannelCreateFlowByFilesRequest, ChannelCreatePreparedPersonalEsignResponse, DescribeResourceUrlsByFlowsResponse, ChannelCreateFlowGroupByFilesRequest, ChannelCreateOrganizationModifyQrCodeRequest, ChannelCreateFlowByFilesResponse, DescribeFlowDetailInfoResponse, ChannelDescribeRolesRequest, PrepareFlowsResponse, GetDownloadFlowUrlResponse, DescribeTemplatesResponse, ChannelVerifyPdfRequest, CreateChannelFlowEvidenceReportRequest, ChannelCancelUserAutoSignEnableUrlRequest, ChannelVerifyPdfResponse, CreateConsoleLoginUrlRequest, ChannelCreateUserAutoSignEnableUrlRequest, ChannelCancelMultiFlowSignQRCodeRequest, ChannelDescribeOrganizationSealsRequest, DescribeUsageRequest, DescribeExtendedServiceAuthInfoRequest, ChannelCreateBoundFlowsResponse, ChannelCreateBoundFlowsRequest, ChannelDescribeEmployeesRequest, ChannelDeleteRoleUsersResponse, SyncProxyOrganizationOperatorsRequest, CreateSignUrlsRequest, ChannelCreateMultiFlowSignQRCodeRequest, ChannelCreateUserAutoSignEnableUrlResponse, ChannelGetTaskResultApiRequest, ChannelCreatePreparedPersonalEsignRequest, CreateFlowsByTemplatesResponse, DescribeChannelFlowEvidenceReportRequest, ChannelCreateRoleResponse, SyncProxyOrganizationOperatorsResponse, ChannelDescribeUserAutoSignStatusRequest, ChannelModifyRoleResponse, CreateSignUrlsResponse, ChannelDeleteRoleRequest, UploadFilesResponse, ChannelCreateBatchCancelFlowUrlRequest, PrepareFlowsRequest, ChannelCreateFlowSignReviewResponse, ChannelDisableUserAutoSignRequest, ChannelDescribeOrganizationSealsResponse, CreateSealByImageResponse, ChannelCancelMultiFlowSignQRCodeResponse, ChannelDescribeRolesResponse, ChannelCreateReleaseFlowRequest, ChannelDescribeFlowComponentsResponse, ChannelCreateFlowGroupByFilesResponse, ChannelCreateMultiFlowSignQRCodeResponse, ModifyExtendedServiceResponse, ChannelCreateUserRolesRequest, ChannelGetTaskResultApiResponse, ChannelCreateBatchSignUrlRequest, ChannelCreateOrganizationModifyQrCodeResponse, ChannelDeleteSealPoliciesResponse, ChannelCreateWebThemeConfigResponse, GetDownloadFlowUrlRequest, ChannelCreateEmbedWebUrlResponse, ChannelBatchCancelFlowsRequest, ChannelModifyRoleRequest, ChannelUpdateSealStatusRequest, ChannelCreateFlowGroupByTemplatesRequest, ChannelCancelFlowRequest, DescribeTemplatesRequest, ChannelCreateSealPolicyRequest, CreateFlowsByTemplatesRequest, UploadFilesRequest, DescribeUsageResponse, ChannelCreateBatchCancelFlowUrlResponse, OperateChannelTemplateRequest, CreateChannelFlowEvidenceReportResponse, ChannelDescribeEmployeesResponse, ChannelDeleteRoleResponse, ChannelCreateReleaseFlowResponse, DescribeChannelFlowEvidenceReportResponse, CreateSealByImageRequest, ChannelDescribeUserAutoSignStatusResponse, ChannelUpdateSealStatusResponse, ChannelCreateFlowSignUrlRequest, DescribeExtendedServiceAuthInfoResponse, ChannelCreateEmbedWebUrlRequest, ChannelDescribeFlowComponentsRequest } from "./essbasic_models";
|
|
3
|
+
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, ChannelCreatePreparedPersonalEsignResponse, DescribeResourceUrlsByFlowsResponse, ChannelCreateFlowGroupByFilesRequest, ChannelCreateOrganizationModifyQrCodeRequest, ChannelCreateFlowByFilesResponse, DescribeFlowDetailInfoResponse, ChannelDescribeRolesRequest, PrepareFlowsResponse, GetDownloadFlowUrlResponse, DescribeTemplatesResponse, ChannelVerifyPdfRequest, CreateChannelFlowEvidenceReportRequest, ChannelCancelUserAutoSignEnableUrlRequest, ChannelVerifyPdfResponse, CreateConsoleLoginUrlRequest, ChannelCreateUserAutoSignEnableUrlRequest, ChannelCancelMultiFlowSignQRCodeRequest, ChannelDescribeOrganizationSealsRequest, DescribeUsageRequest, DescribeExtendedServiceAuthInfoRequest, ChannelCreateBoundFlowsResponse, ChannelCreateBoundFlowsRequest, ChannelDescribeEmployeesRequest, ChannelDeleteRoleUsersResponse, SyncProxyOrganizationOperatorsRequest, CreateSignUrlsRequest, ChannelCreateMultiFlowSignQRCodeRequest, ChannelCreateUserAutoSignEnableUrlResponse, ChannelGetTaskResultApiRequest, ChannelCreatePreparedPersonalEsignRequest, CreateFlowsByTemplatesResponse, DescribeChannelFlowEvidenceReportRequest, ChannelCreateRoleResponse, SyncProxyOrganizationOperatorsResponse, ChannelDescribeUserAutoSignStatusRequest, ChannelModifyRoleResponse, CreateSignUrlsResponse, ChannelDeleteRoleRequest, UploadFilesResponse, ChannelCreateBatchCancelFlowUrlRequest, PrepareFlowsRequest, ChannelCreateFlowSignReviewResponse, ChannelDisableUserAutoSignRequest, ChannelDescribeOrganizationSealsResponse, CreateSealByImageResponse, ChannelCancelMultiFlowSignQRCodeResponse, ChannelDescribeRolesResponse, ChannelCreateReleaseFlowRequest, ChannelDescribeFlowComponentsResponse, ChannelCreateFlowGroupByFilesResponse, ChannelCreateMultiFlowSignQRCodeResponse, ModifyExtendedServiceResponse, ChannelCreateUserRolesRequest, ChannelGetTaskResultApiResponse, ChannelCreateBatchSignUrlRequest, ChannelCreateOrganizationModifyQrCodeResponse, ChannelDeleteSealPoliciesResponse, ChannelCreateWebThemeConfigResponse, GetDownloadFlowUrlRequest, ChannelCreateEmbedWebUrlResponse, ChannelBatchCancelFlowsRequest, CreateChannelOrganizationInfoChangeUrlRequest, ChannelModifyRoleRequest, ChannelUpdateSealStatusRequest, ChannelCreateFlowGroupByTemplatesRequest, ChannelCancelFlowRequest, DescribeTemplatesRequest, ChannelCreateSealPolicyRequest, CreateFlowsByTemplatesRequest, UploadFilesRequest, DescribeUsageResponse, ChannelCreateBatchCancelFlowUrlResponse, OperateChannelTemplateRequest, CreateChannelFlowEvidenceReportResponse, ChannelDescribeEmployeesResponse, ChannelDeleteRoleResponse, ChannelCreateReleaseFlowResponse, DescribeChannelFlowEvidenceReportResponse, CreateSealByImageRequest, ChannelDescribeUserAutoSignStatusResponse, ChannelUpdateSealStatusResponse, ChannelCreateFlowSignUrlRequest, DescribeExtendedServiceAuthInfoResponse, ChannelCreateEmbedWebUrlRequest, ChannelDescribeFlowComponentsRequest } from "./essbasic_models";
|
|
4
4
|
/**
|
|
5
5
|
* essbasic client
|
|
6
6
|
* @class
|
|
@@ -41,7 +41,7 @@ export declare class Client extends AbstractClient {
|
|
|
41
41
|
|
|
42
42
|
适用场景1:更新当前企业的自定义角色的名称或描述等其他信息,更新时不进行权限的设置(PermissionGroups 参数不传)。
|
|
43
43
|
|
|
44
|
-
适用场景2:更新当前企业的自定义角色的权限信息,更新时进行权限的设置(PermissionGroups 参数要传),权限树内容 PermissionGroups 可参考接口 ChannelDescribeRoles
|
|
44
|
+
适用场景2:更新当前企业的自定义角色的权限信息,更新时进行权限的设置(PermissionGroups 参数要传),权限树内容 PermissionGroups 可参考接口 ChannelDescribeRoles 的输出。此处注意权限树内容可能会更新,需尽量拉取最新的权限树内容,并且权限树内容 PermissionGroups 必须是一颗完整的权限树。
|
|
45
45
|
*/
|
|
46
46
|
ChannelModifyRole(req: ChannelModifyRoleRequest, cb?: (error: string, rep: ChannelModifyRoleResponse) => void): Promise<ChannelModifyRoleResponse>;
|
|
47
47
|
/**
|
|
@@ -120,7 +120,7 @@ https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/launchAp
|
|
|
120
120
|
|
|
121
121
|
适用场景1:创建当前企业的自定义角色,并且创建时不进行权限的设置(PermissionGroups 参数不传),角色中的权限内容可通过接口 ChannelModifyRole 完成更新。
|
|
122
122
|
|
|
123
|
-
适用场景2:创建当前企业的自定义角色,并且创建时进行权限的设置(PermissionGroups 参数要传),权限树内容 PermissionGroups 可参考接口 ChannelDescribeRoles
|
|
123
|
+
适用场景2:创建当前企业的自定义角色,并且创建时进行权限的设置(PermissionGroups 参数要传),权限树内容 PermissionGroups 可参考接口 ChannelDescribeRoles 的输出。此处注意权限树内容可能会更新,需尽量拉取最新的权限树内容,并且权限树内容 PermissionGroups 必须是一颗完整的权限树。
|
|
124
124
|
*/
|
|
125
125
|
ChannelCreateRole(req: ChannelCreateRoleRequest, cb?: (error: string, rep: ChannelCreateRoleResponse) => void): Promise<ChannelCreateRoleResponse>;
|
|
126
126
|
/**
|
|
@@ -169,9 +169,9 @@ https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/launchAp
|
|
|
169
169
|
4. 客户小程序直接跳到电子签小程序-->签署完成退出电子签小程序-->回到客户小程序
|
|
170
170
|
跳转到小程序的实现,参考官方文档(分为全屏、半屏两种方式)
|
|
171
171
|
全屏方式:
|
|
172
|
-
(https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html)
|
|
172
|
+
(https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html )
|
|
173
173
|
半屏方式:
|
|
174
|
-
(https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html)
|
|
174
|
+
(https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html )
|
|
175
175
|
其中小程序的原始Id,请联系<对接技术人员>获取,或者查看小程序信息自助获取。
|
|
176
176
|
使用CreateSignUrls,设置EndPoint为APP,得到path。
|
|
177
177
|
|
|
@@ -354,6 +354,10 @@ httpProfile.setEndpoint("file.test.ess.tencent.cn");
|
|
|
354
354
|
* 接口(ChannelCreateFlowGroupByTemplates)用于通过多模板创建合同组签署流程。
|
|
355
355
|
*/
|
|
356
356
|
ChannelCreateFlowGroupByTemplates(req: ChannelCreateFlowGroupByTemplatesRequest, cb?: (error: string, rep: ChannelCreateFlowGroupByTemplatesResponse) => void): Promise<ChannelCreateFlowGroupByTemplatesResponse>;
|
|
357
|
+
/**
|
|
358
|
+
* 此接口(CreateChannelOrganizationInfoChangeUrl)用于创建子客企业信息变更链接,支持创建企业超管变更链接或企业基础信息变更链接,通过入参ChangeType指定。
|
|
359
|
+
*/
|
|
360
|
+
CreateChannelOrganizationInfoChangeUrl(req: CreateChannelOrganizationInfoChangeUrlRequest, cb?: (error: string, rep: CreateChannelOrganizationInfoChangeUrlResponse) => void): Promise<CreateChannelOrganizationInfoChangeUrlResponse>;
|
|
357
361
|
/**
|
|
358
362
|
* 此接口(SyncProxyOrganizationOperators)用于同步 第三方平台子客企业经办人列表,主要是同步经办人的离职状态。子客Web控制台的组织架构管理,是依赖于第三方应用平台的,无法针对员工做新增/更新/离职等操作。
|
|
359
363
|
若经办人信息有误,或者需要修改,也可以先将之前的经办人做离职操作,然后重新使用控制台链接CreateConsoleLoginUrl让经办人重新实名。
|
|
@@ -67,7 +67,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
67
67
|
|
|
68
68
|
适用场景1:更新当前企业的自定义角色的名称或描述等其他信息,更新时不进行权限的设置(PermissionGroups 参数不传)。
|
|
69
69
|
|
|
70
|
-
适用场景2:更新当前企业的自定义角色的权限信息,更新时进行权限的设置(PermissionGroups 参数要传),权限树内容 PermissionGroups 可参考接口 ChannelDescribeRoles
|
|
70
|
+
适用场景2:更新当前企业的自定义角色的权限信息,更新时进行权限的设置(PermissionGroups 参数要传),权限树内容 PermissionGroups 可参考接口 ChannelDescribeRoles 的输出。此处注意权限树内容可能会更新,需尽量拉取最新的权限树内容,并且权限树内容 PermissionGroups 必须是一颗完整的权限树。
|
|
71
71
|
*/
|
|
72
72
|
async ChannelModifyRole(req, cb) {
|
|
73
73
|
return this.request("ChannelModifyRole", req, cb);
|
|
@@ -168,7 +168,7 @@ https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/launchAp
|
|
|
168
168
|
|
|
169
169
|
适用场景1:创建当前企业的自定义角色,并且创建时不进行权限的设置(PermissionGroups 参数不传),角色中的权限内容可通过接口 ChannelModifyRole 完成更新。
|
|
170
170
|
|
|
171
|
-
适用场景2:创建当前企业的自定义角色,并且创建时进行权限的设置(PermissionGroups 参数要传),权限树内容 PermissionGroups 可参考接口 ChannelDescribeRoles
|
|
171
|
+
适用场景2:创建当前企业的自定义角色,并且创建时进行权限的设置(PermissionGroups 参数要传),权限树内容 PermissionGroups 可参考接口 ChannelDescribeRoles 的输出。此处注意权限树内容可能会更新,需尽量拉取最新的权限树内容,并且权限树内容 PermissionGroups 必须是一颗完整的权限树。
|
|
172
172
|
*/
|
|
173
173
|
async ChannelCreateRole(req, cb) {
|
|
174
174
|
return this.request("ChannelCreateRole", req, cb);
|
|
@@ -227,9 +227,9 @@ https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/launchAp
|
|
|
227
227
|
4. 客户小程序直接跳到电子签小程序-->签署完成退出电子签小程序-->回到客户小程序
|
|
228
228
|
跳转到小程序的实现,参考官方文档(分为全屏、半屏两种方式)
|
|
229
229
|
全屏方式:
|
|
230
|
-
(https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html)
|
|
230
|
+
(https://developers.weixin.qq.com/miniprogram/dev/api/navigate/wx.navigateToMiniProgram.html )
|
|
231
231
|
半屏方式:
|
|
232
|
-
(https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html)
|
|
232
|
+
(https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/openEmbeddedMiniProgram.html )
|
|
233
233
|
其中小程序的原始Id,请联系<对接技术人员>获取,或者查看小程序信息自助获取。
|
|
234
234
|
使用CreateSignUrls,设置EndPoint为APP,得到path。
|
|
235
235
|
|
|
@@ -468,6 +468,12 @@ httpProfile.setEndpoint("file.test.ess.tencent.cn");
|
|
|
468
468
|
async ChannelCreateFlowGroupByTemplates(req, cb) {
|
|
469
469
|
return this.request("ChannelCreateFlowGroupByTemplates", req, cb);
|
|
470
470
|
}
|
|
471
|
+
/**
|
|
472
|
+
* 此接口(CreateChannelOrganizationInfoChangeUrl)用于创建子客企业信息变更链接,支持创建企业超管变更链接或企业基础信息变更链接,通过入参ChangeType指定。
|
|
473
|
+
*/
|
|
474
|
+
async CreateChannelOrganizationInfoChangeUrl(req, cb) {
|
|
475
|
+
return this.request("CreateChannelOrganizationInfoChangeUrl", req, cb);
|
|
476
|
+
}
|
|
471
477
|
/**
|
|
472
478
|
* 此接口(SyncProxyOrganizationOperators)用于同步 第三方平台子客企业经办人列表,主要是同步经办人的离职状态。子客Web控制台的组织架构管理,是依赖于第三方应用平台的,无法针对员工做新增/更新/离职等操作。
|
|
473
479
|
若经办人信息有误,或者需要修改,也可以先将之前的经办人做离职操作,然后重新使用控制台链接CreateConsoleLoginUrl让经办人重新实名。
|
|
@@ -547,6 +547,23 @@ export interface DescribeResourceUrlsByFlowsRequest {
|
|
|
547
547
|
*/
|
|
548
548
|
Operator?: UserInfo;
|
|
549
549
|
}
|
|
550
|
+
/**
|
|
551
|
+
* CreateChannelOrganizationInfoChangeUrl返回参数结构体
|
|
552
|
+
*/
|
|
553
|
+
export interface CreateChannelOrganizationInfoChangeUrlResponse {
|
|
554
|
+
/**
|
|
555
|
+
* 创建的企业信息变更链接。
|
|
556
|
+
*/
|
|
557
|
+
Url?: string;
|
|
558
|
+
/**
|
|
559
|
+
* 链接过期时间。链接7天有效。
|
|
560
|
+
*/
|
|
561
|
+
ExpiredTime?: number;
|
|
562
|
+
/**
|
|
563
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
564
|
+
*/
|
|
565
|
+
RequestId?: string;
|
|
566
|
+
}
|
|
550
567
|
/**
|
|
551
568
|
* 催办接口返回详细信息
|
|
552
569
|
*/
|
|
@@ -4341,6 +4358,20 @@ export interface ChannelBatchCancelFlowsRequest {
|
|
|
4341
4358
|
*/
|
|
4342
4359
|
Operator?: UserInfo;
|
|
4343
4360
|
}
|
|
4361
|
+
/**
|
|
4362
|
+
* CreateChannelOrganizationInfoChangeUrl请求参数结构体
|
|
4363
|
+
*/
|
|
4364
|
+
export interface CreateChannelOrganizationInfoChangeUrlRequest {
|
|
4365
|
+
/**
|
|
4366
|
+
* 关于渠道应用的相关信息,包括子客企业及应用编、号等详细内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。
|
|
4367
|
+
*/
|
|
4368
|
+
Agent: Agent;
|
|
4369
|
+
/**
|
|
4370
|
+
* 企业信息变更类型,可选类型如下:
|
|
4371
|
+
<ul><li>**1**:企业超管变更</li><li>**2**:企业基础信息变更</li></ul>
|
|
4372
|
+
*/
|
|
4373
|
+
ChangeType: number;
|
|
4374
|
+
}
|
|
4344
4375
|
/**
|
|
4345
4376
|
* ChannelModifyRole请求参数结构体
|
|
4346
4377
|
*/
|
|
@@ -27,7 +27,6 @@ export declare class Client extends AbstractClient {
|
|
|
27
27
|
|
|
28
28
|
>
|
|
29
29
|
- 不可同时搜索不同算法模型版本(FaceModelVersion)的人员库。
|
|
30
|
-
|
|
31
30
|
*/
|
|
32
31
|
SearchFacesReturnsByGroup(req: SearchFacesReturnsByGroupRequest, cb?: (error: string, rep: SearchFacesReturnsByGroupResponse) => void): Promise<SearchFacesReturnsByGroupResponse>;
|
|
33
32
|
/**
|