@antchain/ato 1.20.4 → 1.20.6
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/dist/client.d.ts +6 -0
- package/dist/client.js +13 -1
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +26 -1
package/package.json
CHANGED
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
|
|
|
@@ -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.
|
|
34852
|
+
sdk_version: "1.20.6",
|
|
34828
34853
|
_prod_code: "ATO",
|
|
34829
34854
|
_prod_channel: "undefined",
|
|
34830
34855
|
};
|