@antchain/ato 1.13.15 → 1.14.1
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 +275 -0
- package/dist/client.js +421 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +611 -1
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -798,6 +798,67 @@ export class PromiseInfo extends $tea.Model {
|
|
|
798
798
|
}
|
|
799
799
|
}
|
|
800
800
|
|
|
801
|
+
// 资产报告详情
|
|
802
|
+
export class FundAssertReport extends $tea.Model {
|
|
803
|
+
// 投放月份 (整月)
|
|
804
|
+
deliveryMonth: string;
|
|
805
|
+
// 账单金额
|
|
806
|
+
totalBillAmount: number;
|
|
807
|
+
// 平均期限
|
|
808
|
+
averageTerm: string;
|
|
809
|
+
// 状态为取消的账单金额
|
|
810
|
+
cancelledBillAmount: number;
|
|
811
|
+
// 状态为逾期1天及以上的账单金额
|
|
812
|
+
billAmountOverdueBy1dayOrMore: number;
|
|
813
|
+
// 状态为逾期30天及以上的账单金额
|
|
814
|
+
billAmountOverdueBy30DaysOrMore: number;
|
|
815
|
+
// Y期的订单的账单金额
|
|
816
|
+
totalBillAmountYPeriod: number;
|
|
817
|
+
// 已到Y期订单中Y期平均期限(y期订单的平均期限)
|
|
818
|
+
averageTermYPeriod: string;
|
|
819
|
+
// Y期的订单中状态为取消的账单金额
|
|
820
|
+
cancelledBillAmountYPeriod: number;
|
|
821
|
+
// Y期的订单中状态为逾期1天及以上的账单金额
|
|
822
|
+
billAmountOverdueBy1dayOrMoreYPeriod: number;
|
|
823
|
+
// Y期的订单中状态为逾期30天及以上的账单金额
|
|
824
|
+
billAmountOverdueBy30DaysOrMoreYPeriod: number;
|
|
825
|
+
static names(): { [key: string]: string } {
|
|
826
|
+
return {
|
|
827
|
+
deliveryMonth: 'delivery_month',
|
|
828
|
+
totalBillAmount: 'total_bill_amount',
|
|
829
|
+
averageTerm: 'average_term',
|
|
830
|
+
cancelledBillAmount: 'cancelled_bill_amount',
|
|
831
|
+
billAmountOverdueBy1dayOrMore: 'bill_amount_overdue_by_1day_or_more',
|
|
832
|
+
billAmountOverdueBy30DaysOrMore: 'bill_amount_overdue_by_30_days_or_more',
|
|
833
|
+
totalBillAmountYPeriod: 'total_bill_amount_y_period',
|
|
834
|
+
averageTermYPeriod: 'average_term_y_period',
|
|
835
|
+
cancelledBillAmountYPeriod: 'cancelled_bill_amount_y_period',
|
|
836
|
+
billAmountOverdueBy1dayOrMoreYPeriod: 'bill_amount_overdue_by_1day_or_more_y_period',
|
|
837
|
+
billAmountOverdueBy30DaysOrMoreYPeriod: 'bill_amount_overdue_by_30_days_or_more_y_period',
|
|
838
|
+
};
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
static types(): { [key: string]: any } {
|
|
842
|
+
return {
|
|
843
|
+
deliveryMonth: 'string',
|
|
844
|
+
totalBillAmount: 'number',
|
|
845
|
+
averageTerm: 'string',
|
|
846
|
+
cancelledBillAmount: 'number',
|
|
847
|
+
billAmountOverdueBy1dayOrMore: 'number',
|
|
848
|
+
billAmountOverdueBy30DaysOrMore: 'number',
|
|
849
|
+
totalBillAmountYPeriod: 'number',
|
|
850
|
+
averageTermYPeriod: 'string',
|
|
851
|
+
cancelledBillAmountYPeriod: 'number',
|
|
852
|
+
billAmountOverdueBy1dayOrMoreYPeriod: 'number',
|
|
853
|
+
billAmountOverdueBy30DaysOrMoreYPeriod: 'number',
|
|
854
|
+
};
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
constructor(map?: { [key: string]: any }) {
|
|
858
|
+
super(map);
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
|
|
801
862
|
// 客服信息
|
|
802
863
|
export class CustomerServiceInfo extends $tea.Model {
|
|
803
864
|
// 公司社会统一信息代码
|
|
@@ -1953,6 +2014,35 @@ export class AwardingQueryModel extends $tea.Model {
|
|
|
1953
2014
|
}
|
|
1954
2015
|
}
|
|
1955
2016
|
|
|
2017
|
+
// 用信查询订单履约信息结构体
|
|
2018
|
+
export class OrderPrimiseExcelInfo extends $tea.Model {
|
|
2019
|
+
// 文件下载地址
|
|
2020
|
+
downloadUrl?: string;
|
|
2021
|
+
// 文件类型,订单明细表:ORDER_DETAIL 还款记录表:ORDER_FULFILLMENT
|
|
2022
|
+
fileType: string;
|
|
2023
|
+
// 生成中, 已生成,无效
|
|
2024
|
+
taskStatus: string;
|
|
2025
|
+
static names(): { [key: string]: string } {
|
|
2026
|
+
return {
|
|
2027
|
+
downloadUrl: 'download_url',
|
|
2028
|
+
fileType: 'file_type',
|
|
2029
|
+
taskStatus: 'task_status',
|
|
2030
|
+
};
|
|
2031
|
+
}
|
|
2032
|
+
|
|
2033
|
+
static types(): { [key: string]: any } {
|
|
2034
|
+
return {
|
|
2035
|
+
downloadUrl: 'string',
|
|
2036
|
+
fileType: 'string',
|
|
2037
|
+
taskStatus: 'string',
|
|
2038
|
+
};
|
|
2039
|
+
}
|
|
2040
|
+
|
|
2041
|
+
constructor(map?: { [key: string]: any }) {
|
|
2042
|
+
super(map);
|
|
2043
|
+
}
|
|
2044
|
+
}
|
|
2045
|
+
|
|
1956
2046
|
// 应用信息修改
|
|
1957
2047
|
export class ApplicationInfoUpdate extends $tea.Model {
|
|
1958
2048
|
// 应用场景 MINI_APP 小程序 APP 自有app ALL 两种都有
|
|
@@ -4314,6 +4404,8 @@ export class ApplyFundCreditutilizationResponse extends $tea.Model {
|
|
|
4314
4404
|
utilizationId?: string;
|
|
4315
4405
|
// 用信授权id
|
|
4316
4406
|
utilizationAuthId?: string;
|
|
4407
|
+
// 资产包id
|
|
4408
|
+
assetPackageId?: string;
|
|
4317
4409
|
static names(): { [key: string]: string } {
|
|
4318
4410
|
return {
|
|
4319
4411
|
reqMsgId: 'req_msg_id',
|
|
@@ -4321,6 +4413,7 @@ export class ApplyFundCreditutilizationResponse extends $tea.Model {
|
|
|
4321
4413
|
resultMsg: 'result_msg',
|
|
4322
4414
|
utilizationId: 'utilization_id',
|
|
4323
4415
|
utilizationAuthId: 'utilization_auth_id',
|
|
4416
|
+
assetPackageId: 'asset_package_id',
|
|
4324
4417
|
};
|
|
4325
4418
|
}
|
|
4326
4419
|
|
|
@@ -4331,6 +4424,426 @@ export class ApplyFundCreditutilizationResponse extends $tea.Model {
|
|
|
4331
4424
|
resultMsg: 'string',
|
|
4332
4425
|
utilizationId: 'string',
|
|
4333
4426
|
utilizationAuthId: 'string',
|
|
4427
|
+
assetPackageId: 'string',
|
|
4428
|
+
};
|
|
4429
|
+
}
|
|
4430
|
+
|
|
4431
|
+
constructor(map?: { [key: string]: any }) {
|
|
4432
|
+
super(map);
|
|
4433
|
+
}
|
|
4434
|
+
}
|
|
4435
|
+
|
|
4436
|
+
export class ApplyFundAssertorderRequest extends $tea.Model {
|
|
4437
|
+
// OAuth模式下的授权token
|
|
4438
|
+
authToken?: string;
|
|
4439
|
+
productInstanceId?: string;
|
|
4440
|
+
// 授权id
|
|
4441
|
+
authId: string;
|
|
4442
|
+
// 资方统一社会信用代码
|
|
4443
|
+
fundId: string;
|
|
4444
|
+
// 商户的租户id
|
|
4445
|
+
tenantId: string;
|
|
4446
|
+
// 商家统一社会信用代码
|
|
4447
|
+
merchantId: string;
|
|
4448
|
+
// 异步生成文件任务流水号
|
|
4449
|
+
bizNo: string;
|
|
4450
|
+
// 查询开始时间
|
|
4451
|
+
startTime: string;
|
|
4452
|
+
// 查询结束时间
|
|
4453
|
+
endTime: string;
|
|
4454
|
+
// 是否过滤被其他资方标记的订单(融资申请中+融资申请通过),默认值false
|
|
4455
|
+
filterFinancingStatus?: boolean;
|
|
4456
|
+
// 是否过滤已取消订单 (无剩余应还期数),默认值false
|
|
4457
|
+
filterCance?: boolean;
|
|
4458
|
+
// 是否过滤提前结清订单,默认值false
|
|
4459
|
+
filterEarlySettlement?: boolean;
|
|
4460
|
+
// 是否过滤某一期已逾期的订单,默认值false
|
|
4461
|
+
filterOverdue?: boolean;
|
|
4462
|
+
// 是否过滤最新一期晚于计划扣款日的重试中订单 ,默认值false
|
|
4463
|
+
filterRetry?: boolean;
|
|
4464
|
+
// 是否过滤付款日为当日(查询日)的订单 (当日需执行扣款的),默认值false
|
|
4465
|
+
filterTodayPay?: boolean;
|
|
4466
|
+
static names(): { [key: string]: string } {
|
|
4467
|
+
return {
|
|
4468
|
+
authToken: 'auth_token',
|
|
4469
|
+
productInstanceId: 'product_instance_id',
|
|
4470
|
+
authId: 'auth_id',
|
|
4471
|
+
fundId: 'fund_id',
|
|
4472
|
+
tenantId: 'tenant_id',
|
|
4473
|
+
merchantId: 'merchant_id',
|
|
4474
|
+
bizNo: 'biz_no',
|
|
4475
|
+
startTime: 'start_time',
|
|
4476
|
+
endTime: 'end_time',
|
|
4477
|
+
filterFinancingStatus: 'filter_financing_status',
|
|
4478
|
+
filterCance: 'filter_cance',
|
|
4479
|
+
filterEarlySettlement: 'filter_early_settlement',
|
|
4480
|
+
filterOverdue: 'filter_overdue',
|
|
4481
|
+
filterRetry: 'filter_retry',
|
|
4482
|
+
filterTodayPay: 'filter_today_pay',
|
|
4483
|
+
};
|
|
4484
|
+
}
|
|
4485
|
+
|
|
4486
|
+
static types(): { [key: string]: any } {
|
|
4487
|
+
return {
|
|
4488
|
+
authToken: 'string',
|
|
4489
|
+
productInstanceId: 'string',
|
|
4490
|
+
authId: 'string',
|
|
4491
|
+
fundId: 'string',
|
|
4492
|
+
tenantId: 'string',
|
|
4493
|
+
merchantId: 'string',
|
|
4494
|
+
bizNo: 'string',
|
|
4495
|
+
startTime: 'string',
|
|
4496
|
+
endTime: 'string',
|
|
4497
|
+
filterFinancingStatus: 'boolean',
|
|
4498
|
+
filterCance: 'boolean',
|
|
4499
|
+
filterEarlySettlement: 'boolean',
|
|
4500
|
+
filterOverdue: 'boolean',
|
|
4501
|
+
filterRetry: 'boolean',
|
|
4502
|
+
filterTodayPay: 'boolean',
|
|
4503
|
+
};
|
|
4504
|
+
}
|
|
4505
|
+
|
|
4506
|
+
constructor(map?: { [key: string]: any }) {
|
|
4507
|
+
super(map);
|
|
4508
|
+
}
|
|
4509
|
+
}
|
|
4510
|
+
|
|
4511
|
+
export class ApplyFundAssertorderResponse extends $tea.Model {
|
|
4512
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
4513
|
+
reqMsgId?: string;
|
|
4514
|
+
// 结果码,一般OK表示调用成功
|
|
4515
|
+
resultCode?: string;
|
|
4516
|
+
// 异常信息的文本描述
|
|
4517
|
+
resultMsg?: string;
|
|
4518
|
+
// 生成中: TODO、已生成,:FINISH、无效:FAILURE
|
|
4519
|
+
taskStatus?: string;
|
|
4520
|
+
static names(): { [key: string]: string } {
|
|
4521
|
+
return {
|
|
4522
|
+
reqMsgId: 'req_msg_id',
|
|
4523
|
+
resultCode: 'result_code',
|
|
4524
|
+
resultMsg: 'result_msg',
|
|
4525
|
+
taskStatus: 'task_status',
|
|
4526
|
+
};
|
|
4527
|
+
}
|
|
4528
|
+
|
|
4529
|
+
static types(): { [key: string]: any } {
|
|
4530
|
+
return {
|
|
4531
|
+
reqMsgId: 'string',
|
|
4532
|
+
resultCode: 'string',
|
|
4533
|
+
resultMsg: 'string',
|
|
4534
|
+
taskStatus: 'string',
|
|
4535
|
+
};
|
|
4536
|
+
}
|
|
4537
|
+
|
|
4538
|
+
constructor(map?: { [key: string]: any }) {
|
|
4539
|
+
super(map);
|
|
4540
|
+
}
|
|
4541
|
+
}
|
|
4542
|
+
|
|
4543
|
+
export class QueryFundAssertorderRequest extends $tea.Model {
|
|
4544
|
+
// OAuth模式下的授权token
|
|
4545
|
+
authToken?: string;
|
|
4546
|
+
productInstanceId?: string;
|
|
4547
|
+
// 授权id
|
|
4548
|
+
authId: string;
|
|
4549
|
+
// 资方统一社会信用代码
|
|
4550
|
+
fundId: string;
|
|
4551
|
+
// 商户的租户id
|
|
4552
|
+
tenantId: string;
|
|
4553
|
+
// 商家统一社会信用代码
|
|
4554
|
+
merchantId: string;
|
|
4555
|
+
// 异步生成文件任务流水号
|
|
4556
|
+
bizNo: string;
|
|
4557
|
+
static names(): { [key: string]: string } {
|
|
4558
|
+
return {
|
|
4559
|
+
authToken: 'auth_token',
|
|
4560
|
+
productInstanceId: 'product_instance_id',
|
|
4561
|
+
authId: 'auth_id',
|
|
4562
|
+
fundId: 'fund_id',
|
|
4563
|
+
tenantId: 'tenant_id',
|
|
4564
|
+
merchantId: 'merchant_id',
|
|
4565
|
+
bizNo: 'biz_no',
|
|
4566
|
+
};
|
|
4567
|
+
}
|
|
4568
|
+
|
|
4569
|
+
static types(): { [key: string]: any } {
|
|
4570
|
+
return {
|
|
4571
|
+
authToken: 'string',
|
|
4572
|
+
productInstanceId: 'string',
|
|
4573
|
+
authId: 'string',
|
|
4574
|
+
fundId: 'string',
|
|
4575
|
+
tenantId: 'string',
|
|
4576
|
+
merchantId: 'string',
|
|
4577
|
+
bizNo: 'string',
|
|
4578
|
+
};
|
|
4579
|
+
}
|
|
4580
|
+
|
|
4581
|
+
constructor(map?: { [key: string]: any }) {
|
|
4582
|
+
super(map);
|
|
4583
|
+
}
|
|
4584
|
+
}
|
|
4585
|
+
|
|
4586
|
+
export class QueryFundAssertorderResponse extends $tea.Model {
|
|
4587
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
4588
|
+
reqMsgId?: string;
|
|
4589
|
+
// 结果码,一般OK表示调用成功
|
|
4590
|
+
resultCode?: string;
|
|
4591
|
+
// 异常信息的文本描述
|
|
4592
|
+
resultMsg?: string;
|
|
4593
|
+
// 用信订单履约信息
|
|
4594
|
+
data?: OrderPrimiseExcelInfo[];
|
|
4595
|
+
static names(): { [key: string]: string } {
|
|
4596
|
+
return {
|
|
4597
|
+
reqMsgId: 'req_msg_id',
|
|
4598
|
+
resultCode: 'result_code',
|
|
4599
|
+
resultMsg: 'result_msg',
|
|
4600
|
+
data: 'data',
|
|
4601
|
+
};
|
|
4602
|
+
}
|
|
4603
|
+
|
|
4604
|
+
static types(): { [key: string]: any } {
|
|
4605
|
+
return {
|
|
4606
|
+
reqMsgId: 'string',
|
|
4607
|
+
resultCode: 'string',
|
|
4608
|
+
resultMsg: 'string',
|
|
4609
|
+
data: { 'type': 'array', 'itemType': OrderPrimiseExcelInfo },
|
|
4610
|
+
};
|
|
4611
|
+
}
|
|
4612
|
+
|
|
4613
|
+
constructor(map?: { [key: string]: any }) {
|
|
4614
|
+
super(map);
|
|
4615
|
+
}
|
|
4616
|
+
}
|
|
4617
|
+
|
|
4618
|
+
export class SyncFundCreditgrantingRequest extends $tea.Model {
|
|
4619
|
+
// OAuth模式下的授权token
|
|
4620
|
+
authToken?: string;
|
|
4621
|
+
productInstanceId?: string;
|
|
4622
|
+
// 授信id
|
|
4623
|
+
grantingId: string;
|
|
4624
|
+
// 授信授权id
|
|
4625
|
+
authId: string;
|
|
4626
|
+
// 资方社会信用代码
|
|
4627
|
+
fundId: string;
|
|
4628
|
+
// 商户社会信用代码
|
|
4629
|
+
merchantId: string;
|
|
4630
|
+
// 商户租户id
|
|
4631
|
+
tenantId: string;
|
|
4632
|
+
// 授权额度,单位为分
|
|
4633
|
+
grantingLine: number;
|
|
4634
|
+
// 授信有效期开始时间(yyyy-MM-dd HH:mm:ss)
|
|
4635
|
+
effectStartTime: string;
|
|
4636
|
+
// 授信有效期结束时间(yyyy-MM-dd HH:mm:ss)
|
|
4637
|
+
effectEndTime: string;
|
|
4638
|
+
static names(): { [key: string]: string } {
|
|
4639
|
+
return {
|
|
4640
|
+
authToken: 'auth_token',
|
|
4641
|
+
productInstanceId: 'product_instance_id',
|
|
4642
|
+
grantingId: 'granting_id',
|
|
4643
|
+
authId: 'auth_id',
|
|
4644
|
+
fundId: 'fund_id',
|
|
4645
|
+
merchantId: 'merchant_id',
|
|
4646
|
+
tenantId: 'tenant_id',
|
|
4647
|
+
grantingLine: 'granting_line',
|
|
4648
|
+
effectStartTime: 'effect_start_time',
|
|
4649
|
+
effectEndTime: 'effect_end_time',
|
|
4650
|
+
};
|
|
4651
|
+
}
|
|
4652
|
+
|
|
4653
|
+
static types(): { [key: string]: any } {
|
|
4654
|
+
return {
|
|
4655
|
+
authToken: 'string',
|
|
4656
|
+
productInstanceId: 'string',
|
|
4657
|
+
grantingId: 'string',
|
|
4658
|
+
authId: 'string',
|
|
4659
|
+
fundId: 'string',
|
|
4660
|
+
merchantId: 'string',
|
|
4661
|
+
tenantId: 'string',
|
|
4662
|
+
grantingLine: 'number',
|
|
4663
|
+
effectStartTime: 'string',
|
|
4664
|
+
effectEndTime: 'string',
|
|
4665
|
+
};
|
|
4666
|
+
}
|
|
4667
|
+
|
|
4668
|
+
constructor(map?: { [key: string]: any }) {
|
|
4669
|
+
super(map);
|
|
4670
|
+
}
|
|
4671
|
+
}
|
|
4672
|
+
|
|
4673
|
+
export class SyncFundCreditgrantingResponse extends $tea.Model {
|
|
4674
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
4675
|
+
reqMsgId?: string;
|
|
4676
|
+
// 结果码,一般OK表示调用成功
|
|
4677
|
+
resultCode?: string;
|
|
4678
|
+
// 异常信息的文本描述
|
|
4679
|
+
resultMsg?: string;
|
|
4680
|
+
static names(): { [key: string]: string } {
|
|
4681
|
+
return {
|
|
4682
|
+
reqMsgId: 'req_msg_id',
|
|
4683
|
+
resultCode: 'result_code',
|
|
4684
|
+
resultMsg: 'result_msg',
|
|
4685
|
+
};
|
|
4686
|
+
}
|
|
4687
|
+
|
|
4688
|
+
static types(): { [key: string]: any } {
|
|
4689
|
+
return {
|
|
4690
|
+
reqMsgId: 'string',
|
|
4691
|
+
resultCode: 'string',
|
|
4692
|
+
resultMsg: 'string',
|
|
4693
|
+
};
|
|
4694
|
+
}
|
|
4695
|
+
|
|
4696
|
+
constructor(map?: { [key: string]: any }) {
|
|
4697
|
+
super(map);
|
|
4698
|
+
}
|
|
4699
|
+
}
|
|
4700
|
+
|
|
4701
|
+
export class AuthFundCreditgrantingRequest extends $tea.Model {
|
|
4702
|
+
// OAuth模式下的授权token
|
|
4703
|
+
authToken?: string;
|
|
4704
|
+
productInstanceId?: string;
|
|
4705
|
+
// 租户id
|
|
4706
|
+
tenantId: string;
|
|
4707
|
+
// 商户统一社会信用代码
|
|
4708
|
+
merchantId: string;
|
|
4709
|
+
// 资方统一社会信用代码
|
|
4710
|
+
fundId: string;
|
|
4711
|
+
// 授权id
|
|
4712
|
+
authId: string;
|
|
4713
|
+
// 授权开始时间,格式为yyyy-MM-dd
|
|
4714
|
+
authBeginTime: string;
|
|
4715
|
+
// 授权结束时间,格式为yyyy-MM-dd
|
|
4716
|
+
authEndTime: string;
|
|
4717
|
+
// 订单查询开始时间,格式为yyyy-MM-dd HH:mm:ss,需要在auth_begin_time之后。
|
|
4718
|
+
orderQueryBegin: string;
|
|
4719
|
+
// 订单查询结束时间,格式为yyyy-MM-dd HH:mm:ss,需要在auth_end_time之前
|
|
4720
|
+
orderQueryEnd: string;
|
|
4721
|
+
static names(): { [key: string]: string } {
|
|
4722
|
+
return {
|
|
4723
|
+
authToken: 'auth_token',
|
|
4724
|
+
productInstanceId: 'product_instance_id',
|
|
4725
|
+
tenantId: 'tenant_id',
|
|
4726
|
+
merchantId: 'merchant_id',
|
|
4727
|
+
fundId: 'fund_id',
|
|
4728
|
+
authId: 'auth_id',
|
|
4729
|
+
authBeginTime: 'auth_begin_time',
|
|
4730
|
+
authEndTime: 'auth_end_time',
|
|
4731
|
+
orderQueryBegin: 'order_query_begin',
|
|
4732
|
+
orderQueryEnd: 'order_query_end',
|
|
4733
|
+
};
|
|
4734
|
+
}
|
|
4735
|
+
|
|
4736
|
+
static types(): { [key: string]: any } {
|
|
4737
|
+
return {
|
|
4738
|
+
authToken: 'string',
|
|
4739
|
+
productInstanceId: 'string',
|
|
4740
|
+
tenantId: 'string',
|
|
4741
|
+
merchantId: 'string',
|
|
4742
|
+
fundId: 'string',
|
|
4743
|
+
authId: 'string',
|
|
4744
|
+
authBeginTime: 'string',
|
|
4745
|
+
authEndTime: 'string',
|
|
4746
|
+
orderQueryBegin: 'string',
|
|
4747
|
+
orderQueryEnd: 'string',
|
|
4748
|
+
};
|
|
4749
|
+
}
|
|
4750
|
+
|
|
4751
|
+
constructor(map?: { [key: string]: any }) {
|
|
4752
|
+
super(map);
|
|
4753
|
+
}
|
|
4754
|
+
}
|
|
4755
|
+
|
|
4756
|
+
export class AuthFundCreditgrantingResponse extends $tea.Model {
|
|
4757
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
4758
|
+
reqMsgId?: string;
|
|
4759
|
+
// 结果码,一般OK表示调用成功
|
|
4760
|
+
resultCode?: string;
|
|
4761
|
+
// 异常信息的文本描述
|
|
4762
|
+
resultMsg?: string;
|
|
4763
|
+
static names(): { [key: string]: string } {
|
|
4764
|
+
return {
|
|
4765
|
+
reqMsgId: 'req_msg_id',
|
|
4766
|
+
resultCode: 'result_code',
|
|
4767
|
+
resultMsg: 'result_msg',
|
|
4768
|
+
};
|
|
4769
|
+
}
|
|
4770
|
+
|
|
4771
|
+
static types(): { [key: string]: any } {
|
|
4772
|
+
return {
|
|
4773
|
+
reqMsgId: 'string',
|
|
4774
|
+
resultCode: 'string',
|
|
4775
|
+
resultMsg: 'string',
|
|
4776
|
+
};
|
|
4777
|
+
}
|
|
4778
|
+
|
|
4779
|
+
constructor(map?: { [key: string]: any }) {
|
|
4780
|
+
super(map);
|
|
4781
|
+
}
|
|
4782
|
+
}
|
|
4783
|
+
|
|
4784
|
+
export class QueryFundAssertreportRequest extends $tea.Model {
|
|
4785
|
+
// OAuth模式下的授权token
|
|
4786
|
+
authToken?: string;
|
|
4787
|
+
productInstanceId?: string;
|
|
4788
|
+
// 授权id
|
|
4789
|
+
authId: string;
|
|
4790
|
+
// 资方统一社会信用代码
|
|
4791
|
+
fundId: string;
|
|
4792
|
+
// 商户的租户id
|
|
4793
|
+
tenantId: string;
|
|
4794
|
+
// 商家统一社会信用代码
|
|
4795
|
+
merchantId: string;
|
|
4796
|
+
static names(): { [key: string]: string } {
|
|
4797
|
+
return {
|
|
4798
|
+
authToken: 'auth_token',
|
|
4799
|
+
productInstanceId: 'product_instance_id',
|
|
4800
|
+
authId: 'auth_id',
|
|
4801
|
+
fundId: 'fund_id',
|
|
4802
|
+
tenantId: 'tenant_id',
|
|
4803
|
+
merchantId: 'merchant_id',
|
|
4804
|
+
};
|
|
4805
|
+
}
|
|
4806
|
+
|
|
4807
|
+
static types(): { [key: string]: any } {
|
|
4808
|
+
return {
|
|
4809
|
+
authToken: 'string',
|
|
4810
|
+
productInstanceId: 'string',
|
|
4811
|
+
authId: 'string',
|
|
4812
|
+
fundId: 'string',
|
|
4813
|
+
tenantId: 'string',
|
|
4814
|
+
merchantId: 'string',
|
|
4815
|
+
};
|
|
4816
|
+
}
|
|
4817
|
+
|
|
4818
|
+
constructor(map?: { [key: string]: any }) {
|
|
4819
|
+
super(map);
|
|
4820
|
+
}
|
|
4821
|
+
}
|
|
4822
|
+
|
|
4823
|
+
export class QueryFundAssertreportResponse extends $tea.Model {
|
|
4824
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
4825
|
+
reqMsgId?: string;
|
|
4826
|
+
// 结果码,一般OK表示调用成功
|
|
4827
|
+
resultCode?: string;
|
|
4828
|
+
// 异常信息的文本描述
|
|
4829
|
+
resultMsg?: string;
|
|
4830
|
+
// 资产报告详情
|
|
4831
|
+
data?: FundAssertReport[];
|
|
4832
|
+
static names(): { [key: string]: string } {
|
|
4833
|
+
return {
|
|
4834
|
+
reqMsgId: 'req_msg_id',
|
|
4835
|
+
resultCode: 'result_code',
|
|
4836
|
+
resultMsg: 'result_msg',
|
|
4837
|
+
data: 'data',
|
|
4838
|
+
};
|
|
4839
|
+
}
|
|
4840
|
+
|
|
4841
|
+
static types(): { [key: string]: any } {
|
|
4842
|
+
return {
|
|
4843
|
+
reqMsgId: 'string',
|
|
4844
|
+
resultCode: 'string',
|
|
4845
|
+
resultMsg: 'string',
|
|
4846
|
+
data: { 'type': 'array', 'itemType': FundAssertReport },
|
|
4334
4847
|
};
|
|
4335
4848
|
}
|
|
4336
4849
|
|
|
@@ -14579,7 +15092,7 @@ export default class Client {
|
|
|
14579
15092
|
req_msg_id: AntchainUtil.getNonce(),
|
|
14580
15093
|
access_key: this._accessKeyId,
|
|
14581
15094
|
base_sdk_version: "TeaSDK-2.0",
|
|
14582
|
-
sdk_version: "1.
|
|
15095
|
+
sdk_version: "1.14.1",
|
|
14583
15096
|
_prod_code: "ATO",
|
|
14584
15097
|
_prod_channel: "undefined",
|
|
14585
15098
|
};
|
|
@@ -15145,6 +15658,103 @@ export default class Client {
|
|
|
15145
15658
|
return $tea.cast<ApplyFundCreditutilizationResponse>(await this.doRequest("1.0", "antchain.ato.fund.creditutilization.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyFundCreditutilizationResponse({}));
|
|
15146
15659
|
}
|
|
15147
15660
|
|
|
15661
|
+
/**
|
|
15662
|
+
* Description: 小贷融资用信申请订单履约信息
|
|
15663
|
+
* Summary: 用信申请订单履约信息
|
|
15664
|
+
*/
|
|
15665
|
+
async applyFundAssertorder(request: ApplyFundAssertorderRequest): Promise<ApplyFundAssertorderResponse> {
|
|
15666
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
15667
|
+
let headers : {[key: string ]: string} = { };
|
|
15668
|
+
return await this.applyFundAssertorderEx(request, headers, runtime);
|
|
15669
|
+
}
|
|
15670
|
+
|
|
15671
|
+
/**
|
|
15672
|
+
* Description: 小贷融资用信申请订单履约信息
|
|
15673
|
+
* Summary: 用信申请订单履约信息
|
|
15674
|
+
*/
|
|
15675
|
+
async applyFundAssertorderEx(request: ApplyFundAssertorderRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApplyFundAssertorderResponse> {
|
|
15676
|
+
Util.validateModel(request);
|
|
15677
|
+
return $tea.cast<ApplyFundAssertorderResponse>(await this.doRequest("1.0", "antchain.ato.fund.assertorder.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyFundAssertorderResponse({}));
|
|
15678
|
+
}
|
|
15679
|
+
|
|
15680
|
+
/**
|
|
15681
|
+
* Description: 用信查询订单履约信息
|
|
15682
|
+
* Summary: 用信查询订单履约信息
|
|
15683
|
+
*/
|
|
15684
|
+
async queryFundAssertorder(request: QueryFundAssertorderRequest): Promise<QueryFundAssertorderResponse> {
|
|
15685
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
15686
|
+
let headers : {[key: string ]: string} = { };
|
|
15687
|
+
return await this.queryFundAssertorderEx(request, headers, runtime);
|
|
15688
|
+
}
|
|
15689
|
+
|
|
15690
|
+
/**
|
|
15691
|
+
* Description: 用信查询订单履约信息
|
|
15692
|
+
* Summary: 用信查询订单履约信息
|
|
15693
|
+
*/
|
|
15694
|
+
async queryFundAssertorderEx(request: QueryFundAssertorderRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryFundAssertorderResponse> {
|
|
15695
|
+
Util.validateModel(request);
|
|
15696
|
+
return $tea.cast<QueryFundAssertorderResponse>(await this.doRequest("1.0", "antchain.ato.fund.assertorder.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryFundAssertorderResponse({}));
|
|
15697
|
+
}
|
|
15698
|
+
|
|
15699
|
+
/**
|
|
15700
|
+
* Description: 调用说明:
|
|
15701
|
+
● 本接口用于授信额度试算完成后同步授信结果。
|
|
15702
|
+
* Summary: 授信结果同步接口
|
|
15703
|
+
*/
|
|
15704
|
+
async syncFundCreditgranting(request: SyncFundCreditgrantingRequest): Promise<SyncFundCreditgrantingResponse> {
|
|
15705
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
15706
|
+
let headers : {[key: string ]: string} = { };
|
|
15707
|
+
return await this.syncFundCreditgrantingEx(request, headers, runtime);
|
|
15708
|
+
}
|
|
15709
|
+
|
|
15710
|
+
/**
|
|
15711
|
+
* Description: 调用说明:
|
|
15712
|
+
● 本接口用于授信额度试算完成后同步授信结果。
|
|
15713
|
+
* Summary: 授信结果同步接口
|
|
15714
|
+
*/
|
|
15715
|
+
async syncFundCreditgrantingEx(request: SyncFundCreditgrantingRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SyncFundCreditgrantingResponse> {
|
|
15716
|
+
Util.validateModel(request);
|
|
15717
|
+
return $tea.cast<SyncFundCreditgrantingResponse>(await this.doRequest("1.0", "antchain.ato.fund.creditgranting.sync", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SyncFundCreditgrantingResponse({}));
|
|
15718
|
+
}
|
|
15719
|
+
|
|
15720
|
+
/**
|
|
15721
|
+
* Description: 本接口用于授信授权。本接口返回成功后,代表授权申请已发起。如果授权通过,会发送异步通知。
|
|
15722
|
+
* Summary: 授信授权申请接口
|
|
15723
|
+
*/
|
|
15724
|
+
async authFundCreditgranting(request: AuthFundCreditgrantingRequest): Promise<AuthFundCreditgrantingResponse> {
|
|
15725
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
15726
|
+
let headers : {[key: string ]: string} = { };
|
|
15727
|
+
return await this.authFundCreditgrantingEx(request, headers, runtime);
|
|
15728
|
+
}
|
|
15729
|
+
|
|
15730
|
+
/**
|
|
15731
|
+
* Description: 本接口用于授信授权。本接口返回成功后,代表授权申请已发起。如果授权通过,会发送异步通知。
|
|
15732
|
+
* Summary: 授信授权申请接口
|
|
15733
|
+
*/
|
|
15734
|
+
async authFundCreditgrantingEx(request: AuthFundCreditgrantingRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<AuthFundCreditgrantingResponse> {
|
|
15735
|
+
Util.validateModel(request);
|
|
15736
|
+
return $tea.cast<AuthFundCreditgrantingResponse>(await this.doRequest("1.0", "antchain.ato.fund.creditgranting.auth", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new AuthFundCreditgrantingResponse({}));
|
|
15737
|
+
}
|
|
15738
|
+
|
|
15739
|
+
/**
|
|
15740
|
+
* Description: 小贷融资查询资产报告
|
|
15741
|
+
* Summary: 查询资产报告
|
|
15742
|
+
*/
|
|
15743
|
+
async queryFundAssertreport(request: QueryFundAssertreportRequest): Promise<QueryFundAssertreportResponse> {
|
|
15744
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
15745
|
+
let headers : {[key: string ]: string} = { };
|
|
15746
|
+
return await this.queryFundAssertreportEx(request, headers, runtime);
|
|
15747
|
+
}
|
|
15748
|
+
|
|
15749
|
+
/**
|
|
15750
|
+
* Description: 小贷融资查询资产报告
|
|
15751
|
+
* Summary: 查询资产报告
|
|
15752
|
+
*/
|
|
15753
|
+
async queryFundAssertreportEx(request: QueryFundAssertreportRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryFundAssertreportResponse> {
|
|
15754
|
+
Util.validateModel(request);
|
|
15755
|
+
return $tea.cast<QueryFundAssertreportResponse>(await this.doRequest("1.0", "antchain.ato.fund.assertreport.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryFundAssertreportResponse({}));
|
|
15756
|
+
}
|
|
15757
|
+
|
|
15148
15758
|
/**
|
|
15149
15759
|
* Description: 内部调用,商品信息获取
|
|
15150
15760
|
* Summary: 商品信息获取
|