@be-link/ecs-cli-nodejs 0.0.59 → 0.0.61

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.
@@ -3,6 +3,7 @@ import { Service } from './types';
3
3
  declare class InventoryService extends BaseService implements Service.InventoryJobController {
4
4
  protected prefixUrl: string;
5
5
  jobDeductStockProduct(): Promise<void>;
6
+ jobDeductStockCoupon(): Promise<void>;
6
7
  }
7
8
  declare const inventoryService: InventoryService;
8
9
  export default inventoryService;
@@ -13,6 +13,9 @@ class InventoryService extends service_1.default {
13
13
  jobDeductStockProduct() {
14
14
  return (0, http_1.callApi)(this.getApiUrl(this.jobDeductStockProduct));
15
15
  }
16
+ jobDeductStockCoupon() {
17
+ return (0, http_1.callApi)(this.getApiUrl(this.jobDeductStockCoupon));
18
+ }
16
19
  }
17
20
  const inventoryService = new InventoryService();
18
21
  exports.default = inventoryService;
@@ -3,5 +3,6 @@ export declare namespace Service {
3
3
  namespace Response { }
4
4
  interface InventoryJobController {
5
5
  jobDeductStockProduct(): Promise<void>;
6
+ jobDeductStockCoupon(): Promise<void>;
6
7
  }
7
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecs-cli-nodejs",
3
- "version": "0.0.59",
3
+ "version": "0.0.61",
4
4
  "description": "ECS服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "repository": {