tencentcloud-sdk-nodejs-essbasic 4.0.553 → 4.0.555
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 +395 -0
- package/SERVICE_CHANGELOG.md +487 -198
- package/package.json +1 -1
- package/products.md +57 -58
- package/src/services/essbasic/v20210526/essbasic_client.ts +29 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +293 -9
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +9 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +12 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +249 -9
|
@@ -86,6 +86,16 @@ export interface Department {
|
|
|
86
86
|
*/
|
|
87
87
|
DepartmentName: string;
|
|
88
88
|
}
|
|
89
|
+
/**
|
|
90
|
+
* 签署人配置信息
|
|
91
|
+
*/
|
|
92
|
+
export interface CommonApproverOption {
|
|
93
|
+
/**
|
|
94
|
+
* 是否允许修改签署人信息
|
|
95
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
96
|
+
*/
|
|
97
|
+
CanEditApprover?: boolean;
|
|
98
|
+
}
|
|
89
99
|
/**
|
|
90
100
|
* ChannelCreateFlowSignReview请求参数结构体
|
|
91
101
|
*/
|
|
@@ -325,6 +335,61 @@ export interface FlowFileInfo {
|
|
|
325
335
|
*/
|
|
326
336
|
NeedSignReview?: boolean;
|
|
327
337
|
}
|
|
338
|
+
/**
|
|
339
|
+
* 创建合同配置信息
|
|
340
|
+
*/
|
|
341
|
+
export interface CreateFlowOption {
|
|
342
|
+
/**
|
|
343
|
+
* 是否允许修改合同信息
|
|
344
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
345
|
+
*/
|
|
346
|
+
CanEditFlow?: boolean;
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* 基础流程信息
|
|
350
|
+
*/
|
|
351
|
+
export interface BaseFlowInfo {
|
|
352
|
+
/**
|
|
353
|
+
* 合同流程名称
|
|
354
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
355
|
+
*/
|
|
356
|
+
FlowName: string;
|
|
357
|
+
/**
|
|
358
|
+
* 合同流程类型
|
|
359
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
360
|
+
*/
|
|
361
|
+
FlowType: string;
|
|
362
|
+
/**
|
|
363
|
+
* 合同流程描述信息
|
|
364
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
365
|
+
*/
|
|
366
|
+
FlowDescription: string;
|
|
367
|
+
/**
|
|
368
|
+
* 合同流程截止时间,unix时间戳
|
|
369
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
370
|
+
*/
|
|
371
|
+
Deadline: number;
|
|
372
|
+
/**
|
|
373
|
+
* 是否顺序签署(true:无序签,false:顺序签)
|
|
374
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
375
|
+
*/
|
|
376
|
+
Unordered?: boolean;
|
|
377
|
+
/**
|
|
378
|
+
* 打开智能添加填写区(默认开启,打开:"OPEN" 关闭:"CLOSE")
|
|
379
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
380
|
+
*/
|
|
381
|
+
IntelligentStatus?: string;
|
|
382
|
+
/**
|
|
383
|
+
* 填写控件内容
|
|
384
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
385
|
+
*/
|
|
386
|
+
FormFields?: Array<FormField>;
|
|
387
|
+
/**
|
|
388
|
+
* 本企业(发起方企业)是否需要签署审批,true:开启本企业签署审批
|
|
389
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
390
|
+
*/
|
|
391
|
+
NeedSignReview?: boolean;
|
|
392
|
+
}
|
|
328
393
|
/**
|
|
329
394
|
* CreateConsoleLoginUrl返回参数结构体
|
|
330
395
|
*/
|
|
@@ -382,23 +447,47 @@ export interface SyncProxyOrganizationRequest {
|
|
|
382
447
|
Operator?: UserInfo;
|
|
383
448
|
}
|
|
384
449
|
/**
|
|
385
|
-
*
|
|
450
|
+
* ChannelCreatePrepareFlow请求参数结构体
|
|
386
451
|
*/
|
|
387
|
-
export interface
|
|
452
|
+
export interface ChannelCreatePrepareFlowRequest {
|
|
388
453
|
/**
|
|
389
|
-
*
|
|
454
|
+
* 资源id,与ResourceType对应
|
|
390
455
|
*/
|
|
391
|
-
|
|
456
|
+
ResourceId: string;
|
|
392
457
|
/**
|
|
393
|
-
*
|
|
458
|
+
* 资源类型,1:模版,目前仅支持模版,与ResourceId对应
|
|
394
459
|
*/
|
|
395
|
-
|
|
460
|
+
ResourceType: number;
|
|
396
461
|
/**
|
|
397
|
-
*
|
|
462
|
+
* 合同流程基础信息
|
|
398
463
|
*/
|
|
399
|
-
|
|
464
|
+
FlowInfo: BaseFlowInfo;
|
|
400
465
|
/**
|
|
401
|
-
*
|
|
466
|
+
* 合同签署人信息
|
|
467
|
+
*/
|
|
468
|
+
FlowApproverList: Array<CommonFlowApprover>;
|
|
469
|
+
/**
|
|
470
|
+
* 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填
|
|
471
|
+
*/
|
|
472
|
+
Agent?: Agent;
|
|
473
|
+
/**
|
|
474
|
+
* 合同流程配置信息
|
|
475
|
+
*/
|
|
476
|
+
FlowOption?: CreateFlowOption;
|
|
477
|
+
/**
|
|
478
|
+
* 该参数不可用,请通过获取 web 可嵌入接口获取合同流程预览 URL
|
|
479
|
+
*/
|
|
480
|
+
FlowId?: string;
|
|
481
|
+
/**
|
|
482
|
+
* 该参数不可用,请通过获取 web 可嵌入接口获取合同流程预览 URL
|
|
483
|
+
*/
|
|
484
|
+
NeedPreview?: boolean;
|
|
485
|
+
/**
|
|
486
|
+
* 企业机构信息,不用传
|
|
487
|
+
*/
|
|
488
|
+
Organization?: OrganizationInfo;
|
|
489
|
+
/**
|
|
490
|
+
* 操作人(用户)信息,不用传
|
|
402
491
|
*/
|
|
403
492
|
Operator?: UserInfo;
|
|
404
493
|
}
|
|
@@ -1161,6 +1250,81 @@ export interface OrganizationInfo {
|
|
|
1161
1250
|
*/
|
|
1162
1251
|
Channel?: string;
|
|
1163
1252
|
}
|
|
1253
|
+
/**
|
|
1254
|
+
* 通用签署人信息
|
|
1255
|
+
*/
|
|
1256
|
+
export interface CommonFlowApprover {
|
|
1257
|
+
/**
|
|
1258
|
+
* 指定当前签署人为第三方应用集成子客,默认false:当前签署人为第三方应用集成子客,true:当前签署人为saas企业用户
|
|
1259
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1260
|
+
*/
|
|
1261
|
+
NotChannelOrganization: boolean;
|
|
1262
|
+
/**
|
|
1263
|
+
* 签署人类型,目前支持:0-企业签署人,1-个人签署人,3-企业静默签署人
|
|
1264
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1265
|
+
*/
|
|
1266
|
+
ApproverType?: number;
|
|
1267
|
+
/**
|
|
1268
|
+
* 企业id
|
|
1269
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1270
|
+
*/
|
|
1271
|
+
OrganizationId?: string;
|
|
1272
|
+
/**
|
|
1273
|
+
* 企业OpenId,第三方应用集成非静默签子客企业签署人发起合同毕传
|
|
1274
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1275
|
+
*/
|
|
1276
|
+
OrganizationOpenId?: string;
|
|
1277
|
+
/**
|
|
1278
|
+
* 企业名称,第三方应用集成非静默签子客企业签署人必传,saas企业签署人必传
|
|
1279
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1280
|
+
*/
|
|
1281
|
+
OrganizationName?: string;
|
|
1282
|
+
/**
|
|
1283
|
+
* 用户id
|
|
1284
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1285
|
+
*/
|
|
1286
|
+
UserId?: string;
|
|
1287
|
+
/**
|
|
1288
|
+
* 用户openId,第三方应用集成非静默签子客企业签署人必传
|
|
1289
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1290
|
+
*/
|
|
1291
|
+
OpenId?: string;
|
|
1292
|
+
/**
|
|
1293
|
+
* 签署人名称,saas企业签署人,个人签署人必传
|
|
1294
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1295
|
+
*/
|
|
1296
|
+
ApproverName?: string;
|
|
1297
|
+
/**
|
|
1298
|
+
* 签署人手机号,saas企业签署人,个人签署人必传
|
|
1299
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1300
|
+
*/
|
|
1301
|
+
ApproverMobile?: string;
|
|
1302
|
+
/**
|
|
1303
|
+
* 签署人Id,使用模版发起是,对应模版配置中的签署人RecipientId
|
|
1304
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1305
|
+
*/
|
|
1306
|
+
RecipientId?: string;
|
|
1307
|
+
/**
|
|
1308
|
+
* 签署前置条件:阅读时长限制,不传默认10s,最大300s,最小3s
|
|
1309
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1310
|
+
*/
|
|
1311
|
+
PreReadTime?: number;
|
|
1312
|
+
/**
|
|
1313
|
+
* 签署前置条件:阅读全文限制
|
|
1314
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1315
|
+
*/
|
|
1316
|
+
IsFullText?: boolean;
|
|
1317
|
+
/**
|
|
1318
|
+
* 通知类型:SMS(短信) NONE(不做通知), 不传 默认SMS
|
|
1319
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1320
|
+
*/
|
|
1321
|
+
NotifyType?: string;
|
|
1322
|
+
/**
|
|
1323
|
+
* 签署人配置
|
|
1324
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1325
|
+
*/
|
|
1326
|
+
ApproverOption?: CommonApproverOption;
|
|
1327
|
+
}
|
|
1164
1328
|
/**
|
|
1165
1329
|
* 合同文件验签单个结果结构体
|
|
1166
1330
|
*/
|
|
@@ -2341,6 +2505,23 @@ export interface ChannelDescribeOrganizationSealsResponse {
|
|
|
2341
2505
|
*/
|
|
2342
2506
|
RequestId?: string;
|
|
2343
2507
|
}
|
|
2508
|
+
/**
|
|
2509
|
+
* ChannelCreatePrepareFlow返回参数结构体
|
|
2510
|
+
*/
|
|
2511
|
+
export interface ChannelCreatePrepareFlowResponse {
|
|
2512
|
+
/**
|
|
2513
|
+
* 预发起的合同链接
|
|
2514
|
+
*/
|
|
2515
|
+
PrepareFlowUrl?: string;
|
|
2516
|
+
/**
|
|
2517
|
+
* 合同发起后预览链接
|
|
2518
|
+
*/
|
|
2519
|
+
PreviewFlowUrl?: string;
|
|
2520
|
+
/**
|
|
2521
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2522
|
+
*/
|
|
2523
|
+
RequestId?: string;
|
|
2524
|
+
}
|
|
2344
2525
|
/**
|
|
2345
2526
|
* ChannelCancelMultiFlowSignQRCode返回参数结构体
|
|
2346
2527
|
*/
|
|
@@ -2802,6 +2983,19 @@ export interface GetDownloadFlowUrlRequest {
|
|
|
2802
2983
|
*/
|
|
2803
2984
|
Operator?: UserInfo;
|
|
2804
2985
|
}
|
|
2986
|
+
/**
|
|
2987
|
+
* ChannelCreateEmbedWebUrl返回参数结构体
|
|
2988
|
+
*/
|
|
2989
|
+
export interface ChannelCreateEmbedWebUrlResponse {
|
|
2990
|
+
/**
|
|
2991
|
+
* 嵌入的web链接
|
|
2992
|
+
*/
|
|
2993
|
+
WebUrl?: string;
|
|
2994
|
+
/**
|
|
2995
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2996
|
+
*/
|
|
2997
|
+
RequestId?: string;
|
|
2998
|
+
}
|
|
2805
2999
|
/**
|
|
2806
3000
|
* ChannelBatchCancelFlows请求参数结构体
|
|
2807
3001
|
*/
|
|
@@ -3236,6 +3430,27 @@ export interface DescribeChannelFlowEvidenceReportResponse {
|
|
|
3236
3430
|
*/
|
|
3237
3431
|
RequestId?: string;
|
|
3238
3432
|
}
|
|
3433
|
+
/**
|
|
3434
|
+
* CreateSealByImage请求参数结构体
|
|
3435
|
+
*/
|
|
3436
|
+
export interface CreateSealByImageRequest {
|
|
3437
|
+
/**
|
|
3438
|
+
* 应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 均必填。
|
|
3439
|
+
*/
|
|
3440
|
+
Agent: Agent;
|
|
3441
|
+
/**
|
|
3442
|
+
* 印章名称,最大长度不超过50字符
|
|
3443
|
+
*/
|
|
3444
|
+
SealName: string;
|
|
3445
|
+
/**
|
|
3446
|
+
* 印章图片base64,大小不超过10M(原始图片不超过7.6M)
|
|
3447
|
+
*/
|
|
3448
|
+
SealImage: string;
|
|
3449
|
+
/**
|
|
3450
|
+
* 操作者的信息
|
|
3451
|
+
*/
|
|
3452
|
+
Operator?: UserInfo;
|
|
3453
|
+
}
|
|
3239
3454
|
/**
|
|
3240
3455
|
* ChannelUpdateSealStatus返回参数结构体
|
|
3241
3456
|
*/
|
|
@@ -3284,6 +3499,31 @@ export interface DescribeExtendedServiceAuthInfoResponse {
|
|
|
3284
3499
|
*/
|
|
3285
3500
|
RequestId?: string;
|
|
3286
3501
|
}
|
|
3502
|
+
/**
|
|
3503
|
+
* ChannelCreateEmbedWebUrl请求参数结构体
|
|
3504
|
+
*/
|
|
3505
|
+
export interface ChannelCreateEmbedWebUrlRequest {
|
|
3506
|
+
/**
|
|
3507
|
+
* WEB嵌入资源类型,取值范围:CREATE_SEAL创建印章,CREATE_TEMPLATE创建模板,MODIFY_TEMPLATE修改模板,PREVIEW_TEMPLATE预览模板,PREVIEW_FLOW预览流程
|
|
3508
|
+
*/
|
|
3509
|
+
EmbedType: string;
|
|
3510
|
+
/**
|
|
3511
|
+
* 渠道应用相关信息。 此接口Agent.ProxyOrganizationOpenId、Agent. ProxyOperator.OpenId、Agent.AppId 和 Agent.ProxyAppId 必填。
|
|
3512
|
+
*/
|
|
3513
|
+
Agent: Agent;
|
|
3514
|
+
/**
|
|
3515
|
+
* 渠道操作者信息
|
|
3516
|
+
*/
|
|
3517
|
+
Operator?: UserInfo;
|
|
3518
|
+
/**
|
|
3519
|
+
* WEB嵌入的业务资源ID,EmbedType取值MODIFY_TEMPLATE或PREVIEW_TEMPLATE或 PREVIEW_FLOW时BusinessId必填
|
|
3520
|
+
*/
|
|
3521
|
+
BusinessId?: string;
|
|
3522
|
+
/**
|
|
3523
|
+
* 是否隐藏控件,只有预览模板时生效
|
|
3524
|
+
*/
|
|
3525
|
+
HiddenComponents?: boolean;
|
|
3526
|
+
}
|
|
3287
3527
|
/**
|
|
3288
3528
|
* 抄送信息
|
|
3289
3529
|
*/
|