@antchain/ato 1.10.16 → 1.10.37
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 +345 -29
- package/dist/client.js +542 -55
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +884 -150
package/src/client.ts
CHANGED
|
@@ -78,6 +78,31 @@ export class Config extends $tea.Model {
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
+
// 文件信息
|
|
82
|
+
export class FileInfo extends $tea.Model {
|
|
83
|
+
// 文件名称
|
|
84
|
+
fileName: string;
|
|
85
|
+
// 文件key
|
|
86
|
+
fileKey: string;
|
|
87
|
+
static names(): { [key: string]: string } {
|
|
88
|
+
return {
|
|
89
|
+
fileName: 'file_name',
|
|
90
|
+
fileKey: 'file_key',
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
static types(): { [key: string]: any } {
|
|
95
|
+
return {
|
|
96
|
+
fileName: 'string',
|
|
97
|
+
fileKey: 'string',
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
constructor(map?: { [key: string]: any }) {
|
|
102
|
+
super(map);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
81
106
|
// 智租风控-子风险项
|
|
82
107
|
export class SubRentRiskItem extends $tea.Model {
|
|
83
108
|
// 风险名称。枚举值:BASE_PERFORMANCE - 基础履约风险;OVERDUE - 逾期风险;MULTI_RENT - 共租风险。
|
|
@@ -177,7 +202,7 @@ export class SiteInfo extends $tea.Model {
|
|
|
177
202
|
siteName?: string;
|
|
178
203
|
//
|
|
179
204
|
// 截图照片
|
|
180
|
-
|
|
205
|
+
screenshotFile?: FileInfo;
|
|
181
206
|
// 站点地址
|
|
182
207
|
siteUrl?: string;
|
|
183
208
|
// 站点类型
|
|
@@ -193,7 +218,7 @@ export class SiteInfo extends $tea.Model {
|
|
|
193
218
|
return {
|
|
194
219
|
tinyAppId: 'tiny_app_id',
|
|
195
220
|
siteName: 'site_name',
|
|
196
|
-
|
|
221
|
+
screenshotFile: 'screenshot_file',
|
|
197
222
|
siteUrl: 'site_url',
|
|
198
223
|
siteType: 'site_type',
|
|
199
224
|
};
|
|
@@ -203,7 +228,7 @@ export class SiteInfo extends $tea.Model {
|
|
|
203
228
|
return {
|
|
204
229
|
tinyAppId: 'string',
|
|
205
230
|
siteName: 'string',
|
|
206
|
-
|
|
231
|
+
screenshotFile: FileInfo,
|
|
207
232
|
siteUrl: 'string',
|
|
208
233
|
siteType: 'string',
|
|
209
234
|
};
|
|
@@ -214,31 +239,6 @@ export class SiteInfo extends $tea.Model {
|
|
|
214
239
|
}
|
|
215
240
|
}
|
|
216
241
|
|
|
217
|
-
// 文件信息
|
|
218
|
-
export class FileInfo extends $tea.Model {
|
|
219
|
-
// 文件名称
|
|
220
|
-
fileName: string;
|
|
221
|
-
// 文件key
|
|
222
|
-
fileKey: string;
|
|
223
|
-
static names(): { [key: string]: string } {
|
|
224
|
-
return {
|
|
225
|
-
fileName: 'file_name',
|
|
226
|
-
fileKey: 'file_key',
|
|
227
|
-
};
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
static types(): { [key: string]: any } {
|
|
231
|
-
return {
|
|
232
|
-
fileName: 'string',
|
|
233
|
-
fileKey: 'string',
|
|
234
|
-
};
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
constructor(map?: { [key: string]: any }) {
|
|
238
|
-
super(map);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
|
|
242
242
|
// 智租风控模型结构体
|
|
243
243
|
export class AppletRiskModel extends $tea.Model {
|
|
244
244
|
// 智租风控调用结果码,10000 表示调用成功。
|
|
@@ -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 } {
|
|
@@ -1231,6 +1182,37 @@ export class DeliveryDetail extends $tea.Model {
|
|
|
1231
1182
|
}
|
|
1232
1183
|
}
|
|
1233
1184
|
|
|
1185
|
+
// 客服信息
|
|
1186
|
+
export class CustomerServiceInfo extends $tea.Model {
|
|
1187
|
+
// 公司社会统一信息代码
|
|
1188
|
+
merchantId?: string;
|
|
1189
|
+
// 公司名称
|
|
1190
|
+
merchantName?: string;
|
|
1191
|
+
// 处理类型:
|
|
1192
|
+
// MERCHANT_PROCESS("MERCHANT_PROCESS", "商家处理"),
|
|
1193
|
+
// PROXY_PROCESS("PROXY_PROCESS", "服务商代处理"),
|
|
1194
|
+
processType?: string;
|
|
1195
|
+
static names(): { [key: string]: string } {
|
|
1196
|
+
return {
|
|
1197
|
+
merchantId: 'merchant_id',
|
|
1198
|
+
merchantName: 'merchant_name',
|
|
1199
|
+
processType: 'process_type',
|
|
1200
|
+
};
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
static types(): { [key: string]: any } {
|
|
1204
|
+
return {
|
|
1205
|
+
merchantId: 'string',
|
|
1206
|
+
merchantName: 'string',
|
|
1207
|
+
processType: 'string',
|
|
1208
|
+
};
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
constructor(map?: { [key: string]: any }) {
|
|
1212
|
+
super(map);
|
|
1213
|
+
}
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1234
1216
|
// 经营分账收入模型
|
|
1235
1217
|
export class OperationDivideTransInModel extends $tea.Model {
|
|
1236
1218
|
// 分账收入方支付宝用户id, 支付宝2088id
|
|
@@ -1462,6 +1444,59 @@ export class CompanyInfoUpdate extends $tea.Model {
|
|
|
1462
1444
|
}
|
|
1463
1445
|
}
|
|
1464
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
|
+
|
|
1465
1500
|
// 订单商品
|
|
1466
1501
|
export class OrderProductInfo extends $tea.Model {
|
|
1467
1502
|
// 商品编码
|
|
@@ -2519,6 +2554,10 @@ export class CancelFundPlanRequest extends $tea.Model {
|
|
|
2519
2554
|
cancelReason: string;
|
|
2520
2555
|
// 融资单的资方社会信用代码
|
|
2521
2556
|
fundId?: string;
|
|
2557
|
+
// 操作
|
|
2558
|
+
operation?: string;
|
|
2559
|
+
// 赎回金额,单位为分,取消并赎回时必填
|
|
2560
|
+
redeemAmount?: number;
|
|
2522
2561
|
static names(): { [key: string]: string } {
|
|
2523
2562
|
return {
|
|
2524
2563
|
authToken: 'auth_token',
|
|
@@ -2527,6 +2566,8 @@ export class CancelFundPlanRequest extends $tea.Model {
|
|
|
2527
2566
|
merchantId: 'merchant_id',
|
|
2528
2567
|
cancelReason: 'cancel_reason',
|
|
2529
2568
|
fundId: 'fund_id',
|
|
2569
|
+
operation: 'operation',
|
|
2570
|
+
redeemAmount: 'redeem_amount',
|
|
2530
2571
|
};
|
|
2531
2572
|
}
|
|
2532
2573
|
|
|
@@ -2538,6 +2579,8 @@ export class CancelFundPlanRequest extends $tea.Model {
|
|
|
2538
2579
|
merchantId: 'string',
|
|
2539
2580
|
cancelReason: 'string',
|
|
2540
2581
|
fundId: 'string',
|
|
2582
|
+
operation: 'string',
|
|
2583
|
+
redeemAmount: 'number',
|
|
2541
2584
|
};
|
|
2542
2585
|
}
|
|
2543
2586
|
|
|
@@ -4694,6 +4737,10 @@ export class CreateInnerTemplatetextareaRequest extends $tea.Model {
|
|
|
4694
4737
|
componentName: string;
|
|
4695
4738
|
// 是否必填
|
|
4696
4739
|
required: boolean;
|
|
4740
|
+
// 预估文本行数
|
|
4741
|
+
line?: number;
|
|
4742
|
+
// 多行文本域名称
|
|
4743
|
+
multiName?: string;
|
|
4697
4744
|
static names(): { [key: string]: string } {
|
|
4698
4745
|
return {
|
|
4699
4746
|
authToken: 'auth_token',
|
|
@@ -4704,6 +4751,8 @@ export class CreateInnerTemplatetextareaRequest extends $tea.Model {
|
|
|
4704
4751
|
componentType: 'component_type',
|
|
4705
4752
|
componentName: 'component_name',
|
|
4706
4753
|
required: 'required',
|
|
4754
|
+
line: 'line',
|
|
4755
|
+
multiName: 'multi_name',
|
|
4707
4756
|
};
|
|
4708
4757
|
}
|
|
4709
4758
|
|
|
@@ -4717,6 +4766,8 @@ export class CreateInnerTemplatetextareaRequest extends $tea.Model {
|
|
|
4717
4766
|
componentType: 'string',
|
|
4718
4767
|
componentName: 'string',
|
|
4719
4768
|
required: 'boolean',
|
|
4769
|
+
line: 'number',
|
|
4770
|
+
multiName: 'string',
|
|
4720
4771
|
};
|
|
4721
4772
|
}
|
|
4722
4773
|
|
|
@@ -5611,6 +5662,8 @@ export class QueryInnerMerchantpayexpandResponse extends $tea.Model {
|
|
|
5611
5662
|
expandStatus?: string;
|
|
5612
5663
|
// 进件失败描述
|
|
5613
5664
|
expandFailReason?: string;
|
|
5665
|
+
// 是否展示客服信息登记入口
|
|
5666
|
+
showCustomerServiceBanner?: boolean;
|
|
5614
5667
|
static names(): { [key: string]: string } {
|
|
5615
5668
|
return {
|
|
5616
5669
|
reqMsgId: 'req_msg_id',
|
|
@@ -5624,6 +5677,7 @@ export class QueryInnerMerchantpayexpandResponse extends $tea.Model {
|
|
|
5624
5677
|
expandMode: 'expand_mode',
|
|
5625
5678
|
expandStatus: 'expand_status',
|
|
5626
5679
|
expandFailReason: 'expand_fail_reason',
|
|
5680
|
+
showCustomerServiceBanner: 'show_customer_service_banner',
|
|
5627
5681
|
};
|
|
5628
5682
|
}
|
|
5629
5683
|
|
|
@@ -5640,6 +5694,7 @@ export class QueryInnerMerchantpayexpandResponse extends $tea.Model {
|
|
|
5640
5694
|
expandMode: 'string',
|
|
5641
5695
|
expandStatus: 'string',
|
|
5642
5696
|
expandFailReason: 'string',
|
|
5697
|
+
showCustomerServiceBanner: 'boolean',
|
|
5643
5698
|
};
|
|
5644
5699
|
}
|
|
5645
5700
|
|
|
@@ -7527,7 +7582,7 @@ export class PagequeryInnerOrderResponse extends $tea.Model {
|
|
|
7527
7582
|
// 异常信息的文本描述
|
|
7528
7583
|
resultMsg?: string;
|
|
7529
7584
|
// 订单列表信息
|
|
7530
|
-
orderInfoList?:
|
|
7585
|
+
orderInfoList?: OrderSearchInfo[];
|
|
7531
7586
|
// 总量
|
|
7532
7587
|
total?: number;
|
|
7533
7588
|
static names(): { [key: string]: string } {
|
|
@@ -7545,7 +7600,7 @@ export class PagequeryInnerOrderResponse extends $tea.Model {
|
|
|
7545
7600
|
reqMsgId: 'string',
|
|
7546
7601
|
resultCode: 'string',
|
|
7547
7602
|
resultMsg: 'string',
|
|
7548
|
-
orderInfoList: { 'type': 'array', 'itemType':
|
|
7603
|
+
orderInfoList: { 'type': 'array', 'itemType': OrderSearchInfo },
|
|
7549
7604
|
total: 'number',
|
|
7550
7605
|
};
|
|
7551
7606
|
}
|
|
@@ -7780,49 +7835,54 @@ export class BatchqueryInnerMarketingscoreResponse extends $tea.Model {
|
|
|
7780
7835
|
}
|
|
7781
7836
|
}
|
|
7782
7837
|
|
|
7783
|
-
export class
|
|
7838
|
+
export class CreateInnerCustomerserviceRequest extends $tea.Model {
|
|
7784
7839
|
// OAuth模式下的授权token
|
|
7785
7840
|
authToken?: string;
|
|
7786
7841
|
productInstanceId?: string;
|
|
7787
|
-
//
|
|
7788
|
-
|
|
7789
|
-
//
|
|
7790
|
-
|
|
7791
|
-
//
|
|
7792
|
-
|
|
7793
|
-
//
|
|
7794
|
-
|
|
7795
|
-
//
|
|
7796
|
-
|
|
7797
|
-
//
|
|
7798
|
-
|
|
7799
|
-
//
|
|
7800
|
-
|
|
7801
|
-
//
|
|
7802
|
-
|
|
7803
|
-
//
|
|
7804
|
-
|
|
7805
|
-
//
|
|
7806
|
-
|
|
7807
|
-
//
|
|
7808
|
-
|
|
7809
|
-
//
|
|
7810
|
-
|
|
7842
|
+
// 租户id
|
|
7843
|
+
tenantId: string;
|
|
7844
|
+
// 公司社会统一信息代码,间联模式必传
|
|
7845
|
+
merchantId?: string;
|
|
7846
|
+
// 公司名称
|
|
7847
|
+
merchantName?: string;
|
|
7848
|
+
// 处理类型:
|
|
7849
|
+
// MERCHANT_PROCESS("MERCHANT_PROCESS", "商家处理"),
|
|
7850
|
+
// PROXY_PROCESS("PROXY_PROCESS", "服务商代处理"),
|
|
7851
|
+
processType: string;
|
|
7852
|
+
// 服务商名称
|
|
7853
|
+
serviceProviderName?: string;
|
|
7854
|
+
// 客诉处理员支付宝绑定手机号
|
|
7855
|
+
alipayBindMobile: string;
|
|
7856
|
+
// 客诉处理员支付宝账号
|
|
7857
|
+
alipayLogonId: string;
|
|
7858
|
+
// 客服电话
|
|
7859
|
+
customerServicePhone: string;
|
|
7860
|
+
// 客服人员名称
|
|
7861
|
+
customerServiceName: string;
|
|
7862
|
+
// 在线客服网址
|
|
7863
|
+
onlineSupportSiteUrl: string;
|
|
7864
|
+
// 投诉问题
|
|
7865
|
+
customerComplaintIssues: string;
|
|
7866
|
+
// 进件类型
|
|
7867
|
+
// DIRECT("DIRECT", "直连进件模式"),
|
|
7868
|
+
// AGENT("AGENT", "代理商进件模式"),
|
|
7869
|
+
expandMode: string;
|
|
7811
7870
|
static names(): { [key: string]: string } {
|
|
7812
7871
|
return {
|
|
7813
7872
|
authToken: 'auth_token',
|
|
7814
7873
|
productInstanceId: 'product_instance_id',
|
|
7815
|
-
|
|
7816
|
-
|
|
7817
|
-
|
|
7818
|
-
|
|
7819
|
-
|
|
7820
|
-
|
|
7821
|
-
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
|
|
7825
|
-
|
|
7874
|
+
tenantId: 'tenant_id',
|
|
7875
|
+
merchantId: 'merchant_id',
|
|
7876
|
+
merchantName: 'merchant_name',
|
|
7877
|
+
processType: 'process_type',
|
|
7878
|
+
serviceProviderName: 'service_provider_name',
|
|
7879
|
+
alipayBindMobile: 'alipay_bind_mobile',
|
|
7880
|
+
alipayLogonId: 'alipay_logon_id',
|
|
7881
|
+
customerServicePhone: 'customer_service_phone',
|
|
7882
|
+
customerServiceName: 'customer_service_name',
|
|
7883
|
+
onlineSupportSiteUrl: 'online_support_site_url',
|
|
7884
|
+
customerComplaintIssues: 'customer_complaint_issues',
|
|
7885
|
+
expandMode: 'expand_mode',
|
|
7826
7886
|
};
|
|
7827
7887
|
}
|
|
7828
7888
|
|
|
@@ -7830,17 +7890,18 @@ export class CreateInsureRequest extends $tea.Model {
|
|
|
7830
7890
|
return {
|
|
7831
7891
|
authToken: 'string',
|
|
7832
7892
|
productInstanceId: 'string',
|
|
7833
|
-
|
|
7834
|
-
|
|
7835
|
-
|
|
7836
|
-
|
|
7837
|
-
|
|
7838
|
-
|
|
7839
|
-
|
|
7840
|
-
|
|
7841
|
-
|
|
7842
|
-
|
|
7843
|
-
|
|
7893
|
+
tenantId: 'string',
|
|
7894
|
+
merchantId: 'string',
|
|
7895
|
+
merchantName: 'string',
|
|
7896
|
+
processType: 'string',
|
|
7897
|
+
serviceProviderName: 'string',
|
|
7898
|
+
alipayBindMobile: 'string',
|
|
7899
|
+
alipayLogonId: 'string',
|
|
7900
|
+
customerServicePhone: 'string',
|
|
7901
|
+
customerServiceName: 'string',
|
|
7902
|
+
onlineSupportSiteUrl: 'string',
|
|
7903
|
+
customerComplaintIssues: 'string',
|
|
7904
|
+
expandMode: 'string',
|
|
7844
7905
|
};
|
|
7845
7906
|
}
|
|
7846
7907
|
|
|
@@ -7849,7 +7910,7 @@ export class CreateInsureRequest extends $tea.Model {
|
|
|
7849
7910
|
}
|
|
7850
7911
|
}
|
|
7851
7912
|
|
|
7852
|
-
export class
|
|
7913
|
+
export class CreateInnerCustomerserviceResponse extends $tea.Model {
|
|
7853
7914
|
// 请求唯一ID,用于链路跟踪和问题排查
|
|
7854
7915
|
reqMsgId?: string;
|
|
7855
7916
|
// 结果码,一般OK表示调用成功
|
|
@@ -7877,23 +7938,53 @@ export class CreateInsureResponse extends $tea.Model {
|
|
|
7877
7938
|
}
|
|
7878
7939
|
}
|
|
7879
7940
|
|
|
7880
|
-
export class
|
|
7941
|
+
export class UpdateInnerCustomerserviceRequest extends $tea.Model {
|
|
7881
7942
|
// OAuth模式下的授权token
|
|
7882
7943
|
authToken?: string;
|
|
7883
7944
|
productInstanceId?: string;
|
|
7884
|
-
//
|
|
7885
|
-
|
|
7886
|
-
//
|
|
7887
|
-
|
|
7888
|
-
//
|
|
7889
|
-
|
|
7945
|
+
// 租户id
|
|
7946
|
+
tenantId: string;
|
|
7947
|
+
// 商家社会统一信用代码,间联模式必传
|
|
7948
|
+
merchantId?: string;
|
|
7949
|
+
// 公司名称
|
|
7950
|
+
merchantName: string;
|
|
7951
|
+
// 处理类型:
|
|
7952
|
+
// MERCHANT_PROCESS("MERCHANT_PROCESS", "商家处理"),
|
|
7953
|
+
// PROXY_PROCESS("PROXY_PROCESS", "服务商代处理"),
|
|
7954
|
+
processType: string;
|
|
7955
|
+
// 服务商名称
|
|
7956
|
+
serviceProviderName?: string;
|
|
7957
|
+
// 客诉处理员支付宝绑定手机号
|
|
7958
|
+
alipayBindMobile: string;
|
|
7959
|
+
// 客诉处理员支付宝账号
|
|
7960
|
+
alipayLogonId: string;
|
|
7961
|
+
// 客服电话
|
|
7962
|
+
customerServicePhone: string;
|
|
7963
|
+
// 客服人员名称
|
|
7964
|
+
customerServiceName: string;
|
|
7965
|
+
// 在线客服网址
|
|
7966
|
+
onlineSupportSiteUrl: string;
|
|
7967
|
+
// 投诉问题
|
|
7968
|
+
customerComplaintIssues: string;
|
|
7969
|
+
// 进件类型
|
|
7970
|
+
// DIRECT("DIRECT", "直连进件模式"), AGENT("AGENT", "代理商进件模式"),
|
|
7971
|
+
expandMode: string;
|
|
7890
7972
|
static names(): { [key: string]: string } {
|
|
7891
7973
|
return {
|
|
7892
7974
|
authToken: 'auth_token',
|
|
7893
7975
|
productInstanceId: 'product_instance_id',
|
|
7894
|
-
|
|
7895
|
-
|
|
7896
|
-
|
|
7976
|
+
tenantId: 'tenant_id',
|
|
7977
|
+
merchantId: 'merchant_id',
|
|
7978
|
+
merchantName: 'merchant_name',
|
|
7979
|
+
processType: 'process_type',
|
|
7980
|
+
serviceProviderName: 'service_provider_name',
|
|
7981
|
+
alipayBindMobile: 'alipay_bind_mobile',
|
|
7982
|
+
alipayLogonId: 'alipay_logon_id',
|
|
7983
|
+
customerServicePhone: 'customer_service_phone',
|
|
7984
|
+
customerServiceName: 'customer_service_name',
|
|
7985
|
+
onlineSupportSiteUrl: 'online_support_site_url',
|
|
7986
|
+
customerComplaintIssues: 'customer_complaint_issues',
|
|
7987
|
+
expandMode: 'expand_mode',
|
|
7897
7988
|
};
|
|
7898
7989
|
}
|
|
7899
7990
|
|
|
@@ -7901,9 +7992,465 @@ export class QueryInsureRequest extends $tea.Model {
|
|
|
7901
7992
|
return {
|
|
7902
7993
|
authToken: 'string',
|
|
7903
7994
|
productInstanceId: 'string',
|
|
7904
|
-
|
|
7905
|
-
|
|
7906
|
-
|
|
7995
|
+
tenantId: 'string',
|
|
7996
|
+
merchantId: 'string',
|
|
7997
|
+
merchantName: 'string',
|
|
7998
|
+
processType: 'string',
|
|
7999
|
+
serviceProviderName: 'string',
|
|
8000
|
+
alipayBindMobile: 'string',
|
|
8001
|
+
alipayLogonId: 'string',
|
|
8002
|
+
customerServicePhone: 'string',
|
|
8003
|
+
customerServiceName: 'string',
|
|
8004
|
+
onlineSupportSiteUrl: 'string',
|
|
8005
|
+
customerComplaintIssues: 'string',
|
|
8006
|
+
expandMode: 'string',
|
|
8007
|
+
};
|
|
8008
|
+
}
|
|
8009
|
+
|
|
8010
|
+
constructor(map?: { [key: string]: any }) {
|
|
8011
|
+
super(map);
|
|
8012
|
+
}
|
|
8013
|
+
}
|
|
8014
|
+
|
|
8015
|
+
export class UpdateInnerCustomerserviceResponse extends $tea.Model {
|
|
8016
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8017
|
+
reqMsgId?: string;
|
|
8018
|
+
// 结果码,一般OK表示调用成功
|
|
8019
|
+
resultCode?: string;
|
|
8020
|
+
// 异常信息的文本描述
|
|
8021
|
+
resultMsg?: string;
|
|
8022
|
+
static names(): { [key: string]: string } {
|
|
8023
|
+
return {
|
|
8024
|
+
reqMsgId: 'req_msg_id',
|
|
8025
|
+
resultCode: 'result_code',
|
|
8026
|
+
resultMsg: 'result_msg',
|
|
8027
|
+
};
|
|
8028
|
+
}
|
|
8029
|
+
|
|
8030
|
+
static types(): { [key: string]: any } {
|
|
8031
|
+
return {
|
|
8032
|
+
reqMsgId: 'string',
|
|
8033
|
+
resultCode: 'string',
|
|
8034
|
+
resultMsg: 'string',
|
|
8035
|
+
};
|
|
8036
|
+
}
|
|
8037
|
+
|
|
8038
|
+
constructor(map?: { [key: string]: any }) {
|
|
8039
|
+
super(map);
|
|
8040
|
+
}
|
|
8041
|
+
}
|
|
8042
|
+
|
|
8043
|
+
export class PagequeryInnerCustomerserviceRequest extends $tea.Model {
|
|
8044
|
+
// OAuth模式下的授权token
|
|
8045
|
+
authToken?: string;
|
|
8046
|
+
productInstanceId?: string;
|
|
8047
|
+
// 租户id
|
|
8048
|
+
tenantId: string;
|
|
8049
|
+
// 分页信息
|
|
8050
|
+
pageInfo: PageQuery;
|
|
8051
|
+
// 处理类型:
|
|
8052
|
+
// MERCHANT_PROCESS("MERCHANT_PROCESS", "商家处理"),
|
|
8053
|
+
// PROXY_PROCESS("PROXY_PROCESS", "服务商代处理"),
|
|
8054
|
+
processType?: string;
|
|
8055
|
+
// 公司社会统一信息代码
|
|
8056
|
+
merchantId?: string;
|
|
8057
|
+
// 公司名称
|
|
8058
|
+
merchantName?: string;
|
|
8059
|
+
static names(): { [key: string]: string } {
|
|
8060
|
+
return {
|
|
8061
|
+
authToken: 'auth_token',
|
|
8062
|
+
productInstanceId: 'product_instance_id',
|
|
8063
|
+
tenantId: 'tenant_id',
|
|
8064
|
+
pageInfo: 'page_info',
|
|
8065
|
+
processType: 'process_type',
|
|
8066
|
+
merchantId: 'merchant_id',
|
|
8067
|
+
merchantName: 'merchant_name',
|
|
8068
|
+
};
|
|
8069
|
+
}
|
|
8070
|
+
|
|
8071
|
+
static types(): { [key: string]: any } {
|
|
8072
|
+
return {
|
|
8073
|
+
authToken: 'string',
|
|
8074
|
+
productInstanceId: 'string',
|
|
8075
|
+
tenantId: 'string',
|
|
8076
|
+
pageInfo: PageQuery,
|
|
8077
|
+
processType: 'string',
|
|
8078
|
+
merchantId: 'string',
|
|
8079
|
+
merchantName: 'string',
|
|
8080
|
+
};
|
|
8081
|
+
}
|
|
8082
|
+
|
|
8083
|
+
constructor(map?: { [key: string]: any }) {
|
|
8084
|
+
super(map);
|
|
8085
|
+
}
|
|
8086
|
+
}
|
|
8087
|
+
|
|
8088
|
+
export class PagequeryInnerCustomerserviceResponse extends $tea.Model {
|
|
8089
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8090
|
+
reqMsgId?: string;
|
|
8091
|
+
// 结果码,一般OK表示调用成功
|
|
8092
|
+
resultCode?: string;
|
|
8093
|
+
// 异常信息的文本描述
|
|
8094
|
+
resultMsg?: string;
|
|
8095
|
+
// 总数
|
|
8096
|
+
total?: number;
|
|
8097
|
+
// 客服信息
|
|
8098
|
+
customerServiceInfoList?: CustomerServiceInfo[];
|
|
8099
|
+
static names(): { [key: string]: string } {
|
|
8100
|
+
return {
|
|
8101
|
+
reqMsgId: 'req_msg_id',
|
|
8102
|
+
resultCode: 'result_code',
|
|
8103
|
+
resultMsg: 'result_msg',
|
|
8104
|
+
total: 'total',
|
|
8105
|
+
customerServiceInfoList: 'customer_service_info_list',
|
|
8106
|
+
};
|
|
8107
|
+
}
|
|
8108
|
+
|
|
8109
|
+
static types(): { [key: string]: any } {
|
|
8110
|
+
return {
|
|
8111
|
+
reqMsgId: 'string',
|
|
8112
|
+
resultCode: 'string',
|
|
8113
|
+
resultMsg: 'string',
|
|
8114
|
+
total: 'number',
|
|
8115
|
+
customerServiceInfoList: { 'type': 'array', 'itemType': CustomerServiceInfo },
|
|
8116
|
+
};
|
|
8117
|
+
}
|
|
8118
|
+
|
|
8119
|
+
constructor(map?: { [key: string]: any }) {
|
|
8120
|
+
super(map);
|
|
8121
|
+
}
|
|
8122
|
+
}
|
|
8123
|
+
|
|
8124
|
+
export class DetailInnerCustomerserviceRequest extends $tea.Model {
|
|
8125
|
+
// OAuth模式下的授权token
|
|
8126
|
+
authToken?: string;
|
|
8127
|
+
productInstanceId?: string;
|
|
8128
|
+
// 租户id
|
|
8129
|
+
tenantId: string;
|
|
8130
|
+
// 公司社会统一信息代码,间联模式必传
|
|
8131
|
+
merchantId?: string;
|
|
8132
|
+
// 进件类型
|
|
8133
|
+
// DIRECT("DIRECT", "直连进件模式"),
|
|
8134
|
+
// AGENT("AGENT", "代理商进件模式"),
|
|
8135
|
+
expandMode: string;
|
|
8136
|
+
static names(): { [key: string]: string } {
|
|
8137
|
+
return {
|
|
8138
|
+
authToken: 'auth_token',
|
|
8139
|
+
productInstanceId: 'product_instance_id',
|
|
8140
|
+
tenantId: 'tenant_id',
|
|
8141
|
+
merchantId: 'merchant_id',
|
|
8142
|
+
expandMode: 'expand_mode',
|
|
8143
|
+
};
|
|
8144
|
+
}
|
|
8145
|
+
|
|
8146
|
+
static types(): { [key: string]: any } {
|
|
8147
|
+
return {
|
|
8148
|
+
authToken: 'string',
|
|
8149
|
+
productInstanceId: 'string',
|
|
8150
|
+
tenantId: 'string',
|
|
8151
|
+
merchantId: 'string',
|
|
8152
|
+
expandMode: 'string',
|
|
8153
|
+
};
|
|
8154
|
+
}
|
|
8155
|
+
|
|
8156
|
+
constructor(map?: { [key: string]: any }) {
|
|
8157
|
+
super(map);
|
|
8158
|
+
}
|
|
8159
|
+
}
|
|
8160
|
+
|
|
8161
|
+
export class DetailInnerCustomerserviceResponse extends $tea.Model {
|
|
8162
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8163
|
+
reqMsgId?: string;
|
|
8164
|
+
// 结果码,一般OK表示调用成功
|
|
8165
|
+
resultCode?: string;
|
|
8166
|
+
// 异常信息的文本描述
|
|
8167
|
+
resultMsg?: string;
|
|
8168
|
+
// 公司社会统一信息代码
|
|
8169
|
+
merchantId?: string;
|
|
8170
|
+
// 公司名称
|
|
8171
|
+
merchantName?: string;
|
|
8172
|
+
// 处理类型:
|
|
8173
|
+
// MERCHANT_PROCESS("MERCHANT_PROCESS", "商家处理"),
|
|
8174
|
+
// PROXY_PROCESS("PROXY_PROCESS", "服务商代处理"),
|
|
8175
|
+
processType?: string;
|
|
8176
|
+
// 服务商名称
|
|
8177
|
+
serviceProviderName?: string;
|
|
8178
|
+
// 客诉处理员支付宝绑定手机号
|
|
8179
|
+
alipayBindMobile?: string;
|
|
8180
|
+
// 客诉处理员支付宝账号
|
|
8181
|
+
alipayLogonId?: string;
|
|
8182
|
+
// 客服电话
|
|
8183
|
+
customerServicePhone?: string;
|
|
8184
|
+
// 客服人员名称
|
|
8185
|
+
customerServiceName?: string;
|
|
8186
|
+
// 在线客服网址
|
|
8187
|
+
onlineSupportSiteUrl?: string;
|
|
8188
|
+
// 投诉问题
|
|
8189
|
+
customerComplaintIssues?: string;
|
|
8190
|
+
static names(): { [key: string]: string } {
|
|
8191
|
+
return {
|
|
8192
|
+
reqMsgId: 'req_msg_id',
|
|
8193
|
+
resultCode: 'result_code',
|
|
8194
|
+
resultMsg: 'result_msg',
|
|
8195
|
+
merchantId: 'merchant_id',
|
|
8196
|
+
merchantName: 'merchant_name',
|
|
8197
|
+
processType: 'process_type',
|
|
8198
|
+
serviceProviderName: 'service_provider_name',
|
|
8199
|
+
alipayBindMobile: 'alipay_bind_mobile',
|
|
8200
|
+
alipayLogonId: 'alipay_logon_id',
|
|
8201
|
+
customerServicePhone: 'customer_service_phone',
|
|
8202
|
+
customerServiceName: 'customer_service_name',
|
|
8203
|
+
onlineSupportSiteUrl: 'online_support_site_url',
|
|
8204
|
+
customerComplaintIssues: 'customer_complaint_issues',
|
|
8205
|
+
};
|
|
8206
|
+
}
|
|
8207
|
+
|
|
8208
|
+
static types(): { [key: string]: any } {
|
|
8209
|
+
return {
|
|
8210
|
+
reqMsgId: 'string',
|
|
8211
|
+
resultCode: 'string',
|
|
8212
|
+
resultMsg: 'string',
|
|
8213
|
+
merchantId: 'string',
|
|
8214
|
+
merchantName: 'string',
|
|
8215
|
+
processType: 'string',
|
|
8216
|
+
serviceProviderName: 'string',
|
|
8217
|
+
alipayBindMobile: 'string',
|
|
8218
|
+
alipayLogonId: 'string',
|
|
8219
|
+
customerServicePhone: 'string',
|
|
8220
|
+
customerServiceName: 'string',
|
|
8221
|
+
onlineSupportSiteUrl: 'string',
|
|
8222
|
+
customerComplaintIssues: 'string',
|
|
8223
|
+
};
|
|
8224
|
+
}
|
|
8225
|
+
|
|
8226
|
+
constructor(map?: { [key: string]: any }) {
|
|
8227
|
+
super(map);
|
|
8228
|
+
}
|
|
8229
|
+
}
|
|
8230
|
+
|
|
8231
|
+
export class GetInnerCustomerservicetemplateRequest extends $tea.Model {
|
|
8232
|
+
// OAuth模式下的授权token
|
|
8233
|
+
authToken?: string;
|
|
8234
|
+
productInstanceId?: string;
|
|
8235
|
+
// 租户id
|
|
8236
|
+
tenantId: string;
|
|
8237
|
+
// 进件类型
|
|
8238
|
+
// DIRECT("DIRECT", "直连进件模式")
|
|
8239
|
+
// AGENT("AGENT", "代理商进件模式")
|
|
8240
|
+
expandMode: string;
|
|
8241
|
+
// 处理类型:
|
|
8242
|
+
// MERCHANT_PROCESS("MERCHANT_PROCESS", "商家处理"),
|
|
8243
|
+
// PROXY_PROCESS("PROXY_PROCESS", "服务商代处理"),
|
|
8244
|
+
processType: string;
|
|
8245
|
+
static names(): { [key: string]: string } {
|
|
8246
|
+
return {
|
|
8247
|
+
authToken: 'auth_token',
|
|
8248
|
+
productInstanceId: 'product_instance_id',
|
|
8249
|
+
tenantId: 'tenant_id',
|
|
8250
|
+
expandMode: 'expand_mode',
|
|
8251
|
+
processType: 'process_type',
|
|
8252
|
+
};
|
|
8253
|
+
}
|
|
8254
|
+
|
|
8255
|
+
static types(): { [key: string]: any } {
|
|
8256
|
+
return {
|
|
8257
|
+
authToken: 'string',
|
|
8258
|
+
productInstanceId: 'string',
|
|
8259
|
+
tenantId: 'string',
|
|
8260
|
+
expandMode: 'string',
|
|
8261
|
+
processType: 'string',
|
|
8262
|
+
};
|
|
8263
|
+
}
|
|
8264
|
+
|
|
8265
|
+
constructor(map?: { [key: string]: any }) {
|
|
8266
|
+
super(map);
|
|
8267
|
+
}
|
|
8268
|
+
}
|
|
8269
|
+
|
|
8270
|
+
export class GetInnerCustomerservicetemplateResponse extends $tea.Model {
|
|
8271
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8272
|
+
reqMsgId?: string;
|
|
8273
|
+
// 结果码,一般OK表示调用成功
|
|
8274
|
+
resultCode?: string;
|
|
8275
|
+
// 异常信息的文本描述
|
|
8276
|
+
resultMsg?: string;
|
|
8277
|
+
// 服务商名称
|
|
8278
|
+
serviceProviderName?: string;
|
|
8279
|
+
// 客诉处理员支付宝绑定手机号
|
|
8280
|
+
alipayBindMobile?: string;
|
|
8281
|
+
// 客诉处理员支付宝账号
|
|
8282
|
+
alipayLogonId?: string;
|
|
8283
|
+
// 客服电话
|
|
8284
|
+
customerServicePhone?: string;
|
|
8285
|
+
// 客服人员名称
|
|
8286
|
+
customerServiceName?: string;
|
|
8287
|
+
// 在线客服网址
|
|
8288
|
+
onlineSupportSiteUrl?: string;
|
|
8289
|
+
// 投诉问题
|
|
8290
|
+
customerComplaintIssues?: string;
|
|
8291
|
+
static names(): { [key: string]: string } {
|
|
8292
|
+
return {
|
|
8293
|
+
reqMsgId: 'req_msg_id',
|
|
8294
|
+
resultCode: 'result_code',
|
|
8295
|
+
resultMsg: 'result_msg',
|
|
8296
|
+
serviceProviderName: 'service_provider_name',
|
|
8297
|
+
alipayBindMobile: 'alipay_bind_mobile',
|
|
8298
|
+
alipayLogonId: 'alipay_logon_id',
|
|
8299
|
+
customerServicePhone: 'customer_service_phone',
|
|
8300
|
+
customerServiceName: 'customer_service_name',
|
|
8301
|
+
onlineSupportSiteUrl: 'online_support_site_url',
|
|
8302
|
+
customerComplaintIssues: 'customer_complaint_issues',
|
|
8303
|
+
};
|
|
8304
|
+
}
|
|
8305
|
+
|
|
8306
|
+
static types(): { [key: string]: any } {
|
|
8307
|
+
return {
|
|
8308
|
+
reqMsgId: 'string',
|
|
8309
|
+
resultCode: 'string',
|
|
8310
|
+
resultMsg: 'string',
|
|
8311
|
+
serviceProviderName: 'string',
|
|
8312
|
+
alipayBindMobile: 'string',
|
|
8313
|
+
alipayLogonId: 'string',
|
|
8314
|
+
customerServicePhone: 'string',
|
|
8315
|
+
customerServiceName: 'string',
|
|
8316
|
+
onlineSupportSiteUrl: 'string',
|
|
8317
|
+
customerComplaintIssues: 'string',
|
|
8318
|
+
};
|
|
8319
|
+
}
|
|
8320
|
+
|
|
8321
|
+
constructor(map?: { [key: string]: any }) {
|
|
8322
|
+
super(map);
|
|
8323
|
+
}
|
|
8324
|
+
}
|
|
8325
|
+
|
|
8326
|
+
export class CreateInsureRequest extends $tea.Model {
|
|
8327
|
+
// OAuth模式下的授权token
|
|
8328
|
+
authToken?: string;
|
|
8329
|
+
productInstanceId?: string;
|
|
8330
|
+
// 商户的订单号,后续用作和保单结果交互
|
|
8331
|
+
orderId: string;
|
|
8332
|
+
// 风控业务流水号
|
|
8333
|
+
riskFlowId: string;
|
|
8334
|
+
// 保险公司枚举,PA:平安保险
|
|
8335
|
+
insureCompanyType: string;
|
|
8336
|
+
// 保险类型枚举,PERFORMANCE:履约
|
|
8337
|
+
insureProductType: string;
|
|
8338
|
+
// 投保商品信息列表
|
|
8339
|
+
productInfoList: InsureProductInfo[];
|
|
8340
|
+
// 发货方式枚举,可选值:
|
|
8341
|
+
// EXPRESS-物流发货
|
|
8342
|
+
// OFFLINE-线下交易
|
|
8343
|
+
deliveryType: string;
|
|
8344
|
+
// 公司联系人姓名,RSA 加密传输
|
|
8345
|
+
contactName: string;
|
|
8346
|
+
// 公司联系人手机号,RSA 加密传输
|
|
8347
|
+
contactMobile: string;
|
|
8348
|
+
// 实人认证业务流水号
|
|
8349
|
+
facevrfFlowId?: string;
|
|
8350
|
+
// 物流单号,非必填参数。如果选择的物流发货方式为 EXPRESS(物流发货),则该字段必填。
|
|
8351
|
+
logisticsNumber?: string;
|
|
8352
|
+
// 交易时间,非必填参数。如果发货方式为 OFFLINE(线下交易),则该字段必填。
|
|
8353
|
+
tradeTime?: string;
|
|
8354
|
+
// 公司地址信息,此处填写的地址信息为投保时最高优先级地址,其次为公司进件时填写的地址信息。如果取不到明确地址信息,投保会失败。
|
|
8355
|
+
address?: string;
|
|
8356
|
+
static names(): { [key: string]: string } {
|
|
8357
|
+
return {
|
|
8358
|
+
authToken: 'auth_token',
|
|
8359
|
+
productInstanceId: 'product_instance_id',
|
|
8360
|
+
orderId: 'order_id',
|
|
8361
|
+
riskFlowId: 'risk_flow_id',
|
|
8362
|
+
insureCompanyType: 'insure_company_type',
|
|
8363
|
+
insureProductType: 'insure_product_type',
|
|
8364
|
+
productInfoList: 'product_info_list',
|
|
8365
|
+
deliveryType: 'delivery_type',
|
|
8366
|
+
contactName: 'contact_name',
|
|
8367
|
+
contactMobile: 'contact_mobile',
|
|
8368
|
+
facevrfFlowId: 'facevrf_flow_id',
|
|
8369
|
+
logisticsNumber: 'logistics_number',
|
|
8370
|
+
tradeTime: 'trade_time',
|
|
8371
|
+
address: 'address',
|
|
8372
|
+
};
|
|
8373
|
+
}
|
|
8374
|
+
|
|
8375
|
+
static types(): { [key: string]: any } {
|
|
8376
|
+
return {
|
|
8377
|
+
authToken: 'string',
|
|
8378
|
+
productInstanceId: 'string',
|
|
8379
|
+
orderId: 'string',
|
|
8380
|
+
riskFlowId: 'string',
|
|
8381
|
+
insureCompanyType: 'string',
|
|
8382
|
+
insureProductType: 'string',
|
|
8383
|
+
productInfoList: { 'type': 'array', 'itemType': InsureProductInfo },
|
|
8384
|
+
deliveryType: 'string',
|
|
8385
|
+
contactName: 'string',
|
|
8386
|
+
contactMobile: 'string',
|
|
8387
|
+
facevrfFlowId: 'string',
|
|
8388
|
+
logisticsNumber: 'string',
|
|
8389
|
+
tradeTime: 'string',
|
|
8390
|
+
address: 'string',
|
|
8391
|
+
};
|
|
8392
|
+
}
|
|
8393
|
+
|
|
8394
|
+
constructor(map?: { [key: string]: any }) {
|
|
8395
|
+
super(map);
|
|
8396
|
+
}
|
|
8397
|
+
}
|
|
8398
|
+
|
|
8399
|
+
export class CreateInsureResponse extends $tea.Model {
|
|
8400
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8401
|
+
reqMsgId?: string;
|
|
8402
|
+
// 结果码,一般OK表示调用成功
|
|
8403
|
+
resultCode?: string;
|
|
8404
|
+
// 异常信息的文本描述
|
|
8405
|
+
resultMsg?: string;
|
|
8406
|
+
static names(): { [key: string]: string } {
|
|
8407
|
+
return {
|
|
8408
|
+
reqMsgId: 'req_msg_id',
|
|
8409
|
+
resultCode: 'result_code',
|
|
8410
|
+
resultMsg: 'result_msg',
|
|
8411
|
+
};
|
|
8412
|
+
}
|
|
8413
|
+
|
|
8414
|
+
static types(): { [key: string]: any } {
|
|
8415
|
+
return {
|
|
8416
|
+
reqMsgId: 'string',
|
|
8417
|
+
resultCode: 'string',
|
|
8418
|
+
resultMsg: 'string',
|
|
8419
|
+
};
|
|
8420
|
+
}
|
|
8421
|
+
|
|
8422
|
+
constructor(map?: { [key: string]: any }) {
|
|
8423
|
+
super(map);
|
|
8424
|
+
}
|
|
8425
|
+
}
|
|
8426
|
+
|
|
8427
|
+
export class QueryInsureRequest extends $tea.Model {
|
|
8428
|
+
// OAuth模式下的授权token
|
|
8429
|
+
authToken?: string;
|
|
8430
|
+
productInstanceId?: string;
|
|
8431
|
+
// 商户的订单号
|
|
8432
|
+
orderId: string;
|
|
8433
|
+
// 保险类型枚举,PERFORMANCE:履约
|
|
8434
|
+
insureProductType: string;
|
|
8435
|
+
// 保险公司枚举,PA:平安保险
|
|
8436
|
+
insureCompanyType: string;
|
|
8437
|
+
static names(): { [key: string]: string } {
|
|
8438
|
+
return {
|
|
8439
|
+
authToken: 'auth_token',
|
|
8440
|
+
productInstanceId: 'product_instance_id',
|
|
8441
|
+
orderId: 'order_id',
|
|
8442
|
+
insureProductType: 'insure_product_type',
|
|
8443
|
+
insureCompanyType: 'insure_company_type',
|
|
8444
|
+
};
|
|
8445
|
+
}
|
|
8446
|
+
|
|
8447
|
+
static types(): { [key: string]: any } {
|
|
8448
|
+
return {
|
|
8449
|
+
authToken: 'string',
|
|
8450
|
+
productInstanceId: 'string',
|
|
8451
|
+
orderId: 'string',
|
|
8452
|
+
insureProductType: 'string',
|
|
8453
|
+
insureCompanyType: 'string',
|
|
7907
8454
|
};
|
|
7908
8455
|
}
|
|
7909
8456
|
|
|
@@ -8695,13 +9242,7 @@ export class SubmitSignFlowRequest extends $tea.Model {
|
|
|
8695
9242
|
businessScene: string;
|
|
8696
9243
|
// 签署完成跳转链接
|
|
8697
9244
|
signedRedirectUrl?: string;
|
|
8698
|
-
// 签署的电子合同模板信息,
|
|
8699
|
-
// {
|
|
8700
|
-
// templateId:__, // String格式
|
|
8701
|
-
// templateArgs: {
|
|
8702
|
-
// "模板参数key":"模板参数值", // 必须为String
|
|
8703
|
-
// }
|
|
8704
|
-
// }
|
|
9245
|
+
// 签署的电子合同模板信息,JSONArray格式,可以传入多个templateId和templateArgs。注意templateArgs的格式为key-value,其中key为模板文件中表单域的名称,value为需要填充的值。
|
|
8705
9246
|
templateList: string;
|
|
8706
9247
|
// 用户的支付宝uid
|
|
8707
9248
|
alipayUserId?: string;
|
|
@@ -8721,12 +9262,20 @@ export class SubmitSignFlowRequest extends $tea.Model {
|
|
|
8721
9262
|
merchantLegalName?: string;
|
|
8722
9263
|
// 法人证件号,需要采用RSA加密传输
|
|
8723
9264
|
merchantLegalIdNumber?: string;
|
|
8724
|
-
//
|
|
9265
|
+
// 除商户以外的第三方签署信息,需要通过此字段传入,需要使用JSONArray格式。注意其中orgIdNumber、orgLegalName、orgLegalIdNumber需要RSA加密。
|
|
8725
9266
|
thirdSigner?: string;
|
|
8726
9267
|
// 支付宝用户 open_id
|
|
8727
9268
|
userOpenId?: string;
|
|
8728
9269
|
// 商户支付宝应用 id
|
|
8729
9270
|
merchantAppId?: string;
|
|
9271
|
+
// (企业作为消费者时)公司名称
|
|
9272
|
+
userOrgName?: string;
|
|
9273
|
+
// (企业作为消费者时)公司证件类型
|
|
9274
|
+
userOrgIdType?: string;
|
|
9275
|
+
// (企业作为消费者时)公司证件号,无需加密
|
|
9276
|
+
userOrgIdNumber?: string;
|
|
9277
|
+
// 用户类型,个人或企业,默认是个人
|
|
9278
|
+
userType?: string;
|
|
8730
9279
|
static names(): { [key: string]: string } {
|
|
8731
9280
|
return {
|
|
8732
9281
|
authToken: 'auth_token',
|
|
@@ -8754,6 +9303,10 @@ export class SubmitSignFlowRequest extends $tea.Model {
|
|
|
8754
9303
|
thirdSigner: 'third_signer',
|
|
8755
9304
|
userOpenId: 'user_open_id',
|
|
8756
9305
|
merchantAppId: 'merchant_app_id',
|
|
9306
|
+
userOrgName: 'user_org_name',
|
|
9307
|
+
userOrgIdType: 'user_org_id_type',
|
|
9308
|
+
userOrgIdNumber: 'user_org_id_number',
|
|
9309
|
+
userType: 'user_type',
|
|
8757
9310
|
};
|
|
8758
9311
|
}
|
|
8759
9312
|
|
|
@@ -8784,6 +9337,10 @@ export class SubmitSignFlowRequest extends $tea.Model {
|
|
|
8784
9337
|
thirdSigner: 'string',
|
|
8785
9338
|
userOpenId: 'string',
|
|
8786
9339
|
merchantAppId: 'string',
|
|
9340
|
+
userOrgName: 'string',
|
|
9341
|
+
userOrgIdType: 'string',
|
|
9342
|
+
userOrgIdNumber: 'string',
|
|
9343
|
+
userType: 'string',
|
|
8787
9344
|
};
|
|
8788
9345
|
}
|
|
8789
9346
|
|
|
@@ -8805,7 +9362,7 @@ export class SubmitSignFlowResponse extends $tea.Model {
|
|
|
8805
9362
|
flowId?: string;
|
|
8806
9363
|
// 签署用户ID
|
|
8807
9364
|
accountId?: string;
|
|
8808
|
-
//
|
|
9365
|
+
// 签署信息,包括短链接、长链接、小程序链接等。
|
|
8809
9366
|
signInfo?: string;
|
|
8810
9367
|
static names(): { [key: string]: string } {
|
|
8811
9368
|
return {
|
|
@@ -9568,6 +10125,65 @@ export class CancelSignFlowResponse extends $tea.Model {
|
|
|
9568
10125
|
}
|
|
9569
10126
|
}
|
|
9570
10127
|
|
|
10128
|
+
export class GetSignContractcertificateRequest extends $tea.Model {
|
|
10129
|
+
// OAuth模式下的授权token
|
|
10130
|
+
authToken?: string;
|
|
10131
|
+
productInstanceId?: string;
|
|
10132
|
+
// 流程id
|
|
10133
|
+
flowId: string;
|
|
10134
|
+
static names(): { [key: string]: string } {
|
|
10135
|
+
return {
|
|
10136
|
+
authToken: 'auth_token',
|
|
10137
|
+
productInstanceId: 'product_instance_id',
|
|
10138
|
+
flowId: 'flow_id',
|
|
10139
|
+
};
|
|
10140
|
+
}
|
|
10141
|
+
|
|
10142
|
+
static types(): { [key: string]: any } {
|
|
10143
|
+
return {
|
|
10144
|
+
authToken: 'string',
|
|
10145
|
+
productInstanceId: 'string',
|
|
10146
|
+
flowId: 'string',
|
|
10147
|
+
};
|
|
10148
|
+
}
|
|
10149
|
+
|
|
10150
|
+
constructor(map?: { [key: string]: any }) {
|
|
10151
|
+
super(map);
|
|
10152
|
+
}
|
|
10153
|
+
}
|
|
10154
|
+
|
|
10155
|
+
export class GetSignContractcertificateResponse extends $tea.Model {
|
|
10156
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
10157
|
+
reqMsgId?: string;
|
|
10158
|
+
// 结果码,一般OK表示调用成功
|
|
10159
|
+
resultCode?: string;
|
|
10160
|
+
// 异常信息的文本描述
|
|
10161
|
+
resultMsg?: string;
|
|
10162
|
+
// 下载文件地址(一小时内有效)
|
|
10163
|
+
url?: string;
|
|
10164
|
+
static names(): { [key: string]: string } {
|
|
10165
|
+
return {
|
|
10166
|
+
reqMsgId: 'req_msg_id',
|
|
10167
|
+
resultCode: 'result_code',
|
|
10168
|
+
resultMsg: 'result_msg',
|
|
10169
|
+
url: 'url',
|
|
10170
|
+
};
|
|
10171
|
+
}
|
|
10172
|
+
|
|
10173
|
+
static types(): { [key: string]: any } {
|
|
10174
|
+
return {
|
|
10175
|
+
reqMsgId: 'string',
|
|
10176
|
+
resultCode: 'string',
|
|
10177
|
+
resultMsg: 'string',
|
|
10178
|
+
url: 'string',
|
|
10179
|
+
};
|
|
10180
|
+
}
|
|
10181
|
+
|
|
10182
|
+
constructor(map?: { [key: string]: any }) {
|
|
10183
|
+
super(map);
|
|
10184
|
+
}
|
|
10185
|
+
}
|
|
10186
|
+
|
|
9571
10187
|
export class SyncTradeRequest extends $tea.Model {
|
|
9572
10188
|
// OAuth模式下的授权token
|
|
9573
10189
|
authToken?: string;
|
|
@@ -11000,6 +11616,8 @@ export class QueryWithholdActivepayRequest extends $tea.Model {
|
|
|
11000
11616
|
tradeNo?: string;
|
|
11001
11617
|
// 支付类型
|
|
11002
11618
|
payType?: string;
|
|
11619
|
+
// 支付渠道,非必填。可选值:JSAPI-JSAPI支付,APP-APP支付。默认值:JSAPI
|
|
11620
|
+
payChannel?: string;
|
|
11003
11621
|
static names(): { [key: string]: string } {
|
|
11004
11622
|
return {
|
|
11005
11623
|
authToken: 'auth_token',
|
|
@@ -11008,6 +11626,7 @@ export class QueryWithholdActivepayRequest extends $tea.Model {
|
|
|
11008
11626
|
periodNum: 'period_num',
|
|
11009
11627
|
tradeNo: 'trade_no',
|
|
11010
11628
|
payType: 'pay_type',
|
|
11629
|
+
payChannel: 'pay_channel',
|
|
11011
11630
|
};
|
|
11012
11631
|
}
|
|
11013
11632
|
|
|
@@ -11019,6 +11638,7 @@ export class QueryWithholdActivepayRequest extends $tea.Model {
|
|
|
11019
11638
|
periodNum: 'number',
|
|
11020
11639
|
tradeNo: 'string',
|
|
11021
11640
|
payType: 'string',
|
|
11641
|
+
payChannel: 'string',
|
|
11022
11642
|
};
|
|
11023
11643
|
}
|
|
11024
11644
|
|
|
@@ -11599,7 +12219,7 @@ export default class Client {
|
|
|
11599
12219
|
req_msg_id: AntchainUtil.getNonce(),
|
|
11600
12220
|
access_key: this._accessKeyId,
|
|
11601
12221
|
base_sdk_version: "TeaSDK-2.0",
|
|
11602
|
-
sdk_version: "1.10.
|
|
12222
|
+
sdk_version: "1.10.37",
|
|
11603
12223
|
_prod_code: "ATO",
|
|
11604
12224
|
_prod_channel: "undefined",
|
|
11605
12225
|
};
|
|
@@ -13229,6 +13849,101 @@ export default class Client {
|
|
|
13229
13849
|
return $tea.cast<BatchqueryInnerMarketingscoreResponse>(await this.doRequest("1.0", "antchain.ato.inner.marketingscore.batchquery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new BatchqueryInnerMarketingscoreResponse({}));
|
|
13230
13850
|
}
|
|
13231
13851
|
|
|
13852
|
+
/**
|
|
13853
|
+
* Description: 创建客服信息
|
|
13854
|
+
* Summary: 创建客服信息
|
|
13855
|
+
*/
|
|
13856
|
+
async createInnerCustomerservice(request: CreateInnerCustomerserviceRequest): Promise<CreateInnerCustomerserviceResponse> {
|
|
13857
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
13858
|
+
let headers : {[key: string ]: string} = { };
|
|
13859
|
+
return await this.createInnerCustomerserviceEx(request, headers, runtime);
|
|
13860
|
+
}
|
|
13861
|
+
|
|
13862
|
+
/**
|
|
13863
|
+
* Description: 创建客服信息
|
|
13864
|
+
* Summary: 创建客服信息
|
|
13865
|
+
*/
|
|
13866
|
+
async createInnerCustomerserviceEx(request: CreateInnerCustomerserviceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateInnerCustomerserviceResponse> {
|
|
13867
|
+
Util.validateModel(request);
|
|
13868
|
+
return $tea.cast<CreateInnerCustomerserviceResponse>(await this.doRequest("1.0", "antchain.ato.inner.customerservice.create", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CreateInnerCustomerserviceResponse({}));
|
|
13869
|
+
}
|
|
13870
|
+
|
|
13871
|
+
/**
|
|
13872
|
+
* Description: 更新客服信息
|
|
13873
|
+
* Summary: 更新客服信息
|
|
13874
|
+
*/
|
|
13875
|
+
async updateInnerCustomerservice(request: UpdateInnerCustomerserviceRequest): Promise<UpdateInnerCustomerserviceResponse> {
|
|
13876
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
13877
|
+
let headers : {[key: string ]: string} = { };
|
|
13878
|
+
return await this.updateInnerCustomerserviceEx(request, headers, runtime);
|
|
13879
|
+
}
|
|
13880
|
+
|
|
13881
|
+
/**
|
|
13882
|
+
* Description: 更新客服信息
|
|
13883
|
+
* Summary: 更新客服信息
|
|
13884
|
+
*/
|
|
13885
|
+
async updateInnerCustomerserviceEx(request: UpdateInnerCustomerserviceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateInnerCustomerserviceResponse> {
|
|
13886
|
+
Util.validateModel(request);
|
|
13887
|
+
return $tea.cast<UpdateInnerCustomerserviceResponse>(await this.doRequest("1.0", "antchain.ato.inner.customerservice.update", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UpdateInnerCustomerserviceResponse({}));
|
|
13888
|
+
}
|
|
13889
|
+
|
|
13890
|
+
/**
|
|
13891
|
+
* Description: 分页查询客服信息
|
|
13892
|
+
* Summary: 分页查询客服信息
|
|
13893
|
+
*/
|
|
13894
|
+
async pagequeryInnerCustomerservice(request: PagequeryInnerCustomerserviceRequest): Promise<PagequeryInnerCustomerserviceResponse> {
|
|
13895
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
13896
|
+
let headers : {[key: string ]: string} = { };
|
|
13897
|
+
return await this.pagequeryInnerCustomerserviceEx(request, headers, runtime);
|
|
13898
|
+
}
|
|
13899
|
+
|
|
13900
|
+
/**
|
|
13901
|
+
* Description: 分页查询客服信息
|
|
13902
|
+
* Summary: 分页查询客服信息
|
|
13903
|
+
*/
|
|
13904
|
+
async pagequeryInnerCustomerserviceEx(request: PagequeryInnerCustomerserviceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PagequeryInnerCustomerserviceResponse> {
|
|
13905
|
+
Util.validateModel(request);
|
|
13906
|
+
return $tea.cast<PagequeryInnerCustomerserviceResponse>(await this.doRequest("1.0", "antchain.ato.inner.customerservice.pagequery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PagequeryInnerCustomerserviceResponse({}));
|
|
13907
|
+
}
|
|
13908
|
+
|
|
13909
|
+
/**
|
|
13910
|
+
* Description: 获取客服信息详情
|
|
13911
|
+
* Summary: 获取客服信息详情
|
|
13912
|
+
*/
|
|
13913
|
+
async detailInnerCustomerservice(request: DetailInnerCustomerserviceRequest): Promise<DetailInnerCustomerserviceResponse> {
|
|
13914
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
13915
|
+
let headers : {[key: string ]: string} = { };
|
|
13916
|
+
return await this.detailInnerCustomerserviceEx(request, headers, runtime);
|
|
13917
|
+
}
|
|
13918
|
+
|
|
13919
|
+
/**
|
|
13920
|
+
* Description: 获取客服信息详情
|
|
13921
|
+
* Summary: 获取客服信息详情
|
|
13922
|
+
*/
|
|
13923
|
+
async detailInnerCustomerserviceEx(request: DetailInnerCustomerserviceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DetailInnerCustomerserviceResponse> {
|
|
13924
|
+
Util.validateModel(request);
|
|
13925
|
+
return $tea.cast<DetailInnerCustomerserviceResponse>(await this.doRequest("1.0", "antchain.ato.inner.customerservice.detail", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new DetailInnerCustomerserviceResponse({}));
|
|
13926
|
+
}
|
|
13927
|
+
|
|
13928
|
+
/**
|
|
13929
|
+
* Description: 获取代理商客服信息模版
|
|
13930
|
+
* Summary: 获取代理商客服信息模版
|
|
13931
|
+
*/
|
|
13932
|
+
async getInnerCustomerservicetemplate(request: GetInnerCustomerservicetemplateRequest): Promise<GetInnerCustomerservicetemplateResponse> {
|
|
13933
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
13934
|
+
let headers : {[key: string ]: string} = { };
|
|
13935
|
+
return await this.getInnerCustomerservicetemplateEx(request, headers, runtime);
|
|
13936
|
+
}
|
|
13937
|
+
|
|
13938
|
+
/**
|
|
13939
|
+
* Description: 获取代理商客服信息模版
|
|
13940
|
+
* Summary: 获取代理商客服信息模版
|
|
13941
|
+
*/
|
|
13942
|
+
async getInnerCustomerservicetemplateEx(request: GetInnerCustomerservicetemplateRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetInnerCustomerservicetemplateResponse> {
|
|
13943
|
+
Util.validateModel(request);
|
|
13944
|
+
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({}));
|
|
13945
|
+
}
|
|
13946
|
+
|
|
13232
13947
|
/**
|
|
13233
13948
|
* Description: 一键投保
|
|
13234
13949
|
* Summary: 投保
|
|
@@ -13653,6 +14368,25 @@ export default class Client {
|
|
|
13653
14368
|
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({}));
|
|
13654
14369
|
}
|
|
13655
14370
|
|
|
14371
|
+
/**
|
|
14372
|
+
* Description: 获取合同存证证明
|
|
14373
|
+
* Summary: 获取合同存证证明
|
|
14374
|
+
*/
|
|
14375
|
+
async getSignContractcertificate(request: GetSignContractcertificateRequest): Promise<GetSignContractcertificateResponse> {
|
|
14376
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
14377
|
+
let headers : {[key: string ]: string} = { };
|
|
14378
|
+
return await this.getSignContractcertificateEx(request, headers, runtime);
|
|
14379
|
+
}
|
|
14380
|
+
|
|
14381
|
+
/**
|
|
14382
|
+
* Description: 获取合同存证证明
|
|
14383
|
+
* Summary: 获取合同存证证明
|
|
14384
|
+
*/
|
|
14385
|
+
async getSignContractcertificateEx(request: GetSignContractcertificateRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetSignContractcertificateResponse> {
|
|
14386
|
+
Util.validateModel(request);
|
|
14387
|
+
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({}));
|
|
14388
|
+
}
|
|
14389
|
+
|
|
13656
14390
|
/**
|
|
13657
14391
|
* Description: 对账saas交易信息同步接口
|
|
13658
14392
|
* Summary: 对账saas交易信息同步接口
|