@nomalism-com/types 0.10.22 → 0.10.24

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.
@@ -311,6 +311,7 @@ export interface IDocumentPdfRequest {
311
311
  hideTaxes?: boolean;
312
312
  hidePrices?: boolean;
313
313
  hidePayments?: boolean;
314
+ hideDiscounts?: boolean;
314
315
  }
315
316
  export interface IRepository {
316
317
  findMinified(params?: IShared.IFindMinifiedRequest): Promise<IShared.IFindMinifiedResponse[]>;
@@ -403,6 +403,7 @@ var documentPdfQueryKeys = {
403
403
  hideTaxes: joi_1.default.boolean().optional(),
404
404
  hidePrices: joi_1.default.boolean().optional(),
405
405
  hidePayments: joi_1.default.boolean().optional(),
406
+ hideDiscounts: joi_1.default.boolean().optional(),
406
407
  };
407
408
  exports.documentPdfQuery = joi_1.default
408
409
  .object()
@@ -1008,7 +1008,7 @@ export type DocumentHeaderVirtuals = {
1008
1008
  export type StockMovement = {
1009
1009
  document_line_id: string;
1010
1010
  product_id: string;
1011
- emission_date: Date;
1011
+ emission_date: string;
1012
1012
  name: string;
1013
1013
  pdf_link: string | null;
1014
1014
  link_user_type: IDocumentTypeUserType | null;
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.10.22",
12
+ "version": "0.10.24",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [
@@ -49,7 +49,7 @@
49
49
  "eslint-plugin-import": "^2.28.1",
50
50
  "eslint-plugin-prettier": "^5.0.1",
51
51
  "prettier": "^3.0.3",
52
- "tsx": "^3.13.0",
52
+ "tsx": "^3.14.0",
53
53
  "typescript": "^5.2.2"
54
54
  }
55
55
  }