@nomalism-com/types 0.17.12 → 0.17.14

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.
@@ -13,7 +13,7 @@ export declare const Route = "documentLineNote";
13
13
  export declare const UpperName = "DocumentLineNote";
14
14
  export declare const LowerName: string;
15
15
  export interface ICreateRequest {
16
- document_line_id?: string;
16
+ document_line_id: string;
17
17
  type: IDocumentLineNoteType;
18
18
  note: string;
19
19
  }
@@ -9,7 +9,7 @@ var joi_1 = __importDefault(require("joi"));
9
9
  var messages_1 = require("../../../shared/messages");
10
10
  var interfaces_1 = require("./interfaces");
11
11
  exports.createBodyKeys = {
12
- document_line_id: joi_1.default.string().uuid().optional(),
12
+ document_line_id: joi_1.default.string().uuid().required(),
13
13
  note: joi_1.default.string().required(),
14
14
  type: (_a = joi_1.default
15
15
  .string())
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.17.12",
12
+ "version": "0.17.14",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [