@antchain/riskplus 1.31.25 → 1.31.29

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
@@ -1230,6 +1230,51 @@ export class RpspInfoModel extends $tea.Model {
1230
1230
  }
1231
1231
  }
1232
1232
 
1233
+ // 客户历史交易信息
1234
+ export class HisTranInfo extends $tea.Model {
1235
+ // 维修单号
1236
+ repairNo?: string;
1237
+ // 购买日期
1238
+ buyDate?: string;
1239
+ // 商品型号
1240
+ commType?: string;
1241
+ // 商品金额
1242
+ commAmount?: string;
1243
+ // 维修时间
1244
+ repairTime?: string;
1245
+ // 是否联保
1246
+ isJoint?: string;
1247
+ // 合计费用(每笔历史交易的合计费用)
1248
+ totalCost?: string;
1249
+ static names(): { [key: string]: string } {
1250
+ return {
1251
+ repairNo: 'repair_no',
1252
+ buyDate: 'buy_date',
1253
+ commType: 'comm_type',
1254
+ commAmount: 'comm_amount',
1255
+ repairTime: 'repair_time',
1256
+ isJoint: 'is_joint',
1257
+ totalCost: 'total_cost',
1258
+ };
1259
+ }
1260
+
1261
+ static types(): { [key: string]: any } {
1262
+ return {
1263
+ repairNo: 'string',
1264
+ buyDate: 'string',
1265
+ commType: 'string',
1266
+ commAmount: 'string',
1267
+ repairTime: 'string',
1268
+ isJoint: 'string',
1269
+ totalCost: 'string',
1270
+ };
1271
+ }
1272
+
1273
+ constructor(map?: { [key: string]: any }) {
1274
+ super(map);
1275
+ }
1276
+ }
1277
+
1233
1278
  // 优惠券信息
1234
1279
  export class CouponInfo extends $tea.Model {
1235
1280
  // 优惠券Id
@@ -1700,6 +1745,47 @@ export class RuleDetail extends $tea.Model {
1700
1745
  }
1701
1746
  }
1702
1747
 
1748
+ // Flow 成功后的产出列表。运行中或失败时为空。
1749
+ export class FlowRunOutput extends $tea.Model {
1750
+ // Flow 输出定义中的稳定字段标识。
1751
+ /**
1752
+ * @example
1753
+ * summary
1754
+ */
1755
+ outputKey: string;
1756
+ // 输出类型,支持 STRING、NUMBER、BOOLEAN、JSON、FILE。
1757
+ /**
1758
+ * @example
1759
+ * STRING
1760
+ */
1761
+ outputType: string;
1762
+ // 输出值。FILE 类型直接返回短期下载地址;JSON 类型返回 JSON 字符串;其他类型返回对应值的字符串形式。
1763
+ /**
1764
+ * @example
1765
+ * 风险较低
1766
+ */
1767
+ value: string;
1768
+ static names(): { [key: string]: string } {
1769
+ return {
1770
+ outputKey: 'output_key',
1771
+ outputType: 'output_type',
1772
+ value: 'value',
1773
+ };
1774
+ }
1775
+
1776
+ static types(): { [key: string]: any } {
1777
+ return {
1778
+ outputKey: 'string',
1779
+ outputType: 'string',
1780
+ value: 'string',
1781
+ };
1782
+ }
1783
+
1784
+ constructor(map?: { [key: string]: any }) {
1785
+ super(map);
1786
+ }
1787
+ }
1788
+
1703
1789
  // 补充信息
