@nomalism-com/api 0.8.334 → 0.8.335
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.
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { shared, SchedulePrintJob as Entity } from '@nomalism-com/types';
|
|
2
2
|
export import IEntity = Entity.Entity;
|
|
3
3
|
export import ICreateSchedulePrintJobRequest = Entity.ICreateSchedulePrintJobRequest;
|
|
4
|
+
export import IDispatchSchedulePrintJobRequest = Entity.IDispatchSchedulePrintJobRequest;
|
|
5
|
+
export import IDispatchSchedulePrintJobResponse = Entity.IDispatchSchedulePrintJobResponse;
|
|
4
6
|
export import IFindScheduleRequest = Entity.IFindScheduleRequest;
|
|
5
7
|
export import IFindScheduleResponse = Entity.IFindScheduleResponse;
|
|
6
8
|
export declare const route: string;
|
|
@@ -65,6 +65,17 @@ var repository = {
|
|
|
65
65
|
}
|
|
66
66
|
});
|
|
67
67
|
}); },
|
|
68
|
+
dispatchSchedulePrintJob: function (body) { return __awaiter(void 0, void 0, void 0, function () {
|
|
69
|
+
var response;
|
|
70
|
+
return __generator(this, function (_a) {
|
|
71
|
+
switch (_a.label) {
|
|
72
|
+
case 0: return [4, client_1.default.post("".concat(exports.route, "dispatch_schedule_print_job"), body)];
|
|
73
|
+
case 1:
|
|
74
|
+
response = _a.sent();
|
|
75
|
+
return [2, response.data];
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
}); },
|
|
68
79
|
findSchedule: function (params) { return __awaiter(void 0, void 0, void 0, function () {
|
|
69
80
|
var response;
|
|
70
81
|
return __generator(this, function (_a) {
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"typescript",
|
|
10
10
|
"helper"
|
|
11
11
|
],
|
|
12
|
-
"version": "0.8.
|
|
12
|
+
"version": "0.8.335",
|
|
13
13
|
"main": "dist/index.js",
|
|
14
14
|
"types": "./dist/index.d.ts",
|
|
15
15
|
"files": [
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"typescript": "^5.1.3"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@nomalism-com/types": "^0.9.
|
|
50
|
+
"@nomalism-com/types": "^0.9.441",
|
|
51
51
|
"axios": "^0.27.2"
|
|
52
52
|
}
|
|
53
53
|
}
|