@antchain/ato 1.8.76 → 1.8.86
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 +199 -17
- package/dist/client.js +305 -24
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +483 -47
package/src/client.ts
CHANGED
|
@@ -338,6 +338,59 @@ export class RelationPage extends $tea.Model {
|
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
|
|
341
|
+
// 公司信息修改
|
|
342
|
+
export class CompanyInfoUpdate extends $tea.Model {
|
|
343
|
+
// 营业执照文件信息
|
|
344
|
+
businessLicenseFile: FileInfo;
|
|
345
|
+
// 业务类型 枚举
|
|
346
|
+
productMainClass: string;
|
|
347
|
+
// 公司名称
|
|
348
|
+
companyName: string;
|
|
349
|
+
// 公司别名
|
|
350
|
+
companyAliasName: string;
|
|
351
|
+
// 公司数科租户id
|
|
352
|
+
tenantId?: string;
|
|
353
|
+
// 公司联系电话
|
|
354
|
+
companyMobile: string;
|
|
355
|
+
// 公司联系地址
|
|
356
|
+
companyAddress: string;
|
|
357
|
+
// 联系人姓名
|
|
358
|
+
contactName: string;
|
|
359
|
+
// 联系人手机号码
|
|
360
|
+
contactMobile: string;
|
|
361
|
+
static names(): { [key: string]: string } {
|
|
362
|
+
return {
|
|
363
|
+
businessLicenseFile: 'business_license_file',
|
|
364
|
+
productMainClass: 'product_main_class',
|
|
365
|
+
companyName: 'company_name',
|
|
366
|
+
companyAliasName: 'company_alias_name',
|
|
367
|
+
tenantId: 'tenant_id',
|
|
368
|
+
companyMobile: 'company_mobile',
|
|
369
|
+
companyAddress: 'company_address',
|
|
370
|
+
contactName: 'contact_name',
|
|
371
|
+
contactMobile: 'contact_mobile',
|
|
372
|
+
};
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
static types(): { [key: string]: any } {
|
|
376
|
+
return {
|
|
377
|
+
businessLicenseFile: FileInfo,
|
|
378
|
+
productMainClass: 'string',
|
|
379
|
+
companyName: 'string',
|
|
380
|
+
companyAliasName: 'string',
|
|
381
|
+
tenantId: 'string',
|
|
382
|
+
companyMobile: 'string',
|
|
383
|
+
companyAddress: 'string',
|
|
384
|
+
contactName: 'string',
|
|
385
|
+
contactMobile: 'string',
|
|
386
|
+
};
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
constructor(map?: { [key: string]: any }) {
|
|
390
|
+
super(map);
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
|
|
341
394
|
// 进件分页对象
|
|
342
395
|
export class MerchantAgentPage extends $tea.Model {
|
|
343
396
|
// 进件id
|
|
@@ -376,6 +429,64 @@ export class MerchantAgentPage extends $tea.Model {
|
|
|
376
429
|
}
|
|
377
430
|
}
|
|
378
431
|
|
|
432
|
+
// 订单消息结构体
|
|
433
|
+
export class OrderMsgInfo extends $tea.Model {
|
|
434
|
+
// 订单id
|
|
435
|
+
//
|
|
436
|
+
orderId: string;
|
|
437
|
+
// 消息ID
|
|
438
|
+
//
|
|
439
|
+
msgId: string;
|
|
440
|
+
// 消息类型
|
|
441
|
+
//
|
|
442
|
+
msgPublishType: string;
|
|
443
|
+
// 消息创建时间
|
|
444
|
+
//
|
|
445
|
+
msgCreateTime: string;
|
|
446
|
+
// 消息投递状态 SUCCESS 成功 FAIL 失败 WAIT 等待投递重试
|
|
447
|
+
msgStatus: string;
|
|
448
|
+
// 消息重投次数
|
|
449
|
+
//
|
|
450
|
+
msgRetryTime: number;
|
|
451
|
+
// 消息体内容
|
|
452
|
+
msgContent: string;
|
|
453
|
+
// 消息回调地址
|
|
454
|
+
msgCallbackUrl: string;
|
|
455
|
+
// 新回调地址
|
|
456
|
+
newMsgCallbackUrl: string;
|
|
457
|
+
static names(): { [key: string]: string } {
|
|
458
|
+
return {
|
|
459
|
+
orderId: 'order_id',
|
|
460
|
+
msgId: 'msg_id',
|
|
461
|
+
msgPublishType: 'msg_publish_type',
|
|
462
|
+
msgCreateTime: 'msg_create_time',
|
|
463
|
+
msgStatus: 'msg_status',
|
|
464
|
+
msgRetryTime: 'msg_retry_time',
|
|
465
|
+
msgContent: 'msg_content',
|
|
466
|
+
msgCallbackUrl: 'msg_callback_url',
|
|
467
|
+
newMsgCallbackUrl: 'new_msg_callback_url',
|
|
468
|
+
};
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
static types(): { [key: string]: any } {
|
|
472
|
+
return {
|
|
473
|
+
orderId: 'string',
|
|
474
|
+
msgId: 'string',
|
|
475
|
+
msgPublishType: 'string',
|
|
476
|
+
msgCreateTime: 'string',
|
|
477
|
+
msgStatus: 'string',
|
|
478
|
+
msgRetryTime: 'number',
|
|
479
|
+
msgContent: 'string',
|
|
480
|
+
msgCallbackUrl: 'string',
|
|
481
|
+
newMsgCallbackUrl: 'string',
|
|
482
|
+
};
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
constructor(map?: { [key: string]: any }) {
|
|
486
|
+
super(map);
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
|
|
379
490
|
// 主订单信息
|
|
380
491
|
export class OrderInfo extends $tea.Model {
|
|
381
492
|
static names(): { [key: string]: string } {
|
|
@@ -2492,6 +2603,8 @@ export class AllInnerTemplateRequest extends $tea.Model {
|
|
|
2492
2603
|
templateCode?: string;
|
|
2493
2604
|
// 魔法库模板文件名称
|
|
2494
2605
|
templateName?: string;
|
|
2606
|
+
// 线上模板ID
|
|
2607
|
+
templateCodeProd?: string;
|
|
2495
2608
|
static names(): { [key: string]: string } {
|
|
2496
2609
|
return {
|
|
2497
2610
|
authToken: 'auth_token',
|
|
@@ -2500,6 +2613,7 @@ export class AllInnerTemplateRequest extends $tea.Model {
|
|
|
2500
2613
|
tenantId: 'tenant_id',
|
|
2501
2614
|
templateCode: 'template_code',
|
|
2502
2615
|
templateName: 'template_name',
|
|
2616
|
+
templateCodeProd: 'template_code_prod',
|
|
2503
2617
|
};
|
|
2504
2618
|
}
|
|
2505
2619
|
|
|
@@ -2511,6 +2625,7 @@ export class AllInnerTemplateRequest extends $tea.Model {
|
|
|
2511
2625
|
tenantId: 'string',
|
|
2512
2626
|
templateCode: 'string',
|
|
2513
2627
|
templateName: 'string',
|
|
2628
|
+
templateCodeProd: 'string',
|
|
2514
2629
|
};
|
|
2515
2630
|
}
|
|
2516
2631
|
|
|
@@ -4377,7 +4492,9 @@ export class PagequeryInnerMerchantagentRequest extends $tea.Model {
|
|
|
4377
4492
|
// 租户8位id
|
|
4378
4493
|
tenantId: string;
|
|
4379
4494
|
// 代理商户名称
|
|
4380
|
-
agentName
|
|
4495
|
+
agentName?: string;
|
|
4496
|
+
// 进件状态
|
|
4497
|
+
payExpandStatus?: string;
|
|
4381
4498
|
// 分页对象
|
|
4382
4499
|
pageInfo: PageQuery;
|
|
4383
4500
|
static names(): { [key: string]: string } {
|
|
@@ -4386,6 +4503,7 @@ export class PagequeryInnerMerchantagentRequest extends $tea.Model {
|
|
|
4386
4503
|
productInstanceId: 'product_instance_id',
|
|
4387
4504
|
tenantId: 'tenant_id',
|
|
4388
4505
|
agentName: 'agent_name',
|
|
4506
|
+
payExpandStatus: 'pay_expand_status',
|
|
4389
4507
|
pageInfo: 'page_info',
|
|
4390
4508
|
};
|
|
4391
4509
|
}
|
|
@@ -4396,6 +4514,7 @@ export class PagequeryInnerMerchantagentRequest extends $tea.Model {
|
|
|
4396
4514
|
productInstanceId: 'string',
|
|
4397
4515
|
tenantId: 'string',
|
|
4398
4516
|
agentName: 'string',
|
|
4517
|
+
payExpandStatus: 'string',
|
|
4399
4518
|
pageInfo: PageQuery,
|
|
4400
4519
|
};
|
|
4401
4520
|
}
|
|
@@ -4910,6 +5029,167 @@ export class QueryInnerTemplateversionResponse extends $tea.Model {
|
|
|
4910
5029
|
}
|
|
4911
5030
|
}
|
|
4912
5031
|
|
|
5032
|
+
export class PagequeryInnerOrdermsgRequest extends $tea.Model {
|
|
5033
|
+
// OAuth模式下的授权token
|
|
5034
|
+
authToken?: string;
|
|
5035
|
+
productInstanceId?: string;
|
|
5036
|
+
// 租户8位id
|
|
5037
|
+
//
|
|
5038
|
+
tenantId: string;
|
|
5039
|
+
// 订单ID
|
|
5040
|
+
orderId: string;
|
|
5041
|
+
// 消息类型
|
|
5042
|
+
msgPublishType?: string;
|
|
5043
|
+
// 消息创建时间起始
|
|
5044
|
+
msgCreateTimeFrom?: string;
|
|
5045
|
+
// 消息创建时间结束
|
|
5046
|
+
msgCreateTimeTo?: string;
|
|
5047
|
+
// SANDBOX 沙箱 ;PROD 生产
|
|
5048
|
+
env: string;
|
|
5049
|
+
// 分页查询对象
|
|
5050
|
+
pageInfo: PageQuery;
|
|
5051
|
+
static names(): { [key: string]: string } {
|
|
5052
|
+
return {
|
|
5053
|
+
authToken: 'auth_token',
|
|
5054
|
+
productInstanceId: 'product_instance_id',
|
|
5055
|
+
tenantId: 'tenant_id',
|
|
5056
|
+
orderId: 'order_id',
|
|
5057
|
+
msgPublishType: 'msg_publish_type',
|
|
5058
|
+
msgCreateTimeFrom: 'msg_create_time_from',
|
|
5059
|
+
msgCreateTimeTo: 'msg_create_time_to',
|
|
5060
|
+
env: 'env',
|
|
5061
|
+
pageInfo: 'page_info',
|
|
5062
|
+
};
|
|
5063
|
+
}
|
|
5064
|
+
|
|
5065
|
+
static types(): { [key: string]: any } {
|
|
5066
|
+
return {
|
|
5067
|
+
authToken: 'string',
|
|
5068
|
+
productInstanceId: 'string',
|
|
5069
|
+
tenantId: 'string',
|
|
5070
|
+
orderId: 'string',
|
|
5071
|
+
msgPublishType: 'string',
|
|
5072
|
+
msgCreateTimeFrom: 'string',
|
|
5073
|
+
msgCreateTimeTo: 'string',
|
|
5074
|
+
env: 'string',
|
|
5075
|
+
pageInfo: PageQuery,
|
|
5076
|
+
};
|
|
5077
|
+
}
|
|
5078
|
+
|
|
5079
|
+
constructor(map?: { [key: string]: any }) {
|
|
5080
|
+
super(map);
|
|
5081
|
+
}
|
|
5082
|
+
}
|
|
5083
|
+
|
|
5084
|
+
export class PagequeryInnerOrdermsgResponse extends $tea.Model {
|
|
5085
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
5086
|
+
reqMsgId?: string;
|
|
5087
|
+
// 结果码,一般OK表示调用成功
|
|
5088
|
+
resultCode?: string;
|
|
5089
|
+
// 异常信息的文本描述
|
|
5090
|
+
resultMsg?: string;
|
|
5091
|
+
// 数据总量
|
|
5092
|
+
totalSize?: number;
|
|
5093
|
+
// 消息内容列表
|
|
5094
|
+
orderMsgInfos?: OrderMsgInfo[];
|
|
5095
|
+
static names(): { [key: string]: string } {
|
|
5096
|
+
return {
|
|
5097
|
+
reqMsgId: 'req_msg_id',
|
|
5098
|
+
resultCode: 'result_code',
|
|
5099
|
+
resultMsg: 'result_msg',
|
|
5100
|
+
totalSize: 'total_size',
|
|
5101
|
+
orderMsgInfos: 'order_msg_infos',
|
|
5102
|
+
};
|
|
5103
|
+
}
|
|
5104
|
+
|
|
5105
|
+
static types(): { [key: string]: any } {
|
|
5106
|
+
return {
|
|
5107
|
+
reqMsgId: 'string',
|
|
5108
|
+
resultCode: 'string',
|
|
5109
|
+
resultMsg: 'string',
|
|
5110
|
+
totalSize: 'number',
|
|
5111
|
+
orderMsgInfos: { 'type': 'array', 'itemType': OrderMsgInfo },
|
|
5112
|
+
};
|
|
5113
|
+
}
|
|
5114
|
+
|
|
5115
|
+
constructor(map?: { [key: string]: any }) {
|
|
5116
|
+
super(map);
|
|
5117
|
+
}
|
|
5118
|
+
}
|
|
5119
|
+
|
|
5120
|
+
export class RetryInnerOrdermsgRequest extends $tea.Model {
|
|
5121
|
+
// OAuth模式下的授权token
|
|
5122
|
+
authToken?: string;
|
|
5123
|
+
productInstanceId?: string;
|
|
5124
|
+
// 租户ID
|
|
5125
|
+
tenantId: string;
|
|
5126
|
+
// SANDBOX 沙箱 PROD 生产
|
|
5127
|
+
env: string;
|
|
5128
|
+
// 订单id
|
|
5129
|
+
//
|
|
5130
|
+
orderId: string;
|
|
5131
|
+
// 消息ID
|
|
5132
|
+
//
|
|
5133
|
+
msgId: string;
|
|
5134
|
+
// 使用租户新回调地址
|
|
5135
|
+
usingNewCallbackUrl: boolean;
|
|
5136
|
+
static names(): { [key: string]: string } {
|
|
5137
|
+
return {
|
|
5138
|
+
authToken: 'auth_token',
|
|
5139
|
+
productInstanceId: 'product_instance_id',
|
|
5140
|
+
tenantId: 'tenant_id',
|
|
5141
|
+
env: 'env',
|
|
5142
|
+
orderId: 'order_id',
|
|
5143
|
+
msgId: 'msg_id',
|
|
5144
|
+
usingNewCallbackUrl: 'using_new_callback_url',
|
|
5145
|
+
};
|
|
5146
|
+
}
|
|
5147
|
+
|
|
5148
|
+
static types(): { [key: string]: any } {
|
|
5149
|
+
return {
|
|
5150
|
+
authToken: 'string',
|
|
5151
|
+
productInstanceId: 'string',
|
|
5152
|
+
tenantId: 'string',
|
|
5153
|
+
env: 'string',
|
|
5154
|
+
orderId: 'string',
|
|
5155
|
+
msgId: 'string',
|
|
5156
|
+
usingNewCallbackUrl: 'boolean',
|
|
5157
|
+
};
|
|
5158
|
+
}
|
|
5159
|
+
|
|
5160
|
+
constructor(map?: { [key: string]: any }) {
|
|
5161
|
+
super(map);
|
|
5162
|
+
}
|
|
5163
|
+
}
|
|
5164
|
+
|
|
5165
|
+
export class RetryInnerOrdermsgResponse extends $tea.Model {
|
|
5166
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
5167
|
+
reqMsgId?: string;
|
|
5168
|
+
// 结果码,一般OK表示调用成功
|
|
5169
|
+
resultCode?: string;
|
|
5170
|
+
// 异常信息的文本描述
|
|
5171
|
+
resultMsg?: string;
|
|
5172
|
+
static names(): { [key: string]: string } {
|
|
5173
|
+
return {
|
|
5174
|
+
reqMsgId: 'req_msg_id',
|
|
5175
|
+
resultCode: 'result_code',
|
|
5176
|
+
resultMsg: 'result_msg',
|
|
5177
|
+
};
|
|
5178
|
+
}
|
|
5179
|
+
|
|
5180
|
+
static types(): { [key: string]: any } {
|
|
5181
|
+
return {
|
|
5182
|
+
reqMsgId: 'string',
|
|
5183
|
+
resultCode: 'string',
|
|
5184
|
+
resultMsg: 'string',
|
|
5185
|
+
};
|
|
5186
|
+
}
|
|
5187
|
+
|
|
5188
|
+
constructor(map?: { [key: string]: any }) {
|
|
5189
|
+
super(map);
|
|
5190
|
+
}
|
|
5191
|
+
}
|
|
5192
|
+
|
|
4913
5193
|
export class RegisterMerchantexpandMerchantRequest extends $tea.Model {
|
|
4914
5194
|
// OAuth模式下的授权token
|
|
4915
5195
|
authToken?: string;
|
|
@@ -5118,37 +5398,120 @@ export class QueryMerchantexpandMerchantResponse extends $tea.Model {
|
|
|
5118
5398
|
}
|
|
5119
5399
|
}
|
|
5120
5400
|
|
|
5401
|
+
export class UpdateMerchantexpandMerchantRequest extends $tea.Model {
|
|
5402
|
+
// OAuth模式下的授权token
|
|
5403
|
+
authToken?: string;
|
|
5404
|
+
productInstanceId?: string;
|
|
5405
|
+
// 公司信息
|
|
5406
|
+
companyInfo: CompanyInfoUpdate;
|
|
5407
|
+
// 法人信息
|
|
5408
|
+
legalInfo: LegalInfo;
|
|
5409
|
+
// 应用信息
|
|
5410
|
+
applicationInfo: ApplicationInfo;
|
|
5411
|
+
// 进件模式 DIRECT(直连进件) AGENT(代理进件)
|
|
5412
|
+
expandMode: string;
|
|
5413
|
+
// expand_mode=_AGENT_ 必填
|
|
5414
|
+
subTenantId?: string;
|
|
5415
|
+
// 进件流水号
|
|
5416
|
+
payExpandId: string;
|
|
5417
|
+
static names(): { [key: string]: string } {
|
|
5418
|
+
return {
|
|
5419
|
+
authToken: 'auth_token',
|
|
5420
|
+
productInstanceId: 'product_instance_id',
|
|
5421
|
+
companyInfo: 'company_info',
|
|
5422
|
+
legalInfo: 'legal_info',
|
|
5423
|
+
applicationInfo: 'application_info',
|
|
5424
|
+
expandMode: 'expand_mode',
|
|
5425
|
+
subTenantId: 'sub_tenant_id',
|
|
5426
|
+
payExpandId: 'pay_expand_id',
|
|
5427
|
+
};
|
|
5428
|
+
}
|
|
5429
|
+
|
|
5430
|
+
static types(): { [key: string]: any } {
|
|
5431
|
+
return {
|
|
5432
|
+
authToken: 'string',
|
|
5433
|
+
productInstanceId: 'string',
|
|
5434
|
+
companyInfo: CompanyInfoUpdate,
|
|
5435
|
+
legalInfo: LegalInfo,
|
|
5436
|
+
applicationInfo: ApplicationInfo,
|
|
5437
|
+
expandMode: 'string',
|
|
5438
|
+
subTenantId: 'string',
|
|
5439
|
+
payExpandId: 'string',
|
|
5440
|
+
};
|
|
5441
|
+
}
|
|
5442
|
+
|
|
5443
|
+
constructor(map?: { [key: string]: any }) {
|
|
5444
|
+
super(map);
|
|
5445
|
+
}
|
|
5446
|
+
}
|
|
5447
|
+
|
|
5448
|
+
export class UpdateMerchantexpandMerchantResponse extends $tea.Model {
|
|
5449
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
5450
|
+
reqMsgId?: string;
|
|
5451
|
+
// 结果码,一般OK表示调用成功
|
|
5452
|
+
resultCode?: string;
|
|
5453
|
+
// 异常信息的文本描述
|
|
5454
|
+
resultMsg?: string;
|
|
5455
|
+
// 进件流水号
|
|
5456
|
+
payExpandId?: string;
|
|
5457
|
+
static names(): { [key: string]: string } {
|
|
5458
|
+
return {
|
|
5459
|
+
reqMsgId: 'req_msg_id',
|
|
5460
|
+
resultCode: 'result_code',
|
|
5461
|
+
resultMsg: 'result_msg',
|
|
5462
|
+
payExpandId: 'pay_expand_id',
|
|
5463
|
+
};
|
|
5464
|
+
}
|
|
5465
|
+
|
|
5466
|
+
static types(): { [key: string]: any } {
|
|
5467
|
+
return {
|
|
5468
|
+
reqMsgId: 'string',
|
|
5469
|
+
resultCode: 'string',
|
|
5470
|
+
resultMsg: 'string',
|
|
5471
|
+
payExpandId: 'string',
|
|
5472
|
+
};
|
|
5473
|
+
}
|
|
5474
|
+
|
|
5475
|
+
constructor(map?: { [key: string]: any }) {
|
|
5476
|
+
super(map);
|
|
5477
|
+
}
|
|
5478
|
+
}
|
|
5479
|
+
|
|
5121
5480
|
export class CreateRealpersonFacevrfRequest extends $tea.Model {
|
|
5122
5481
|
// OAuth模式下的授权token
|
|
5123
5482
|
authToken?: string;
|
|
5124
5483
|
productInstanceId?: string;
|
|
5484
|
+
// 实人认证方案枚举
|
|
5485
|
+
// APP(客户端android/ios方案)
|
|
5486
|
+
// H5(网页)
|
|
5487
|
+
// ZFB(支付宝客户端H5方案)
|
|
5488
|
+
solutionType: string;
|
|
5125
5489
|
// 真实姓名
|
|
5126
5490
|
certName: string;
|
|
5127
5491
|
// 证件号码
|
|
5128
5492
|
certNo: string;
|
|
5129
|
-
//
|
|
5130
|
-
|
|
5131
|
-
//
|
|
5493
|
+
// 身份信息来源类型
|
|
5494
|
+
// IDENTITY_CARD(身份证)
|
|
5495
|
+
// RESIDENCE_HK_MC(港澳居民居住证)
|
|
5496
|
+
// RESIDENCE_TAIWAN(台湾居民居住证)
|
|
5132
5497
|
certType: string;
|
|
5133
|
-
//
|
|
5134
|
-
//
|
|
5135
|
-
//
|
|
5136
|
-
|
|
5137
|
-
//
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
orderId: string;
|
|
5498
|
+
// 【solution_type=ZFB使用】
|
|
5499
|
+
// reserve(保存活体人脸 默认值)
|
|
5500
|
+
// never(不保存活体人脸)
|
|
5501
|
+
faceReserveStrategy?: string;
|
|
5502
|
+
// 【solution_type=ZFB使用】
|
|
5503
|
+
// 认证成功后需要跳转的地址
|
|
5504
|
+
returnUrl?: string;
|
|
5141
5505
|
static names(): { [key: string]: string } {
|
|
5142
5506
|
return {
|
|
5143
5507
|
authToken: 'auth_token',
|
|
5144
5508
|
productInstanceId: 'product_instance_id',
|
|
5509
|
+
solutionType: 'solution_type',
|
|
5145
5510
|
certName: 'cert_name',
|
|
5146
5511
|
certNo: 'cert_no',
|
|
5147
|
-
identityType: 'identity_type',
|
|
5148
5512
|
certType: 'cert_type',
|
|
5149
|
-
|
|
5513
|
+
faceReserveStrategy: 'face_reserve_strategy',
|
|
5150
5514
|
returnUrl: 'return_url',
|
|
5151
|
-
orderId: 'order_id',
|
|
5152
5515
|
};
|
|
5153
5516
|
}
|
|
5154
5517
|
|
|
@@ -5156,13 +5519,12 @@ export class CreateRealpersonFacevrfRequest extends $tea.Model {
|
|
|
5156
5519
|
return {
|
|
5157
5520
|
authToken: 'string',
|
|
5158
5521
|
productInstanceId: 'string',
|
|
5522
|
+
solutionType: 'string',
|
|
5159
5523
|
certName: 'string',
|
|
5160
5524
|
certNo: 'string',
|
|
5161
|
-
identityType: 'string',
|
|
5162
5525
|
certType: 'string',
|
|
5163
|
-
|
|
5526
|
+
faceReserveStrategy: 'string',
|
|
5164
5527
|
returnUrl: 'string',
|
|
5165
|
-
orderId: 'string',
|
|
5166
5528
|
};
|
|
5167
5529
|
}
|
|
5168
5530
|
|
|
@@ -5178,14 +5540,18 @@ export class CreateRealpersonFacevrfResponse extends $tea.Model {
|
|
|
5178
5540
|
resultCode?: string;
|
|
5179
5541
|
// 异常信息的文本描述
|
|
5180
5542
|
resultMsg?: string;
|
|
5181
|
-
//
|
|
5182
|
-
|
|
5543
|
+
// 请求唯一ID标识,为空则是异常
|
|
5544
|
+
realPersonVerificationCode?: string;
|
|
5545
|
+
// 【solution_type=H5 | ZFB返回】
|
|
5546
|
+
// 人脸核身url地址
|
|
5547
|
+
webUrl?: string;
|
|
5183
5548
|
static names(): { [key: string]: string } {
|
|
5184
5549
|
return {
|
|
5185
5550
|
reqMsgId: 'req_msg_id',
|
|
5186
5551
|
resultCode: 'result_code',
|
|
5187
5552
|
resultMsg: 'result_msg',
|
|
5188
|
-
|
|
5553
|
+
realPersonVerificationCode: 'real_person_verification_code',
|
|
5554
|
+
webUrl: 'web_url',
|
|
5189
5555
|
};
|
|
5190
5556
|
}
|
|
5191
5557
|
|
|
@@ -5194,7 +5560,8 @@ export class CreateRealpersonFacevrfResponse extends $tea.Model {
|
|
|
5194
5560
|
reqMsgId: 'string',
|
|
5195
5561
|
resultCode: 'string',
|
|
5196
5562
|
resultMsg: 'string',
|
|
5197
|
-
|
|
5563
|
+
realPersonVerificationCode: 'string',
|
|
5564
|
+
webUrl: 'string',
|
|
5198
5565
|
};
|
|
5199
5566
|
}
|
|
5200
5567
|
|
|
@@ -5208,20 +5575,12 @@ export class QueryRealpersonFacevrfRequest extends $tea.Model {
|
|
|
5208
5575
|
authToken?: string;
|
|
5209
5576
|
productInstanceId?: string;
|
|
5210
5577
|
// 可信实人认证的唯一标识
|
|
5211
|
-
|
|
5212
|
-
// 商户请求的唯一标识。
|
|
5213
|
-
//
|
|
5214
|
-
// 值为 32 位长度的字母数字组合。其中,前面几位字符是商户自定义的简称,中间几位可以使用一段时间,后段可以使用一个随机或递增序列。该值也可以使用 UUID。
|
|
5215
|
-
outerOrderNo: string;
|
|
5216
|
-
// 订单id 长度不可超过50
|
|
5217
|
-
orderId: string;
|
|
5578
|
+
realPersonVerificationCode: string;
|
|
5218
5579
|
static names(): { [key: string]: string } {
|
|
5219
5580
|
return {
|
|
5220
5581
|
authToken: 'auth_token',
|
|
5221
5582
|
productInstanceId: 'product_instance_id',
|
|
5222
|
-
|
|
5223
|
-
outerOrderNo: 'outer_order_no',
|
|
5224
|
-
orderId: 'order_id',
|
|
5583
|
+
realPersonVerificationCode: 'real_person_verification_code',
|
|
5225
5584
|
};
|
|
5226
5585
|
}
|
|
5227
5586
|
|
|
@@ -5229,9 +5588,7 @@ export class QueryRealpersonFacevrfRequest extends $tea.Model {
|
|
|
5229
5588
|
return {
|
|
5230
5589
|
authToken: 'string',
|
|
5231
5590
|
productInstanceId: 'string',
|
|
5232
|
-
|
|
5233
|
-
outerOrderNo: 'string',
|
|
5234
|
-
orderId: 'string',
|
|
5591
|
+
realPersonVerificationCode: 'string',
|
|
5235
5592
|
};
|
|
5236
5593
|
}
|
|
5237
5594
|
|
|
@@ -5247,14 +5604,26 @@ export class QueryRealpersonFacevrfResponse extends $tea.Model {
|
|
|
5247
5604
|
resultCode?: string;
|
|
5248
5605
|
// 异常信息的文本描述
|
|
5249
5606
|
resultMsg?: string;
|
|
5250
|
-
//
|
|
5251
|
-
|
|
5607
|
+
// 实人认证结果
|
|
5608
|
+
// PROCESSING(初始化)
|
|
5609
|
+
// SUCCESS(认证通过)FAIL(认证不通过)
|
|
5610
|
+
certifyState?: string;
|
|
5611
|
+
// 【solution_type=H5 | APP 返回】
|
|
5612
|
+
// 本次认证是否存在安全风险
|
|
5613
|
+
// true(检测到安全风险)
|
|
5614
|
+
// false(未检测到安全风险)
|
|
5615
|
+
attackFlag?: string;
|
|
5616
|
+
// 【solution_type=H5 | APP 返回】
|
|
5617
|
+
// base64过后的二值化图片
|
|
5618
|
+
alivePhoto?: string;
|
|
5252
5619
|
static names(): { [key: string]: string } {
|
|
5253
5620
|
return {
|
|
5254
5621
|
reqMsgId: 'req_msg_id',
|
|
5255
5622
|
resultCode: 'result_code',
|
|
5256
5623
|
resultMsg: 'result_msg',
|
|
5257
|
-
|
|
5624
|
+
certifyState: 'certify_state',
|
|
5625
|
+
attackFlag: 'attack_flag',
|
|
5626
|
+
alivePhoto: 'alive_photo',
|
|
5258
5627
|
};
|
|
5259
5628
|
}
|
|
5260
5629
|
|
|
@@ -5263,7 +5632,9 @@ export class QueryRealpersonFacevrfResponse extends $tea.Model {
|
|
|
5263
5632
|
reqMsgId: 'string',
|
|
5264
5633
|
resultCode: 'string',
|
|
5265
5634
|
resultMsg: 'string',
|
|
5266
|
-
|
|
5635
|
+
certifyState: 'string',
|
|
5636
|
+
attackFlag: 'string',
|
|
5637
|
+
alivePhoto: 'string',
|
|
5267
5638
|
};
|
|
5268
5639
|
}
|
|
5269
5640
|
|
|
@@ -6129,6 +6500,8 @@ export class UploadSignCreditRequest extends $tea.Model {
|
|
|
6129
6500
|
fileUrl?: string;
|
|
6130
6501
|
// 内容数据,格式为JSON类型文本,如果类型是JSON_TEXT则必填
|
|
6131
6502
|
content?: string;
|
|
6503
|
+
// 商户统一社会信用代码
|
|
6504
|
+
merchantId?: string;
|
|
6132
6505
|
static names(): { [key: string]: string } {
|
|
6133
6506
|
return {
|
|
6134
6507
|
authToken: 'auth_token',
|
|
@@ -6140,6 +6513,7 @@ export class UploadSignCreditRequest extends $tea.Model {
|
|
|
6140
6513
|
contentType: 'content_type',
|
|
6141
6514
|
fileUrl: 'file_url',
|
|
6142
6515
|
content: 'content',
|
|
6516
|
+
merchantId: 'merchant_id',
|
|
6143
6517
|
};
|
|
6144
6518
|
}
|
|
6145
6519
|
|
|
@@ -6154,6 +6528,7 @@ export class UploadSignCreditRequest extends $tea.Model {
|
|
|
6154
6528
|
contentType: 'string',
|
|
6155
6529
|
fileUrl: 'string',
|
|
6156
6530
|
content: 'string',
|
|
6531
|
+
merchantId: 'string',
|
|
6157
6532
|
};
|
|
6158
6533
|
}
|
|
6159
6534
|
|
|
@@ -6202,12 +6577,15 @@ export class QuerySignCreditRequest extends $tea.Model {
|
|
|
6202
6577
|
orderNoType: string;
|
|
6203
6578
|
// 订单号,或资产包号
|
|
6204
6579
|
orderNo: string;
|
|
6580
|
+
// 商户统一社会信用代码
|
|
6581
|
+
merchantId?: string;
|
|
6205
6582
|
static names(): { [key: string]: string } {
|
|
6206
6583
|
return {
|
|
6207
6584
|
authToken: 'auth_token',
|
|
6208
6585
|
productInstanceId: 'product_instance_id',
|
|
6209
6586
|
orderNoType: 'order_no_type',
|
|
6210
6587
|
orderNo: 'order_no',
|
|
6588
|
+
merchantId: 'merchant_id',
|
|
6211
6589
|
};
|
|
6212
6590
|
}
|
|
6213
6591
|
|
|
@@ -6217,6 +6595,7 @@ export class QuerySignCreditRequest extends $tea.Model {
|
|
|
6217
6595
|
productInstanceId: 'string',
|
|
6218
6596
|
orderNoType: 'string',
|
|
6219
6597
|
orderNo: 'string',
|
|
6598
|
+
merchantId: 'string',
|
|
6220
6599
|
};
|
|
6221
6600
|
}
|
|
6222
6601
|
|
|
@@ -6454,7 +6833,7 @@ export class SyncTradeFinanceloanapplyRequest extends $tea.Model {
|
|
|
6454
6833
|
authToken?: string;
|
|
6455
6834
|
productInstanceId?: string;
|
|
6456
6835
|
// 订单id
|
|
6457
|
-
orderId
|
|
6836
|
+
orderId?: string;
|
|
6458
6837
|
// 订单所属商户的社会信用代码
|
|
6459
6838
|
merchantId: string;
|
|
6460
6839
|
// 融资放款申请接口
|
|
@@ -8014,7 +8393,7 @@ export default class Client {
|
|
|
8014
8393
|
req_msg_id: AntchainUtil.getNonce(),
|
|
8015
8394
|
access_key: this._accessKeyId,
|
|
8016
8395
|
base_sdk_version: "TeaSDK-2.0",
|
|
8017
|
-
sdk_version: "1.8.
|
|
8396
|
+
sdk_version: "1.8.86",
|
|
8018
8397
|
_prod_code: "ATO",
|
|
8019
8398
|
_prod_channel: "undefined",
|
|
8020
8399
|
};
|
|
@@ -9185,6 +9564,44 @@ export default class Client {
|
|
|
9185
9564
|
return $tea.cast<QueryInnerTemplateversionResponse>(await this.doRequest("1.0", "antchain.ato.inner.templateversion.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInnerTemplateversionResponse({}));
|
|
9186
9565
|
}
|
|
9187
9566
|
|
|
9567
|
+
/**
|
|
9568
|
+
* Description: 订单消息查询
|
|
9569
|
+
* Summary: 订单消息查询
|
|
9570
|
+
*/
|
|
9571
|
+
async pagequeryInnerOrdermsg(request: PagequeryInnerOrdermsgRequest): Promise<PagequeryInnerOrdermsgResponse> {
|
|
9572
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
9573
|
+
let headers : {[key: string ]: string} = { };
|
|
9574
|
+
return await this.pagequeryInnerOrdermsgEx(request, headers, runtime);
|
|
9575
|
+
}
|
|
9576
|
+
|
|
9577
|
+
/**
|
|
9578
|
+
* Description: 订单消息查询
|
|
9579
|
+
* Summary: 订单消息查询
|
|
9580
|
+
*/
|
|
9581
|
+
async pagequeryInnerOrdermsgEx(request: PagequeryInnerOrdermsgRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PagequeryInnerOrdermsgResponse> {
|
|
9582
|
+
Util.validateModel(request);
|
|
9583
|
+
return $tea.cast<PagequeryInnerOrdermsgResponse>(await this.doRequest("1.0", "antchain.ato.inner.ordermsg.pagequery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PagequeryInnerOrdermsgResponse({}));
|
|
9584
|
+
}
|
|
9585
|
+
|
|
9586
|
+
/**
|
|
9587
|
+
* Description: 订单消息重试
|
|
9588
|
+
* Summary: 订单消息重试
|
|
9589
|
+
*/
|
|
9590
|
+
async retryInnerOrdermsg(request: RetryInnerOrdermsgRequest): Promise<RetryInnerOrdermsgResponse> {
|
|
9591
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
9592
|
+
let headers : {[key: string ]: string} = { };
|
|
9593
|
+
return await this.retryInnerOrdermsgEx(request, headers, runtime);
|
|
9594
|
+
}
|
|
9595
|
+
|
|
9596
|
+
/**
|
|
9597
|
+
* Description: 订单消息重试
|
|
9598
|
+
* Summary: 订单消息重试
|
|
9599
|
+
*/
|
|
9600
|
+
async retryInnerOrdermsgEx(request: RetryInnerOrdermsgRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RetryInnerOrdermsgResponse> {
|
|
9601
|
+
Util.validateModel(request);
|
|
9602
|
+
return $tea.cast<RetryInnerOrdermsgResponse>(await this.doRequest("1.0", "antchain.ato.inner.ordermsg.retry", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new RetryInnerOrdermsgResponse({}));
|
|
9603
|
+
}
|
|
9604
|
+
|
|
9188
9605
|
/**
|
|
9189
9606
|
* Description: 商户入驻
|
|
9190
9607
|
* Summary: 商户入驻
|
|
@@ -9242,6 +9659,25 @@ export default class Client {
|
|
|
9242
9659
|
return $tea.cast<QueryMerchantexpandMerchantResponse>(await this.doRequest("1.0", "antchain.ato.merchantexpand.merchant.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryMerchantexpandMerchantResponse({}));
|
|
9243
9660
|
}
|
|
9244
9661
|
|
|
9662
|
+
/**
|
|
9663
|
+
* Description: 商家信息修改
|
|
9664
|
+
* Summary: 商家信息修改
|
|
9665
|
+
*/
|
|
9666
|
+
async updateMerchantexpandMerchant(request: UpdateMerchantexpandMerchantRequest): Promise<UpdateMerchantexpandMerchantResponse> {
|
|
9667
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
9668
|
+
let headers : {[key: string ]: string} = { };
|
|
9669
|
+
return await this.updateMerchantexpandMerchantEx(request, headers, runtime);
|
|
9670
|
+
}
|
|
9671
|
+
|
|
9672
|
+
/**
|
|
9673
|
+
* Description: 商家信息修改
|
|
9674
|
+
* Summary: 商家信息修改
|
|
9675
|
+
*/
|
|
9676
|
+
async updateMerchantexpandMerchantEx(request: UpdateMerchantexpandMerchantRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateMerchantexpandMerchantResponse> {
|
|
9677
|
+
Util.validateModel(request);
|
|
9678
|
+
return $tea.cast<UpdateMerchantexpandMerchantResponse>(await this.doRequest("1.0", "antchain.ato.merchantexpand.merchant.update", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UpdateMerchantexpandMerchantResponse({}));
|
|
9679
|
+
}
|
|
9680
|
+
|
|
9245
9681
|
/**
|
|
9246
9682
|
* Description: 可信身份认证,创建认证
|
|
9247
9683
|
* Summary: 创建认证
|
|
@@ -9779,9 +10215,9 @@ export default class Client {
|
|
|
9779
10215
|
}
|
|
9780
10216
|
|
|
9781
10217
|
/**
|
|
9782
|
-
* Description:
|
|
9783
|
-
|
|
9784
|
-
|
|
10218
|
+
* Description: 重要说明:
|
|
10219
|
+
1. 这个接口是取消订单某一期代扣计划中以其他方式还款的金额,取消之后代扣不再执行该期计划。
|
|
10220
|
+
2. 对通过其他方式还款的第三方单号留存;例如:银行流水号或微信流水号。
|
|
9785
10221
|
* Summary: 单期代扣取消
|
|
9786
10222
|
*/
|
|
9787
10223
|
async repayWithholdPlan(request: RepayWithholdPlanRequest): Promise<RepayWithholdPlanResponse> {
|
|
@@ -9791,9 +10227,9 @@ export default class Client {
|
|
|
9791
10227
|
}
|
|
9792
10228
|
|
|
9793
10229
|
/**
|
|
9794
|
-
* Description:
|
|
9795
|
-
|
|
9796
|
-
|
|
10230
|
+
* Description: 重要说明:
|
|
10231
|
+
1. 这个接口是取消订单某一期代扣计划中以其他方式还款的金额,取消之后代扣不再执行该期计划。
|
|
10232
|
+
2. 对通过其他方式还款的第三方单号留存;例如:银行流水号或微信流水号。
|
|
9797
10233
|
* Summary: 单期代扣取消
|
|
9798
10234
|
*/
|
|
9799
10235
|
async repayWithholdPlanEx(request: RepayWithholdPlanRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RepayWithholdPlanResponse> {
|