@nomalism-com/types 0.49.25 → 0.49.27

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.
@@ -4,11 +4,16 @@ export declare const Route = "display_labels";
4
4
  export interface ICreateRequest {
5
5
  references: string[];
6
6
  }
7
+ export interface IFindResponse extends Entity {
8
+ reference: string;
9
+ designation: string;
10
+ pvp: number | null;
11
+ }
7
12
  export interface IDeleteManyRequest {
8
13
  ids: string[];
9
14
  }
10
15
  export interface IRepository {
11
- find(): Promise<Entity[]>;
16
+ findMany(): Promise<IFindResponse[]>;
12
17
  create(data: ICreateRequest): Promise<void>;
13
18
  deleteMany(data: IDeleteManyRequest): Promise<void>;
14
19
  }
@@ -25,7 +25,9 @@ export interface IExportPaymentsRequest {
25
25
  export interface ICreateBulkPdfRequest {
26
26
  month?: number;
27
27
  year?: number;
28
+ /** ids separados por vírgula */
28
29
  ids?: string;
30
+ token: string;
29
31
  }
30
32
  export type IBatchType = "national" | "international" | "null";
31
33
  export interface IPaymentsBatchNpfDh {
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.49.25",
4
+ "version": "0.49.27",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -28,18 +28,18 @@
28
28
  "devDependencies": {
29
29
  "@eslint/js": "^10.0.1",
30
30
  "@swc/core": "^1.16.2",
31
- "@types/node": "^26.6.1",
31
+ "@types/node": "^26.6.2",
32
32
  "@typescript-eslint/eslint-plugin": "^8.62.0",
33
33
  "@typescript-eslint/parser": "^8.62.0",
34
- "eslint": "^10.10.0",
34
+ "eslint": "^10.11.0",
35
35
  "eslint-config-prettier": "^10.1.8",
36
36
  "eslint-plugin-simple-import-sort": "^14.0.0",
37
37
  "globals": "^17.12.0",
38
38
  "husky": "^9.1.7",
39
39
  "lint-staged": "^17.5.1",
40
- "prettier": "^3.9.8",
40
+ "prettier": "^3.9.9",
41
41
  "tsup": "^8.5.1",
42
- "typescript-eslint": "^8.70.0"
42
+ "typescript-eslint": "^8.70.1"
43
43
  },
44
44
  "repository": {
45
45
  "type": "git",