@be-link/ecs-cli-nodejs 0.0.42 → 0.0.44
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.
|
@@ -8,7 +8,7 @@ const http_1 = require("../../http");
|
|
|
8
8
|
class PurchaseOrderService extends service_1.default {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments);
|
|
11
|
-
this.prefixUrl = '/pandora/purchase-order';
|
|
11
|
+
this.prefixUrl = '/pandora/purchase-order-job';
|
|
12
12
|
}
|
|
13
13
|
jobSyncPurchaseOrderByStore() {
|
|
14
14
|
return (0, http_1.callApi)(this.getApiUrl(this.jobSyncPurchaseOrderByStore));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import BaseService from '../service';
|
|
2
|
+
import { Service } from './types';
|
|
3
|
+
declare class StockInOrderService extends BaseService implements Service.StockInOrderJobController {
|
|
4
|
+
protected prefixUrl: string;
|
|
5
|
+
jobProcessStockInOrderFirstUpdateDelayed(): Promise<void>;
|
|
6
|
+
}
|
|
7
|
+
declare const stockInOrderService: StockInOrderService;
|
|
8
|
+
export default stockInOrderService;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const service_1 = __importDefault(require("../service"));
|
|
7
|
+
const http_1 = require("../../http");
|
|
8
|
+
class StockInOrderService extends service_1.default {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.prefixUrl = '/pandora/stock-in-order-job';
|
|
12
|
+
}
|
|
13
|
+
jobProcessStockInOrderFirstUpdateDelayed() {
|
|
14
|
+
return (0, http_1.callApi)(this.getApiUrl(this.jobProcessStockInOrderFirstUpdateDelayed));
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
const stockInOrderService = new StockInOrderService();
|
|
18
|
+
exports.default = stockInOrderService;
|