@antchain/ato 1.14.9 → 1.14.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antchain/ato",
3
- "version": "1.14.9",
3
+ "version": "1.14.12",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -920,6 +920,47 @@ export class OperationDivideTransInModel extends $tea.Model {
920
920
  }
921
921
  }
922
922
 
923
+ // 资产订单信息
924
+ export class AssetPackageOrderInfo extends $tea.Model {
925
+ // 订单id
926
+ orderId: string;
927
+ // 订单状态
928
+ status: string;
929
+ // 出包原因
930
+ outReason?: string;
931
+ // 订单用信额度
932
+ orderCreditLine?: number;
933
+ // 商户应还款金额
934
+ orderMerchantRepaymentMoney?: number;
935
+ // 订单分账起始账期
936
+ divideStartTermIndex?: number;
937
+ static names(): { [key: string]: string } {
938
+ return {
939
+ orderId: 'order_id',
940
+ status: 'status',
941
+ outReason: 'out_reason',
942
+ orderCreditLine: 'order_credit_line',
943
+ orderMerchantRepaymentMoney: 'order_merchant_repayment_money',
944
+ divideStartTermIndex: 'divide_start_term_index',
945
+ };
946
+ }
947
+
948
+ static types(): { [key: string]: any } {
949
+ return {
950
+ orderId: 'string',
951
+ status: 'string',
952
+ outReason: 'string',
953
+ orderCreditLine: 'number',
954
+ orderMerchantRepaymentMoney: 'number',
955
+ divideStartTermIndex: 'number',
956
+ };
957
+ }
958
+
959
+ constructor(map?: { [key: string]: any }) {
960
+ super(map);
961
+ }
962
+ }
963
+
923
964
  // 营销抢购风险识别入参模型
924
965
  export class PurchaseQueryModel extends $tea.Model {
925
966
  // 支付宝外部交易号
@@ -5069,6 +5110,97 @@ export class QueryFundCreditauthResponse extends $tea.Model {
5069
5110
  }
5070
5111
  }
5071
5112
 
5113
+ export class QueryFundAssetpackageRequest extends $tea.Model {
5114
+ // OAuth模式下的授权token
5115
+ authToken?: string;
5116
+ productInstanceId?: string;
5117
+ // 资方社会信用代码
5118
+ fundId: string;
5119
+ // 商家统一社会信用代码
5120
+ merchantId: string;
5121
+ // 商户的租户id
5122
+ tenantId: string;
5123
+ // 用信id
5124
+ utilizationId?: string;
5125
+ // 资产包id
5126
+ assetPackageId: string;
5127
+ static names(): { [key: string]: string } {
5128
+ return {
5129
+ authToken: 'auth_token',
5130
+ productInstanceId: 'product_instance_id',
5131
+ fundId: 'fund_id',
5132
+ merchantId: 'merchant_id',
5133
+ tenantId: 'tenant_id',
5134
+ utilizationId: 'utilization_id',
5135
+ assetPackageId: 'asset_package_id',
5136
+ };
5137
+ }
5138
+
5139
+ static types(): { [key: string]: any } {
5140
+ return {
5141
+ authToken: 'string',
5142
+ productInstanceId: 'string',
5143
+ fundId: 'string',
5144
+ merchantId: 'string',
5145
+ tenantId: 'string',
5146
+ utilizationId: 'string',
5147
+ assetPackageId: 'string',
5148
+ };
5149
+ }
5150
+
5151
+ constructor(map?: { [key: string]: any }) {
5152
+ super(map);
5153
+ }
5154
+ }
5155
+
5156
+ export class QueryFundAssetpackageResponse extends $tea.Model {
5157
+ // 请求唯一ID,用于链路跟踪和问题排查
5158
+ reqMsgId?: string;
5159
+ // 结果码,一般OK表示调用成功
5160
+ resultCode?: string;
5161
+ // 异常信息的文本描述
5162
+ resultMsg?: string;
5163
+ // 资产包id
5164
+ assetPackageId?: string;
5165
+ // 用信id
5166
+ utilizationId?: string;
5167
+ // 资产包状态
5168
+ status?: string;
5169
+ // 组包完成时间, yyyy-MM-dd HH:mm:ss
5170
+ gmtGroupingEnd?: string;
5171
+ // 订单列表
5172
+ orderList?: AssetPackageOrderInfo[];
5173
+ static names(): { [key: string]: string } {
5174
+ return {
5175
+ reqMsgId: 'req_msg_id',
5176
+ resultCode: 'result_code',
5177
+ resultMsg: 'result_msg',
5178
+ assetPackageId: 'asset_package_id',
5179
+ utilizationId: 'utilization_id',
5180
+ status: 'status',
5181
+ gmtGroupingEnd: 'gmt_grouping_end',
5182
+ orderList: 'order_list',
5183
+ };
5184
+ }
5185
+
5186
+ static types(): { [key: string]: any } {
5187
+ return {
5188
+ reqMsgId: 'string',
5189
+ resultCode: 'string',
5190
+ resultMsg: 'string',
5191
+ assetPackageId: 'string',
5192
+ utilizationId: 'string',
5193
+ status: 'string',
5194
+ gmtGroupingEnd: 'string',
5195
+ orderList: { 'type': 'array', 'itemType': AssetPackageOrderInfo },
5196
+ };
5197
+ }
5198
+
5199
+ constructor(map?: { [key: string]: any }) {
5200
+ super(map);
5201
+ }
5202
+ }
5203
+
5072
5204
  export class GetInnerProductRequest extends $tea.Model {
5073
5205
  // OAuth模式下的授权token
5074
5206
  authToken?: string;
@@ -10525,6 +10657,81 @@ export class PagequeryInnerPendingeventResponse extends $tea.Model {
10525
10657
  }
10526
10658
  }
