@nomalism-com/types 0.43.99 → 0.43.101

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.
package/dist/index.cjs CHANGED
@@ -4851,6 +4851,7 @@ var entradaDeMaterialStockBodyKeys = {
4851
4851
  ordered_quantity: joi85.number().positive().allow(0).required(),
4852
4852
  document_line_id: joi85.string().uuid().allow(null).required(),
4853
4853
  quantity: joi85.number().positive().allow(0).required(),
4854
+ usableQuantity: joi85.number().positive().allow(0).optional(),
4854
4855
  option: joi85.string().valid(...createMaterialEntranceStockOptions, ...createMaterialEntranceStockWithoutOrderOptions).allow(null).required(),
4855
4856
  note: joi85.string().allow(null),
4856
4857
  printed: joi85.string().allow(null)
package/dist/index.js CHANGED
@@ -4851,6 +4851,7 @@ var entradaDeMaterialStockBodyKeys = {
4851
4851
  ordered_quantity: joi85.number().positive().allow(0).required(),
4852
4852
  document_line_id: joi85.string().uuid().allow(null).required(),
4853
4853
  quantity: joi85.number().positive().allow(0).required(),
4854
+ usableQuantity: joi85.number().positive().allow(0).optional(),
4854
4855
  option: joi85.string().valid(...createMaterialEntranceStockOptions, ...createMaterialEntranceStockWithoutOrderOptions).allow(null).required(),
4855
4856
  note: joi85.string().allow(null),
4856
4857
  printed: joi85.string().allow(null)
@@ -52,6 +52,7 @@ export interface IGetMaterialEntranceInfoStock {
52
52
  export interface IEntradaDeMaterialStock extends IGetMaterialEntranceInfoStock {
53
53
  document_line_id: string | null;
54
54
  quantity: number;
55
+ usableQuantity?: number;
55
56
  option: ICreateMaterialEntranceStockOption | ICreateMaterialEntranceStockWithoutOrderOption | null;
56
57
  note: string | null;
57
58
  printed: string | null;
@@ -4,7 +4,8 @@ export declare const LowerName: string;
4
4
  export type IDashboardSalesNames = 'dia' | 'mes' | 'ano';
5
5
  export interface IDashboardSalesRowValue {
6
6
  sheets: number;
7
- outros: number;
7
+ stock: number;
8
+ encomenda: number;
8
9
  }
9
10
  export interface IDashboardSalesRow {
10
11
  chave: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nomalism-com/types",
3
3
  "description": "A nomalism package with all necessary types and validations for developing APIs",
4
- "version": "0.43.99",
4
+ "version": "0.43.101",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",