@antchain/ato 1.14.10 → 1.14.15

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.10",
3
+ "version": "1.14.15",
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
  // 支付宝外部交易号
@@ -1846,6 +1887,51 @@ export class MarketingScoreInfo extends $tea.Model {
1846
1887
  }
1847
1888
  }
1848
1889
 
1890
+ // 订单电子合同信息对象
1891
+ export class OrderContractInfo extends $tea.Model {
1892
+ // 电子合同签署单号
1893
+ signNo?: string;
1894
+ // 签署时间
1895
+ signTime?: string;
1896
+ // 合同签署类型
1897
+ contractType?: string;
1898
+ // 文件合同类型
1899
+ agreementType?: string;
1900
+ // 模板ID
1901
+ templateId?: string;
1902
+ // 模板文件名称
1903
+ fileName?: string;
1904
+ // 合同文件下载地址
1905
+ downloadUrl?: string;
1906
+ static names(): { [key: string]: string } {
1907
+ return {
1908
+ signNo: 'sign_no',
1909
+ signTime: 'sign_time',
1910
+ contractType: 'contract_type',
1911
+ agreementType: 'agreement_type',
1912
+ templateId: 'template_id',
1913
+ fileName: 'file_name',
1914
+ downloadUrl: 'download_url',
1915
+ };
1916
+ }
1917
+
1918
+ static types(): { [key: string]: any } {
1919
+ return {
1920
+ signNo: 'string',
1921
+ signTime: 'string',
1922
+ contractType: 'string',
1923
+ agreementType: 'string',
1924
+ templateId: 'string',
1925
+ fileName: 'string',
1926
+ downloadUrl: 'string',
1927
+ };
1928
+ }
1929
+
1930
+ constructor(map?: { [key: string]: any }) {
1931
+ super(map);
1932
+ }
1933
+ }
1934
+
1849
1935
  // 待办信息
