@antchain/ato 1.8.81 → 1.8.92
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 +115 -11
- package/dist/client.js +184 -20
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +310 -47
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -151,6 +151,9 @@ export class CompanyInfo extends $tea.Model {
|
|
|
151
151
|
tenantId?: string;
|
|
152
152
|
// 统一社会信用代码
|
|
153
153
|
merchantId: string;
|
|
154
|
+
// 商户类型: 01:企业;07:个体工商户
|
|
155
|
+
// 默认不填为01
|
|
156
|
+
merchantType?: string;
|
|
154
157
|
// 公司联系电话
|
|
155
158
|
companyMobile: string;
|
|
156
159
|
// 公司联系地址
|
|
@@ -173,6 +176,7 @@ export class CompanyInfo extends $tea.Model {
|
|
|
173
176
|
companyAliasName: 'company_alias_name',
|
|
174
177
|
tenantId: 'tenant_id',
|
|
175
178
|
merchantId: 'merchant_id',
|
|
179
|
+
merchantType: 'merchant_type',
|
|
176
180
|
companyMobile: 'company_mobile',
|
|
177
181
|
companyAddress: 'company_address',
|
|
178
182
|
contactName: 'contact_name',
|
|
@@ -191,6 +195,7 @@ export class CompanyInfo extends $tea.Model {
|
|
|
191
195
|
companyAliasName: 'string',
|
|
192
196
|
tenantId: 'string',
|
|
193
197
|
merchantId: 'string',
|
|
198
|
+
merchantType: 'string',
|
|
194
199
|
companyMobile: 'string',
|
|
195
200
|
companyAddress: 'string',
|
|
196
201
|
contactName: 'string',
|
|
@@ -338,6 +343,59 @@ export class RelationPage extends $tea.Model {
|
|
|
338
343
|
}
|
|
339
344
|
}
|
|
340
345
|
|
|
346
|
+
// 公司信息修改
|
|
347
|
+
export class CompanyInfoUpdate extends $tea.Model {
|
|
348
|
+
// 营业执照文件信息
|
|
349
|
+
businessLicenseFile?: FileInfo;
|
|
350
|
+
// 业务类型 枚举
|
|
351
|
+
productMainClass?: string;
|
|
352
|
+
// 公司名称
|
|
353
|
+
companyName?: string;
|
|
354
|
+
// 公司别名
|
|
355
|
+
companyAliasName?: string;
|
|
356
|
+
// 公司数科租户id
|
|
357
|
+
tenantId?: string;
|
|
358
|
+
// 公司联系电话
|
|
359
|
+
companyMobile?: string;
|
|
360
|
+
// 公司联系地址
|
|
361
|
+
companyAddress?: string;
|
|
362
|
+
// 联系人姓名
|
|
363
|
+
contactName?: string;
|
|
364
|
+
// 联系人手机号码
|
|
365
|
+
contactMobile?: string;
|
|
366
|
+
static names(): { [key: string]: string } {
|
|
367
|
+
return {
|
|
368
|
+
businessLicenseFile: 'business_license_file',
|
|
369
|
+
productMainClass: 'product_main_class',
|
|
370
|
+
companyName: 'company_name',
|
|
371
|
+
companyAliasName: 'company_alias_name',
|
|
372
|
+
tenantId: 'tenant_id',
|
|
373
|
+
companyMobile: 'company_mobile',
|
|
374
|
+
companyAddress: 'company_address',
|
|
375
|
+
contactName: 'contact_name',
|
|
376
|
+
contactMobile: 'contact_mobile',
|
|
377
|
+
};
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
static types(): { [key: string]: any } {
|
|
381
|
+
return {
|
|
382
|
+
businessLicenseFile: FileInfo,
|
|
383
|
+
productMainClass: 'string',
|
|
384
|
+
companyName: 'string',
|
|
385
|
+
companyAliasName: 'string',
|
|
386
|
+
tenantId: 'string',
|
|
387
|
+
companyMobile: 'string',
|
|
388
|
+
companyAddress: 'string',
|
|
389
|
+
contactName: 'string',
|
|
390
|
+
contactMobile: 'string',
|
|
391
|
+
};
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
constructor(map?: { [key: string]: any }) {
|
|
395
|
+
super(map);
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
|
|
341
399
|
// 进件分页对象
|
|
342
400
|
export class MerchantAgentPage extends $tea.Model {
|
|
343
401
|
// 进件id
|
|
@@ -395,10 +453,12 @@ export class OrderMsgInfo extends $tea.Model {
|
|
|
395
453
|
// 消息重投次数
|
|
396
454
|
//
|
|
397
455
|
msgRetryTime: number;
|
|
398
|
-
// 消息回调地址
|
|
399
|
-
msgCallbackUrl: string;
|
|
400
456
|
// 消息体内容
|
|
401
457
|
msgContent: string;
|
|
458
|
+
// 消息回调地址
|
|
459
|
+
msgCallbackUrl: string;
|
|
460
|
+
// 新回调地址
|
|
461
|
+
newMsgCallbackUrl: string;
|
|
402
462
|
static names(): { [key: string]: string } {
|
|
403
463
|
return {
|
|
404
464
|
orderId: 'order_id',
|
|
@@ -407,8 +467,9 @@ export class OrderMsgInfo extends $tea.Model {
|
|
|
407
467
|
msgCreateTime: 'msg_create_time',
|
|
408
468
|
msgStatus: 'msg_status',
|
|
409
469
|
msgRetryTime: 'msg_retry_time',
|
|
410
|
-
msgCallbackUrl: 'msg_callback_url',
|
|
411
470
|
msgContent: 'msg_content',
|
|
471
|
+
msgCallbackUrl: 'msg_callback_url',
|
|
472
|
+
newMsgCallbackUrl: 'new_msg_callback_url',
|
|
412
473
|
};
|
|
413
474
|
}
|
|
414
475
|
|
|
@@ -420,8 +481,9 @@ export class OrderMsgInfo extends $tea.Model {
|
|
|
420
481
|
msgCreateTime: 'string',
|
|
421
482
|
msgStatus: 'string',
|
|
422
483
|
msgRetryTime: 'number',
|
|
423
|
-
msgCallbackUrl: 'string',
|
|
424
484
|
msgContent: 'string',
|
|
485
|
+
msgCallbackUrl: 'string',
|
|
486
|
+
newMsgCallbackUrl: 'string',
|
|
425
487
|
};
|
|
426
488
|
}
|
|
427
489
|
|
|
@@ -516,11 +578,14 @@ export class ApplicationInfo extends $tea.Model {
|
|
|
516
578
|
siteName: string;
|
|
517
579
|
// 网站地址
|
|
518
580
|
sitUrl: string;
|
|
519
|
-
//
|
|
581
|
+
// 商户名称。
|
|
582
|
+
// 修改后的商户名称,将同步支付宝代扣签约页面字段展示
|
|
520
583
|
merchantName: string;
|
|
521
|
-
//
|
|
584
|
+
// 商户服务名称。
|
|
585
|
+
// 修改后的商户服务名称,将同步支付宝代扣签约页面字段展示
|
|
522
586
|
merchantServiceName: string;
|
|
523
|
-
//
|
|
587
|
+
// 商户服务描述。
|
|
588
|
+
// 修改后的商户服务描述,将同步支付宝代扣签约页面字段展示
|
|
524
589
|
merchantServiceDesc: string;
|
|
525
590
|
static names(): { [key: string]: string } {
|
|
526
591
|
return {
|
|
@@ -593,6 +658,51 @@ export class PageQuery extends $tea.Model {
|
|
|
593
658
|
}
|
|
594
659
|
}
|
|
595
660
|
|
|
661
|
+
// 应用信息修改
|
|
662
|
+
export class ApplicationInfoUpdate extends $tea.Model {
|
|
663
|
+
// 应用场景 MINI_APP 小程序 APP 自有app ALL 两种都有
|
|
664
|
+
applicationScene?: string;
|
|
665
|
+
// 小程序id
|
|
666
|
+
tinyAppId?: string;
|
|
667
|
+
// 小程序名称
|
|
668
|
+
siteName?: string;
|
|
669
|
+
// http://asdasas.com
|
|
670
|
+
sitUrl?: string;
|
|
671
|
+
// 商户名称。 修改后的商户名称,将同步支付宝代扣签约页面字段展示
|
|
672
|
+
merchantName?: string;
|
|
673
|
+
// 商户服务名称。 修改后的商户服务名称,将同步支付宝代扣签约页面字段展示
|
|
674
|
+
merchantServiceName?: string;
|
|
675
|
+
// 商户服务描述。 修改后的商户服务描述,将同步支付宝代扣签约页面字段展示
|
|
676
|
+
merchantServiceDesc?: string;
|
|
677
|
+
static names(): { [key: string]: string } {
|
|
678
|
+
return {
|
|
679
|
+
applicationScene: 'application_scene',
|
|
680
|
+
tinyAppId: 'tiny_app_id',
|
|
681
|
+
siteName: 'site_name',
|
|
682
|
+
sitUrl: 'sit_url',
|
|
683
|
+
merchantName: 'merchant_name',
|
|
684
|
+
merchantServiceName: 'merchant_service_name',
|
|
685
|
+
merchantServiceDesc: 'merchant_service_desc',
|
|
686
|
+
};
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
static types(): { [key: string]: any } {
|
|
690
|
+
return {
|
|
691
|
+
applicationScene: 'string',
|
|
692
|
+
tinyAppId: 'string',
|
|
693
|
+
siteName: 'string',
|
|
694
|
+
sitUrl: 'string',
|
|
695
|
+
merchantName: 'string',
|
|
696
|
+
merchantServiceName: 'string',
|
|
697
|
+
merchantServiceDesc: 'string',
|
|
698
|
+
};
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
constructor(map?: { [key: string]: any }) {
|
|
702
|
+
super(map);
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
|
|
596
706
|
// 法人信息
|
|
597
707
|
export class LegalInfo extends $tea.Model {
|
|
598
708
|
// 法人名称
|
|
@@ -705,6 +815,39 @@ export class OrderGoodsModel extends $tea.Model {
|
|
|
705
815
|
}
|
|
706
816
|
}
|
|
707
817
|
|
|
818
|
+
// 法人信息修改
|
|
819
|
+
export class LegalInfoUpdate extends $tea.Model {
|
|
820
|
+
// 法人名称
|
|
821
|
+
legalName?: string;
|
|
822
|
+
// 法人证件号
|
|
823
|
+
legalCertNo?: string;
|
|
824
|
+
// 法人证件正面
|
|
825
|
+
legalCertFrontFile?: FileInfo;
|
|
826
|
+
// 法人证件反面
|
|
827
|
+
legalCertBackFile?: FileInfo;
|
|
828
|
+
static names(): { [key: string]: string } {
|
|
829
|
+
return {
|
|
830
|
+
legalName: 'legal_name',
|
|
831
|
+
legalCertNo: 'legal_cert_no',
|
|
832
|
+
legalCertFrontFile: 'legal_cert_front_file',
|
|
833
|
+
legalCertBackFile: 'legal_cert_back_file',
|
|
834
|
+
};
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
static types(): { [key: string]: any } {
|
|
838
|
+
return {
|
|
839
|
+
legalName: 'string',
|
|
840
|
+
legalCertNo: 'string',
|
|
841
|
+
legalCertFrontFile: FileInfo,
|
|
842
|
+
legalCertBackFile: FileInfo,
|
|
843
|
+
};
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
constructor(map?: { [key: string]: any }) {
|
|
847
|
+
super(map);
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
|
|
708
851
|
// 键值对
|
|
709
852
|
export class XNameValuePair extends $tea.Model {
|
|
710
853
|
// 键名
|
|
@@ -2546,6 +2689,8 @@ export class AllInnerTemplateRequest extends $tea.Model {
|
|
|
2546
2689
|
templateCode?: string;
|
|
2547
2690
|
// 魔法库模板文件名称
|
|
2548
2691
|
templateName?: string;
|
|
2692
|
+
// 线上模板ID
|
|
2693
|
+
templateCodeProd?: string;
|
|
2549
2694
|
static names(): { [key: string]: string } {
|
|
2550
2695
|
return {
|
|
2551
2696
|
authToken: 'auth_token',
|
|
@@ -2554,6 +2699,7 @@ export class AllInnerTemplateRequest extends $tea.Model {
|
|
|
2554
2699
|
tenantId: 'tenant_id',
|
|
2555
2700
|
templateCode: 'template_code',
|
|
2556
2701
|
templateName: 'template_name',
|
|
2702
|
+
templateCodeProd: 'template_code_prod',
|
|
2557
2703
|
};
|
|
2558
2704
|
}
|
|
2559
2705
|
|
|
@@ -2565,6 +2711,7 @@ export class AllInnerTemplateRequest extends $tea.Model {
|
|
|
2565
2711
|
tenantId: 'string',
|
|
2566
2712
|
templateCode: 'string',
|
|
2567
2713
|
templateName: 'string',
|
|
2714
|
+
templateCodeProd: 'string',
|
|
2568
2715
|
};
|
|
2569
2716
|
}
|
|
2570
2717
|
|
|
@@ -4431,7 +4578,9 @@ export class PagequeryInnerMerchantagentRequest extends $tea.Model {
|
|
|
4431
4578
|
// 租户8位id
|
|
4432
4579
|
tenantId: string;
|
|
4433
4580
|
// 代理商户名称
|
|
4434
|
-
agentName
|
|
4581
|
+
agentName?: string;
|
|
4582
|
+
// 进件状态
|
|
4583
|
+
payExpandStatus?: string;
|
|
4435
4584
|
// 分页对象
|
|
4436
4585
|
pageInfo: PageQuery;
|
|
4437
4586
|
static names(): { [key: string]: string } {
|
|
@@ -4440,6 +4589,7 @@ export class PagequeryInnerMerchantagentRequest extends $tea.Model {
|
|
|
4440
4589
|
productInstanceId: 'product_instance_id',
|
|
4441
4590
|
tenantId: 'tenant_id',
|
|
4442
4591
|
agentName: 'agent_name',
|
|
4592
|
+
payExpandStatus: 'pay_expand_status',
|
|
4443
4593
|
pageInfo: 'page_info',
|
|
4444
4594
|
};
|
|
4445
4595
|
}
|
|
@@ -4450,6 +4600,7 @@ export class PagequeryInnerMerchantagentRequest extends $tea.Model {
|
|
|
4450
4600
|
productInstanceId: 'string',
|
|
4451
4601
|
tenantId: 'string',
|
|
4452
4602
|
agentName: 'string',
|
|
4603
|
+
payExpandStatus: 'string',
|
|
4453
4604
|
pageInfo: PageQuery,
|
|
4454
4605
|
};
|
|
4455
4606
|
}
|
|
@@ -5104,11 +5255,14 @@ export class RetryInnerOrdermsgResponse extends $tea.Model {
|
|
|
5104
5255
|
resultCode?: string;
|
|
5105
5256
|
// 异常信息的文本描述
|
|
5106
5257
|
resultMsg?: string;
|
|
5258
|
+
// 消息重试结果
|
|
5259
|
+
retryResult?: string;
|
|
5107
5260
|
static names(): { [key: string]: string } {
|
|
5108
5261
|
return {
|
|
5109
5262
|
reqMsgId: 'req_msg_id',
|
|
5110
5263
|
resultCode: 'result_code',
|
|
5111
5264
|
resultMsg: 'result_msg',
|
|
5265
|
+
retryResult: 'retry_result',
|
|
5112
5266
|
};
|
|
5113
5267
|
}
|
|
5114
5268
|
|
|
@@ -5117,6 +5271,7 @@ export class RetryInnerOrdermsgResponse extends $tea.Model {
|
|
|
5117
5271
|
reqMsgId: 'string',
|
|
5118
5272
|
resultCode: 'string',
|
|
5119
5273
|
resultMsg: 'string',
|
|
5274
|
+
retryResult: 'string',
|
|
5120
5275
|
};
|
|
5121
5276
|
}
|
|
5122
5277
|
|
|
@@ -5333,37 +5488,114 @@ export class QueryMerchantexpandMerchantResponse extends $tea.Model {
|
|
|
5333
5488
|
}
|
|
5334
5489
|
}
|
|
5335
5490
|
|
|
5491
|
+
export class UpdateMerchantexpandMerchantRequest extends $tea.Model {
|
|
5492
|
+
// OAuth模式下的授权token
|
|
5493
|
+
authToken?: string;
|
|
5494
|
+
productInstanceId?: string;
|
|
5495
|
+
// 公司信息
|
|
5496
|
+
companyInfo: CompanyInfoUpdate;
|
|
5497
|
+
// 法人信息
|
|
5498
|
+
legalInfo: LegalInfoUpdate;
|
|
5499
|
+
// 应用信息
|
|
5500
|
+
applicationInfo: ApplicationInfoUpdate;
|
|
5501
|
+
// 进件流水号
|
|
5502
|
+
payExpandId: string;
|
|
5503
|
+
// 社会统一信用代码
|
|
5504
|
+
merchantId: string;
|
|
5505
|
+
static names(): { [key: string]: string } {
|
|
5506
|
+
return {
|
|
5507
|
+
authToken: 'auth_token',
|
|
5508
|
+
productInstanceId: 'product_instance_id',
|
|
5509
|
+
companyInfo: 'company_info',
|
|
5510
|
+
legalInfo: 'legal_info',
|
|
5511
|
+
applicationInfo: 'application_info',
|
|
5512
|
+
payExpandId: 'pay_expand_id',
|
|
5513
|
+
merchantId: 'merchant_id',
|
|
5514
|
+
};
|
|
5515
|
+
}
|
|
5516
|
+
|
|
5517
|
+
static types(): { [key: string]: any } {
|
|
5518
|
+
return {
|
|
5519
|
+
authToken: 'string',
|
|
5520
|
+
productInstanceId: 'string',
|
|
5521
|
+
companyInfo: CompanyInfoUpdate,
|
|
5522
|
+
legalInfo: LegalInfoUpdate,
|
|
5523
|
+
applicationInfo: ApplicationInfoUpdate,
|
|
5524
|
+
payExpandId: 'string',
|
|
5525
|
+
merchantId: 'string',
|
|
5526
|
+
};
|
|
5527
|
+
}
|
|
5528
|
+
|
|
5529
|
+
constructor(map?: { [key: string]: any }) {
|
|
5530
|
+
super(map);
|
|
5531
|
+
}
|
|
5532
|
+
}
|
|
5533
|
+
|
|
5534
|
+
export class UpdateMerchantexpandMerchantResponse extends $tea.Model {
|
|
5535
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
5536
|
+
reqMsgId?: string;
|
|
5537
|
+
// 结果码,一般OK表示调用成功
|
|
5538
|
+
resultCode?: string;
|
|
5539
|
+
// 异常信息的文本描述
|
|
5540
|
+
resultMsg?: string;
|
|
5541
|
+
// 进件流水号
|
|
5542
|
+
payExpandId?: string;
|
|
5543
|
+
static names(): { [key: string]: string } {
|
|
5544
|
+
return {
|
|
5545
|
+
reqMsgId: 'req_msg_id',
|
|
5546
|
+
resultCode: 'result_code',
|
|
5547
|
+
resultMsg: 'result_msg',
|
|
5548
|
+
payExpandId: 'pay_expand_id',
|
|
5549
|
+
};
|
|
5550
|
+
}
|
|
5551
|
+
|
|
5552
|
+
static types(): { [key: string]: any } {
|
|
5553
|
+
return {
|
|
5554
|
+
reqMsgId: 'string',
|
|
5555
|
+
resultCode: 'string',
|
|
5556
|
+
resultMsg: 'string',
|
|
5557
|
+
payExpandId: 'string',
|
|
5558
|
+
};
|
|
5559
|
+
}
|
|
5560
|
+
|
|
5561
|
+
constructor(map?: { [key: string]: any }) {
|
|
5562
|
+
super(map);
|
|
5563
|
+
}
|
|
5564
|
+
}
|
|
5565
|
+
|
|
5336
5566
|
export class CreateRealpersonFacevrfRequest extends $tea.Model {
|
|
5337
5567
|
// OAuth模式下的授权token
|
|
5338
5568
|
authToken?: string;
|
|
5339
5569
|
productInstanceId?: string;
|
|
5570
|
+
// 实人认证方案枚举
|
|
5571
|
+
// APP(客户端android/ios方案)
|
|
5572
|
+
// H5(网页)
|
|
5573
|
+
// ZFB(支付宝客户端H5方案)
|
|
5574
|
+
solutionType: string;
|
|
5340
5575
|
// 真实姓名
|
|
5341
5576
|
certName: string;
|
|
5342
5577
|
// 证件号码
|
|
5343
5578
|
certNo: string;
|
|
5344
|
-
//
|
|
5345
|
-
|
|
5346
|
-
// 证件类型,当前仅支持身份证(IDENTITY_CARD)
|
|
5579
|
+
// 身份信息来源类型
|
|
5580
|
+
// IDENTITY_CARD(身份证)
|
|
5347
5581
|
certType: string;
|
|
5348
|
-
//
|
|
5349
|
-
//
|
|
5350
|
-
//
|
|
5351
|
-
|
|
5352
|
-
//
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
orderId: string;
|
|
5582
|
+
// 【solution_type=ZFB使用】
|
|
5583
|
+
// reserve(保存活体人脸 默认值)
|
|
5584
|
+
// never(不保存活体人脸)
|
|
5585
|
+
faceReserveStrategy?: string;
|
|
5586
|
+
// 【solution_type=ZFB使用】
|
|
5587
|
+
// 认证成功后需要跳转的地址
|
|
5588
|
+
returnUrl?: string;
|
|
5356
5589
|
static names(): { [key: string]: string } {
|
|
5357
5590
|
return {
|
|
5358
5591
|
authToken: 'auth_token',
|
|
5359
5592
|
productInstanceId: 'product_instance_id',
|
|
5593
|
+
solutionType: 'solution_type',
|
|
5360
5594
|
certName: 'cert_name',
|
|
5361
5595
|
certNo: 'cert_no',
|
|
5362
|
-
identityType: 'identity_type',
|
|
5363
5596
|
certType: 'cert_type',
|
|
5364
|
-
|
|
5597
|
+
faceReserveStrategy: 'face_reserve_strategy',
|
|
5365
5598
|
returnUrl: 'return_url',
|
|
5366
|
-
orderId: 'order_id',
|
|
5367
5599
|
};
|
|
5368
5600
|
}
|
|
5369
5601
|
|
|
@@ -5371,13 +5603,12 @@ export class CreateRealpersonFacevrfRequest extends $tea.Model {
|
|
|
5371
5603
|
return {
|
|
5372
5604
|
authToken: 'string',
|
|
5373
5605
|
productInstanceId: 'string',
|
|
5606
|
+
solutionType: 'string',
|
|
5374
5607
|
certName: 'string',
|
|
5375
5608
|
certNo: 'string',
|
|
5376
|
-
identityType: 'string',
|
|
5377
5609
|
certType: 'string',
|
|
5378
|
-
|
|
5610
|
+
faceReserveStrategy: 'string',
|
|
5379
5611
|
returnUrl: 'string',
|
|
5380
|
-
orderId: 'string',
|
|
5381
5612
|
};
|
|
5382
5613
|
}
|
|
5383
5614
|
|
|
@@ -5393,14 +5624,18 @@ export class CreateRealpersonFacevrfResponse extends $tea.Model {
|
|
|
5393
5624
|
resultCode?: string;
|
|
5394
5625
|
// 异常信息的文本描述
|
|
5395
5626
|
resultMsg?: string;
|
|
5396
|
-
//
|
|
5397
|
-
|
|
5627
|
+
// 请求唯一ID标识,为空则是异常
|
|
5628
|
+
realPersonVerificationCode?: string;
|
|
5629
|
+
// 【solution_type=H5 | ZFB返回】
|
|
5630
|
+
// 人脸核身url地址
|
|
5631
|
+
webUrl?: string;
|
|
5398
5632
|
static names(): { [key: string]: string } {
|
|
5399
5633
|
return {
|
|
5400
5634
|
reqMsgId: 'req_msg_id',
|
|
5401
5635
|
resultCode: 'result_code',
|
|
5402
5636
|
resultMsg: 'result_msg',
|
|
5403
|
-
|
|
5637
|
+
realPersonVerificationCode: 'real_person_verification_code',
|
|
5638
|
+
webUrl: 'web_url',
|
|
5404
5639
|
};
|
|
5405
5640
|
}
|
|
5406
5641
|
|
|
@@ -5409,7 +5644,8 @@ export class CreateRealpersonFacevrfResponse extends $tea.Model {
|
|
|
5409
5644
|
reqMsgId: 'string',
|
|
5410
5645
|
resultCode: 'string',
|
|
5411
5646
|
resultMsg: 'string',
|
|
5412
|
-
|
|
5647
|
+
realPersonVerificationCode: 'string',
|
|
5648
|
+
webUrl: 'string',
|
|
5413
5649
|
};
|
|
5414
5650
|
}
|
|
5415
5651
|
|
|
@@ -5423,20 +5659,12 @@ export class QueryRealpersonFacevrfRequest extends $tea.Model {
|
|
|
5423
5659
|
authToken?: string;
|
|
5424
5660
|
productInstanceId?: string;
|
|
5425
5661
|
// 可信实人认证的唯一标识
|
|
5426
|
-
|
|
5427
|
-
// 商户请求的唯一标识。
|
|
5428
|
-
//
|
|
5429
|
-
// 值为 32 位长度的字母数字组合。其中,前面几位字符是商户自定义的简称,中间几位可以使用一段时间,后段可以使用一个随机或递增序列。该值也可以使用 UUID。
|
|
5430
|
-
outerOrderNo: string;
|
|
5431
|
-
// 订单id 长度不可超过50
|
|
5432
|
-
orderId: string;
|
|
5662
|
+
realPersonVerificationCode: string;
|
|
5433
5663
|
static names(): { [key: string]: string } {
|
|
5434
5664
|
return {
|
|
5435
5665
|
authToken: 'auth_token',
|
|
5436
5666
|
productInstanceId: 'product_instance_id',
|
|
5437
|
-
|
|
5438
|
-
outerOrderNo: 'outer_order_no',
|
|
5439
|
-
orderId: 'order_id',
|
|
5667
|
+
realPersonVerificationCode: 'real_person_verification_code',
|
|
5440
5668
|
};
|
|
5441
5669
|
}
|
|
5442
5670
|
|
|
@@ -5444,9 +5672,7 @@ export class QueryRealpersonFacevrfRequest extends $tea.Model {
|
|
|
5444
5672
|
return {
|
|
5445
5673
|
authToken: 'string',
|
|
5446
5674
|
productInstanceId: 'string',
|
|
5447
|
-
|
|
5448
|
-
outerOrderNo: 'string',
|
|
5449
|
-
orderId: 'string',
|
|
5675
|
+
realPersonVerificationCode: 'string',
|
|
5450
5676
|
};
|
|
5451
5677
|
}
|
|
5452
5678
|
|
|
@@ -5462,14 +5688,26 @@ export class QueryRealpersonFacevrfResponse extends $tea.Model {
|
|
|
5462
5688
|
resultCode?: string;
|
|
5463
5689
|
// 异常信息的文本描述
|
|
5464
5690
|
resultMsg?: string;
|
|
5465
|
-
//
|
|
5466
|
-
|
|
5691
|
+
// 实人认证结果
|
|
5692
|
+
// PROCESSING(初始化)
|
|
5693
|
+
// SUCCESS(认证通过)FAIL(认证不通过)
|
|
5694
|
+
certifyState?: string;
|
|
5695
|
+
// 【solution_type=H5 | APP 返回】
|
|
5696
|
+
// 本次认证是否存在安全风险
|
|
5697
|
+
// true(检测到安全风险)
|
|
5698
|
+
// false(未检测到安全风险)
|
|
5699
|
+
attackFlag?: string;
|
|
5700
|
+
// 【solution_type=H5 | APP 返回】
|
|
5701
|
+
// base64过后的二值化图片
|
|
5702
|
+
alivePhoto?: string;
|
|
5467
5703
|
static names(): { [key: string]: string } {
|
|
5468
5704
|
return {
|
|
5469
5705
|
reqMsgId: 'req_msg_id',
|
|
5470
5706
|
resultCode: 'result_code',
|
|
5471
5707
|
resultMsg: 'result_msg',
|
|
5472
|
-
|
|
5708
|
+
certifyState: 'certify_state',
|
|
5709
|
+
attackFlag: 'attack_flag',
|
|
5710
|
+
alivePhoto: 'alive_photo',
|
|
5473
5711
|
};
|
|
5474
5712
|
}
|
|
5475
5713
|
|
|
@@ -5478,7 +5716,9 @@ export class QueryRealpersonFacevrfResponse extends $tea.Model {
|
|
|
5478
5716
|
reqMsgId: 'string',
|
|
5479
5717
|
resultCode: 'string',
|
|
5480
5718
|
resultMsg: 'string',
|
|
5481
|
-
|
|
5719
|
+
certifyState: 'string',
|
|
5720
|
+
attackFlag: 'string',
|
|
5721
|
+
alivePhoto: 'string',
|
|
5482
5722
|
};
|
|
5483
5723
|
}
|
|
5484
5724
|
|
|
@@ -7287,6 +7527,8 @@ export class QueryWithholdSignResponse extends $tea.Model {
|
|
|
7287
7527
|
validTime?: string;
|
|
7288
7528
|
// 协议失效时间
|
|
7289
7529
|
invalidTime?: string;
|
|
7530
|
+
// 代扣协议号
|
|
7531
|
+
agreementNo?: string;
|
|
7290
7532
|
static names(): { [key: string]: string } {
|
|
7291
7533
|
return {
|
|
7292
7534
|
reqMsgId: 'req_msg_id',
|
|
@@ -7296,6 +7538,7 @@ export class QueryWithholdSignResponse extends $tea.Model {
|
|
|
7296
7538
|
signTime: 'sign_time',
|
|
7297
7539
|
validTime: 'valid_time',
|
|
7298
7540
|
invalidTime: 'invalid_time',
|
|
7541
|
+
agreementNo: 'agreement_no',
|
|
7299
7542
|
};
|
|
7300
7543
|
}
|
|
7301
7544
|
|
|
@@ -7308,6 +7551,7 @@ export class QueryWithholdSignResponse extends $tea.Model {
|
|
|
7308
7551
|
signTime: 'string',
|
|
7309
7552
|
validTime: 'string',
|
|
7310
7553
|
invalidTime: 'string',
|
|
7554
|
+
agreementNo: 'string',
|
|
7311
7555
|
};
|
|
7312
7556
|
}
|
|
7313
7557
|
|
|
@@ -8237,7 +8481,7 @@ export default class Client {
|
|
|
8237
8481
|
req_msg_id: AntchainUtil.getNonce(),
|
|
8238
8482
|
access_key: this._accessKeyId,
|
|
8239
8483
|
base_sdk_version: "TeaSDK-2.0",
|
|
8240
|
-
sdk_version: "1.8.
|
|
8484
|
+
sdk_version: "1.8.92",
|
|
8241
8485
|
_prod_code: "ATO",
|
|
8242
8486
|
_prod_channel: "undefined",
|
|
8243
8487
|
};
|
|
@@ -9503,6 +9747,25 @@ export default class Client {
|
|
|
9503
9747
|
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({}));
|
|
9504
9748
|
}
|
|
9505
9749
|
|
|
9750
|
+
/**
|
|
9751
|
+
* Description: 商家信息修改
|
|
9752
|
+
* Summary: 商家信息修改
|
|
9753
|
+
*/
|
|
9754
|
+
async updateMerchantexpandMerchant(request: UpdateMerchantexpandMerchantRequest): Promise<UpdateMerchantexpandMerchantResponse> {
|
|
9755
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
9756
|
+
let headers : {[key: string ]: string} = { };
|
|
9757
|
+
return await this.updateMerchantexpandMerchantEx(request, headers, runtime);
|
|
9758
|
+
}
|
|
9759
|
+
|
|
9760
|
+
/**
|
|
9761
|
+
* Description: 商家信息修改
|
|
9762
|
+
* Summary: 商家信息修改
|
|
9763
|
+
*/
|
|
9764
|
+
async updateMerchantexpandMerchantEx(request: UpdateMerchantexpandMerchantRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateMerchantexpandMerchantResponse> {
|
|
9765
|
+
Util.validateModel(request);
|
|
9766
|
+
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({}));
|
|
9767
|
+
}
|
|
9768
|
+
|
|
9506
9769
|
/**
|
|
9507
9770
|
* Description: 可信身份认证,创建认证
|
|
9508
9771
|
* Summary: 创建认证
|