@nomalism-com/types 1.3.31 → 1.3.33

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
@@ -1550,7 +1550,8 @@ var createFromHeaderBodyKeys = {
1550
1550
  document_set_id: joi10.string().uuid().optional(),
1551
1551
  external_document_name: joi10.string().optional(),
1552
1552
  atcud: joi10.string().optional(),
1553
- account_code: joi10.string().allow(null, "").empty("").optional()
1553
+ account_code: joi10.string().allow(null, "").empty("").optional(),
1554
+ copy_from_document: joi10.string().allow(null, "").empty("").optional()
1554
1555
  };
1555
1556
  var createFromHeaderBody = joi10.object().keys(createFromHeaderBodyKeys).messages(messages);
1556
1557
  var findQueryKeys6 = {
@@ -131,6 +131,7 @@ export interface ICreateFromHeaderRequest {
131
131
  global_discount?: number;
132
132
  current_account?: boolean;
133
133
  store_operator_id?: string | null;
134
+ copy_from_document?: string | null;
134
135
  }
135
136
  export interface IUpdateRequest {
136
137
  google_sheet_id?: string | null;
@@ -272,6 +272,7 @@ export type DocumentHeader = {
272
272
  emission_date: Date;
273
273
  source_billing: string;
274
274
  hash_control: string | null;
275
+ copy_from_document: string | null;
275
276
  chat_document_header_id: string;
276
277
  owner_id: string;
277
278
  owner_number: 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": "1.3.31",
4
+ "version": "1.3.33",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -26,11 +26,11 @@
26
26
  "joi": "^18.0.2"
27
27
  },
28
28
  "devDependencies": {
29
- "@swc/core": "^1.15.11",
29
+ "@swc/core": "^1.15.13",
30
30
  "@types/node": "^24.10.13",
31
- "@typescript-eslint/eslint-plugin": "^8.56.0",
32
- "@typescript-eslint/parser": "^8.56.0",
33
- "eslint": "^9.39.2",
31
+ "@typescript-eslint/eslint-plugin": "^8.56.1",
32
+ "@typescript-eslint/parser": "^8.56.1",
33
+ "eslint": "^9.39.3",
34
34
  "eslint-config-prettier": "^10.1.8",
35
35
  "eslint-import-resolver-typescript": "^4.4.4",
36
36
  "eslint-plugin-prettier": "^5.5.5",