@be-link/pos-cli-nodejs 1.0.41 → 1.0.42

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": "@be-link/pos-cli-nodejs",
3
- "version": "1.0.41",
3
+ "version": "1.0.42",
4
4
  "description": "正向订单服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -23,6 +23,9 @@ declare class OrderCoreService extends BaseService implements Service.OrderCoreC
23
23
  batchRejectOrders(request: Service.Request.IBatchRejectOrders): Promise<void>;
24
24
  batchRollbackOrdersToPending(request: Service.Request.IBatchRollbackOrdersToPending): Promise<void>;
25
25
  updateOrderAttribute(request: Service.Request.IUpdateOrderAttribute): Promise<void>;
26
+ orderPayFailed(request: {
27
+ orderId: string;
28
+ }): Promise<void>;
26
29
  }
27
30
  declare const orderCoreService: OrderCoreService;
28
31
  export default orderCoreService;
@@ -70,6 +70,9 @@ class OrderCoreService extends service_1.default {
70
70
  updateOrderAttribute(request) {
71
71
  return (0, http_1.callApi)(this.getApiUrl(this.updateOrderAttribute), request);
72
72
  }
73
+ orderPayFailed(request) {
74
+ return (0, http_1.callApi)(this.getApiUrl(this.orderPayFailed), request);
75
+ }
73
76
  }
74
77
  const orderCoreService = new OrderCoreService();
75
78
  exports.default = orderCoreService;
@@ -379,5 +379,11 @@ export declare namespace Service {
379
379
  * 订单标记属性编辑接口
380
380
  */
381
381
  updateOrderAttribute(request: Request.IUpdateOrderAttribute): Promise<void>;
382
+ /**
383
+ * 订单支付失败
384
+ */
385
+ orderPayFailed(request: {
386
+ orderId: string;
387
+ }): Promise<void>;
382
388
  }
383
389
  }