@nomalism-com/types 0.10.43 → 0.10.45

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.
@@ -72,6 +72,7 @@ export interface ICreateRequest {
72
72
  pay: boolean;
73
73
  allow_create_from_header_without_lines: boolean;
74
74
  allow_commissioner: boolean;
75
+ duplicate_group?: string | null;
75
76
  allow_duplicates: boolean;
76
77
  requires_picking: boolean;
77
78
  allow_document_line_assoc_plugins: boolean;
@@ -94,6 +95,7 @@ export interface IUpdateRequest {
94
95
  pay: boolean;
95
96
  allow_create_from_header_without_lines: boolean;
96
97
  allow_commissioner?: boolean;
98
+ duplicate_group?: string | null;
97
99
  allow_duplicates?: boolean;
98
100
  requires_picking?: boolean;
99
101
  allow_document_line_assoc_plugins: boolean;
@@ -33,6 +33,7 @@ var createBodyKeys = {
33
33
  .default(false)
34
34
  .optional(),
35
35
  allow_commissioner: joi_1.default.boolean().default(false).optional(),
36
+ duplicate_group: joi_1.default.string().allow(null).optional(),
36
37
  allow_duplicates: joi_1.default.boolean().default(false).optional(),
37
38
  requires_picking: joi_1.default.boolean().default(false).optional(),
38
39
  allow_document_line_assoc_plugins: joi_1.default.boolean().default(false).optional(),
@@ -60,6 +61,7 @@ var updateBodyKeys = {
60
61
  pay: joi_1.default.boolean(),
61
62
  allow_create_from_header_without_lines: joi_1.default.boolean(),
62
63
  allow_commissioner: joi_1.default.boolean(),
64
+ duplicate_group: joi_1.default.string().allow(null).optional(),
63
65
  allow_duplicates: joi_1.default.boolean(),
64
66
  requires_picking: joi_1.default.boolean(),
65
67
  allow_document_line_assoc_plugins: joi_1.default.boolean(),
@@ -25,6 +25,7 @@ var updateBodyKeys = {
25
25
  barcode: joi_1.default.string().allow(null).optional(),
26
26
  plot: schemaTypePlot.allow(null),
27
27
  product: schemaTypePlot.allow(null),
28
+ updated_by: joi_1.default.string().uuid().optional(),
28
29
  };
29
30
  exports.updateBody = joi_1.default
30
31
  .object()
@@ -499,6 +499,7 @@ export type DocumentType = {
499
499
  allow_commissioner: boolean;
500
500
  final_consumer: boolean;
501
501
  ensure_same_provider: boolean;
502
+ duplicate_group: string | null;
502
503
  allow_duplicates: boolean;
503
504
  requires_picking: boolean;
504
505
  allow_document_line_assoc_plugins: boolean;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.10.43",
12
+ "version": "0.10.45",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [