@nomalism-com/types 0.10.44 → 0.10.46

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.
@@ -115,7 +115,7 @@ export type IMetadata = {
115
115
  totalPrice: number;
116
116
  };
117
117
  };
118
- export type IDataKeys = 'Quantidade Encomendada Originalmente' | 'Linha criada na EM' | 'Fatura Devolvida' | 'Levantar DF' | 'Enviar Email NCF' | 'Conferir' | 'Conferir Encomenda' | 'Cancelar' | 'Emitir' | 'Backup PDF' | 'Continuar' | 'Encomendar' | 'DF Rejeitada' | 'Devolucao Cliente' | 'Entrada de Material' | 'OriginalProductId' | 'Saldos Migrados' | 'Pagamento' | 'Estado PHC' | 'imported_from_sheets' | 'sheets_line_position' | 'PHC origin_id' | 'PHC ef_stamp';
118
+ export type IDataKeys = 'Quantidade Encomendada Originalmente' | 'Linha criada na EM' | 'Fatura Devolvida' | 'Levantar DF' | 'Enviar Email NCF' | 'Conferir' | 'Conferir Encomenda' | 'Cancelar' | 'Emitir' | 'Backup PDF' | 'Continuar' | 'Encomendar' | 'DF Rejeitada' | 'Devolucao Cliente' | 'Entrada de Material' | 'OriginalProductId' | 'Saldos Migrados' | 'Recibo do documento' | 'Pagamento' | 'Estado PHC' | 'imported_from_sheets' | 'sheets_line_position' | 'PHC origin_id' | 'PHC ef_stamp';
119
119
  export interface IDataPayload {
120
120
  value: unknown;
121
121
  updated_at: Date;
@@ -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(),
@@ -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.44",
12
+ "version": "0.10.46",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [
@@ -39,8 +39,8 @@
39
39
  "devDependencies": {
40
40
  "@types/convert-units": "^2.3.8",
41
41
  "@types/node": "^18.18.6",
42
- "@typescript-eslint/eslint-plugin": "^6.8.0",
43
- "@typescript-eslint/parser": "^6.8.0",
42
+ "@typescript-eslint/eslint-plugin": "^6.9.0",
43
+ "@typescript-eslint/parser": "^6.9.0",
44
44
  "concurrently": "^8.2.2",
45
45
  "eslint": "^8.52.0",
46
46
  "eslint-config-airbnb-base": "^15.0.0",