@nomalism-com/api 0.43.76 → 0.43.78
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
|
@@ -3003,6 +3003,12 @@ var Repository83 = class {
|
|
|
3003
3003
|
async undoEntradaMaterial(data) {
|
|
3004
3004
|
await this.api.post(`${this.route}undo_material_entrance`, data);
|
|
3005
3005
|
}
|
|
3006
|
+
async findDoneById({
|
|
3007
|
+
id
|
|
3008
|
+
}) {
|
|
3009
|
+
const response = await this.api.get(`${this.route}${id}`);
|
|
3010
|
+
return response.data;
|
|
3011
|
+
}
|
|
3006
3012
|
printLabelToPdfUrl({ product_id }, {
|
|
3007
3013
|
quantity,
|
|
3008
3014
|
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.43.
|
|
4
|
+
"version": "0.43.78",
|
|
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.43.
|
|
27
|
-
"axios": "^1.15.
|
|
26
|
+
"@nomalism-com/types": "^0.43.102",
|
|
27
|
+
"axios": "^1.15.2"
|
|
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": {
|