@nomalism-com/api 0.40.14 → 0.40.16
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.d.ts +1 -0
- package/dist/index.js +4 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -177,6 +177,7 @@ declare class Repository$1K implements Nomalism$1.Proforma.IRepository {
|
|
|
177
177
|
private api;
|
|
178
178
|
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
179
179
|
create(data: Nomalism$1.Proforma.ICreateRequest): Promise<void>;
|
|
180
|
+
createFromLines(data: Nomalism$1.Proforma.ICreateFromLinesRequest): Promise<void>;
|
|
180
181
|
}
|
|
181
182
|
|
|
182
183
|
declare class Repository$1J implements Nomalism$1.PropostaFornecedor.IRepository {
|
package/dist/index.js
CHANGED
|
@@ -546,6 +546,10 @@ var Repository11 = class {
|
|
|
546
546
|
const result = await this.api.post(`${this.route}pro_forma`, data);
|
|
547
547
|
return result.data;
|
|
548
548
|
}
|
|
549
|
+
async createFromLines(data) {
|
|
550
|
+
const result = await this.api.post(`${this.route}pro_forma_from_lines`, data);
|
|
551
|
+
return result.data;
|
|
552
|
+
}
|
|
549
553
|
};
|
|
550
554
|
|
|
551
555
|
// src/modules/document/propostaFornecedor.ts
|
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.40.
|
|
4
|
+
"version": "0.40.16",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|