@antchain/ato 1.19.79 → 1.19.82
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 +350 -2
- package/dist/client.js +513 -4
- package/dist/client.js.map +1 -1
- package/package.json +30 -29
- package/src/client.ts +722 -3
package/src/client.ts
CHANGED
|
@@ -8045,6 +8045,561 @@ export class QueryTradeSettletocardResponse extends $tea.Model {
|
|
|
8045
8045
|
}
|
|
8046
8046
|
}
|
|
8047
8047
|
|
|
8048
|
+
export class SyncOnetimeOrderRequest extends $tea.Model {
|
|
8049
|
+
// OAuth模式下的授权token
|
|
8050
|
+
authToken?: string;
|
|
8051
|
+
productInstanceId?: string;
|
|
8052
|
+
// 订单id 长度大于6,小于50
|
|
8053
|
+
orderId: string;
|
|
8054
|
+
// 订单所属商户的社会信用代码
|
|
8055
|
+
merchantId: string;
|
|
8056
|
+
// 订单所属商户的名字
|
|
8057
|
+
merchantName: string;
|
|
8058
|
+
// OneTimeOrderfoRequest请求参数
|
|
8059
|
+
orderInfo: string;
|
|
8060
|
+
static names(): { [key: string]: string } {
|
|
8061
|
+
return {
|
|
8062
|
+
authToken: 'auth_token',
|
|
8063
|
+
productInstanceId: 'product_instance_id',
|
|
8064
|
+
orderId: 'order_id',
|
|
8065
|
+
merchantId: 'merchant_id',
|
|
8066
|
+
merchantName: 'merchant_name',
|
|
8067
|
+
orderInfo: 'order_info',
|
|
8068
|
+
};
|
|
8069
|
+
}
|
|
8070
|
+
|
|
8071
|
+
static types(): { [key: string]: any } {
|
|
8072
|
+
return {
|
|
8073
|
+
authToken: 'string',
|
|
8074
|
+
productInstanceId: 'string',
|
|
8075
|
+
orderId: 'string',
|
|
8076
|
+
merchantId: 'string',
|
|
8077
|
+
merchantName: 'string',
|
|
8078
|
+
orderInfo: 'string',
|
|
8079
|
+
};
|
|
8080
|
+
}
|
|
8081
|
+
|
|
8082
|
+
constructor(map?: { [key: string]: any }) {
|
|
8083
|
+
super(map);
|
|
8084
|
+
}
|
|
8085
|
+
}
|
|
8086
|
+
|
|
8087
|
+
export class SyncOnetimeOrderResponse extends $tea.Model {
|
|
8088
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8089
|
+
reqMsgId?: string;
|
|
8090
|
+
// 结果码,一般OK表示调用成功
|
|
8091
|
+
resultCode?: string;
|
|
8092
|
+
// 异常信息的文本描述
|
|
8093
|
+
resultMsg?: string;
|
|
8094
|
+
// 订单id
|
|
8095
|
+
orderId?: string;
|
|
8096
|
+
static names(): { [key: string]: string } {
|
|
8097
|
+
return {
|
|
8098
|
+
reqMsgId: 'req_msg_id',
|
|
8099
|
+
resultCode: 'result_code',
|
|
8100
|
+
resultMsg: 'result_msg',
|
|
8101
|
+
orderId: 'order_id',
|
|
8102
|
+
};
|
|
8103
|
+
}
|
|
8104
|
+
|
|
8105
|
+
static types(): { [key: string]: any } {
|
|
8106
|
+
return {
|
|
8107
|
+
reqMsgId: 'string',
|
|
8108
|
+
resultCode: 'string',
|
|
8109
|
+
resultMsg: 'string',
|
|
8110
|
+
orderId: 'string',
|
|
8111
|
+
};
|
|
8112
|
+
}
|
|
8113
|
+
|
|
8114
|
+
constructor(map?: { [key: string]: any }) {
|
|
8115
|
+
super(map);
|
|
8116
|
+
}
|
|
8117
|
+
}
|
|
8118
|
+
|
|
8119
|
+
export class QueryOnetimeOrderRequest extends $tea.Model {
|
|
8120
|
+
// OAuth模式下的授权token
|
|
8121
|
+
authToken?: string;
|
|
8122
|
+
productInstanceId?: string;
|
|
8123
|
+
// order_id
|
|
8124
|
+
orderId: string;
|
|
8125
|
+
// merchant_id
|
|
8126
|
+
merchantId: string;
|
|
8127
|
+
// merchant_name
|
|
8128
|
+
merchantName: string;
|
|
8129
|
+
static names(): { [key: string]: string } {
|
|
8130
|
+
return {
|
|
8131
|
+
authToken: 'auth_token',
|
|
8132
|
+
productInstanceId: 'product_instance_id',
|
|
8133
|
+
orderId: 'order_id',
|
|
8134
|
+
merchantId: 'merchant_id',
|
|
8135
|
+
merchantName: 'merchant_name',
|
|
8136
|
+
};
|
|
8137
|
+
}
|
|
8138
|
+
|
|
8139
|
+
static types(): { [key: string]: any } {
|
|
8140
|
+
return {
|
|
8141
|
+
authToken: 'string',
|
|
8142
|
+
productInstanceId: 'string',
|
|
8143
|
+
orderId: 'string',
|
|
8144
|
+
merchantId: 'string',
|
|
8145
|
+
merchantName: 'string',
|
|
8146
|
+
};
|
|
8147
|
+
}
|
|
8148
|
+
|
|
8149
|
+
constructor(map?: { [key: string]: any }) {
|
|
8150
|
+
super(map);
|
|
8151
|
+
}
|
|
8152
|
+
}
|
|
8153
|
+
|
|
8154
|
+
export class QueryOnetimeOrderResponse extends $tea.Model {
|
|
8155
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8156
|
+
reqMsgId?: string;
|
|
8157
|
+
// 结果码,一般OK表示调用成功
|
|
8158
|
+
resultCode?: string;
|
|
8159
|
+
// 异常信息的文本描述
|
|
8160
|
+
resultMsg?: string;
|
|
8161
|
+
// data
|
|
8162
|
+
data?: string;
|
|
8163
|
+
static names(): { [key: string]: string } {
|
|
8164
|
+
return {
|
|
8165
|
+
reqMsgId: 'req_msg_id',
|
|
8166
|
+
resultCode: 'result_code',
|
|
8167
|
+
resultMsg: 'result_msg',
|
|
8168
|
+
data: 'data',
|
|
8169
|
+
};
|
|
8170
|
+
}
|
|
8171
|
+
|
|
8172
|
+
static types(): { [key: string]: any } {
|
|
8173
|
+
return {
|
|
8174
|
+
reqMsgId: 'string',
|
|
8175
|
+
resultCode: 'string',
|
|
8176
|
+
resultMsg: 'string',
|
|
8177
|
+
data: 'string',
|
|
8178
|
+
};
|
|
8179
|
+
}
|
|
8180
|
+
|
|
8181
|
+
constructor(map?: { [key: string]: any }) {
|
|
8182
|
+
super(map);
|
|
8183
|
+
}
|
|
8184
|
+
}
|
|
8185
|
+
|
|
8186
|
+
export class QueryOnetimePerformanceRequest extends $tea.Model {
|
|
8187
|
+
// OAuth模式下的授权token
|
|
8188
|
+
authToken?: string;
|
|
8189
|
+
productInstanceId?: string;
|
|
8190
|
+
// order_id
|
|
8191
|
+
orderId: string;
|
|
8192
|
+
// merchant_id
|
|
8193
|
+
merchantId: string;
|
|
8194
|
+
static names(): { [key: string]: string } {
|
|
8195
|
+
return {
|
|
8196
|
+
authToken: 'auth_token',
|
|
8197
|
+
productInstanceId: 'product_instance_id',
|
|
8198
|
+
orderId: 'order_id',
|
|
8199
|
+
merchantId: 'merchant_id',
|
|
8200
|
+
};
|
|
8201
|
+
}
|
|
8202
|
+
|
|
8203
|
+
static types(): { [key: string]: any } {
|
|
8204
|
+
return {
|
|
8205
|
+
authToken: 'string',
|
|
8206
|
+
productInstanceId: 'string',
|
|
8207
|
+
orderId: 'string',
|
|
8208
|
+
merchantId: 'string',
|
|
8209
|
+
};
|
|
8210
|
+
}
|
|
8211
|
+
|
|
8212
|
+
constructor(map?: { [key: string]: any }) {
|
|
8213
|
+
super(map);
|
|
8214
|
+
}
|
|
8215
|
+
}
|
|
8216
|
+
|
|
8217
|
+
export class QueryOnetimePerformanceResponse extends $tea.Model {
|
|
8218
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8219
|
+
reqMsgId?: string;
|
|
8220
|
+
// 结果码,一般OK表示调用成功
|
|
8221
|
+
resultCode?: string;
|
|
8222
|
+
// 异常信息的文本描述
|
|
8223
|
+
resultMsg?: string;
|
|
8224
|
+
// data
|
|
8225
|
+
data?: string;
|
|
8226
|
+
static names(): { [key: string]: string } {
|
|
8227
|
+
return {
|
|
8228
|
+
reqMsgId: 'req_msg_id',
|
|
8229
|
+
resultCode: 'result_code',
|
|
8230
|
+
resultMsg: 'result_msg',
|
|
8231
|
+
data: 'data',
|
|
8232
|
+
};
|
|
8233
|
+
}
|
|
8234
|
+
|
|
8235
|
+
static types(): { [key: string]: any } {
|
|
8236
|
+
return {
|
|
8237
|
+
reqMsgId: 'string',
|
|
8238
|
+
resultCode: 'string',
|
|
8239
|
+
resultMsg: 'string',
|
|
8240
|
+
data: 'string',
|
|
8241
|
+
};
|
|
8242
|
+
}
|
|
8243
|
+
|
|
8244
|
+
constructor(map?: { [key: string]: any }) {
|
|
8245
|
+
super(map);
|
|
8246
|
+
}
|
|
8247
|
+
}
|
|
8248
|
+
|
|
8249
|
+
export class QueryOnetimeRefundRequest extends $tea.Model {
|
|
8250
|
+
// OAuth模式下的授权token
|
|
8251
|
+
authToken?: string;
|
|
8252
|
+
productInstanceId?: string;
|
|
8253
|
+
// 订单id
|
|
8254
|
+
orderId: string;
|
|
8255
|
+
// 外部系统传入的退款请求号
|
|
8256
|
+
refundRequestNo: string;
|
|
8257
|
+
static names(): { [key: string]: string } {
|
|
8258
|
+
return {
|
|
8259
|
+
authToken: 'auth_token',
|
|
8260
|
+
productInstanceId: 'product_instance_id',
|
|
8261
|
+
orderId: 'order_id',
|
|
8262
|
+
refundRequestNo: 'refund_request_no',
|
|
8263
|
+
};
|
|
8264
|
+
}
|
|
8265
|
+
|
|
8266
|
+
static types(): { [key: string]: any } {
|
|
8267
|
+
return {
|
|
8268
|
+
authToken: 'string',
|
|
8269
|
+
productInstanceId: 'string',
|
|
8270
|
+
orderId: 'string',
|
|
8271
|
+
refundRequestNo: 'string',
|
|
8272
|
+
};
|
|
8273
|
+
}
|
|
8274
|
+
|
|
8275
|
+
constructor(map?: { [key: string]: any }) {
|
|
8276
|
+
super(map);
|
|
8277
|
+
}
|
|
8278
|
+
}
|
|
8279
|
+
|
|
8280
|
+
export class QueryOnetimeRefundResponse extends $tea.Model {
|
|
8281
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8282
|
+
reqMsgId?: string;
|
|
8283
|
+
// 结果码,一般OK表示调用成功
|
|
8284
|
+
resultCode?: string;
|
|
8285
|
+
// 异常信息的文本描述
|
|
8286
|
+
resultMsg?: string;
|
|
8287
|
+
// 外部系统传入的退款请求号
|
|
8288
|
+
refundRequestNo?: string;
|
|
8289
|
+
// 支付宝交易单号
|
|
8290
|
+
tradeNo?: string;
|
|
8291
|
+
// 退款请求状态
|
|
8292
|
+
// ACCEPT: 受理成功
|
|
8293
|
+
// PENDING: 需人工介入
|
|
8294
|
+
// SUCCESS: 成功
|
|
8295
|
+
// FAILED : 失败
|
|
8296
|
+
status?: string;
|
|
8297
|
+
// 请求支付宝的退款单据号
|
|
8298
|
+
refundOrderNo?: string;
|
|
8299
|
+
// 退款失败原因
|
|
8300
|
+
refundErrorMsg?: string;
|
|
8301
|
+
// 本笔交易总退款金额,单位为分
|
|
8302
|
+
totalRefundAmount?: number;
|
|
8303
|
+
// 本次退款申请的实际退款金额,单位为分
|
|
8304
|
+
sendBackAmount?: number;
|
|
8305
|
+
// 实际退款时间,13位时间戳(毫秒)
|
|
8306
|
+
gmtRefundPay?: number;
|
|
8307
|
+
// 退分账信息
|
|
8308
|
+
refundDivideTransOutInfoList?: string;
|
|
8309
|
+
static names(): { [key: string]: string } {
|
|
8310
|
+
return {
|
|
8311
|
+
reqMsgId: 'req_msg_id',
|
|
8312
|
+
resultCode: 'result_code',
|
|
8313
|
+
resultMsg: 'result_msg',
|
|
8314
|
+
refundRequestNo: 'refund_request_no',
|
|
8315
|
+
tradeNo: 'trade_no',
|
|
8316
|
+
status: 'status',
|
|
8317
|
+
refundOrderNo: 'refund_order_no',
|
|
8318
|
+
refundErrorMsg: 'refund_error_msg',
|
|
8319
|
+
totalRefundAmount: 'total_refund_amount',
|
|
8320
|
+
sendBackAmount: 'send_back_amount',
|
|
8321
|
+
gmtRefundPay: 'gmt_refund_pay',
|
|
8322
|
+
refundDivideTransOutInfoList: 'refund_divide_trans_out_info_list',
|
|
8323
|
+
};
|
|
8324
|
+
}
|
|
8325
|
+
|
|
8326
|
+
static types(): { [key: string]: any } {
|
|
8327
|
+
return {
|
|
8328
|
+
reqMsgId: 'string',
|
|
8329
|
+
resultCode: 'string',
|
|
8330
|
+
resultMsg: 'string',
|
|
8331
|
+
refundRequestNo: 'string',
|
|
8332
|
+
tradeNo: 'string',
|
|
8333
|
+
status: 'string',
|
|
8334
|
+
refundOrderNo: 'string',
|
|
8335
|
+
refundErrorMsg: 'string',
|
|
8336
|
+
totalRefundAmount: 'number',
|
|
8337
|
+
sendBackAmount: 'number',
|
|
8338
|
+
gmtRefundPay: 'number',
|
|
8339
|
+
refundDivideTransOutInfoList: 'string',
|
|
8340
|
+
};
|
|
8341
|
+
}
|
|
8342
|
+
|
|
8343
|
+
constructor(map?: { [key: string]: any }) {
|
|
8344
|
+
super(map);
|
|
8345
|
+
}
|
|
8346
|
+
}
|
|
8347
|
+
|
|
8348
|
+
export class InitOnetimeActivepayRequest extends $tea.Model {
|
|
8349
|
+
// OAuth模式下的授权token
|
|
8350
|
+
authToken?: string;
|
|
8351
|
+
productInstanceId?: string;
|
|
8352
|
+
// 单号
|
|
8353
|
+
orderId: string;
|
|
8354
|
+
// 支付渠道
|
|
8355
|
+
payChannel: string;
|
|
8356
|
+
// 回跳地址
|
|
8357
|
+
returnUrl?: string;
|
|
8358
|
+
static names(): { [key: string]: string } {
|
|
8359
|
+
return {
|
|
8360
|
+
authToken: 'auth_token',
|
|
8361
|
+
productInstanceId: 'product_instance_id',
|
|
8362
|
+
orderId: 'order_id',
|
|
8363
|
+
payChannel: 'pay_channel',
|
|
8364
|
+
returnUrl: 'return_url',
|
|
8365
|
+
};
|
|
8366
|
+
}
|
|
8367
|
+
|
|
8368
|
+
static types(): { [key: string]: any } {
|
|
8369
|
+
return {
|
|
8370
|
+
authToken: 'string',
|
|
8371
|
+
productInstanceId: 'string',
|
|
8372
|
+
orderId: 'string',
|
|
8373
|
+
payChannel: 'string',
|
|
8374
|
+
returnUrl: 'string',
|
|
8375
|
+
};
|
|
8376
|
+
}
|
|
8377
|
+
|
|
8378
|
+
constructor(map?: { [key: string]: any }) {
|
|
8379
|
+
super(map);
|
|
8380
|
+
}
|
|
8381
|
+
}
|
|
8382
|
+
|
|
8383
|
+
export class InitOnetimeActivepayResponse extends $tea.Model {
|
|
8384
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8385
|
+
reqMsgId?: string;
|
|
8386
|
+
// 结果码,一般OK表示调用成功
|
|
8387
|
+
resultCode?: string;
|
|
8388
|
+
// 异常信息的文本描述
|
|
8389
|
+
resultMsg?: string;
|
|
8390
|
+
// 支付单号
|
|
8391
|
+
tradeNo?: string;
|
|
8392
|
+
// 字符串
|
|
8393
|
+
orderStr?: string;
|
|
8394
|
+
static names(): { [key: string]: string } {
|
|
8395
|
+
return {
|
|
8396
|
+
reqMsgId: 'req_msg_id',
|
|
8397
|
+
resultCode: 'result_code',
|
|
8398
|
+
resultMsg: 'result_msg',
|
|
8399
|
+
tradeNo: 'trade_no',
|
|
8400
|
+
orderStr: 'order_str',
|
|
8401
|
+
};
|
|
8402
|
+
}
|
|
8403
|
+
|
|
8404
|
+
static types(): { [key: string]: any } {
|
|
8405
|
+
return {
|
|
8406
|
+
reqMsgId: 'string',
|
|
8407
|
+
resultCode: 'string',
|
|
8408
|
+
resultMsg: 'string',
|
|
8409
|
+
tradeNo: 'string',
|
|
8410
|
+
orderStr: 'string',
|
|
8411
|
+
};
|
|
8412
|
+
}
|
|
8413
|
+
|
|
8414
|
+
constructor(map?: { [key: string]: any }) {
|
|
8415
|
+
super(map);
|
|
8416
|
+
}
|
|
8417
|
+
}
|
|
8418
|
+
|
|
8419
|
+
export class QueryOnetimeActivepayRequest extends $tea.Model {
|
|
8420
|
+
// OAuth模式下的授权token
|
|
8421
|
+
authToken?: string;
|
|
8422
|
+
productInstanceId?: string;
|
|
8423
|
+
// 单号
|
|
8424
|
+
orderId: string;
|
|
8425
|
+
static names(): { [key: string]: string } {
|
|
8426
|
+
return {
|
|
8427
|
+
authToken: 'auth_token',
|
|
8428
|
+
productInstanceId: 'product_instance_id',
|
|
8429
|
+
orderId: 'order_id',
|
|
8430
|
+
};
|
|
8431
|
+
}
|
|
8432
|
+
|
|
8433
|
+
static types(): { [key: string]: any } {
|
|
8434
|
+
return {
|
|
8435
|
+
authToken: 'string',
|
|
8436
|
+
productInstanceId: 'string',
|
|
8437
|
+
orderId: 'string',
|
|
8438
|
+
};
|
|
8439
|
+
}
|
|
8440
|
+
|
|
8441
|
+
constructor(map?: { [key: string]: any }) {
|
|
8442
|
+
super(map);
|
|
8443
|
+
}
|
|
8444
|
+
}
|
|
8445
|
+
|
|
8446
|
+
export class QueryOnetimeActivepayResponse extends $tea.Model {
|
|
8447
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8448
|
+
reqMsgId?: string;
|
|
8449
|
+
// 结果码,一般OK表示调用成功
|
|
8450
|
+
resultCode?: string;
|
|
8451
|
+
// 异常信息的文本描述
|
|
8452
|
+
resultMsg?: string;
|
|
8453
|
+
// 支付单号
|
|
8454
|
+
tradeNo?: string;
|
|
8455
|
+
// 订单串
|
|
8456
|
+
orderStr?: string;
|
|
8457
|
+
// 状态
|
|
8458
|
+
status?: string;
|
|
8459
|
+
// 分账状态
|
|
8460
|
+
divideStatus?: string;
|
|
8461
|
+
// 支付金额
|
|
8462
|
+
payAmount?: number;
|
|
8463
|
+
// 实际付款金额
|
|
8464
|
+
realPayAmount?: number;
|
|
8465
|
+
// 实际收款金额
|
|
8466
|
+
realReceiptAmount?: number;
|
|
8467
|
+
// 支付时间
|
|
8468
|
+
payTime?: string;
|
|
8469
|
+
// 支付单号
|
|
8470
|
+
payOrderNo?: string;
|
|
8471
|
+
// 交易单号
|
|
8472
|
+
payTradeNo?: string;
|
|
8473
|
+
static names(): { [key: string]: string } {
|
|
8474
|
+
return {
|
|
8475
|
+
reqMsgId: 'req_msg_id',
|
|
8476
|
+
resultCode: 'result_code',
|
|
8477
|
+
resultMsg: 'result_msg',
|
|
8478
|
+
tradeNo: 'trade_no',
|
|
8479
|
+
orderStr: 'order_str',
|
|
8480
|
+
status: 'status',
|
|
8481
|
+
divideStatus: 'divide_status',
|
|
8482
|
+
payAmount: 'pay_amount',
|
|
8483
|
+
realPayAmount: 'real_pay_amount',
|
|
8484
|
+
realReceiptAmount: 'real_receipt_amount',
|
|
8485
|
+
payTime: 'pay_time',
|
|
8486
|
+
payOrderNo: 'pay_order_no',
|
|
8487
|
+
payTradeNo: 'pay_trade_no',
|
|
8488
|
+
};
|
|
8489
|
+
}
|
|
8490
|
+
|
|
8491
|
+
static types(): { [key: string]: any } {
|
|
8492
|
+
return {
|
|
8493
|
+
reqMsgId: 'string',
|
|
8494
|
+
resultCode: 'string',
|
|
8495
|
+
resultMsg: 'string',
|
|
8496
|
+
tradeNo: 'string',
|
|
8497
|
+
orderStr: 'string',
|
|
8498
|
+
status: 'string',
|
|
8499
|
+
divideStatus: 'string',
|
|
8500
|
+
payAmount: 'number',
|
|
8501
|
+
realPayAmount: 'number',
|
|
8502
|
+
realReceiptAmount: 'number',
|
|
8503
|
+
payTime: 'string',
|
|
8504
|
+
payOrderNo: 'string',
|
|
8505
|
+
payTradeNo: 'string',
|
|
8506
|
+
};
|
|
8507
|
+
}
|
|
8508
|
+
|
|
8509
|
+
constructor(map?: { [key: string]: any }) {
|
|
8510
|
+
super(map);
|
|
8511
|
+
}
|
|
8512
|
+
}
|
|
8513
|
+
|
|
8514
|
+
export class CreateOnetimeRefundRequest extends $tea.Model {
|
|
8515
|
+
// OAuth模式下的授权token
|
|
8516
|
+
authToken?: string;
|
|
8517
|
+
productInstanceId?: string;
|
|
8518
|
+
// 订单id
|
|
8519
|
+
orderId: string;
|
|
8520
|
+
// 外部系统传入的退款请求号
|
|
8521
|
+
refundRequestNo: string;
|
|
8522
|
+
// 本次请求的退款金额,单位为分
|
|
8523
|
+
// 1234=12.34元
|
|
8524
|
+
refundMoney: number;
|
|
8525
|
+
// 退款原因
|
|
8526
|
+
refundReason?: string;
|
|
8527
|
+
// 退分账信息列表(最多支持10家分账方退分账信息),金额单位分
|
|
8528
|
+
refundDivideTransOutInfoList?: string;
|
|
8529
|
+
static names(): { [key: string]: string } {
|
|
8530
|
+
return {
|
|
8531
|
+
authToken: 'auth_token',
|
|
8532
|
+
productInstanceId: 'product_instance_id',
|
|
8533
|
+
orderId: 'order_id',
|
|
8534
|
+
refundRequestNo: 'refund_request_no',
|
|
8535
|
+
refundMoney: 'refund_money',
|
|
8536
|
+
refundReason: 'refund_reason',
|
|
8537
|
+
refundDivideTransOutInfoList: 'refund_divide_trans_out_info_list',
|
|
8538
|
+
};
|
|
8539
|
+
}
|
|
8540
|
+
|
|
8541
|
+
static types(): { [key: string]: any } {
|
|
8542
|
+
return {
|
|
8543
|
+
authToken: 'string',
|
|
8544
|
+
productInstanceId: 'string',
|
|
8545
|
+
orderId: 'string',
|
|
8546
|
+
refundRequestNo: 'string',
|
|
8547
|
+
refundMoney: 'number',
|
|
8548
|
+
refundReason: 'string',
|
|
8549
|
+
refundDivideTransOutInfoList: 'string',
|
|
8550
|
+
};
|
|
8551
|
+
}
|
|
8552
|
+
|
|
8553
|
+
constructor(map?: { [key: string]: any }) {
|
|
8554
|
+
super(map);
|
|
8555
|
+
}
|
|
8556
|
+
}
|
|
8557
|
+
|
|
8558
|
+
export class CreateOnetimeRefundResponse extends $tea.Model {
|
|
8559
|
+
// 请求唯一ID,用于链路跟踪和问题排查
|
|
8560
|
+
reqMsgId?: string;
|
|
8561
|
+
// 结果码,一般OK表示调用成功
|
|
8562
|
+
resultCode?: string;
|
|
8563
|
+
// 异常信息的文本描述
|
|
8564
|
+
resultMsg?: string;
|
|
8565
|
+
// 外部系统传入的退款请求号
|
|
8566
|
+
refundRequestNo?: string;
|
|
8567
|
+
// 退款请求状态
|
|
8568
|
+
// ACCEPT: 受理成功
|
|
8569
|
+
status?: string;
|
|
8570
|
+
// 请求支付宝的退款单据号
|
|
8571
|
+
refundOrderNo?: string;
|
|
8572
|
+
// 支付宝交易单号
|
|
8573
|
+
tradeNo?: string;
|
|
8574
|
+
static names(): { [key: string]: string } {
|
|
8575
|
+
return {
|
|
8576
|
+
reqMsgId: 'req_msg_id',
|
|
8577
|
+
resultCode: 'result_code',
|
|
8578
|
+
resultMsg: 'result_msg',
|
|
8579
|
+
refundRequestNo: 'refund_request_no',
|
|
8580
|
+
status: 'status',
|
|
8581
|
+
refundOrderNo: 'refund_order_no',
|
|
8582
|
+
tradeNo: 'trade_no',
|
|
8583
|
+
};
|
|
8584
|
+
}
|
|
8585
|
+
|
|
8586
|
+
static types(): { [key: string]: any } {
|
|
8587
|
+
return {
|
|
8588
|
+
reqMsgId: 'string',
|
|
8589
|
+
resultCode: 'string',
|
|
8590
|
+
resultMsg: 'string',
|
|
8591
|
+
refundRequestNo: 'string',
|
|
8592
|
+
status: 'string',
|
|
8593
|
+
refundOrderNo: 'string',
|
|
8594
|
+
tradeNo: 'string',
|
|
8595
|
+
};
|
|
8596
|
+
}
|
|
8597
|
+
|
|
8598
|
+
constructor(map?: { [key: string]: any }) {
|
|
8599
|
+
super(map);
|
|
8600
|
+
}
|
|
8601
|
+
}
|
|
8602
|
+
|
|
8048
8603
|
export class QueryInnerFundassetpackagerepaymentRequest extends $tea.Model {
|
|
8049
8604
|
// OAuth模式下的授权token
|
|
8050
8605
|
authToken?: string;
|
|
@@ -28431,12 +28986,16 @@ export class AuthSignFlowResponse extends $tea.Model {
|
|
|
28431
28986
|
resultMsg?: string;
|
|
28432
28987
|
// 签署最后落签的签署区域id列表
|
|
28433
28988
|
signFieldIds?: string;
|
|
28989
|
+
// 手动签署链接,区块链合同签署方式,企业未进行静默授权,会返回一个手动签署链接
|
|
28990
|
+
// 如果已授权或者不是区块链签署方式,该字段为空
|
|
28991
|
+
orgSignUrl?: string;
|
|
28434
28992
|
static names(): { [key: string]: string } {
|
|
28435
28993
|
return {
|
|
28436
28994
|
reqMsgId: 'req_msg_id',
|
|
28437
28995
|
resultCode: 'result_code',
|
|
28438
28996
|
resultMsg: 'result_msg',
|
|
28439
28997
|
signFieldIds: 'sign_field_ids',
|
|
28998
|
+
orgSignUrl: 'org_sign_url',
|
|
28440
28999
|
};
|
|
28441
29000
|
}
|
|
28442
29001
|
|
|
@@ -28446,6 +29005,7 @@ export class AuthSignFlowResponse extends $tea.Model {
|
|
|
28446
29005
|
resultCode: 'string',
|
|
28447
29006
|
resultMsg: 'string',
|
|
28448
29007
|
signFieldIds: 'string',
|
|
29008
|
+
orgSignUrl: 'string',
|
|
28449
29009
|
};
|
|
28450
29010
|
}
|
|
28451
29011
|
|
|
@@ -32773,7 +33333,7 @@ export default class Client {
|
|
|
32773
33333
|
req_msg_id: AntchainUtil.getNonce(),
|
|
32774
33334
|
access_key: this._accessKeyId,
|
|
32775
33335
|
base_sdk_version: "TeaSDK-2.0",
|
|
32776
|
-
sdk_version: "1.19.
|
|
33336
|
+
sdk_version: "1.19.82",
|
|
32777
33337
|
_prod_code: "ATO",
|
|
32778
33338
|
_prod_channel: "undefined",
|
|
32779
33339
|
};
|
|
@@ -32905,6 +33465,165 @@ export default class Client {
|
|
|
32905
33465
|
return $tea.cast<QueryTradeSettletocardResponse>(await this.doRequest("1.0", "antchain.ato.trade.settletocard.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryTradeSettletocardResponse({}));
|
|
32906
33466
|
}
|
|
32907
33467
|
|
|
33468
|
+
/**
|
|
33469
|
+
* @remarks
|
|
33470
|
+
* Description: 一次性支付订单创建
|
|
33471
|
+
* 接口信息
|
|
33472
|
+
* Summary: 一次性支付订单创建
|
|
33473
|
+
* 接口信息
|
|
33474
|
+
*/
|
|
33475
|
+
async syncOnetimeOrder(request: SyncOnetimeOrderRequest): Promise<SyncOnetimeOrderResponse> {
|
|
33476
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
33477
|
+
let headers : {[key: string ]: string} = { };
|
|
33478
|
+
return await this.syncOnetimeOrderEx(request, headers, runtime);
|
|
33479
|
+
}
|
|
33480
|
+
|
|
33481
|
+
/**
|
|
33482
|
+
* @remarks
|
|
33483
|
+
* Description: 一次性支付订单创建
|
|
33484
|
+
* 接口信息
|
|
33485
|
+
* Summary: 一次性支付订单创建
|
|
33486
|
+
* 接口信息
|
|
33487
|
+
*/
|
|
33488
|
+
async syncOnetimeOrderEx(request: SyncOnetimeOrderRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<SyncOnetimeOrderResponse> {
|
|
33489
|
+
Util.validateModel(request);
|
|
33490
|
+
return $tea.cast<SyncOnetimeOrderResponse>(await this.doRequest("1.0", "antchain.ato.onetime.order.sync", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new SyncOnetimeOrderResponse({}));
|
|
33491
|
+
}
|
|
33492
|
+
|
|
33493
|
+
/**
|
|
33494
|
+
* @remarks
|
|
33495
|
+
* Description: 一次性支付订单信息查询
|
|
33496
|
+
* Summary: 一次性支付订单信息查询
|
|
33497
|
+
*/
|
|
33498
|
+
async queryOnetimeOrder(request: QueryOnetimeOrderRequest): Promise<QueryOnetimeOrderResponse> {
|
|
33499
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
33500
|
+
let headers : {[key: string ]: string} = { };
|
|
33501
|
+
return await this.queryOnetimeOrderEx(request, headers, runtime);
|
|
33502
|
+
}
|
|
33503
|
+
|
|
33504
|
+
/**
|
|
33505
|
+
* @remarks
|
|
33506
|
+
* Description: 一次性支付订单信息查询
|
|
33507
|
+
* Summary: 一次性支付订单信息查询
|
|
33508
|
+
*/
|
|
33509
|
+
async queryOnetimeOrderEx(request: QueryOnetimeOrderRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryOnetimeOrderResponse> {
|
|
33510
|
+
Util.validateModel(request);
|
|
33511
|
+
return $tea.cast<QueryOnetimeOrderResponse>(await this.doRequest("1.0", "antchain.ato.onetime.order.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryOnetimeOrderResponse({}));
|
|
33512
|
+
}
|
|
33513
|
+
|
|
33514
|
+
/**
|
|
33515
|
+
* @remarks
|
|
33516
|
+
* Description: 一次性支付订单资金流水信息查询
|
|
33517
|
+
* Summary: 一次性支付订单资金流水信息查询
|
|
33518
|
+
*/
|
|
33519
|
+
async queryOnetimePerformance(request: QueryOnetimePerformanceRequest): Promise<QueryOnetimePerformanceResponse> {
|
|
33520
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
33521
|
+
let headers : {[key: string ]: string} = { };
|
|
33522
|
+
return await this.queryOnetimePerformanceEx(request, headers, runtime);
|
|
33523
|
+
}
|
|
33524
|
+
|
|
33525
|
+
/**
|
|
33526
|
+
* @remarks
|
|
33527
|
+
* Description: 一次性支付订单资金流水信息查询
|
|
33528
|
+
* Summary: 一次性支付订单资金流水信息查询
|
|
33529
|
+
*/
|
|
33530
|
+
async queryOnetimePerformanceEx(request: QueryOnetimePerformanceRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryOnetimePerformanceResponse> {
|
|
33531
|
+
Util.validateModel(request);
|
|
33532
|
+
return $tea.cast<QueryOnetimePerformanceResponse>(await this.doRequest("1.0", "antchain.ato.onetime.performance.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryOnetimePerformanceResponse({}));
|
|
33533
|
+
}
|
|
33534
|
+
|
|
33535
|
+
/**
|
|
33536
|
+
* @remarks
|
|
33537
|
+
* Description: 一次性支付退款查询
|
|
33538
|
+
* 接口信息
|
|
33539
|
+
* Summary: 一次性支付退款查询
|
|
33540
|
+
* 接口信息
|
|
33541
|
+
*/
|
|
33542
|
+
async queryOnetimeRefund(request: QueryOnetimeRefundRequest): Promise<QueryOnetimeRefundResponse> {
|
|
33543
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
33544
|
+
let headers : {[key: string ]: string} = { };
|
|
33545
|
+
return await this.queryOnetimeRefundEx(request, headers, runtime);
|
|
33546
|
+
}
|
|
33547
|
+
|
|
33548
|
+
/**
|
|
33549
|
+
* @remarks
|
|
33550
|
+
* Description: 一次性支付退款查询
|
|
33551
|
+
* 接口信息
|
|
33552
|
+
* Summary: 一次性支付退款查询
|
|
33553
|
+
* 接口信息
|
|
33554
|
+
*/
|
|
33555
|
+
async queryOnetimeRefundEx(request: QueryOnetimeRefundRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryOnetimeRefundResponse> {
|
|
33556
|
+
Util.validateModel(request);
|
|
33557
|
+
return $tea.cast<QueryOnetimeRefundResponse>(await this.doRequest("1.0", "antchain.ato.onetime.refund.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryOnetimeRefundResponse({}));
|
|
33558
|
+
}
|
|
33559
|
+
|
|
33560
|
+
/**
|
|
33561
|
+
* @remarks
|
|
33562
|
+
* Description: 一次性支付创建
|
|
33563
|
+
* Summary: 一次性支付创建
|
|
33564
|
+
*/
|
|
33565
|
+
async initOnetimeActivepay(request: InitOnetimeActivepayRequest): Promise<InitOnetimeActivepayResponse> {
|
|
33566
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
33567
|
+
let headers : {[key: string ]: string} = { };
|
|
33568
|
+
return await this.initOnetimeActivepayEx(request, headers, runtime);
|
|
33569
|
+
}
|
|
33570
|
+
|
|
33571
|
+
/**
|
|
33572
|
+
* @remarks
|
|
33573
|
+
* Description: 一次性支付创建
|
|
33574
|
+
* Summary: 一次性支付创建
|
|
33575
|
+
*/
|
|
33576
|
+
async initOnetimeActivepayEx(request: InitOnetimeActivepayRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<InitOnetimeActivepayResponse> {
|
|
33577
|
+
Util.validateModel(request);
|
|
33578
|
+
return $tea.cast<InitOnetimeActivepayResponse>(await this.doRequest("1.0", "antchain.ato.onetime.activepay.init", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new InitOnetimeActivepayResponse({}));
|
|
33579
|
+
}
|
|
33580
|
+
|
|
33581
|
+
/**
|
|
33582
|
+
* @remarks
|
|
33583
|
+
* Description: 一次性支付查询
|
|
33584
|
+
* Summary: 一次性支付查询
|
|
33585
|
+
*/
|
|
33586
|
+
async queryOnetimeActivepay(request: QueryOnetimeActivepayRequest): Promise<QueryOnetimeActivepayResponse> {
|
|
33587
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
33588
|
+
let headers : {[key: string ]: string} = { };
|
|
33589
|
+
return await this.queryOnetimeActivepayEx(request, headers, runtime);
|
|
33590
|
+
}
|
|
33591
|
+
|
|
33592
|
+
/**
|
|
33593
|
+
* @remarks
|
|
33594
|
+
* Description: 一次性支付查询
|
|
33595
|
+
* Summary: 一次性支付查询
|
|
33596
|
+
*/
|
|
33597
|
+
async queryOnetimeActivepayEx(request: QueryOnetimeActivepayRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<QueryOnetimeActivepayResponse> {
|
|
33598
|
+
Util.validateModel(request);
|
|
33599
|
+
return $tea.cast<QueryOnetimeActivepayResponse>(await this.doRequest("1.0", "antchain.ato.onetime.activepay.query", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new QueryOnetimeActivepayResponse({}));
|
|
33600
|
+
}
|
|
33601
|
+
|
|
33602
|
+
/**
|
|
33603
|
+
* @remarks
|
|
33604
|
+
* Description: 一次性支付退款创建
|
|
33605
|
+
* 接口信息
|
|
33606
|
+
* Summary: 一次性支付退款创建
|
|
33607
|
+
* 接口信息
|
|
33608
|
+
*/
|
|
33609
|
+
async createOnetimeRefund(request: CreateOnetimeRefundRequest): Promise<CreateOnetimeRefundResponse> {
|
|
33610
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
33611
|
+
let headers : {[key: string ]: string} = { };
|
|
33612
|
+
return await this.createOnetimeRefundEx(request, headers, runtime);
|
|
33613
|
+
}
|
|
33614
|
+
|
|
33615
|
+
/**
|
|
33616
|
+
* @remarks
|
|
33617
|
+
* Description: 一次性支付退款创建
|
|
33618
|
+
* 接口信息
|
|
33619
|
+
* Summary: 一次性支付退款创建
|
|
33620
|
+
* 接口信息
|
|
33621
|
+
*/
|
|
33622
|
+
async createOnetimeRefundEx(request: CreateOnetimeRefundRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<CreateOnetimeRefundResponse> {
|
|
33623
|
+
Util.validateModel(request);
|
|
33624
|
+
return $tea.cast<CreateOnetimeRefundResponse>(await this.doRequest("1.0", "antchain.ato.onetime.refund.create", "HTTPS", "POST", `/gateway.do`, $tea.toMap(request), headers, runtime), new CreateOnetimeRefundResponse({}));
|
|
33625
|
+
}
|
|
33626
|
+
|
|
32908
33627
|
/**
|
|
32909
33628
|
* @remarks
|
|
32910
33629
|
* Description: 资产包还款列表查询
|
|
@@ -38257,7 +38976,7 @@ export default class Client {
|
|
|
38257
38976
|
/**
|
|
38258
38977
|
* @remarks
|
|
38259
38978
|
* Description: 电子合同签署模块,机构调用这个接口进行签署的授权落签
|
|
38260
|
-
* Summary:
|
|
38979
|
+
* Summary: 电子合同签署模块,机构调用这个接口进行签署的授权落签
|
|
38261
38980
|
*/
|
|
38262
38981
|
async authSignFlow(request: AuthSignFlowRequest): Promise<AuthSignFlowResponse> {
|
|
38263
38982
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -38268,7 +38987,7 @@ export default class Client {
|
|
|
38268
38987
|
/**
|
|
38269
38988
|
* @remarks
|
|
38270
38989
|
* Description: 电子合同签署模块,机构调用这个接口进行签署的授权落签
|
|
38271
|
-
* Summary:
|
|
38990
|
+
* Summary: 电子合同签署模块,机构调用这个接口进行签署的授权落签
|
|
38272
38991
|
*/
|
|
38273
38992
|
async authSignFlowEx(request: AuthSignFlowRequest, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<AuthSignFlowResponse> {
|
|
38274
38993
|
Util.validateModel(request);
|