@antchain/ato 1.14.26 → 1.14.28
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/dist/client.d.ts +55 -2
- package/dist/client.js +85 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +135 -3
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -11302,6 +11302,95 @@ export class SaveInnerAgentcustomerserviceResponse extends $tea.Model {
|
|
|
11302
11302
|
}
|
|
11303
11303
|
}
|
|
11304
11304
|
|
|
11305
|
+
export class QueryInnerLoggerRequest extends $tea.Model {
|
|
11306
|
+
// OAuth模式下的授权token
|
|
11307
|
+
authToken?: string;
|
|
11308
|
+
productInstanceId?: string;
|
|
11309
|
+
// 业务渠道:DINGDING
|
|
11310
|
+
channel: string;
|
|
11311
|
+
// 钉钉群id
|
|
11312
|
+
// 租户id
|
|
11313
|
+
// 支付宝uuid
|
|
11314
|
+
channelId: string;
|
|
11315
|
+
// traceid
|
|
11316
|
+
traceId?: string;
|
|
11317
|
+
// 开始时间
|
|
11318
|
+
startTime?: string;
|
|
11319
|
+
// 结束时间
|
|
11320
|
+
endTime?: string;
|
|
11321
|
+
// 分页
|
|
11322
|
+
pageInfo?: PageQuery;
|
|
11323
|
+
// 额外查询参数
|
|
11324
|
+
extQueryParam?: string;
|
|
11325
|
+
static names(): { [key: string]: string } {
|
|
11326
|
+
return {
|
|
11327
|
+
authToken: 'auth_token',
|
|
11328
|
+
productInstanceId: 'product_instance_id',
|
|
11329
|
+
channel: 'channel',
|
|
11330
|
+
channelId: 'channel_id',
|
|
11331
|
+
traceId: 'trace_id',
|
|
11332
|
+
startTime: 'start_time',
|
|
11333
|
+
endTime: 'end_time',
|
|
11334
|
+
pageInfo: 'page_info',
|
|
11335
|
+
extQueryParam: 'ext_query_param',
|
|
11336
|
+
};
|
|
11337
|
+
}
|
|
11338
|
+
|
|
11339
|
+
static types(): { [key: string]: any } {
|
|
11340
|
+
return {
|
|
11341
|
+
authToken: 'string',
|
|
11342
|
+
productInstanceId: 'string',
|
|
11343
|
+
channel: 'string',
|
|
11344
|
+
channelId: 'string',
|
|
11345
|
+
traceId: 'string',
|
|
11346
|
+
startTime: 'string',
|
|
11347
|
+
endTime: 'string',
|
|
11348
|
+
pageInfo: PageQuery,
|
|
11349
|
+
extQueryParam: 'string',
|
|
11350
|
+
};
|
|
11351
|
+
}
|
|
11352
|
+
|
|
11353
|
+
constructor(map?: { [key: string]: any }) {
|
|
11354
|
+
super(map);
|
|
11355
|
+
}
|
|
11356
|
+
}
|
|
11357
|
+
|
|
11358
|
+
export class QueryInnerLoggerResponse extends $tea.Model {
|
|
11359
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
11360
|
+
reqMsgId?: string;
|
|
11361
|
+
// 结果码,一般OK表示调用成功
|
|
11362
|
+
resultCode?: string;
|
|
11363
|
+
// 异常信息的文本描述
|
|
11364
|
+
resultMsg?: string;
|
|
11365
|
+
// 日志内容
|
|
11366
|
+
content?: string;
|
|
11367
|
+
// 总条数
|
|
11368
|
+
total?: number;
|
|
11369
|
+
static names(): { [key: string]: string } {
|
|
11370
|
+
return {
|
|
11371
|
+
reqMsgId: 'req_msg_id',
|
|
11372
|
+
resultCode: 'result_code',
|
|
11373
|
+
resultMsg: 'result_msg',
|
|
11374
|
+
content: 'content',
|
|
11375
|
+
total: 'total',
|
|
11376
|
+
};
|
|
11377
|
+
}
|
|
11378
|
+
|
|
11379
|
+
static types(): { [key: string]: any } {
|
|
11380
|
+
return {
|
|
11381
|
+
reqMsgId: 'string',
|
|
11382
|
+
resultCode: 'string',
|
|
11383
|
+
resultMsg: 'string',
|
|
11384
|
+
content: 'string',
|
|
11385
|
+
total: 'number',
|
|
11386
|
+
};
|
|
11387
|
+
}
|
|
11388
|
+
|
|
11389
|
+
constructor(map?: { [key: string]: any }) {
|
|
11390
|
+
super(map);
|
|
11391
|
+
}
|
|
11392
|
+
}
|
|
11393
|
+
|
|
11305
11394
|
export class CreateInsureRequest extends $tea.Model {
|
|
11306
11395
|
// OAuth模式下的授权token
|
|
11307
11396
|
authToken?: string;
|
|
@@ -12605,6 +12694,10 @@ export class SubmitSignFlowRequest extends $tea.Model {
|
|
|
12605
12694
|
userOrgIdNumber?: string;
|
|
12606
12695
|
// 合并签署是否开启人脸识别(默认true-开启),非合并签署无需设值
|
|
12607
12696
|
needFace?: boolean;
|
|
12697
|
+
// 0-手绘签名
|
|
12698
|
+
// 1-模板印章签名
|
|
12699
|
+
// 多种类型时逗号分割,为空不限制
|
|
12700
|
+
sealType?: string;
|
|
12608
12701
|
static names(): { [key: string]: string } {
|
|
12609
12702
|
return {
|
|
12610
12703
|
authToken: 'auth_token',
|
|
@@ -12637,6 +12730,7 @@ export class SubmitSignFlowRequest extends $tea.Model {
|
|
|
12637
12730
|
userOrgIdType: 'user_org_id_type',
|
|
12638
12731
|
userOrgIdNumber: 'user_org_id_number',
|
|
12639
12732
|
needFace: 'need_face',
|
|
12733
|
+
sealType: 'seal_type',
|
|
12640
12734
|
};
|
|
12641
12735
|
}
|
|
12642
12736
|
|
|
@@ -12672,6 +12766,7 @@ export class SubmitSignFlowRequest extends $tea.Model {
|
|
|
12672
12766
|
userOrgIdType: 'string',
|
|
12673
12767
|
userOrgIdNumber: 'string',
|
|
12674
12768
|
needFace: 'boolean',
|
|
12769
|
+
sealType: 'string',
|
|
12675
12770
|
};
|
|
12676
12771
|
}
|
|
12677
12772
|
|
|
@@ -12965,6 +13060,10 @@ export class SubmitFrontSignRequest extends $tea.Model {
|
|
|
12965
13060
|
userOrgName?: string;
|
|
12966
13061
|
// 合并签署是否开启人脸识别(默认true-开启),非合并签署无需设值
|
|
12967
13062
|
needFace?: boolean;
|
|
13063
|
+
// 0-手绘签名
|
|
13064
|
+
// 1-模板印章签名
|
|
13065
|
+
// 多种类型时逗号分割,为空不限制
|
|
13066
|
+
sealType?: string;
|
|
12968
13067
|
static names(): { [key: string]: string } {
|
|
12969
13068
|
return {
|
|
12970
13069
|
authToken: 'auth_token',
|
|
@@ -12997,6 +13096,7 @@ export class SubmitFrontSignRequest extends $tea.Model {
|
|
|
12997
13096
|
userOrgIdType: 'user_org_id_type',
|
|
12998
13097
|
userOrgName: 'user_org_name',
|
|
12999
13098
|
needFace: 'need_face',
|
|
13099
|
+
sealType: 'seal_type',
|
|
13000
13100
|
};
|
|
13001
13101
|
}
|
|
13002
13102
|
|
|
@@ -13032,6 +13132,7 @@ export class SubmitFrontSignRequest extends $tea.Model {
|
|
|
13032
13132
|
userOrgIdType: 'string',
|
|
13033
13133
|
userOrgName: 'string',
|
|
13034
13134
|
needFace: 'boolean',
|
|
13135
|
+
sealType: 'string',
|
|
13035
13136
|
};
|
|
13036
13137
|
}
|
|
13037
13138
|
|
|
@@ -13181,9 +13282,9 @@ export class UploadSignTemplateRequest extends $tea.Model {
|
|
|
13181
13282
|
// 订单所属商户的统一社会信用代码
|
|
13182
13283
|
merchantId: string;
|
|
13183
13284
|
// 合同类型
|
|
13184
|
-
contractType
|
|
13285
|
+
contractType?: string;
|
|
13185
13286
|
// 模板类型
|
|
13186
|
-
agreementType
|
|
13287
|
+
agreementType?: string;
|
|
13187
13288
|
// 签署区坐标配置
|
|
13188
13289
|
posConf: string;
|
|
13189
13290
|
// 模板参数
|
|
@@ -13192,6 +13293,12 @@ export class UploadSignTemplateRequest extends $tea.Model {
|
|
|
13192
13293
|
fileObject?: Readable;
|
|
13193
13294
|
fileObjectName?: string;
|
|
13194
13295
|
fileId: string;
|
|
13296
|
+
// 资方统一社会信用代码,默认为空
|
|
13297
|
+
fundId?: string;
|
|
13298
|
+
// 是否需要资方签署,默认为否
|
|
13299
|
+
fundSign?: boolean;
|
|
13300
|
+
// 资方签署区坐标,默认为空
|
|
13301
|
+
fundPosConf?: string;
|
|
13195
13302
|
static names(): { [key: string]: string } {
|
|
13196
13303
|
return {
|
|
13197
13304
|
authToken: 'auth_token',
|
|
@@ -13204,6 +13311,9 @@ export class UploadSignTemplateRequest extends $tea.Model {
|
|
|
13204
13311
|
fileObject: 'fileObject',
|
|
13205
13312
|
fileObjectName: 'fileObjectName',
|
|
13206
13313
|
fileId: 'file_id',
|
|
13314
|
+
fundId: 'fund_id',
|
|
13315
|
+
fundSign: 'fund_sign',
|
|
13316
|
+
fundPosConf: 'fund_pos_conf',
|
|
13207
13317
|
};
|
|
13208
13318
|
}
|
|
13209
13319
|
|
|
@@ -13219,6 +13329,9 @@ export class UploadSignTemplateRequest extends $tea.Model {
|
|
|
13219
13329
|
fileObject: 'Readable',
|
|
13220
13330
|
fileObjectName: 'string',
|
|
13221
13331
|
fileId: 'string',
|
|
13332
|
+
fundId: 'string',
|
|
13333
|
+
fundSign: 'boolean',
|
|
13334
|
+
fundPosConf: 'string',
|
|
13222
13335
|
};
|
|
13223
13336
|
}
|
|
13224
13337
|
|
|
@@ -16090,7 +16203,7 @@ export default class Client {
|
|
|
16090
16203
|
req_msg_id: AntchainUtil.getNonce(),
|
|
16091
16204
|
access_key: this._accessKeyId,
|
|
16092
16205
|
base_sdk_version: "TeaSDK-2.0",
|
|
16093
|
-
sdk_version: "1.14.
|
|
16206
|
+
sdk_version: "1.14.28",
|
|
16094
16207
|
_prod_code: "ATO",
|
|
16095
16208
|
_prod_channel: "undefined",
|
|
16096
16209
|
};
|
|
@@ -18355,6 +18468,25 @@ export default class Client {
|
|
|
18355
18468
|
return $tea.cast<SaveInnerAgentcustomerserviceResponse>(await this.doRequest("1.0", "antchain.ato.inner.agentcustomerservice.save", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SaveInnerAgentcustomerserviceResponse({}));
|
|
18356
18469
|
}
|
|
18357
18470
|
|
|
18471
|
+
/**
|
|
18472
|
+
* Description: 查询sls日志
|
|
18473
|
+
* Summary: 查询sls日志
|
|
18474
|
+
*/
|
|
18475
|
+
async queryInnerLogger(request: QueryInnerLoggerRequest): Promise<QueryInnerLoggerResponse> {
|
|
18476
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
18477
|
+
let headers : {[key: string ]: string} = { };
|
|
18478
|
+
return await this.queryInnerLoggerEx(request, headers, runtime);
|
|
18479
|
+
}
|
|
18480
|
+
|
|
18481
|
+
/**
|
|
18482
|
+
* Description: 查询sls日志
|
|
18483
|
+
* Summary: 查询sls日志
|
|
18484
|
+
*/
|
|
18485
|
+
async queryInnerLoggerEx(request: QueryInnerLoggerRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryInnerLoggerResponse> {
|
|
18486
|
+
Util.validateModel(request);
|
|
18487
|
+
return $tea.cast<QueryInnerLoggerResponse>(await this.doRequest("1.0", "antchain.ato.inner.logger.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInnerLoggerResponse({}));
|
|
18488
|
+
}
|
|
18489
|
+
|
|
18358
18490
|
/**
|
|
18359
18491
|
* Description: 一键投保
|
|
18360
18492
|
* Summary: 投保
|