@antchain/ato 1.9.11 → 1.9.19
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 +265 -107
- package/dist/client.js +444 -211
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +660 -337
package/src/client.ts
CHANGED
|
@@ -78,23 +78,23 @@ export class Config extends $tea.Model {
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
//
|
|
82
|
-
export class
|
|
83
|
-
//
|
|
84
|
-
|
|
85
|
-
//
|
|
86
|
-
|
|
81
|
+
// 静态数据模块详情
|
|
82
|
+
export class StaticDataModuleDetail extends $tea.Model {
|
|
83
|
+
// 描述
|
|
84
|
+
propertyText: string;
|
|
85
|
+
// 商户类型
|
|
86
|
+
propertyValue: string;
|
|
87
87
|
static names(): { [key: string]: string } {
|
|
88
88
|
return {
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
propertyText: 'property_text',
|
|
90
|
+
propertyValue: 'property_value',
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
static types(): { [key: string]: any } {
|
|
95
95
|
return {
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
propertyText: 'string',
|
|
97
|
+
propertyValue: 'string',
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
100
|
|
|
@@ -103,15 +103,23 @@ export class FileInfo extends $tea.Model {
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
//
|
|
107
|
-
export class
|
|
106
|
+
// 文件信息
|
|
107
|
+
export class FileInfo extends $tea.Model {
|
|
108
|
+
// 文件名称
|
|
109
|
+
fileName: string;
|
|
110
|
+
// 文件key
|
|
111
|
+
fileKey: string;
|
|
108
112
|
static names(): { [key: string]: string } {
|
|
109
113
|
return {
|
|
114
|
+
fileName: 'file_name',
|
|
115
|
+
fileKey: 'file_key',
|
|
110
116
|
};
|
|
111
117
|
}
|
|
112
118
|
|
|
113
119
|
static types(): { [key: string]: any } {
|
|
114
120
|
return {
|
|
121
|
+
fileName: 'string',
|
|
122
|
+
fileKey: 'string',
|
|
115
123
|
};
|
|
116
124
|
}
|
|
117
125
|
|
|
@@ -211,47 +219,6 @@ export class CompanyInfo extends $tea.Model {
|
|
|
211
219
|
}
|
|
212
220
|
}
|
|
213
221
|
|
|
214
|
-
// 租户协议分页对象
|
|
215
|
-
export class AgreementPage extends $tea.Model {
|
|
216
|
-
// 协议id
|
|
217
|
-
agreementId: string;
|
|
218
|
-
// 代理企业名称
|
|
219
|
-
merchantName: string;
|
|
220
|
-
// 租户8位id
|
|
221
|
-
tenantId: string;
|
|
222
|
-
// 业务类型 枚举
|
|
223
|
-
productMainClass: string;
|
|
224
|
-
// 协议类型 枚举
|
|
225
|
-
agreementType: string;
|
|
226
|
-
// 租户签约状态 枚举
|
|
227
|
-
signStatus: string;
|
|
228
|
-
static names(): { [key: string]: string } {
|
|
229
|
-
return {
|
|
230
|
-
agreementId: 'agreement_id',
|
|
231
|
-
merchantName: 'merchant_name',
|
|
232
|
-
tenantId: 'tenant_id',
|
|
233
|
-
productMainClass: 'product_main_class',
|
|
234
|
-
agreementType: 'agreement_type',
|
|
235
|
-
signStatus: 'sign_status',
|
|
236
|
-
};
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
static types(): { [key: string]: any } {
|
|
240
|
-
return {
|
|
241
|
-
agreementId: 'string',
|
|
242
|
-
merchantName: 'string',
|
|
243
|
-
tenantId: 'string',
|
|
244
|
-
productMainClass: 'string',
|
|
245
|
-
agreementType: 'string',
|
|
246
|
-
signStatus: 'string',
|
|
247
|
-
};
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
constructor(map?: { [key: string]: any }) {
|
|
251
|
-
super(map);
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
|
|
255
222
|
// 用户履约信息
|
|
256
223
|
export class UserPerformanceInfo extends $tea.Model {
|
|
257
224
|
// 履约期数
|
|
@@ -282,31 +249,6 @@ export class UserPerformanceInfo extends $tea.Model {
|
|
|
282
249
|
}
|
|
283
250
|
}
|
|
284
251
|
|
|
285
|
-
// 风险场景的决策结果
|
|
286
|
-
export class RiskScene extends $tea.Model {
|
|
287
|
-
// 风险场景编码
|
|
288
|
-
sceneCode: string;
|
|
289
|
-
// 该场景的风险决策结果
|
|
290
|
-
decision: string;
|
|
291
|
-
static names(): { [key: string]: string } {
|
|
292
|
-
return {
|
|
293
|
-
sceneCode: 'scene_code',
|
|
294
|
-
decision: 'decision',
|
|
295
|
-
};
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
static types(): { [key: string]: any } {
|
|
299
|
-
return {
|
|
300
|
-
sceneCode: 'string',
|
|
301
|
-
decision: 'string',
|
|
302
|
-
};
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
constructor(map?: { [key: string]: any }) {
|
|
306
|
-
super(map);
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
|
|
310
252
|
// 策略结果详情
|
|
311
253
|
export class RiskStrategy extends $tea.Model {
|
|
312
254
|
// 策略ID
|
|
@@ -340,88 +282,23 @@ export class RiskStrategy extends $tea.Model {
|
|
|
340
282
|
}
|
|
341
283
|
}
|
|
342
284
|
|
|
343
|
-
//
|
|
344
|
-
export class
|
|
345
|
-
//
|
|
346
|
-
|
|
347
|
-
//
|
|
348
|
-
|
|
349
|
-
// 分账公司名称统一社会信用代码
|
|
350
|
-
merchantId: string;
|
|
351
|
-
// 审核状态
|
|
352
|
-
status: string;
|
|
353
|
-
static names(): { [key: string]: string } {
|
|
354
|
-
return {
|
|
355
|
-
relationId: 'relation_id',
|
|
356
|
-
companyName: 'company_name',
|
|
357
|
-
merchantId: 'merchant_id',
|
|
358
|
-
status: 'status',
|
|
359
|
-
};
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
static types(): { [key: string]: any } {
|
|
363
|
-
return {
|
|
364
|
-
relationId: 'string',
|
|
365
|
-
companyName: 'string',
|
|
366
|
-
merchantId: 'string',
|
|
367
|
-
status: 'string',
|
|
368
|
-
};
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
constructor(map?: { [key: string]: any }) {
|
|
372
|
-
super(map);
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
// 公司信息修改
|
|
377
|
-
export class CompanyInfoUpdate extends $tea.Model {
|
|
378
|
-
// 营业执照文件信息
|
|
379
|
-
businessLicenseFile?: FileInfo;
|
|
380
|
-
// 业务类型 枚举
|
|
381
|
-
productMainClass?: string;
|
|
382
|
-
// 公司名称
|
|
383
|
-
companyName?: string;
|
|
384
|
-
// 公司别名
|
|
385
|
-
companyAliasName?: string;
|
|
386
|
-
// 公司数科租户id
|
|
387
|
-
tenantId?: string;
|
|
388
|
-
// 公司联系电话
|
|
389
|
-
companyMobile?: string;
|
|
390
|
-
// 公司联系地址
|
|
391
|
-
companyAddress?: string;
|
|
392
|
-
// 联系人姓名
|
|
393
|
-
contactName?: string;
|
|
394
|
-
// 联系人手机号码
|
|
395
|
-
contactMobile?: string;
|
|
396
|
-
// 商户类型: 01:企业;07:个体工商户 默认不填为01
|
|
397
|
-
merchantType?: string;
|
|
285
|
+
// 静态数据
|
|
286
|
+
export class StaticData extends $tea.Model {
|
|
287
|
+
// 商户类型
|
|
288
|
+
moduleName: string;
|
|
289
|
+
// 静态数据详情
|
|
290
|
+
moduleDetailList: StaticDataModuleDetail[];
|
|
398
291
|
static names(): { [key: string]: string } {
|
|
399
292
|
return {
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
companyName: 'company_name',
|
|
403
|
-
companyAliasName: 'company_alias_name',
|
|
404
|
-
tenantId: 'tenant_id',
|
|
405
|
-
companyMobile: 'company_mobile',
|
|
406
|
-
companyAddress: 'company_address',
|
|
407
|
-
contactName: 'contact_name',
|
|
408
|
-
contactMobile: 'contact_mobile',
|
|
409
|
-
merchantType: 'merchant_type',
|
|
293
|
+
moduleName: 'module_name',
|
|
294
|
+
moduleDetailList: 'module_detail_list',
|
|
410
295
|
};
|
|
411
296
|
}
|
|
412
297
|
|
|
413
298
|
static types(): { [key: string]: any } {
|
|
414
299
|
return {
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
companyName: 'string',
|
|
418
|
-
companyAliasName: 'string',
|
|
419
|
-
tenantId: 'string',
|
|
420
|
-
companyMobile: 'string',
|
|
421
|
-
companyAddress: 'string',
|
|
422
|
-
contactName: 'string',
|
|
423
|
-
contactMobile: 'string',
|
|
424
|
-
merchantType: 'string',
|
|
300
|
+
moduleName: 'string',
|
|
301
|
+
moduleDetailList: { 'type': 'array', 'itemType': StaticDataModuleDetail },
|
|
425
302
|
};
|
|
426
303
|
}
|
|
427
304
|
|
|
@@ -543,84 +420,22 @@ export class OrderInfo extends $tea.Model {
|
|
|
543
420
|
}
|
|
544
421
|
}
|
|
545
422
|
|
|
546
|
-
//
|
|
547
|
-
export class
|
|
548
|
-
//
|
|
549
|
-
|
|
550
|
-
// 状态
|
|
551
|
-
// INIT:交易创建
|
|
552
|
-
// FAILED:付款失败
|
|
553
|
-
// SUCCESS:付款成功
|
|
554
|
-
tradeStatus: string;
|
|
555
|
-
// 状态原因码
|
|
556
|
-
statusReasonCode?: string;
|
|
557
|
-
// 超时关闭
|
|
558
|
-
statusReasonMsg?: string;
|
|
559
|
-
// 本次交易支付的订单金额,单位为分
|
|
560
|
-
// 付款成功或付款成功之后的状态必填
|
|
561
|
-
totalAmount?: number;
|
|
562
|
-
// 用户在交易中支付的金额,单位为分
|
|
563
|
-
// 付款成功的状态必填
|
|
564
|
-
paidAmount?: number;
|
|
565
|
-
// 商家在交易中实际收到的款项,单位为分
|
|
566
|
-
// 付款成功的状态必填
|
|
567
|
-
receiptAmount?: number;
|
|
568
|
-
// 交易支付时间
|
|
569
|
-
// 付款成功的状态必填
|
|
570
|
-
gmtPay?: string;
|
|
571
|
-
static names(): { [key: string]: string } {
|
|
572
|
-
return {
|
|
573
|
-
tradeNo: 'trade_no',
|
|
574
|
-
tradeStatus: 'trade_status',
|
|
575
|
-
statusReasonCode: 'status_reason_code',
|
|
576
|
-
statusReasonMsg: 'status_reason_msg',
|
|
577
|
-
totalAmount: 'total_amount',
|
|
578
|
-
paidAmount: 'paid_amount',
|
|
579
|
-
receiptAmount: 'receipt_amount',
|
|
580
|
-
gmtPay: 'gmt_pay',
|
|
581
|
-
};
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
static types(): { [key: string]: any } {
|
|
585
|
-
return {
|
|
586
|
-
tradeNo: 'string',
|
|
587
|
-
tradeStatus: 'string',
|
|
588
|
-
statusReasonCode: 'string',
|
|
589
|
-
statusReasonMsg: 'string',
|
|
590
|
-
totalAmount: 'number',
|
|
591
|
-
paidAmount: 'number',
|
|
592
|
-
receiptAmount: 'number',
|
|
593
|
-
gmtPay: 'string',
|
|
594
|
-
};
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
constructor(map?: { [key: string]: any }) {
|
|
598
|
-
super(map);
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
// 应用信息
|
|
603
|
-
export class ApplicationInfo extends $tea.Model {
|
|
604
|
-
// 应用场景
|
|
605
|
-
// MINI_APP 小程序
|
|
606
|
-
// APP 自有app
|
|
607
|
-
// ALL 两种都有
|
|
608
|
-
applicationScene: string;
|
|
423
|
+
// 应用信息修改
|
|
424
|
+
export class ApplicationInfoUpdate extends $tea.Model {
|
|
425
|
+
// 应用场景 MINI_APP 小程序 APP 自有app ALL 两种都有
|
|
426
|
+
applicationScene?: string;
|
|
609
427
|
// 小程序id
|
|
610
|
-
tinyAppId
|
|
428
|
+
tinyAppId?: string;
|
|
611
429
|
// 小程序名称
|
|
612
|
-
siteName
|
|
613
|
-
//
|
|
614
|
-
sitUrl
|
|
615
|
-
// 商户名称。
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
//
|
|
620
|
-
|
|
621
|
-
// 商户服务描述。
|
|
622
|
-
// 修改后的商户服务描述,将同步支付宝代扣签约页面字段展示
|
|
623
|
-
merchantServiceDesc: string;
|
|
430
|
+
siteName?: string;
|
|
431
|
+
// http://asdasas.com
|
|
432
|
+
sitUrl?: string;
|
|
433
|
+
// 商户名称。 修改后的商户名称,将同步支付宝代扣签约页面字段展示
|
|
434
|
+
merchantName?: string;
|
|
435
|
+
// 商户服务名称。 修改后的商户服务名称,将同步支付宝代扣签约页面字段展示
|
|
436
|
+
merchantServiceName?: string;
|
|
437
|
+
// 商户服务描述。 修改后的商户服务描述,将同步支付宝代扣签约页面字段展示
|
|
438
|
+
merchantServiceDesc?: string;
|
|
624
439
|
static names(): { [key: string]: string } {
|
|
625
440
|
return {
|
|
626
441
|
applicationScene: 'application_scene',
|
|
@@ -650,15 +465,35 @@ export class ApplicationInfo extends $tea.Model {
|
|
|
650
465
|
}
|
|
651
466
|
}
|
|
652
467
|
|
|
653
|
-
//
|
|
654
|
-
export class
|
|
655
|
-
|
|
468
|
+
// 审核信息
|
|
469
|
+
export class AuditInfo extends $tea.Model {
|
|
470
|
+
// 审核步骤
|
|
471
|
+
stage: string;
|
|
472
|
+
// 审核主体
|
|
473
|
+
auditSubject: string;
|
|
474
|
+
// 审核状态
|
|
475
|
+
status: string;
|
|
476
|
+
// 审核时间
|
|
477
|
+
applyDateStr: string;
|
|
478
|
+
// 审核失败描述
|
|
479
|
+
failReason: string;
|
|
480
|
+
static names(): { [key: string]: string } {
|
|
656
481
|
return {
|
|
482
|
+
stage: 'stage',
|
|
483
|
+
auditSubject: 'audit_subject',
|
|
484
|
+
status: 'status',
|
|
485
|
+
applyDateStr: 'apply_date_str',
|
|
486
|
+
failReason: 'fail_reason',
|
|
657
487
|
};
|
|
658
488
|
}
|
|
659
489
|
|
|
660
490
|
static types(): { [key: string]: any } {
|
|
661
491
|
return {
|
|
492
|
+
stage: 'string',
|
|
493
|
+
auditSubject: 'string',
|
|
494
|
+
status: 'string',
|
|
495
|
+
applyDateStr: 'string',
|
|
496
|
+
failReason: 'string',
|
|
662
497
|
};
|
|
663
498
|
}
|
|
664
499
|
|
|
@@ -667,23 +502,15 @@ export class GoodsInfo extends $tea.Model {
|
|
|
667
502
|
}
|
|
668
503
|
}
|
|
669
504
|
|
|
670
|
-
//
|
|
671
|
-
export class
|
|
672
|
-
// 页大小
|
|
673
|
-
pageSize: number;
|
|
674
|
-
// 当前页
|
|
675
|
-
pageIndex: number;
|
|
505
|
+
// 订单包含的单个商品模型
|
|
506
|
+
export class OrderGoodsModel extends $tea.Model {
|
|
676
507
|
static names(): { [key: string]: string } {
|
|
677
508
|
return {
|
|
678
|
-
pageSize: 'page_size',
|
|
679
|
-
pageIndex: 'page_index',
|
|
680
509
|
};
|
|
681
510
|
}
|
|
682
511
|
|
|
683
512
|
static types(): { [key: string]: any } {
|
|
684
513
|
return {
|
|
685
|
-
pageSize: 'number',
|
|
686
|
-
pageIndex: 'number',
|
|
687
514
|
};
|
|
688
515
|
}
|
|
689
516
|
|
|
@@ -692,43 +519,89 @@ export class PageQuery extends $tea.Model {
|
|
|
692
519
|
}
|
|
693
520
|
}
|
|
694
521
|
|
|
695
|
-
//
|
|
696
|
-
export class
|
|
697
|
-
//
|
|
698
|
-
|
|
699
|
-
//
|
|
700
|
-
|
|
701
|
-
//
|
|
702
|
-
|
|
703
|
-
//
|
|
704
|
-
|
|
705
|
-
// 商户名称。 修改后的商户名称,将同步支付宝代扣签约页面字段展示
|
|
706
|
-
merchantName?: string;
|
|
707
|
-
// 商户服务名称。 修改后的商户服务名称,将同步支付宝代扣签约页面字段展示
|
|
708
|
-
merchantServiceName?: string;
|
|
709
|
-
// 商户服务描述。 修改后的商户服务描述,将同步支付宝代扣签约页面字段展示
|
|
710
|
-
merchantServiceDesc?: string;
|
|
522
|
+
// 法人信息修改
|
|
523
|
+
export class LegalInfoUpdate extends $tea.Model {
|
|
524
|
+
// 法人名称
|
|
525
|
+
legalName?: string;
|
|
526
|
+
// 法人证件号
|
|
527
|
+
legalCertNo?: string;
|
|
528
|
+
// 法人证件正面
|
|
529
|
+
legalCertFrontFile?: FileInfo;
|
|
530
|
+
// 法人证件反面
|
|
531
|
+
legalCertBackFile?: FileInfo;
|
|
711
532
|
static names(): { [key: string]: string } {
|
|
712
533
|
return {
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
534
|
+
legalName: 'legal_name',
|
|
535
|
+
legalCertNo: 'legal_cert_no',
|
|
536
|
+
legalCertFrontFile: 'legal_cert_front_file',
|
|
537
|
+
legalCertBackFile: 'legal_cert_back_file',
|
|
538
|
+
};
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
static types(): { [key: string]: any } {
|
|
542
|
+
return {
|
|
543
|
+
legalName: 'string',
|
|
544
|
+
legalCertNo: 'string',
|
|
545
|
+
legalCertFrontFile: FileInfo,
|
|
546
|
+
legalCertBackFile: FileInfo,
|
|
547
|
+
};
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
constructor(map?: { [key: string]: any }) {
|
|
551
|
+
super(map);
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
// 订单还款计划
|
|
556
|
+
export class PromiseInfo extends $tea.Model {
|
|
557
|
+
static names(): { [key: string]: string } {
|
|
558
|
+
return {
|
|
559
|
+
};
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
static types(): { [key: string]: any } {
|
|
563
|
+
return {
|
|
564
|
+
};
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
constructor(map?: { [key: string]: any }) {
|
|
568
|
+
super(map);
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
// 租户协议分页对象
|
|
573
|
+
export class AgreementPage extends $tea.Model {
|
|
574
|
+
// 协议id
|
|
575
|
+
agreementId: string;
|
|
576
|
+
// 代理企业名称
|
|
577
|
+
merchantName: string;
|
|
578
|
+
// 租户8位id
|
|
579
|
+
tenantId: string;
|
|
580
|
+
// 业务类型 枚举
|
|
581
|
+
productMainClass: string;
|
|
582
|
+
// 协议类型 枚举
|
|
583
|
+
agreementType: string;
|
|
584
|
+
// 租户签约状态 枚举
|
|
585
|
+
signStatus: string;
|
|
586
|
+
static names(): { [key: string]: string } {
|
|
587
|
+
return {
|
|
588
|
+
agreementId: 'agreement_id',
|
|
717
589
|
merchantName: 'merchant_name',
|
|
718
|
-
|
|
719
|
-
|
|
590
|
+
tenantId: 'tenant_id',
|
|
591
|
+
productMainClass: 'product_main_class',
|
|
592
|
+
agreementType: 'agreement_type',
|
|
593
|
+
signStatus: 'sign_status',
|
|
720
594
|
};
|
|
721
595
|
}
|
|
722
596
|
|
|
723
597
|
static types(): { [key: string]: any } {
|
|
724
598
|
return {
|
|
725
|
-
|
|
726
|
-
tinyAppId: 'string',
|
|
727
|
-
siteName: 'string',
|
|
728
|
-
sitUrl: 'string',
|
|
599
|
+
agreementId: 'string',
|
|
729
600
|
merchantName: 'string',
|
|
730
|
-
|
|
731
|
-
|
|
601
|
+
tenantId: 'string',
|
|
602
|
+
productMainClass: 'string',
|
|
603
|
+
agreementType: 'string',
|
|
604
|
+
signStatus: 'string',
|
|
732
605
|
};
|
|
733
606
|
}
|
|
734
607
|
|
|
@@ -737,31 +610,23 @@ export class ApplicationInfoUpdate extends $tea.Model {
|
|
|
737
610
|
}
|
|
738
611
|
}
|
|
739
612
|
|
|
740
|
-
//
|
|
741
|
-
export class
|
|
742
|
-
//
|
|
743
|
-
|
|
744
|
-
//
|
|
745
|
-
|
|
746
|
-
// 法人证件正面
|
|
747
|
-
legalCertFrontFile: FileInfo;
|
|
748
|
-
// 法人证件反面
|
|
749
|
-
legalCertBackFile: FileInfo;
|
|
613
|
+
// 风险场景的决策结果
|
|
614
|
+
export class RiskScene extends $tea.Model {
|
|
615
|
+
// 风险场景编码
|
|
616
|
+
sceneCode: string;
|
|
617
|
+
// 该场景的风险决策结果
|
|
618
|
+
decision: string;
|
|
750
619
|
static names(): { [key: string]: string } {
|
|
751
620
|
return {
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
legalCertFrontFile: 'legal_cert_front_file',
|
|
755
|
-
legalCertBackFile: 'legal_cert_back_file',
|
|
621
|
+
sceneCode: 'scene_code',
|
|
622
|
+
decision: 'decision',
|
|
756
623
|
};
|
|
757
624
|
}
|
|
758
625
|
|
|
759
626
|
static types(): { [key: string]: any } {
|
|
760
627
|
return {
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
legalCertFrontFile: FileInfo,
|
|
764
|
-
legalCertBackFile: FileInfo,
|
|
628
|
+
sceneCode: 'string',
|
|
629
|
+
decision: 'string',
|
|
765
630
|
};
|
|
766
631
|
}
|
|
767
632
|
|
|
@@ -770,35 +635,31 @@ export class LegalInfo extends $tea.Model {
|
|
|
770
635
|
}
|
|
771
636
|
}
|
|
772
637
|
|
|
773
|
-
//
|
|
774
|
-
export class
|
|
775
|
-
//
|
|
776
|
-
|
|
777
|
-
//
|
|
778
|
-
|
|
638
|
+
// 分账关系页对象
|
|
639
|
+
export class RelationPage extends $tea.Model {
|
|
640
|
+
// 分账关系id
|
|
641
|
+
relationId: string;
|
|
642
|
+
// 分账公司名称
|
|
643
|
+
companyName: string;
|
|
644
|
+
// 分账公司名称统一社会信用代码
|
|
645
|
+
merchantId: string;
|
|
779
646
|
// 审核状态
|
|
780
647
|
status: string;
|
|
781
|
-
// 审核时间
|
|
782
|
-
applyDateStr: string;
|
|
783
|
-
// 审核失败描述
|
|
784
|
-
failReason: string;
|
|
785
648
|
static names(): { [key: string]: string } {
|
|
786
649
|
return {
|
|
787
|
-
|
|
788
|
-
|
|
650
|
+
relationId: 'relation_id',
|
|
651
|
+
companyName: 'company_name',
|
|
652
|
+
merchantId: 'merchant_id',
|
|
789
653
|
status: 'status',
|
|
790
|
-
applyDateStr: 'apply_date_str',
|
|
791
|
-
failReason: 'fail_reason',
|
|
792
654
|
};
|
|
793
655
|
}
|
|
794
656
|
|
|
795
657
|
static types(): { [key: string]: any } {
|
|
796
658
|
return {
|
|
797
|
-
|
|
798
|
-
|
|
659
|
+
relationId: 'string',
|
|
660
|
+
companyName: 'string',
|
|
661
|
+
merchantId: 'string',
|
|
799
662
|
status: 'string',
|
|
800
|
-
applyDateStr: 'string',
|
|
801
|
-
failReason: 'string',
|
|
802
663
|
};
|
|
803
664
|
}
|
|
804
665
|
|
|
@@ -807,35 +668,55 @@ export class AuditInfo extends $tea.Model {
|
|
|
807
668
|
}
|
|
808
669
|
}
|
|
809
670
|
|
|
810
|
-
//
|
|
811
|
-
export class
|
|
812
|
-
//
|
|
813
|
-
|
|
814
|
-
//
|
|
815
|
-
|
|
816
|
-
//
|
|
817
|
-
|
|
818
|
-
//
|
|
819
|
-
|
|
820
|
-
//
|
|
821
|
-
|
|
671
|
+
// 公司信息修改
|
|
672
|
+
export class CompanyInfoUpdate extends $tea.Model {
|
|
673
|
+
// 营业执照文件信息
|
|
674
|
+
businessLicenseFile?: FileInfo;
|
|
675
|
+
// 业务类型 枚举
|
|
676
|
+
productMainClass?: string;
|
|
677
|
+
// 公司名称
|
|
678
|
+
companyName?: string;
|
|
679
|
+
// 公司别名
|
|
680
|
+
companyAliasName?: string;
|
|
681
|
+
// 公司数科租户id
|
|
682
|
+
tenantId?: string;
|
|
683
|
+
// 公司联系电话
|
|
684
|
+
companyMobile?: string;
|
|
685
|
+
// 公司联系地址
|
|
686
|
+
companyAddress?: string;
|
|
687
|
+
// 联系人姓名
|
|
688
|
+
contactName?: string;
|
|
689
|
+
// 联系人手机号码
|
|
690
|
+
contactMobile?: string;
|
|
691
|
+
// 商户类型: 01:企业;07:个体工商户 默认不填为01
|
|
692
|
+
merchantType?: string;
|
|
822
693
|
static names(): { [key: string]: string } {
|
|
823
694
|
return {
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
695
|
+
businessLicenseFile: 'business_license_file',
|
|
696
|
+
productMainClass: 'product_main_class',
|
|
697
|
+
companyName: 'company_name',
|
|
698
|
+
companyAliasName: 'company_alias_name',
|
|
699
|
+
tenantId: 'tenant_id',
|
|
700
|
+
companyMobile: 'company_mobile',
|
|
701
|
+
companyAddress: 'company_address',
|
|
702
|
+
contactName: 'contact_name',
|
|
703
|
+
contactMobile: 'contact_mobile',
|
|
704
|
+
merchantType: 'merchant_type',
|
|
829
705
|
};
|
|
830
706
|
}
|
|
831
707
|
|
|
832
708
|
static types(): { [key: string]: any } {
|
|
833
709
|
return {
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
710
|
+
businessLicenseFile: FileInfo,
|
|
711
|
+
productMainClass: 'string',
|
|
712
|
+
companyName: 'string',
|
|
713
|
+
companyAliasName: 'string',
|
|
714
|
+
tenantId: 'string',
|
|
715
|
+
companyMobile: 'string',
|
|
716
|
+
companyAddress: 'string',
|
|
717
|
+
contactName: 'string',
|
|
718
|
+
contactMobile: 'string',
|
|
719
|
+
merchantType: 'string',
|
|
839
720
|
};
|
|
840
721
|
}
|
|
841
722
|
|
|
@@ -844,15 +725,54 @@ export class RiskModel extends $tea.Model {
|
|
|
844
725
|
}
|
|
845
726
|
}
|
|
846
727
|
|
|
847
|
-
//
|
|
848
|
-
export class
|
|
728
|
+
// 主动支付单据
|
|
729
|
+
export class ActivePayOrder extends $tea.Model {
|
|
730
|
+
// 支付宝支付订单号,用于拉起主动支付页面
|
|
731
|
+
tradeNo: string;
|
|
732
|
+
// 状态
|
|
733
|
+
// INIT:交易创建
|
|
734
|
+
// FAILED:付款失败
|
|
735
|
+
// SUCCESS:付款成功
|
|
736
|
+
tradeStatus: string;
|
|
737
|
+
// 状态原因码
|
|
738
|
+
statusReasonCode?: string;
|
|
739
|
+
// 超时关闭
|
|
740
|
+
statusReasonMsg?: string;
|
|
741
|
+
// 本次交易支付的订单金额,单位为分
|
|
742
|
+
// 付款成功或付款成功之后的状态必填
|
|
743
|
+
totalAmount?: number;
|
|
744
|
+
// 用户在交易中支付的金额,单位为分
|
|
745
|
+
// 付款成功的状态必填
|
|
746
|
+
paidAmount?: number;
|
|
747
|
+
// 商家在交易中实际收到的款项,单位为分
|
|
748
|
+
// 付款成功的状态必填
|
|
749
|
+
receiptAmount?: number;
|
|
750
|
+
// 交易支付时间
|
|
751
|
+
// 付款成功的状态必填
|
|
752
|
+
gmtPay?: string;
|
|
849
753
|
static names(): { [key: string]: string } {
|
|
850
754
|
return {
|
|
755
|
+
tradeNo: 'trade_no',
|
|
756
|
+
tradeStatus: 'trade_status',
|
|
757
|
+
statusReasonCode: 'status_reason_code',
|
|
758
|
+
statusReasonMsg: 'status_reason_msg',
|
|
759
|
+
totalAmount: 'total_amount',
|
|
760
|
+
paidAmount: 'paid_amount',
|
|
761
|
+
receiptAmount: 'receipt_amount',
|
|
762
|
+
gmtPay: 'gmt_pay',
|
|
851
763
|
};
|
|
852
764
|
}
|
|
853
765
|
|
|
854
766
|
static types(): { [key: string]: any } {
|
|
855
767
|
return {
|
|
768
|
+
tradeNo: 'string',
|
|
769
|
+
tradeStatus: 'string',
|
|
770
|
+
statusReasonCode: 'string',
|
|
771
|
+
statusReasonMsg: 'string',
|
|
772
|
+
totalAmount: 'number',
|
|
773
|
+
paidAmount: 'number',
|
|
774
|
+
receiptAmount: 'number',
|
|
775
|
+
gmtPay: 'string',
|
|
856
776
|
};
|
|
857
777
|
}
|
|
858
778
|
|
|
@@ -861,16 +781,109 @@ export class OrderGoodsModel extends $tea.Model {
|
|
|
861
781
|
}
|
|
862
782
|
}
|
|
863
783
|
|
|
864
|
-
//
|
|
865
|
-
export class
|
|
784
|
+
// 应用信息
|
|
785
|
+
export class ApplicationInfo extends $tea.Model {
|
|
786
|
+
// 应用场景
|
|
787
|
+
// MINI_APP 小程序
|
|
788
|
+
// APP 自有app
|
|
789
|
+
// ALL 两种都有
|
|
790
|
+
applicationScene: string;
|
|
791
|
+
// 小程序id
|
|
792
|
+
tinyAppId: string;
|
|
793
|
+
// 小程序名称
|
|
794
|
+
siteName: string;
|
|
795
|
+
// 网站地址
|
|
796
|
+
sitUrl: string;
|
|
797
|
+
// 商户名称。
|
|
798
|
+
// 修改后的商户名称,将同步支付宝代扣签约页面字段展示
|
|
799
|
+
merchantName: string;
|
|
800
|
+
// 商户服务名称。
|
|
801
|
+
// 修改后的商户服务名称,将同步支付宝代扣签约页面字段展示
|
|
802
|
+
merchantServiceName: string;
|
|
803
|
+
// 商户服务描述。
|
|
804
|
+
// 修改后的商户服务描述,将同步支付宝代扣签约页面字段展示
|
|
805
|
+
merchantServiceDesc: string;
|
|
806
|
+
static names(): { [key: string]: string } {
|
|
807
|
+
return {
|
|
808
|
+
applicationScene: 'application_scene',
|
|
809
|
+
tinyAppId: 'tiny_app_id',
|
|
810
|
+
siteName: 'site_name',
|
|
811
|
+
sitUrl: 'sit_url',
|
|
812
|
+
merchantName: 'merchant_name',
|
|
813
|
+
merchantServiceName: 'merchant_service_name',
|
|
814
|
+
merchantServiceDesc: 'merchant_service_desc',
|
|
815
|
+
};
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
static types(): { [key: string]: any } {
|
|
819
|
+
return {
|
|
820
|
+
applicationScene: 'string',
|
|
821
|
+
tinyAppId: 'string',
|
|
822
|
+
siteName: 'string',
|
|
823
|
+
sitUrl: 'string',
|
|
824
|
+
merchantName: 'string',
|
|
825
|
+
merchantServiceName: 'string',
|
|
826
|
+
merchantServiceDesc: 'string',
|
|
827
|
+
};
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
constructor(map?: { [key: string]: any }) {
|
|
831
|
+
super(map);
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
// 订单商品信息
|
|
836
|
+
export class GoodsInfo extends $tea.Model {
|
|
837
|
+
static names(): { [key: string]: string } {
|
|
838
|
+
return {
|
|
839
|
+
};
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
static types(): { [key: string]: any } {
|
|
843
|
+
return {
|
|
844
|
+
};
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
constructor(map?: { [key: string]: any }) {
|
|
848
|
+
super(map);
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
// 分页查询对象
|
|
853
|
+
export class PageQuery extends $tea.Model {
|
|
854
|
+
// 页大小
|
|
855
|
+
pageSize: number;
|
|
856
|
+
// 当前页
|
|
857
|
+
pageIndex: number;
|
|
858
|
+
static names(): { [key: string]: string } {
|
|
859
|
+
return {
|
|
860
|
+
pageSize: 'page_size',
|
|
861
|
+
pageIndex: 'page_index',
|
|
862
|
+
};
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
static types(): { [key: string]: any } {
|
|
866
|
+
return {
|
|
867
|
+
pageSize: 'number',
|
|
868
|
+
pageIndex: 'number',
|
|
869
|
+
};
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
constructor(map?: { [key: string]: any }) {
|
|
873
|
+
super(map);
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
// 法人信息
|
|
878
|
+
export class LegalInfo extends $tea.Model {
|
|
866
879
|
// 法人名称
|
|
867
|
-
legalName
|
|
880
|
+
legalName: string;
|
|
868
881
|
// 法人证件号
|
|
869
|
-
legalCertNo
|
|
882
|
+
legalCertNo: string;
|
|
870
883
|
// 法人证件正面
|
|
871
|
-
legalCertFrontFile
|
|
884
|
+
legalCertFrontFile: FileInfo;
|
|
872
885
|
// 法人证件反面
|
|
873
|
-
legalCertBackFile
|
|
886
|
+
legalCertBackFile: FileInfo;
|
|
874
887
|
static names(): { [key: string]: string } {
|
|
875
888
|
return {
|
|
876
889
|
legalName: 'legal_name',
|
|
@@ -894,6 +907,43 @@ export class LegalInfoUpdate extends $tea.Model {
|
|
|
894
907
|
}
|
|
895
908
|
}
|
|
896
909
|
|
|
910
|
+
// 模型结果详情
|
|
911
|
+
export class RiskModel extends $tea.Model {
|
|
912
|
+
// 风险场景编码
|
|
913
|
+
sceneCode: string;
|
|
914
|
+
// 该风险场景的风险分值
|
|
915
|
+
score: string;
|
|
916
|
+
// 逾期率
|
|
917
|
+
delinquencyRate?: string;
|
|
918
|
+
// 风险建议
|
|
919
|
+
riskAdvice?: string;
|
|
920
|
+
// 风险等级
|
|
921
|
+
riskRank?: string;
|
|
922
|
+
static names(): { [key: string]: string } {
|
|
923
|
+
return {
|
|
924
|
+
sceneCode: 'scene_code',
|
|
925
|
+
score: 'score',
|
|
926
|
+
delinquencyRate: 'delinquency_rate',
|
|
927
|
+
riskAdvice: 'risk_advice',
|
|
928
|
+
riskRank: 'risk_rank',
|
|
929
|
+
};
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
static types(): { [key: string]: any } {
|
|
933
|
+
return {
|
|
934
|
+
sceneCode: 'string',
|
|
935
|
+
score: 'string',
|
|
936
|
+
delinquencyRate: 'string',
|
|
937
|
+
riskAdvice: 'string',
|
|
938
|
+
riskRank: 'string',
|
|
939
|
+
};
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
constructor(map?: { [key: string]: any }) {
|
|
943
|
+
super(map);
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
|
|
897
947
|
// 键值对
|
|
898
948
|
export class XNameValuePair extends $tea.Model {
|
|
899
949
|
// 键名
|
|
@@ -2435,6 +2485,79 @@ export class QueryFundCreditResponse extends $tea.Model {
|
|
|
2435
2485
|
}
|
|
2436
2486
|
}
|
|
2437
2487
|
|
|
2488
|
+
export class SyncFundFinanceprecheckresultRequest extends $tea.Model {
|
|
2489
|
+
// OAuth模式下的授权token
|
|
2490
|
+
authToken?: string;
|
|
2491
|
+
productInstanceId?: string;
|
|
2492
|
+
// 订单id 长度不可超过50
|
|
2493
|
+
orderId: string;
|
|
2494
|
+
// 订单所属商户的社会信用代码
|
|
2495
|
+
merchantId: string;
|
|
2496
|
+
// 资方的社会信用代码
|
|
2497
|
+
fundId: string;
|
|
2498
|
+
// 预审结果
|
|
2499
|
+
// ● APPROVAL : 通过
|
|
2500
|
+
// ● REFUSE :拒绝
|
|
2501
|
+
result: string;
|
|
2502
|
+
// 拒绝原因
|
|
2503
|
+
refuseReason?: string;
|
|
2504
|
+
static names(): { [key: string]: string } {
|
|
2505
|
+
return {
|
|
2506
|
+
authToken: 'auth_token',
|
|
2507
|
+
productInstanceId: 'product_instance_id',
|
|
2508
|
+
orderId: 'order_id',
|
|
2509
|
+
merchantId: 'merchant_id',
|
|
2510
|
+
fundId: 'fund_id',
|
|
2511
|
+
result: 'result',
|
|
2512
|
+
refuseReason: 'refuse_reason',
|
|
2513
|
+
};
|
|
2514
|
+
}
|
|
2515
|
+
|
|
2516
|
+
static types(): { [key: string]: any } {
|
|
2517
|
+
return {
|
|
2518
|
+
authToken: 'string',
|
|
2519
|
+
productInstanceId: 'string',
|
|
2520
|
+
orderId: 'string',
|
|
2521
|
+
merchantId: 'string',
|
|
2522
|
+
fundId: 'string',
|
|
2523
|
+
result: 'string',
|
|
2524
|
+
refuseReason: 'string',
|
|
2525
|
+
};
|
|
2526
|
+
}
|
|
2527
|
+
|
|
2528
|
+
constructor(map?: { [key: string]: any }) {
|
|
2529
|
+
super(map);
|
|
2530
|
+
}
|
|
2531
|
+
}
|
|
2532
|
+
|
|
2533
|
+
export class SyncFundFinanceprecheckresultResponse extends $tea.Model {
|
|
2534
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
2535
|
+
reqMsgId?: string;
|
|
2536
|
+
// 结果码,一般OK表示调用成功
|
|
2537
|
+
resultCode?: string;
|
|
2538
|
+
// 异常信息的文本描述
|
|
2539
|
+
resultMsg?: string;
|
|
2540
|
+
static names(): { [key: string]: string } {
|
|
2541
|
+
return {
|
|
2542
|
+
reqMsgId: 'req_msg_id',
|
|
2543
|
+
resultCode: 'result_code',
|
|
2544
|
+
resultMsg: 'result_msg',
|
|
2545
|
+
};
|
|
2546
|
+
}
|
|
2547
|
+
|
|
2548
|
+
static types(): { [key: string]: any } {
|
|
2549
|
+
return {
|
|
2550
|
+
reqMsgId: 'string',
|
|
2551
|
+
resultCode: 'string',
|
|
2552
|
+
resultMsg: 'string',
|
|
2553
|
+
};
|
|
2554
|
+
}
|
|
2555
|
+
|
|
2556
|
+
constructor(map?: { [key: string]: any }) {
|
|
2557
|
+
super(map);
|
|
2558
|
+
}
|
|
2559
|
+
}
|
|
2560
|
+
|
|
2438
2561
|
export class GetInnerProductRequest extends $tea.Model {
|
|
2439
2562
|
// OAuth模式下的授权token
|
|
2440
2563
|
authToken?: string;
|
|
@@ -3161,6 +3284,8 @@ export class PublishInnerTemplateRequest extends $tea.Model {
|
|
|
3161
3284
|
templateCode: string;
|
|
3162
3285
|
// 魔法库版本id
|
|
3163
3286
|
templateVersionId: string;
|
|
3287
|
+
// 合同模板制作版本id
|
|
3288
|
+
templateVersion?: string;
|
|
3164
3289
|
static names(): { [key: string]: string } {
|
|
3165
3290
|
return {
|
|
3166
3291
|
authToken: 'auth_token',
|
|
@@ -3168,6 +3293,7 @@ export class PublishInnerTemplateRequest extends $tea.Model {
|
|
|
3168
3293
|
tenantId: 'tenant_id',
|
|
3169
3294
|
templateCode: 'template_code',
|
|
3170
3295
|
templateVersionId: 'template_version_id',
|
|
3296
|
+
templateVersion: 'template_version',
|
|
3171
3297
|
};
|
|
3172
3298
|
}
|
|
3173
3299
|
|
|
@@ -3178,6 +3304,7 @@ export class PublishInnerTemplateRequest extends $tea.Model {
|
|
|
3178
3304
|
tenantId: 'string',
|
|
3179
3305
|
templateCode: 'string',
|
|
3180
3306
|
templateVersionId: 'string',
|
|
3307
|
+
templateVersion: 'string',
|
|
3181
3308
|
};
|
|
3182
3309
|
}
|
|
3183
3310
|
|
|
@@ -5794,6 +5921,65 @@ export class QueryInnerWithholdsignResponse extends $tea.Model {
|
|
|
5794
5921
|
}
|
|
5795
5922
|
}
|
|
5796
5923
|
|
|
5924
|
+
export class GetInnerMerchantstaticdataRequest extends $tea.Model {
|
|
5925
|
+
// OAuth模式下的授权token
|
|
5926
|
+
authToken?: string;
|
|
5927
|
+
productInstanceId?: string;
|
|
5928
|
+
// 租户id
|
|
5929
|
+
tenantId: string;
|
|
5930
|
+
static names(): { [key: string]: string } {
|
|
5931
|
+
return {
|
|
5932
|
+
authToken: 'auth_token',
|
|
5933
|
+
productInstanceId: 'product_instance_id',
|
|
5934
|
+
tenantId: 'tenant_id',
|
|
5935
|
+
};
|
|
5936
|
+
}
|
|
5937
|
+
|
|
5938
|
+
static types(): { [key: string]: any } {
|
|
5939
|
+
return {
|
|
5940
|
+
authToken: 'string',
|
|
5941
|
+
productInstanceId: 'string',
|
|
5942
|
+
tenantId: 'string',
|
|
5943
|
+
};
|
|
5944
|
+
}
|
|
5945
|
+
|
|
5946
|
+
constructor(map?: { [key: string]: any }) {
|
|
5947
|
+
super(map);
|
|
5948
|
+
}
|
|
5949
|
+
}
|
|
5950
|
+
|
|
5951
|
+
export class GetInnerMerchantstaticdataResponse extends $tea.Model {
|
|
5952
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
5953
|
+
reqMsgId?: string;
|
|
5954
|
+
// 结果码,一般OK表示调用成功
|
|
5955
|
+
resultCode?: string;
|
|
5956
|
+
// 异常信息的文本描述
|
|
5957
|
+
resultMsg?: string;
|
|
5958
|
+
// 商户入驻静态数据
|
|
5959
|
+
staticDataList?: StaticData[];
|
|
5960
|
+
static names(): { [key: string]: string } {
|
|
5961
|
+
return {
|
|
5962
|
+
reqMsgId: 'req_msg_id',
|
|
5963
|
+
resultCode: 'result_code',
|
|
5964
|
+
resultMsg: 'result_msg',
|
|
5965
|
+
staticDataList: 'static_data_list',
|
|
5966
|
+
};
|
|
5967
|
+
}
|
|
5968
|
+
|
|
5969
|
+
static types(): { [key: string]: any } {
|
|
5970
|
+
return {
|
|
5971
|
+
reqMsgId: 'string',
|
|
5972
|
+
resultCode: 'string',
|
|
5973
|
+
resultMsg: 'string',
|
|
5974
|
+
staticDataList: { 'type': 'array', 'itemType': StaticData },
|
|
5975
|
+
};
|
|
5976
|
+
}
|
|
5977
|
+
|
|
5978
|
+
constructor(map?: { [key: string]: any }) {
|
|
5979
|
+
super(map);
|
|
5980
|
+
}
|
|
5981
|
+
}
|
|
5982
|
+
|
|
5797
5983
|
export class RegisterMerchantexpandMerchantRequest extends $tea.Model {
|
|
5798
5984
|
// OAuth模式下的授权token
|
|
5799
5985
|
authToken?: string;
|
|
@@ -8039,6 +8225,86 @@ export class ReplaceTradeUserpromiseResponse extends $tea.Model {
|
|
|
8039
8225
|
}
|
|
8040
8226
|
}
|
|
8041
8227
|
|
|
8228
|
+
export class ApplyTradeFinanceprecheckRequest extends $tea.Model {
|
|
8229
|
+
// OAuth模式下的授权token
|
|
8230
|
+
authToken?: string;
|
|
8231
|
+
productInstanceId?: string;
|
|
8232
|
+
// 订单id 长度大于6,小于50
|
|
8233
|
+
orderId: string;
|
|
8234
|
+
// 订单所属商户的社会信用代码
|
|
8235
|
+
merchantId: string;
|
|
8236
|
+
// 提交预审的资方的社会信用代码
|
|
8237
|
+
fundId: string;
|
|
8238
|
+
// 透传到资方,不做格式限制
|
|
8239
|
+
transparentInfo?: string;
|
|
8240
|
+
static names(): { [key: string]: string } {
|
|
8241
|
+
return {
|
|
8242
|
+
authToken: 'auth_token',
|
|
8243
|
+
productInstanceId: 'product_instance_id',
|
|
8244
|
+
orderId: 'order_id',
|
|
8245
|
+
merchantId: 'merchant_id',
|
|
8246
|
+
fundId: 'fund_id',
|
|
8247
|
+
transparentInfo: 'transparent_info',
|
|
8248
|
+
};
|
|
8249
|
+
}
|
|
8250
|
+
|
|
8251
|
+
static types(): { [key: string]: any } {
|
|
8252
|
+
return {
|
|
8253
|
+
authToken: 'string',
|
|
8254
|
+
productInstanceId: 'string',
|
|
8255
|
+
orderId: 'string',
|
|
8256
|
+
merchantId: 'string',
|
|
8257
|
+
fundId: 'string',
|
|
8258
|
+
transparentInfo: 'string',
|
|
8259
|
+
};
|
|
8260
|
+
}
|
|
8261
|
+
|
|
8262
|
+
constructor(map?: { [key: string]: any }) {
|
|
8263
|
+
super(map);
|
|
8264
|
+
}
|
|
8265
|
+
}
|
|
8266
|
+
|
|
8267
|
+
export class ApplyTradeFinanceprecheckResponse extends $tea.Model {
|
|
8268
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8269
|
+
reqMsgId?: string;
|
|
8270
|
+
// 结果码,一般OK表示调用成功
|
|
8271
|
+
resultCode?: string;
|
|
8272
|
+
// 异常信息的文本描述
|
|
8273
|
+
resultMsg?: string;
|
|
8274
|
+
// ● EXEMPTION : 资方免预审
|
|
8275
|
+
// ● SUBMIT_SUCCESS: 异步预审提交成功
|
|
8276
|
+
responseData?: string;
|
|
8277
|
+
// order_id
|
|
8278
|
+
orderId?: string;
|
|
8279
|
+
// merchant_id
|
|
8280
|
+
merchantId?: string;
|
|
8281
|
+
static names(): { [key: string]: string } {
|
|
8282
|
+
return {
|
|
8283
|
+
reqMsgId: 'req_msg_id',
|
|
8284
|
+
resultCode: 'result_code',
|
|
8285
|
+
resultMsg: 'result_msg',
|
|
8286
|
+
responseData: 'response_data',
|
|
8287
|
+
orderId: 'order_id',
|
|
8288
|
+
merchantId: 'merchant_id',
|
|
8289
|
+
};
|
|
8290
|
+
}
|
|
8291
|
+
|
|
8292
|
+
static types(): { [key: string]: any } {
|
|
8293
|
+
return {
|
|
8294
|
+
reqMsgId: 'string',
|
|
8295
|
+
resultCode: 'string',
|
|
8296
|
+
resultMsg: 'string',
|
|
8297
|
+
responseData: 'string',
|
|
8298
|
+
orderId: 'string',
|
|
8299
|
+
merchantId: 'string',
|
|
8300
|
+
};
|
|
8301
|
+
}
|
|
8302
|
+
|
|
8303
|
+
constructor(map?: { [key: string]: any }) {
|
|
8304
|
+
super(map);
|
|
8305
|
+
}
|
|
8306
|
+
}
|
|
8307
|
+
|
|
8042
8308
|
export class CreateWithholdSignRequest extends $tea.Model {
|
|
8043
8309
|
// OAuth模式下的授权token
|
|
8044
8310
|
authToken?: string;
|
|
@@ -9129,7 +9395,7 @@ export default class Client {
|
|
|
9129
9395
|
req_msg_id: AntchainUtil.getNonce(),
|
|
9130
9396
|
access_key: this._accessKeyId,
|
|
9131
9397
|
base_sdk_version: "TeaSDK-2.0",
|
|
9132
|
-
sdk_version: "1.9.
|
|
9398
|
+
sdk_version: "1.9.19",
|
|
9133
9399
|
_prod_code: "ATO",
|
|
9134
9400
|
_prod_channel: "undefined",
|
|
9135
9401
|
};
|
|
@@ -9578,6 +9844,25 @@ export default class Client {
|
|
|
9578
9844
|
return $tea.cast<QueryFundCreditResponse>(await this.doRequest("1.0", "antchain.ato.fund.credit.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryFundCreditResponse({}));
|
|
9579
9845
|
}
|
|
9580
9846
|
|
|
9847
|
+
/**
|
|
9848
|
+
* Description: 融资预审结果同步
|
|
9849
|
+
* Summary: 融资预审结果同步
|
|
9850
|
+
*/
|
|
9851
|
+
async syncFundFinanceprecheckresult(request: SyncFundFinanceprecheckresultRequest): Promise<SyncFundFinanceprecheckresultResponse> {
|
|
9852
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
9853
|
+
let headers : {[key: string ]: string} = { };
|
|
9854
|
+
return await this.syncFundFinanceprecheckresultEx(request, headers, runtime);
|
|
9855
|
+
}
|
|
9856
|
+
|
|
9857
|
+
/**
|
|
9858
|
+
* Description: 融资预审结果同步
|
|
9859
|
+
* Summary: 融资预审结果同步
|
|
9860
|
+
*/
|
|
9861
|
+
async syncFundFinanceprecheckresultEx(request: SyncFundFinanceprecheckresultRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SyncFundFinanceprecheckresultResponse> {
|
|
9862
|
+
Util.validateModel(request);
|
|
9863
|
+
return $tea.cast<SyncFundFinanceprecheckresultResponse>(await this.doRequest("1.0", "antchain.ato.fund.financeprecheckresult.sync", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SyncFundFinanceprecheckresultResponse({}));
|
|
9864
|
+
}
|
|
9865
|
+
|
|
9581
9866
|
/**
|
|
9582
9867
|
* Description: 内部调用,商品信息获取
|
|
9583
9868
|
* Summary: 商品信息获取
|
|
@@ -10471,6 +10756,25 @@ export default class Client {
|
|
|
10471
10756
|
return $tea.cast<QueryInnerWithholdsignResponse>(await this.doRequest("1.0", "antchain.ato.inner.withholdsign.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInnerWithholdsignResponse({}));
|
|
10472
10757
|
}
|
|
10473
10758
|
|
|
10759
|
+
/**
|
|
10760
|
+
* Description: 获取商户进件静态枚举数据
|
|
10761
|
+
* Summary: 获取商户进件静态枚举数据
|
|
10762
|
+
*/
|
|
10763
|
+
async getInnerMerchantstaticdata(request: GetInnerMerchantstaticdataRequest): Promise<GetInnerMerchantstaticdataResponse> {
|
|
10764
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
10765
|
+
let headers : {[key: string ]: string} = { };
|
|
10766
|
+
return await this.getInnerMerchantstaticdataEx(request, headers, runtime);
|
|
10767
|
+
}
|
|
10768
|
+
|
|
10769
|
+
/**
|
|
10770
|
+
* Description: 获取商户进件静态枚举数据
|
|
10771
|
+
* Summary: 获取商户进件静态枚举数据
|
|
10772
|
+
*/
|
|
10773
|
+
async getInnerMerchantstaticdataEx(request: GetInnerMerchantstaticdataRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetInnerMerchantstaticdataResponse> {
|
|
10774
|
+
Util.validateModel(request);
|
|
10775
|
+
return $tea.cast<GetInnerMerchantstaticdataResponse>(await this.doRequest("1.0", "antchain.ato.inner.merchantstaticdata.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetInnerMerchantstaticdataResponse({}));
|
|
10776
|
+
}
|
|
10777
|
+
|
|
10474
10778
|
/**
|
|
10475
10779
|
* Description: 商户入驻
|
|
10476
10780
|
* Summary: 商户入驻
|
|
@@ -11045,6 +11349,25 @@ export default class Client {
|
|
|
11045
11349
|
return $tea.cast<ReplaceTradeUserpromiseResponse>(await this.doRequest("1.0", "antchain.ato.trade.userpromise.replace", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ReplaceTradeUserpromiseResponse({}));
|
|
11046
11350
|
}
|
|
11047
11351
|
|
|
11352
|
+
/**
|
|
11353
|
+
* Description: 订单融资预审申请接口
|
|
11354
|
+
* Summary: 订单融资预审申请接口
|
|
11355
|
+
*/
|
|
11356
|
+
async applyTradeFinanceprecheck(request: ApplyTradeFinanceprecheckRequest): Promise<ApplyTradeFinanceprecheckResponse> {
|
|
11357
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
11358
|
+
let headers : {[key: string ]: string} = { };
|
|
11359
|
+
return await this.applyTradeFinanceprecheckEx(request, headers, runtime);
|
|
11360
|
+
}
|
|
11361
|
+
|
|
11362
|
+
/**
|
|
11363
|
+
* Description: 订单融资预审申请接口
|
|
11364
|
+
* Summary: 订单融资预审申请接口
|
|
11365
|
+
*/
|
|
11366
|
+
async applyTradeFinanceprecheckEx(request: ApplyTradeFinanceprecheckRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApplyTradeFinanceprecheckResponse> {
|
|
11367
|
+
Util.validateModel(request);
|
|
11368
|
+
return $tea.cast<ApplyTradeFinanceprecheckResponse>(await this.doRequest("1.0", "antchain.ato.trade.financeprecheck.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyTradeFinanceprecheckResponse({}));
|
|
11369
|
+
}
|
|
11370
|
+
|
|
11048
11371
|
/**
|
|
11049
11372
|
* Description: 代扣签约创建
|
|
11050
11373
|
* Summary: 代扣签约
|