tencentcloud-sdk-nodejs 4.0.762 → 4.0.763
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 +146 -0
- package/SERVICE_CHANGELOG.md +177 -44
- package/package.json +1 -1
- package/products.md +10 -10
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +1 -1
- package/src/services/dlc/v20210125/dlc_models.ts +2 -2
- package/src/services/ess/v20201111/ess_client.ts +64 -4
- package/src/services/ess/v20201111/ess_models.ts +32 -32
- package/src/services/essbasic/v20210526/essbasic_models.ts +10 -8
- package/src/services/lcic/v20220817/lcic_models.ts +8 -4
- package/src/services/ocr/v20181119/ocr_client.ts +4 -1
- package/src/services/ocr/v20181119/ocr_models.ts +328 -44
- package/src/services/tdmq/v20200217/tdmq_client.ts +1 -2
- package/src/services/tdmq/v20200217/tdmq_models.ts +35 -44
- package/src/services/tione/v20211111/tione_models.ts +15 -15
- package/src/services/vod/v20180717/vod_client.ts +14 -1
- package/src/services/vod/v20180717/vod_models.ts +73 -6
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +1 -1
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +2 -2
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +64 -4
- package/tencentcloud/services/ess/v20201111/ess_client.js +64 -4
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +32 -32
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +10 -8
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +8 -4
- package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +1 -1
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +325 -44
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +1 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +35 -43
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +15 -15
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +5 -1
- package/tencentcloud/services/vod/v20180717/vod_client.js +6 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +70 -6
- package/test/vod.v20180717.test.js +10 -0
|
@@ -203,6 +203,7 @@ import {
|
|
|
203
203
|
DeleteRoundPlayRequest,
|
|
204
204
|
SuperResolutionInfo,
|
|
205
205
|
MediaImageSpriteInfo,
|
|
206
|
+
EnhanceMediaQualityRequest,
|
|
206
207
|
ProductInstanceRecource,
|
|
207
208
|
AiRecognitionTaskFaceSegmentItem,
|
|
208
209
|
ProcessMediaResponse,
|
|
@@ -469,6 +470,7 @@ import {
|
|
|
469
470
|
CreateAdaptiveDynamicStreamingTemplateResponse,
|
|
470
471
|
DeleteSampleSnapshotTemplateRequest,
|
|
471
472
|
DescribeTranscodeTemplatesResponse,
|
|
473
|
+
MediaAiAnalysisTagItem,
|
|
472
474
|
AbnormalLightingConfigureInfoForUpdate,
|
|
473
475
|
AiRecognitionTaskOcrFullTextSegmentTextItem,
|
|
474
476
|
ImageProcessingTemplate,
|
|
@@ -602,7 +604,7 @@ import {
|
|
|
602
604
|
AiRecognitionTaskAsrWordsResultItem,
|
|
603
605
|
CreateQualityInspectTemplateResponse,
|
|
604
606
|
RebuildMediaTaskOutput,
|
|
605
|
-
|
|
607
|
+
EnhanceMediaQualityOutputConfig,
|
|
606
608
|
RebuildMediaRequest,
|
|
607
609
|
DescribeTaskDetailResponse,
|
|
608
610
|
MediaKeyFrameDescInfo,
|
|
@@ -768,6 +770,7 @@ import {
|
|
|
768
770
|
DeleteEnhanceMediaTemplateRequest,
|
|
769
771
|
SetDrmKeyProviderInfoResponse,
|
|
770
772
|
DescribeStorageDetailsRequest,
|
|
773
|
+
EnhanceMediaQualityResponse,
|
|
771
774
|
SubtitleFormatsOperation,
|
|
772
775
|
MediaTrack,
|
|
773
776
|
StorageStatData,
|
|
@@ -1601,6 +1604,16 @@ export class Client extends AbstractClient {
|
|
|
1601
1604
|
return this.request("ProcessImage", req, cb)
|
|
1602
1605
|
}
|
|
1603
1606
|
|
|
1607
|
+
/**
|
|
1608
|
+
* 对点播中的音视频媒体发起音画质重生任务。
|
|
1609
|
+
*/
|
|
1610
|
+
async EnhanceMediaQuality(
|
|
1611
|
+
req: EnhanceMediaQualityRequest,
|
|
1612
|
+
cb?: (error: string, rep: EnhanceMediaQualityResponse) => void
|
|
1613
|
+
): Promise<EnhanceMediaQualityResponse> {
|
|
1614
|
+
return this.request("EnhanceMediaQuality", req, cb)
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1604
1617
|
/**
|
|
1605
1618
|
* 创建用户自定义的任务流模板,模板上限:50。
|
|
1606
1619
|
*/
|
|
@@ -4834,6 +4834,40 @@ export interface MediaImageSpriteInfo {
|
|
|
4834
4834
|
ImageSpriteSet: Array<MediaImageSpriteItem>
|
|
4835
4835
|
}
|
|
4836
4836
|
|
|
4837
|
+
/**
|
|
4838
|
+
* EnhanceMediaQuality请求参数结构体
|
|
4839
|
+
*/
|
|
4840
|
+
export interface EnhanceMediaQualityRequest {
|
|
4841
|
+
/**
|
|
4842
|
+
* 媒体文件 ID,即该文件在云点播上的全局唯一标识符,在上传成功后由云点播后台分配。可以在 [视频上传完成事件通知](/document/product/266/7830) 或 [云点播控制台](https://console.cloud.tencent.com/vod/media) 获取该字段。
|
|
4843
|
+
*/
|
|
4844
|
+
FileId: string
|
|
4845
|
+
/**
|
|
4846
|
+
* 音画质重生模板 ID,请联系腾讯云获取。
|
|
4847
|
+
*/
|
|
4848
|
+
Definition: number
|
|
4849
|
+
/**
|
|
4850
|
+
* <b>点播[子应用](/document/product/266/14574) ID。如果要访问子应用中的资源,则将该字段填写为子应用 ID;否则无需填写该字段。</b>
|
|
4851
|
+
*/
|
|
4852
|
+
SubAppId?: number
|
|
4853
|
+
/**
|
|
4854
|
+
* 音画质重生后的媒体文件配置。
|
|
4855
|
+
*/
|
|
4856
|
+
OutputConfig?: EnhanceMediaQualityOutputConfig
|
|
4857
|
+
/**
|
|
4858
|
+
* 用于去重的识别码,如果三天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
|
|
4859
|
+
*/
|
|
4860
|
+
SessionId?: string
|
|
4861
|
+
/**
|
|
4862
|
+
* 来源上下文,用于透传用户请求信息,音画质重生完成回调将返回该字段值,最长 1000 个字符。
|
|
4863
|
+
*/
|
|
4864
|
+
SessionContext?: string
|
|
4865
|
+
/**
|
|
4866
|
+
* 任务的优先级,数值越大优先级越高,取值范围是 -10 到 10,不填代表 0。
|
|
4867
|
+
*/
|
|
4868
|
+
TasksPriority?: number
|
|
4869
|
+
}
|
|
4870
|
+
|
|
4837
4871
|
/**
|
|
4838
4872
|
* 资源包中包含的资源。
|
|
4839
4873
|
*/
|
|
@@ -11478,6 +11512,20 @@ export interface DescribeTranscodeTemplatesResponse {
|
|
|
11478
11512
|
RequestId?: string
|
|
11479
11513
|
}
|
|
11480
11514
|
|
|
11515
|
+
/**
|
|
11516
|
+
* 智能标签结果信息
|
|
11517
|
+
*/
|
|
11518
|
+
export interface MediaAiAnalysisTagItem {
|
|
11519
|
+
/**
|
|
11520
|
+
* 标签名称。
|
|
11521
|
+
*/
|
|
11522
|
+
Tag: string
|
|
11523
|
+
/**
|
|
11524
|
+
* 标签的可信度,取值范围是 0 到 100。
|
|
11525
|
+
*/
|
|
11526
|
+
Confidence: number
|
|
11527
|
+
}
|
|
11528
|
+
|
|
11481
11529
|
/**
|
|
11482
11530
|
* 视频画面低光、过曝检测的控制参数。
|
|
11483
11531
|
*/
|
|
@@ -15115,17 +15163,22 @@ export interface RebuildMediaTaskOutput {
|
|
|
15115
15163
|
}
|
|
15116
15164
|
|
|
15117
15165
|
/**
|
|
15118
|
-
*
|
|
15166
|
+
* 音画质重生结果文件输出。
|
|
15119
15167
|
*/
|
|
15120
|
-
export interface
|
|
15168
|
+
export interface EnhanceMediaQualityOutputConfig {
|
|
15121
15169
|
/**
|
|
15122
|
-
*
|
|
15170
|
+
* 输出文件名,最长 64 个字符。缺省由系统指定生成文件名。
|
|
15123
15171
|
*/
|
|
15124
|
-
|
|
15172
|
+
MediaName?: string
|
|
15125
15173
|
/**
|
|
15126
|
-
*
|
|
15174
|
+
* 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。
|
|
15175
|
+
<li>默认值:0,表示其他分类。</li>
|
|
15127
15176
|
*/
|
|
15128
|
-
|
|
15177
|
+
ClassId?: number
|
|
15178
|
+
/**
|
|
15179
|
+
* 输出文件的过期时间,超过该时间文件将被删除,默认为永久不过期,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
15180
|
+
*/
|
|
15181
|
+
ExpireTime?: string
|
|
15129
15182
|
}
|
|
15130
15183
|
|
|
15131
15184
|
/**
|
|
@@ -19853,6 +19906,20 @@ export interface DescribeStorageDetailsRequest {
|
|
|
19853
19906
|
Area?: string
|
|
19854
19907
|
}
|
|
19855
19908
|
|
|
19909
|
+
/**
|
|
19910
|
+
* EnhanceMediaQuality返回参数结构体
|
|
19911
|
+
*/
|
|
19912
|
+
export interface EnhanceMediaQualityResponse {
|
|
19913
|
+
/**
|
|
19914
|
+
* 音画质重生任务 ID。
|
|
19915
|
+
*/
|
|
19916
|
+
TaskId?: string
|
|
19917
|
+
/**
|
|
19918
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
19919
|
+
*/
|
|
19920
|
+
RequestId?: string
|
|
19921
|
+
}
|
|
19922
|
+
|
|
19856
19923
|
/**
|
|
19857
19924
|
* 字幕格式列表操作。
|
|
19858
19925
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.763";
|
|
@@ -2206,12 +2206,12 @@ export interface DataEngineConfigInstanceInfo {
|
|
|
2206
2206
|
*/
|
|
2207
2207
|
export interface CrontabResumeSuspendStrategy {
|
|
2208
2208
|
/**
|
|
2209
|
-
*
|
|
2209
|
+
* 定时拉起时间:如:周一&周三8点
|
|
2210
2210
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2211
2211
|
*/
|
|
2212
2212
|
ResumeTime?: string;
|
|
2213
2213
|
/**
|
|
2214
|
-
*
|
|
2214
|
+
* 定时挂起时间:如:周一&周三20点
|
|
2215
2215
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2216
2216
|
*/
|
|
2217
2217
|
SuspendTime?: string;
|
|
@@ -223,6 +223,33 @@ export declare class Client extends AbstractClient {
|
|
|
223
223
|
/**
|
|
224
224
|
* 通过模板创建签署流程<br/>
|
|
225
225
|
适用场景:在标准制式的合同场景中,可通过提前预制好模板文件,每次调用模板文件的id,补充合同内容信息及签署信息生成电子合同。
|
|
226
|
+
<table>
|
|
227
|
+
<thead>
|
|
228
|
+
<tr>
|
|
229
|
+
<th>签署人类别</th>
|
|
230
|
+
<th>需要提前准备的信息</th>
|
|
231
|
+
</tr>
|
|
232
|
+
</thead>
|
|
233
|
+
<tbody>
|
|
234
|
+
<tr>
|
|
235
|
+
<td>自己企业的员工签署(未认证加入或已认证加入)</td>
|
|
236
|
+
<td>签署企业的名字、员工的真实名字、员工的触达手机号、员工的证件号(证件号非必传)</td>
|
|
237
|
+
</tr>
|
|
238
|
+
<tr>
|
|
239
|
+
<td>自己企业的员工签署(已认证加入)</td>
|
|
240
|
+
<td>签署企业的名字、员工在电子签平台的ID(UserId)</td>
|
|
241
|
+
</tr>
|
|
242
|
+
<tr>
|
|
243
|
+
<td>其他企业的员工签署</td>
|
|
244
|
+
<td>签署企业的名字、员工的真实名字、员工的触达手机号、员工的证件号(证件号非必传)</td>
|
|
245
|
+
</tr>
|
|
246
|
+
<tr>
|
|
247
|
+
<td>个人(自然人)签署</td>
|
|
248
|
+
<td>个人的真实名字、个人的触达手机号、个人的身份证(证件号非必传)</td>
|
|
249
|
+
</tr>
|
|
250
|
+
</tbody>
|
|
251
|
+
</table>
|
|
252
|
+
|
|
226
253
|
|
|
227
254
|
注:配合<a href="https://qian.tencent.com/developers/companyApis/startFlows/CreateDocument" target="_blank">创建电子文档</a>和<a href="https://qian.tencent.com/developers/companyApis/startFlows/StartFlow" target="_blank">发起签署流程</a>接口使用。整体的逻辑如下图
|
|
228
255
|
|
|
@@ -322,8 +349,38 @@ httpProfile.setEndpoint("file.test.ess.tencent.cn");
|
|
|
322
349
|
* 此接口(CreateFlowByFiles)用来通过上传后的pdf资源编号来创建待签署的合同流程。<br/>
|
|
323
350
|
适用场景:适用非制式的合同文件签署。一般开发者自己有完整的签署文件,可以通过该接口传入完整的PDF文件及流程信息生成待签署的合同流程。<br/>
|
|
324
351
|
|
|
352
|
+
<table>
|
|
353
|
+
<thead>
|
|
354
|
+
<tr>
|
|
355
|
+
<th>签署人类别</th>
|
|
356
|
+
<th>需要提前准备的信息</th>
|
|
357
|
+
</tr>
|
|
358
|
+
</thead>
|
|
359
|
+
<tbody>
|
|
360
|
+
<tr>
|
|
361
|
+
<td>自己企业的员工签署(未认证加入或已认证加入)</td>
|
|
362
|
+
<td>签署企业的名字、员工的真实名字、员工的触达手机号、员工的证件号(证件号非必传)</td>
|
|
363
|
+
</tr>
|
|
364
|
+
<tr>
|
|
365
|
+
<td>自己企业的员工签署(已认证加入)</td>
|
|
366
|
+
<td>签署企业的名字、员工在电子签平台的ID(UserId)</td>
|
|
367
|
+
</tr>
|
|
368
|
+
<tr>
|
|
369
|
+
<td>其他企业的员工签署</td>
|
|
370
|
+
<td>签署企业的名字、员工的真实名字、员工的触达手机号、员工的证件号(证件号非必传)</td>
|
|
371
|
+
</tr>
|
|
372
|
+
<tr>
|
|
373
|
+
<td>个人(自然人)签署</td>
|
|
374
|
+
<td>个人的真实名字、个人的触达手机号、个人的身份证(证件号非必传)</td>
|
|
375
|
+
</tr>
|
|
376
|
+
</tbody>
|
|
377
|
+
</table>
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
|
|
325
381
|
该接口需要依赖[上传文件](https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles)接口生成pdf资源编号(FileIds)进行使用。(如果非pdf文件需要调用[创建文件转换任务](https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateConvertTaskApi)接口转换成pdf资源)<br/>
|
|
326
382
|
|
|
383
|
+
|
|
327
384
|

|
|
328
385
|
|
|
329
386
|
注:
|
|
@@ -467,11 +524,14 @@ httpProfile.setEndpoint("file.test.ess.tencent.cn");
|
|
|
467
524
|
/**
|
|
468
525
|
* 指定需要批量催办的签署流程ID,批量催办合同,最多100个。需要符合以下条件的合同才可被催办:
|
|
469
526
|
|
|
470
|
-
1.
|
|
471
|
-
2.
|
|
472
|
-
3.
|
|
527
|
+
1. 发起合同时,**签署人的NotifyType需设置为sms**
|
|
528
|
+
2. 合同中当前状态为 **待签署** 的签署人是催办的对象
|
|
529
|
+
3. **每个合同只能催办一次**
|
|
530
|
+
|
|
531
|
+
**催办的效果**: 对方会收到如下的短信通知
|
|
532
|
+

|
|
473
533
|
|
|
474
|
-
|
|
534
|
+
注:`合同催办是白名单功能,请联系客户经理申请开白后使用`
|
|
475
535
|
*/
|
|
476
536
|
CreateFlowReminds(req: CreateFlowRemindsRequest, cb?: (error: string, rep: CreateFlowRemindsResponse) => void): Promise<CreateFlowRemindsResponse>;
|
|
477
537
|
/**
|
|
@@ -295,6 +295,33 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
295
295
|
/**
|
|
296
296
|
* 通过模板创建签署流程<br/>
|
|
297
297
|
适用场景:在标准制式的合同场景中,可通过提前预制好模板文件,每次调用模板文件的id,补充合同内容信息及签署信息生成电子合同。
|
|
298
|
+
<table>
|
|
299
|
+
<thead>
|
|
300
|
+
<tr>
|
|
301
|
+
<th>签署人类别</th>
|
|
302
|
+
<th>需要提前准备的信息</th>
|
|
303
|
+
</tr>
|
|
304
|
+
</thead>
|
|
305
|
+
<tbody>
|
|
306
|
+
<tr>
|
|
307
|
+
<td>自己企业的员工签署(未认证加入或已认证加入)</td>
|
|
308
|
+
<td>签署企业的名字、员工的真实名字、员工的触达手机号、员工的证件号(证件号非必传)</td>
|
|
309
|
+
</tr>
|
|
310
|
+
<tr>
|
|
311
|
+
<td>自己企业的员工签署(已认证加入)</td>
|
|
312
|
+
<td>签署企业的名字、员工在电子签平台的ID(UserId)</td>
|
|
313
|
+
</tr>
|
|
314
|
+
<tr>
|
|
315
|
+
<td>其他企业的员工签署</td>
|
|
316
|
+
<td>签署企业的名字、员工的真实名字、员工的触达手机号、员工的证件号(证件号非必传)</td>
|
|
317
|
+
</tr>
|
|
318
|
+
<tr>
|
|
319
|
+
<td>个人(自然人)签署</td>
|
|
320
|
+
<td>个人的真实名字、个人的触达手机号、个人的身份证(证件号非必传)</td>
|
|
321
|
+
</tr>
|
|
322
|
+
</tbody>
|
|
323
|
+
</table>
|
|
324
|
+
|
|
298
325
|
|
|
299
326
|
注:配合<a href="https://qian.tencent.com/developers/companyApis/startFlows/CreateDocument" target="_blank">创建电子文档</a>和<a href="https://qian.tencent.com/developers/companyApis/startFlows/StartFlow" target="_blank">发起签署流程</a>接口使用。整体的逻辑如下图
|
|
300
327
|
|
|
@@ -410,8 +437,38 @@ httpProfile.setEndpoint("file.test.ess.tencent.cn");
|
|
|
410
437
|
* 此接口(CreateFlowByFiles)用来通过上传后的pdf资源编号来创建待签署的合同流程。<br/>
|
|
411
438
|
适用场景:适用非制式的合同文件签署。一般开发者自己有完整的签署文件,可以通过该接口传入完整的PDF文件及流程信息生成待签署的合同流程。<br/>
|
|
412
439
|
|
|
440
|
+
<table>
|
|
441
|
+
<thead>
|
|
442
|
+
<tr>
|
|
443
|
+
<th>签署人类别</th>
|
|
444
|
+
<th>需要提前准备的信息</th>
|
|
445
|
+
</tr>
|
|
446
|
+
</thead>
|
|
447
|
+
<tbody>
|
|
448
|
+
<tr>
|
|
449
|
+
<td>自己企业的员工签署(未认证加入或已认证加入)</td>
|
|
450
|
+
<td>签署企业的名字、员工的真实名字、员工的触达手机号、员工的证件号(证件号非必传)</td>
|
|
451
|
+
</tr>
|
|
452
|
+
<tr>
|
|
453
|
+
<td>自己企业的员工签署(已认证加入)</td>
|
|
454
|
+
<td>签署企业的名字、员工在电子签平台的ID(UserId)</td>
|
|
455
|
+
</tr>
|
|
456
|
+
<tr>
|
|
457
|
+
<td>其他企业的员工签署</td>
|
|
458
|
+
<td>签署企业的名字、员工的真实名字、员工的触达手机号、员工的证件号(证件号非必传)</td>
|
|
459
|
+
</tr>
|
|
460
|
+
<tr>
|
|
461
|
+
<td>个人(自然人)签署</td>
|
|
462
|
+
<td>个人的真实名字、个人的触达手机号、个人的身份证(证件号非必传)</td>
|
|
463
|
+
</tr>
|
|
464
|
+
</tbody>
|
|
465
|
+
</table>
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
|
|
413
469
|
该接口需要依赖[上传文件](https://qian.tencent.com/developers/companyApis/templatesAndFiles/UploadFiles)接口生成pdf资源编号(FileIds)进行使用。(如果非pdf文件需要调用[创建文件转换任务](https://qian.tencent.com/developers/companyApis/templatesAndFiles/CreateConvertTaskApi)接口转换成pdf资源)<br/>
|
|
414
470
|
|
|
471
|
+
|
|
415
472
|

|
|
416
473
|
|
|
417
474
|
注:
|
|
@@ -589,11 +646,14 @@ httpProfile.setEndpoint("file.test.ess.tencent.cn");
|
|
|
589
646
|
/**
|
|
590
647
|
* 指定需要批量催办的签署流程ID,批量催办合同,最多100个。需要符合以下条件的合同才可被催办:
|
|
591
648
|
|
|
592
|
-
1.
|
|
593
|
-
2.
|
|
594
|
-
3.
|
|
649
|
+
1. 发起合同时,**签署人的NotifyType需设置为sms**
|
|
650
|
+
2. 合同中当前状态为 **待签署** 的签署人是催办的对象
|
|
651
|
+
3. **每个合同只能催办一次**
|
|
652
|
+
|
|
653
|
+
**催办的效果**: 对方会收到如下的短信通知
|
|
654
|
+

|
|
595
655
|
|
|
596
|
-
|
|
656
|
+
注:`合同催办是白名单功能,请联系客户经理申请开白后使用`
|
|
597
657
|
*/
|
|
598
658
|
async CreateFlowReminds(req, cb) {
|
|
599
659
|
return this.request("CreateFlowReminds", req, cb);
|
|
@@ -2864,6 +2864,18 @@ export interface CreateFlowByFilesRequest {
|
|
|
2864
2864
|
如果在签署截止时间前未完成签署,则合同状态会变为已过期,导致合同作废。
|
|
2865
2865
|
*/
|
|
2866
2866
|
Deadline?: number;
|
|
2867
|
+
/**
|
|
2868
|
+
* 合同流程的签署顺序类型:
|
|
2869
|
+
<ul><li> **false**:(默认)有序签署, 本合同多个参与人需要依次签署 </li>
|
|
2870
|
+
<li> **true**:无序签署, 本合同多个参与人没有先后签署限制</li></ul>
|
|
2871
|
+
*/
|
|
2872
|
+
Unordered?: boolean;
|
|
2873
|
+
/**
|
|
2874
|
+
* 调用方自定义的个性化字段(可自定义此名称),并以base64方式编码,支持的最大数据大小为 20480长度。
|
|
2875
|
+
|
|
2876
|
+
在合同状态变更的回调信息等场景中,该字段的信息将原封不动地透传给贵方。回调的相关说明可参考开发者中心的[回调通知](https://qian.tencent.com/developers/company/callback_types_v2)模块。
|
|
2877
|
+
*/
|
|
2878
|
+
UserData?: string;
|
|
2867
2879
|
/**
|
|
2868
2880
|
* 合同到期提醒时间,为Unix标准时间戳(秒)格式,支持的范围是从发起时间开始到后10年内。
|
|
2869
2881
|
|
|
@@ -2871,11 +2883,17 @@ export interface CreateFlowByFilesRequest {
|
|
|
2871
2883
|
*/
|
|
2872
2884
|
RemindedOn?: number;
|
|
2873
2885
|
/**
|
|
2874
|
-
*
|
|
2875
|
-
<ul><li>
|
|
2876
|
-
<li>
|
|
2886
|
+
* 指定个人签署方查看合同的校验方式
|
|
2887
|
+
<ul><li> **VerifyCheck** :(默认)人脸识别,人脸识别后才能合同内容 </li>
|
|
2888
|
+
<li> **MobileCheck** : 手机号验证, 用户手机号和参与方手机号(ApproverMobile)相同即可查看合同内容(当手写签名方式为OCR_ESIGN时,该校验方式无效,因为这种签名方式依赖实名认证)</li></ul>
|
|
2877
2889
|
*/
|
|
2878
|
-
|
|
2890
|
+
ApproverVerifyType?: string;
|
|
2891
|
+
/**
|
|
2892
|
+
* 签署方签署控件(印章/签名等)的生成方式:
|
|
2893
|
+
<ul><li> **0**:在合同流程发起时,由发起人指定签署方的签署控件的位置和数量。</li>
|
|
2894
|
+
<li> **1**:签署方在签署时自行添加签署控件,可以拖动位置和控制数量。</li></ul>
|
|
2895
|
+
*/
|
|
2896
|
+
SignBeanTag?: number;
|
|
2879
2897
|
/**
|
|
2880
2898
|
* 您可以自定义腾讯电子签小程序合同列表页展示的合同内容模板,模板中支持以下变量:
|
|
2881
2899
|
<ul><li>{合同名称} </li>
|
|
@@ -2894,34 +2912,6 @@ export interface CreateFlowByFilesRequest {
|
|
|
2894
2912
|
|
|
2895
2913
|
*/
|
|
2896
2914
|
CustomShowMap?: string;
|
|
2897
|
-
/**
|
|
2898
|
-
* 发起方企业的签署人进行签署操作前,是否需要企业内部走审批流程,取值如下:
|
|
2899
|
-
<ul><li> **false**:(默认)不需要审批,直接签署。</li>
|
|
2900
|
-
<li> **true**:需要走审批流程。当到对应参与人签署时,会阻塞其签署操作,等待企业内部审批完成。</li></ul>
|
|
2901
|
-
企业可以通过CreateFlowSignReview审批接口通知腾讯电子签平台企业内部审批结果
|
|
2902
|
-
<ul><li> 如果企业通知腾讯电子签平台审核通过,签署方可继续签署动作。</li>
|
|
2903
|
-
<li> 如果企业通知腾讯电子签平台审核未通过,平台将继续阻塞签署方的签署动作,直到企业通知平台审核通过。</li></ul>
|
|
2904
|
-
注:`此功能可用于与企业内部的审批流程进行关联,支持手动、静默签署合同`
|
|
2905
|
-
*/
|
|
2906
|
-
NeedSignReview?: boolean;
|
|
2907
|
-
/**
|
|
2908
|
-
* 调用方自定义的个性化字段(可自定义此名称),并以base64方式编码,支持的最大数据大小为 20480长度。
|
|
2909
|
-
|
|
2910
|
-
在合同状态变更的回调信息等场景中,该字段的信息将原封不动地透传给贵方。回调的相关说明可参考开发者中心的[回调通知](https://qian.tencent.com/developers/company/callback_types_v2)模块。
|
|
2911
|
-
*/
|
|
2912
|
-
UserData?: string;
|
|
2913
|
-
/**
|
|
2914
|
-
* 指定个人签署方查看合同的校验方式
|
|
2915
|
-
<ul><li> **VerifyCheck** :(默认)人脸识别,人脸识别后才能合同内容 </li>
|
|
2916
|
-
<li> **MobileCheck** : 手机号验证, 用户手机号和参与方手机号(ApproverMobile)相同即可查看合同内容(当手写签名方式为OCR_ESIGN时,该校验方式无效,因为这种签名方式依赖实名认证)</li></ul>
|
|
2917
|
-
*/
|
|
2918
|
-
ApproverVerifyType?: string;
|
|
2919
|
-
/**
|
|
2920
|
-
* 签署方签署控件(印章/签名等)的生成方式:
|
|
2921
|
-
<ul><li> **0**:在合同流程发起时,由发起人指定签署方的签署控件的位置和数量。</li>
|
|
2922
|
-
<li> **1**:签署方在签署时自行添加签署控件,可以拖动位置和控制数量。</li></ul>
|
|
2923
|
-
*/
|
|
2924
|
-
SignBeanTag?: number;
|
|
2925
2915
|
/**
|
|
2926
2916
|
* 代理企业和员工的信息。
|
|
2927
2917
|
在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。
|
|
@@ -2933,6 +2923,16 @@ export interface CreateFlowByFilesRequest {
|
|
|
2933
2923
|
注: `个人自动签名场景是白名单功能,使用前请与对接的客户经理联系沟通。`
|
|
2934
2924
|
*/
|
|
2935
2925
|
AutoSignScene?: string;
|
|
2926
|
+
/**
|
|
2927
|
+
* 发起方企业的签署人进行签署操作前,是否需要企业内部走审批流程,取值如下:
|
|
2928
|
+
<ul><li> **false**:(默认)不需要审批,直接签署。</li>
|
|
2929
|
+
<li> **true**:需要走审批流程。当到对应参与人签署时,会阻塞其签署操作,等待企业内部审批完成。</li></ul>
|
|
2930
|
+
企业可以通过CreateFlowSignReview审批接口通知腾讯电子签平台企业内部审批结果
|
|
2931
|
+
<ul><li> 如果企业通知腾讯电子签平台审核通过,签署方可继续签署动作。</li>
|
|
2932
|
+
<li> 如果企业通知腾讯电子签平台审核未通过,平台将继续阻塞签署方的签署动作,直到企业通知平台审核通过。</li></ul>
|
|
2933
|
+
注:`此功能可用于与企业内部的审批流程进行关联,支持手动、静默签署合同`
|
|
2934
|
+
*/
|
|
2935
|
+
NeedSignReview?: boolean;
|
|
2936
2936
|
}
|
|
2937
2937
|
/**
|
|
2938
2938
|
* 此结构体(FlowGroupInfo)描述的是合同组(流程组)的单个合同(流程)信息
|
|
@@ -1297,14 +1297,6 @@ export interface SyncProxyOrganizationRequest {
|
|
|
1297
1297
|
* ChannelCreatePrepareFlow请求参数结构体
|
|
1298
1298
|
*/
|
|
1299
1299
|
export interface ChannelCreatePrepareFlowRequest {
|
|
1300
|
-
/**
|
|
1301
|
-
* 资源id,与ResourceType相对应,取值范围:
|
|
1302
|
-
<ul>
|
|
1303
|
-
<li>文件Id(通过UploadFiles获取文件资源Id)</li>
|
|
1304
|
-
<li>模板Id</li>
|
|
1305
|
-
</ul>
|
|
1306
|
-
*/
|
|
1307
|
-
ResourceId: string;
|
|
1308
1300
|
/**
|
|
1309
1301
|
* 资源类型,取值有:
|
|
1310
1302
|
<ul><li> **1**:模板</li>
|
|
@@ -1327,6 +1319,14 @@ export interface ChannelCreatePrepareFlowRequest {
|
|
|
1327
1319
|
第三方平台子客企业和员工必须已经经过实名认证
|
|
1328
1320
|
*/
|
|
1329
1321
|
Agent?: Agent;
|
|
1322
|
+
/**
|
|
1323
|
+
* 资源id,与ResourceType相对应,取值范围:
|
|
1324
|
+
<ul>
|
|
1325
|
+
<li>文件Id(通过UploadFiles获取文件资源Id)</li>
|
|
1326
|
+
<li>模板Id</li>
|
|
1327
|
+
</ul>
|
|
1328
|
+
*/
|
|
1329
|
+
ResourceId?: string;
|
|
1330
1330
|
/**
|
|
1331
1331
|
* 合同流程配置信息,用于配置发起合同时定制化如是否允许修改,某些按钮的隐藏等逻辑
|
|
1332
1332
|
*/
|
|
@@ -3264,6 +3264,8 @@ export interface CommonFlowApprover {
|
|
|
3264
3264
|
**3** :企业/企业员工自动签(他方企业自动签署或文件发起时的本方企业自动签)
|
|
3265
3265
|
|
|
3266
3266
|
注:类型为3(企业/企业员工自动签)时,此接口会默认完成该签署方的签署。静默签署仅进行盖章操作,不能自动签名。
|
|
3267
|
+
使用自动签时,请确保企业已经开通自动签功能,开通方式:控制台 -> 企业设置 -> 扩展服务 -> 企业自动签。
|
|
3268
|
+
使用文件发起自动签时使用前请联系对接的客户经理沟通。
|
|
3267
3269
|
|
|
3268
3270
|
*/
|
|
3269
3271
|
ApproverType?: number;
|
|
@@ -113,7 +113,7 @@ export interface CreateRoomRequest {
|
|
|
113
113
|
*/
|
|
114
114
|
EndDelayTime?: number;
|
|
115
115
|
/**
|
|
116
|
-
*
|
|
116
|
+
* 直播类型:0 常规(默认)1 伪直播
|
|
117
117
|
*/
|
|
118
118
|
LiveType?: number;
|
|
119
119
|
/**
|
|
@@ -721,7 +721,7 @@ export interface RoomItem {
|
|
|
721
721
|
*/
|
|
722
722
|
EndDelayTime?: number;
|
|
723
723
|
/**
|
|
724
|
-
*
|
|
724
|
+
* 直播类型:0 常规(默认)1 伪直播
|
|
725
725
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
726
726
|
*/
|
|
727
727
|
LiveType?: number;
|
|
@@ -2019,7 +2019,7 @@ export interface DescribeRoomResponse {
|
|
|
2019
2019
|
*/
|
|
2020
2020
|
EndDelayTime?: number;
|
|
2021
2021
|
/**
|
|
2022
|
-
*
|
|
2022
|
+
* 直播类型:0 常规(默认)1 伪直播
|
|
2023
2023
|
*/
|
|
2024
2024
|
LiveType?: number;
|
|
2025
2025
|
/**
|
|
@@ -2563,7 +2563,7 @@ export interface RoomInfo {
|
|
|
2563
2563
|
*/
|
|
2564
2564
|
EndDelayTime?: number;
|
|
2565
2565
|
/**
|
|
2566
|
-
*
|
|
2566
|
+
* 直播类型:0 常规(默认)1 伪直播
|
|
2567
2567
|
*/
|
|
2568
2568
|
LiveType?: number;
|
|
2569
2569
|
/**
|
|
@@ -2574,6 +2574,10 @@ export interface RoomInfo {
|
|
|
2574
2574
|
* 是否自动开始上课:0 不自动上课(默认) 1 自动上课 live_type=1的时候有效
|
|
2575
2575
|
*/
|
|
2576
2576
|
EnableAutoStart?: number;
|
|
2577
|
+
/**
|
|
2578
|
+
* 录制文件背景图片,支持png、jpg、jpeg、bmp格式,暂不支持透明通道
|
|
2579
|
+
*/
|
|
2580
|
+
RecordBackground?: string;
|
|
2577
2581
|
}
|
|
2578
2582
|
/**
|
|
2579
2583
|
* ModifyRoom请求参数结构体
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, GeneralHandwritingOCRResponse, RecognizePhilippinesDrivingLicenseOCRRequest, MLIDPassportOCRRequest, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, CreateAIFormTaskRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, RideHailingTransportLicenseOCRRequest, FlightInvoiceOCRRequest, HmtResidentPermitOCRResponse, EnterpriseLicenseOCRResponse, RecognizePhilippinesVoteIDOCRRequest, InstitutionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, BankCardOCRRequest, VehicleRegCertOCRRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizePhilippinesTinIDOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RecognizePhilippinesVoteIDOCRResponse, GeneralAccurateOCRResponse, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, RecognizeMedicalInvoiceOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VatInvoiceVerifyNewRequest, VehicleLicenseOCRResponse, RecognizePhilippinesSssIDOCRRequest,
|
|
3
|
+
import { RecognizeOnlineTaxiItineraryOCRResponse, BankSlipOCRRequest, BusinessCardOCRResponse, HKIDCardOCRRequest, CarInvoiceOCRRequest, RecognizeTravelCardOCRRequest, TrainTicketOCRRequest, EstateCertOCRResponse, GeneralHandwritingOCRResponse, RecognizePhilippinesDrivingLicenseOCRRequest, MLIDPassportOCRRequest, SmartStructuralOCRV2Request, TextDetectResponse, TollInvoiceOCRResponse, FinanBillSliceOCRResponse, DriverLicenseOCRResponse, WaybillOCRResponse, CreateAIFormTaskRequest, PermitOCRResponse, InvoiceGeneralOCRRequest, RideHailingTransportLicenseOCRRequest, FlightInvoiceOCRRequest, HmtResidentPermitOCRResponse, IDCardOCRResponse, EnterpriseLicenseOCRResponse, RecognizePhilippinesVoteIDOCRRequest, InstitutionOCRResponse, DriverLicenseOCRRequest, RecognizeTableOCRResponse, QrcodeOCRResponse, MainlandPermitOCRRequest, SmartStructuralOCRV2Response, EnterpriseLicenseOCRRequest, BankCardOCRRequest, VehicleRegCertOCRRequest, PropOwnerCertOCRResponse, TrainTicketOCRResponse, RecognizePhilippinesTinIDOCRResponse, ArithmeticOCRResponse, FormulaOCRResponse, SmartStructuralOCRRequest, GeneralHandwritingOCRRequest, BizLicenseOCRRequest, MixedInvoiceDetectResponse, RecognizePhilippinesVoteIDOCRResponse, GeneralAccurateOCRResponse, TaxiInvoiceOCRResponse, RecognizeGeneralInvoiceRequest, GeneralBasicOCRResponse, RecognizeThaiIDCardOCRResponse, RecognizeMedicalInvoiceOCRResponse, MixedInvoiceOCRResponse, ClassifyDetectOCRResponse, VatInvoiceVerifyNewRequest, VehicleLicenseOCRResponse, RecognizePhilippinesSssIDOCRRequest, ClassifyDetectOCRRequest, DutyPaidProofOCRResponse, TollInvoiceOCRRequest, LicensePlateOCRResponse, HKIDCardOCRResponse, PermitOCRRequest, InvoiceGeneralOCRResponse, VatInvoiceVerifyNewResponse, RecognizePhilippinesSssIDOCRResponse, TaxiInvoiceOCRRequest, PropOwnerCertOCRRequest, RecognizeContainerOCRRequest, EduPaperOCRRequest, VatRollInvoiceOCRResponse, VatInvoiceVerifyRequest, EduPaperOCRResponse, RecognizeThaiIDCardOCRRequest, TableOCRRequest, ImageEnhancementResponse, PassportOCRResponse, TextDetectRequest, RecognizeTravelCardOCRResponse, LicensePlateOCRRequest, GeneralBasicOCRRequest, RecognizeIndonesiaIDCardOCRResponse, GeneralEfficientOCRRequest, RecognizePhilippinesUMIDOCRResponse, AdvertiseOCRRequest, RideHailingDriverLicenseOCRResponse, ImageEnhancementRequest, EnglishOCRRequest, VatInvoiceVerifyResponse, SmartStructuralOCRResponse, RecognizeIndonesiaIDCardOCRRequest, GeneralAccurateOCRRequest, OrgCodeCertOCRRequest, FlightInvoiceOCRResponse, InstitutionOCRRequest, RideHailingDriverLicenseOCRRequest, ArithmeticOCRRequest, VerifyOfdVatInvoiceOCRRequest, FinanBillSliceOCRRequest, MLIDPassportOCRResponse, VatRollInvoiceOCRRequest, RecognizeTableAccurateOCRRequest, SealOCRResponse, FinanBillOCRResponse, RecognizeHealthCodeOCRRequest, BankSlipOCRResponse, VinOCRResponse, GetTaskStateResponse, FormulaOCRRequest, PassportOCRRequest, DutyPaidProofOCRRequest, RecognizeHealthCodeOCRResponse, CreateAIFormTaskResponse, MixedInvoiceOCRRequest, ResidenceBookletOCRResponse, CarInvoiceOCRResponse, VehicleRegCertOCRResponse, GeneralFastOCRRequest, ShipInvoiceOCRResponse, RecognizeGeneralInvoiceResponse, GetTaskStateRequest, RecognizeMedicalInvoiceOCRRequest, InsuranceBillOCRResponse, GeneralEfficientOCRResponse, ShipInvoiceOCRRequest, SealOCRRequest, VerifyOfdVatInvoiceOCRResponse, HmtResidentPermitOCRRequest, RecognizeTableAccurateOCRResponse, ResidenceBookletOCRRequest, BusInvoiceOCRResponse, MainlandPermitOCRResponse, MLIDCardOCRRequest, EnglishOCRResponse, BusInvoiceOCRRequest, OrgCodeCertOCRResponse, RideHailingTransportLicenseOCRResponse, RecognizeContainerOCRResponse, InsuranceBillOCRRequest, QrcodeOCRRequest, TableOCRResponse, AdvertiseOCRResponse, VehicleLicenseOCRRequest, RecognizeOnlineTaxiItineraryOCRRequest, IDCardOCRRequest, MixedInvoiceDetectRequest, WaybillOCRRequest, VinOCRRequest, VatInvoiceOCRRequest, RecognizePhilippinesUMIDOCRRequest, MLIDCardOCRResponse, RecognizePhilippinesTinIDOCRRequest, RecognizeTableOCRRequest, EstateCertOCRRequest, BizLicenseOCRResponse, VatInvoiceOCRResponse, QuotaInvoiceOCRRequest, BankCardOCRResponse, BusinessCardOCRRequest, RecognizePhilippinesDrivingLicenseOCRResponse, FinanBillOCRRequest, QuotaInvoiceOCRResponse, GeneralFastOCRResponse } from "./ocr_models";
|
|
4
4
|
/**
|
|
5
5
|
* ocr client
|
|
6
6
|
* @class
|