1850
1936
  export class PendingEventInfo extends $tea.Model {
1851
1937
  // 事件id
@@ -2062,6 +2148,8 @@ export class ApplicationInfoUpdate extends $tea.Model {
2062
2148
  merchantServiceName?: string;
2063
2149
  // 商户服务描述。 修改后的商户服务描述,将同步支付宝代扣签约页面字段展示
2064
2150
  merchantServiceDesc?: string;
2151
+ // 站点信息
2152
+ siteInfo?: SiteInfo[];
2065
2153
  static names(): { [key: string]: string } {
2066
2154
  return {
2067
2155
  applicationScene: 'application_scene',
@@ -2071,6 +2159,7 @@ export class ApplicationInfoUpdate extends $tea.Model {
2071
2159
  merchantName: 'merchant_name',
2072
2160
  merchantServiceName: 'merchant_service_name',
2073
2161
  merchantServiceDesc: 'merchant_service_desc',
2162
+ siteInfo: 'site_info',
2074
2163
  };
2075
2164
  }
2076
2165
 
@@ -2083,6 +2172,7 @@ export class ApplicationInfoUpdate extends $tea.Model {
2083
2172
  merchantName: 'string',
2084
2173
  merchantServiceName: 'string',
2085
2174
  merchantServiceDesc: 'string',
2175
+ siteInfo: { 'type': 'array', 'itemType': SiteInfo },
2086
2176
  };
2087
2177
  }
2088
2178
 
@@ -4979,17 +5069,12 @@ export class QueryFundCreditauthRequest extends $tea.Model {
4979
5069
  fundId: string;
4980
5070
  // 授权id
4981
5071
  authId: string;
4982
- // 授权类型
4983
- // CREDIT_GRANTING 授信
4984
- // CREDIT_UTILIZATION 用信
4985
- authType: string;
4986
5072
  static names(): { [key: string]: string } {
4987
5073
  return {
4988
5074
  authToken: 'auth_token',
4989
5075
  productInstanceId: 'product_instance_id',
4990
5076
  fundId: 'fund_id',
4991
5077
  authId: 'auth_id',
4992
- authType: 'auth_type',
4993
5078
  };
4994
5079
  }
4995
5080
 
@@ -4999,7 +5084,6 @@ export class QueryFundCreditauthRequest extends $tea.Model {
4999
5084
  productInstanceId: 'string',
5000
5085
  fundId: 'string',
5001
5086
  authId: 'string',
5002
- authType: 'string',
5003
5087
  };
5004
5088
  }
5005
5089
 
@@ -5069,6 +5153,97 @@ export class QueryFundCreditauthResponse extends $tea.Model {
5069
5153
  }
5070
5154
  }
5071
5155
 
5156
+ export class QueryFundAssetpackageRequest extends $tea.Model {
5157
+ // OAuth模式下的授权token
5158
+ authToken?: string;
5159
+ productInstanceId?: string;
5160
+ // 资方社会信用代码
5161
+ fundId: string;
5162
+ // 商家统一社会信用代码
5163
+ merchantId: string;
5164
+ // 商户的租户id
5165
+ tenantId: string;
5166
+ // 用信id
5167
+ utilizationId?: string;
5168
+ // 资产包id
5169
+ assetPackageId: string;
5170
+ static names(): { [key: string]: string } {
5171
+ return {
5172
+ authToken: 'auth_token',
5173
+ productInstanceId: 'product_instance_id',
5174
+ fundId: 'fund_id',
5175
+ merchantId: 'merchant_id',
5176
+ tenantId: 'tenant_id',
5177
+ utilizationId: 'utilization_id',
5178
+ assetPackageId: 'asset_package_id',
5179
+ };
5180
+ }
5181
+
5182
+ static types(): { [key: string]: any } {
5183
+ return {
5184
+ authToken: 'string',
5185
+ productInstanceId: 'string',
5186
+ fundId: 'string',
5187
+ merchantId: 'string',
5188
+ tenantId: 'string',
5189
+ utilizationId: 'string',
5190
+ assetPackageId: 'string',
5191
+ };
5192
+ }
5193
+
5194
+ constructor(map?: { [key: string]: any }) {
5195
+ super(map);
5196
+ }
5197
+ }
5198
+
5199
+ export class QueryFundAssetpackageResponse extends $tea.Model {
5200
+ // 请求唯一ID,用于链路跟踪和问题排查
5201
+ reqMsgId?: string;
5202
+ // 结果码,一般OK表示调用成功
5203
+ resultCode?: string;
5204
+ // 异常信息的文本描述
5205
+ resultMsg?: string;
5206
+ // 资产包id
5207
+ assetPackageId?: string;
5208
+ // 用信id
5209
+ utilizationId?: string;
5210
+ // 资产包状态
5211
+ status?: string;
5212
+ // 组包完成时间, yyyy-MM-dd HH:mm:ss
5213
+ gmtGroupingEnd?: string;
5214
+ // 订单列表
5215
+ orderList?: AssetPackageOrderInfo[];
5216
+ static names(): { [key: string]: string } {
5217
+ return {
5218
+ reqMsgId: 'req_msg_id',
5219
+ resultCode: 'result_code',
5220
+ resultMsg: 'result_msg',
5221
+ assetPackageId: 'asset_package_id',
5222
+ utilizationId: 'utilization_id',
5223
+ status: 'status',
5224
+ gmtGroupingEnd: 'gmt_grouping_end',
5225
+ orderList: 'order_list',
5226
+ };
5227
+ }
5228
+
5229
+ static types(): { [key: string]: any } {
5230
+ return {
5231
+ reqMsgId: 'string',
5232
+ resultCode: 'string',
5233
+ resultMsg: 'string',
5234
+ assetPackageId: 'string',
5235
+ utilizationId: 'string',
5236
+ status: 'string',
5237
+ gmtGroupingEnd: 'string',
5238
+ orderList: { 'type': 'array', 'itemType': AssetPackageOrderInfo },
5239
+ };
5240
+ }
5241
+
5242
+ constructor(map?: { [key: string]: any }) {
5243
+ super(map);
5244
+ }
5245
+ }
5246
+
5072
5247
  export class GetInnerProductRequest extends $tea.Model {
5073
5248
  // OAuth模式下的授权token
5074
5249
  authToken?: string;
@@ -9279,6 +9454,8 @@ export class DetailInnerOrderResponse extends $tea.Model {
9279
9454
  orderProductInfoList?: OrderProductInfo[];
9280
9455
  // 经营分账信息
9281
9456
  operateDivideInfoList?: OperateDivideInfo[];
9457
+ // 订单合同信息
9458
+ orderContractInfoList?: OrderContractInfo[];
9282
9459
  static names(): { [key: string]: string } {
9283
9460
  return {
9284
9461
  reqMsgId: 'req_msg_id',
@@ -9293,6 +9470,7 @@ export class DetailInnerOrderResponse extends $tea.Model {
9293
9470
  orderPromiseInfo: 'order_promise_info',
9294
9471
  orderProductInfoList: 'order_product_info_list',
9295
9472
  operateDivideInfoList: 'operate_divide_info_list',
9473
+ orderContractInfoList: 'order_contract_info_list',
9296
9474
  };
9297
9475
  }
9298
9476
 
@@ -9310,6 +9488,7 @@ export class DetailInnerOrderResponse extends $tea.Model {
9310
9488
  orderPromiseInfo: OrderPromiseInfo,
9311
9489
  orderProductInfoList: { 'type': 'array', 'itemType': OrderProductInfo },
9312
9490
  operateDivideInfoList: { 'type': 'array', 'itemType': OperateDivideInfo },
9491
+ orderContractInfoList: { 'type': 'array', 'itemType': OrderContractInfo },
9313
9492
  };
9314
9493
  }
9315
9494
 
@@ -10525,6 +10704,81 @@ export class PagequeryInnerPendingeventResponse extends $tea.Model {
10525
10704
  }
10526
10705
  }
10527
10706
 
10707
+ export class UpdateInnerMerchantpayexpandRequest extends $tea.Model {
10708
+ // OAuth模式下的授权token
10709
+ authToken?: string;
10710
+ productInstanceId?: string;
10711
+ // 公司信息
10712
+ companyInfo: CompanyInfoUpdate;
10713
+ // 法人信息
10714
+ legalInfo: LegalInfoUpdate;
10715
+ // 应用信息
10716
+ applicationInfo: ApplicationInfoUpdate;
10717
+ // 进件流水号
10718
+ payExpandId: string;
10719
+ // 社会统一信用代码
10720
+ merchantId: string;
10721
+ static names(): { [key: string]: string } {
10722
+ return {
10723
+ authToken: 'auth_token',
10724
+ productInstanceId: 'product_instance_id',
10725
+ companyInfo: 'company_info',
10726
+ legalInfo: 'legal_info',
10727
+ applicationInfo: 'application_info',
10728
+ payExpandId: 'pay_expand_id',
10729
+ merchantId: 'merchant_id',
10730
+ };
10731
+ }
10732
+
10733
+ static types(): { [key: string]: any } {
10734
+ return {
10735
+ authToken: 'string',
10736
+ productInstanceId: 'string',
10737
+ companyInfo: CompanyInfoUpdate,
10738
+ legalInfo: LegalInfoUpdate,
10739
+ applicationInfo: ApplicationInfoUpdate,
10740
+ payExpandId: 'string',
10741
+ merchantId: 'string',
10742
+ };
10743
+ }
10744
+
10745
+ constructor(map?: { [key: string]: any }) {
10746
+ super(map);
10747
+ }
10748
+ }
10749
+
10750
+ export class UpdateInnerMerchantpayexpandResponse extends $tea.Model {
10751
+ // 请求唯一ID,用于链路跟踪和问题排查
10752
+ reqMsgId?: string;
10753
+ // 结果码,一般OK表示调用成功
10754
+ resultCode?: string;
10755
+ // 异常信息的文本描述
10756
+ resultMsg?: string;
10757
+ // 进件流水号
10758
+ payExpandId?: string;
10759
+ static names(): { [key: string]: string } {
10760
+ return {
10761
+ reqMsgId: 'req_msg_id',
10762
+ resultCode: 'result_code',
10763
+ resultMsg: 'result_msg',
10764
+ payExpandId: 'pay_expand_id',
10765
+ };
10766
+ }
10767
+
10768
+ static types(): { [key: string]: any } {
10769
+ return {
10770
+ reqMsgId: 'string',
10771
+ resultCode: 'string',
10772
+ resultMsg: 'string',
10773
+ payExpandId: 'string',
10774
+ };
10775
+ }
10776
+
10777
+ constructor(map?: { [key: string]: any }) {
10778
+ super(map);
10779
+ }
10780
+ }
10781
+
10528
10782
  export class CreateInsureRequest extends $tea.Model {
10529
10783
  // OAuth模式下的授权token
10530
10784
  authToken?: string;
@@ -15313,7 +15567,7 @@ export default class Client {
15313
15567
  req_msg_id: AntchainUtil.getNonce(),
15314
15568
  access_key: this._accessKeyId,
15315
15569
  base_sdk_version: "TeaSDK-2.0",
15316
- sdk_version: "1.14.10",
15570
+ sdk_version: "1.14.15",
15317
15571
  _prod_code: "ATO",
15318
15572
  _prod_channel: "undefined",
15319
15573
  };
@@ -16014,6 +16268,25 @@ export default class Client {
16014
16268
  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
16269
  }
16016
16270
 
16271
+ /**
16272
+ * Description: 资产包详情查询
16273
+ * Summary: 资产包详情查询
16274
+ */
16275
+ async queryFundAssetpackage(request: QueryFundAssetpackageRequest): Promise<QueryFundAssetpackageResponse> {
16276
+ let runtime = new $Util.RuntimeOptions({ });
16277
+ let headers : {[key: string ]: string} = { };
16278
+ return await this.queryFundAssetpackageEx(request, headers, runtime);
16279
+ }
16280
+
16281
+ /**
16282
+ * Description: 资产包详情查询
16283
+ * Summary: 资产包详情查询
16284
+ */
16285
+ async queryFundAssetpackageEx(request: QueryFundAssetpackageRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryFundAssetpackageResponse> {
16286
+ Util.validateModel(request);
16287
+ 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({}));
16288
+ }
16289
+
16017
16290
  /**
16018
16291
  * Description: 内部调用,商品信息获取
16019
16292
  * Summary: 商品信息获取
@@ -17403,6 +17676,25 @@ export default class Client {
17403
17676
  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
17677
  }
17405
17678
 
17679
+ /**
17680
+ * Description: 修改进件信息
17681
+ * Summary: 修改进件信息
17682
+ */
17683
+ async updateInnerMerchantpayexpand(request: UpdateInnerMerchantpayexpandRequest): Promise<UpdateInnerMerchantpayexpandResponse> {
17684
+ let runtime = new $Util.RuntimeOptions({ });
17685
+ let headers : {[key: string ]: string} = { };
17686
+ return await this.updateInnerMerchantpayexpandEx(request, headers, runtime);
17687
+ }
17688
+
17689
+ /**
17690
+ * Description: 修改进件信息
17691
+ * Summary: 修改进件信息
17692
+ */
17693
+ async updateInnerMerchantpayexpandEx(request: UpdateInnerMerchantpayexpandRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<UpdateInnerMerchantpayexpandResponse> {
17694
+ Util.validateModel(request);
17695
+ 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({}));
17696
+ }
17697
+
17406
17698
  /**
17407
17699
  * Description: 一键投保
17408
17700
  * Summary: 投保