@nomalism-com/api 0.44.9 → 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
|
@@ -1013,7 +1013,8 @@ var Repository28 = class {
|
|
|
1013
1013
|
await this.api.post(`${this.route}reset`, body);
|
|
1014
1014
|
}
|
|
1015
1015
|
async forgotPasswordWhithoutMail(body) {
|
|
1016
|
-
|
|
1016
|
+
const response = await this.api.post(`${this.route}forgot_without_mail`, body);
|
|
1017
|
+
return response.data;
|
|
1017
1018
|
}
|
|
1018
1019
|
};
|
|
1019
1020
|
|
|
@@ -3006,6 +3007,12 @@ var Repository83 = class {
|
|
|
3006
3007
|
async undoEntradaMaterial(data) {
|
|
3007
3008
|
await this.api.post(`${this.route}undo_material_entrance`, data);
|
|
3008
3009
|
}
|
|
3010
|
+
async findDoneById({
|
|
3011
|
+
id
|
|
3012
|
+
}) {
|
|
3013
|
+
const response = await this.api.get(`${this.route}${id}`);
|
|
3014
|
+
return response.data;
|
|
3015
|
+
}
|
|
3009
3016
|
printLabelToPdfUrl({ product_id }, {
|
|
3010
3017
|
quantity,
|
|
3011
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": {
|