@nomalism-com/api 0.39.59 → 0.39.60

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
@@ -1618,6 +1618,7 @@ declare class Repository$f implements Nomalism$1.ProductGoogleSheets.IRepository
1618
1618
  updateDbFromSheets(): Promise<void>;
1619
1619
  partialLocation(body: Nomalism$1.ProductGoogleSheets.IProductLocation): Promise<void>;
1620
1620
  fullLocation(body: Nomalism$1.ProductGoogleSheets.IProductLocation): Promise<void>;
1621
+ findByOwner(params: Nomalism$1.shared.IFindByIdRequest): Promise<Nomalism$1.ProductGoogleSheets.IProductByOwner[]>;
1621
1622
  }
1622
1623
 
1623
1624
  declare namespace productGoogleSheets {
package/dist/index.js CHANGED
@@ -3772,6 +3772,10 @@ var Repository100 = class {
3772
3772
  async fullLocation(body) {
3773
3773
  await this.api.post(`${this.route}full_location`, body);
3774
3774
  }
3775
+ async findByOwner(params) {
3776
+ const response = await this.api.get(`${this.route}by_owner/${params.id}`);
3777
+ return response.data;
3778
+ }
3775
3779
  };
3776
3780
 
3777
3781
  // src/modules/stock/task.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.59",
4
+ "version": "0.39.60",
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.60",
26
+ "@nomalism-com/types": "^0.39.61",
27
27
  "axios": "^1.9.0"
28
28
  },
29
29
  "devDependencies": {