@nomalism-com/types 0.16.55 → 0.16.56

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.
@@ -18,7 +18,7 @@ export interface IInventoryLossResponse {
18
18
  export interface ICreateManyProducts {
19
19
  id: string;
20
20
  quantity: number;
21
- note?: string;
21
+ note?: IShared.IDocumentLineNote;
22
22
  }
23
23
  export interface ICreateManyRequest {
24
24
  products: ICreateManyProducts[];
@@ -73,6 +73,11 @@ export interface IFindOptionalByOwnerIdRequest {
73
73
  export interface IUpdateManyResponse {
74
74
  count: number;
75
75
  }
76
+ export type IDocumentLineNoteType = 'Entrada' | 'Quebra' | 'Prisao';
77
+ export interface IDocumentLineNote {
78
+ note_type: IDocumentLineNoteType;
79
+ note: string;
80
+ }
76
81
  export type IRouteRequest<T> = Record<keyof WithoutStamps<T>, joi.AnySchema>;
77
82
  export type IRouteRequestWithStamps<T> = Record<keyof T, joi.AnySchema>;
78
83
  export type IRouteResponseWithStamp<T> = Record<keyof WithStampsResponse<T>, joi.AnySchema>;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.16.55",
12
+ "version": "0.16.56",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [