@nomalism-com/api 0.39.10 → 0.39.12

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 CHANGED
@@ -1505,6 +1505,7 @@ declare class Repository$l implements Nomalism$1.Inventario.IRepository {
1505
1505
  private api;
1506
1506
  constructor({ api, route, publicRoute }: IModuleConstructor);
1507
1507
  createInventory(data: Nomalism$1.Inventario.ICreateInventoryRequest): Promise<void>;
1508
+ createManyInventory(data: Nomalism$1.Inventario.ICreateInventoryRequest[]): Promise<void>;
1508
1509
  }
1509
1510
 
1510
1511
  declare namespace inventario {
package/dist/index.js CHANGED
@@ -3496,6 +3496,9 @@ var Repository94 = class {
3496
3496
  async createInventory(data) {
3497
3497
  await this.api.post(`${this.route}`, data);
3498
3498
  }
3499
+ async createManyInventory(data) {
3500
+ await this.api.post(`${this.route}/create_many`, data);
3501
+ }
3499
3502
  };
3500
3503
 
3501
3504
  // src/modules/document/returnToProvider.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.39.10",
4
+ "version": "0.39.12",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -23,7 +23,7 @@
23
23
  "prepack": "npm run lint && npm run build"
24
24
  },
25
25
  "dependencies": {
26
- "@nomalism-com/types": "^0.39.14",
26
+ "@nomalism-com/types": "^0.39.16",
27
27
  "axios": "^1.9.0"
28
28
  },
29
29
  "devDependencies": {