@nomalism-com/types 0.43.28 → 0.43.30

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
@@ -1553,7 +1553,8 @@ var createFromHeaderBodyKeys = {
1553
1553
  global_discount: joi10.number().min(0).max(100).optional(),
1554
1554
  current_account: joi10.boolean().optional(),
1555
1555
  store_operator_id: joi10.string().uuid().allow(null).optional(),
1556
- account_code: joi10.string().allow(null, "").empty("").optional()
1556
+ account_code: joi10.string().allow(null, "").empty("").optional(),
1557
+ owner_ref_document: joi10.string().allow(null, "").empty("").optional()
1557
1558
  };
1558
1559
  var createFromHeaderBody = joi10.object().keys(createFromHeaderBodyKeys).messages(messages);
1559
1560
  var findQueryKeys6 = {
package/dist/index.js CHANGED
@@ -1553,7 +1553,8 @@ var createFromHeaderBodyKeys = {
1553
1553
  global_discount: joi10.number().min(0).max(100).optional(),
1554
1554
  current_account: joi10.boolean().optional(),
1555
1555
  store_operator_id: joi10.string().uuid().allow(null).optional(),
1556
- account_code: joi10.string().allow(null, "").empty("").optional()
1556
+ account_code: joi10.string().allow(null, "").empty("").optional(),
1557
+ owner_ref_document: joi10.string().allow(null, "").empty("").optional()
1557
1558
  };
1558
1559
  var createFromHeaderBody = joi10.object().keys(createFromHeaderBodyKeys).messages(messages);
1559
1560
  var findQueryKeys6 = {
@@ -132,6 +132,7 @@ export interface ICreateFromHeaderRequest {
132
132
  global_discount?: number;
133
133
  current_account?: boolean;
134
134
  store_operator_id?: string | null;
135
+ owner_ref_document?: string | null;
135
136
  }
136
137
  export interface IUpdateRequest {
137
138
  external_id?: string | null;
@@ -280,6 +280,7 @@ export type DocumentHeader = {
280
280
  owner_id: string;
281
281
  owner_number: number;
282
282
  owner_name: string | null;
283
+ owner_ref_document: string | null;
283
284
  account_code: string | null;
284
285
  billing_persona_id: string | null;
285
286
  billing_persona_nif: string | null;
@@ -1071,8 +1072,11 @@ export type ConferirEncomenda = {
1071
1072
  export type DocumentHeaderSurvey = {
1072
1073
  id: string;
1073
1074
  owner_id: string;
1074
- document_header_id: string;
1075
1075
  persona_id: string;
1076
+ persona_name: string;
1077
+ persona_email: string;
1078
+ document_header_id: string;
1079
+ document_number: number;
1076
1080
  sent: Date | null;
1077
1081
  data: unknown | null;
1078
1082
  };
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.28",
4
+ "version": "0.43.30",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -29,8 +29,8 @@
29
29
  "joi": "^18.0.2"
30
30
  },
31
31
  "devDependencies": {
32
- "@swc/core": "^1.15.13",
33
- "@types/node": "^24.10.14",
32
+ "@swc/core": "^1.15.18",
33
+ "@types/node": "^24.12.0",
34
34
  "@typescript-eslint/eslint-plugin": "^8.56.1",
35
35
  "@typescript-eslint/parser": "^8.56.1",
36
36
  "eslint": "^9.39.3",