@nomalism-com/types 0.39.13 → 0.39.15

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
@@ -5045,6 +5045,7 @@ var createInventoryRequestKeys = {
5045
5045
  product_id: joi92.string().uuid().required(),
5046
5046
  registered_quantity: joi92.number().allow(0).optional(),
5047
5047
  inventory_quantity: joi92.number().positive().allow(0).required(),
5048
+ note: joi92.string().optional(),
5048
5049
  created_by: joi92.string().uuid().optional(),
5049
5050
  updated_by: joi92.string().uuid().optional()
5050
5051
  };
@@ -5757,8 +5758,8 @@ __export(interface_exports60, {
5757
5758
  Route: () => Route104,
5758
5759
  UpperName: () => UpperName103
5759
5760
  });
5760
- var Route104 = "gmails";
5761
- var UpperName103 = "Gmails";
5761
+ var Route104 = "gmail";
5762
+ var UpperName103 = "Gmail";
5762
5763
  var LowerName103 = UpperName103[0].toLowerCase() + UpperName103.substring(1);
5763
5764
 
5764
5765
  // src/modules/stock/gmails/route.schema.ts
package/dist/index.js CHANGED
@@ -5045,6 +5045,7 @@ var createInventoryRequestKeys = {
5045
5045
  product_id: joi92.string().uuid().required(),
5046
5046
  registered_quantity: joi92.number().allow(0).optional(),
5047
5047
  inventory_quantity: joi92.number().positive().allow(0).required(),
5048
+ note: joi92.string().optional(),
5048
5049
  created_by: joi92.string().uuid().optional(),
5049
5050
  updated_by: joi92.string().uuid().optional()
5050
5051
  };
@@ -5757,8 +5758,8 @@ __export(interface_exports60, {
5757
5758
  Route: () => Route104,
5758
5759
  UpperName: () => UpperName103
5759
5760
  });
5760
- var Route104 = "gmails";
5761
- var UpperName103 = "Gmails";
5761
+ var Route104 = "gmail";
5762
+ var UpperName103 = "Gmail";
5762
5763
  var LowerName103 = UpperName103[0].toLowerCase() + UpperName103.substring(1);
5763
5764
 
5764
5765
  // src/modules/stock/gmails/route.schema.ts
@@ -6,6 +6,7 @@ export interface ICreateInventoryRequest {
6
6
  product_id: string;
7
7
  registered_quantity: number;
8
8
  inventory_quantity: number;
9
+ note?: string;
9
10
  created_by?: string;
10
11
  updated_by?: string;
11
12
  }
@@ -1,8 +1,8 @@
1
1
  import * as IShared from '../../../shared/interface';
2
2
  import { Gmails } from '../../../shared/entities/stock';
3
3
  export type Entity = Gmails;
4
- export declare const Route = "gmails";
5
- export declare const UpperName = "Gmails";
4
+ export declare const Route = "gmail";
5
+ export declare const UpperName = "Gmail";
6
6
  export declare const LowerName: string;
7
7
  export interface IGmailEmailWithAction {
8
8
  id: string;
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.39.13",
4
+ "version": "0.39.15",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",