@nomalism-com/types 0.9.437 → 0.9.438

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,3 +1,3 @@
1
1
  import joi from 'joi';
2
- export declare const dispatchSchedulePrintJobBody: joi.ObjectSchema<any>;
2
+ export declare const findScheduleQuery: joi.ObjectSchema<any>;
3
3
  export declare const createSchedulePrintJobBody: joi.ObjectSchema<any>;
@@ -3,18 +3,17 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.createSchedulePrintJobBody = exports.dispatchSchedulePrintJobBody = void 0;
6
+ exports.createSchedulePrintJobBody = exports.findScheduleQuery = void 0;
7
7
  var joi_1 = __importDefault(require("joi"));
8
8
  var messages_1 = require("../../../shared/messages");
9
- var dispatchSchedulePrintJobBodyKeys = {
9
+ var findScheduleQueryKeys = {
10
10
  last_print_job_id: joi_1.default.string().uuid().optional(),
11
- mac_address: joi_1.default.string(),
12
- printers_a4: joi_1.default.array().items(joi_1.default.string()),
13
- printers_pos: joi_1.default.array().items(joi_1.default.string()),
11
+ npc_id: joi_1.default.string().uuid().required(),
12
+ secret: joi_1.default.string().allow(null).required(),
14
13
  };
15
- exports.dispatchSchedulePrintJobBody = joi_1.default
14
+ exports.findScheduleQuery = joi_1.default
16
15
  .object()
17
- .keys(dispatchSchedulePrintJobBodyKeys)
16
+ .keys(findScheduleQueryKeys)
18
17
  .messages(messages_1.messages);
19
18
  var createSchedulePrintJobBodyKeys = {
20
19
  external_document_id: joi_1.default.string().optional(),
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.9.437",
12
+ "version": "0.9.438",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [