@nomalism-com/types 1.3.2 → 1.3.4

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.js CHANGED
@@ -1437,7 +1437,7 @@ var createBodyKeys9 = {
1437
1437
  sent: joi10.boolean().optional(),
1438
1438
  owner_id: joi10.string().uuid().required(),
1439
1439
  owner_number: joi10.number().required(),
1440
- owner_name: joi10.string().required(),
1440
+ owner_name: joi10.string().allow(null, "").empty("").required(),
1441
1441
  reason_for_exemption_id: joi10.string().uuid().allow(null).optional(),
1442
1442
  reason_for_exemption: joi10.string().allow(null),
1443
1443
  billing_persona_id: joi10.string().uuid().allow(null).optional(),
@@ -21,8 +21,8 @@ export interface ITaxTable {
21
21
  export interface IRsaHashData {
22
22
  invoiceDate: string;
23
23
  systemEntryDate: string;
24
- invoiceNo: number;
25
- grossTotal: number;
24
+ invoiceNo: string;
25
+ grossTotal: string;
26
26
  previousHash: string;
27
27
  }
28
28
  export interface IFindOneBase extends Entity {
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": "1.3.2",
4
+ "version": "1.3.4",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",