@nomalism-com/api 0.44.10 → 0.44.11
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
|
@@ -3007,6 +3007,12 @@ var Repository83 = class {
|
|
|
3007
3007
|
async undoEntradaMaterial(data) {
|
|
3008
3008
|
await this.api.post(`${this.route}undo_material_entrance`, data);
|
|
3009
3009
|
}
|
|
3010
|
+
async findDoneById({
|
|
3011
|
+
id
|
|
3012
|
+
}) {
|
|
3013
|
+
const response = await this.api.get(`${this.route}${id}`);
|
|
3014
|
+
return response.data;
|
|
3015
|
+
}
|
|
3010
3016
|
printLabelToPdfUrl({ product_id }, {
|
|
3011
3017
|
quantity,
|
|
3012
3018
|
ef_name,
|
|
@@ -8,6 +8,7 @@ export default class Repository implements Nomalism.MaterialEntrance.IApi {
|
|
|
8
8
|
findUnfinishedPickings({ id, }: Nomalism.shared.IFindByIdRequest): Promise<Nomalism.MaterialEntrance.IUnfinishedPickingsResponse[]>;
|
|
9
9
|
finalizarEntradaMaterial(data: Nomalism.MaterialEntrance.IFinalizarEntradaDeMaterialRequest): Promise<Nomalism.MaterialEntrance.IFinalizarEntradaDeMaterialResponse>;
|
|
10
10
|
undoEntradaMaterial(data: Nomalism.MaterialEntrance.IUndoEntradaDeMaterialRequest): Promise<void>;
|
|
11
|
+
findDoneById({ id, }: Nomalism.shared.IFindByIdRequest): Promise<Nomalism.SavedEmPicking.ISavedEmPickingData | null>;
|
|
11
12
|
printLabelToPdfUrl({ product_id }: Nomalism.MaterialEntrance.IPrintLabelParamsRequest, { quantity, ef_name, pc_document_number, prison, note, availableStock, }: Nomalism.MaterialEntrance.IPrintLabelQueryRequest, token: string): string;
|
|
12
13
|
printBulkLabelToPdfUrl({ groupLabel, saved_em_picking_ids, token, }: Nomalism.MaterialEntrance.IPrintBulkLabelRequest): string;
|
|
13
14
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/api",
|
|
3
3
|
"description": "A nomalism API package for performing HTTP requests on API endpoints",
|
|
4
|
-
"version": "0.44.
|
|
4
|
+
"version": "0.44.11",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -23,19 +23,19 @@
|
|
|
23
23
|
"prepack": "npm run lint && npm run build"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@nomalism-com/types": "^0.44.
|
|
26
|
+
"@nomalism-com/types": "^0.44.10",
|
|
27
27
|
"axios": "^1.14.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@swc/core": "^1.15.
|
|
30
|
+
"@swc/core": "^1.15.30",
|
|
31
31
|
"@types/node": "^24.12.2",
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
33
|
-
"@typescript-eslint/parser": "^8.
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "^8.59.0",
|
|
33
|
+
"@typescript-eslint/parser": "^8.59.0",
|
|
34
34
|
"eslint": "^9.39.4",
|
|
35
35
|
"eslint-config-prettier": "^10.1.8",
|
|
36
36
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
37
37
|
"eslint-plugin-prettier": "^5.5.5",
|
|
38
|
-
"prettier": "^3.8.
|
|
38
|
+
"prettier": "^3.8.3",
|
|
39
39
|
"tsup": "^8.5.1"
|
|
40
40
|
},
|
|
41
41
|
"repository": {
|