1704
1790
  export class Additional extends $tea.Model {
1705
1791
  // 骑手标识;1-骑手
@@ -3045,6 +3131,12 @@ export class DecisionInfo extends $tea.Model {
3045
3131
  * https://test-oss.oss-cn-shang
3046
3132
  */
3047
3133
  fileUrl: string;
3134
+ // 返回结果节点id
3135
+ /**
3136
+ * @example
3137
+ * 123
3138
+ */
3139
+ returnResultId?: number;
3048
3140
  static names(): { [key: string]: string } {
3049
3141
  return {
3050
3142
  status: 'status',
@@ -3052,6 +3144,7 @@ export class DecisionInfo extends $tea.Model {
3052
3144
  totalNum: 'total_num',
3053
3145
  decisionNum: 'decision_num',
3054
3146
  fileUrl: 'file_url',
3147
+ returnResultId: 'return_result_id',
3055
3148
  };
3056
3149
  }
3057
3150
 
@@ -3062,6 +3155,7 @@ export class DecisionInfo extends $tea.Model {
3062
3155
  totalNum: 'number',
3063
3156
  decisionNum: 'number',
3064
3157
  fileUrl: 'string',
3158
+ returnResultId: 'number',
3065
3159
  };
3066
3160
  }
3067
3161
 
@@ -4769,6 +4863,79 @@ export class RpcommonResp extends $tea.Model {
4769
4863
  }
4770
4864
  }
4771
4865
 
4866
+ // 渠道扩展信息
4867
+ export class PetCashierApplyExtInfo extends $tea.Model {
4868
+ // 门店名称
4869
+ storeName?: string;
4870
+ // 门店id
4871
+ storeId?: string;
4872
+ // 门店社会统一信用代码
4873
+ storeSocialCode?: string;
4874
+ // 门店地址
4875
+ storeAddress?: string;
4876
+ // 门店地址省
4877
+ storeAddrProv?: string;
4878
+ // 门店地址市
4879
+ storeAddrCity?: string;
4880
+ // 门店地址区
4881
+ storeAddrDstc?: string;
4882
+ // 厂商社会信用代码
4883
+ vendorSocialCode: string;
4884
+ // 厂商名称
4885
+ vendorName: string;
4886
+ // 商品型号
4887
+ commModel: string;
4888
+ // 商品总价(包含定金) String
4889
+ totalPrice?: string;
4890
+ // 已付定金
4891
+ firstPayAmount?: string;
4892
+ // 已付货款
4893
+ orderPaidAmount?: string;
4894
+ // 客户历史交易信息
4895
+ hisTranInfo?: HisTranInfo[];
4896
+ static names(): { [key: string]: string } {
4897
+ return {
4898
+ storeName: 'store_name',
4899
+ storeId: 'store_id',
4900
+ storeSocialCode: 'store_social_code',
4901
+ storeAddress: 'store_address',
4902
+ storeAddrProv: 'store_addr_prov',
4903
+ storeAddrCity: 'store_addr_city',
4904
+ storeAddrDstc: 'store_addr_dstc',
4905
+ vendorSocialCode: 'vendor_social_code',
4906
+ vendorName: 'vendor_name',
4907
+ commModel: 'comm_model',
4908
+ totalPrice: 'total_price',
4909
+ firstPayAmount: 'first_pay_amount',
4910
+ orderPaidAmount: 'order_paid_amount',
4911
+ hisTranInfo: 'his_tran_info',
4912
+ };
4913
+ }
4914
+
4915
+ static types(): { [key: string]: any } {
4916
+ return {
4917
+ storeName: 'string',
4918
+ storeId: 'string',
4919
+ storeSocialCode: 'string',
4920
+ storeAddress: 'string',
4921
+ storeAddrProv: 'string',
4922
+ storeAddrCity: 'string',
4923
+ storeAddrDstc: 'string',
4924
+ vendorSocialCode: 'string',
4925
+ vendorName: 'string',
4926
+ commModel: 'string',
4927
+ totalPrice: 'string',
4928
+ firstPayAmount: 'string',
4929
+ orderPaidAmount: 'string',
4930
+ hisTranInfo: { 'type': 'array', 'itemType': HisTranInfo },
4931
+ };
4932
+ }
4933
+
4934
+ constructor(map?: { [key: string]: any }) {
4935
+ super(map);
4936
+ }
4937
+ }
4938
+
4772
4939
  // 申请人信息
4773
4940
  export class ApplicantPersonInfo extends $tea.Model {
4774
4941
  // 申请人姓名
@@ -5058,6 +5225,39 @@ export class ApplyInfo extends $tea.Model {
5058
5225
  }
5059
5226
  }
5060
5227
 
5228
+ // 退款订单信息
5229
+ export class RefoundGoodOrderInfo extends $tea.Model {
5230
+ // 商城订单号
5231
+ /**
5232
+ * @example
5233
+ * 2023343380112
5234
+ */
5235
+ goodsOrderNo: string;
5236
+ // 退款金额
5237
+ /**
5238
+ * @example
5239
+ * 1000.00
5240
+ */
5241
+ amount: string;
5242
+ static names(): { [key: string]: string } {
5243
+ return {
5244
+ goodsOrderNo: 'goods_order_no',
5245
+ amount: 'amount',
5246
+ };
5247
+ }
5248
+
5249
+ static types(): { [key: string]: any } {
5250
+ return {
5251
+ goodsOrderNo: 'string',
5252
+ amount: 'string',
5253
+ };
5254
+ }
5255
+
5256
+ constructor(map?: { [key: string]: any }) {
5257
+ super(map);
5258
+ }
5259
+ }
5260
+
5061
5261
  // 风险基因-点
5062
5262
  export class RtopRiskGeneNode extends $tea.Model {
5063
5263
  // 主企业唯一ID
@@ -8159,6 +8359,64 @@ export class StoreInfo extends $tea.Model {
8159
8359
  }
8160
8360
  }
8161
8361
 
8362
+ // 批量回溯结果内容
8363
+ export class ResultItem extends $tea.Model {
8364
+ // dataId
8365
+ /**
8366
+ * @example
8367
+ * 46052e46721417297df682ef88a8ab91
8368
+ */
8369
+ dataId: string;
8370
+ // 分值
8371
+ /**
8372
+ * @example
8373
+ * 0.32223
8374
+ */
8375
+ score: string;
8376
+ // 特征值
8377
+ /**
8378
+ * @example
8379
+ * {"feature1":0.223,"feature2":0.33,"feature3":0.323}
8380
+ */
8381
+ featureJson?: string;
8382
+ // 单调样本数据处理结果
8383
+ // 初始化/处理中/成功/失败
8384
+ /**
8385
+ * @example
8386
+ * INIT/PROCESS/SUCCESS/FAIL
8387
+ */
8388
+ status?: string;
8389
+ // 各个子分
8390
+ /**
8391
+ * @example
8392
+ * {"score1":0.22233,"score2":0.34234,"score3":0.34343}
8393
+ */
8394
+ scoreJson: string;
8395
+ static names(): { [key: string]: string } {
8396
+ return {
8397
+ dataId: 'data_id',
8398
+ score: 'score',
8399
+ featureJson: 'feature_json',
8400
+ status: 'status',
8401
+ scoreJson: 'score_json',
8402
+ };
8403
+ }
8404
+
8405
+ static types(): { [key: string]: any } {
8406
+ return {
8407
+ dataId: 'string',
8408
+ score: 'string',
8409
+ featureJson: 'string',
8410
+ status: 'string',
8411
+ scoreJson: 'string',
8412
+ };
8413
+ }
8414
+
8415
+ constructor(map?: { [key: string]: any }) {
8416
+ super(map);
8417
+ }
8418
+ }
8419
+
8162
8420
  // 批量决策单主体查询结果
8163
8421
  export class BatchQueryResult extends $tea.Model {
8164
8422
  // 查询主体
@@ -8723,6 +8981,39 @@ export class Contract extends $tea.Model {
8723
8981
  }
8724
8982
  }
8725
8983
 
8984
+ // 批量请求响应的结构体
8985
+ export class ResItem extends $tea.Model {
8986
+ // 客户侧样本唯一id用于映射
8987
+ /**
8988
+ * @example
8989
+ * 077e5fc68135bd8e8223a094029d4cee
8990
+ */
8991
+ sampleId: string;
8992
+ // 蚂蚁侧对应样本唯一id,与客户侧形成映射关系,查询时需要携带该id
8993
+ /**
8994
+ * @example
8995
+ * 46052e46721417297df682ef88a8ab91
8996
+ */
8997
+ dataId: string;
8998
+ static names(): { [key: string]: string } {
8999
+ return {
9000
+ sampleId: 'sample_id',
9001
+ dataId: 'data_id',
9002
+ };
9003
+ }
9004
+
9005
+ static types(): { [key: string]: any } {
9006
+ return {
9007
+ sampleId: 'string',
9008
+ dataId: 'string',
9009
+ };
9010
+ }
9011
+
9012
+ constructor(map?: { [key: string]: any }) {
9013
+ super(map);
9014
+ }
9015
+ }
9016
+
8726
9017
  // 代扣明细
8727
9018
  export class WithholdDetailItem extends $tea.Model {
8728
9019
  // 贷款申请编号
@@ -10526,6 +10817,55 @@ export class OfflineDecisionPlanDetail extends $tea.Model {
10526
10817
  }
10527
10818
  }
10528
10819
 
10820
+ // 批量样本三要素
10821
+ export class Item extends $tea.Model {
10822
+ // 样本唯一id
10823
+ /**
10824
+ * @example
10825
+ * 7ef15c83-57b4-4932-9180-35b11b102075
10826
+ */
10827
+ sampleId: string;
10828
+ // 小写加密身份证(身份证如果有X,要大写再生成MD5)
10829
+ /**
10830
+ * @example
10831
+ * 51db170b113f8c57533ae28605f2b76b
10832
+ */
10833
+ certNo: string;
10834
+ // 手机号加密
10835
+ /**
10836
+ * @example
10837
+ * 077e5fc68135bd8e8223a094029d4cee
10838
+ */
10839
+ mobile: string;
10840
+ // 回溯日期(yyyyMMdd格式)
10841
+ /**
10842
+ * @example
10843
+ * 20260620
10844
+ */
10845
+ sampleBackDate?: string;
10846
+ static names(): { [key: string]: string } {
10847
+ return {
10848
+ sampleId: 'sample_id',
10849
+ certNo: 'cert_no',
10850
+ mobile: 'mobile',
10851
+ sampleBackDate: 'sample_back_date',
10852
+ };
10853
+ }
10854
+
10855
+ static types(): { [key: string]: any } {
10856
+ return {
10857
+ sampleId: 'string',
10858
+ certNo: 'string',
10859
+ mobile: 'string',
10860
+ sampleBackDate: 'string',
10861
+ };
10862
+ }
10863
+
10864
+ constructor(map?: { [key: string]: any }) {
10865
+ super(map);
10866
+ }
10867
+ }
10868
+
10529
10869
  // 用户分层信息
10530
10870
  export class UserClassifyInfo extends $tea.Model {
10531
10871
  // 版本号
@@ -11067,6 +11407,152 @@ export class XNameValuePair extends $tea.Model {
11067
11407
  }
11068
11408
  }
11069
11409
 
11410
+ export class ExecFlowRunRequest extends $tea.Model {
11411
+ // OAuth模式下的授权token
11412
+ authToken?: string;
11413
+ productInstanceId?: string;
11414
+ // 需要执行的任务唯一 code
11415
+ flowCode: string;
11416
+ // 调用方生成的业务订单号,用于请求幂等。同一云租户内必须唯一;请求重试时须使用相同订单号。可使用调用方已有业务单号或 UUID。大小写敏感,建议统一使用大写。
11417
+ clientOrderNo: string;
11418
+ // Flow 执行入参,使用 JSON 字符串传递,顶层必须为 JSON Object。具体字段、类型和必填要求由已发布 Flow 的输入定义决定。无入参的 Flow 可不传或传 {},未传时服务端按 {} 处理;如果 Flow 定义了必填字段但实际未提供,将返回参数校验错误。
11419
+ inputJson?: string;
11420
+ static names(): { [key: string]: string } {
11421
+ return {
11422
+ authToken: 'auth_token',
11423
+ productInstanceId: 'product_instance_id',
11424
+ flowCode: 'flow_code',
11425
+ clientOrderNo: 'client_order_no',
11426
+ inputJson: 'input_json',
11427
+ };
11428
+ }
11429
+
11430
+ static types(): { [key: string]: any } {
11431
+ return {
11432
+ authToken: 'string',
11433
+ productInstanceId: 'string',
11434
+ flowCode: 'string',
11435
+ clientOrderNo: 'string',
11436
+ inputJson: 'string',
11437
+ };
11438
+ }
11439
+
11440
+ constructor(map?: { [key: string]: any }) {
11441
+ super(map);
11442
+ }
11443
+ }
11444
+
11445
+ export class ExecFlowRunResponse extends $tea.Model {
11446
+ // 请求唯一ID,用于链路跟踪和问题排查
11447
+ reqMsgId?: string;
11448
+ // 结果码,一般OK表示调用成功
11449
+ resultCode?: string;
11450
+ // 异常信息的文本描述
11451
+ resultMsg?: string;
11452
+ // 生成的 Flow 执行单号,用于后续内部执行和问题排查。
11453
+ runNo?: string;
11454
+ // 本次执行对应的已发布 Flow 编码。
11455
+ flowCode?: string;
11456
+ // 创建完成后的执行状态,固定返回 RUNNING。
11457
+ status?: string;
11458
+ static names(): { [key: string]: string } {
11459
+ return {
11460
+ reqMsgId: 'req_msg_id',
11461
+ resultCode: 'result_code',
11462
+ resultMsg: 'result_msg',
11463
+ runNo: 'run_no',
11464
+ flowCode: 'flow_code',
11465
+ status: 'status',
11466
+ };
11467
+ }
11468
+
11469
+ static types(): { [key: string]: any } {
11470
+ return {
11471
+ reqMsgId: 'string',
11472
+ resultCode: 'string',
11473
+ resultMsg: 'string',
11474
+ runNo: 'string',
11475
+ flowCode: 'string',
11476
+ status: 'string',
11477
+ };
11478
+ }
11479
+
11480
+ constructor(map?: { [key: string]: any }) {
11481
+ super(map);
11482
+ }
11483
+ }
11484
+
11485
+ export class QueryFlowRunRequest extends $tea.Model {
11486
+ // OAuth模式下的授权token
11487
+ authToken?: string;
11488
+ productInstanceId?: string;
11489
+ // 创建 Flow Run 时传入的业务订单号,必须唯一,用于定位本次执行。
11490
+ clientOrderNo: string;
11491
+ static names(): { [key: string]: string } {
11492
+ return {
11493
+ authToken: 'auth_token',
11494
+ productInstanceId: 'product_instance_id',
11495
+ clientOrderNo: 'client_order_no',
11496
+ };
11497
+ }
11498
+
11499
+ static types(): { [key: string]: any } {
11500
+ return {
11501
+ authToken: 'string',
11502
+ productInstanceId: 'string',
11503
+ clientOrderNo: 'string',
11504
+ };
11505
+ }
11506
+
11507
+ constructor(map?: { [key: string]: any }) {
11508
+ super(map);
11509
+ }
11510
+ }
11511
+
11512
+ export class QueryFlowRunResponse extends $tea.Model {
11513
+ // 请求唯一ID,用于链路跟踪和问题排查
11514
+ reqMsgId?: string;
11515
+ // 结果码,一般OK表示调用成功
11516
+ resultCode?: string;
11517
+ // 异常信息的文本描述
11518
+ resultMsg?: string;
11519
+ // 内部 flow 执行单号,Flow 执行单号,问题定位时使用。
11520
+ runNo?: string;
11521
+ // 本次执行对应的 Flow code。
11522
+ flowCode?: string;
11523
+ // Flow 状态,仅支持 RUNNING、SUCCESS、FAILED。
11524
+ status?: string;
11525
+ // Flow 执行产出列表,每个元素为 FlowRunOutput 结构。仅当 status=SUCCESS 时返回产出内容;可包含文本、数字、布尔值、JSON 和文件。FILE 类型的 value 为短期有效的 HTTPS 下载地址。存在多个产出或多个文件时返回多个列表元素;RUNNING 或 FAILED 状态下返回空列表。
11526
+ outputs?: FlowRunOutput[];
11527
+ static names(): { [key: string]: string } {
11528
+ return {
11529
+ reqMsgId: 'req_msg_id',
11530
+ resultCode: 'result_code',
11531
+ resultMsg: 'result_msg',
11532
+ runNo: 'run_no',
11533
+ flowCode: 'flow_code',
11534
+ status: 'status',
11535
+ outputs: 'outputs',
11536
+ };
11537
+ }
11538
+
11539
+ static types(): { [key: string]: any } {
11540
+ return {
11541
+ reqMsgId: 'string',
11542
+ resultCode: 'string',
11543
+ resultMsg: 'string',
11544
+ runNo: 'string',
11545
+ flowCode: 'string',
11546
+ status: 'string',
11547
+ outputs: { 'type': 'array', 'itemType': FlowRunOutput },
11548
+ };
11549
+ }
11550
+
11551
+ constructor(map?: { [key: string]: any }) {
11552
+ super(map);
11553
+ }
11554
+ }
11555
+
11070
11556
  export class ReceiveBenefithubRiskPayRequest extends $tea.Model {
11071
11557
  // OAuth模式下的授权token
11072
11558
  authToken?: string;
@@ -18363,7 +18849,7 @@ export class UploadDubbridgeAlipayImageRequest extends $tea.Model {
18363
18849
  // request请求单号,每次请求唯一,如uuid
18364
18850
  orderNo: string;
18365
18851
  // 门店Id
18366
- storeId: string;
18852
+ storeId?: string;
18367
18853
  // 门店所属子品牌,
18368
18854
  // TBJHF: 赛鸽出行-
18369
18855
  // AIJNBJ: 智迈电动车
@@ -18384,6 +18870,10 @@ export class UploadDubbridgeAlipayImageRequest extends $tea.Model {
18384
18870
  // 图片格式,
18385
18871
  // 支持格式:bmp、jpg、jpeg、png、gif
18386
18872
  imageType: string;
18873
+ // 入驻类型: 001-支付宝入驻、004-数科入驻
18874
+ enterType: string;
18875
+ // 统一社会信用代码
18876
+ usci: string;
18387
18877
  static names(): { [key: string]: string } {
18388
18878
  return {
18389
18879
  authToken: 'auth_token',
@@ -18395,6 +18885,8 @@ export class UploadDubbridgeAlipayImageRequest extends $tea.Model {
18395
18885
  imageContent: 'image_content',
18396
18886
  imagePath: 'image_path',
18397
18887
  imageType: 'image_type',
18888
+ enterType: 'enter_type',
18889
+ usci: 'usci',
18398
18890
  };
18399
18891
  }
18400
18892
 
@@ -18409,6 +18901,8 @@ export class UploadDubbridgeAlipayImageRequest extends $tea.Model {
18409
18901
  imageContent: 'string',
18410
18902
  imagePath: 'string',
18411
18903
  imageType: 'string',
18904
+ enterType: 'string',
18905
+ usci: 'string',
18412
18906
  };
18413
18907
  }
18414
18908
 
@@ -21608,35 +22102,232 @@ export class PushDubbridgePetitemResponse extends $tea.Model {
21608
22102
  }
21609
22103
  }
21610
22104
 
21611
- export class RefuseDubbridgePetitemRequest extends $tea.Model {
22105
+ export class RefuseDubbridgePetitemRequest extends $tea.Model {
22106
+ // OAuth模式下的授权token
22107
+ authToken?: string;
22108
+ productInstanceId?: string;
22109
+ // 小程序客户号
22110
+ openId: string;
22111
+ // 子渠道号(唯一标识)
22112
+ trafficPlatform: string;
22113
+ // 门店ID
22114
+ storeId: string;
22115
+ // 分期订单号
22116
+ bizOrderNo: string;
22117
+ // 渠道号
22118
+ channelCode: string;
22119
+ // 请求流水号(通过此流水号幂等判断是否是同一个请求)
22120
+ requestNo: string;
22121
+ // 退款订单信息 列表
22122
+ goodsOrderInfo: GoodsOrderInfo[];
22123
+ static names(): { [key: string]: string } {
22124
+ return {
22125
+ authToken: 'auth_token',
22126
+ productInstanceId: 'product_instance_id',
22127
+ openId: 'open_id',
22128
+ trafficPlatform: 'traffic_platform',
22129
+ storeId: 'store_id',
22130
+ bizOrderNo: 'biz_order_no',
22131
+ channelCode: 'channel_code',
22132
+ requestNo: 'request_no',
22133
+ goodsOrderInfo: 'goods_order_info',
22134
+ };
22135
+ }
22136
+
22137
+ static types(): { [key: string]: any } {
22138
+ return {
22139
+ authToken: 'string',
22140
+ productInstanceId: 'string',
22141
+ openId: 'string',
22142
+ trafficPlatform: 'string',
22143
+ storeId: 'string',
22144
+ bizOrderNo: 'string',
22145
+ channelCode: 'string',
22146
+ requestNo: 'string',
22147
+ goodsOrderInfo: { 'type': 'array', 'itemType': GoodsOrderInfo },
22148
+ };
22149
+ }
22150
+
22151
+ constructor(map?: { [key: string]: any }) {
22152
+ super(map);
22153
+ }
22154
+ }
22155
+
22156
+ export class RefuseDubbridgePetitemResponse extends $tea.Model {
22157
+ // 请求唯一ID,用于链路跟踪和问题排查
22158
+ reqMsgId?: string;
22159
+ // 结果码,一般OK表示调用成功
22160
+ resultCode?: string;
22161
+ // 异常信息的文本描述
22162
+ resultMsg?: string;
22163
+ // 执行结果
22164
+ result?: boolean;
22165
+ static names(): { [key: string]: string } {
22166
+ return {
22167
+ reqMsgId: 'req_msg_id',
22168
+ resultCode: 'result_code',
22169
+ resultMsg: 'result_msg',
22170
+ result: 'result',
22171
+ };
22172
+ }
22173
+
22174
+ static types(): { [key: string]: any } {
22175
+ return {
22176
+ reqMsgId: 'string',
22177
+ resultCode: 'string',
22178
+ resultMsg: 'string',
22179
+ result: 'boolean',
22180
+ };
22181
+ }
22182
+
22183
+ constructor(map?: { [key: string]: any }) {
22184
+ super(map);
22185
+ }
22186
+ }
22187
+
22188
+ export class PushDubbridgeContractsignRequest extends $tea.Model {
21612
22189
  // OAuth模式下的授权token
21613
22190
  authToken?: string;
21614
22191
  productInstanceId?: string;
21615
- // 小程序客户号
21616
- openId: string;
21617
- // 子渠道号(唯一标识)
22192
+ // 合同签署事件id,《蚂蚁侧主导签署》时必填
22193
+ signEventId?: string;
22194
+ // 合同签署状态:
22195
+ // DRAFT-草稿(合同已创建但未发起签署,待签署状态);
22196
+ // SIGNING-签署中(签署流程已发起,等待各方完成签署);
22197
+ // COMPLETED-已完成(所有签署方均已完成签署,合同生效);
22198
+ // EXPIRED-已过期(超过签署截止时间仍未完成签署);
22199
+ // REJECTED-已拒签(签署方明确拒绝签署该合同);
22200
+ // REVOKED-已撤销(发起方在签署完成前主动撤回/取消了签署流程);
22201
+ // TERMINATED-已终止(签署过程中被强制中止/作废);
22202
+ // DELETED-已删除(合同/签署流程被从系统中删除)
22203
+ signStatus: string;
22204
+ // 合同下载地址(公网)
22205
+ contractDownUrl?: string;
22206
+ // 签署合同的业务订单号
22207
+ bizOrderNo: string;
22208
+ // 支付宝小程序用户唯一ID,《isv侧主导签署》时必填
22209
+ openId?: string;
22210
+ static names(): { [key: string]: string } {
22211
+ return {
22212
+ authToken: 'auth_token',
22213
+ productInstanceId: 'product_instance_id',
22214
+ signEventId: 'sign_event_id',
22215
+ signStatus: 'sign_status',
22216
+ contractDownUrl: 'contract_down_url',
22217
+ bizOrderNo: 'biz_order_no',
22218
+ openId: 'open_id',
22219
+ };
22220
+ }
22221
+
22222
+ static types(): { [key: string]: any } {
22223
+ return {
22224
+ authToken: 'string',
22225
+ productInstanceId: 'string',
22226
+ signEventId: 'string',
22227
+ signStatus: 'string',
22228
+ contractDownUrl: 'string',
22229
+ bizOrderNo: 'string',
22230
+ openId: 'string',
22231
+ };
22232
+ }
22233
+
22234
+ constructor(map?: { [key: string]: any }) {
22235
+ super(map);
22236
+ }
22237
+ }
22238
+
22239
+ export class PushDubbridgeContractsignResponse extends $tea.Model {
22240
+ // 请求唯一ID,用于链路跟踪和问题排查
22241
+ reqMsgId?: string;
22242
+ // 结果码,一般OK表示调用成功
22243
+ resultCode?: string;
22244
+ // 异常信息的文本描述
22245
+ resultMsg?: string;
22246
+ // 合同签署同步结果,
22247
+ // Y-成功;N-失败
22248
+ pushResult?: string;
22249
+ static names(): { [key: string]: string } {
22250
+ return {
22251
+ reqMsgId: 'req_msg_id',
22252
+ resultCode: 'result_code',
22253
+ resultMsg: 'result_msg',
22254
+ pushResult: 'push_result',
22255
+ };
22256
+ }
22257
+
22258
+ static types(): { [key: string]: any } {
22259
+ return {
22260
+ reqMsgId: 'string',
22261
+ resultCode: 'string',
22262
+ resultMsg: 'string',
22263
+ pushResult: 'string',
22264
+ };
22265
+ }
22266
+
22267
+ constructor(map?: { [key: string]: any }) {
22268
+ super(map);
22269
+ }
22270
+ }
22271
+
22272
+ export class ApplyDubbridgePetcashierRequest extends $tea.Model {
22273
+ // OAuth模式下的授权token
22274
+ authToken?: string;
22275
+ productInstanceId?: string;
22276
+ // 渠道编码
22277
+ channelCode: string;
22278
+ // 流量平台
21618
22279
  trafficPlatform: string;
21619
- // 门店ID
22280
+ // 门店id
21620
22281
  storeId: string;
21621
- // 分期订单号
22282
+ // 原始订单号
21622
22283
  bizOrderNo: string;
21623
- // 退款金额
21624
- refundAmount: string;
21625
- // 渠道号
21626
- channelCode: string;
21627
- // 请求流水号(通过此流水号幂等判断是否是同一个请求)
21628
- requestNo: string;
22284
+ // 商家社信码
22285
+ certNo: string;
22286
+ // 收银台模板渠道社信码
22287
+ templateSceneCertNo?: string;
22288
+ // 交易金额
22289
+ amount: string;
22290
+ // 订单标题
22291
+ subject: string;
22292
+ // 商品SKU
22293
+ sku?: string;
22294
+ // 买家Id
22295
+ buyerId?: string;
22296
+ // 时间戳
22297
+ timestamp: string;
22298
+ // 2026-07-20 00:16:35
22299
+ expireTime?: string;
22300
+ // 支付机构编码
22301
+ payInstitutionCode?: string;
22302
+ // 交易场景
22303
+ payScene: string;
22304
+ // 支付后返回地址
22305
+ returnUrl?: string;
22306
+ // 是否开启分账
22307
+ enableTransfer?: string;
22308
+ // 渠道扩展信息
22309
+ extInfo?: PetCashierApplyExtInfo;
21629
22310
  static names(): { [key: string]: string } {
21630
22311
  return {
21631
22312
  authToken: 'auth_token',
21632
22313
  productInstanceId: 'product_instance_id',
21633
- openId: 'open_id',
22314
+ channelCode: 'channel_code',
21634
22315
  trafficPlatform: 'traffic_platform',
21635
22316
  storeId: 'store_id',
21636
22317
  bizOrderNo: 'biz_order_no',
21637
- refundAmount: 'refund_amount',
21638
- channelCode: 'channel_code',
21639
- requestNo: 'request_no',
22318
+ certNo: 'cert_no',
22319
+ templateSceneCertNo: 'template_scene_cert_no',
22320
+ amount: 'amount',
22321
+ subject: 'subject',
22322
+ sku: 'sku',
22323
+ buyerId: 'buyer_id',
22324
+ timestamp: 'timestamp',
22325
+ expireTime: 'expire_time',
22326
+ payInstitutionCode: 'pay_institution_code',
22327
+ payScene: 'pay_scene',
22328
+ returnUrl: 'return_url',
22329
+ enableTransfer: 'enable_transfer',
22330
+ extInfo: 'ext_info',
21640
22331
  };
21641
22332
  }
21642
22333
 
@@ -21644,13 +22335,23 @@ export class RefuseDubbridgePetitemRequest extends $tea.Model {
21644
22335
  return {
21645
22336
  authToken: 'string',
21646
22337
  productInstanceId: 'string',
21647
- openId: 'string',
22338
+ channelCode: 'string',
21648
22339
  trafficPlatform: 'string',
21649
22340
  storeId: 'string',
21650
22341
  bizOrderNo: 'string',
21651
- refundAmount: 'string',
21652
- channelCode: 'string',
21653
- requestNo: 'string',
22342
+ certNo: 'string',
22343
+ templateSceneCertNo: 'string',
22344
+ amount: 'string',
22345
+ subject: 'string',
22346
+ sku: 'string',
22347
+ buyerId: 'string',
22348
+ timestamp: 'string',
22349
+ expireTime: 'string',
22350
+ payInstitutionCode: 'string',
22351
+ payScene: 'string',
22352
+ returnUrl: 'string',
22353
+ enableTransfer: 'string',
22354
+ extInfo: PetCashierApplyExtInfo,
21654
22355
  };
21655
22356
  }
21656
22357
 
@@ -21659,21 +22360,27 @@ export class RefuseDubbridgePetitemRequest extends $tea.Model {
21659
22360
  }
21660
22361
  }
21661
22362
 
21662
- export class RefuseDubbridgePetitemResponse extends $tea.Model {
22363
+ export class ApplyDubbridgePetcashierResponse extends $tea.Model {
21663
22364
  // 请求唯一ID,用于链路跟踪和问题排查
21664
22365
  reqMsgId?: string;
21665
22366
  // 结果码,一般OK表示调用成功
21666
22367
  resultCode?: string;
21667
22368
  // 异常信息的文本描述
21668
22369
  resultMsg?: string;
21669
- // 执行结果
21670
- result?: boolean;
22370
+ // 跳转url(短链)/小程序场景为支付宝侧单号
22371
+ pageRedirectionData?: string;
22372
+ // 原始跳转url
22373
+ originUrl?: string;
22374
+ // 交易单号
22375
+ tradeNo?: string;
21671
22376
  static names(): { [key: string]: string } {
21672
22377
  return {
21673
22378
  reqMsgId: 'req_msg_id',
21674
22379
  resultCode: 'result_code',
21675
22380
  resultMsg: 'result_msg',
21676
- result: 'result',
22381
+ pageRedirectionData: 'page_redirection_data',
22382
+ originUrl: 'origin_url',
22383
+ tradeNo: 'trade_no',
21677
22384
  };
21678
22385
  }
21679
22386
 
@@ -21682,7 +22389,9 @@ export class RefuseDubbridgePetitemResponse extends $tea.Model {
21682
22389
  reqMsgId: 'string',
21683
22390
  resultCode: 'string',
21684
22391
  resultMsg: 'string',
21685
- result: 'boolean',
22392
+ pageRedirectionData: 'string',
22393
+ originUrl: 'string',
22394
+ tradeNo: 'string',
21686
22395
  };
21687
22396
  }
21688
22397
 
@@ -21691,37 +22400,32 @@ export class RefuseDubbridgePetitemResponse extends $tea.Model {
21691
22400
  }
21692
22401
  }
21693
22402
 
21694
- export class PushDubbridgeContractsignRequest extends $tea.Model {
22403
+ export class QueryDubbridgePetorderRequest extends $tea.Model {
21695
22404
  // OAuth模式下的授权token
21696
22405
  authToken?: string;
21697
22406
  productInstanceId?: string;
21698
- // 合同签署事件id,《蚂蚁侧主导签署》时必填
21699
- signEventId?: string;
21700
- // 合同签署状态:
21701
- // DRAFT-草稿(合同已创建但未发起签署,待签署状态);
21702
- // SIGNING-签署中(签署流程已发起,等待各方完成签署);
21703
- // COMPLETED-已完成(所有签署方均已完成签署,合同生效);
21704
- // EXPIRED-已过期(超过签署截止时间仍未完成签署);
21705
- // REJECTED-已拒签(签署方明确拒绝签署该合同);
21706
- // REVOKED-已撤销(发起方在签署完成前主动撤回/取消了签署流程);
21707
- // TERMINATED-已终止(签署过程中被强制中止/作废);
21708
- // DELETED-已删除(合同/签署流程被从系统中删除)
21709
- signStatus: string;
21710
- // 合同下载地址(公网)
21711
- contractDownUrl?: string;
21712
- // 签署合同的业务订单号
22407
+ // 渠道编码
22408
+ channelCode: string;
22409
+ // 流量平台
22410
+ trafficPlatform: string;
22411
+ // 门店id
22412
+ storeId: string;
22413
+ // 原始订单号
21713
22414
  bizOrderNo: string;
21714
- // 支付宝小程序用户唯一ID,《isv侧主导签署》时必填
21715
- openId?: string;
22415
+ // 交易单号
22416
+ tradeNo: string;
22417
+ // 商家社信码
22418
+ certNo: string;
21716
22419
  static names(): { [key: string]: string } {
21717
22420
  return {
21718
22421
  authToken: 'auth_token',
21719
22422
  productInstanceId: 'product_instance_id',
21720
- signEventId: 'sign_event_id',
21721
- signStatus: 'sign_status',
21722
- contractDownUrl: 'contract_down_url',
22423
+ channelCode: 'channel_code',
22424
+ trafficPlatform: 'traffic_platform',
22425
+ storeId: 'store_id',
21723
22426
  bizOrderNo: 'biz_order_no',
21724
- openId: 'open_id',
22427
+ tradeNo: 'trade_no',
22428
+ certNo: 'cert_no',
21725
22429
  };
21726
22430
  }
21727
22431
 
@@ -21729,11 +22433,12 @@ export class PushDubbridgeContractsignRequest extends $tea.Model {
21729
22433
  return {
21730
22434
  authToken: 'string',
21731
22435
  productInstanceId: 'string',
21732
- signEventId: 'string',
21733
- signStatus: 'string',
21734
- contractDownUrl: 'string',
22436
+ channelCode: 'string',
22437
+ trafficPlatform: 'string',
22438
+ storeId: 'string',
21735
22439
  bizOrderNo: 'string',
21736
- openId: 'string',
22440
+ tradeNo: 'string',
22441
+ certNo: 'string',
21737
22442
  };
21738
22443
  }
21739
22444
 
@@ -21742,22 +22447,48 @@ export class PushDubbridgeContractsignRequest extends $tea.Model {
21742
22447
  }
21743
22448
  }
21744
22449
 
21745
- export class PushDubbridgeContractsignResponse extends $tea.Model {
22450
+ export class QueryDubbridgePetorderResponse extends $tea.Model {
21746
22451
  // 请求唯一ID,用于链路跟踪和问题排查
21747
22452
  reqMsgId?: string;
21748
22453
  // 结果码,一般OK表示调用成功
21749
22454
  resultCode?: string;
21750
22455
  // 异常信息的文本描述
21751
22456
  resultMsg?: string;
21752
- // 合同签署同步结果,
21753
- // Y-成功;N-失败
21754
- pushResult?: string;
22457
+ // 内部交易单号 String
22458
+ tradeNoInner?: string;
22459
+ // 支付宝订单号 String
22460
+ outTradeNo?: string;
22461
+ // 交易状态
22462
+ status?: string;
22463
+ // 交易的订单金额 String
22464
+ amount?: string;
22465
+ // 买家在支付宝的用户id
22466
+ buyerUserId?: string;
22467
+ // 本次交易打款给卖家的时间
22468
+ sendPayDate?: string;
22469
+ // 实收金额
22470
+ receiptAmount?: string;
22471
+ // 支付渠道编码
22472
+ paymentChannelCode?: string;
22473
+ // 支付机构编码 String
22474
+ payInstitutionCode?: string;
22475
+ // 分期期数
22476
+ installNum?: string;
21755
22477
  static names(): { [key: string]: string } {
21756
22478
  return {
21757
22479
  reqMsgId: 'req_msg_id',
21758
22480
  resultCode: 'result_code',
21759
22481
  resultMsg: 'result_msg',
21760
- pushResult: 'push_result',
22482
+ tradeNoInner: 'trade_no_inner',
22483
+ outTradeNo: 'out_trade_no',
22484
+ status: 'status',
22485
+ amount: 'amount',
22486
+ buyerUserId: 'buyer_user_id',
22487
+ sendPayDate: 'send_pay_date',
22488
+ receiptAmount: 'receipt_amount',
22489
+ paymentChannelCode: 'payment_channel_code',
22490
+ payInstitutionCode: 'pay_institution_code',
22491
+ installNum: 'install_num',
21761
22492
  };
21762
22493
  }
21763
22494
 
@@ -21766,7 +22497,16 @@ export class PushDubbridgeContractsignResponse extends $tea.Model {
21766
22497
  reqMsgId: 'string',
21767
22498
  resultCode: 'string',
21768
22499
  resultMsg: 'string',
21769
- pushResult: 'string',
22500
+ tradeNoInner: 'string',
22501
+ outTradeNo: 'string',
22502
+ status: 'string',
22503
+ amount: 'string',
22504
+ buyerUserId: 'string',
22505
+ sendPayDate: 'string',
22506
+ receiptAmount: 'string',
22507
+ paymentChannelCode: 'string',
22508
+ payInstitutionCode: 'string',
22509
+ installNum: 'string',
21770
22510
  };
21771
22511
  }
21772
22512
 
@@ -22356,6 +23096,91 @@ export class CallbackMdipYunfengdieParamsResponse extends $tea.Model {
22356
23096
  }
22357
23097
  }
22358
23098
 
23099
+ export class CallbackMdipFileRequest extends $tea.Model {
23100
+ // OAuth模式下的授权token
23101
+ authToken?: string;
23102
+ productInstanceId?: string;
23103
+ // string
23104
+ /**
23105
+ * @remarks
23106
+ * 待上传文件
23107
+ */
23108
+ fileObject?: Readable;
23109
+ /**
23110
+ * @remarks
23111
+ * 待上传文件名
23112
+ */
23113
+ fileObjectName?: string;
23114
+ fileId: string;
23115
+ // 数据服务code
23116
+ serviceCode: string;
23117
+ // 业务调用方
23118
+ caller: string;
23119
+ // 扩展字段
23120
+ extend?: string;
23121
+ // 任务ID
23122
+ taskId: string;
23123
+ static names(): { [key: string]: string } {
23124
+ return {
23125
+ authToken: 'auth_token',
23126
+ productInstanceId: 'product_instance_id',
23127
+ fileObject: 'fileObject',
23128
+ fileObjectName: 'fileObjectName',
23129
+ fileId: 'file_id',
23130
+ serviceCode: 'service_code',
23131
+ caller: 'caller',
23132
+ extend: 'extend',
23133
+ taskId: 'task_id',
23134
+ };
23135
+ }
23136
+
23137
+ static types(): { [key: string]: any } {
23138
+ return {
23139
+ authToken: 'string',
23140
+ productInstanceId: 'string',
23141
+ fileObject: 'Readable',
23142
+ fileObjectName: 'string',
23143
+ fileId: 'string',
23144
+ serviceCode: 'string',
23145
+ caller: 'string',
23146
+ extend: 'string',
23147
+ taskId: 'string',
23148
+ };
23149
+ }
23150
+
23151
+ constructor(map?: { [key: string]: any }) {
23152
+ super(map);
23153
+ }
23154
+ }
23155
+
23156
+ export class CallbackMdipFileResponse extends $tea.Model {
23157
+ // 请求唯一ID,用于链路跟踪和问题排查
23158
+ reqMsgId?: string;
23159
+ // 结果码,一般OK表示调用成功
23160
+ resultCode?: string;
23161
+ // 异常信息的文本描述
23162
+ resultMsg?: string;
23163
+ static names(): { [key: string]: string } {
23164
+ return {
23165
+ reqMsgId: 'req_msg_id',
23166
+ resultCode: 'result_code',
23167
+ resultMsg: 'result_msg',
23168
+ };
23169
+ }
23170
+
23171
+ static types(): { [key: string]: any } {
23172
+ return {
23173
+ reqMsgId: 'string',
23174
+ resultCode: 'string',
23175
+ resultMsg: 'string',
23176
+ };
23177
+ }
23178
+
23179
+ constructor(map?: { [key: string]: any }) {
23180
+ super(map);
23181
+ }
23182
+ }
23183
+
22359
23184
  export class ApplyQmpRtBatchmarketingRequest extends $tea.Model {
22360
23185
  // OAuth模式下的授权token
22361
23186
  authToken?: string;
@@ -30537,6 +31362,211 @@ export class QuerySnapshotEventResponse extends $tea.Model {
30537
31362
  }
30538
31363
  }
30539
31364
 
31365
+ export class PushTdiaiworkshopcloudTestRequest extends $tea.Model {
31366
+ // OAuth模式下的授权token
31367
+ authToken?: string;
31368
+ productInstanceId?: string;
31369
+ static names(): { [key: string]: string } {
31370
+ return {
31371
+ authToken: 'auth_token',
31372
+ productInstanceId: 'product_instance_id',
31373
+ };
31374
+ }
31375
+
31376
+ static types(): { [key: string]: any } {
31377
+ return {
31378
+ authToken: 'string',
31379
+ productInstanceId: 'string',
31380
+ };
31381
+ }
31382
+
31383
+ constructor(map?: { [key: string]: any }) {
31384
+ super(map);
31385
+ }
31386
+ }
31387
+
31388
+ export class PushTdiaiworkshopcloudTestResponse extends $tea.Model {
31389
+ // 请求唯一ID,用于链路跟踪和问题排查
31390
+ reqMsgId?: string;
31391
+ // 结果码,一般OK表示调用成功
31392
+ resultCode?: string;
31393
+ // 异常信息的文本描述
31394
+ resultMsg?: string;
31395
+ static names(): { [key: string]: string } {
31396
+ return {
31397
+ reqMsgId: 'req_msg_id',
31398
+ resultCode: 'result_code',
31399
+ resultMsg: 'result_msg',
31400
+ };
31401
+ }
31402
+
31403
+ static types(): { [key: string]: any } {
31404
+ return {
31405
+ reqMsgId: 'string',
31406
+ resultCode: 'string',
31407
+ resultMsg: 'string',
31408
+ };
31409
+ }
31410
+
31411
+ constructor(map?: { [key: string]: any }) {
31412
+ super(map);
31413
+ }
31414
+ }
31415
+
31416
+ export class QueryTdiaiworkshopcloudBatchRequest extends $tea.Model {
31417
+ // OAuth模式下的授权token
31418
+ authToken?: string;
31419
+ productInstanceId?: string;
31420
+ // 商品码(事件码)蚂蚁侧提供
31421
+ eventCode: string;
31422
+ // 产品code
31423
+ dispModelCode: string;
31424
+ // 要查询的dataIdList
31425
+ queryDataIdList: string[];
31426
+ static names(): { [key: string]: string } {
31427
+ return {
31428
+ authToken: 'auth_token',
31429
+ productInstanceId: 'product_instance_id',
31430
+ eventCode: 'event_code',
31431
+ dispModelCode: 'disp_model_code',
31432
+ queryDataIdList: 'query_data_id_list',
31433
+ };
31434
+ }
31435
+
31436
+ static types(): { [key: string]: any } {
31437
+ return {
31438
+ authToken: 'string',
31439
+ productInstanceId: 'string',
31440
+ eventCode: 'string',
31441
+ dispModelCode: 'string',
31442
+ queryDataIdList: { 'type': 'array', 'itemType': 'string' },
31443
+ };
31444
+ }
31445
+
31446
+ constructor(map?: { [key: string]: any }) {
31447
+ super(map);
31448
+ }
31449
+ }
31450
+
31451
+ export class QueryTdiaiworkshopcloudBatchResponse extends $tea.Model {
31452
+ // 请求唯一ID,用于链路跟踪和问题排查
31453
+ reqMsgId?: string;
31454
+ // 结果码,一般OK表示调用成功
31455
+ resultCode?: string;
31456
+ // 异常信息的文本描述
31457
+ resultMsg?: string;
31458
+ // 样本回溯结果
31459
+ sampleResult?: ResultItem[];
31460
+ static names(): { [key: string]: string } {
31461
+ return {
31462
+ reqMsgId: 'req_msg_id',
31463
+ resultCode: 'result_code',
31464
+ resultMsg: 'result_msg',
31465
+ sampleResult: 'sample_result',
31466
+ };
31467
+ }
31468
+
31469
+ static types(): { [key: string]: any } {
31470
+ return {
31471
+ reqMsgId: 'string',
31472
+ resultCode: 'string',
31473
+ resultMsg: 'string',
31474
+ sampleResult: { 'type': 'array', 'itemType': ResultItem },
31475
+ };
31476
+ }
31477
+
31478
+ constructor(map?: { [key: string]: any }) {
31479
+ super(map);
31480
+ }
31481
+ }
31482
+
31483
+ export class PushTdiaiworkshopcloudBatchRequest extends $tea.Model {
31484
+ // OAuth模式下的授权token
31485
+ authToken?: string;
31486
+ productInstanceId?: string;
31487
+ // 商品码(事件码)
31488
+ eventCode: string;
31489
+ // 产品码
31490
+ dispModelCode: string;
31491
+ // 业务码
31492
+ businessType: string;
31493
+ // 加密方式
31494
+ hashType: string;
31495
+ // 请求唯一id,幂等设计
31496
+ requestId: string;
31497
+ // 样本结构体
31498
+ sampleList: Item[];
31499
+ // 回溯日期
31500
+ backDate?: string;
31501
+ // 回调地址
31502
+ callbackUrl?: string;
31503
+ static names(): { [key: string]: string } {
31504
+ return {
31505
+ authToken: 'auth_token',
31506
+ productInstanceId: 'product_instance_id',
31507
+ eventCode: 'event_code',
31508
+ dispModelCode: 'disp_model_code',
31509
+ businessType: 'business_type',
31510
+ hashType: 'hash_type',
31511
+ requestId: 'request_id',
31512
+ sampleList: 'sample_list',
31513
+ backDate: 'back_date',
31514
+ callbackUrl: 'callback_url',
31515
+ };
31516
+ }
31517
+
31518
+ static types(): { [key: string]: any } {
31519
+ return {
31520
+ authToken: 'string',
31521
+ productInstanceId: 'string',
31522
+ eventCode: 'string',
31523
+ dispModelCode: 'string',
31524
+ businessType: 'string',
31525
+ hashType: 'string',
31526
+ requestId: 'string',
31527
+ sampleList: { 'type': 'array', 'itemType': Item },
31528
+ backDate: 'string',
31529
+ callbackUrl: 'string',
31530
+ };
31531
+ }
31532
+
31533
+ constructor(map?: { [key: string]: any }) {
31534
+ super(map);
31535
+ }
31536
+ }
31537
+
31538
+ export class PushTdiaiworkshopcloudBatchResponse extends $tea.Model {
31539
+ // 请求唯一ID,用于链路跟踪和问题排查
31540
+ reqMsgId?: string;
31541
+ // 结果码,一般OK表示调用成功
31542
+ resultCode?: string;
31543
+ // 异常信息的文本描述
31544
+ resultMsg?: string;
31545
+ // 批量请求响应结果
31546
+ sampleIdList?: ResItem[];
31547
+ static names(): { [key: string]: string } {
31548
+ return {
31549
+ reqMsgId: 'req_msg_id',
31550
+ resultCode: 'result_code',
31551
+ resultMsg: 'result_msg',
31552
+ sampleIdList: 'sample_id_list',
31553
+ };
31554
+ }
31555
+
31556
+ static types(): { [key: string]: any } {
31557
+ return {
31558
+ reqMsgId: 'string',
31559
+ resultCode: 'string',
31560
+ resultMsg: 'string',
31561
+ sampleIdList: { 'type': 'array', 'itemType': ResItem },
31562
+ };
31563
+ }
31564
+
31565
+ constructor(map?: { [key: string]: any }) {
31566
+ super(map);
31567
+ }
31568
+ }
31569
+
30540
31570
  export class ApplyTdiquickmsgRtBatchmarketingRequest extends $tea.Model {
30541
31571
  // OAuth模式下的授权token
30542
31572
  authToken?: string;
@@ -35244,7 +36274,7 @@ export default class Client {
35244
36274
  req_msg_id: AntchainUtil.getNonce(),
35245
36275
  access_key: this._accessKeyId,
35246
36276
  base_sdk_version: "TeaSDK-2.0",
35247
- sdk_version: "1.31.25",
36277
+ sdk_version: "1.31.29",
35248
36278
  _prod_code: "RISKPLUS",
35249
36279
  _prod_channel: "undefined",
35250
36280
  };
@@ -35292,6 +36322,48 @@ export default class Client {
35292
36322
  throw $tea.newUnretryableError(_lastRequest);
35293
36323
  }
35294
36324
 
36325
+ /**
36326
+ * @remarks
36327
+ * Description: 发起 agent flow 的执行
36328
+ * Summary: 发起 agent flow 的执行
36329
+ */
36330
+ async execFlowRun(request: ExecFlowRunRequest): Promise<ExecFlowRunResponse> {
36331
+ let runtime = new $Util.RuntimeOptions({ });
36332
+ let headers : {[key: string ]: string} = { };
36333
+ return await this.execFlowRunEx(request, headers, runtime);
36334
+ }
36335
+
36336
+ /**
36337
+ * @remarks
36338
+ * Description: 发起 agent flow 的执行
36339
+ * Summary: 发起 agent flow 的执行
36340
+ */
36341
+ async execFlowRunEx(request: ExecFlowRunRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ExecFlowRunResponse> {
36342
+ Util.validateModel(request);
36343
+ return $tea.cast<ExecFlowRunResponse>(await this.doRequest("1.0", "riskplus.flow.run.exec", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ExecFlowRunResponse({}));
36344
+ }
36345
+
36346
+ /**
36347
+ * @remarks
36348
+ * Description: 查询任务执行状态或者结果
36349
+ * Summary: 查询任务执行状态或者结果
36350
+ */
36351
+ async queryFlowRun(request: QueryFlowRunRequest): Promise<QueryFlowRunResponse> {
36352
+ let runtime = new $Util.RuntimeOptions({ });
36353
+ let headers : {[key: string ]: string} = { };
36354
+ return await this.queryFlowRunEx(request, headers, runtime);
36355
+ }
36356
+
36357
+ /**
36358
+ * @remarks
36359
+ * Description: 查询任务执行状态或者结果
36360
+ * Summary: 查询任务执行状态或者结果
36361
+ */
36362
+ async queryFlowRunEx(request: QueryFlowRunRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryFlowRunResponse> {
36363
+ Util.validateModel(request);
36364
+ return $tea.cast<QueryFlowRunResponse>(await this.doRequest("1.0", "riskplus.flow.run.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryFlowRunResponse({}));
36365
+ }
36366
+
35295
36367
  /**
35296
36368
  * @remarks
35297
36369
  * Description: 支付成功、退款成功、续费扣款、超时关单、签约、解约,渠道方回调结果使用
@@ -37960,6 +39032,48 @@ export default class Client {
37960
39032
  return $tea.cast<PushDubbridgeContractsignResponse>(await this.doRequest("1.0", "riskplus.dubbridge.contractsign.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushDubbridgeContractsignResponse({}));
37961
39033
  }
37962
39034
 
39035
+ /**
39036
+ * @remarks
39037
+ * Description: 聚合收银台申请
39038
+ * Summary: 聚合收银台申请
39039
+ */
39040
+ async applyDubbridgePetcashier(request: ApplyDubbridgePetcashierRequest): Promise<ApplyDubbridgePetcashierResponse> {
39041
+ let runtime = new $Util.RuntimeOptions({ });
39042
+ let headers : {[key: string ]: string} = { };
39043
+ return await this.applyDubbridgePetcashierEx(request, headers, runtime);
39044
+ }
39045
+
39046
+ /**
39047
+ * @remarks
39048
+ * Description: 聚合收银台申请
39049
+ * Summary: 聚合收银台申请
39050
+ */
39051
+ async applyDubbridgePetcashierEx(request: ApplyDubbridgePetcashierRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ApplyDubbridgePetcashierResponse> {
39052
+ Util.validateModel(request);
39053
+ return $tea.cast<ApplyDubbridgePetcashierResponse>(await this.doRequest("1.0", "riskplus.dubbridge.petcashier.apply", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new ApplyDubbridgePetcashierResponse({}));
39054
+ }
39055
+
39056
+ /**
39057
+ * @remarks
39058
+ * Description: 交易订单查询
39059
+ * Summary: 交易订单查询
39060
+ */
39061
+ async queryDubbridgePetorder(request: QueryDubbridgePetorderRequest): Promise<QueryDubbridgePetorderResponse> {
39062
+ let runtime = new $Util.RuntimeOptions({ });
39063
+ let headers : {[key: string ]: string} = { };
39064
+ return await this.queryDubbridgePetorderEx(request, headers, runtime);
39065
+ }
39066
+
39067
+ /**
39068
+ * @remarks
39069
+ * Description: 交易订单查询
39070
+ * Summary: 交易订单查询
39071
+ */
39072
+ async queryDubbridgePetorderEx(request: QueryDubbridgePetorderRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryDubbridgePetorderResponse> {
39073
+ Util.validateModel(request);
39074
+ return $tea.cast<QueryDubbridgePetorderResponse>(await this.doRequest("1.0", "riskplus.dubbridge.petorder.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryDubbridgePetorderResponse({}));
39075
+ }
39076
+
37963
39077
  /**
37964
39078
  * @remarks
37965
39079
  * Description: 四要素认证首先调用此接口
@@ -38193,6 +39307,49 @@ export default class Client {
38193
39307
  return $tea.cast<CallbackMdipYunfengdieParamsResponse>(await this.doRequest("1.0", "riskplus.mdip.yunfengdie.params.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackMdipYunfengdieParamsResponse({}));
38194
39308
  }
38195
39309
 
39310
+ /**
39311
+ * @remarks
39312
+ * Description: 支持异步回传文件
39313
+ * Summary: 支持异步回传文件
39314
+ */
39315
+ async callbackMdipFile(request: CallbackMdipFileRequest): Promise<CallbackMdipFileResponse> {
39316
+ let runtime = new $Util.RuntimeOptions({ });
39317
+ let headers : {[key: string ]: string} = { };
39318
+ return await this.callbackMdipFileEx(request, headers, runtime);
39319
+ }
39320
+
39321
+ /**
39322
+ * @remarks
39323
+ * Description: 支持异步回传文件
39324
+ * Summary: 支持异步回传文件
39325
+ */
39326
+ async callbackMdipFileEx(request: CallbackMdipFileRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CallbackMdipFileResponse> {
39327
+ if (!Util.isUnset(request.fileObject)) {
39328
+ let uploadReq = new CreateAntcloudGatewayxFileUploadRequest({
39329
+ authToken: request.authToken,
39330
+ apiCode: "riskplus.mdip.file.callback",
39331
+ fileName: request.fileObjectName,
39332
+ });
39333
+ let uploadResp = await this.createAntcloudGatewayxFileUploadEx(uploadReq, headers, runtime);
39334
+ if (!AntchainUtil.isSuccess(uploadResp.resultCode, "ok")) {
39335
+ let callbackMdipFileResponse = new CallbackMdipFileResponse({
39336
+ reqMsgId: uploadResp.reqMsgId,
39337
+ resultCode: uploadResp.resultCode,
39338
+ resultMsg: uploadResp.resultMsg,
39339
+ });
39340
+ return callbackMdipFileResponse;
39341
+ }
39342
+
39343
+ let uploadHeaders = AntchainUtil.parseUploadHeaders(uploadResp.uploadHeaders);
39344
+ await AntchainUtil.putObject(request.fileObject, uploadHeaders, uploadResp.uploadUrl);
39345
+ request.fileId = uploadResp.fileId;
39346
+ request.fileObject = null;
39347
+ }
39348
+
39349
+ Util.validateModel(request);
39350
+ return $tea.cast<CallbackMdipFileResponse>(await this.doRequest("1.0", "riskplus.mdip.file.callback", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CallbackMdipFileResponse({}));
39351
+ }
39352
+
38196
39353
  /**
38197
39354
  * @remarks
38198
39355
  * Description: 批量实时触达接口
@@ -40533,6 +41690,69 @@ export default class Client {
40533
41690
  return $tea.cast<QuerySnapshotEventResponse>(await this.doRequest("1.0", "riskplus.snapshot.event.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QuerySnapshotEventResponse({}));
40534
41691
  }
40535
41692
 
41693
+ /**
41694
+ * @remarks
41695
+ * Description: 接口创建测试
41696
+ * Summary: 接口创建测试
41697
+ */
41698
+ async pushTdiaiworkshopcloudTest(request: PushTdiaiworkshopcloudTestRequest): Promise<PushTdiaiworkshopcloudTestResponse> {
41699
+ let runtime = new $Util.RuntimeOptions({ });
41700
+ let headers : {[key: string ]: string} = { };
41701
+ return await this.pushTdiaiworkshopcloudTestEx(request, headers, runtime);
41702
+ }
41703
+
41704
+ /**
41705
+ * @remarks
41706
+ * Description: 接口创建测试
41707
+ * Summary: 接口创建测试
41708
+ */
41709
+ async pushTdiaiworkshopcloudTestEx(request: PushTdiaiworkshopcloudTestRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PushTdiaiworkshopcloudTestResponse> {
41710
+ Util.validateModel(request);
41711
+ return $tea.cast<PushTdiaiworkshopcloudTestResponse>(await this.doRequest("1.0", "riskplus.tdiaiworkshopcloud.test.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushTdiaiworkshopcloudTestResponse({}));
41712
+ }
41713
+
41714
+ /**
41715
+ * @remarks
41716
+ * Description: 风控离线批量样本数据查询接口
41717
+ * Summary: 风控离线批量样本数据查询接口
41718
+ */
41719
+ async queryTdiaiworkshopcloudBatch(request: QueryTdiaiworkshopcloudBatchRequest): Promise<QueryTdiaiworkshopcloudBatchResponse> {
41720
+ let runtime = new $Util.RuntimeOptions({ });
41721
+ let headers : {[key: string ]: string} = { };
41722
+ return await this.queryTdiaiworkshopcloudBatchEx(request, headers, runtime);
41723
+ }
41724
+
41725
+ /**
41726
+ * @remarks
41727
+ * Description: 风控离线批量样本数据查询接口
41728
+ * Summary: 风控离线批量样本数据查询接口
41729
+ */
41730
+ async queryTdiaiworkshopcloudBatchEx(request: QueryTdiaiworkshopcloudBatchRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryTdiaiworkshopcloudBatchResponse> {
41731
+ Util.validateModel(request);
41732
+ return $tea.cast<QueryTdiaiworkshopcloudBatchResponse>(await this.doRequest("1.0", "riskplus.tdiaiworkshopcloud.batch.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryTdiaiworkshopcloudBatchResponse({}));
41733
+ }
41734
+
41735
+ /**
41736
+ * @remarks
41737
+ * Description: 风控离线批量样本数据上传接口
41738
+ * Summary: 风控离线批量样本数据上传接口
41739
+ */
41740
+ async pushTdiaiworkshopcloudBatch(request: PushTdiaiworkshopcloudBatchRequest): Promise<PushTdiaiworkshopcloudBatchResponse> {
41741
+ let runtime = new $Util.RuntimeOptions({ });
41742
+ let headers : {[key: string ]: string} = { };
41743
+ return await this.pushTdiaiworkshopcloudBatchEx(request, headers, runtime);
41744
+ }
41745
+
41746
+ /**
41747
+ * @remarks
41748
+ * Description: 风控离线批量样本数据上传接口
41749
+ * Summary: 风控离线批量样本数据上传接口
41750
+ */
41751
+ async pushTdiaiworkshopcloudBatchEx(request: PushTdiaiworkshopcloudBatchRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<PushTdiaiworkshopcloudBatchResponse> {
41752
+ Util.validateModel(request);
41753
+ return $tea.cast<PushTdiaiworkshopcloudBatchResponse>(await this.doRequest("1.0", "riskplus.tdiaiworkshopcloud.batch.push", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PushTdiaiworkshopcloudBatchResponse({}));
41754
+ }
41755
+
40536
41756
  /**
40537
41757
  * @remarks
40538
41758
  * Description: 批量实时触达接口