@antchain/ato 1.9.11 → 1.9.20
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 +322 -99
- package/dist/client.js +526 -191
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +801 -326
package/src/client.ts
CHANGED
|
@@ -78,6 +78,60 @@ export class Config extends $tea.Model {
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
+
// 智租风控-子风险项
|
|
82
|
+
export class SubRentRiskItem extends $tea.Model {
|
|
83
|
+
// 风险名称。枚举值:BASE_PERFORMANCE - 基础履约风险;OVERDUE - 逾期风险;MULTI_RENT - 共租风险。
|
|
84
|
+
riskName: string;
|
|
85
|
+
// 风险等级。枚举值:RANK0-无法判断;RANK1-极低风险;RANK2-低风险;RANK3-中风险;RANK4-高风险;RANK5-极高风险。
|
|
86
|
+
riskRank: string;
|
|
87
|
+
// 风险描述
|
|
88
|
+
riskDesc: string;
|
|
89
|
+
static names(): { [key: string]: string } {
|
|
90
|
+
return {
|
|
91
|
+
riskName: 'risk_name',
|
|
92
|
+
riskRank: 'risk_rank',
|
|
93
|
+
riskDesc: 'risk_desc',
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
static types(): { [key: string]: any } {
|
|
98
|
+
return {
|
|
99
|
+
riskName: 'string',
|
|
100
|
+
riskRank: 'string',
|
|
101
|
+
riskDesc: 'string',
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
constructor(map?: { [key: string]: any }) {
|
|
106
|
+
super(map);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
// 静态数据模块详情
|
|
111
|
+
export class StaticDataModuleDetail extends $tea.Model {
|
|
112
|
+
// 描述
|
|
113
|
+
propertyText: string;
|
|
114
|
+
// 商户类型
|
|
115
|
+
propertyValue: string;
|
|
116
|
+
static names(): { [key: string]: string } {
|
|
117
|
+
return {
|
|
118
|
+
propertyText: 'property_text',
|
|
119
|
+
propertyValue: 'property_value',
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
static types(): { [key: string]: any } {
|
|
124
|
+
return {
|
|
125
|
+
propertyText: 'string',
|
|
126
|
+
propertyValue: 'string',
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
constructor(map?: { [key: string]: any }) {
|
|
131
|
+
super(map);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
81
135
|
// 文件信息
|
|
82
136
|
export class FileInfo extends $tea.Model {
|
|
83
137
|
// 文件名称
|
|
@@ -103,15 +157,35 @@ export class FileInfo extends $tea.Model {
|
|
|
103
157
|
}
|
|
104
158
|
}
|
|
105
159
|
|
|
106
|
-
//
|
|
107
|
-
export class
|
|
160
|
+
// 智租风控模型结构体
|
|
161
|
+
export class AppletRiskModel extends $tea.Model {
|
|
162
|
+
// 风险咨询事件ID
|
|
163
|
+
recordId: string;
|
|
164
|
+
// 风险等级。枚举值:RANK0-无法判断;RANK1-极低风险;RANK2-低风险;RANK3-中风险;RANK4-高风险;RANK5-极高风险
|
|
165
|
+
riskRank: string;
|
|
166
|
+
// 风险名称
|
|
167
|
+
riskName: string;
|
|
168
|
+
// 风险等级中文描述
|
|
169
|
+
riskDesc: string;
|
|
170
|
+
// 子风险结果列表
|
|
171
|
+
subRiskResultList: SubRentRiskItem[];
|
|
108
172
|
static names(): { [key: string]: string } {
|
|
109
173
|
return {
|
|
174
|
+
recordId: 'record_id',
|
|
175
|
+
riskRank: 'risk_rank',
|
|
176
|
+
riskName: 'risk_name',
|
|
177
|
+
riskDesc: 'risk_desc',
|
|
178
|
+
subRiskResultList: 'sub_risk_result_list',
|
|
110
179
|
};
|
|
111
180
|
}
|
|
112
181
|
|
|
113
182
|
static types(): { [key: string]: any } {
|
|
114
183
|
return {
|
|
184
|
+
recordId: 'string',
|
|
185
|
+
riskRank: 'string',
|
|
186
|
+
riskName: 'string',
|
|
187
|
+
riskDesc: 'string',
|
|
188
|
+
subRiskResultList: { 'type': 'array', 'itemType': SubRentRiskItem },
|
|
115
189
|
};
|
|
116
190
|
}
|
|
117
191
|
|
|
@@ -211,47 +285,6 @@ export class CompanyInfo extends $tea.Model {
|
|
|
211
285
|
}
|
|
212
286
|
}
|
|
213
287
|
|
|
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
288
|
// 用户履约信息
|
|
256
289
|
export class UserPerformanceInfo extends $tea.Model {
|
|
257
290
|
// 履约期数
|
|
@@ -282,31 +315,6 @@ export class UserPerformanceInfo extends $tea.Model {
|
|
|
282
315
|
}
|
|
283
316
|
}
|
|
284
317
|
|
|
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
318
|
// 策略结果详情
|
|
311
319
|
export class RiskStrategy extends $tea.Model {
|
|
312
320
|
// 策略ID
|
|
@@ -340,88 +348,23 @@ export class RiskStrategy extends $tea.Model {
|
|
|
340
348
|
}
|
|
341
349
|
}
|
|
342
350
|
|
|
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;
|
|
351
|
+
// 静态数据
|
|
352
|
+
export class StaticData extends $tea.Model {
|
|
353
|
+
// 商户类型
|
|
354
|
+
moduleName: string;
|
|
355
|
+
// 静态数据详情
|
|
356
|
+
moduleDetailList: StaticDataModuleDetail[];
|
|
398
357
|
static names(): { [key: string]: string } {
|
|
399
358
|
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',
|
|
359
|
+
moduleName: 'module_name',
|
|
360
|
+
moduleDetailList: 'module_detail_list',
|
|
410
361
|
};
|
|
411
362
|
}
|
|
412
363
|
|
|
413
364
|
static types(): { [key: string]: any } {
|
|
414
365
|
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',
|
|
366
|
+
moduleName: 'string',
|
|
367
|
+
moduleDetailList: { 'type': 'array', 'itemType': StaticDataModuleDetail },
|
|
425
368
|
};
|
|
426
369
|
}
|
|
427
370
|
|
|
@@ -468,6 +411,39 @@ export class MerchantAgentPage extends $tea.Model {
|
|
|
468
411
|
}
|
|
469
412
|
}
|
|
470
413
|
|
|
414
|
+
// 智租风控-商品价格
|
|
415
|
+
export class PriceDetail extends $tea.Model {
|
|
416
|
+
// 商品租赁期数
|
|
417
|
+
periodNum: number;
|
|
418
|
+
// 押金,单位:元。精度:分。
|
|
419
|
+
depositPrice: string;
|
|
420
|
+
// 买断价格,单位:元,精度:分
|
|
421
|
+
buyoutPrice: string;
|
|
422
|
+
// 首期租金,单位:元,精度:分
|
|
423
|
+
initialRentPrice: string;
|
|
424
|
+
static names(): { [key: string]: string } {
|
|
425
|
+
return {
|
|
426
|
+
periodNum: 'period_num',
|
|
427
|
+
depositPrice: 'deposit_price',
|
|
428
|
+
buyoutPrice: 'buyout_price',
|
|
429
|
+
initialRentPrice: 'initial_rent_price',
|
|
430
|
+
};
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
static types(): { [key: string]: any } {
|
|
434
|
+
return {
|
|
435
|
+
periodNum: 'number',
|
|
436
|
+
depositPrice: 'string',
|
|
437
|
+
buyoutPrice: 'string',
|
|
438
|
+
initialRentPrice: 'string',
|
|
439
|
+
};
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
constructor(map?: { [key: string]: any }) {
|
|
443
|
+
super(map);
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
|
|
471
447
|
// 订单消息结构体
|
|
472
448
|
export class OrderMsgInfo extends $tea.Model {
|
|
473
449
|
// 订单id
|
|
@@ -543,51 +519,356 @@ export class OrderInfo extends $tea.Model {
|
|
|
543
519
|
}
|
|
544
520
|
}
|
|
545
521
|
|
|
546
|
-
//
|
|
547
|
-
export class
|
|
548
|
-
//
|
|
549
|
-
|
|
550
|
-
//
|
|
551
|
-
|
|
552
|
-
//
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
//
|
|
561
|
-
|
|
562
|
-
// 用户在交易中支付的金额,单位为分
|
|
563
|
-
// 付款成功的状态必填
|
|
564
|
-
paidAmount?: number;
|
|
565
|
-
// 商家在交易中实际收到的款项,单位为分
|
|
566
|
-
// 付款成功的状态必填
|
|
567
|
-
receiptAmount?: number;
|
|
568
|
-
// 交易支付时间
|
|
569
|
-
// 付款成功的状态必填
|
|
570
|
-
gmtPay?: string;
|
|
522
|
+
// 应用信息修改
|
|
523
|
+
export class ApplicationInfoUpdate extends $tea.Model {
|
|
524
|
+
// 应用场景 MINI_APP 小程序 APP 自有app ALL 两种都有
|
|
525
|
+
applicationScene?: string;
|
|
526
|
+
// 小程序id
|
|
527
|
+
tinyAppId?: string;
|
|
528
|
+
// 小程序名称
|
|
529
|
+
siteName?: string;
|
|
530
|
+
// http://asdasas.com
|
|
531
|
+
sitUrl?: string;
|
|
532
|
+
// 商户名称。 修改后的商户名称,将同步支付宝代扣签约页面字段展示
|
|
533
|
+
merchantName?: string;
|
|
534
|
+
// 商户服务名称。 修改后的商户服务名称,将同步支付宝代扣签约页面字段展示
|
|
535
|
+
merchantServiceName?: string;
|
|
536
|
+
// 商户服务描述。 修改后的商户服务描述,将同步支付宝代扣签约页面字段展示
|
|
537
|
+
merchantServiceDesc?: string;
|
|
571
538
|
static names(): { [key: string]: string } {
|
|
572
539
|
return {
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
gmtPay: 'gmt_pay',
|
|
540
|
+
applicationScene: 'application_scene',
|
|
541
|
+
tinyAppId: 'tiny_app_id',
|
|
542
|
+
siteName: 'site_name',
|
|
543
|
+
sitUrl: 'sit_url',
|
|
544
|
+
merchantName: 'merchant_name',
|
|
545
|
+
merchantServiceName: 'merchant_service_name',
|
|
546
|
+
merchantServiceDesc: 'merchant_service_desc',
|
|
581
547
|
};
|
|
582
548
|
}
|
|
583
549
|
|
|
584
550
|
static types(): { [key: string]: any } {
|
|
585
551
|
return {
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
552
|
+
applicationScene: 'string',
|
|
553
|
+
tinyAppId: 'string',
|
|
554
|
+
siteName: 'string',
|
|
555
|
+
sitUrl: 'string',
|
|
556
|
+
merchantName: 'string',
|
|
557
|
+
merchantServiceName: 'string',
|
|
558
|
+
merchantServiceDesc: 'string',
|
|
559
|
+
};
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
constructor(map?: { [key: string]: any }) {
|
|
563
|
+
super(map);
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
// 审核信息
|
|
568
|
+
export class AuditInfo extends $tea.Model {
|
|
569
|
+
// 审核步骤
|
|
570
|
+
stage: string;
|
|
571
|
+
// 审核主体
|
|
572
|
+
auditSubject: string;
|
|
573
|
+
// 审核状态
|
|
574
|
+
status: string;
|
|
575
|
+
// 审核时间
|
|
576
|
+
applyDateStr: string;
|
|
577
|
+
// 审核失败描述
|
|
578
|
+
failReason: string;
|
|
579
|
+
static names(): { [key: string]: string } {
|
|
580
|
+
return {
|
|
581
|
+
stage: 'stage',
|
|
582
|
+
auditSubject: 'audit_subject',
|
|
583
|
+
status: 'status',
|
|
584
|
+
applyDateStr: 'apply_date_str',
|
|
585
|
+
failReason: 'fail_reason',
|
|
586
|
+
};
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
static types(): { [key: string]: any } {
|
|
590
|
+
return {
|
|
591
|
+
stage: 'string',
|
|
592
|
+
auditSubject: 'string',
|
|
593
|
+
status: 'string',
|
|
594
|
+
applyDateStr: 'string',
|
|
595
|
+
failReason: 'string',
|
|
596
|
+
};
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
constructor(map?: { [key: string]: any }) {
|
|
600
|
+
super(map);
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
// 订单包含的单个商品模型
|
|
605
|
+
export class OrderGoodsModel extends $tea.Model {
|
|
606
|
+
static names(): { [key: string]: string } {
|
|
607
|
+
return {
|
|
608
|
+
};
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
static types(): { [key: string]: any } {
|
|
612
|
+
return {
|
|
613
|
+
};
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
constructor(map?: { [key: string]: any }) {
|
|
617
|
+
super(map);
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
// 法人信息修改
|
|
622
|
+
export class LegalInfoUpdate extends $tea.Model {
|
|
623
|
+
// 法人名称
|
|
624
|
+
legalName?: string;
|
|
625
|
+
// 法人证件号
|
|
626
|
+
legalCertNo?: string;
|
|
627
|
+
// 法人证件正面
|
|
628
|
+
legalCertFrontFile?: FileInfo;
|
|
629
|
+
// 法人证件反面
|
|
630
|
+
legalCertBackFile?: FileInfo;
|
|
631
|
+
static names(): { [key: string]: string } {
|
|
632
|
+
return {
|
|
633
|
+
legalName: 'legal_name',
|
|
634
|
+
legalCertNo: 'legal_cert_no',
|
|
635
|
+
legalCertFrontFile: 'legal_cert_front_file',
|
|
636
|
+
legalCertBackFile: 'legal_cert_back_file',
|
|
637
|
+
};
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
static types(): { [key: string]: any } {
|
|
641
|
+
return {
|
|
642
|
+
legalName: 'string',
|
|
643
|
+
legalCertNo: 'string',
|
|
644
|
+
legalCertFrontFile: FileInfo,
|
|
645
|
+
legalCertBackFile: FileInfo,
|
|
646
|
+
};
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
constructor(map?: { [key: string]: any }) {
|
|
650
|
+
super(map);
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
// 订单还款计划
|
|
655
|
+
export class PromiseInfo extends $tea.Model {
|
|
656
|
+
static names(): { [key: string]: string } {
|
|
657
|
+
return {
|
|
658
|
+
};
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
static types(): { [key: string]: any } {
|
|
662
|
+
return {
|
|
663
|
+
};
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
constructor(map?: { [key: string]: any }) {
|
|
667
|
+
super(map);
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
// 租户协议分页对象
|
|
672
|
+
export class AgreementPage extends $tea.Model {
|
|
673
|
+
// 协议id
|
|
674
|
+
agreementId: string;
|
|
675
|
+
// 代理企业名称
|
|
676
|
+
merchantName: string;
|
|
677
|
+
// 租户8位id
|
|
678
|
+
tenantId: string;
|
|
679
|
+
// 业务类型 枚举
|
|
680
|
+
productMainClass: string;
|
|
681
|
+
// 协议类型 枚举
|
|
682
|
+
agreementType: string;
|
|
683
|
+
// 租户签约状态 枚举
|
|
684
|
+
signStatus: string;
|
|
685
|
+
static names(): { [key: string]: string } {
|
|
686
|
+
return {
|
|
687
|
+
agreementId: 'agreement_id',
|
|
688
|
+
merchantName: 'merchant_name',
|
|
689
|
+
tenantId: 'tenant_id',
|
|
690
|
+
productMainClass: 'product_main_class',
|
|
691
|
+
agreementType: 'agreement_type',
|
|
692
|
+
signStatus: 'sign_status',
|
|
693
|
+
};
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
static types(): { [key: string]: any } {
|
|
697
|
+
return {
|
|
698
|
+
agreementId: 'string',
|
|
699
|
+
merchantName: 'string',
|
|
700
|
+
tenantId: 'string',
|
|
701
|
+
productMainClass: 'string',
|
|
702
|
+
agreementType: 'string',
|
|
703
|
+
signStatus: 'string',
|
|
704
|
+
};
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
constructor(map?: { [key: string]: any }) {
|
|
708
|
+
super(map);
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
// 风险场景的决策结果
|
|
713
|
+
export class RiskScene extends $tea.Model {
|
|
714
|
+
// 风险场景编码
|
|
715
|
+
sceneCode: string;
|
|
716
|
+
// 该场景的风险决策结果
|
|
717
|
+
decision: string;
|
|
718
|
+
static names(): { [key: string]: string } {
|
|
719
|
+
return {
|
|
720
|
+
sceneCode: 'scene_code',
|
|
721
|
+
decision: 'decision',
|
|
722
|
+
};
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
static types(): { [key: string]: any } {
|
|
726
|
+
return {
|
|
727
|
+
sceneCode: 'string',
|
|
728
|
+
decision: 'string',
|
|
729
|
+
};
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
constructor(map?: { [key: string]: any }) {
|
|
733
|
+
super(map);
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
// 分账关系页对象
|
|
738
|
+
export class RelationPage extends $tea.Model {
|
|
739
|
+
// 分账关系id
|
|
740
|
+
relationId: string;
|
|
741
|
+
// 分账公司名称
|
|
742
|
+
companyName: string;
|
|
743
|
+
// 分账公司名称统一社会信用代码
|
|
744
|
+
merchantId: string;
|
|
745
|
+
// 审核状态
|
|
746
|
+
status: string;
|
|
747
|
+
static names(): { [key: string]: string } {
|
|
748
|
+
return {
|
|
749
|
+
relationId: 'relation_id',
|
|
750
|
+
companyName: 'company_name',
|
|
751
|
+
merchantId: 'merchant_id',
|
|
752
|
+
status: 'status',
|
|
753
|
+
};
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
static types(): { [key: string]: any } {
|
|
757
|
+
return {
|
|
758
|
+
relationId: 'string',
|
|
759
|
+
companyName: 'string',
|
|
760
|
+
merchantId: 'string',
|
|
761
|
+
status: 'string',
|
|
762
|
+
};
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
constructor(map?: { [key: string]: any }) {
|
|
766
|
+
super(map);
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
// 公司信息修改
|
|
771
|
+
export class CompanyInfoUpdate extends $tea.Model {
|
|
772
|
+
// 营业执照文件信息
|
|
773
|
+
businessLicenseFile?: FileInfo;
|
|
774
|
+
// 业务类型 枚举
|
|
775
|
+
productMainClass?: string;
|
|
776
|
+
// 公司名称
|
|
777
|
+
companyName?: string;
|
|
778
|
+
// 公司别名
|
|
779
|
+
companyAliasName?: string;
|
|
780
|
+
// 公司数科租户id
|
|
781
|
+
tenantId?: string;
|
|
782
|
+
// 公司联系电话
|
|
783
|
+
companyMobile?: string;
|
|
784
|
+
// 公司联系地址
|
|
785
|
+
companyAddress?: string;
|
|
786
|
+
// 联系人姓名
|
|
787
|
+
contactName?: string;
|
|
788
|
+
// 联系人手机号码
|
|
789
|
+
contactMobile?: string;
|
|
790
|
+
// 商户类型: 01:企业;07:个体工商户 默认不填为01
|
|
791
|
+
merchantType?: string;
|
|
792
|
+
static names(): { [key: string]: string } {
|
|
793
|
+
return {
|
|
794
|
+
businessLicenseFile: 'business_license_file',
|
|
795
|
+
productMainClass: 'product_main_class',
|
|
796
|
+
companyName: 'company_name',
|
|
797
|
+
companyAliasName: 'company_alias_name',
|
|
798
|
+
tenantId: 'tenant_id',
|
|
799
|
+
companyMobile: 'company_mobile',
|
|
800
|
+
companyAddress: 'company_address',
|
|
801
|
+
contactName: 'contact_name',
|
|
802
|
+
contactMobile: 'contact_mobile',
|
|
803
|
+
merchantType: 'merchant_type',
|
|
804
|
+
};
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
static types(): { [key: string]: any } {
|
|
808
|
+
return {
|
|
809
|
+
businessLicenseFile: FileInfo,
|
|
810
|
+
productMainClass: 'string',
|
|
811
|
+
companyName: 'string',
|
|
812
|
+
companyAliasName: 'string',
|
|
813
|
+
tenantId: 'string',
|
|
814
|
+
companyMobile: 'string',
|
|
815
|
+
companyAddress: 'string',
|
|
816
|
+
contactName: 'string',
|
|
817
|
+
contactMobile: 'string',
|
|
818
|
+
merchantType: 'string',
|
|
819
|
+
};
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
constructor(map?: { [key: string]: any }) {
|
|
823
|
+
super(map);
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
// 主动支付单据
|
|
828
|
+
export class ActivePayOrder extends $tea.Model {
|
|
829
|
+
// 支付宝支付订单号,用于拉起主动支付页面
|
|
830
|
+
tradeNo: string;
|
|
831
|
+
// 状态
|
|
832
|
+
// INIT:交易创建
|
|
833
|
+
// FAILED:付款失败
|
|
834
|
+
// SUCCESS:付款成功
|
|
835
|
+
tradeStatus: string;
|
|
836
|
+
// 状态原因码
|
|
837
|
+
statusReasonCode?: string;
|
|
838
|
+
// 超时关闭
|
|
839
|
+
statusReasonMsg?: string;
|
|
840
|
+
// 本次交易支付的订单金额,单位为分
|
|
841
|
+
// 付款成功或付款成功之后的状态必填
|
|
842
|
+
totalAmount?: number;
|
|
843
|
+
// 用户在交易中支付的金额,单位为分
|
|
844
|
+
// 付款成功的状态必填
|
|
845
|
+
paidAmount?: number;
|
|
846
|
+
// 商家在交易中实际收到的款项,单位为分
|
|
847
|
+
// 付款成功的状态必填
|
|
848
|
+
receiptAmount?: number;
|
|
849
|
+
// 交易支付时间
|
|
850
|
+
// 付款成功的状态必填
|
|
851
|
+
gmtPay?: string;
|
|
852
|
+
static names(): { [key: string]: string } {
|
|
853
|
+
return {
|
|
854
|
+
tradeNo: 'trade_no',
|
|
855
|
+
tradeStatus: 'trade_status',
|
|
856
|
+
statusReasonCode: 'status_reason_code',
|
|
857
|
+
statusReasonMsg: 'status_reason_msg',
|
|
858
|
+
totalAmount: 'total_amount',
|
|
859
|
+
paidAmount: 'paid_amount',
|
|
860
|
+
receiptAmount: 'receipt_amount',
|
|
861
|
+
gmtPay: 'gmt_pay',
|
|
862
|
+
};
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
static types(): { [key: string]: any } {
|
|
866
|
+
return {
|
|
867
|
+
tradeNo: 'string',
|
|
868
|
+
tradeStatus: 'string',
|
|
869
|
+
statusReasonCode: 'string',
|
|
870
|
+
statusReasonMsg: 'string',
|
|
871
|
+
totalAmount: 'number',
|
|
591
872
|
paidAmount: 'number',
|
|
592
873
|
receiptAmount: 'number',
|
|
593
874
|
gmtPay: 'string',
|
|
@@ -692,43 +973,27 @@ export class PageQuery extends $tea.Model {
|
|
|
692
973
|
}
|
|
693
974
|
}
|
|
694
975
|
|
|
695
|
-
//
|
|
696
|
-
export class
|
|
697
|
-
//
|
|
698
|
-
|
|
699
|
-
//
|
|
700
|
-
|
|
701
|
-
//
|
|
702
|
-
|
|
703
|
-
// http://asdasas.com
|
|
704
|
-
sitUrl?: string;
|
|
705
|
-
// 商户名称。 修改后的商户名称,将同步支付宝代扣签约页面字段展示
|
|
706
|
-
merchantName?: string;
|
|
707
|
-
// 商户服务名称。 修改后的商户服务名称,将同步支付宝代扣签约页面字段展示
|
|
708
|
-
merchantServiceName?: string;
|
|
709
|
-
// 商户服务描述。 修改后的商户服务描述,将同步支付宝代扣签约页面字段展示
|
|
710
|
-
merchantServiceDesc?: string;
|
|
976
|
+
// 智租风控-商品详情
|
|
977
|
+
export class ItemDetail extends $tea.Model {
|
|
978
|
+
// 租赁商品类目,可选项见 https://opendocs.alipay.com/open/10719
|
|
979
|
+
goodsCategory: string;
|
|
980
|
+
// 租赁商品名称
|
|
981
|
+
itemName: string;
|
|
982
|
+
// 租赁商品数量
|
|
983
|
+
quantity: number;
|
|
711
984
|
static names(): { [key: string]: string } {
|
|
712
985
|
return {
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
sitUrl: 'sit_url',
|
|
717
|
-
merchantName: 'merchant_name',
|
|
718
|
-
merchantServiceName: 'merchant_service_name',
|
|
719
|
-
merchantServiceDesc: 'merchant_service_desc',
|
|
986
|
+
goodsCategory: 'goods_category',
|
|
987
|
+
itemName: 'item_name',
|
|
988
|
+
quantity: 'quantity',
|
|
720
989
|
};
|
|
721
990
|
}
|
|
722
991
|
|
|
723
992
|
static types(): { [key: string]: any } {
|
|
724
993
|
return {
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
sitUrl: 'string',
|
|
729
|
-
merchantName: 'string',
|
|
730
|
-
merchantServiceName: 'string',
|
|
731
|
-
merchantServiceDesc: 'string',
|
|
994
|
+
goodsCategory: 'string',
|
|
995
|
+
itemName: 'string',
|
|
996
|
+
quantity: 'number',
|
|
732
997
|
};
|
|
733
998
|
}
|
|
734
999
|
|
|
@@ -765,127 +1030,40 @@ export class LegalInfo extends $tea.Model {
|
|
|
765
1030
|
};
|
|
766
1031
|
}
|
|
767
1032
|
|
|
768
|
-
constructor(map?: { [key: string]: any }) {
|
|
769
|
-
super(map);
|
|
770
|
-
}
|
|
771
|
-
}
|
|
772
|
-
|
|
773
|
-
//
|
|
774
|
-
export class
|
|
775
|
-
//
|
|
776
|
-
|
|
777
|
-
//
|
|
778
|
-
|
|
779
|
-
//
|
|
780
|
-
|
|
781
|
-
//
|
|
782
|
-
|
|
783
|
-
//
|
|
784
|
-
|
|
785
|
-
static names(): { [key: string]: string } {
|
|
786
|
-
return {
|
|
787
|
-
stage: 'stage',
|
|
788
|
-
auditSubject: 'audit_subject',
|
|
789
|
-
status: 'status',
|
|
790
|
-
applyDateStr: 'apply_date_str',
|
|
791
|
-
failReason: 'fail_reason',
|
|
792
|
-
};
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
static types(): { [key: string]: any } {
|
|
796
|
-
return {
|
|
797
|
-
stage: 'string',
|
|
798
|
-
auditSubject: 'string',
|
|
799
|
-
status: 'string',
|
|
800
|
-
applyDateStr: 'string',
|
|
801
|
-
failReason: 'string',
|
|
802
|
-
};
|
|
803
|
-
}
|
|
804
|
-
|
|
805
|
-
constructor(map?: { [key: string]: any }) {
|
|
806
|
-
super(map);
|
|
807
|
-
}
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
// 模型结果详情
|
|
811
|
-
export class RiskModel extends $tea.Model {
|
|
812
|
-
// 风险场景编码
|
|
813
|
-
sceneCode: string;
|
|
814
|
-
// 该风险场景的风险分值
|
|
815
|
-
score: string;
|
|
816
|
-
// 逾期率
|
|
817
|
-
delinquencyRate?: string;
|
|
818
|
-
// 风险建议
|
|
819
|
-
riskAdvice?: string;
|
|
820
|
-
// 风险等级
|
|
821
|
-
riskRank?: string;
|
|
822
|
-
static names(): { [key: string]: string } {
|
|
823
|
-
return {
|
|
824
|
-
sceneCode: 'scene_code',
|
|
825
|
-
score: 'score',
|
|
826
|
-
delinquencyRate: 'delinquency_rate',
|
|
827
|
-
riskAdvice: 'risk_advice',
|
|
828
|
-
riskRank: 'risk_rank',
|
|
829
|
-
};
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
static types(): { [key: string]: any } {
|
|
833
|
-
return {
|
|
834
|
-
sceneCode: 'string',
|
|
835
|
-
score: 'string',
|
|
836
|
-
delinquencyRate: 'string',
|
|
837
|
-
riskAdvice: 'string',
|
|
838
|
-
riskRank: 'string',
|
|
839
|
-
};
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
constructor(map?: { [key: string]: any }) {
|
|
843
|
-
super(map);
|
|
844
|
-
}
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
// 订单包含的单个商品模型
|
|
848
|
-
export class OrderGoodsModel extends $tea.Model {
|
|
849
|
-
static names(): { [key: string]: string } {
|
|
850
|
-
return {
|
|
851
|
-
};
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
static types(): { [key: string]: any } {
|
|
855
|
-
return {
|
|
856
|
-
};
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
constructor(map?: { [key: string]: any }) {
|
|
860
|
-
super(map);
|
|
861
|
-
}
|
|
862
|
-
}
|
|
863
|
-
|
|
864
|
-
// 法人信息修改
|
|
865
|
-
export class LegalInfoUpdate extends $tea.Model {
|
|
866
|
-
// 法人名称
|
|
867
|
-
legalName?: string;
|
|
868
|
-
// 法人证件号
|
|
869
|
-
legalCertNo?: string;
|
|
870
|
-
// 法人证件正面
|
|
871
|
-
legalCertFrontFile?: FileInfo;
|
|
872
|
-
// 法人证件反面
|
|
873
|
-
legalCertBackFile?: FileInfo;
|
|
1033
|
+
constructor(map?: { [key: string]: any }) {
|
|
1034
|
+
super(map);
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
// 模型结果详情
|
|
1039
|
+
export class RiskModel extends $tea.Model {
|
|
1040
|
+
// 风险场景编码
|
|
1041
|
+
sceneCode: string;
|
|
1042
|
+
// 该风险场景的风险分值
|
|
1043
|
+
score: string;
|
|
1044
|
+
// 逾期率
|
|
1045
|
+
delinquencyRate?: string;
|
|
1046
|
+
// 风险建议
|
|
1047
|
+
riskAdvice?: string;
|
|
1048
|
+
// 风险等级
|
|
1049
|
+
riskRank?: string;
|
|
874
1050
|
static names(): { [key: string]: string } {
|
|
875
1051
|
return {
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
1052
|
+
sceneCode: 'scene_code',
|
|
1053
|
+
score: 'score',
|
|
1054
|
+
delinquencyRate: 'delinquency_rate',
|
|
1055
|
+
riskAdvice: 'risk_advice',
|
|
1056
|
+
riskRank: 'risk_rank',
|
|
880
1057
|
};
|
|
881
1058
|
}
|
|
882
1059
|
|
|
883
1060
|
static types(): { [key: string]: any } {
|
|
884
1061
|
return {
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
1062
|
+
sceneCode: 'string',
|
|
1063
|
+
score: 'string',
|
|
1064
|
+
delinquencyRate: 'string',
|
|
1065
|
+
riskAdvice: 'string',
|
|
1066
|
+
riskRank: 'string',
|
|
889
1067
|
};
|
|
890
1068
|
}
|
|
891
1069
|
|
|
@@ -2435,6 +2613,79 @@ export class QueryFundCreditResponse extends $tea.Model {
|
|
|
2435
2613
|
}
|
|
2436
2614
|
}
|
|
2437
2615
|
|
|
2616
|
+
export class SyncFundFinanceprecheckresultRequest extends $tea.Model {
|
|
2617
|
+
// OAuth模式下的授权token
|
|
2618
|
+
authToken?: string;
|
|
2619
|
+
productInstanceId?: string;
|
|
2620
|
+
// 订单id 长度不可超过50
|
|
2621
|
+
orderId: string;
|
|
2622
|
+
// 订单所属商户的社会信用代码
|
|
2623
|
+
merchantId: string;
|
|
2624
|
+
// 资方的社会信用代码
|
|
2625
|
+
fundId: string;
|
|
2626
|
+
// 预审结果
|
|
2627
|
+
// ● APPROVAL : 通过
|
|
2628
|
+
// ● REFUSE :拒绝
|
|
2629
|
+
result: string;
|
|
2630
|
+
// 拒绝原因
|
|
2631
|
+
refuseReason?: string;
|
|
2632
|
+
static names(): { [key: string]: string } {
|
|
2633
|
+
return {
|
|
2634
|
+
authToken: 'auth_token',
|
|
2635
|
+
productInstanceId: 'product_instance_id',
|
|
2636
|
+
orderId: 'order_id',
|
|
2637
|
+
merchantId: 'merchant_id',
|
|
2638
|
+
fundId: 'fund_id',
|
|
2639
|
+
result: 'result',
|
|
2640
|
+
refuseReason: 'refuse_reason',
|
|
2641
|
+
};
|
|
2642
|
+
}
|
|
2643
|
+
|
|
2644
|
+
static types(): { [key: string]: any } {
|
|
2645
|
+
return {
|
|
2646
|
+
authToken: 'string',
|
|
2647
|
+
productInstanceId: 'string',
|
|
2648
|
+
orderId: 'string',
|
|
2649
|
+
merchantId: 'string',
|
|
2650
|
+
fundId: 'string',
|
|
2651
|
+
result: 'string',
|
|
2652
|
+
refuseReason: 'string',
|
|
2653
|
+
};
|
|
2654
|
+
}
|
|
2655
|
+
|
|
2656
|
+
constructor(map?: { [key: string]: any }) {
|
|
2657
|
+
super(map);
|
|
2658
|
+
}
|
|
2659
|
+
}
|
|
2660
|
+
|
|
2661
|
+
export class SyncFundFinanceprecheckresultResponse extends $tea.Model {
|
|
2662
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
2663
|
+
reqMsgId?: string;
|
|
2664
|
+
// 结果码,一般OK表示调用成功
|
|
2665
|
+
resultCode?: string;
|
|
2666
|
+
// 异常信息的文本描述
|
|
2667
|
+
resultMsg?: string;
|
|
2668
|
+
static names(): { [key: string]: string } {
|
|
2669
|
+
return {
|
|
2670
|
+
reqMsgId: 'req_msg_id',
|
|
2671
|
+
resultCode: 'result_code',
|
|
2672
|
+
resultMsg: 'result_msg',
|
|
2673
|
+
};
|
|
2674
|
+
}
|
|
2675
|
+
|
|
2676
|
+
static types(): { [key: string]: any } {
|
|
2677
|
+
return {
|
|
2678
|
+
reqMsgId: 'string',
|
|
2679
|
+
resultCode: 'string',
|
|
2680
|
+
resultMsg: 'string',
|
|
2681
|
+
};
|
|
2682
|
+
}
|
|
2683
|
+
|
|
2684
|
+
constructor(map?: { [key: string]: any }) {
|
|
2685
|
+
super(map);
|
|
2686
|
+
}
|
|
2687
|
+
}
|
|
2688
|
+
|
|
2438
2689
|
export class GetInnerProductRequest extends $tea.Model {
|
|
2439
2690
|
// OAuth模式下的授权token
|
|
2440
2691
|
authToken?: string;
|
|
@@ -3161,6 +3412,8 @@ export class PublishInnerTemplateRequest extends $tea.Model {
|
|
|
3161
3412
|
templateCode: string;
|
|
3162
3413
|
// 魔法库版本id
|
|
3163
3414
|
templateVersionId: string;
|
|
3415
|
+
// 合同模板制作版本id
|
|
3416
|
+
templateVersion?: string;
|
|
3164
3417
|
static names(): { [key: string]: string } {
|
|
3165
3418
|
return {
|
|
3166
3419
|
authToken: 'auth_token',
|
|
@@ -3168,6 +3421,7 @@ export class PublishInnerTemplateRequest extends $tea.Model {
|
|
|
3168
3421
|
tenantId: 'tenant_id',
|
|
3169
3422
|
templateCode: 'template_code',
|
|
3170
3423
|
templateVersionId: 'template_version_id',
|
|
3424
|
+
templateVersion: 'template_version',
|
|
3171
3425
|
};
|
|
3172
3426
|
}
|
|
3173
3427
|
|
|
@@ -3178,6 +3432,7 @@ export class PublishInnerTemplateRequest extends $tea.Model {
|
|
|
3178
3432
|
tenantId: 'string',
|
|
3179
3433
|
templateCode: 'string',
|
|
3180
3434
|
templateVersionId: 'string',
|
|
3435
|
+
templateVersion: 'string',
|
|
3181
3436
|
};
|
|
3182
3437
|
}
|
|
3183
3438
|
|
|
@@ -5794,6 +6049,65 @@ export class QueryInnerWithholdsignResponse extends $tea.Model {
|
|
|
5794
6049
|
}
|
|
5795
6050
|
}
|
|
5796
6051
|
|
|
6052
|
+
export class GetInnerMerchantstaticdataRequest extends $tea.Model {
|
|
6053
|
+
// OAuth模式下的授权token
|
|
6054
|
+
authToken?: string;
|
|
6055
|
+
productInstanceId?: string;
|
|
6056
|
+
// 租户id
|
|
6057
|
+
tenantId: string;
|
|
6058
|
+
static names(): { [key: string]: string } {
|
|
6059
|
+
return {
|
|
6060
|
+
authToken: 'auth_token',
|
|
6061
|
+
productInstanceId: 'product_instance_id',
|
|
6062
|
+
tenantId: 'tenant_id',
|
|
6063
|
+
};
|
|
6064
|
+
}
|
|
6065
|
+
|
|
6066
|
+
static types(): { [key: string]: any } {
|
|
6067
|
+
return {
|
|
6068
|
+
authToken: 'string',
|
|
6069
|
+
productInstanceId: 'string',
|
|
6070
|
+
tenantId: 'string',
|
|
6071
|
+
};
|
|
6072
|
+
}
|
|
6073
|
+
|
|
6074
|
+
constructor(map?: { [key: string]: any }) {
|
|
6075
|
+
super(map);
|
|
6076
|
+
}
|
|
6077
|
+
}
|
|
6078
|
+
|
|
6079
|
+
export class GetInnerMerchantstaticdataResponse extends $tea.Model {
|
|
6080
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
6081
|
+
reqMsgId?: string;
|
|
6082
|
+
// 结果码,一般OK表示调用成功
|
|
6083
|
+
resultCode?: string;
|
|
6084
|
+
// 异常信息的文本描述
|
|
6085
|
+
resultMsg?: string;
|
|
6086
|
+
// 商户入驻静态数据
|
|
6087
|
+
staticDataList?: StaticData[];
|
|
6088
|
+
static names(): { [key: string]: string } {
|
|
6089
|
+
return {
|
|
6090
|
+
reqMsgId: 'req_msg_id',
|
|
6091
|
+
resultCode: 'result_code',
|
|
6092
|
+
resultMsg: 'result_msg',
|
|
6093
|
+
staticDataList: 'static_data_list',
|
|
6094
|
+
};
|
|
6095
|
+
}
|
|
6096
|
+
|
|
6097
|
+
static types(): { [key: string]: any } {
|
|
6098
|
+
return {
|
|
6099
|
+
reqMsgId: 'string',
|
|
6100
|
+
resultCode: 'string',
|
|
6101
|
+
resultMsg: 'string',
|
|
6102
|
+
staticDataList: { 'type': 'array', 'itemType': StaticData },
|
|
6103
|
+
};
|
|
6104
|
+
}
|
|
6105
|
+
|
|
6106
|
+
constructor(map?: { [key: string]: any }) {
|
|
6107
|
+
super(map);
|
|
6108
|
+
}
|
|
6109
|
+
}
|
|
6110
|
+
|
|
5797
6111
|
export class RegisterMerchantexpandMerchantRequest extends $tea.Model {
|
|
5798
6112
|
// OAuth模式下的授权token
|
|
5799
6113
|
authToken?: string;
|
|
@@ -6253,6 +6567,16 @@ export class QueryRiskRequest extends $tea.Model {
|
|
|
6253
6567
|
certNo: string;
|
|
6254
6568
|
// 用户手机号码
|
|
6255
6569
|
mobile: string;
|
|
6570
|
+
// 支付宝账户 UserId,智租版可选
|
|
6571
|
+
alipayUserId?: string;
|
|
6572
|
+
// 下单渠道,智租版必选。枚举值:ALIPAY-支付宝;微信-WECHAT;独立APP-APP;抖音-DOUYIN;美团-MEITUAN;其他:-OTHER
|
|
6573
|
+
source?: string;
|
|
6574
|
+
// 收件人地址,智租版必选
|
|
6575
|
+
receiverAddress?: string;
|
|
6576
|
+
// 商品详情,智租版可选
|
|
6577
|
+
itemDetail?: ItemDetail;
|
|
6578
|
+
// 价格详情,智租版可选
|
|
6579
|
+
priceDetail?: PriceDetail;
|
|
6256
6580
|
static names(): { [key: string]: string } {
|
|
6257
6581
|
return {
|
|
6258
6582
|
authToken: 'auth_token',
|
|
@@ -6261,6 +6585,11 @@ export class QueryRiskRequest extends $tea.Model {
|
|
|
6261
6585
|
userName: 'user_name',
|
|
6262
6586
|
certNo: 'cert_no',
|
|
6263
6587
|
mobile: 'mobile',
|
|
6588
|
+
alipayUserId: 'alipay_user_id',
|
|
6589
|
+
source: 'source',
|
|
6590
|
+
receiverAddress: 'receiver_address',
|
|
6591
|
+
itemDetail: 'item_detail',
|
|
6592
|
+
priceDetail: 'price_detail',
|
|
6264
6593
|
};
|
|
6265
6594
|
}
|
|
6266
6595
|
|
|
@@ -6272,6 +6601,11 @@ export class QueryRiskRequest extends $tea.Model {
|
|
|
6272
6601
|
userName: 'string',
|
|
6273
6602
|
certNo: 'string',
|
|
6274
6603
|
mobile: 'string',
|
|
6604
|
+
alipayUserId: 'string',
|
|
6605
|
+
source: 'string',
|
|
6606
|
+
receiverAddress: 'string',
|
|
6607
|
+
itemDetail: ItemDetail,
|
|
6608
|
+
priceDetail: PriceDetail,
|
|
6275
6609
|
};
|
|
6276
6610
|
}
|
|
6277
6611
|
|
|
@@ -6289,12 +6623,15 @@ export class QueryRiskResponse extends $tea.Model {
|
|
|
6289
6623
|
resultMsg?: string;
|
|
6290
6624
|
// 模型结果详情
|
|
6291
6625
|
models?: RiskModel[];
|
|
6626
|
+
// 智租风控-风控模型结果
|
|
6627
|
+
appletModel?: AppletRiskModel;
|
|
6292
6628
|
static names(): { [key: string]: string } {
|
|
6293
6629
|
return {
|
|
6294
6630
|
reqMsgId: 'req_msg_id',
|
|
6295
6631
|
resultCode: 'result_code',
|
|
6296
6632
|
resultMsg: 'result_msg',
|
|
6297
6633
|
models: 'models',
|
|
6634
|
+
appletModel: 'applet_model',
|
|
6298
6635
|
};
|
|
6299
6636
|
}
|
|
6300
6637
|
|
|
@@ -6304,6 +6641,7 @@ export class QueryRiskResponse extends $tea.Model {
|
|
|
6304
6641
|
resultCode: 'string',
|
|
6305
6642
|
resultMsg: 'string',
|
|
6306
6643
|
models: { 'type': 'array', 'itemType': RiskModel },
|
|
6644
|
+
appletModel: AppletRiskModel,
|
|
6307
6645
|
};
|
|
6308
6646
|
}
|
|
6309
6647
|
|
|
@@ -8039,6 +8377,86 @@ export class ReplaceTradeUserpromiseResponse extends $tea.Model {
|
|
|
8039
8377
|
}
|
|
8040
8378
|
}
|
|
8041
8379
|
|
|
8380
|
+
export class ApplyTradeFinanceprecheckRequest extends $tea.Model {
|
|
8381
|
+
// OAuth模式下的授权token
|
|
8382
|
+
authToken?: string;
|
|
8383
|
+
productInstanceId?: string;
|
|
8384
|
+
// 订单id 长度大于6,小于50
|
|
8385
|
+
orderId: string;
|
|
8386
|
+
// 订单所属商户的社会信用代码
|
|
8387
|
+
merchantId: string;
|
|
8388
|
+
// 提交预审的资方的社会信用代码
|
|
8389
|
+
fundId: string;
|
|
8390
|
+
// 透传到资方,不做格式限制
|
|
8391
|
+
transparentInfo?: string;
|
|
8392
|
+
static names(): { [key: string]: string } {
|
|
8393
|
+
return {
|
|
8394
|
+
authToken: 'auth_token',
|
|
8395
|
+
productInstanceId: 'product_instance_id',
|
|
8396
|
+
orderId: 'order_id',
|
|
8397
|
+
merchantId: 'merchant_id',
|
|
8398
|
+
fundId: 'fund_id',
|
|
8399
|
+
transparentInfo: 'transparent_info',
|
|
8400
|
+
};
|
|
8401
|
+
}
|
|
8402
|
+
|
|
8403
|
+
static types(): { [key: string]: any } {
|
|
8404
|
+
return {
|
|
8405
|
+
authToken: 'string',
|
|
8406
|
+
productInstanceId: 'string',
|
|
8407
|
+
orderId: 'string',
|
|
8408
|
+
merchantId: 'string',
|
|
8409
|
+
fundId: 'string',
|
|
8410
|
+
transparentInfo: 'string',
|
|
8411
|
+
};
|
|
8412
|
+
}
|
|
8413
|
+
|
|
8414
|
+
constructor(map?: { [key: string]: any }) {
|
|
8415
|
+
super(map);
|
|
8416
|
+
}
|
|
8417
|
+
}
|
|
8418
|
+
|
|
8419
|
+
export class ApplyTradeFinanceprecheckResponse extends $tea.Model {
|
|
8420
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8421
|
+
reqMsgId?: string;
|
|
8422
|
+
// 结果码,一般OK表示调用成功
|
|
8423
|
+
resultCode?: string;
|
|
8424
|
+
// 异常信息的文本描述
|
|
8425
|
+
resultMsg?: string;
|
|
8426
|
+
// ● EXEMPTION : 资方免预审
|
|
8427
|
+
// ● SUBMIT_SUCCESS: 异步预审提交成功
|
|
8428
|
+
responseData?: string;
|
|
8429
|
+
// order_id
|
|
8430
|
+
orderId?: string;
|
|
8431
|
+
// merchant_id
|
|
8432
|
+
merchantId?: string;
|
|
8433
|
+
static names(): { [key: string]: string } {
|
|
8434
|
+
return {
|
|
8435
|
+
reqMsgId: 'req_msg_id',
|
|
8436
|
+
resultCode: 'result_code',
|
|
8437
|
+
resultMsg: 'result_msg',
|
|
8438
|
+
responseData: 'response_data',
|
|
8439
|
+
orderId: 'order_id',
|
|
8440
|
+
merchantId: 'merchant_id',
|
|
8441
|
+
};
|
|
8442
|
+
}
|
|
8443
|
+
|
|
8444
|
+
static types(): { [key: string]: any } {
|
|
8445
|
+
return {
|
|
8446
|
+
reqMsgId: 'string',
|
|
8447
|
+
resultCode: 'string',
|
|
8448
|
+
resultMsg: 'string',
|
|
8449
|
+
responseData: 'string',
|
|
8450
|
+
orderId: 'string',
|
|
8451
|
+
merchantId: 'string',
|
|
8452
|
+
};
|
|
8453
|
+
}
|
|
8454
|
+
|
|
8455
|
+
constructor(map?: { [key: string]: any }) {
|
|
8456
|
+
super(map);
|
|
8457
|
+
}
|
|
8458
|
+
}
|
|
8459
|
+
|
|
8042
8460
|
export class CreateWithholdSignRequest extends $tea.Model {
|
|
8043
8461
|
// OAuth模式下的授权token
|
|
8044
8462
|
authToken?: string;
|
|
@@ -9129,7 +9547,7 @@ export default class Client {
|
|
|
9129
9547
|
req_msg_id: AntchainUtil.getNonce(),
|
|
9130
9548
|
access_key: this._accessKeyId,
|
|
9131
9549
|
base_sdk_version: "TeaSDK-2.0",
|
|
9132
|
-
sdk_version: "1.9.
|
|
9550
|
+
sdk_version: "1.9.20",
|
|
9133
9551
|
_prod_code: "ATO",
|
|
9134
9552
|
_prod_channel: "undefined",
|
|
9135
9553
|
};
|
|
@@ -9578,6 +9996,25 @@ export default class Client {
|
|
|
9578
9996
|
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
9997
|
}
|
|
9580
9998
|
|
|
9999
|
+
/**
|
|
10000
|
+
* Description: 融资预审结果同步
|
|
10001
|
+
* Summary: 融资预审结果同步
|
|
10002
|
+
*/
|
|
10003
|
+
async syncFundFinanceprecheckresult(request: SyncFundFinanceprecheckresultRequest): Promise<SyncFundFinanceprecheckresultResponse> {
|
|
10004
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
10005
|
+
let headers : {[key: string ]: string} = { };
|
|
10006
|
+
return await this.syncFundFinanceprecheckresultEx(request, headers, runtime);
|
|
10007
|
+
}
|
|
10008
|
+
|
|
10009
|
+
/**
|
|
10010
|
+
* Description: 融资预审结果同步
|
|
10011
|
+
* Summary: 融资预审结果同步
|
|
10012
|
+
*/
|
|
10013
|
+
async syncFundFinanceprecheckresultEx(request: SyncFundFinanceprecheckresultRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SyncFundFinanceprecheckresultResponse> {
|
|
10014
|
+
Util.validateModel(request);
|
|
10015
|
+
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({}));
|
|
10016
|
+
}
|
|
10017
|
+
|
|
9581
10018
|
/**
|
|
9582
10019
|
* Description: 内部调用,商品信息获取
|
|
9583
10020
|
* Summary: 商品信息获取
|
|
@@ -10471,6 +10908,25 @@ export default class Client {
|
|
|
10471
10908
|
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
10909
|
}
|
|
10473
10910
|
|
|
10911
|
+
/**
|
|
10912
|
+
* Description: 获取商户进件静态枚举数据
|
|
10913
|
+
* Summary: 获取商户进件静态枚举数据
|
|
10914
|
+
*/
|
|
10915
|
+
async getInnerMerchantstaticdata(request: GetInnerMerchantstaticdataRequest): Promise<GetInnerMerchantstaticdataResponse> {
|
|
10916
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
10917
|
+
let headers : {[key: string ]: string} = { };
|
|
10918
|
+
return await this.getInnerMerchantstaticdataEx(request, headers, runtime);
|
|
10919
|
+
}
|
|
10920
|
+
|
|
10921
|
+
/**
|
|
10922
|
+
* Description: 获取商户进件静态枚举数据
|
|
10923
|
+
* Summary: 获取商户进件静态枚举数据
|
|
10924
|
+
*/
|
|
10925
|
+
async getInnerMerchantstaticdataEx(request: GetInnerMerchantstaticdataRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetInnerMerchantstaticdataResponse> {
|
|
10926
|
+
Util.validateModel(request);
|
|
10927
|
+
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({}));
|
|
10928
|
+
}
|
|
10929
|
+
|
|
10474
10930
|
/**
|
|
10475
10931
|
* Description: 商户入驻
|
|
10476
10932
|
* Summary: 商户入驻
|
|
@@ -11045,6 +11501,25 @@ export default class Client {
|
|
|
11045
11501
|
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
11502
|
}
|
|
11047
11503
|
|
|
11504
|
+
/**
|
|
11505
|
+
* Description: 订单融资预审申请接口
|
|
11506
|
+
* Summary: 订单融资预审申请接口
|
|
11507
|
+
*/
|
|
11508
|
+
async applyTradeFinanceprecheck(request: ApplyTradeFinanceprecheckRequest): Promise<ApplyTradeFinanceprecheckResponse> {
|
|
11509
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
11510
|
+
let headers : {[key: string ]: string} = { };
|
|
11511
|
+
return await this.applyTradeFinanceprecheckEx(request, headers, runtime);
|
|
11512
|
+
}
|
|
11513
|
+
|
|
11514
|
+
/**
|
|
11515
|
+
* Description: 订单融资预审申请接口
|
|
11516
|
+
* Summary: 订单融资预审申请接口
|
|
11517
|
+
*/
|
|
11518
|
+
async applyTradeFinanceprecheckEx(request: ApplyTradeFinanceprecheckRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApplyTradeFinanceprecheckResponse> {
|
|
11519
|
+
Util.validateModel(request);
|
|
11520
|
+
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({}));
|
|
11521
|
+
}
|
|
11522
|
+
|
|
11048
11523
|
/**
|
|
11049
11524
|
* Description: 代扣签约创建
|
|
11050
11525
|
* Summary: 代扣签约
|