10527
10659
 
10660
+ export class UpdateInnerMerchantpayexpandRequest extends $tea.Model {
10661
+ // OAuth模式下的授权token
10662
+ authToken?: string;
10663
+ productInstanceId?: string;
10664
+ // 公司信息
10665
+ companyInfo: CompanyInfoUpdate;
10666
+ // 法人信息
10667
+ legalInfo: LegalInfoUpdate;
10668
+ // 应用信息
10669
+ applicationInfo: ApplicationInfoUpdate;
10670
+ // 进件流水号
10671
+ payExpandId: string;
10672
+ // 社会统一信用代码
10673
+ merchantId: string;
10674
+ static names(): { [key: string]: string } {
10675
+ return {
10676
+ authToken: 'auth_token',
10677
+ productInstanceId: 'product_instance_id',
10678
+ companyInfo: 'company_info',
10679
+ legalInfo: 'legal_info',
10680
+ applicationInfo: 'application_info',
10681
+ payExpandId: 'pay_expand_id',
10682
+ merchantId: 'merchant_id',
10683
+ };
10684
+ }
10685
+
10686
+ static types(): { [key: string]: any } {
10687
+ return {
10688
+ authToken: 'string',
10689
+ productInstanceId: 'string',
10690
+ companyInfo: CompanyInfoUpdate,
10691
+ legalInfo: LegalInfoUpdate,
10692
+ applicationInfo: ApplicationInfoUpdate,
10693
+ payExpandId: 'string',
10694
+ merchantId: 'string',
10695
+ };
10696
+ }
10697
+
10698
+ constructor(map?: { [key: string]: any }) {
10699
+ super(map);
10700
+ }
10701
+ }
10702
+
10703
+ export class UpdateInnerMerchantpayexpandResponse extends $tea.Model {
10704
+ // 请求唯一ID,用于链路跟踪和问题排查
10705
+ reqMsgId?: string;
10706
+ // 结果码,一般OK表示调用成功
10707
+ resultCode?: string;
10708
+ // 异常信息的文本描述
10709
+ resultMsg?: string;
10710
+ // 进件流水号
10711
+ payExpandId?: string;
10712
+ static names(): { [key: string]: string } {
10713
+ return {
10714
+ reqMsgId: 'req_msg_id',
10715
+ resultCode: 'result_code',
10716
+ resultMsg: 'result_msg',
10717
+ payExpandId: 'pay_expand_id',
10718
+ };
10719
+ }
10720
+
10721
+ static types(): { [key: string]: any } {
10722
+ return {
10723
+ reqMsgId: 'string',
10724
+ resultCode: 'string',
10725
+ resultMsg: 'string',
10726
+ payExpandId: 'string',
10727
+ };
10728
+ }
10729
+
10730
+ constructor(map?: { [key: string]: any }) {
10731
+ super(map);
10732
+ }
10733
+ }
10734
+
10528
10735
  export class CreateInsureRequest extends $tea.Model {
10529
10736
  // OAuth模式下的授权token
10530
10737
  authToken?: string;
@@ -15313,7 +15520,7 @@ export default class Client {
15313
15520
  req_msg_id: AntchainUtil.getNonce(),
15314
15521
  access_key: this._accessKeyId,
15315
15522
  base_sdk_version: "TeaSDK-2.0",
15316
- sdk_version: "1.14.9",
15523
+ sdk_version: "1.14.12",
15317
15524
  _prod_code: "ATO",
15318
15525
  _prod_channel: "undefined",
15319
15526
  };
@@ -16014,6 +16221,25 @@ export default class Client {
16014
16221
  return $tea.cast<QueryFundCreditauthResponse>(await this.doRequest("1.0", "antchain.ato.fund.creditauth.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryFundCreditauthResponse({}));
16015
16222
  }
16016
16223
 
16224
+ /**
16225
+ * Description: 资产包详情查询
16226
+ * Summary: 资产包详情查询
16227
+ */
16228
+ async queryFundAssetpackage(request: QueryFundAssetpackageRequest): Promise<QueryFundAssetpackageResponse> {
16229
+ let runtime = new $Util.RuntimeOptions({ });
16230
+ let headers : {[key: string ]: string} = { };
16231
+ return await this.queryFundAssetpackageEx(request, headers, runtime);
16232
+ }
16233
+
16234
+ /**
16235
+ * Description: 资产包详情查询
16236
+ * Summary: 资产包详情查询
16237
+ */
16238
+ async queryFundAssetpackageEx(request: QueryFundAssetpackageRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryFundAssetpackageResponse> {
16239
+ Util.validateModel(request);
16240
+ return $tea.cast<QueryFundAssetpackageResponse>(await this.doRequest("1.0", "antchain.ato.fund.assetpackage.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryFundAssetpackageResponse({}));
16241
+ }
16242
+
16017
16243
  /**
16018
16244
  * Description: 内部调用,商品信息获取
16019
16245
  * Summary: 商品信息获取
@@ -17403,6 +17629,25 @@ export default class Client {
17403
17629
  return $tea.cast<PagequeryInnerPendingeventResponse>(await this.doRequest("1.0", "antchain.ato.inner.pendingevent.pagequery", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new PagequeryInnerPendingeventResponse({}));
17404
17630
  }
17405
17631
 
17632
+ /**
17633
+ * Description: 修改进件信息
17634
+ * Summary: 修改进件信息
17635
+ */
17636
+ async updateInnerMerchantpayexpand(request: UpdateInnerMerchantpayexpandRequest): Promise<UpdateInnerMerchantpayexpandResponse> {
17637
+ let runtime = new $Util.RuntimeOptions({ });
17638
+ let headers : {[key: string ]: string} = { };
17639
+ return await this.updateInnerMerchantpayexpandEx(request, headers, runtime);
17640
+ }
17641
+
17642
+ /**
17643
+ * Description: 修改进件信息
17644
+ * Summary: 修改进件信息
17645
+ */
17646
+ async updateInnerMerchantpayexpandEx(request: UpdateInnerMerchantpayexpandRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateInnerMerchantpayexpandResponse> {
17647
+ Util.validateModel(request);
17648
+ return $tea.cast<UpdateInnerMerchantpayexpandResponse>(await this.doRequest("1.0", "antchain.ato.inner.merchantpayexpand.update", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new UpdateInnerMerchantpayexpandResponse({}));
17649
+ }
17650
+
17406
17651
  /**
17407
17652
  * Description: 一键投保
17408
17653
  * Summary: 投保