@antchain/ato 1.8.70 → 1.8.76
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 +198 -3
- package/dist/client.js +300 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +446 -4
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -1125,6 +1125,8 @@ export class UploadFundFlowRequest extends $tea.Model {
|
|
|
1125
1125
|
fileObject?: Readable;
|
|
1126
1126
|
fileObjectName?: string;
|
|
1127
1127
|
fileId: string;
|
|
1128
|
+
// 资方统一社会信用代码
|
|
1129
|
+
fundId?: string;
|
|
1128
1130
|
static names(): { [key: string]: string } {
|
|
1129
1131
|
return {
|
|
1130
1132
|
authToken: 'auth_token',
|
|
@@ -1136,6 +1138,7 @@ export class UploadFundFlowRequest extends $tea.Model {
|
|
|
1136
1138
|
fileObject: 'fileObject',
|
|
1137
1139
|
fileObjectName: 'fileObjectName',
|
|
1138
1140
|
fileId: 'file_id',
|
|
1141
|
+
fundId: 'fund_id',
|
|
1139
1142
|
};
|
|
1140
1143
|
}
|
|
1141
1144
|
|
|
@@ -1150,6 +1153,7 @@ export class UploadFundFlowRequest extends $tea.Model {
|
|
|
1150
1153
|
fileObject: 'Readable',
|
|
1151
1154
|
fileObjectName: 'string',
|
|
1152
1155
|
fileId: 'string',
|
|
1156
|
+
fundId: 'string',
|
|
1153
1157
|
};
|
|
1154
1158
|
}
|
|
1155
1159
|
|
|
@@ -1196,6 +1200,8 @@ export class GetFundFlowRequest extends $tea.Model {
|
|
|
1196
1200
|
orderId: string;
|
|
1197
1201
|
// 合同类型
|
|
1198
1202
|
contractType?: string;
|
|
1203
|
+
// 资方统一社会信用代码
|
|
1204
|
+
fundId?: string;
|
|
1199
1205
|
static names(): { [key: string]: string } {
|
|
1200
1206
|
return {
|
|
1201
1207
|
authToken: 'auth_token',
|
|
@@ -1203,6 +1209,7 @@ export class GetFundFlowRequest extends $tea.Model {
|
|
|
1203
1209
|
merchantId: 'merchant_id',
|
|
1204
1210
|
orderId: 'order_id',
|
|
1205
1211
|
contractType: 'contract_type',
|
|
1212
|
+
fundId: 'fund_id',
|
|
1206
1213
|
};
|
|
1207
1214
|
}
|
|
1208
1215
|
|
|
@@ -1213,6 +1220,7 @@ export class GetFundFlowRequest extends $tea.Model {
|
|
|
1213
1220
|
merchantId: 'string',
|
|
1214
1221
|
orderId: 'string',
|
|
1215
1222
|
contractType: 'string',
|
|
1223
|
+
fundId: 'string',
|
|
1216
1224
|
};
|
|
1217
1225
|
}
|
|
1218
1226
|
|
|
@@ -1269,6 +1277,8 @@ export class RefuseFundFlowRequest extends $tea.Model {
|
|
|
1269
1277
|
signNo: string;
|
|
1270
1278
|
// 填写拒绝落章原因,如果同意则不用填写
|
|
1271
1279
|
signReason?: string;
|
|
1280
|
+
// 资方统一社会信用代码
|
|
1281
|
+
fundId?: string;
|
|
1272
1282
|
static names(): { [key: string]: string } {
|
|
1273
1283
|
return {
|
|
1274
1284
|
authToken: 'auth_token',
|
|
@@ -1277,6 +1287,7 @@ export class RefuseFundFlowRequest extends $tea.Model {
|
|
|
1277
1287
|
orderId: 'order_id',
|
|
1278
1288
|
signNo: 'sign_no',
|
|
1279
1289
|
signReason: 'sign_reason',
|
|
1290
|
+
fundId: 'fund_id',
|
|
1280
1291
|
};
|
|
1281
1292
|
}
|
|
1282
1293
|
|
|
@@ -1288,6 +1299,7 @@ export class RefuseFundFlowRequest extends $tea.Model {
|
|
|
1288
1299
|
orderId: 'string',
|
|
1289
1300
|
signNo: 'string',
|
|
1290
1301
|
signReason: 'string',
|
|
1302
|
+
fundId: 'string',
|
|
1291
1303
|
};
|
|
1292
1304
|
}
|
|
1293
1305
|
|
|
@@ -1408,6 +1420,8 @@ export class CancelFundPlanRequest extends $tea.Model {
|
|
|
1408
1420
|
// RENTING_OUT_REDEEM:退租赎回
|
|
1409
1421
|
// RENTING_AND_RESALE_REDEEM:租转售赎回
|
|
1410
1422
|
cancelReason: string;
|
|
1423
|
+
// 融资单的资方社会信用代码
|
|
1424
|
+
fundId?: string;
|
|
1411
1425
|
static names(): { [key: string]: string } {
|
|
1412
1426
|
return {
|
|
1413
1427
|
authToken: 'auth_token',
|
|
@@ -1415,6 +1429,7 @@ export class CancelFundPlanRequest extends $tea.Model {
|
|
|
1415
1429
|
orderId: 'order_id',
|
|
1416
1430
|
merchantId: 'merchant_id',
|
|
1417
1431
|
cancelReason: 'cancel_reason',
|
|
1432
|
+
fundId: 'fund_id',
|
|
1418
1433
|
};
|
|
1419
1434
|
}
|
|
1420
1435
|
|
|
@@ -1425,6 +1440,7 @@ export class CancelFundPlanRequest extends $tea.Model {
|
|
|
1425
1440
|
orderId: 'string',
|
|
1426
1441
|
merchantId: 'string',
|
|
1427
1442
|
cancelReason: 'string',
|
|
1443
|
+
fundId: 'string',
|
|
1428
1444
|
};
|
|
1429
1445
|
}
|
|
1430
1446
|
|
|
@@ -1530,6 +1546,8 @@ export class SyncFundMerchantpromiseRequest extends $tea.Model {
|
|
|
1530
1546
|
merchantId: string;
|
|
1531
1547
|
// json字符串,填入「MerchantPromiseReq」的json字符串
|
|
1532
1548
|
bizContent: string;
|
|
1549
|
+
// 资方公司社会信用代码
|
|
1550
|
+
fundId?: string;
|
|
1533
1551
|
static names(): { [key: string]: string } {
|
|
1534
1552
|
return {
|
|
1535
1553
|
authToken: 'auth_token',
|
|
@@ -1537,6 +1555,7 @@ export class SyncFundMerchantpromiseRequest extends $tea.Model {
|
|
|
1537
1555
|
orderId: 'order_id',
|
|
1538
1556
|
merchantId: 'merchant_id',
|
|
1539
1557
|
bizContent: 'biz_content',
|
|
1558
|
+
fundId: 'fund_id',
|
|
1540
1559
|
};
|
|
1541
1560
|
}
|
|
1542
1561
|
|
|
@@ -1547,6 +1566,7 @@ export class SyncFundMerchantpromiseRequest extends $tea.Model {
|
|
|
1547
1566
|
orderId: 'string',
|
|
1548
1567
|
merchantId: 'string',
|
|
1549
1568
|
bizContent: 'string',
|
|
1569
|
+
fundId: 'string',
|
|
1550
1570
|
};
|
|
1551
1571
|
}
|
|
1552
1572
|
|
|
@@ -1601,6 +1621,8 @@ export class SyncFundFinanceloanresultsRequest extends $tea.Model {
|
|
|
1601
1621
|
merchantId: string;
|
|
1602
1622
|
// json字符串,填入「FinanceLoanResultsReq」的json字符串
|
|
1603
1623
|
bizContent: string;
|
|
1624
|
+
// 资方的社会信用代码
|
|
1625
|
+
fundId?: string;
|
|
1604
1626
|
static names(): { [key: string]: string } {
|
|
1605
1627
|
return {
|
|
1606
1628
|
authToken: 'auth_token',
|
|
@@ -1608,6 +1630,7 @@ export class SyncFundFinanceloanresultsRequest extends $tea.Model {
|
|
|
1608
1630
|
orderId: 'order_id',
|
|
1609
1631
|
merchantId: 'merchant_id',
|
|
1610
1632
|
bizContent: 'biz_content',
|
|
1633
|
+
fundId: 'fund_id',
|
|
1611
1634
|
};
|
|
1612
1635
|
}
|
|
1613
1636
|
|
|
@@ -1618,6 +1641,7 @@ export class SyncFundFinanceloanresultsRequest extends $tea.Model {
|
|
|
1618
1641
|
orderId: 'string',
|
|
1619
1642
|
merchantId: 'string',
|
|
1620
1643
|
bizContent: 'string',
|
|
1644
|
+
fundId: 'string',
|
|
1621
1645
|
};
|
|
1622
1646
|
}
|
|
1623
1647
|
|
|
@@ -1675,12 +1699,15 @@ export class GetFundUserpromiseRequest extends $tea.Model {
|
|
|
1675
1699
|
orderId: string;
|
|
1676
1700
|
// 订单所属商户的社会信用代码
|
|
1677
1701
|
merchantId: string;
|
|
1702
|
+
// 资方的社会信用代码
|
|
1703
|
+
fundId?: string;
|
|
1678
1704
|
static names(): { [key: string]: string } {
|
|
1679
1705
|
return {
|
|
1680
1706
|
authToken: 'auth_token',
|
|
1681
1707
|
productInstanceId: 'product_instance_id',
|
|
1682
1708
|
orderId: 'order_id',
|
|
1683
1709
|
merchantId: 'merchant_id',
|
|
1710
|
+
fundId: 'fund_id',
|
|
1684
1711
|
};
|
|
1685
1712
|
}
|
|
1686
1713
|
|
|
@@ -1690,6 +1717,7 @@ export class GetFundUserpromiseRequest extends $tea.Model {
|
|
|
1690
1717
|
productInstanceId: 'string',
|
|
1691
1718
|
orderId: 'string',
|
|
1692
1719
|
merchantId: 'string',
|
|
1720
|
+
fundId: 'string',
|
|
1693
1721
|
};
|
|
1694
1722
|
}
|
|
1695
1723
|
|
|
@@ -1943,6 +1971,8 @@ export class NotifyFundFlowRequest extends $tea.Model {
|
|
|
1943
1971
|
signNo: string;
|
|
1944
1972
|
// 返回的文件fileItemNo编号
|
|
1945
1973
|
fileItemNo: string;
|
|
1974
|
+
// 资方统一社会信用代码
|
|
1975
|
+
fundId?: string;
|
|
1946
1976
|
static names(): { [key: string]: string } {
|
|
1947
1977
|
return {
|
|
1948
1978
|
authToken: 'auth_token',
|
|
@@ -1951,6 +1981,7 @@ export class NotifyFundFlowRequest extends $tea.Model {
|
|
|
1951
1981
|
orderId: 'order_id',
|
|
1952
1982
|
signNo: 'sign_no',
|
|
1953
1983
|
fileItemNo: 'file_item_no',
|
|
1984
|
+
fundId: 'fund_id',
|
|
1954
1985
|
};
|
|
1955
1986
|
}
|
|
1956
1987
|
|
|
@@ -1962,6 +1993,7 @@ export class NotifyFundFlowRequest extends $tea.Model {
|
|
|
1962
1993
|
orderId: 'string',
|
|
1963
1994
|
signNo: 'string',
|
|
1964
1995
|
fileItemNo: 'string',
|
|
1996
|
+
fundId: 'string',
|
|
1965
1997
|
};
|
|
1966
1998
|
}
|
|
1967
1999
|
|
|
@@ -1998,6 +2030,168 @@ export class NotifyFundFlowResponse extends $tea.Model {
|
|
|
1998
2030
|
}
|
|
1999
2031
|
}
|
|
2000
2032
|
|
|
2033
|
+
export class UploadFundCreditRequest extends $tea.Model {
|
|
2034
|
+
// OAuth模式下的授权token
|
|
2035
|
+
authToken?: string;
|
|
2036
|
+
productInstanceId?: string;
|
|
2037
|
+
// 订单号类型
|
|
2038
|
+
orderNoType: string;
|
|
2039
|
+
// 订单号,或资产包号
|
|
2040
|
+
orderNo: string;
|
|
2041
|
+
// 资方统一社会信用代码
|
|
2042
|
+
fundId: string;
|
|
2043
|
+
// 凭证类型
|
|
2044
|
+
creditType: string;
|
|
2045
|
+
// 凭证名称
|
|
2046
|
+
creditName?: string;
|
|
2047
|
+
// 文本类型
|
|
2048
|
+
contentType: string;
|
|
2049
|
+
// 文本下载链接,如果类型是FILE则必填
|
|
2050
|
+
fileUrl?: string;
|
|
2051
|
+
// 内容数据,格式为JSON类型文本,如果类型是JSON_TEXT则必填
|
|
2052
|
+
content?: string;
|
|
2053
|
+
// 商户统一社会信用代码
|
|
2054
|
+
merchantId: string;
|
|
2055
|
+
static names(): { [key: string]: string } {
|
|
2056
|
+
return {
|
|
2057
|
+
authToken: 'auth_token',
|
|
2058
|
+
productInstanceId: 'product_instance_id',
|
|
2059
|
+
orderNoType: 'order_no_type',
|
|
2060
|
+
orderNo: 'order_no',
|
|
2061
|
+
fundId: 'fund_id',
|
|
2062
|
+
creditType: 'credit_type',
|
|
2063
|
+
creditName: 'credit_name',
|
|
2064
|
+
contentType: 'content_type',
|
|
2065
|
+
fileUrl: 'file_url',
|
|
2066
|
+
content: 'content',
|
|
2067
|
+
merchantId: 'merchant_id',
|
|
2068
|
+
};
|
|
2069
|
+
}
|
|
2070
|
+
|
|
2071
|
+
static types(): { [key: string]: any } {
|
|
2072
|
+
return {
|
|
2073
|
+
authToken: 'string',
|
|
2074
|
+
productInstanceId: 'string',
|
|
2075
|
+
orderNoType: 'string',
|
|
2076
|
+
orderNo: 'string',
|
|
2077
|
+
fundId: 'string',
|
|
2078
|
+
creditType: 'string',
|
|
2079
|
+
creditName: 'string',
|
|
2080
|
+
contentType: 'string',
|
|
2081
|
+
fileUrl: 'string',
|
|
2082
|
+
content: 'string',
|
|
2083
|
+
merchantId: 'string',
|
|
2084
|
+
};
|
|
2085
|
+
}
|
|
2086
|
+
|
|
2087
|
+
constructor(map?: { [key: string]: any }) {
|
|
2088
|
+
super(map);
|
|
2089
|
+
}
|
|
2090
|
+
}
|
|
2091
|
+
|
|
2092
|
+
export class UploadFundCreditResponse extends $tea.Model {
|
|
2093
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
2094
|
+
reqMsgId?: string;
|
|
2095
|
+
// 结果码,一般OK表示调用成功
|
|
2096
|
+
resultCode?: string;
|
|
2097
|
+
// 异常信息的文本描述
|
|
2098
|
+
resultMsg?: string;
|
|
2099
|
+
// 凭证内容id
|
|
2100
|
+
contentId?: string;
|
|
2101
|
+
static names(): { [key: string]: string } {
|
|
2102
|
+
return {
|
|
2103
|
+
reqMsgId: 'req_msg_id',
|
|
2104
|
+
resultCode: 'result_code',
|
|
2105
|
+
resultMsg: 'result_msg',
|
|
2106
|
+
contentId: 'content_id',
|
|
2107
|
+
};
|
|
2108
|
+
}
|
|
2109
|
+
|
|
2110
|
+
static types(): { [key: string]: any } {
|
|
2111
|
+
return {
|
|
2112
|
+
reqMsgId: 'string',
|
|
2113
|
+
resultCode: 'string',
|
|
2114
|
+
resultMsg: 'string',
|
|
2115
|
+
contentId: 'string',
|
|
2116
|
+
};
|
|
2117
|
+
}
|
|
2118
|
+
|
|
2119
|
+
constructor(map?: { [key: string]: any }) {
|
|
2120
|
+
super(map);
|
|
2121
|
+
}
|
|
2122
|
+
}
|
|
2123
|
+
|
|
2124
|
+
export class QueryFundCreditRequest extends $tea.Model {
|
|
2125
|
+
// OAuth模式下的授权token
|
|
2126
|
+
authToken?: string;
|
|
2127
|
+
productInstanceId?: string;
|
|
2128
|
+
// 订单号类型
|
|
2129
|
+
orderNoType: string;
|
|
2130
|
+
// 订单号,或资产包号
|
|
2131
|
+
orderNo: string;
|
|
2132
|
+
// 资方统一社会信用代码
|
|
2133
|
+
fundId: string;
|
|
2134
|
+
// 商户统一社会信用代码
|
|
2135
|
+
merchantId: string;
|
|
2136
|
+
static names(): { [key: string]: string } {
|
|
2137
|
+
return {
|
|
2138
|
+
authToken: 'auth_token',
|
|
2139
|
+
productInstanceId: 'product_instance_id',
|
|
2140
|
+
orderNoType: 'order_no_type',
|
|
2141
|
+
orderNo: 'order_no',
|
|
2142
|
+
fundId: 'fund_id',
|
|
2143
|
+
merchantId: 'merchant_id',
|
|
2144
|
+
};
|
|
2145
|
+
}
|
|
2146
|
+
|
|
2147
|
+
static types(): { [key: string]: any } {
|
|
2148
|
+
return {
|
|
2149
|
+
authToken: 'string',
|
|
2150
|
+
productInstanceId: 'string',
|
|
2151
|
+
orderNoType: 'string',
|
|
2152
|
+
orderNo: 'string',
|
|
2153
|
+
fundId: 'string',
|
|
2154
|
+
merchantId: 'string',
|
|
2155
|
+
};
|
|
2156
|
+
}
|
|
2157
|
+
|
|
2158
|
+
constructor(map?: { [key: string]: any }) {
|
|
2159
|
+
super(map);
|
|
2160
|
+
}
|
|
2161
|
+
}
|
|
2162
|
+
|
|
2163
|
+
export class QueryFundCreditResponse extends $tea.Model {
|
|
2164
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
2165
|
+
reqMsgId?: string;
|
|
2166
|
+
// 结果码,一般OK表示调用成功
|
|
2167
|
+
resultCode?: string;
|
|
2168
|
+
// 异常信息的文本描述
|
|
2169
|
+
resultMsg?: string;
|
|
2170
|
+
// 内容信息
|
|
2171
|
+
contentInfo?: string;
|
|
2172
|
+
static names(): { [key: string]: string } {
|
|
2173
|
+
return {
|
|
2174
|
+
reqMsgId: 'req_msg_id',
|
|
2175
|
+
resultCode: 'result_code',
|
|
2176
|
+
resultMsg: 'result_msg',
|
|
2177
|
+
contentInfo: 'content_info',
|
|
2178
|
+
};
|
|
2179
|
+
}
|
|
2180
|
+
|
|
2181
|
+
static types(): { [key: string]: any } {
|
|
2182
|
+
return {
|
|
2183
|
+
reqMsgId: 'string',
|
|
2184
|
+
resultCode: 'string',
|
|
2185
|
+
resultMsg: 'string',
|
|
2186
|
+
contentInfo: 'string',
|
|
2187
|
+
};
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2190
|
+
constructor(map?: { [key: string]: any }) {
|
|
2191
|
+
super(map);
|
|
2192
|
+
}
|
|
2193
|
+
}
|
|
2194
|
+
|
|
2001
2195
|
export class GetInnerProductRequest extends $tea.Model {
|
|
2002
2196
|
// OAuth模式下的授权token
|
|
2003
2197
|
authToken?: string;
|
|
@@ -3930,11 +4124,11 @@ export class CreateInnerMerchantpayexpandRequest extends $tea.Model {
|
|
|
3930
4124
|
// 租户ID
|
|
3931
4125
|
tenantId: string;
|
|
3932
4126
|
// 公司信息
|
|
3933
|
-
companyInfo
|
|
4127
|
+
companyInfo: CompanyInfo;
|
|
3934
4128
|
// 法人信息
|
|
3935
|
-
legalInfo
|
|
4129
|
+
legalInfo: LegalInfo;
|
|
3936
4130
|
// 应用信息
|
|
3937
|
-
applicationInfo
|
|
4131
|
+
applicationInfo: ApplicationInfo;
|
|
3938
4132
|
// 是否直接提交
|
|
3939
4133
|
// SUBMITTED 直接提交
|
|
3940
4134
|
// STAGE 暂存
|
|
@@ -5917,6 +6111,152 @@ export class UploadSignTemplateResponse extends $tea.Model {
|
|
|
5917
6111
|
}
|
|
5918
6112
|
}
|
|
5919
6113
|
|
|
6114
|
+
export class UploadSignCreditRequest extends $tea.Model {
|
|
6115
|
+
// OAuth模式下的授权token
|
|
6116
|
+
authToken?: string;
|
|
6117
|
+
productInstanceId?: string;
|
|
6118
|
+
// 订单号类型
|
|
6119
|
+
orderNoType: string;
|
|
6120
|
+
// 订单号,或资产包号
|
|
6121
|
+
orderNo: string;
|
|
6122
|
+
// 凭证合同类型
|
|
6123
|
+
creditType: string;
|
|
6124
|
+
// 凭证名称
|
|
6125
|
+
creditName?: string;
|
|
6126
|
+
// 文本类型
|
|
6127
|
+
contentType: string;
|
|
6128
|
+
// 文本下载链接,如果类型是FILE则必填
|
|
6129
|
+
fileUrl?: string;
|
|
6130
|
+
// 内容数据,格式为JSON类型文本,如果类型是JSON_TEXT则必填
|
|
6131
|
+
content?: string;
|
|
6132
|
+
static names(): { [key: string]: string } {
|
|
6133
|
+
return {
|
|
6134
|
+
authToken: 'auth_token',
|
|
6135
|
+
productInstanceId: 'product_instance_id',
|
|
6136
|
+
orderNoType: 'order_no_type',
|
|
6137
|
+
orderNo: 'order_no',
|
|
6138
|
+
creditType: 'credit_type',
|
|
6139
|
+
creditName: 'credit_name',
|
|
6140
|
+
contentType: 'content_type',
|
|
6141
|
+
fileUrl: 'file_url',
|
|
6142
|
+
content: 'content',
|
|
6143
|
+
};
|
|
6144
|
+
}
|
|
6145
|
+
|
|
6146
|
+
static types(): { [key: string]: any } {
|
|
6147
|
+
return {
|
|
6148
|
+
authToken: 'string',
|
|
6149
|
+
productInstanceId: 'string',
|
|
6150
|
+
orderNoType: 'string',
|
|
6151
|
+
orderNo: 'string',
|
|
6152
|
+
creditType: 'string',
|
|
6153
|
+
creditName: 'string',
|
|
6154
|
+
contentType: 'string',
|
|
6155
|
+
fileUrl: 'string',
|
|
6156
|
+
content: 'string',
|
|
6157
|
+
};
|
|
6158
|
+
}
|
|
6159
|
+
|
|
6160
|
+
constructor(map?: { [key: string]: any }) {
|
|
6161
|
+
super(map);
|
|
6162
|
+
}
|
|
6163
|
+
}
|
|
6164
|
+
|
|
6165
|
+
export class UploadSignCreditResponse extends $tea.Model {
|
|
6166
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
6167
|
+
reqMsgId?: string;
|
|
6168
|
+
// 结果码,一般OK表示调用成功
|
|
6169
|
+
resultCode?: string;
|
|
6170
|
+
// 异常信息的文本描述
|
|
6171
|
+
resultMsg?: string;
|
|
6172
|
+
// 凭证内容id
|
|
6173
|
+
contentId?: string;
|
|
6174
|
+
static names(): { [key: string]: string } {
|
|
6175
|
+
return {
|
|
6176
|
+
reqMsgId: 'req_msg_id',
|
|
6177
|
+
resultCode: 'result_code',
|
|
6178
|
+
resultMsg: 'result_msg',
|
|
6179
|
+
contentId: 'content_id',
|
|
6180
|
+
};
|
|
6181
|
+
}
|
|
6182
|
+
|
|
6183
|
+
static types(): { [key: string]: any } {
|
|
6184
|
+
return {
|
|
6185
|
+
reqMsgId: 'string',
|
|
6186
|
+
resultCode: 'string',
|
|
6187
|
+
resultMsg: 'string',
|
|
6188
|
+
contentId: 'string',
|
|
6189
|
+
};
|
|
6190
|
+
}
|
|
6191
|
+
|
|
6192
|
+
constructor(map?: { [key: string]: any }) {
|
|
6193
|
+
super(map);
|
|
6194
|
+
}
|
|
6195
|
+
}
|
|
6196
|
+
|
|
6197
|
+
export class QuerySignCreditRequest extends $tea.Model {
|
|
6198
|
+
// OAuth模式下的授权token
|
|
6199
|
+
authToken?: string;
|
|
6200
|
+
productInstanceId?: string;
|
|
6201
|
+
// 订单号类型
|
|
6202
|
+
orderNoType: string;
|
|
6203
|
+
// 订单号,或资产包号
|
|
6204
|
+
orderNo: string;
|
|
6205
|
+
static names(): { [key: string]: string } {
|
|
6206
|
+
return {
|
|
6207
|
+
authToken: 'auth_token',
|
|
6208
|
+
productInstanceId: 'product_instance_id',
|
|
6209
|
+
orderNoType: 'order_no_type',
|
|
6210
|
+
orderNo: 'order_no',
|
|
6211
|
+
};
|
|
6212
|
+
}
|
|
6213
|
+
|
|
6214
|
+
static types(): { [key: string]: any } {
|
|
6215
|
+
return {
|
|
6216
|
+
authToken: 'string',
|
|
6217
|
+
productInstanceId: 'string',
|
|
6218
|
+
orderNoType: 'string',
|
|
6219
|
+
orderNo: 'string',
|
|
6220
|
+
};
|
|
6221
|
+
}
|
|
6222
|
+
|
|
6223
|
+
constructor(map?: { [key: string]: any }) {
|
|
6224
|
+
super(map);
|
|
6225
|
+
}
|
|
6226
|
+
}
|
|
6227
|
+
|
|
6228
|
+
export class QuerySignCreditResponse extends $tea.Model {
|
|
6229
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
6230
|
+
reqMsgId?: string;
|
|
6231
|
+
// 结果码,一般OK表示调用成功
|
|
6232
|
+
resultCode?: string;
|
|
6233
|
+
// 异常信息的文本描述
|
|
6234
|
+
resultMsg?: string;
|
|
6235
|
+
// 内容信息
|
|
6236
|
+
contentInfo?: string;
|
|
6237
|
+
static names(): { [key: string]: string } {
|
|
6238
|
+
return {
|
|
6239
|
+
reqMsgId: 'req_msg_id',
|
|
6240
|
+
resultCode: 'result_code',
|
|
6241
|
+
resultMsg: 'result_msg',
|
|
6242
|
+
contentInfo: 'content_info',
|
|
6243
|
+
};
|
|
6244
|
+
}
|
|
6245
|
+
|
|
6246
|
+
static types(): { [key: string]: any } {
|
|
6247
|
+
return {
|
|
6248
|
+
reqMsgId: 'string',
|
|
6249
|
+
resultCode: 'string',
|
|
6250
|
+
resultMsg: 'string',
|
|
6251
|
+
contentInfo: 'string',
|
|
6252
|
+
};
|
|
6253
|
+
}
|
|
6254
|
+
|
|
6255
|
+
constructor(map?: { [key: string]: any }) {
|
|
6256
|
+
super(map);
|
|
6257
|
+
}
|
|
6258
|
+
}
|
|
6259
|
+
|
|
5920
6260
|
export class SyncTradeRequest extends $tea.Model {
|
|
5921
6261
|
// OAuth模式下的授权token
|
|
5922
6262
|
authToken?: string;
|
|
@@ -6119,6 +6459,22 @@ export class SyncTradeFinanceloanapplyRequest extends $tea.Model {
|
|
|
6119
6459
|
merchantId: string;
|
|
6120
6460
|
// 融资放款申请接口
|
|
6121
6461
|
merchantName: string;
|
|
6462
|
+
// 资方的社会信用代码
|
|
6463
|
+
fundId?: string;
|
|
6464
|
+
// 类型
|
|
6465
|
+
// ● 默认为:ORDER, 单订单申请
|
|
6466
|
+
// ● PACKAGE_ORDER , 资产包订单模式
|
|
6467
|
+
type?: string;
|
|
6468
|
+
// 资产包id
|
|
6469
|
+
// type = PACKAGE_ORDER , 必填
|
|
6470
|
+
assetPackageId?: string;
|
|
6471
|
+
// type = PACKAGE_ORDER , 必填
|
|
6472
|
+
//
|
|
6473
|
+
// ● APPEND: 追加订单列表
|
|
6474
|
+
// ● FINIISH : 结束
|
|
6475
|
+
stage?: string;
|
|
6476
|
+
// 订单id列表的jsonArray
|
|
6477
|
+
orderIdList?: string;
|
|
6122
6478
|
static names(): { [key: string]: string } {
|
|
6123
6479
|
return {
|
|
6124
6480
|
authToken: 'auth_token',
|
|
@@ -6126,6 +6482,11 @@ export class SyncTradeFinanceloanapplyRequest extends $tea.Model {
|
|
|
6126
6482
|
orderId: 'order_id',
|
|
6127
6483
|
merchantId: 'merchant_id',
|
|
6128
6484
|
merchantName: 'merchant_name',
|
|
6485
|
+
fundId: 'fund_id',
|
|
6486
|
+
type: 'type',
|
|
6487
|
+
assetPackageId: 'asset_package_id',
|
|
6488
|
+
stage: 'stage',
|
|
6489
|
+
orderIdList: 'order_id_list',
|
|
6129
6490
|
};
|
|
6130
6491
|
}
|
|
6131
6492
|
|
|
@@ -6136,6 +6497,11 @@ export class SyncTradeFinanceloanapplyRequest extends $tea.Model {
|
|
|
6136
6497
|
orderId: 'string',
|
|
6137
6498
|
merchantId: 'string',
|
|
6138
6499
|
merchantName: 'string',
|
|
6500
|
+
fundId: 'string',
|
|
6501
|
+
type: 'string',
|
|
6502
|
+
assetPackageId: 'string',
|
|
6503
|
+
stage: 'string',
|
|
6504
|
+
orderIdList: 'string',
|
|
6139
6505
|
};
|
|
6140
6506
|
}
|
|
6141
6507
|
|
|
@@ -7648,7 +8014,7 @@ export default class Client {
|
|
|
7648
8014
|
req_msg_id: AntchainUtil.getNonce(),
|
|
7649
8015
|
access_key: this._accessKeyId,
|
|
7650
8016
|
base_sdk_version: "TeaSDK-2.0",
|
|
7651
|
-
sdk_version: "1.8.
|
|
8017
|
+
sdk_version: "1.8.76",
|
|
7652
8018
|
_prod_code: "ATO",
|
|
7653
8019
|
_prod_channel: "undefined",
|
|
7654
8020
|
};
|
|
@@ -8059,6 +8425,44 @@ export default class Client {
|
|
|
8059
8425
|
return $tea.cast<NotifyFundFlowResponse>(await this.doRequest("1.0", "antchain.ato.fund.flow.notify", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new NotifyFundFlowResponse({}));
|
|
8060
8426
|
}
|
|
8061
8427
|
|
|
8428
|
+
/**
|
|
8429
|
+
* Description: 资方资产凭证上传,可以是文本或文件
|
|
8430
|
+
* Summary: 资方资产凭证上传
|
|
8431
|
+
*/
|
|
8432
|
+
async uploadFundCredit(request: UploadFundCreditRequest): Promise<UploadFundCreditResponse> {
|
|
8433
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8434
|
+
let headers : {[key: string ]: string} = { };
|
|
8435
|
+
return await this.uploadFundCreditEx(request, headers, runtime);
|
|
8436
|
+
}
|
|
8437
|
+
|
|
8438
|
+
/**
|
|
8439
|
+
* Description: 资方资产凭证上传,可以是文本或文件
|
|
8440
|
+
* Summary: 资方资产凭证上传
|
|
8441
|
+
*/
|
|
8442
|
+
async uploadFundCreditEx(request: UploadFundCreditRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UploadFundCreditResponse> {
|
|
8443
|
+
Util.validateModel(request);
|
|
8444
|
+
return $tea.cast<UploadFundCreditResponse>(await this.doRequest("1.0", "antchain.ato.fund.credit.upload", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UploadFundCreditResponse({}));
|
|
8445
|
+
}
|
|
8446
|
+
|
|
8447
|
+
/**
|
|
8448
|
+
* Description: 资方资产凭证查询,需要提供订单号或资产包号
|
|
8449
|
+
* Summary: 资方资产凭证查询
|
|
8450
|
+
*/
|
|
8451
|
+
async queryFundCredit(request: QueryFundCreditRequest): Promise<QueryFundCreditResponse> {
|
|
8452
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
8453
|
+
let headers : {[key: string ]: string} = { };
|
|
8454
|
+
return await this.queryFundCreditEx(request, headers, runtime);
|
|
8455
|
+
}
|
|
8456
|
+
|
|
8457
|
+
/**
|
|
8458
|
+
* Description: 资方资产凭证查询,需要提供订单号或资产包号
|
|
8459
|
+
* Summary: 资方资产凭证查询
|
|
8460
|
+
*/
|
|
8461
|
+
async queryFundCreditEx(request: QueryFundCreditRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryFundCreditResponse> {
|
|
8462
|
+
Util.validateModel(request);
|
|
8463
|
+
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({}));
|
|
8464
|
+
}
|
|
8465
|
+
|
|
8062
8466
|
/**
|
|
8063
8467
|
* Description: 内部调用,商品信息获取
|
|
8064
8468
|
* Summary: 商品信息获取
|
|
@@ -9070,6 +9474,44 @@ export default class Client {
|
|
|
9070
9474
|
return $tea.cast<UploadSignTemplateResponse>(await this.doRequest("1.0", "antchain.ato.sign.template.upload", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UploadSignTemplateResponse({}));
|
|
9071
9475
|
}
|
|
9072
9476
|
|
|
9477
|
+
/**
|
|
9478
|
+
* Description: 商户资产凭证上传,可以是文本或文件
|
|
9479
|
+
* Summary: 商户资产凭证上传
|
|
9480
|
+
*/
|
|
9481
|
+
async uploadSignCredit(request: UploadSignCreditRequest): Promise<UploadSignCreditResponse> {
|
|
9482
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
9483
|
+
let headers : {[key: string ]: string} = { };
|
|
9484
|
+
return await this.uploadSignCreditEx(request, headers, runtime);
|
|
9485
|
+
}
|
|
9486
|
+
|
|
9487
|
+
/**
|
|
9488
|
+
* Description: 商户资产凭证上传,可以是文本或文件
|
|
9489
|
+
* Summary: 商户资产凭证上传
|
|
9490
|
+
*/
|
|
9491
|
+
async uploadSignCreditEx(request: UploadSignCreditRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UploadSignCreditResponse> {
|
|
9492
|
+
Util.validateModel(request);
|
|
9493
|
+
return $tea.cast<UploadSignCreditResponse>(await this.doRequest("1.0", "antchain.ato.sign.credit.upload", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UploadSignCreditResponse({}));
|
|
9494
|
+
}
|
|
9495
|
+
|
|
9496
|
+
/**
|
|
9497
|
+
* Description: 商户资产凭证查询,需要提供订单号或资产包号
|
|
9498
|
+
* Summary: 商户资产凭证查询
|
|
9499
|
+
*/
|
|
9500
|
+
async querySignCredit(request: QuerySignCreditRequest): Promise<QuerySignCreditResponse> {
|
|
9501
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
9502
|
+
let headers : {[key: string ]: string} = { };
|
|
9503
|
+
return await this.querySignCreditEx(request, headers, runtime);
|
|
9504
|
+
}
|
|
9505
|
+
|
|
9506
|
+
/**
|
|
9507
|
+
* Description: 商户资产凭证查询,需要提供订单号或资产包号
|
|
9508
|
+
* Summary: 商户资产凭证查询
|
|
9509
|
+
*/
|
|
9510
|
+
async querySignCreditEx(request: QuerySignCreditRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QuerySignCreditResponse> {
|
|
9511
|
+
Util.validateModel(request);
|
|
9512
|
+
return $tea.cast<QuerySignCreditResponse>(await this.doRequest("1.0", "antchain.ato.sign.credit.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QuerySignCreditResponse({}));
|
|
9513
|
+
}
|
|
9514
|
+
|
|
9073
9515
|
/**
|
|
9074
9516
|
* Description: 对账saas交易信息同步接口
|
|
9075
9517
|
* Summary: 对账saas交易信息同步接口
|