@nomalism-com/api 0.40.49 → 0.40.51

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
@@ -1359,6 +1359,7 @@ declare class Repository$B implements Nomalism$1.Purchase.IApi {
1359
1359
  findUnpaidMaterialEntrance(params: Nomalism$1.shared.IFindByIdRequest): Promise<Nomalism$1.Purchase.IUnpaidMaterialEntranceResponse>;
1360
1360
  findUnpaidMaterialEntranceProviders(): Promise<Nomalism$1.shared.IFindMinifiedResponse[]>;
1361
1361
  sync(data: Nomalism$1.Purchase.ISyncRequest): Promise<Nomalism$1.Purchase.ISyncResponse>;
1362
+ findPurchasedOrdersSummary(params: Nomalism$1.shared.IFindByOwnerIdRequest): Promise<Nomalism$1.Purchase.IFindPurchasedOrdersSummaryResponse[]>;
1362
1363
  }
1363
1364
 
1364
1365
  declare namespace purchase {
package/dist/index.js CHANGED
@@ -3153,6 +3153,10 @@ var Repository85 = class {
3153
3153
  const response = await this.api.post(`${this.route}sync`, data);
3154
3154
  return response.data;
3155
3155
  }
3156
+ async findPurchasedOrdersSummary(params) {
3157
+ const response = await this.api.get(`${this.route}purchased_orders_summary`, { params });
3158
+ return response.data;
3159
+ }
3156
3160
  };
3157
3161
 
3158
3162
  // src/modules/document/materialEntrance.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.49",
4
+ "version": "0.40.51",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -23,14 +23,14 @@
23
23
  "prepack": "npm run lint && npm run build"
24
24
  },
25
25
  "dependencies": {
26
- "@nomalism-com/types": "^0.40.50",
26
+ "@nomalism-com/types": "^0.40.55",
27
27
  "axios": "^1.13.2"
28
28
  },
29
29
  "devDependencies": {
30
- "@swc/core": "^1.15.4",
30
+ "@swc/core": "^1.15.5",
31
31
  "@types/node": "^24.10.4",
32
- "@typescript-eslint/eslint-plugin": "^8.49.0",
33
- "@typescript-eslint/parser": "^8.49.0",
32
+ "@typescript-eslint/eslint-plugin": "^8.50.0",
33
+ "@typescript-eslint/parser": "^8.50.0",
34
34
  "eslint": "^9.39.2",
35
35
  "eslint-config-prettier": "^10.1.8",
36
36
  "eslint-import-resolver-typescript": "^4.4.4",