@nomalism-com/types 0.9.523 → 0.9.525

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.
@@ -146,7 +146,7 @@ export interface ICreateRequest extends Omit<IDocumentLineAssoc.ICreateRequest,
146
146
  provider_tax: number;
147
147
  provider_discount: number;
148
148
  document_line_folder_id: string | null;
149
- document_line_group_id?: string;
149
+ document_line_group_id?: string | null;
150
150
  data: IData;
151
151
  metadata: IMetadata;
152
152
  }
@@ -160,7 +160,7 @@ export interface IUpdateRequest {
160
160
  provider_tax?: number;
161
161
  provider_discount?: number;
162
162
  document_line_folder_id?: string | null;
163
- document_line_group_id?: string;
163
+ document_line_group_id?: string | null;
164
164
  sent_to_client?: boolean;
165
165
  sent_to_provider?: boolean;
166
166
  }
@@ -30,7 +30,7 @@ var createBodyKeys = {
30
30
  .default(0)
31
31
  .max(99)
32
32
  .required(),
33
- document_line_group_id: joi_1.default.string().optional(),
33
+ document_line_group_id: joi_1.default.string().allow(null).optional(),
34
34
  data: joi_1.default
35
35
  .object()
36
36
  .pattern(joi_1.default.string(), joi_1.default.object().keys({
@@ -53,7 +53,7 @@ var updateBodyKeys = {
53
53
  preco_custo: joi_1.default.number().positive().allow(0).optional(),
54
54
  provider_tax: joi_1.default.number().positive().allow(0).optional(),
55
55
  provider_discount: joi_1.default.number().positive().allow(0).max(99).optional(),
56
- document_line_group_id: joi_1.default.string().optional(),
56
+ document_line_group_id: joi_1.default.string().allow(null).optional(),
57
57
  sent_to_client: joi_1.default.boolean().optional(),
58
58
  sent_to_provider: joi_1.default.boolean().optional(),
59
59
  };
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.9.523",
12
+ "version": "0.9.525",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [