@nomalism-com/api 0.50.2 → 0.51.1
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.cjs +403 -352
- package/dist/index.js +403 -352
- package/dist/main.d.ts +3 -0
- package/dist/modules/document/propostaBuilder.d.ts +12 -0
- package/package.json +4 -4
package/dist/main.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import NPFClass from "./modules/document/NPF";
|
|
|
7
7
|
import NRCLClass from "./modules/document/NRCL";
|
|
8
8
|
import OrderClass from "./modules/document/order";
|
|
9
9
|
import ProformaClass from "./modules/document/proforma";
|
|
10
|
+
import PropostaBuilderClass from "./modules/document/propostaBuilder";
|
|
10
11
|
import PropostaFornecedorClass from "./modules/document/propostaFornecedor";
|
|
11
12
|
import PropostaSheetsClass from "./modules/document/propostaSheets";
|
|
12
13
|
import ProviderCreditNoteFromReturnClass from "./modules/document/providerCreditNoteFromReturn";
|
|
@@ -134,6 +135,7 @@ export * as MaterialEntrance from "./modules/document/materialEntrance";
|
|
|
134
135
|
export * as NPF from "./modules/document/NPF";
|
|
135
136
|
export * as NRCL from "./modules/document/NRCL";
|
|
136
137
|
export * as Order from "./modules/document/order";
|
|
138
|
+
export * as PropostaBuilder from "./modules/document/propostaBuilder";
|
|
137
139
|
export * as PropostaSheets from "./modules/document/propostaSheets";
|
|
138
140
|
export * as Purchase from "./modules/document/purchase";
|
|
139
141
|
export * as Quebra from "./modules/document/quebra";
|
|
@@ -326,6 +328,7 @@ export declare class API {
|
|
|
326
328
|
SchedulePrintJob: SchedulePrintJobClass;
|
|
327
329
|
QueryList: QueryListClass;
|
|
328
330
|
ReturnReason: ReturnReasonClass;
|
|
331
|
+
PropostaBuilder: PropostaBuilderClass;
|
|
329
332
|
PropostaSheets: PropostaSheetsClass;
|
|
330
333
|
Schedule: ScheduleClass;
|
|
331
334
|
GoogleFilePermission: GoogleFilePermissionClass;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as Nomalism from "@nomalism-com/types";
|
|
2
|
+
import { IModuleConstructor } from "../../main";
|
|
3
|
+
export default class Repository implements Nomalism.PropostaBuilder.IRepository {
|
|
4
|
+
route: string;
|
|
5
|
+
private api;
|
|
6
|
+
constructor({ api, route }: IModuleConstructor);
|
|
7
|
+
findSchema(params: Nomalism.PropostaBuilder.IFindSchemaRequest): Promise<Nomalism.PropostaBuilder.IGroupSchema>;
|
|
8
|
+
findLines(params: Nomalism.PropostaBuilder.IFindLinesRequest): Promise<Nomalism.PropostaBuilder.IFindLinesResponse>;
|
|
9
|
+
saveLines(params: Nomalism.PropostaBuilder.ISaveLinesRequest): Promise<void>;
|
|
10
|
+
preview(params: Nomalism.PropostaBuilder.IPreviewRequest): Promise<Nomalism.PropostaBuilder.IPreviewResponse>;
|
|
11
|
+
importToDocument(params: Nomalism.PropostaBuilder.IImportRequest): Promise<Nomalism.PropostaBuilder.IImportResponse>;
|
|
12
|
+
}
|
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.
|
|
4
|
+
"version": "0.51.1",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"prepare": "husky"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@nomalism-com/types": "^0.
|
|
33
|
+
"@nomalism-com/types": "^0.51.1",
|
|
34
34
|
"axios": "^1.20.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"@types/node": "^26.6.5",
|
|
40
40
|
"@typescript-eslint/eslint-plugin": "^8.62.0",
|
|
41
41
|
"@typescript-eslint/parser": "^8.62.0",
|
|
42
|
-
"eslint": "^10.
|
|
42
|
+
"eslint": "^10.13.0",
|
|
43
43
|
"eslint-config-prettier": "^10.1.8",
|
|
44
44
|
"eslint-plugin-simple-import-sort": "^14.0.0",
|
|
45
45
|
"globals": "^17.13.0",
|
|
46
46
|
"husky": "^9.1.7",
|
|
47
47
|
"lint-staged": "^17.6.0",
|
|
48
48
|
"prettier": "^3.9.10",
|
|
49
|
-
"tsup": "^
|
|
49
|
+
"tsup": "^9.0.0",
|
|
50
50
|
"typescript-eslint": "^8.71.2"
|
|
51
51
|
},
|
|
52
52
|
"repository": {
|