@antchain/ato 1.20.4 → 1.20.7

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
@@ -22,7 +22,7 @@
22
22
  "prepublishOnly":"tsc",
23
23
  "test-cov":"nyc -e .ts -r=html -r=text -r=lcov npm run test"
24
24
  },
25
- "version":"1.20.4",
25
+ "version":"1.20.7",
26
26
  "dependencies":{
27
27
  "@alicloud/rpc-util":"^0.1.0",
28
28
  "@antchain/alipay-util":"^1.0.4",
package/src/client.ts CHANGED
@@ -10307,6 +10307,16 @@ export class QueryEnterpriseProductResponse extends $tea.Model {
10307
10307
  orderId?: string;
10308
10308
  // 订单状态 PAY_SUCCESS-支付成功 ACTIVATION_SUCCESS-产品开通成功 CLOSED-关单状态
10309
10309
  event?: string;
10310
+ // 支付串
10311
+ tradeNo?: string;
10312
+ // 订单类型 NEW=新购 RENEW=续费
10313
+ orderType?: string;
10314
+ // 产品码
10315
+ commodityCode?: string;
10316
+ // 认购类型
10317
+ durationType?: string;
10318
+ // 认购时长
10319
+ durationValue?: string;
10310
10320
  static names(): { [key: string]: string } {
10311
10321
  return {
10312
10322
  reqMsgId: 'req_msg_id',
@@ -10314,6 +10324,11 @@ export class QueryEnterpriseProductResponse extends $tea.Model {
10314
10324
  resultMsg: 'result_msg',
10315
10325
  orderId: 'order_id',
10316
10326
  event: 'event',
10327
+ tradeNo: 'trade_no',
10328
+ orderType: 'order_type',
10329
+ commodityCode: 'commodity_code',
10330
+ durationType: 'duration_type',
10331
+ durationValue: 'duration_value',
10317
10332
  };
10318
10333
  }
10319
10334
 
@@ -10324,6 +10339,11 @@ export class QueryEnterpriseProductResponse extends $tea.Model {
10324
10339
  resultMsg: 'string',
10325
10340
  orderId: 'string',
10326
10341
  event: 'string',
10342
+ tradeNo: 'string',
10343
+ orderType: 'string',
10344
+ commodityCode: 'string',
10345
+ durationType: 'string',
10346
+ durationValue: 'string',
10327
10347
  };
10328
10348
  }
10329
10349
 
@@ -29051,6 +29071,9 @@ export class RegisterMerchantexpandMerchantRequest extends $tea.Model {
29051
29071
  // MERCHANT(默认)
29052
29072
  // FINANCIER
29053
29073
  role?: string;
29074
+ // 商家进件时,可自行选择是否需要开通周期代扣产品,默认开通
29075
+ // false:不开通
29076
+ needWithholding?: boolean;
29054
29077
  static names(): { [key: string]: string } {
29055
29078
  return {
29056
29079
  authToken: 'auth_token',
@@ -29064,6 +29087,7 @@ export class RegisterMerchantexpandMerchantRequest extends $tea.Model {
29064
29087
  merchantSettleInfo: 'merchant_settle_info',
29065
29088
  payChannel: 'pay_channel',
29066
29089
  role: 'role',
29090
+ needWithholding: 'need_withholding',
29067
29091
  };
29068
29092
  }
29069
29093
 
@@ -29080,6 +29104,7 @@ export class RegisterMerchantexpandMerchantRequest extends $tea.Model {
29080
29104
  merchantSettleInfo: MerchantSettleInfo,
29081
29105
  payChannel: 'string',
29082
29106
  role: 'string',
29107
+ needWithholding: 'boolean',
29083
29108
  };
29084
29109
  }
29085
29110
 
@@ -33740,7 +33765,7 @@ export class RepayWithholdPlanRequest extends $tea.Model {
33740
33765
  orderId: string;
33741
33766
  // 第几期,单期取消必填
33742
33767
  periodNum?: number;
33743
- // 取消订单某一期代扣计划中以其他方式还款金额,单位为分,单期取消必填
33768
+ // 取其他方式还款的时间,单期取消必填
33744
33769
  gmtPay?: string;
33745
33770
  // 取消订单某一期代扣计划中以其他方式还款金额,单位为分
33746
33771
  payOffAmount?: number;
@@ -34824,7 +34849,7 @@ export default class Client {
34824
34849
  req_msg_id: AntchainUtil.getNonce(),
34825
34850
  access_key: this._accessKeyId,
34826
34851
  base_sdk_version: "TeaSDK-2.0",
34827
- sdk_version: "1.20.4",
34852
+ sdk_version: "1.20.7",
34828
34853
  _prod_code: "ATO",
34829
34854
  _prod_channel: "undefined",
34830
34855
  };
@@ -41815,7 +41840,9 @@ export default class Client {
41815
41840
  * Description: 重要说明:
41816
41841
  * 1.这个接口是取消订单某一、多期代扣计划中以其他方式还款的金额,取消之后代扣不再执行该期计划。
41817
41842
  * 2.对通过其他方式还款的第三方单号留存;例如:银行流水号或微信流水号。
41818
- * Summary: 单期多期代扣取消
41843
+ * Summary: 重要说明:
41844
+ * 1.这个接口是取消订单某一、多期代扣计划中以其他方式还款的金额,取消之后代扣不再执行该期计划。
41845
+ * 2.对通过其他方式还款的第三方单号留存;例如:银行流水号或微信流水号。
41819
41846
  */
41820
41847
  async repayWithholdPlan(request: RepayWithholdPlanRequest): Promise<RepayWithholdPlanResponse> {
41821
41848
  let runtime = new $Util.RuntimeOptions({ });
@@ -41828,7 +41855,9 @@ export default class Client {
41828
41855
  * Description: 重要说明:
41829
41856
  * 1.这个接口是取消订单某一、多期代扣计划中以其他方式还款的金额,取消之后代扣不再执行该期计划。
41830
41857
  * 2.对通过其他方式还款的第三方单号留存;例如:银行流水号或微信流水号。
41831
- * Summary: 单期多期代扣取消
41858
+ * Summary: 重要说明:
41859
+ * 1.这个接口是取消订单某一、多期代扣计划中以其他方式还款的金额,取消之后代扣不再执行该期计划。
41860
+ * 2.对通过其他方式还款的第三方单号留存;例如:银行流水号或微信流水号。
41832
41861
  */
41833
41862
  async repayWithholdPlanEx(request: RepayWithholdPlanRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<RepayWithholdPlanResponse> {
41834
41863
  Util.validateModel(request);