@be-link/pos-cli-nodejs 1.0.46 → 1.0.48
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
|
@@ -26,6 +26,10 @@ declare class OrderCoreService extends BaseService implements Service.OrderCoreC
|
|
|
26
26
|
orderPayFailed(request: {
|
|
27
27
|
orderId: string;
|
|
28
28
|
}): Promise<void>;
|
|
29
|
+
compensateOrderPended(request: {
|
|
30
|
+
orderId: string;
|
|
31
|
+
isPaidCheck: boolean;
|
|
32
|
+
}): Promise<void>;
|
|
29
33
|
}
|
|
30
34
|
declare const orderCoreService: OrderCoreService;
|
|
31
35
|
export default orderCoreService;
|
|
@@ -73,6 +73,9 @@ class OrderCoreService extends service_1.default {
|
|
|
73
73
|
orderPayFailed(request) {
|
|
74
74
|
return (0, http_1.callApi)(this.getApiUrl(this.orderPayFailed), request);
|
|
75
75
|
}
|
|
76
|
+
compensateOrderPended(request) {
|
|
77
|
+
return (0, http_1.callApi)(this.getApiUrl(this.compensateOrderPended), request);
|
|
78
|
+
}
|
|
76
79
|
}
|
|
77
80
|
const orderCoreService = new OrderCoreService();
|
|
78
81
|
exports.default = orderCoreService;
|
|
@@ -385,5 +385,12 @@ export declare namespace Service {
|
|
|
385
385
|
orderPayFailed(request: {
|
|
386
386
|
orderId: string;
|
|
387
387
|
}): Promise<void>;
|
|
388
|
+
/**
|
|
389
|
+
* 订单支付成功补偿接口
|
|
390
|
+
*/
|
|
391
|
+
compensateOrderPended(request: {
|
|
392
|
+
orderId: string;
|
|
393
|
+
isPaidCheck: boolean;
|
|
394
|
+
}): Promise<void>;
|
|
388
395
|
}
|
|
389
396
|
}
|
package/types.d.ts
CHANGED
|
@@ -940,6 +940,15 @@ export interface ITradeTourismInfo {
|
|
|
940
940
|
isVoiceSucceed: boolean;
|
|
941
941
|
/** 是否短信通知成功 */
|
|
942
942
|
isSmsSucceed: boolean;
|
|
943
|
+
/** 证件类型 */
|
|
944
|
+
cardType: string;
|
|
945
|
+
/** 护照信息 */
|
|
946
|
+
passportInfo: {
|
|
947
|
+
region: string;
|
|
948
|
+
birthday: string;
|
|
949
|
+
validityDate: string;
|
|
950
|
+
imageUrl: string;
|
|
951
|
+
};
|
|
943
952
|
}[];
|
|
944
953
|
/** 集合信息(废弃,兼容旧数据) */
|
|
945
954
|
itineraryInfo: {
|