@antchain/ato 1.9.73 → 1.10.24

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/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 - 共租风险。
@@ -169,23 +194,43 @@ export class StaticDataModuleDetail extends $tea.Model {
169
194
  }
170
195
  }
171
196
 
172
- // 文件信息
173
- export class FileInfo extends $tea.Model {
174
- // 文件名称
175
- fileName: string;
176
- // 文件key
177
- fileKey: string;
197
+ // 站点信息
198
+ export class SiteInfo extends $tea.Model {
199
+ // 小程序id
200
+ tinyAppId?: string;
201
+ // 站点名称
202
+ siteName?: string;
203
+ //
204
+ // 截图照片
205
+ screenshotFile?: FileInfo;
206
+ // 站点地址
207
+ siteUrl?: string;
208
+ // 站点类型
209
+ // 网站: 01
210
+ // APP: 02
211
+ // 服务窗: 03
212
+ // 公众号: 04
213
+ // 其他: 05
214
+ // 支付宝小程序: 06
215
+ // 手机网站/H5: 07
216
+ siteType?: string;
178
217
  static names(): { [key: string]: string } {
179
218
  return {
180
- fileName: 'file_name',
181
- fileKey: 'file_key',
219
+ tinyAppId: 'tiny_app_id',
220
+ siteName: 'site_name',
221
+ screenshotFile: 'screenshot_file',
222
+ siteUrl: 'site_url',
223
+ siteType: 'site_type',
182
224
  };
183
225
  }
184
226
 
185
227
  static types(): { [key: string]: any } {
186
228
  return {
187
- fileName: 'string',
188
- fileKey: 'string',
229
+ tinyAppId: 'string',
230
+ siteName: 'string',
231
+ screenshotFile: FileInfo,
232
+ siteUrl: 'string',
233
+ siteType: 'string',
189
234
  };
190
235
  }
191
236
 
@@ -364,6 +409,27 @@ export class UserPerformanceInfo extends $tea.Model {
364
409
  }
365
410
  }
366
411
 
412
+ // 营销分查询对象
413
+ export class MarketingScoreQueryInfo extends $tea.Model {
414
+ // 手机号码
415
+ phoneNum?: string;
416
+ static names(): { [key: string]: string } {
417
+ return {
418
+ phoneNum: 'phone_num',
419
+ };
420
+ }
421
+
422
+ static types(): { [key: string]: any } {
423
+ return {
424
+ phoneNum: 'string',
425
+ };
426
+ }
427
+
428
+ constructor(map?: { [key: string]: any }) {
429
+ super(map);
430
+ }
431
+ }
432
+
367
433
  // 投保商品信息
368
434
  export class InsureProductInfo extends $tea.Model {
369
435
  // 商品库id
@@ -426,6 +492,59 @@ export class RiskStrategy extends $tea.Model {
426
492
  }
427
493
  }
428
494
 
495
+ // 模板组件(文本域)
496
+ export class TemplateComponent extends $tea.Model {
497
+ // 模板编码
498
+ templateCode: string;
499
+ // 组件(文本域)id
500
+ id: string;
501
+ // 组件(文本域)名称
502
+ name: string;
503
+ // 组件(文本域)的唯一标识
504
+ uk?: string;
505
+ // 占位符,组件(文本域)的展示样式值
506
+ placeholder?: string;
507
+ // 组件(文本域)是否可以编辑。取值:Y/N
508
+ enableEdit?: string;
509
+ // 是否必填,取值:Y/N
510
+ required?: string;
511
+ // 组件(文本域)类型,INPUT:单行文本 TEXTAREA:多行文本
512
+ type?: string;
513
+ // 组件(文本域)值
514
+ value: string;
515
+ static names(): { [key: string]: string } {
516
+ return {
517
+ templateCode: 'template_code',
518
+ id: 'id',
519
+ name: 'name',
520
+ uk: 'uk',
521
+ placeholder: 'placeholder',
522
+ enableEdit: 'enable_edit',
523
+ required: 'required',
524
+ type: 'type',
525
+ value: 'value',
526
+ };
527
+ }
528
+
529
+ static types(): { [key: string]: any } {
530
+ return {
531
+ templateCode: 'string',
532
+ id: 'string',
533
+ name: 'string',
534
+ uk: 'string',
535
+ placeholder: 'string',
536
+ enableEdit: 'string',
537
+ required: 'string',
538
+ type: 'string',
539
+ value: 'string',
540
+ };
541
+ }
542
+
543
+ constructor(map?: { [key: string]: any }) {
544
+ super(map);
545
+ }
546
+ }
547
+
429
548
  // 保单信息
430
549
  export class InsureOrderInfo extends $tea.Model {
431
550
  // 商家订单ID
@@ -444,6 +563,10 @@ export class InsureOrderInfo extends $tea.Model {
444
563
  insurePremium?: number;
445
564
  // 投保状态枚举
446
565
  status?: string;
566
+ // 电子保单下载链接
567
+ policyUrl?: string;
568
+ // 验真码
569
+ validateCode?: string;
447
570
  static names(): { [key: string]: string } {
448
571
  return {
449
572
  orderId: 'order_id',
@@ -454,6 +577,8 @@ export class InsureOrderInfo extends $tea.Model {
454
577
  insureAmount: 'insure_amount',
455
578
  insurePremium: 'insure_premium',
456
579
  status: 'status',
580
+ policyUrl: 'policy_url',
581
+ validateCode: 'validate_code',
457
582
  };
458
583
  }
459
584
 
@@ -467,6 +592,33 @@ export class InsureOrderInfo extends $tea.Model {
467
592
  insureAmount: 'number',
468
593
  insurePremium: 'number',
469
594
  status: 'string',
595
+ policyUrl: 'string',
596
+ validateCode: 'string',
597
+ };
598
+ }
599
+
600
+ constructor(map?: { [key: string]: any }) {
601
+ super(map);
602
+ }
603
+ }
604
+
605
+ // 营销分对象
606
+ export class MarketingScoreInfo extends $tea.Model {
607
+ // 手机号
608
+ phoneNum?: string;
609
+ // 营销分
610
+ score?: string;
611
+ static names(): { [key: string]: string } {
612
+ return {
613
+ phoneNum: 'phone_num',
614
+ score: 'score',
615
+ };
616
+ }
617
+
618
+ static types(): { [key: string]: any } {
619
+ return {
620
+ phoneNum: 'string',
621
+ score: 'string',
470
622
  };
471
623
  }
472
624
 
@@ -1079,6 +1231,65 @@ export class DeliveryDetail extends $tea.Model {
1079
1231
  }
1080
1232
  }
1081
1233
 
1234
+ // 客服信息
1235
+ export class CustomerServiceInfo extends $tea.Model {
1236
+ // 公司社会统一信息代码
1237
+ merchantId?: string;
1238
+ // 公司名称
1239
+ merchantName?: string;
1240
+ // 处理类型: 商家处理 服务商代处理
1241
+ processType?: string;
1242
+ static names(): { [key: string]: string } {
1243
+ return {
1244
+ merchantId: 'merchant_id',
1245
+ merchantName: 'merchant_name',
1246
+ processType: 'process_type',
1247
+ };
1248
+ }
1249
+
1250
+ static types(): { [key: string]: any } {
1251
+ return {
1252
+ merchantId: 'string',
1253
+ merchantName: 'string',
1254
+ processType: 'string',
1255
+ };
1256
+ }
1257
+
1258
+ constructor(map?: { [key: string]: any }) {
1259
+ super(map);
1260
+ }
1261
+ }
1262
+
1263
+ // 经营分账收入模型
1264
+ export class OperationDivideTransInModel extends $tea.Model {
1265
+ // 分账收入方支付宝用户id, 支付宝2088id
1266
+ transInUserId: string;
1267
+ // 分账金额,单位为分
1268
+ //
1269
+ divideAmount: number;
1270
+ // 分账描述
1271
+ desc?: string;
1272
+ static names(): { [key: string]: string } {
1273
+ return {
1274
+ transInUserId: 'trans_in_user_id',
1275
+ divideAmount: 'divide_amount',
1276
+ desc: 'desc',
1277
+ };
1278
+ }
1279
+
1280
+ static types(): { [key: string]: any } {
1281
+ return {
1282
+ transInUserId: 'string',
1283
+ divideAmount: 'number',
1284
+ desc: 'string',
1285
+ };
1286
+ }
1287
+
1288
+ constructor(map?: { [key: string]: any }) {
1289
+ super(map);
1290
+ }
1291
+ }
1292
+
1082
1293
  // 租户协议分页对象
1083
1294
  export class AgreementPage extends $tea.Model {
1084
1295
  // 协议id
@@ -1387,6 +1598,8 @@ export class ApplicationInfo extends $tea.Model {
1387
1598
  // 商户服务描述。
1388
1599
  // 修改后的商户服务描述,将同步支付宝代扣签约页面字段展示
1389
1600
  merchantServiceDesc: string;
1601
+ // 站点信息
1602
+ siteInfo?: SiteInfo[];
1390
1603
  static names(): { [key: string]: string } {
1391
1604
  return {
1392
1605
  applicationScene: 'application_scene',
@@ -1396,6 +1609,7 @@ export class ApplicationInfo extends $tea.Model {
1396
1609
  merchantName: 'merchant_name',
1397
1610
  merchantServiceName: 'merchant_service_name',
1398
1611
  merchantServiceDesc: 'merchant_service_desc',
1612
+ siteInfo: 'site_info',
1399
1613
  };
1400
1614
  }
1401
1615
 
@@ -1408,6 +1622,7 @@ export class ApplicationInfo extends $tea.Model {
1408
1622
  merchantName: 'string',
1409
1623
  merchantServiceName: 'string',
1410
1624
  merchantServiceDesc: 'string',
1625
+ siteInfo: { 'type': 'array', 'itemType': SiteInfo },
1411
1626
  };
1412
1627
  }
1413
1628
 
@@ -3176,6 +3391,73 @@ export class SyncFundFinanceprecheckresultResponse extends $tea.Model {
3176
3391
  }
3177
3392
  }
3178
3393
 
3394
+ export class QueryFundCompensateaccountRequest extends $tea.Model {
3395
+ // OAuth模式下的授权token
3396
+ authToken?: string;
3397
+ productInstanceId?: string;
3398
+ // 资方社会信用代码
3399
+ fundId: string;
3400
+ // 商户社会信用代码
3401
+ merchantId: string;
3402
+ // 商户租户id
3403
+ merchantTenantId: string;
3404
+ static names(): { [key: string]: string } {
3405
+ return {
3406
+ authToken: 'auth_token',
3407
+ productInstanceId: 'product_instance_id',
3408
+ fundId: 'fund_id',
3409
+ merchantId: 'merchant_id',
3410
+ merchantTenantId: 'merchant_tenant_id',
3411
+ };
3412
+ }
3413
+
3414
+ static types(): { [key: string]: any } {
3415
+ return {
3416
+ authToken: 'string',
3417
+ productInstanceId: 'string',
3418
+ fundId: 'string',
3419
+ merchantId: 'string',
3420
+ merchantTenantId: 'string',
3421
+ };
3422
+ }
3423
+
3424
+ constructor(map?: { [key: string]: any }) {
3425
+ super(map);
3426
+ }
3427
+ }
3428
+
3429
+ export class QueryFundCompensateaccountResponse extends $tea.Model {
3430
+ // 请求唯一ID,用于链路跟踪和问题排查
3431
+ reqMsgId?: string;
3432
+ // 结果码,一般OK表示调用成功
3433
+ resultCode?: string;
3434
+ // 异常信息的文本描述
3435
+ resultMsg?: string;
3436
+ // 可用余额,单位为分
3437
+ availableAmount?: number;
3438
+ static names(): { [key: string]: string } {
3439
+ return {
3440
+ reqMsgId: 'req_msg_id',
3441
+ resultCode: 'result_code',
3442
+ resultMsg: 'result_msg',
3443
+ availableAmount: 'available_amount',
3444
+ };
3445
+ }
3446
+
3447
+ static types(): { [key: string]: any } {
3448
+ return {
3449
+ reqMsgId: 'string',
3450
+ resultCode: 'string',
3451
+ resultMsg: 'string',
3452
+ availableAmount: 'number',
3453
+ };
3454
+ }
3455
+
3456
+ constructor(map?: { [key: string]: any }) {
3457
+ super(map);
3458
+ }
3459
+ }
3460
+
3179
3461
  export class GetInnerProductRequest extends $tea.Model {
3180
3462
  // OAuth模式下的授权token
3181
3463
  authToken?: string;
@@ -5358,6 +5640,8 @@ export class QueryInnerMerchantpayexpandResponse extends $tea.Model {
5358
5640
  expandStatus?: string;
5359
5641
  // 进件失败描述
5360
5642
  expandFailReason?: string;
5643
+ // 是否展示进件信息登记入口
5644
+ showCustomerComplaintRegistPortal?: boolean;
5361
5645
  static names(): { [key: string]: string } {
5362
5646
  return {
5363
5647
  reqMsgId: 'req_msg_id',
@@ -5371,6 +5655,7 @@ export class QueryInnerMerchantpayexpandResponse extends $tea.Model {
5371
5655
  expandMode: 'expand_mode',
5372
5656
  expandStatus: 'expand_status',
5373
5657
  expandFailReason: 'expand_fail_reason',
5658
+ showCustomerComplaintRegistPortal: 'show_customer_complaint_regist_portal',
5374
5659
  };
5375
5660
  }
5376
5661
 
@@ -5387,6 +5672,7 @@ export class QueryInnerMerchantpayexpandResponse extends $tea.Model {
5387
5672
  expandMode: 'string',
5388
5673
  expandStatus: 'string',
5389
5674
  expandFailReason: 'string',
5675
+ showCustomerComplaintRegistPortal: 'boolean',
5390
5676
  };
5391
5677
  }
5392
5678
 
@@ -5685,17 +5971,17 @@ export class UpdateInnerTemplateRequest extends $tea.Model {
5685
5971
  productInstanceId?: string;
5686
5972
  // 商户对应租户ID
5687
5973
  tenantId: string;
5688
- // 魔法库版本id
5689
- templateVersionId: string;
5690
5974
  // 模板名称
5691
5975
  templateName: string;
5976
+ // 模板code
5977
+ templateCode: string;
5692
5978
  static names(): { [key: string]: string } {
5693
5979
  return {
5694
5980
  authToken: 'auth_token',
5695
5981
  productInstanceId: 'product_instance_id',
5696
5982
  tenantId: 'tenant_id',
5697
- templateVersionId: 'template_version_id',
5698
5983
  templateName: 'template_name',
5984
+ templateCode: 'template_code',
5699
5985
  };
5700
5986
  }
5701
5987
 
@@ -5704,8 +5990,8 @@ export class UpdateInnerTemplateRequest extends $tea.Model {
5704
5990
  authToken: 'string',
5705
5991
  productInstanceId: 'string',
5706
5992
  tenantId: 'string',
5707
- templateVersionId: 'string',
5708
5993
  templateName: 'string',
5994
+ templateCode: 'string',
5709
5995
  };
5710
5996
  }
5711
5997
 
@@ -6998,26 +7284,17 @@ export class PagequeryInnerProductResponse extends $tea.Model {
6998
7284
  }
6999
7285
  }
7000
7286
 
7001
- export class DetailInnerProductRequest extends $tea.Model {
7287
+ export class GetInnerHomepagenoticeRequest extends $tea.Model {
7002
7288
  // OAuth模式下的授权token
7003
7289
  authToken?: string;
7004
7290
  productInstanceId?: string;
7005
7291
  // 商户租户id
7006
7292
  tenantId: string;
7007
- // 商家社会统一信用代码
7008
- merchantId: string;
7009
- // 商品id
7010
- productId: string;
7011
- // 商品版本
7012
- productVersion: string;
7013
7293
  static names(): { [key: string]: string } {
7014
7294
  return {
7015
7295
  authToken: 'auth_token',
7016
7296
  productInstanceId: 'product_instance_id',
7017
7297
  tenantId: 'tenant_id',
7018
- merchantId: 'merchant_id',
7019
- productId: 'product_id',
7020
- productVersion: 'product_version',
7021
7298
  };
7022
7299
  }
7023
7300
 
@@ -7026,9 +7303,6 @@ export class DetailInnerProductRequest extends $tea.Model {
7026
7303
  authToken: 'string',
7027
7304
  productInstanceId: 'string',
7028
7305
  tenantId: 'string',
7029
- merchantId: 'string',
7030
- productId: 'string',
7031
- productVersion: 'string',
7032
7306
  };
7033
7307
  }
7034
7308
 
@@ -7037,51 +7311,30 @@ export class DetailInnerProductRequest extends $tea.Model {
7037
7311
  }
7038
7312
  }
7039
7313
 
7040
- export class DetailInnerProductResponse extends $tea.Model {
7314
+ export class GetInnerHomepagenoticeResponse extends $tea.Model {
7041
7315
  // 请求唯一ID,用于链路跟踪和问题排查
7042
7316
  reqMsgId?: string;
7043
7317
  // 结果码,一般OK表示调用成功
7044
7318
  resultCode?: string;
7045
7319
  // 异常信息的文本描述
7046
7320
  resultMsg?: string;
7047
- // 商家社会统一信用代码
7048
- merchantId?: string;
7049
- // 商品名称
7050
- productName?: string;
7051
- // 商品id
7052
- productId?: string;
7053
- // 商品规格
7054
- productModel?: string;
7055
- // 商品版本
7056
- productVersion?: string;
7057
- // 指导价
7058
- productPrice?: string;
7059
- // 一级类目
7060
- mainClass?: string;
7061
- // 二级类目
7062
- subClass?: string;
7063
- // 品牌
7064
- productBrand?: string;
7065
- // 商品链接
7066
- productUrl?: string;
7067
- // 商品详情
7068
- productDetailInfo?: string;
7321
+ // 通知id
7322
+ noticeId?: number;
7323
+ // 通知标题
7324
+ title?: string;
7325
+ // 未读数量
7326
+ unreadCount?: number;
7327
+ // 是否未读
7328
+ unread?: boolean;
7069
7329
  static names(): { [key: string]: string } {
7070
7330
  return {
7071
7331
  reqMsgId: 'req_msg_id',
7072
7332
  resultCode: 'result_code',
7073
7333
  resultMsg: 'result_msg',
7074
- merchantId: 'merchant_id',
7075
- productName: 'product_name',
7076
- productId: 'product_id',
7077
- productModel: 'product_model',
7078
- productVersion: 'product_version',
7079
- productPrice: 'product_price',
7080
- mainClass: 'main_class',
7081
- subClass: 'sub_class',
7082
- productBrand: 'product_brand',
7083
- productUrl: 'product_url',
7084
- productDetailInfo: 'product_detail_info',
7334
+ noticeId: 'notice_id',
7335
+ title: 'title',
7336
+ unreadCount: 'unread_count',
7337
+ unread: 'unread',
7085
7338
  };
7086
7339
  }
7087
7340
 
@@ -7090,17 +7343,10 @@ export class DetailInnerProductResponse extends $tea.Model {
7090
7343
  reqMsgId: 'string',
7091
7344
  resultCode: 'string',
7092
7345
  resultMsg: 'string',
7093
- merchantId: 'string',
7094
- productName: 'string',
7095
- productId: 'string',
7096
- productModel: 'string',
7097
- productVersion: 'string',
7098
- productPrice: 'string',
7099
- mainClass: 'string',
7100
- subClass: 'string',
7101
- productBrand: 'string',
7102
- productUrl: 'string',
7103
- productDetailInfo: 'string',
7346
+ noticeId: 'number',
7347
+ title: 'string',
7348
+ unreadCount: 'number',
7349
+ unread: 'boolean',
7104
7350
  };
7105
7351
  }
7106
7352
 
@@ -7109,17 +7355,23 @@ export class DetailInnerProductResponse extends $tea.Model {
7109
7355
  }
7110
7356
  }
7111
7357
 
7112
- export class GetInnerHomepagenoticeRequest extends $tea.Model {
7358
+ export class PagequeryInnerNoticeRequest extends $tea.Model {
7113
7359
  // OAuth模式下的授权token
7114
7360
  authToken?: string;
7115
7361
  productInstanceId?: string;
7116
7362
  // 商户租户id
7117
7363
  tenantId: string;
7364
+ // 分页
7365
+ pageInfo: PageQuery;
7366
+ // 是否未读
7367
+ unread?: boolean;
7118
7368
  static names(): { [key: string]: string } {
7119
7369
  return {
7120
7370
  authToken: 'auth_token',
7121
7371
  productInstanceId: 'product_instance_id',
7122
7372
  tenantId: 'tenant_id',
7373
+ pageInfo: 'page_info',
7374
+ unread: 'unread',
7123
7375
  };
7124
7376
  }
7125
7377
 
@@ -7128,6 +7380,8 @@ export class GetInnerHomepagenoticeRequest extends $tea.Model {
7128
7380
  authToken: 'string',
7129
7381
  productInstanceId: 'string',
7130
7382
  tenantId: 'string',
7383
+ pageInfo: PageQuery,
7384
+ unread: 'boolean',
7131
7385
  };
7132
7386
  }
7133
7387
 
@@ -7136,30 +7390,98 @@ export class GetInnerHomepagenoticeRequest extends $tea.Model {
7136
7390
  }
7137
7391
  }
7138
7392
 
7139
- export class GetInnerHomepagenoticeResponse extends $tea.Model {
7393
+ export class PagequeryInnerNoticeResponse extends $tea.Model {
7140
7394
  // 请求唯一ID,用于链路跟踪和问题排查
7141
7395
  reqMsgId?: string;
7142
7396
  // 结果码,一般OK表示调用成功
7143
7397
  resultCode?: string;
7144
7398
  // 异常信息的文本描述
7145
7399
  resultMsg?: string;
7400
+ // 总量
7401
+ total?: number;
7402
+ // 商户通知信息
7403
+ noticeInfoList?: NoticeInfo[];
7404
+ static names(): { [key: string]: string } {
7405
+ return {
7406
+ reqMsgId: 'req_msg_id',
7407
+ resultCode: 'result_code',
7408
+ resultMsg: 'result_msg',
7409
+ total: 'total',
7410
+ noticeInfoList: 'notice_info_list',
7411
+ };
7412
+ }
7413
+
7414
+ static types(): { [key: string]: any } {
7415
+ return {
7416
+ reqMsgId: 'string',
7417
+ resultCode: 'string',
7418
+ resultMsg: 'string',
7419
+ total: 'number',
7420
+ noticeInfoList: { 'type': 'array', 'itemType': NoticeInfo },
7421
+ };
7422
+ }
7423
+
7424
+ constructor(map?: { [key: string]: any }) {
7425
+ super(map);
7426
+ }
7427
+ }
7428
+
7429
+ export class DetailInnerNoticeRequest extends $tea.Model {
7430
+ // OAuth模式下的授权token
7431
+ authToken?: string;
7432
+ productInstanceId?: string;
7433
+ // 商户租户id
7434
+ tenantId: string;
7146
7435
  // 通知id
7147
- noticeId?: number;
7436
+ noticeId: number;
7437
+ // 是否未读
7438
+ unread: boolean;
7439
+ static names(): { [key: string]: string } {
7440
+ return {
7441
+ authToken: 'auth_token',
7442
+ productInstanceId: 'product_instance_id',
7443
+ tenantId: 'tenant_id',
7444
+ noticeId: 'notice_id',
7445
+ unread: 'unread',
7446
+ };
7447
+ }
7448
+
7449
+ static types(): { [key: string]: any } {
7450
+ return {
7451
+ authToken: 'string',
7452
+ productInstanceId: 'string',
7453
+ tenantId: 'string',
7454
+ noticeId: 'number',
7455
+ unread: 'boolean',
7456
+ };
7457
+ }
7458
+
7459
+ constructor(map?: { [key: string]: any }) {
7460
+ super(map);
7461
+ }
7462
+ }
7463
+
7464
+ export class DetailInnerNoticeResponse extends $tea.Model {
7465
+ // 请求唯一ID,用于链路跟踪和问题排查
7466
+ reqMsgId?: string;
7467
+ // 结果码,一般OK表示调用成功
7468
+ resultCode?: string;
7469
+ // 异常信息的文本描述
7470
+ resultMsg?: string;
7148
7471
  // 通知标题
7149
7472
  title?: string;
7150
- // 未读数量
7151
- unreadCount?: number;
7152
- // 是否未读
7153
- unread?: boolean;
7473
+ // 通知内容
7474
+ content?: string;
7475
+ // 通知创建时间
7476
+ noticeCreateTime?: string;
7154
7477
  static names(): { [key: string]: string } {
7155
7478
  return {
7156
7479
  reqMsgId: 'req_msg_id',
7157
7480
  resultCode: 'result_code',
7158
7481
  resultMsg: 'result_msg',
7159
- noticeId: 'notice_id',
7160
7482
  title: 'title',
7161
- unreadCount: 'unread_count',
7162
- unread: 'unread',
7483
+ content: 'content',
7484
+ noticeCreateTime: 'notice_create_time',
7163
7485
  };
7164
7486
  }
7165
7487
 
@@ -7168,10 +7490,9 @@ export class GetInnerHomepagenoticeResponse extends $tea.Model {
7168
7490
  reqMsgId: 'string',
7169
7491
  resultCode: 'string',
7170
7492
  resultMsg: 'string',
7171
- noticeId: 'number',
7172
7493
  title: 'string',
7173
- unreadCount: 'number',
7174
- unread: 'boolean',
7494
+ content: 'string',
7495
+ noticeCreateTime: 'string',
7175
7496
  };
7176
7497
  }
7177
7498
 
@@ -7180,12 +7501,22 @@ export class GetInnerHomepagenoticeResponse extends $tea.Model {
7180
7501
  }
7181
7502
  }
7182
7503
 
7183
- export class PagequeryInnerNoticeRequest extends $tea.Model {
7504
+ export class PagequeryInnerOrderRequest extends $tea.Model {
7184
7505
  // OAuth模式下的授权token
7185
7506
  authToken?: string;
7186
7507
  productInstanceId?: string;
7187
7508
  // 商户租户id
7188
7509
  tenantId: string;
7510
+ // 订单id
7511
+ orderId?: string;
7512
+ // 支付宝代扣协议号
7513
+ agreementNo?: string;
7514
+ // 订单创建时间开始
7515
+ orderCreateTimeStart?: string;
7516
+ // 订单创建时间结束
7517
+ orderCreateTimeEnd?: string;
7518
+ // 订单状态
7519
+ orderStatus?: string;
7189
7520
  // 分页
7190
7521
  pageInfo: PageQuery;
7191
7522
  static names(): { [key: string]: string } {
@@ -7193,6 +7524,11 @@ export class PagequeryInnerNoticeRequest extends $tea.Model {
7193
7524
  authToken: 'auth_token',
7194
7525
  productInstanceId: 'product_instance_id',
7195
7526
  tenantId: 'tenant_id',
7527
+ orderId: 'order_id',
7528
+ agreementNo: 'agreement_no',
7529
+ orderCreateTimeStart: 'order_create_time_start',
7530
+ orderCreateTimeEnd: 'order_create_time_end',
7531
+ orderStatus: 'order_status',
7196
7532
  pageInfo: 'page_info',
7197
7533
  };
7198
7534
  }
@@ -7202,6 +7538,11 @@ export class PagequeryInnerNoticeRequest extends $tea.Model {
7202
7538
  authToken: 'string',
7203
7539
  productInstanceId: 'string',
7204
7540
  tenantId: 'string',
7541
+ orderId: 'string',
7542
+ agreementNo: 'string',
7543
+ orderCreateTimeStart: 'string',
7544
+ orderCreateTimeEnd: 'string',
7545
+ orderStatus: 'string',
7205
7546
  pageInfo: PageQuery,
7206
7547
  };
7207
7548
  }
@@ -7211,24 +7552,24 @@ export class PagequeryInnerNoticeRequest extends $tea.Model {
7211
7552
  }
7212
7553
  }
7213
7554
 
7214
- export class PagequeryInnerNoticeResponse extends $tea.Model {
7555
+ export class PagequeryInnerOrderResponse extends $tea.Model {
7215
7556
  // 请求唯一ID,用于链路跟踪和问题排查
7216
7557
  reqMsgId?: string;
7217
7558
  // 结果码,一般OK表示调用成功
7218
7559
  resultCode?: string;
7219
7560
  // 异常信息的文本描述
7220
7561
  resultMsg?: string;
7562
+ // 订单列表信息
7563
+ orderInfoList?: MerchantOrderInfo[];
7221
7564
  // 总量
7222
7565
  total?: number;
7223
- // 商户通知信息
7224
- noticeInfoList?: NoticeInfo[];
7225
7566
  static names(): { [key: string]: string } {
7226
7567
  return {
7227
7568
  reqMsgId: 'req_msg_id',
7228
7569
  resultCode: 'result_code',
7229
7570
  resultMsg: 'result_msg',
7571
+ orderInfoList: 'order_info_list',
7230
7572
  total: 'total',
7231
- noticeInfoList: 'notice_info_list',
7232
7573
  };
7233
7574
  }
7234
7575
 
@@ -7237,8 +7578,8 @@ export class PagequeryInnerNoticeResponse extends $tea.Model {
7237
7578
  reqMsgId: 'string',
7238
7579
  resultCode: 'string',
7239
7580
  resultMsg: 'string',
7581
+ orderInfoList: { 'type': 'array', 'itemType': MerchantOrderInfo },
7240
7582
  total: 'number',
7241
- noticeInfoList: { 'type': 'array', 'itemType': NoticeInfo },
7242
7583
  };
7243
7584
  }
7244
7585
 
@@ -7247,23 +7588,20 @@ export class PagequeryInnerNoticeResponse extends $tea.Model {
7247
7588
  }
7248
7589
  }
7249
7590
 
7250
- export class DetailInnerNoticeRequest extends $tea.Model {
7591
+ export class DetailInnerOrderRequest extends $tea.Model {
7251
7592
  // OAuth模式下的授权token
7252
7593
  authToken?: string;
7253
7594
  productInstanceId?: string;
7254
7595
  // 商户租户id
7255
7596
  tenantId: string;
7256
- // 通知id
7257
- noticeId: number;
7258
- // 是否未读
7259
- unread: boolean;
7597
+ // 订单id
7598
+ orderId: string;
7260
7599
  static names(): { [key: string]: string } {
7261
7600
  return {
7262
7601
  authToken: 'auth_token',
7263
7602
  productInstanceId: 'product_instance_id',
7264
7603
  tenantId: 'tenant_id',
7265
- noticeId: 'notice_id',
7266
- unread: 'unread',
7604
+ orderId: 'order_id',
7267
7605
  };
7268
7606
  }
7269
7607
 
@@ -7272,8 +7610,7 @@ export class DetailInnerNoticeRequest extends $tea.Model {
7272
7610
  authToken: 'string',
7273
7611
  productInstanceId: 'string',
7274
7612
  tenantId: 'string',
7275
- noticeId: 'number',
7276
- unread: 'boolean',
7613
+ orderId: 'string',
7277
7614
  };
7278
7615
  }
7279
7616
 
@@ -7282,27 +7619,42 @@ export class DetailInnerNoticeRequest extends $tea.Model {
7282
7619
  }
7283
7620
  }
7284
7621
 
7285
- export class DetailInnerNoticeResponse extends $tea.Model {
7622
+ export class DetailInnerOrderResponse extends $tea.Model {
7286
7623
  // 请求唯一ID,用于链路跟踪和问题排查
7287
7624
  reqMsgId?: string;
7288
7625
  // 结果码,一般OK表示调用成功
7289
7626
  resultCode?: string;
7290
7627
  // 异常信息的文本描述
7291
7628
  resultMsg?: string;
7292
- // 通知标题
7293
- title?: string;
7294
- // 通知内容
7295
- content?: string;
7296
- // 通知创建时间
7297
- noticeCreateTime?: string;
7629
+ // 订单id
7630
+ orderId?: string;
7631
+ // 支付宝代扣协议号
7632
+ agreementNo?: string;
7633
+ // 商品总数量
7634
+ productTotalCount?: number;
7635
+ // 订单基础信息
7636
+ orderInfo?: OrderInfo;
7637
+ // 用户信息
7638
+ orderUserInfo?: OrderUserInfo;
7639
+ // 订单履约
7640
+ orderFulfillmentInfoList?: OrderFulfillmentInfo[];
7641
+ // 订单还款承诺
7642
+ orderPromiseInfo?: OrderPromiseInfo;
7643
+ // 订单商品信息
7644
+ orderProductInfoList?: OrderProductInfo[];
7298
7645
  static names(): { [key: string]: string } {
7299
7646
  return {
7300
7647
  reqMsgId: 'req_msg_id',
7301
7648
  resultCode: 'result_code',
7302
7649
  resultMsg: 'result_msg',
7303
- title: 'title',
7304
- content: 'content',
7305
- noticeCreateTime: 'notice_create_time',
7650
+ orderId: 'order_id',
7651
+ agreementNo: 'agreement_no',
7652
+ productTotalCount: 'product_total_count',
7653
+ orderInfo: 'order_info',
7654
+ orderUserInfo: 'order_user_info',
7655
+ orderFulfillmentInfoList: 'order_fulfillment_info_list',
7656
+ orderPromiseInfo: 'order_promise_info',
7657
+ orderProductInfoList: 'order_product_info_list',
7306
7658
  };
7307
7659
  }
7308
7660
 
@@ -7311,9 +7663,14 @@ export class DetailInnerNoticeResponse extends $tea.Model {
7311
7663
  reqMsgId: 'string',
7312
7664
  resultCode: 'string',
7313
7665
  resultMsg: 'string',
7314
- title: 'string',
7315
- content: 'string',
7316
- noticeCreateTime: 'string',
7666
+ orderId: 'string',
7667
+ agreementNo: 'string',
7668
+ productTotalCount: 'number',
7669
+ orderInfo: OrderInfo,
7670
+ orderUserInfo: OrderUserInfo,
7671
+ orderFulfillmentInfoList: { 'type': 'array', 'itemType': OrderFulfillmentInfo },
7672
+ orderPromiseInfo: OrderPromiseInfo,
7673
+ orderProductInfoList: { 'type': 'array', 'itemType': OrderProductInfo },
7317
7674
  };
7318
7675
  }
7319
7676
 
@@ -7322,35 +7679,441 @@ export class DetailInnerNoticeResponse extends $tea.Model {
7322
7679
  }
7323
7680
  }
7324
7681
 
7325
- export class PagequeryInnerOrderRequest extends $tea.Model {
7682
+ export class RenderInnerTemplateinstanceRequest extends $tea.Model {
7326
7683
  // OAuth模式下的授权token
7327
7684
  authToken?: string;
7328
7685
  productInstanceId?: string;
7329
- // 商户租户id
7686
+ // 商户对应租户ID
7330
7687
  tenantId: string;
7331
- // 订单id
7332
- orderId?: string;
7333
- // 支付宝代扣协议号
7334
- agreementNo?: string;
7335
- // 订单创建时间开始
7336
- orderCreateTimeStart?: string;
7337
- // 订单创建时间结束
7338
- orderCreateTimeEnd?: string;
7339
- // 订单状态
7340
- orderStatus?: string;
7341
- // 分页
7342
- pageInfo: PageQuery;
7688
+ // 模板编码集,数组
7689
+ templateCodes: string[];
7690
+ // 幂等值
7691
+ idempotent: string;
7692
+ // 业务方id,唯一
7693
+ bizBusinessId: string;
7694
+ // 组件(文本域)的实际值
7695
+ componentInstDtos: TemplateComponent[];
7696
+ static names(): { [key: string]: string } {
7697
+ return {
7698
+ authToken: 'auth_token',
7699
+ productInstanceId: 'product_instance_id',
7700
+ tenantId: 'tenant_id',
7701
+ templateCodes: 'template_codes',
7702
+ idempotent: 'idempotent',
7703
+ bizBusinessId: 'biz_business_id',
7704
+ componentInstDtos: 'component_inst_dtos',
7705
+ };
7706
+ }
7707
+
7708
+ static types(): { [key: string]: any } {
7709
+ return {
7710
+ authToken: 'string',
7711
+ productInstanceId: 'string',
7712
+ tenantId: 'string',
7713
+ templateCodes: { 'type': 'array', 'itemType': 'string' },
7714
+ idempotent: 'string',
7715
+ bizBusinessId: 'string',
7716
+ componentInstDtos: { 'type': 'array', 'itemType': TemplateComponent },
7717
+ };
7718
+ }
7719
+
7720
+ constructor(map?: { [key: string]: any }) {
7721
+ super(map);
7722
+ }
7723
+ }
7724
+
7725
+ export class RenderInnerTemplateinstanceResponse extends $tea.Model {
7726
+ // 请求唯一ID,用于链路跟踪和问题排查
7727
+ reqMsgId?: string;
7728
+ // 结果码,一般OK表示调用成功
7729
+ resultCode?: string;
7730
+ // 异常信息的文本描述
7731
+ resultMsg?: string;
7732
+ // 实例化成功时返回唯一业务id
7733
+ businessId?: string;
7734
+ static names(): { [key: string]: string } {
7735
+ return {
7736
+ reqMsgId: 'req_msg_id',
7737
+ resultCode: 'result_code',
7738
+ resultMsg: 'result_msg',
7739
+ businessId: 'business_id',
7740
+ };
7741
+ }
7742
+
7743
+ static types(): { [key: string]: any } {
7744
+ return {
7745
+ reqMsgId: 'string',
7746
+ resultCode: 'string',
7747
+ resultMsg: 'string',
7748
+ businessId: 'string',
7749
+ };
7750
+ }
7751
+
7752
+ constructor(map?: { [key: string]: any }) {
7753
+ super(map);
7754
+ }
7755
+ }
7756
+
7757
+ export class BatchqueryInnerMarketingscoreRequest extends $tea.Model {
7758
+ // OAuth模式下的授权token
7759
+ authToken?: string;
7760
+ productInstanceId?: string;
7761
+ // 营销分查询对象
7762
+ marketingScoreQueryInfos: MarketingScoreQueryInfo[];
7763
+ static names(): { [key: string]: string } {
7764
+ return {
7765
+ authToken: 'auth_token',
7766
+ productInstanceId: 'product_instance_id',
7767
+ marketingScoreQueryInfos: 'marketing_score_query_infos',
7768
+ };
7769
+ }
7770
+
7771
+ static types(): { [key: string]: any } {
7772
+ return {
7773
+ authToken: 'string',
7774
+ productInstanceId: 'string',
7775
+ marketingScoreQueryInfos: { 'type': 'array', 'itemType': MarketingScoreQueryInfo },
7776
+ };
7777
+ }
7778
+
7779
+ constructor(map?: { [key: string]: any }) {
7780
+ super(map);
7781
+ }
7782
+ }
7783
+
7784
+ export class BatchqueryInnerMarketingscoreResponse extends $tea.Model {
7785
+ // 请求唯一ID,用于链路跟踪和问题排查
7786
+ reqMsgId?: string;
7787
+ // 结果码,一般OK表示调用成功
7788
+ resultCode?: string;
7789
+ // 异常信息的文本描述
7790
+ resultMsg?: string;
7791
+ // 营销分返回对象
7792
+ marketingScoreInfo?: MarketingScoreInfo[];
7793
+ static names(): { [key: string]: string } {
7794
+ return {
7795
+ reqMsgId: 'req_msg_id',
7796
+ resultCode: 'result_code',
7797
+ resultMsg: 'result_msg',
7798
+ marketingScoreInfo: 'marketing_score_info',
7799
+ };
7800
+ }
7801
+
7802
+ static types(): { [key: string]: any } {
7803
+ return {
7804
+ reqMsgId: 'string',
7805
+ resultCode: 'string',
7806
+ resultMsg: 'string',
7807
+ marketingScoreInfo: { 'type': 'array', 'itemType': MarketingScoreInfo },
7808
+ };
7809
+ }
7810
+
7811
+ constructor(map?: { [key: string]: any }) {
7812
+ super(map);
7813
+ }
7814
+ }
7815
+
7816
+ export class CreateInnerCustomerserviceRequest extends $tea.Model {
7817
+ // OAuth模式下的授权token
7818
+ authToken?: string;
7819
+ productInstanceId?: string;
7820
+ // 租户id
7821
+ tenantId: string;
7822
+ // 公司社会统一信息代码,间联模式必传
7823
+ merchantId?: string;
7824
+ // 公司名称
7825
+ merchantName?: string;
7826
+ // 处理类型:
7827
+ // 商家处理
7828
+ // 服务商代处理
7829
+ processType: string;
7830
+ // 服务商名称
7831
+ serviceProviderName?: string;
7832
+ // 客诉处理员支付宝绑定手机号
7833
+ alipayBindMobile: string;
7834
+ // 客诉处理员支付宝账号
7835
+ alipayLogonId: string;
7836
+ // 客服电话
7837
+ customerServicePhone: string;
7838
+ // 客服人员名称
7839
+ customerServiceName: string;
7840
+ // 在线客服网址
7841
+ onlineSupportSiteUrl: string;
7842
+ // 投诉问题
7843
+ customerComplaintIssues: string;
7844
+ // 进件类型
7845
+ // DIRECT("DIRECT", "直连进件模式"),
7846
+ // AGENT("AGENT", "代理商进件模式"),
7847
+ expandMode: string;
7848
+ static names(): { [key: string]: string } {
7849
+ return {
7850
+ authToken: 'auth_token',
7851
+ productInstanceId: 'product_instance_id',
7852
+ tenantId: 'tenant_id',
7853
+ merchantId: 'merchant_id',
7854
+ merchantName: 'merchant_name',
7855
+ processType: 'process_type',
7856
+ serviceProviderName: 'service_provider_name',
7857
+ alipayBindMobile: 'alipay_bind_mobile',
7858
+ alipayLogonId: 'alipay_logon_id',
7859
+ customerServicePhone: 'customer_service_phone',
7860
+ customerServiceName: 'customer_service_name',
7861
+ onlineSupportSiteUrl: 'online_support_site_url',
7862
+ customerComplaintIssues: 'customer_complaint_issues',
7863
+ expandMode: 'expand_mode',
7864
+ };
7865
+ }
7866
+
7867
+ static types(): { [key: string]: any } {
7868
+ return {
7869
+ authToken: 'string',
7870
+ productInstanceId: 'string',
7871
+ tenantId: 'string',
7872
+ merchantId: 'string',
7873
+ merchantName: 'string',
7874
+ processType: 'string',
7875
+ serviceProviderName: 'string',
7876
+ alipayBindMobile: 'string',
7877
+ alipayLogonId: 'string',
7878
+ customerServicePhone: 'string',
7879
+ customerServiceName: 'string',
7880
+ onlineSupportSiteUrl: 'string',
7881
+ customerComplaintIssues: 'string',
7882
+ expandMode: 'string',
7883
+ };
7884
+ }
7885
+
7886
+ constructor(map?: { [key: string]: any }) {
7887
+ super(map);
7888
+ }
7889
+ }
7890
+
7891
+ export class CreateInnerCustomerserviceResponse extends $tea.Model {
7892
+ // 请求唯一ID,用于链路跟踪和问题排查
7893
+ reqMsgId?: string;
7894
+ // 结果码,一般OK表示调用成功
7895
+ resultCode?: string;
7896
+ // 异常信息的文本描述
7897
+ resultMsg?: string;
7898
+ static names(): { [key: string]: string } {
7899
+ return {
7900
+ reqMsgId: 'req_msg_id',
7901
+ resultCode: 'result_code',
7902
+ resultMsg: 'result_msg',
7903
+ };
7904
+ }
7905
+
7906
+ static types(): { [key: string]: any } {
7907
+ return {
7908
+ reqMsgId: 'string',
7909
+ resultCode: 'string',
7910
+ resultMsg: 'string',
7911
+ };
7912
+ }
7913
+
7914
+ constructor(map?: { [key: string]: any }) {
7915
+ super(map);
7916
+ }
7917
+ }
7918
+
7919
+ export class UpdateInnerCustomerserviceRequest extends $tea.Model {
7920
+ // OAuth模式下的授权token
7921
+ authToken?: string;
7922
+ productInstanceId?: string;
7923
+ // 租户id
7924
+ tenantId: string;
7925
+ // 商家社会统一信用代码,间联模式必传
7926
+ merchantId?: string;
7927
+ // 公司名称
7928
+ merchantName: string;
7929
+ // 处理类型: 商家处理 服务商代处理
7930
+ processType: string;
7931
+ // 服务商名称
7932
+ serviceProviderName?: string;
7933
+ // 客诉处理员支付宝绑定手机号
7934
+ alipayBindMobile: string;
7935
+ // 客诉处理员支付宝账号
7936
+ alipayLogonId: string;
7937
+ // 客服电话
7938
+ customerServicePhone: string;
7939
+ // 客服人员名称
7940
+ customerServiceName: string;
7941
+ // 在线客服网址
7942
+ onlineSupportSiteUrl: string;
7943
+ // 投诉问题
7944
+ customerComplaintIssues: string;
7945
+ // 进件类型
7946
+ // DIRECT("DIRECT", "直连进件模式"), AGENT("AGENT", "代理商进件模式"),
7947
+ expandMode: string;
7948
+ static names(): { [key: string]: string } {
7949
+ return {
7950
+ authToken: 'auth_token',
7951
+ productInstanceId: 'product_instance_id',
7952
+ tenantId: 'tenant_id',
7953
+ merchantId: 'merchant_id',
7954
+ merchantName: 'merchant_name',
7955
+ processType: 'process_type',
7956
+ serviceProviderName: 'service_provider_name',
7957
+ alipayBindMobile: 'alipay_bind_mobile',
7958
+ alipayLogonId: 'alipay_logon_id',
7959
+ customerServicePhone: 'customer_service_phone',
7960
+ customerServiceName: 'customer_service_name',
7961
+ onlineSupportSiteUrl: 'online_support_site_url',
7962
+ customerComplaintIssues: 'customer_complaint_issues',
7963
+ expandMode: 'expand_mode',
7964
+ };
7965
+ }
7966
+
7967
+ static types(): { [key: string]: any } {
7968
+ return {
7969
+ authToken: 'string',
7970
+ productInstanceId: 'string',
7971
+ tenantId: 'string',
7972
+ merchantId: 'string',
7973
+ merchantName: 'string',
7974
+ processType: 'string',
7975
+ serviceProviderName: 'string',
7976
+ alipayBindMobile: 'string',
7977
+ alipayLogonId: 'string',
7978
+ customerServicePhone: 'string',
7979
+ customerServiceName: 'string',
7980
+ onlineSupportSiteUrl: 'string',
7981
+ customerComplaintIssues: 'string',
7982
+ expandMode: 'string',
7983
+ };
7984
+ }
7985
+
7986
+ constructor(map?: { [key: string]: any }) {
7987
+ super(map);
7988
+ }
7989
+ }
7990
+
7991
+ export class UpdateInnerCustomerserviceResponse extends $tea.Model {
7992
+ // 请求唯一ID,用于链路跟踪和问题排查
7993
+ reqMsgId?: string;
7994
+ // 结果码,一般OK表示调用成功
7995
+ resultCode?: string;
7996
+ // 异常信息的文本描述
7997
+ resultMsg?: string;
7998
+ static names(): { [key: string]: string } {
7999
+ return {
8000
+ reqMsgId: 'req_msg_id',
8001
+ resultCode: 'result_code',
8002
+ resultMsg: 'result_msg',
8003
+ };
8004
+ }
8005
+
8006
+ static types(): { [key: string]: any } {
8007
+ return {
8008
+ reqMsgId: 'string',
8009
+ resultCode: 'string',
8010
+ resultMsg: 'string',
8011
+ };
8012
+ }
8013
+
8014
+ constructor(map?: { [key: string]: any }) {
8015
+ super(map);
8016
+ }
8017
+ }
8018
+
8019
+ export class PagequeryInnerCustomerserviceRequest extends $tea.Model {
8020
+ // OAuth模式下的授权token
8021
+ authToken?: string;
8022
+ productInstanceId?: string;
8023
+ // 租户id
8024
+ tenantId: string;
8025
+ // 分页信息
8026
+ pageInfo: PageQuery;
8027
+ // 处理类型: 商家处理 服务商代处理
8028
+ processType?: string;
8029
+ // 公司社会统一信息代码
8030
+ merchantId?: string;
8031
+ // 公司名称
8032
+ merchantName?: string;
8033
+ static names(): { [key: string]: string } {
8034
+ return {
8035
+ authToken: 'auth_token',
8036
+ productInstanceId: 'product_instance_id',
8037
+ tenantId: 'tenant_id',
8038
+ pageInfo: 'page_info',
8039
+ processType: 'process_type',
8040
+ merchantId: 'merchant_id',
8041
+ merchantName: 'merchant_name',
8042
+ };
8043
+ }
8044
+
8045
+ static types(): { [key: string]: any } {
8046
+ return {
8047
+ authToken: 'string',
8048
+ productInstanceId: 'string',
8049
+ tenantId: 'string',
8050
+ pageInfo: PageQuery,
8051
+ processType: 'string',
8052
+ merchantId: 'string',
8053
+ merchantName: 'string',
8054
+ };
8055
+ }
8056
+
8057
+ constructor(map?: { [key: string]: any }) {
8058
+ super(map);
8059
+ }
8060
+ }
8061
+
8062
+ export class PagequeryInnerCustomerserviceResponse extends $tea.Model {
8063
+ // 请求唯一ID,用于链路跟踪和问题排查
8064
+ reqMsgId?: string;
8065
+ // 结果码,一般OK表示调用成功
8066
+ resultCode?: string;
8067
+ // 异常信息的文本描述
8068
+ resultMsg?: string;
8069
+ // 总数
8070
+ total?: number;
8071
+ // 客服信息
8072
+ customerServiceInfoList?: CustomerServiceInfo[];
8073
+ static names(): { [key: string]: string } {
8074
+ return {
8075
+ reqMsgId: 'req_msg_id',
8076
+ resultCode: 'result_code',
8077
+ resultMsg: 'result_msg',
8078
+ total: 'total',
8079
+ customerServiceInfoList: 'customer_service_info_list',
8080
+ };
8081
+ }
8082
+
8083
+ static types(): { [key: string]: any } {
8084
+ return {
8085
+ reqMsgId: 'string',
8086
+ resultCode: 'string',
8087
+ resultMsg: 'string',
8088
+ total: 'number',
8089
+ customerServiceInfoList: { 'type': 'array', 'itemType': CustomerServiceInfo },
8090
+ };
8091
+ }
8092
+
8093
+ constructor(map?: { [key: string]: any }) {
8094
+ super(map);
8095
+ }
8096
+ }
8097
+
8098
+ export class DetailInnerCustomerserviceRequest extends $tea.Model {
8099
+ // OAuth模式下的授权token
8100
+ authToken?: string;
8101
+ productInstanceId?: string;
8102
+ // 租户id
8103
+ tenantId: string;
8104
+ // 公司社会统一信息代码,间联模式必传
8105
+ merchantId?: string;
8106
+ // 进件类型
8107
+ // DIRECT("DIRECT", "直连进件模式"),
8108
+ // AGENT("AGENT", "代理商进件模式"),
8109
+ expandMode: string;
7343
8110
  static names(): { [key: string]: string } {
7344
8111
  return {
7345
8112
  authToken: 'auth_token',
7346
8113
  productInstanceId: 'product_instance_id',
7347
8114
  tenantId: 'tenant_id',
7348
- orderId: 'order_id',
7349
- agreementNo: 'agreement_no',
7350
- orderCreateTimeStart: 'order_create_time_start',
7351
- orderCreateTimeEnd: 'order_create_time_end',
7352
- orderStatus: 'order_status',
7353
- pageInfo: 'page_info',
8115
+ merchantId: 'merchant_id',
8116
+ expandMode: 'expand_mode',
7354
8117
  };
7355
8118
  }
7356
8119
 
@@ -7359,12 +8122,8 @@ export class PagequeryInnerOrderRequest extends $tea.Model {
7359
8122
  authToken: 'string',
7360
8123
  productInstanceId: 'string',
7361
8124
  tenantId: 'string',
7362
- orderId: 'string',
7363
- agreementNo: 'string',
7364
- orderCreateTimeStart: 'string',
7365
- orderCreateTimeEnd: 'string',
7366
- orderStatus: 'string',
7367
- pageInfo: PageQuery,
8125
+ merchantId: 'string',
8126
+ expandMode: 'string',
7368
8127
  };
7369
8128
  }
7370
8129
 
@@ -7373,24 +8132,48 @@ export class PagequeryInnerOrderRequest extends $tea.Model {
7373
8132
  }
7374
8133
  }
7375
8134
 
7376
- export class PagequeryInnerOrderResponse extends $tea.Model {
8135
+ export class DetailInnerCustomerserviceResponse extends $tea.Model {
7377
8136
  // 请求唯一ID,用于链路跟踪和问题排查
7378
8137
  reqMsgId?: string;
7379
8138
  // 结果码,一般OK表示调用成功
7380
8139
  resultCode?: string;
7381
8140
  // 异常信息的文本描述
7382
8141
  resultMsg?: string;
7383
- // 订单列表信息
7384
- orderInfoList?: MerchantOrderInfo[];
7385
- // 总量
7386
- total?: number;
8142
+ // 公司社会统一信息代码
8143
+ merchantId?: string;
8144
+ // 公司名称
8145
+ merchantName?: string;
8146
+ // 处理类型: 商家处理;服务商代处理
8147
+ processType?: string;
8148
+ // 服务商名称
8149
+ serviceProviderName?: string;
8150
+ // 客诉处理员支付宝绑定手机号
8151
+ alipayBindMobile?: string;
8152
+ // 客诉处理员支付宝账号
8153
+ alipayLogonId?: string;
8154
+ // 客服电话
8155
+ customerServicePhone?: string;
8156
+ // 客服人员名称
8157
+ customerServiceName?: string;
8158
+ // 在线客服网址
8159
+ onlineSupportSiteUrl?: string;
8160
+ // 投诉问题
8161
+ customerComplaintIssues?: string;
7387
8162
  static names(): { [key: string]: string } {
7388
8163
  return {
7389
8164
  reqMsgId: 'req_msg_id',
7390
8165
  resultCode: 'result_code',
7391
8166
  resultMsg: 'result_msg',
7392
- orderInfoList: 'order_info_list',
7393
- total: 'total',
8167
+ merchantId: 'merchant_id',
8168
+ merchantName: 'merchant_name',
8169
+ processType: 'process_type',
8170
+ serviceProviderName: 'service_provider_name',
8171
+ alipayBindMobile: 'alipay_bind_mobile',
8172
+ alipayLogonId: 'alipay_logon_id',
8173
+ customerServicePhone: 'customer_service_phone',
8174
+ customerServiceName: 'customer_service_name',
8175
+ onlineSupportSiteUrl: 'online_support_site_url',
8176
+ customerComplaintIssues: 'customer_complaint_issues',
7394
8177
  };
7395
8178
  }
7396
8179
 
@@ -7399,8 +8182,16 @@ export class PagequeryInnerOrderResponse extends $tea.Model {
7399
8182
  reqMsgId: 'string',
7400
8183
  resultCode: 'string',
7401
8184
  resultMsg: 'string',
7402
- orderInfoList: { 'type': 'array', 'itemType': MerchantOrderInfo },
7403
- total: 'number',
8185
+ merchantId: 'string',
8186
+ merchantName: 'string',
8187
+ processType: 'string',
8188
+ serviceProviderName: 'string',
8189
+ alipayBindMobile: 'string',
8190
+ alipayLogonId: 'string',
8191
+ customerServicePhone: 'string',
8192
+ customerServiceName: 'string',
8193
+ onlineSupportSiteUrl: 'string',
8194
+ customerComplaintIssues: 'string',
7404
8195
  };
7405
8196
  }
7406
8197
 
@@ -7409,20 +8200,25 @@ export class PagequeryInnerOrderResponse extends $tea.Model {
7409
8200
  }
7410
8201
  }
7411
8202
 
7412
- export class DetailInnerOrderRequest extends $tea.Model {
8203
+ export class GetInnerCustomerservicetemplateRequest extends $tea.Model {
7413
8204
  // OAuth模式下的授权token
7414
8205
  authToken?: string;
7415
8206
  productInstanceId?: string;
7416
- // 商户租户id
8207
+ // 租户id
7417
8208
  tenantId: string;
7418
- // 订单id
7419
- orderId: string;
8209
+ // 进件类型
8210
+ // DIRECT("DIRECT", "直连进件模式")
8211
+ // AGENT("AGENT", "代理商进件模式")
8212
+ expandMode: string;
8213
+ // 处理类型: 商家处理;服务商代处理
8214
+ processType: string;
7420
8215
  static names(): { [key: string]: string } {
7421
8216
  return {
7422
8217
  authToken: 'auth_token',
7423
8218
  productInstanceId: 'product_instance_id',
7424
8219
  tenantId: 'tenant_id',
7425
- orderId: 'order_id',
8220
+ expandMode: 'expand_mode',
8221
+ processType: 'process_type',
7426
8222
  };
7427
8223
  }
7428
8224
 
@@ -7431,7 +8227,8 @@ export class DetailInnerOrderRequest extends $tea.Model {
7431
8227
  authToken: 'string',
7432
8228
  productInstanceId: 'string',
7433
8229
  tenantId: 'string',
7434
- orderId: 'string',
8230
+ expandMode: 'string',
8231
+ processType: 'string',
7435
8232
  };
7436
8233
  }
7437
8234
 
@@ -7440,42 +8237,39 @@ export class DetailInnerOrderRequest extends $tea.Model {
7440
8237
  }
7441
8238
  }
7442
8239
 
7443
- export class DetailInnerOrderResponse extends $tea.Model {
8240
+ export class GetInnerCustomerservicetemplateResponse extends $tea.Model {
7444
8241
  // 请求唯一ID,用于链路跟踪和问题排查
7445
8242
  reqMsgId?: string;
7446
8243
  // 结果码,一般OK表示调用成功
7447
8244
  resultCode?: string;
7448
8245
  // 异常信息的文本描述
7449
8246
  resultMsg?: string;
7450
- // 订单id
7451
- orderId?: string;
7452
- // 支付宝代扣协议号
7453
- agreementNo?: string;
7454
- // 商品总数量
7455
- productTotalCount?: number;
7456
- // 订单基础信息
7457
- orderInfo?: OrderInfo;
7458
- // 用户信息
7459
- orderUserInfo?: OrderUserInfo;
7460
- // 订单履约
7461
- orderFulfillmentInfoList?: OrderFulfillmentInfo[];
7462
- // 订单还款承诺
7463
- orderPromiseInfo?: OrderPromiseInfo;
7464
- // 订单商品信息
7465
- orderProductInfoList?: OrderProductInfo[];
8247
+ // 服务商名称
8248
+ serviceProviderName?: string;
8249
+ // 客诉处理员支付宝绑定手机号
8250
+ alipayBindMobile?: string;
8251
+ // 客诉处理员支付宝账号
8252
+ alipayLogonId?: string;
8253
+ // 客服电话
8254
+ customerServicePhone?: string;
8255
+ // 客服人员名称
8256
+ customerServiceName?: string;
8257
+ // 在线客服网址
8258
+ onlineSupportSiteUrl?: string;
8259
+ // 投诉问题
8260
+ customerComplaintIssues?: string;
7466
8261
  static names(): { [key: string]: string } {
7467
8262
  return {
7468
8263
  reqMsgId: 'req_msg_id',
7469
8264
  resultCode: 'result_code',
7470
8265
  resultMsg: 'result_msg',
7471
- orderId: 'order_id',
7472
- agreementNo: 'agreement_no',
7473
- productTotalCount: 'product_total_count',
7474
- orderInfo: 'order_info',
7475
- orderUserInfo: 'order_user_info',
7476
- orderFulfillmentInfoList: 'order_fulfillment_info_list',
7477
- orderPromiseInfo: 'order_promise_info',
7478
- orderProductInfoList: 'order_product_info_list',
8266
+ serviceProviderName: 'service_provider_name',
8267
+ alipayBindMobile: 'alipay_bind_mobile',
8268
+ alipayLogonId: 'alipay_logon_id',
8269
+ customerServicePhone: 'customer_service_phone',
8270
+ customerServiceName: 'customer_service_name',
8271
+ onlineSupportSiteUrl: 'online_support_site_url',
8272
+ customerComplaintIssues: 'customer_complaint_issues',
7479
8273
  };
7480
8274
  }
7481
8275
 
@@ -7484,14 +8278,13 @@ export class DetailInnerOrderResponse extends $tea.Model {
7484
8278
  reqMsgId: 'string',
7485
8279
  resultCode: 'string',
7486
8280
  resultMsg: 'string',
7487
- orderId: 'string',
7488
- agreementNo: 'string',
7489
- productTotalCount: 'number',
7490
- orderInfo: OrderInfo,
7491
- orderUserInfo: OrderUserInfo,
7492
- orderFulfillmentInfoList: { 'type': 'array', 'itemType': OrderFulfillmentInfo },
7493
- orderPromiseInfo: OrderPromiseInfo,
7494
- orderProductInfoList: { 'type': 'array', 'itemType': OrderProductInfo },
8281
+ serviceProviderName: 'string',
8282
+ alipayBindMobile: 'string',
8283
+ alipayLogonId: 'string',
8284
+ customerServicePhone: 'string',
8285
+ customerServiceName: 'string',
8286
+ onlineSupportSiteUrl: 'string',
8287
+ customerComplaintIssues: 'string',
7495
8288
  };
7496
8289
  }
7497
8290
 
@@ -7655,6 +8448,10 @@ export class QueryInsureResponse extends $tea.Model {
7655
8448
  insureAmount?: string;
7656
8449
  // 投保费用(保费),单位分。100代表1元
7657
8450
  insurePremium?: string;
8451
+ // 电子保单下载链接
8452
+ policyUrl?: string;
8453
+ // 验真码
8454
+ validateCode?: string;
7658
8455
  static names(): { [key: string]: string } {
7659
8456
  return {
7660
8457
  reqMsgId: 'req_msg_id',
@@ -7668,6 +8465,8 @@ export class QueryInsureResponse extends $tea.Model {
7668
8465
  insureEndTime: 'insure_end_time',
7669
8466
  insureAmount: 'insure_amount',
7670
8467
  insurePremium: 'insure_premium',
8468
+ policyUrl: 'policy_url',
8469
+ validateCode: 'validate_code',
7671
8470
  };
7672
8471
  }
7673
8472
 
@@ -7684,6 +8483,8 @@ export class QueryInsureResponse extends $tea.Model {
7684
8483
  insureEndTime: 'string',
7685
8484
  insureAmount: 'string',
7686
8485
  insurePremium: 'string',
8486
+ policyUrl: 'string',
8487
+ validateCode: 'string',
7687
8488
  };
7688
8489
  }
7689
8490
 
@@ -7931,6 +8732,8 @@ export class QueryMerchantexpandMerchantResponse extends $tea.Model {
7931
8732
  // INIT 入驻中
7932
8733
  // SUCCESS 入驻成功
7933
8734
  // FAIL 入驻失败
8735
+ // MERCHANT_CONFIRM 待商户B站确认
8736
+ // SUB_MERCHANT_CREDIT 二级户商户签约中
7934
8737
  enrollmentStatus?: string;
7935
8738
  // 入驻失败原因
7936
8739
  failReason?: string;
@@ -10615,14 +11418,31 @@ export class CreateWithholdActivepayRequest extends $tea.Model {
10615
11418
  productInstanceId?: string;
10616
11419
  // 订单id 长度不可超过50
10617
11420
  orderId: string;
10618
- // 第几期
10619
- periodNum: number;
11421
+ // 第几期,当支付类型为PERFORMANCE或为空必填
11422
+ periodNum?: number;
11423
+ // 支付类型
11424
+ payType?: string;
11425
+ // 支付渠道,非必填。可选值:JSAPI-JSAPI支付,APP-APP支付。默认值:JSAPI
11426
+ payChannel?: string;
11427
+ // 支付金额,单位为分
11428
+ payAmount?: number;
11429
+ // 经营分账标识Y/N
11430
+ // 当pay_type=BUYOUT、PENALTY必填。
11431
+ operationDivideFlag?: string;
11432
+ // 当operation_divide_flag=Y 必填
11433
+ // 经营分账收入列表,最多10条,分账比例与正常限制一致。
11434
+ operationDivideTransInList?: OperationDivideTransInModel[];
10620
11435
  static names(): { [key: string]: string } {
10621
11436
  return {
10622
11437
  authToken: 'auth_token',
10623
11438
  productInstanceId: 'product_instance_id',
10624
11439
  orderId: 'order_id',
10625
11440
  periodNum: 'period_num',
11441
+ payType: 'pay_type',
11442
+ payChannel: 'pay_channel',
11443
+ payAmount: 'pay_amount',
11444
+ operationDivideFlag: 'operation_divide_flag',
11445
+ operationDivideTransInList: 'operation_divide_trans_in_list',
10626
11446
  };
10627
11447
  }
10628
11448
 
@@ -10632,6 +11452,11 @@ export class CreateWithholdActivepayRequest extends $tea.Model {
10632
11452
  productInstanceId: 'string',
10633
11453
  orderId: 'string',
10634
11454
  periodNum: 'number',
11455
+ payType: 'string',
11456
+ payChannel: 'string',
11457
+ payAmount: 'number',
11458
+ operationDivideFlag: 'string',
11459
+ operationDivideTransInList: { 'type': 'array', 'itemType': OperationDivideTransInModel },
10635
11460
  };
10636
11461
  }
10637
11462
 
@@ -10649,12 +11474,15 @@ export class CreateWithholdActivepayResponse extends $tea.Model {
10649
11474
  resultMsg?: string;
10650
11475
  // 支付宝支付订单号,用于拉起主动支付页面
10651
11476
  tradeNo?: string;
11477
+ // 签名字符串,用于APP支付场景,客户端唤起支付宝收银台使用。
11478
+ orderStr?: string;
10652
11479
  static names(): { [key: string]: string } {
10653
11480
  return {
10654
11481
  reqMsgId: 'req_msg_id',
10655
11482
  resultCode: 'result_code',
10656
11483
  resultMsg: 'result_msg',
10657
11484
  tradeNo: 'trade_no',
11485
+ orderStr: 'order_str',
10658
11486
  };
10659
11487
  }
10660
11488
 
@@ -10664,6 +11492,7 @@ export class CreateWithholdActivepayResponse extends $tea.Model {
10664
11492
  resultCode: 'string',
10665
11493
  resultMsg: 'string',
10666
11494
  tradeNo: 'string',
11495
+ orderStr: 'string',
10667
11496
  };
10668
11497
  }
10669
11498
 
@@ -10678,10 +11507,12 @@ export class QueryWithholdActivepayRequest extends $tea.Model {
10678
11507
  productInstanceId?: string;
10679
11508
  // 订单id 长度不可超过50
10680
11509
  orderId: string;
10681
- // 第几期
10682
- periodNum: number;
11510
+ // 第几期,当支付类型为PERFORMANCE或为空必填
11511
+ periodNum?: number;
10683
11512
  // 支付宝支付订单号,当传递此单号时,只会返回当前单据
10684
11513
  tradeNo?: string;
11514
+ // 支付类型
11515
+ payType?: string;
10685
11516
  static names(): { [key: string]: string } {
10686
11517
  return {
10687
11518
  authToken: 'auth_token',
@@ -10689,6 +11520,7 @@ export class QueryWithholdActivepayRequest extends $tea.Model {
10689
11520
  orderId: 'order_id',
10690
11521
  periodNum: 'period_num',
10691
11522
  tradeNo: 'trade_no',
11523
+ payType: 'pay_type',
10692
11524
  };
10693
11525
  }
10694
11526
 
@@ -10699,6 +11531,7 @@ export class QueryWithholdActivepayRequest extends $tea.Model {
10699
11531
  orderId: 'string',
10700
11532
  periodNum: 'number',
10701
11533
  tradeNo: 'string',
11534
+ payType: 'string',
10702
11535
  };
10703
11536
  }
10704
11537
 
@@ -10818,7 +11651,7 @@ export class CreateWithholdRefundRequest extends $tea.Model {
10818
11651
  orderId: string;
10819
11652
  // 第几期
10820
11653
  // 针对用户履约的第几期进行退款申请
10821
- periodNum: number;
11654
+ periodNum?: number;
10822
11655
  // 外部系统传入的退款请求号
10823
11656
  refundRequestNo: string;
10824
11657
  // 本次请求的退款金额,单位为分
@@ -10826,6 +11659,11 @@ export class CreateWithholdRefundRequest extends $tea.Model {
10826
11659
  refundMoney: number;
10827
11660
  // 退款原因
10828
11661
  refundReason?: string;
11662
+ // 支付类型
11663
+ // ORDER_BUYOUT:买断金
11664
+ // ORDER_PENALTY:违约金
11665
+ // PERFORMANCE:正常履约(默认)
11666
+ payType?: string;
10829
11667
  static names(): { [key: string]: string } {
10830
11668
  return {
10831
11669
  authToken: 'auth_token',
@@ -10835,6 +11673,7 @@ export class CreateWithholdRefundRequest extends $tea.Model {
10835
11673
  refundRequestNo: 'refund_request_no',
10836
11674
  refundMoney: 'refund_money',
10837
11675
  refundReason: 'refund_reason',
11676
+ payType: 'pay_type',
10838
11677
  };
10839
11678
  }
10840
11679
 
@@ -10847,6 +11686,7 @@ export class CreateWithholdRefundRequest extends $tea.Model {
10847
11686
  refundRequestNo: 'string',
10848
11687
  refundMoney: 'number',
10849
11688
  refundReason: 'string',
11689
+ payType: 'string',
10850
11690
  };
10851
11691
  }
10852
11692
 
@@ -10903,9 +11743,14 @@ export class QueryWithholdRefundRequest extends $tea.Model {
10903
11743
  orderId: string;
10904
11744
  // 几期
10905
11745
  // 针对用户履约的第几期进行退款申请
10906
- periodNum: number;
11746
+ periodNum?: number;
10907
11747
  // 外部系统传入的退款请求号
10908
11748
  refundRequestNo: string;
11749
+ // 支付类型
11750
+ // ORDER_BUYOUT:买断金
11751
+ // ORDER_PENALTY:违约金
11752
+ // PERFORMANCE:正常履约(默认)
11753
+ payType?: string;
10909
11754
  static names(): { [key: string]: string } {
10910
11755
  return {
10911
11756
  authToken: 'auth_token',
@@ -10913,6 +11758,7 @@ export class QueryWithholdRefundRequest extends $tea.Model {
10913
11758
  orderId: 'order_id',
10914
11759
  periodNum: 'period_num',
10915
11760
  refundRequestNo: 'refund_request_no',
11761
+ payType: 'pay_type',
10916
11762
  };
10917
11763
  }
10918
11764
 
@@ -10923,6 +11769,7 @@ export class QueryWithholdRefundRequest extends $tea.Model {
10923
11769
  orderId: 'string',
10924
11770
  periodNum: 'number',
10925
11771
  refundRequestNo: 'string',
11772
+ payType: 'string',
10926
11773
  };
10927
11774
  }
10928
11775
 
@@ -10993,6 +11840,77 @@ export class QueryWithholdRefundResponse extends $tea.Model {
10993
11840
  }
10994
11841
  }
10995
11842
 
11843
+ export class QueryWithholdCompensateaccountRequest extends $tea.Model {
11844
+ // OAuth模式下的授权token
11845
+ authToken?: string;
11846
+ productInstanceId?: string;
11847
+ // 商户社会信用代码
11848
+ merchantId: string;
11849
+ // 资方社会信用代码
11850
+ fundId: string;
11851
+ // 资方租户id
11852
+ fundTenantId: string;
11853
+ static names(): { [key: string]: string } {
11854
+ return {
11855
+ authToken: 'auth_token',
11856
+ productInstanceId: 'product_instance_id',
11857
+ merchantId: 'merchant_id',
11858
+ fundId: 'fund_id',
11859
+ fundTenantId: 'fund_tenant_id',
11860
+ };
11861
+ }
11862
+
11863
+ static types(): { [key: string]: any } {
11864
+ return {
11865
+ authToken: 'string',
11866
+ productInstanceId: 'string',
11867
+ merchantId: 'string',
11868
+ fundId: 'string',
11869
+ fundTenantId: 'string',
11870
+ };
11871
+ }
11872
+
11873
+ constructor(map?: { [key: string]: any }) {
11874
+ super(map);
11875
+ }
11876
+ }
11877
+
11878
+ export class QueryWithholdCompensateaccountResponse extends $tea.Model {
11879
+ // 请求唯一ID,用于链路跟踪和问题排查
11880
+ reqMsgId?: string;
11881
+ // 结果码,一般OK表示调用成功
11882
+ resultCode?: string;
11883
+ // 异常信息的文本描述
11884
+ resultMsg?: string;
11885
+ // 代偿卡号
11886
+ cardNo?: string;
11887
+ // 可用余额,单位为分
11888
+ availableAmount?: number;
11889
+ static names(): { [key: string]: string } {
11890
+ return {
11891
+ reqMsgId: 'req_msg_id',
11892
+ resultCode: 'result_code',
11893
+ resultMsg: 'result_msg',
11894
+ cardNo: 'card_no',
11895
+ availableAmount: 'available_amount',
11896
+ };
11897
+ }
11898
+
11899
+ static types(): { [key: string]: any } {
11900
+ return {
11901
+ reqMsgId: 'string',
11902
+ resultCode: 'string',
11903
+ resultMsg: 'string',
11904
+ cardNo: 'string',
11905
+ availableAmount: 'number',
11906
+ };
11907
+ }
11908
+
11909
+ constructor(map?: { [key: string]: any }) {
11910
+ super(map);
11911
+ }
11912
+ }
11913
+
10996
11914
  export class CreateAntcloudGatewayxFileUploadRequest extends $tea.Model {
10997
11915
  // OAuth模式下的授权token
10998
11916
  authToken?: string;
@@ -11194,7 +12112,7 @@ export default class Client {
11194
12112
  req_msg_id: AntchainUtil.getNonce(),
11195
12113
  access_key: this._accessKeyId,
11196
12114
  base_sdk_version: "TeaSDK-2.0",
11197
- sdk_version: "1.9.73",
12115
+ sdk_version: "1.10.24",
11198
12116
  _prod_code: "ATO",
11199
12117
  _prod_channel: "undefined",
11200
12118
  };
@@ -11663,6 +12581,25 @@ export default class Client {
11663
12581
  return $tea.cast<SyncFundFinanceprecheckresultResponse>(await this.doRequest("1.0", "antchain.ato.fund.financeprecheckresult.sync", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SyncFundFinanceprecheckresultResponse({}));
11664
12582
  }
11665
12583
 
12584
+ /**
12585
+ * Description: 资方查询代偿户余额
12586
+ * Summary: 代偿户查询
12587
+ */
12588
+ async queryFundCompensateaccount(request: QueryFundCompensateaccountRequest): Promise<QueryFundCompensateaccountResponse> {
12589
+ let runtime = new $Util.RuntimeOptions({ });
12590
+ let headers : {[key: string ]: string} = { };
12591
+ return await this.queryFundCompensateaccountEx(request, headers, runtime);
12592
+ }
12593
+
12594
+ /**
12595
+ * Description: 资方查询代偿户余额
12596
+ * Summary: 代偿户查询
12597
+ */
12598
+ async queryFundCompensateaccountEx(request: QueryFundCompensateaccountRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryFundCompensateaccountResponse> {
12599
+ Util.validateModel(request);
12600
+ return $tea.cast<QueryFundCompensateaccountResponse>(await this.doRequest("1.0", "antchain.ato.fund.compensateaccount.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryFundCompensateaccountResponse({}));
12601
+ }
12602
+
11666
12603
  /**
11667
12604
  * Description: 内部调用,商品信息获取
11668
12605
  * Summary: 商品信息获取
@@ -12672,25 +13609,6 @@ export default class Client {
12672
13609
  return $tea.cast<PagequeryInnerProductResponse>(await this.doRequest("1.0", "antchain.ato.inner.product.pagequery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PagequeryInnerProductResponse({}));
12673
13610
  }
12674
13611
 
12675
- /**
12676
- * Description: 商户控制台商品详情
12677
- * Summary: 商品详情
12678
- */
12679
- async detailInnerProduct(request: DetailInnerProductRequest): Promise<DetailInnerProductResponse> {
12680
- let runtime = new $Util.RuntimeOptions({ });
12681
- let headers : {[key: string ]: string} = { };
12682
- return await this.detailInnerProductEx(request, headers, runtime);
12683
- }
12684
-
12685
- /**
12686
- * Description: 商户控制台商品详情
12687
- * Summary: 商品详情
12688
- */
12689
- async detailInnerProductEx(request: DetailInnerProductRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DetailInnerProductResponse> {
12690
- Util.validateModel(request);
12691
- return $tea.cast<DetailInnerProductResponse>(await this.doRequest("1.0", "antchain.ato.inner.product.detail", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new DetailInnerProductResponse({}));
12692
- }
12693
-
12694
13612
  /**
12695
13613
  * Description: 商户控制台首页通知栏
12696
13614
  * Summary: 首页通知栏
@@ -12786,6 +13704,139 @@ export default class Client {
12786
13704
  return $tea.cast<DetailInnerOrderResponse>(await this.doRequest("1.0", "antchain.ato.inner.order.detail", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new DetailInnerOrderResponse({}));
12787
13705
  }
12788
13706
 
13707
+ /**
13708
+ * Description: 合同模板实例化渲染,文本域赋值
13709
+ * Summary: 合同模板实例化渲染
13710
+ */
13711
+ async renderInnerTemplateinstance(request: RenderInnerTemplateinstanceRequest): Promise<RenderInnerTemplateinstanceResponse> {
13712
+ let runtime = new $Util.RuntimeOptions({ });
13713
+ let headers : {[key: string ]: string} = { };
13714
+ return await this.renderInnerTemplateinstanceEx(request, headers, runtime);
13715
+ }
13716
+
13717
+ /**
13718
+ * Description: 合同模板实例化渲染,文本域赋值
13719
+ * Summary: 合同模板实例化渲染
13720
+ */
13721
+ async renderInnerTemplateinstanceEx(request: RenderInnerTemplateinstanceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RenderInnerTemplateinstanceResponse> {
13722
+ Util.validateModel(request);
13723
+ return $tea.cast<RenderInnerTemplateinstanceResponse>(await this.doRequest("1.0", "antchain.ato.inner.templateinstance.render", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new RenderInnerTemplateinstanceResponse({}));
13724
+ }
13725
+
13726
+ /**
13727
+ * Description: 批量查询营销分
13728
+ * Summary: 批量查询营销分
13729
+ */
13730
+ async batchqueryInnerMarketingscore(request: BatchqueryInnerMarketingscoreRequest): Promise<BatchqueryInnerMarketingscoreResponse> {
13731
+ let runtime = new $Util.RuntimeOptions({ });
13732
+ let headers : {[key: string ]: string} = { };
13733
+ return await this.batchqueryInnerMarketingscoreEx(request, headers, runtime);
13734
+ }
13735
+
13736
+ /**
13737
+ * Description: 批量查询营销分
13738
+ * Summary: 批量查询营销分
13739
+ */
13740
+ async batchqueryInnerMarketingscoreEx(request: BatchqueryInnerMarketingscoreRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<BatchqueryInnerMarketingscoreResponse> {
13741
+ Util.validateModel(request);
13742
+ 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({}));
13743
+ }
13744
+
13745
+ /**
13746
+ * Description: 创建客服信息
13747
+ * Summary: 创建客服信息
13748
+ */
13749
+ async createInnerCustomerservice(request: CreateInnerCustomerserviceRequest): Promise<CreateInnerCustomerserviceResponse> {
13750
+ let runtime = new $Util.RuntimeOptions({ });
13751
+ let headers : {[key: string ]: string} = { };
13752
+ return await this.createInnerCustomerserviceEx(request, headers, runtime);
13753
+ }
13754
+
13755
+ /**
13756
+ * Description: 创建客服信息
13757
+ * Summary: 创建客服信息
13758
+ */
13759
+ async createInnerCustomerserviceEx(request: CreateInnerCustomerserviceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateInnerCustomerserviceResponse> {
13760
+ Util.validateModel(request);
13761
+ 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({}));
13762
+ }
13763
+
13764
+ /**
13765
+ * Description: 更新客服信息
13766
+ * Summary: 更新客服信息
13767
+ */
13768
+ async updateInnerCustomerservice(request: UpdateInnerCustomerserviceRequest): Promise<UpdateInnerCustomerserviceResponse> {
13769
+ let runtime = new $Util.RuntimeOptions({ });
13770
+ let headers : {[key: string ]: string} = { };
13771
+ return await this.updateInnerCustomerserviceEx(request, headers, runtime);
13772
+ }
13773
+
13774
+ /**
13775
+ * Description: 更新客服信息
13776
+ * Summary: 更新客服信息
13777
+ */
13778
+ async updateInnerCustomerserviceEx(request: UpdateInnerCustomerserviceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateInnerCustomerserviceResponse> {
13779
+ Util.validateModel(request);
13780
+ 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({}));
13781
+ }
13782
+
13783
+ /**
13784
+ * Description: 分页查询客服信息
13785
+ * Summary: 分页查询客服信息
13786
+ */
13787
+ async pagequeryInnerCustomerservice(request: PagequeryInnerCustomerserviceRequest): Promise<PagequeryInnerCustomerserviceResponse> {
13788
+ let runtime = new $Util.RuntimeOptions({ });
13789
+ let headers : {[key: string ]: string} = { };
13790
+ return await this.pagequeryInnerCustomerserviceEx(request, headers, runtime);
13791
+ }
13792
+
13793
+ /**
13794
+ * Description: 分页查询客服信息
13795
+ * Summary: 分页查询客服信息
13796
+ */
13797
+ async pagequeryInnerCustomerserviceEx(request: PagequeryInnerCustomerserviceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PagequeryInnerCustomerserviceResponse> {
13798
+ Util.validateModel(request);
13799
+ 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({}));
13800
+ }
13801
+
13802
+ /**
13803
+ * Description: 获取客服信息详情
13804
+ * Summary: 获取客服信息详情
13805
+ */
13806
+ async detailInnerCustomerservice(request: DetailInnerCustomerserviceRequest): Promise<DetailInnerCustomerserviceResponse> {
13807
+ let runtime = new $Util.RuntimeOptions({ });
13808
+ let headers : {[key: string ]: string} = { };
13809
+ return await this.detailInnerCustomerserviceEx(request, headers, runtime);
13810
+ }
13811
+
13812
+ /**
13813
+ * Description: 获取客服信息详情
13814
+ * Summary: 获取客服信息详情
13815
+ */
13816
+ async detailInnerCustomerserviceEx(request: DetailInnerCustomerserviceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DetailInnerCustomerserviceResponse> {
13817
+ Util.validateModel(request);
13818
+ 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({}));
13819
+ }
13820
+
13821
+ /**
13822
+ * Description: 获取代理商客服信息模版
13823
+ * Summary: 获取代理商客服信息模版
13824
+ */
13825
+ async getInnerCustomerservicetemplate(request: GetInnerCustomerservicetemplateRequest): Promise<GetInnerCustomerservicetemplateResponse> {
13826
+ let runtime = new $Util.RuntimeOptions({ });
13827
+ let headers : {[key: string ]: string} = { };
13828
+ return await this.getInnerCustomerservicetemplateEx(request, headers, runtime);
13829
+ }
13830
+
13831
+ /**
13832
+ * Description: 获取代理商客服信息模版
13833
+ * Summary: 获取代理商客服信息模版
13834
+ */
13835
+ async getInnerCustomerservicetemplateEx(request: GetInnerCustomerservicetemplateRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<GetInnerCustomerservicetemplateResponse> {
13836
+ Util.validateModel(request);
13837
+ 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
+ }
13839
+
12789
13840
  /**
12790
13841
  * Description: 一键投保
12791
13842
  * Summary: 投保
@@ -13670,6 +14721,25 @@ export default class Client {
13670
14721
  return $tea.cast<QueryWithholdRefundResponse>(await this.doRequest("1.0", "antchain.ato.withhold.refund.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryWithholdRefundResponse({}));
13671
14722
  }
13672
14723
 
14724
+ /**
14725
+ * Description: 代偿户账户查询
14726
+ * Summary: 代偿户账户查询
14727
+ */
14728
+ async queryWithholdCompensateaccount(request: QueryWithholdCompensateaccountRequest): Promise<QueryWithholdCompensateaccountResponse> {
14729
+ let runtime = new $Util.RuntimeOptions({ });
14730
+ let headers : {[key: string ]: string} = { };
14731
+ return await this.queryWithholdCompensateaccountEx(request, headers, runtime);
14732
+ }
14733
+
14734
+ /**
14735
+ * Description: 代偿户账户查询
14736
+ * Summary: 代偿户账户查询
14737
+ */
14738
+ async queryWithholdCompensateaccountEx(request: QueryWithholdCompensateaccountRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryWithholdCompensateaccountResponse> {
14739
+ Util.validateModel(request);
14740
+ return $tea.cast<QueryWithholdCompensateaccountResponse>(await this.doRequest("1.0", "antchain.ato.withhold.compensateaccount.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryWithholdCompensateaccountResponse({}));
14741
+ }
14742
+
13673
14743
  /**
13674
14744
  * Description: 创建HTTP PUT提交的文件上传
13675
14745
  * Summary: 文件上传创建