@antchain/ato 1.10.24 → 1.11.2
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 +172 -23
- package/dist/client.js +265 -36
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +419 -77
package/src/client.ts
CHANGED
|
@@ -1136,55 +1136,6 @@ export class LegalInfoUpdate extends $tea.Model {
|
|
|
1136
1136
|
}
|
|
1137
1137
|
}
|
|
1138
1138
|
|
|
1139
|
-
// 订单信息
|
|
1140
|
-
export class MerchantOrderInfo extends $tea.Model {
|
|
1141
|
-
// 支付宝代扣协议号
|
|
1142
|
-
agreementNo?: string;
|
|
1143
|
-
// 订单id
|
|
1144
|
-
orderId?: string;
|
|
1145
|
-
// 订单创建时间
|
|
1146
|
-
orderCreateTime?: string;
|
|
1147
|
-
// 租金总额(单位分)
|
|
1148
|
-
totalRentMoney?: number;
|
|
1149
|
-
// 租期
|
|
1150
|
-
rentRerm?: number;
|
|
1151
|
-
// 订单状态
|
|
1152
|
-
orderStatus?: string;
|
|
1153
|
-
// 承租人名称
|
|
1154
|
-
userName?: string;
|
|
1155
|
-
// 承租人手机号
|
|
1156
|
-
userPhoneNumber?: string;
|
|
1157
|
-
static names(): { [key: string]: string } {
|
|
1158
|
-
return {
|
|
1159
|
-
agreementNo: 'agreement_no',
|
|
1160
|
-
orderId: 'order_id',
|
|
1161
|
-
orderCreateTime: 'order_create_time',
|
|
1162
|
-
totalRentMoney: 'total_rent_money',
|
|
1163
|
-
rentRerm: 'rent_rerm',
|
|
1164
|
-
orderStatus: 'order_status',
|
|
1165
|
-
userName: 'user_name',
|
|
1166
|
-
userPhoneNumber: 'user_phone_number',
|
|
1167
|
-
};
|
|
1168
|
-
}
|
|
1169
|
-
|
|
1170
|
-
static types(): { [key: string]: any } {
|
|
1171
|
-
return {
|
|
1172
|
-
agreementNo: 'string',
|
|
1173
|
-
orderId: 'string',
|
|
1174
|
-
orderCreateTime: 'string',
|
|
1175
|
-
totalRentMoney: 'number',
|
|
1176
|
-
rentRerm: 'number',
|
|
1177
|
-
orderStatus: 'string',
|
|
1178
|
-
userName: 'string',
|
|
1179
|
-
userPhoneNumber: 'string',
|
|
1180
|
-
};
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1183
|
-
constructor(map?: { [key: string]: any }) {
|
|
1184
|
-
super(map);
|
|
1185
|
-
}
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
1139
|
// 订单还款计划
|
|
1189
1140
|
export class PromiseInfo extends $tea.Model {
|
|
1190
1141
|
static names(): { [key: string]: string } {
|
|
@@ -1237,7 +1188,9 @@ export class CustomerServiceInfo extends $tea.Model {
|
|
|
1237
1188
|
merchantId?: string;
|
|
1238
1189
|
// 公司名称
|
|
1239
1190
|
merchantName?: string;
|
|
1240
|
-
// 处理类型:
|
|
1191
|
+
// 处理类型:
|
|
1192
|
+
// MERCHANT_PROCESS("MERCHANT_PROCESS", "商家处理"),
|
|
1193
|
+
// PROXY_PROCESS("PROXY_PROCESS", "服务商代处理"),
|
|
1241
1194
|
processType?: string;
|
|
1242
1195
|
static names(): { [key: string]: string } {
|
|
1243
1196
|
return {
|
|
@@ -1491,6 +1444,59 @@ export class CompanyInfoUpdate extends $tea.Model {
|
|
|
1491
1444
|
}
|
|
1492
1445
|
}
|
|
1493
1446
|
|
|
1447
|
+
// 订单搜索信息
|
|
1448
|
+
export class OrderSearchInfo extends $tea.Model {
|
|
1449
|
+
// 订单id
|
|
1450
|
+
orderId?: string;
|
|
1451
|
+
// 支付宝代扣协议号
|
|
1452
|
+
agreementNo?: string;
|
|
1453
|
+
// 订单创建时间
|
|
1454
|
+
orderCreateTime?: string;
|
|
1455
|
+
// 租金总额(单位分)
|
|
1456
|
+
totalRentMoney?: number;
|
|
1457
|
+
// 租期
|
|
1458
|
+
rentTerm?: number;
|
|
1459
|
+
// 租期单位
|
|
1460
|
+
rentUnit?: string;
|
|
1461
|
+
// 订单状态
|
|
1462
|
+
orderStatus?: string;
|
|
1463
|
+
// 承租人名称
|
|
1464
|
+
userName?: string;
|
|
1465
|
+
// 承租人手机号
|
|
1466
|
+
userPhoneNumber?: string;
|
|
1467
|
+
static names(): { [key: string]: string } {
|
|
1468
|
+
return {
|
|
1469
|
+
orderId: 'order_id',
|
|
1470
|
+
agreementNo: 'agreement_no',
|
|
1471
|
+
orderCreateTime: 'order_create_time',
|
|
1472
|
+
totalRentMoney: 'total_rent_money',
|
|
1473
|
+
rentTerm: 'rent_term',
|
|
1474
|
+
rentUnit: 'rent_unit',
|
|
1475
|
+
orderStatus: 'order_status',
|
|
1476
|
+
userName: 'user_name',
|
|
1477
|
+
userPhoneNumber: 'user_phone_number',
|
|
1478
|
+
};
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
static types(): { [key: string]: any } {
|
|
1482
|
+
return {
|
|
1483
|
+
orderId: 'string',
|
|
1484
|
+
agreementNo: 'string',
|
|
1485
|
+
orderCreateTime: 'string',
|
|
1486
|
+
totalRentMoney: 'number',
|
|
1487
|
+
rentTerm: 'number',
|
|
1488
|
+
rentUnit: 'string',
|
|
1489
|
+
orderStatus: 'string',
|
|
1490
|
+
userName: 'string',
|
|
1491
|
+
userPhoneNumber: 'string',
|
|
1492
|
+
};
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
constructor(map?: { [key: string]: any }) {
|
|
1496
|
+
super(map);
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1494
1500
|
// 订单商品
|
|
1495
1501
|
export class OrderProductInfo extends $tea.Model {
|
|
1496
1502
|
// 商品编码
|
|
@@ -2548,6 +2554,10 @@ export class CancelFundPlanRequest extends $tea.Model {
|
|
|
2548
2554
|
cancelReason: string;
|
|
2549
2555
|
// 融资单的资方社会信用代码
|
|
2550
2556
|
fundId?: string;
|
|
2557
|
+
// 操作
|
|
2558
|
+
operation?: string;
|
|
2559
|
+
// 赎回金额,单位为分,取消并赎回时必填
|
|
2560
|
+
redeemAmount?: number;
|
|
2551
2561
|
static names(): { [key: string]: string } {
|
|
2552
2562
|
return {
|
|
2553
2563
|
authToken: 'auth_token',
|
|
@@ -2556,6 +2566,8 @@ export class CancelFundPlanRequest extends $tea.Model {
|
|
|
2556
2566
|
merchantId: 'merchant_id',
|
|
2557
2567
|
cancelReason: 'cancel_reason',
|
|
2558
2568
|
fundId: 'fund_id',
|
|
2569
|
+
operation: 'operation',
|
|
2570
|
+
redeemAmount: 'redeem_amount',
|
|
2559
2571
|
};
|
|
2560
2572
|
}
|
|
2561
2573
|
|
|
@@ -2567,6 +2579,8 @@ export class CancelFundPlanRequest extends $tea.Model {
|
|
|
2567
2579
|
merchantId: 'string',
|
|
2568
2580
|
cancelReason: 'string',
|
|
2569
2581
|
fundId: 'string',
|
|
2582
|
+
operation: 'string',
|
|
2583
|
+
redeemAmount: 'number',
|
|
2570
2584
|
};
|
|
2571
2585
|
}
|
|
2572
2586
|
|
|
@@ -4723,6 +4737,10 @@ export class CreateInnerTemplatetextareaRequest extends $tea.Model {
|
|
|
4723
4737
|
componentName: string;
|
|
4724
4738
|
// 是否必填
|
|
4725
4739
|
required: boolean;
|
|
4740
|
+
// 预估文本行数
|
|
4741
|
+
line?: number;
|
|
4742
|
+
// 多行文本域名称
|
|
4743
|
+
multiName?: string;
|
|
4726
4744
|
static names(): { [key: string]: string } {
|
|
4727
4745
|
return {
|
|
4728
4746
|
authToken: 'auth_token',
|
|
@@ -4733,6 +4751,8 @@ export class CreateInnerTemplatetextareaRequest extends $tea.Model {
|
|
|
4733
4751
|
componentType: 'component_type',
|
|
4734
4752
|
componentName: 'component_name',
|
|
4735
4753
|
required: 'required',
|
|
4754
|
+
line: 'line',
|
|
4755
|
+
multiName: 'multi_name',
|
|
4736
4756
|
};
|
|
4737
4757
|
}
|
|
4738
4758
|
|
|
@@ -4746,6 +4766,8 @@ export class CreateInnerTemplatetextareaRequest extends $tea.Model {
|
|
|
4746
4766
|
componentType: 'string',
|
|
4747
4767
|
componentName: 'string',
|
|
4748
4768
|
required: 'boolean',
|
|
4769
|
+
line: 'number',
|
|
4770
|
+
multiName: 'string',
|
|
4749
4771
|
};
|
|
4750
4772
|
}
|
|
4751
4773
|
|
|
@@ -5640,8 +5662,8 @@ export class QueryInnerMerchantpayexpandResponse extends $tea.Model {
|
|
|
5640
5662
|
expandStatus?: string;
|
|
5641
5663
|
// 进件失败描述
|
|
5642
5664
|
expandFailReason?: string;
|
|
5643
|
-
//
|
|
5644
|
-
|
|
5665
|
+
// 是否展示客服信息登记入口
|
|
5666
|
+
showCustomerServiceBanner?: boolean;
|
|
5645
5667
|
static names(): { [key: string]: string } {
|
|
5646
5668
|
return {
|
|
5647
5669
|
reqMsgId: 'req_msg_id',
|
|
@@ -5655,7 +5677,7 @@ export class QueryInnerMerchantpayexpandResponse extends $tea.Model {
|
|
|
5655
5677
|
expandMode: 'expand_mode',
|
|
5656
5678
|
expandStatus: 'expand_status',
|
|
5657
5679
|
expandFailReason: 'expand_fail_reason',
|
|
5658
|
-
|
|
5680
|
+
showCustomerServiceBanner: 'show_customer_service_banner',
|
|
5659
5681
|
};
|
|
5660
5682
|
}
|
|
5661
5683
|
|
|
@@ -5672,7 +5694,7 @@ export class QueryInnerMerchantpayexpandResponse extends $tea.Model {
|
|
|
5672
5694
|
expandMode: 'string',
|
|
5673
5695
|
expandStatus: 'string',
|
|
5674
5696
|
expandFailReason: 'string',
|
|
5675
|
-
|
|
5697
|
+
showCustomerServiceBanner: 'boolean',
|
|
5676
5698
|
};
|
|
5677
5699
|
}
|
|
5678
5700
|
|
|
@@ -7560,7 +7582,7 @@ export class PagequeryInnerOrderResponse extends $tea.Model {
|
|
|
7560
7582
|
// 异常信息的文本描述
|
|
7561
7583
|
resultMsg?: string;
|
|
7562
7584
|
// 订单列表信息
|
|
7563
|
-
orderInfoList?:
|
|
7585
|
+
orderInfoList?: OrderSearchInfo[];
|
|
7564
7586
|
// 总量
|
|
7565
7587
|
total?: number;
|
|
7566
7588
|
static names(): { [key: string]: string } {
|
|
@@ -7578,7 +7600,7 @@ export class PagequeryInnerOrderResponse extends $tea.Model {
|
|
|
7578
7600
|
reqMsgId: 'string',
|
|
7579
7601
|
resultCode: 'string',
|
|
7580
7602
|
resultMsg: 'string',
|
|
7581
|
-
orderInfoList: { 'type': 'array', 'itemType':
|
|
7603
|
+
orderInfoList: { 'type': 'array', 'itemType': OrderSearchInfo },
|
|
7582
7604
|
total: 'number',
|
|
7583
7605
|
};
|
|
7584
7606
|
}
|
|
@@ -7824,8 +7846,8 @@ export class CreateInnerCustomerserviceRequest extends $tea.Model {
|
|
|
7824
7846
|
// 公司名称
|
|
7825
7847
|
merchantName?: string;
|
|
7826
7848
|
// 处理类型:
|
|
7827
|
-
// 商家处理
|
|
7828
|
-
// 服务商代处理
|
|
7849
|
+
// MERCHANT_PROCESS("MERCHANT_PROCESS", "商家处理"),
|
|
7850
|
+
// PROXY_PROCESS("PROXY_PROCESS", "服务商代处理"),
|
|
7829
7851
|
processType: string;
|
|
7830
7852
|
// 服务商名称
|
|
7831
7853
|
serviceProviderName?: string;
|
|
@@ -7838,7 +7860,7 @@ export class CreateInnerCustomerserviceRequest extends $tea.Model {
|
|
|
7838
7860
|
// 客服人员名称
|
|
7839
7861
|
customerServiceName: string;
|
|
7840
7862
|
// 在线客服网址
|
|
7841
|
-
onlineSupportSiteUrl
|
|
7863
|
+
onlineSupportSiteUrl?: string;
|
|
7842
7864
|
// 投诉问题
|
|
7843
7865
|
customerComplaintIssues: string;
|
|
7844
7866
|
// 进件类型
|
|
@@ -7926,7 +7948,9 @@ export class UpdateInnerCustomerserviceRequest extends $tea.Model {
|
|
|
7926
7948
|
merchantId?: string;
|
|
7927
7949
|
// 公司名称
|
|
7928
7950
|
merchantName: string;
|
|
7929
|
-
// 处理类型:
|
|
7951
|
+
// 处理类型:
|
|
7952
|
+
// MERCHANT_PROCESS("MERCHANT_PROCESS", "商家处理"),
|
|
7953
|
+
// PROXY_PROCESS("PROXY_PROCESS", "服务商代处理"),
|
|
7930
7954
|
processType: string;
|
|
7931
7955
|
// 服务商名称
|
|
7932
7956
|
serviceProviderName?: string;
|
|
@@ -7939,7 +7963,7 @@ export class UpdateInnerCustomerserviceRequest extends $tea.Model {
|
|
|
7939
7963
|
// 客服人员名称
|
|
7940
7964
|
customerServiceName: string;
|
|
7941
7965
|
// 在线客服网址
|
|
7942
|
-
onlineSupportSiteUrl
|
|
7966
|
+
onlineSupportSiteUrl?: string;
|
|
7943
7967
|
// 投诉问题
|
|
7944
7968
|
customerComplaintIssues: string;
|
|
7945
7969
|
// 进件类型
|
|
@@ -8024,7 +8048,9 @@ export class PagequeryInnerCustomerserviceRequest extends $tea.Model {
|
|
|
8024
8048
|
tenantId: string;
|
|
8025
8049
|
// 分页信息
|
|
8026
8050
|
pageInfo: PageQuery;
|
|
8027
|
-
// 处理类型:
|
|
8051
|
+
// 处理类型:
|
|
8052
|
+
// MERCHANT_PROCESS("MERCHANT_PROCESS", "商家处理"),
|
|
8053
|
+
// PROXY_PROCESS("PROXY_PROCESS", "服务商代处理"),
|
|
8028
8054
|
processType?: string;
|
|
8029
8055
|
// 公司社会统一信息代码
|
|
8030
8056
|
merchantId?: string;
|
|
@@ -8143,7 +8169,9 @@ export class DetailInnerCustomerserviceResponse extends $tea.Model {
|
|
|
8143
8169
|
merchantId?: string;
|
|
8144
8170
|
// 公司名称
|
|
8145
8171
|
merchantName?: string;
|
|
8146
|
-
// 处理类型:
|
|
8172
|
+
// 处理类型:
|
|
8173
|
+
// MERCHANT_PROCESS("MERCHANT_PROCESS", "商家处理"),
|
|
8174
|
+
// PROXY_PROCESS("PROXY_PROCESS", "服务商代处理"),
|
|
8147
8175
|
processType?: string;
|
|
8148
8176
|
// 服务商名称
|
|
8149
8177
|
serviceProviderName?: string;
|
|
@@ -8210,7 +8238,9 @@ export class GetInnerCustomerservicetemplateRequest extends $tea.Model {
|
|
|
8210
8238
|
// DIRECT("DIRECT", "直连进件模式")
|
|
8211
8239
|
// AGENT("AGENT", "代理商进件模式")
|
|
8212
8240
|
expandMode: string;
|
|
8213
|
-
// 处理类型:
|
|
8241
|
+
// 处理类型:
|
|
8242
|
+
// MERCHANT_PROCESS("MERCHANT_PROCESS", "商家处理"),
|
|
8243
|
+
// PROXY_PROCESS("PROXY_PROCESS", "服务商代处理"),
|
|
8214
8244
|
processType: string;
|
|
8215
8245
|
static names(): { [key: string]: string } {
|
|
8216
8246
|
return {
|
|
@@ -8293,6 +8323,77 @@ export class GetInnerCustomerservicetemplateResponse extends $tea.Model {
|
|
|
8293
8323
|
}
|
|
8294
8324
|
}
|
|
8295
8325
|
|
|
8326
|
+
export class QueryInnerTemplateinstanceRequest extends $tea.Model {
|
|
8327
|
+
// OAuth模式下的授权token
|
|
8328
|
+
authToken?: string;
|
|
8329
|
+
productInstanceId?: string;
|
|
8330
|
+
// 租户8位id
|
|
8331
|
+
tenantId: string;
|
|
8332
|
+
// 模板code
|
|
8333
|
+
templateCode: string;
|
|
8334
|
+
// 业务唯一实例id(模板实例化时的业务id)
|
|
8335
|
+
businessId: string;
|
|
8336
|
+
// 实例化文件是否需要pdf格式
|
|
8337
|
+
needPdfFile: boolean;
|
|
8338
|
+
static names(): { [key: string]: string } {
|
|
8339
|
+
return {
|
|
8340
|
+
authToken: 'auth_token',
|
|
8341
|
+
productInstanceId: 'product_instance_id',
|
|
8342
|
+
tenantId: 'tenant_id',
|
|
8343
|
+
templateCode: 'template_code',
|
|
8344
|
+
businessId: 'business_id',
|
|
8345
|
+
needPdfFile: 'need_pdf_file',
|
|
8346
|
+
};
|
|
8347
|
+
}
|
|
8348
|
+
|
|
8349
|
+
static types(): { [key: string]: any } {
|
|
8350
|
+
return {
|
|
8351
|
+
authToken: 'string',
|
|
8352
|
+
productInstanceId: 'string',
|
|
8353
|
+
tenantId: 'string',
|
|
8354
|
+
templateCode: 'string',
|
|
8355
|
+
businessId: 'string',
|
|
8356
|
+
needPdfFile: 'boolean',
|
|
8357
|
+
};
|
|
8358
|
+
}
|
|
8359
|
+
|
|
8360
|
+
constructor(map?: { [key: string]: any }) {
|
|
8361
|
+
super(map);
|
|
8362
|
+
}
|
|
8363
|
+
}
|
|
8364
|
+
|
|
8365
|
+
export class QueryInnerTemplateinstanceResponse extends $tea.Model {
|
|
8366
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8367
|
+
reqMsgId?: string;
|
|
8368
|
+
// 结果码,一般OK表示调用成功
|
|
8369
|
+
resultCode?: string;
|
|
8370
|
+
// 异常信息的文本描述
|
|
8371
|
+
resultMsg?: string;
|
|
8372
|
+
// 模板实例化后的信息
|
|
8373
|
+
data?: string;
|
|
8374
|
+
static names(): { [key: string]: string } {
|
|
8375
|
+
return {
|
|
8376
|
+
reqMsgId: 'req_msg_id',
|
|
8377
|
+
resultCode: 'result_code',
|
|
8378
|
+
resultMsg: 'result_msg',
|
|
8379
|
+
data: 'data',
|
|
8380
|
+
};
|
|
8381
|
+
}
|
|
8382
|
+
|
|
8383
|
+
static types(): { [key: string]: any } {
|
|
8384
|
+
return {
|
|
8385
|
+
reqMsgId: 'string',
|
|
8386
|
+
resultCode: 'string',
|
|
8387
|
+
resultMsg: 'string',
|
|
8388
|
+
data: 'string',
|
|
8389
|
+
};
|
|
8390
|
+
}
|
|
8391
|
+
|
|
8392
|
+
constructor(map?: { [key: string]: any }) {
|
|
8393
|
+
super(map);
|
|
8394
|
+
}
|
|
8395
|
+
}
|
|
8396
|
+
|
|
8296
8397
|
export class CreateInsureRequest extends $tea.Model {
|
|
8297
8398
|
// OAuth模式下的授权token
|
|
8298
8399
|
authToken?: string;
|
|
@@ -8321,6 +8422,10 @@ export class CreateInsureRequest extends $tea.Model {
|
|
|
8321
8422
|
logisticsNumber?: string;
|
|
8322
8423
|
// 交易时间,非必填参数。如果发货方式为 OFFLINE(线下交易),则该字段必填。
|
|
8323
8424
|
tradeTime?: string;
|
|
8425
|
+
// 公司地址信息,此处填写的地址信息为投保时最高优先级地址,其次为公司进件时填写的地址信息。如果取不到明确地址信息,投保会失败。
|
|
8426
|
+
address?: string;
|
|
8427
|
+
// 保险投保期数
|
|
8428
|
+
period?: number;
|
|
8324
8429
|
static names(): { [key: string]: string } {
|
|
8325
8430
|
return {
|
|
8326
8431
|
authToken: 'auth_token',
|
|
@@ -8336,6 +8441,8 @@ export class CreateInsureRequest extends $tea.Model {
|
|
|
8336
8441
|
facevrfFlowId: 'facevrf_flow_id',
|
|
8337
8442
|
logisticsNumber: 'logistics_number',
|
|
8338
8443
|
tradeTime: 'trade_time',
|
|
8444
|
+
address: 'address',
|
|
8445
|
+
period: 'period',
|
|
8339
8446
|
};
|
|
8340
8447
|
}
|
|
8341
8448
|
|
|
@@ -8354,6 +8461,8 @@ export class CreateInsureRequest extends $tea.Model {
|
|
|
8354
8461
|
facevrfFlowId: 'string',
|
|
8355
8462
|
logisticsNumber: 'string',
|
|
8356
8463
|
tradeTime: 'string',
|
|
8464
|
+
address: 'string',
|
|
8465
|
+
period: 'number',
|
|
8357
8466
|
};
|
|
8358
8467
|
}
|
|
8359
8468
|
|
|
@@ -9208,13 +9317,7 @@ export class SubmitSignFlowRequest extends $tea.Model {
|
|
|
9208
9317
|
businessScene: string;
|
|
9209
9318
|
// 签署完成跳转链接
|
|
9210
9319
|
signedRedirectUrl?: string;
|
|
9211
|
-
// 签署的电子合同模板信息,
|
|
9212
|
-
// {
|
|
9213
|
-
// templateId:__, // String格式
|
|
9214
|
-
// templateArgs: {
|
|
9215
|
-
// "模板参数key":"模板参数值", // 必须为String
|
|
9216
|
-
// }
|
|
9217
|
-
// }
|
|
9320
|
+
// 签署的电子合同模板信息,JSONArray格式,可以传入多个templateId和templateArgs。注意templateArgs的格式为key-value,其中key为模板文件中表单域的名称,value为需要填充的值。
|
|
9218
9321
|
templateList: string;
|
|
9219
9322
|
// 用户的支付宝uid
|
|
9220
9323
|
alipayUserId?: string;
|
|
@@ -9234,12 +9337,20 @@ export class SubmitSignFlowRequest extends $tea.Model {
|
|
|
9234
9337
|
merchantLegalName?: string;
|
|
9235
9338
|
// 法人证件号,需要采用RSA加密传输
|
|
9236
9339
|
merchantLegalIdNumber?: string;
|
|
9237
|
-
//
|
|
9340
|
+
// 除商户以外的第三方签署信息,需要通过此字段传入,需要使用JSONArray格式。注意其中orgIdNumber、orgLegalName、orgLegalIdNumber需要RSA加密。
|
|
9238
9341
|
thirdSigner?: string;
|
|
9239
9342
|
// 支付宝用户 open_id
|
|
9240
9343
|
userOpenId?: string;
|
|
9241
9344
|
// 商户支付宝应用 id
|
|
9242
9345
|
merchantAppId?: string;
|
|
9346
|
+
// 用户类型,个人或企业,默认是个人
|
|
9347
|
+
userType?: string;
|
|
9348
|
+
// (企业作为消费者时)公司名称
|
|
9349
|
+
userOrgName?: string;
|
|
9350
|
+
// (企业作为消费者时)公司证件类型
|
|
9351
|
+
userOrgIdType?: string;
|
|
9352
|
+
// (企业作为消费者时)公司证件号,无需加密
|
|
9353
|
+
userOrgIdNumber?: string;
|
|
9243
9354
|
static names(): { [key: string]: string } {
|
|
9244
9355
|
return {
|
|
9245
9356
|
authToken: 'auth_token',
|
|
@@ -9267,6 +9378,10 @@ export class SubmitSignFlowRequest extends $tea.Model {
|
|
|
9267
9378
|
thirdSigner: 'third_signer',
|
|
9268
9379
|
userOpenId: 'user_open_id',
|
|
9269
9380
|
merchantAppId: 'merchant_app_id',
|
|
9381
|
+
userType: 'user_type',
|
|
9382
|
+
userOrgName: 'user_org_name',
|
|
9383
|
+
userOrgIdType: 'user_org_id_type',
|
|
9384
|
+
userOrgIdNumber: 'user_org_id_number',
|
|
9270
9385
|
};
|
|
9271
9386
|
}
|
|
9272
9387
|
|
|
@@ -9297,6 +9412,10 @@ export class SubmitSignFlowRequest extends $tea.Model {
|
|
|
9297
9412
|
thirdSigner: 'string',
|
|
9298
9413
|
userOpenId: 'string',
|
|
9299
9414
|
merchantAppId: 'string',
|
|
9415
|
+
userType: 'string',
|
|
9416
|
+
userOrgName: 'string',
|
|
9417
|
+
userOrgIdType: 'string',
|
|
9418
|
+
userOrgIdNumber: 'string',
|
|
9300
9419
|
};
|
|
9301
9420
|
}
|
|
9302
9421
|
|
|
@@ -9318,7 +9437,7 @@ export class SubmitSignFlowResponse extends $tea.Model {
|
|
|
9318
9437
|
flowId?: string;
|
|
9319
9438
|
// 签署用户ID
|
|
9320
9439
|
accountId?: string;
|
|
9321
|
-
//
|
|
9440
|
+
// 签署信息,包括短链接、长链接、小程序链接等。
|
|
9322
9441
|
signInfo?: string;
|
|
9323
9442
|
static names(): { [key: string]: string } {
|
|
9324
9443
|
return {
|
|
@@ -9550,7 +9669,7 @@ export class SubmitFrontSignRequest extends $tea.Model {
|
|
|
9550
9669
|
// 签署完成跳转链接
|
|
9551
9670
|
//
|
|
9552
9671
|
signedRedirectUrl?: string;
|
|
9553
|
-
// 签署的电子合同模板信息,
|
|
9672
|
+
// 签署的电子合同模板信息,JSONArray格式,可以传入多个templateId和templateArgs。注意templateArgs的格式为key-value,其中key为模板文件中表单域的名称,value为需要填充的值。
|
|
9554
9673
|
templateList: string;
|
|
9555
9674
|
// 用户的支付宝uid
|
|
9556
9675
|
alipayUserId?: string;
|
|
@@ -9574,12 +9693,20 @@ export class SubmitFrontSignRequest extends $tea.Model {
|
|
|
9574
9693
|
// 法人证件号,需要采用RSA加密传输
|
|
9575
9694
|
//
|
|
9576
9695
|
merchantLegalIdNumber?: string;
|
|
9577
|
-
//
|
|
9696
|
+
// 除商户以外的第三方签署信息,需要通过此字段传入,需要使用JSONArray格式。注意其中orgIdNumber、orgLegalName、orgLegalIdNumber需要RSA加密。
|
|
9578
9697
|
thirdSigner?: string;
|
|
9579
9698
|
// 用户在支付宝开放平台下应用的 open_id
|
|
9580
9699
|
userOpenId?: string;
|
|
9581
9700
|
// 商户支付宝应用 id
|
|
9582
9701
|
merchantAppId?: string;
|
|
9702
|
+
// 用户类型,个人或企业,默认是个人
|
|
9703
|
+
userType?: string;
|
|
9704
|
+
// (企业作为消费者时)公司证件号,无需加密
|
|
9705
|
+
userOrgIdNumber?: string;
|
|
9706
|
+
// (企业作为消费者时)公司证件类型
|
|
9707
|
+
userOrgIdType?: string;
|
|
9708
|
+
// (企业作为消费者时)公司名称
|
|
9709
|
+
userOrgName?: string;
|
|
9583
9710
|
static names(): { [key: string]: string } {
|
|
9584
9711
|
return {
|
|
9585
9712
|
authToken: 'auth_token',
|
|
@@ -9607,6 +9734,10 @@ export class SubmitFrontSignRequest extends $tea.Model {
|
|
|
9607
9734
|
thirdSigner: 'third_signer',
|
|
9608
9735
|
userOpenId: 'user_open_id',
|
|
9609
9736
|
merchantAppId: 'merchant_app_id',
|
|
9737
|
+
userType: 'user_type',
|
|
9738
|
+
userOrgIdNumber: 'user_org_id_number',
|
|
9739
|
+
userOrgIdType: 'user_org_id_type',
|
|
9740
|
+
userOrgName: 'user_org_name',
|
|
9610
9741
|
};
|
|
9611
9742
|
}
|
|
9612
9743
|
|
|
@@ -9637,6 +9768,10 @@ export class SubmitFrontSignRequest extends $tea.Model {
|
|
|
9637
9768
|
thirdSigner: 'string',
|
|
9638
9769
|
userOpenId: 'string',
|
|
9639
9770
|
merchantAppId: 'string',
|
|
9771
|
+
userType: 'string',
|
|
9772
|
+
userOrgIdNumber: 'string',
|
|
9773
|
+
userOrgIdType: 'string',
|
|
9774
|
+
userOrgName: 'string',
|
|
9640
9775
|
};
|
|
9641
9776
|
}
|
|
9642
9777
|
|
|
@@ -9661,7 +9796,7 @@ export class SubmitFrontSignResponse extends $tea.Model {
|
|
|
9661
9796
|
// 签署用户ID
|
|
9662
9797
|
//
|
|
9663
9798
|
accountId?: string;
|
|
9664
|
-
//
|
|
9799
|
+
// 签署信息,包括短链接、长链接、小程序链接等。
|
|
9665
9800
|
signInfo?: string;
|
|
9666
9801
|
static names(): { [key: string]: string } {
|
|
9667
9802
|
return {
|
|
@@ -10081,6 +10216,65 @@ export class CancelSignFlowResponse extends $tea.Model {
|
|
|
10081
10216
|
}
|
|
10082
10217
|
}
|
|
10083
10218
|
|
|
10219
|
+
export class GetSignContractcertificateRequest extends $tea.Model {
|
|
10220
|
+
// OAuth模式下的授权token
|
|
10221
|
+
authToken?: string;
|
|
10222
|
+
productInstanceId?: string;
|
|
10223
|
+
// 流程id
|
|
10224
|
+
signNo: string;
|
|
10225
|
+
static names(): { [key: string]: string } {
|
|
10226
|
+
return {
|
|
10227
|
+
authToken: 'auth_token',
|
|
10228
|
+
productInstanceId: 'product_instance_id',
|
|
10229
|
+
signNo: 'sign_no',
|
|
10230
|
+
};
|
|
10231
|
+
}
|
|
10232
|
+
|
|
10233
|
+
static types(): { [key: string]: any } {
|
|
10234
|
+
return {
|
|
10235
|
+
authToken: 'string',
|
|
10236
|
+
productInstanceId: 'string',
|
|
10237
|
+
signNo: 'string',
|
|
10238
|
+
};
|
|
10239
|
+
}
|
|
10240
|
+
|
|
10241
|
+
constructor(map?: { [key: string]: any }) {
|
|
10242
|
+
super(map);
|
|
10243
|
+
}
|
|
10244
|
+
}
|
|
10245
|
+
|
|
10246
|
+
export class GetSignContractcertificateResponse extends $tea.Model {
|
|
10247
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
10248
|
+
reqMsgId?: string;
|
|
10249
|
+
// 结果码,一般OK表示调用成功
|
|
10250
|
+
resultCode?: string;
|
|
10251
|
+
// 异常信息的文本描述
|
|
10252
|
+
resultMsg?: string;
|
|
10253
|
+
// 下载文件地址(一小时内有效)
|
|
10254
|
+
url?: string;
|
|
10255
|
+
static names(): { [key: string]: string } {
|
|
10256
|
+
return {
|
|
10257
|
+
reqMsgId: 'req_msg_id',
|
|
10258
|
+
resultCode: 'result_code',
|
|
10259
|
+
resultMsg: 'result_msg',
|
|
10260
|
+
url: 'url',
|
|
10261
|
+
};
|
|
10262
|
+
}
|
|
10263
|
+
|
|
10264
|
+
static types(): { [key: string]: any } {
|
|
10265
|
+
return {
|
|
10266
|
+
reqMsgId: 'string',
|
|
10267
|
+
resultCode: 'string',
|
|
10268
|
+
resultMsg: 'string',
|
|
10269
|
+
url: 'string',
|
|
10270
|
+
};
|
|
10271
|
+
}
|
|
10272
|
+
|
|
10273
|
+
constructor(map?: { [key: string]: any }) {
|
|
10274
|
+
super(map);
|
|
10275
|
+
}
|
|
10276
|
+
}
|
|
10277
|
+
|
|
10084
10278
|
export class SyncTradeRequest extends $tea.Model {
|
|
10085
10279
|
// OAuth模式下的授权token
|
|
10086
10280
|
authToken?: string;
|
|
@@ -10903,6 +11097,93 @@ export class ApplyTradeFinanceprecheckResponse extends $tea.Model {
|
|
|
10903
11097
|
}
|
|
10904
11098
|
}
|
|
10905
11099
|
|
|
11100
|
+
export class TransferTradeFinanceRequest extends $tea.Model {
|
|
11101
|
+
// OAuth模式下的授权token
|
|
11102
|
+
authToken?: string;
|
|
11103
|
+
productInstanceId?: string;
|
|
11104
|
+
// 订单id
|
|
11105
|
+
orderId: string;
|
|
11106
|
+
// 公司社会信用代码
|
|
11107
|
+
merchantId: string;
|
|
11108
|
+
// 待预审资方列表
|
|
11109
|
+
fundIdList: string[];
|
|
11110
|
+
// 融资签署模式
|
|
11111
|
+
fundSignMode: string;
|
|
11112
|
+
// 商户分账起始期数
|
|
11113
|
+
divideStartTermIndex: number;
|
|
11114
|
+
static names(): { [key: string]: string } {
|
|
11115
|
+
return {
|
|
11116
|
+
authToken: 'auth_token',
|
|
11117
|
+
productInstanceId: 'product_instance_id',
|
|
11118
|
+
orderId: 'order_id',
|
|
11119
|
+
merchantId: 'merchant_id',
|
|
11120
|
+
fundIdList: 'fund_id_list',
|
|
11121
|
+
fundSignMode: 'fund_sign_mode',
|
|
11122
|
+
divideStartTermIndex: 'divide_start_term_index',
|
|
11123
|
+
};
|
|
11124
|
+
}
|
|
11125
|
+
|
|
11126
|
+
static types(): { [key: string]: any } {
|
|
11127
|
+
return {
|
|
11128
|
+
authToken: 'string',
|
|
11129
|
+
productInstanceId: 'string',
|
|
11130
|
+
orderId: 'string',
|
|
11131
|
+
merchantId: 'string',
|
|
11132
|
+
fundIdList: { 'type': 'array', 'itemType': 'string' },
|
|
11133
|
+
fundSignMode: 'string',
|
|
11134
|
+
divideStartTermIndex: 'number',
|
|
11135
|
+
};
|
|
11136
|
+
}
|
|
11137
|
+
|
|
11138
|
+
constructor(map?: { [key: string]: any }) {
|
|
11139
|
+
super(map);
|
|
11140
|
+
}
|
|
11141
|
+
}
|
|
11142
|
+
|
|
11143
|
+
export class TransferTradeFinanceResponse extends $tea.Model {
|
|
11144
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
11145
|
+
reqMsgId?: string;
|
|
11146
|
+
// 结果码,一般OK表示调用成功
|
|
11147
|
+
resultCode?: string;
|
|
11148
|
+
// 异常信息的文本描述
|
|
11149
|
+
resultMsg?: string;
|
|
11150
|
+
// order_id
|
|
11151
|
+
orderId?: string;
|
|
11152
|
+
// merchant_id
|
|
11153
|
+
merchantId?: string;
|
|
11154
|
+
// jsonArray.toString
|
|
11155
|
+
fundCandidates?: string;
|
|
11156
|
+
// 转融资结果
|
|
11157
|
+
transferResult?: string;
|
|
11158
|
+
static names(): { [key: string]: string } {
|
|
11159
|
+
return {
|
|
11160
|
+
reqMsgId: 'req_msg_id',
|
|
11161
|
+
resultCode: 'result_code',
|
|
11162
|
+
resultMsg: 'result_msg',
|
|
11163
|
+
orderId: 'order_id',
|
|
11164
|
+
merchantId: 'merchant_id',
|
|
11165
|
+
fundCandidates: 'fund_candidates',
|
|
11166
|
+
transferResult: 'transfer_result',
|
|
11167
|
+
};
|
|
11168
|
+
}
|
|
11169
|
+
|
|
11170
|
+
static types(): { [key: string]: any } {
|
|
11171
|
+
return {
|
|
11172
|
+
reqMsgId: 'string',
|
|
11173
|
+
resultCode: 'string',
|
|
11174
|
+
resultMsg: 'string',
|
|
11175
|
+
orderId: 'string',
|
|
11176
|
+
merchantId: 'string',
|
|
11177
|
+
fundCandidates: 'string',
|
|
11178
|
+
transferResult: 'string',
|
|
11179
|
+
};
|
|
11180
|
+
}
|
|
11181
|
+
|
|
11182
|
+
constructor(map?: { [key: string]: any }) {
|
|
11183
|
+
super(map);
|
|
11184
|
+
}
|
|
11185
|
+
}
|
|
11186
|
+
|
|
10906
11187
|
export class CreateWithholdSignRequest extends $tea.Model {
|
|
10907
11188
|
// OAuth模式下的授权token
|
|
10908
11189
|
authToken?: string;
|
|
@@ -11513,6 +11794,8 @@ export class QueryWithholdActivepayRequest extends $tea.Model {
|
|
|
11513
11794
|
tradeNo?: string;
|
|
11514
11795
|
// 支付类型
|
|
11515
11796
|
payType?: string;
|
|
11797
|
+
// 支付渠道,非必填。可选值:JSAPI-JSAPI支付,APP-APP支付。默认值:JSAPI
|
|
11798
|
+
payChannel?: string;
|
|
11516
11799
|
static names(): { [key: string]: string } {
|
|
11517
11800
|
return {
|
|
11518
11801
|
authToken: 'auth_token',
|
|
@@ -11521,6 +11804,7 @@ export class QueryWithholdActivepayRequest extends $tea.Model {
|
|
|
11521
11804
|
periodNum: 'period_num',
|
|
11522
11805
|
tradeNo: 'trade_no',
|
|
11523
11806
|
payType: 'pay_type',
|
|
11807
|
+
payChannel: 'pay_channel',
|
|
11524
11808
|
};
|
|
11525
11809
|
}
|
|
11526
11810
|
|
|
@@ -11532,6 +11816,7 @@ export class QueryWithholdActivepayRequest extends $tea.Model {
|
|
|
11532
11816
|
periodNum: 'number',
|
|
11533
11817
|
tradeNo: 'string',
|
|
11534
11818
|
payType: 'string',
|
|
11819
|
+
payChannel: 'string',
|
|
11535
11820
|
};
|
|
11536
11821
|
}
|
|
11537
11822
|
|
|
@@ -12112,7 +12397,7 @@ export default class Client {
|
|
|
12112
12397
|
req_msg_id: AntchainUtil.getNonce(),
|
|
12113
12398
|
access_key: this._accessKeyId,
|
|
12114
12399
|
base_sdk_version: "TeaSDK-2.0",
|
|
12115
|
-
sdk_version: "1.
|
|
12400
|
+
sdk_version: "1.11.2",
|
|
12116
12401
|
_prod_code: "ATO",
|
|
12117
12402
|
_prod_channel: "undefined",
|
|
12118
12403
|
};
|
|
@@ -13837,6 +14122,25 @@ export default class Client {
|
|
|
13837
14122
|
return $tea.cast<GetInnerCustomerservicetemplateResponse>(await this.doRequest("1.0", "antchain.ato.inner.customerservicetemplate.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetInnerCustomerservicetemplateResponse({}));
|
|
13838
14123
|
}
|
|
13839
14124
|
|
|
14125
|
+
/**
|
|
14126
|
+
* Description: 获取模板实例化后的模板信息,包括pdf下载链接
|
|
14127
|
+
* Summary: 获取模板实例化后的模板信息
|
|
14128
|
+
*/
|
|
14129
|
+
async queryInnerTemplateinstance(request: QueryInnerTemplateinstanceRequest): Promise<QueryInnerTemplateinstanceResponse> {
|
|
14130
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
14131
|
+
let headers : {[key: string ]: string} = { };
|
|
14132
|
+
return await this.queryInnerTemplateinstanceEx(request, headers, runtime);
|
|
14133
|
+
}
|
|
14134
|
+
|
|
14135
|
+
/**
|
|
14136
|
+
* Description: 获取模板实例化后的模板信息,包括pdf下载链接
|
|
14137
|
+
* Summary: 获取模板实例化后的模板信息
|
|
14138
|
+
*/
|
|
14139
|
+
async queryInnerTemplateinstanceEx(request: QueryInnerTemplateinstanceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryInnerTemplateinstanceResponse> {
|
|
14140
|
+
Util.validateModel(request);
|
|
14141
|
+
return $tea.cast<QueryInnerTemplateinstanceResponse>(await this.doRequest("1.0", "antchain.ato.inner.templateinstance.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryInnerTemplateinstanceResponse({}));
|
|
14142
|
+
}
|
|
14143
|
+
|
|
13840
14144
|
/**
|
|
13841
14145
|
* Description: 一键投保
|
|
13842
14146
|
* Summary: 投保
|
|
@@ -14261,6 +14565,25 @@ export default class Client {
|
|
|
14261
14565
|
return $tea.cast<CancelSignFlowResponse>(await this.doRequest("1.0", "antchain.ato.sign.flow.cancel", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CancelSignFlowResponse({}));
|
|
14262
14566
|
}
|
|
14263
14567
|
|
|
14568
|
+
/**
|
|
14569
|
+
* Description: 获取合同存证证明
|
|
14570
|
+
* Summary: 获取合同存证证明
|
|
14571
|
+
*/
|
|
14572
|
+
async getSignContractcertificate(request: GetSignContractcertificateRequest): Promise<GetSignContractcertificateResponse> {
|
|
14573
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
14574
|
+
let headers : {[key: string ]: string} = { };
|
|
14575
|
+
return await this.getSignContractcertificateEx(request, headers, runtime);
|
|
14576
|
+
}
|
|
14577
|
+
|
|
14578
|
+
/**
|
|
14579
|
+
* Description: 获取合同存证证明
|
|
14580
|
+
* Summary: 获取合同存证证明
|
|
14581
|
+
*/
|
|
14582
|
+
async getSignContractcertificateEx(request: GetSignContractcertificateRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetSignContractcertificateResponse> {
|
|
14583
|
+
Util.validateModel(request);
|
|
14584
|
+
return $tea.cast<GetSignContractcertificateResponse>(await this.doRequest("1.0", "antchain.ato.sign.contractcertificate.get", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new GetSignContractcertificateResponse({}));
|
|
14585
|
+
}
|
|
14586
|
+
|
|
14264
14587
|
/**
|
|
14265
14588
|
* Description: 对账saas交易信息同步接口
|
|
14266
14589
|
* Summary: 对账saas交易信息同步接口
|
|
@@ -14489,6 +14812,25 @@ export default class Client {
|
|
|
14489
14812
|
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({}));
|
|
14490
14813
|
}
|
|
14491
14814
|
|
|
14815
|
+
/**
|
|
14816
|
+
* Description: 非融转融资
|
|
14817
|
+
* Summary: 非融转融资
|
|
14818
|
+
*/
|
|
14819
|
+
async transferTradeFinance(request: TransferTradeFinanceRequest): Promise<TransferTradeFinanceResponse> {
|
|
14820
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
14821
|
+
let headers : {[key: string ]: string} = { };
|
|
14822
|
+
return await this.transferTradeFinanceEx(request, headers, runtime);
|
|
14823
|
+
}
|
|
14824
|
+
|
|
14825
|
+
/**
|
|
14826
|
+
* Description: 非融转融资
|
|
14827
|
+
* Summary: 非融转融资
|
|
14828
|
+
*/
|
|
14829
|
+
async transferTradeFinanceEx(request: TransferTradeFinanceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<TransferTradeFinanceResponse> {
|
|
14830
|
+
Util.validateModel(request);
|
|
14831
|
+
return $tea.cast<TransferTradeFinanceResponse>(await this.doRequest("1.0", "antchain.ato.trade.finance.transfer", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new TransferTradeFinanceResponse({}));
|
|
14832
|
+
}
|
|
14833
|
+
|
|
14492
14834
|
/**
|
|
14493
14835
|
* Description: 代扣签约创建
|
|
14494
14836
|
* Summary: 代扣签约
|