@nomalism-com/api 0.46.6 → 0.46.8

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.js CHANGED
@@ -3859,6 +3859,10 @@ var Repository103 = class {
3859
3859
  const response = await this.api.get(`${this.route}project_info`);
3860
3860
  return response.data;
3861
3861
  }
3862
+ async todoCounts(params) {
3863
+ const response = await this.api.get(`${this.route}todo_counts`, { params });
3864
+ return response.data;
3865
+ }
3862
3866
  };
3863
3867
 
3864
3868
  // src/modules/stock/chatRapidMessage.ts
@@ -6,4 +6,5 @@ export default class Repository implements Nomalism.Dashboard.IRepository {
6
6
  constructor({ api, route }: IModuleConstructor);
7
7
  salesByDate(params: Nomalism.Dashboard.IFindDashboardSalesByDate): Promise<Nomalism.Dashboard.IDashboardSalesResponse>;
8
8
  projectInfo(): Promise<Nomalism.Dashboard.IDashboardProjectInfoResponse[]>;
9
+ todoCounts(params: Nomalism.Dashboard.IFindDashboardTodoCounts): Promise<Nomalism.Dashboard.IDashboardTodoCountsResponse>;
9
10
  }
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.46.6",
4
+ "version": "0.46.8",
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.46.6",
26
+ "@nomalism-com/types": "^0.46.7",
27
27
  "axios": "^1.18.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@swc/core": "^1.15.41",
31
31
  "@types/node": "^24.13.2",
32
- "@typescript-eslint/eslint-plugin": "^8.61.0",
33
- "@typescript-eslint/parser": "^8.61.0",
32
+ "@typescript-eslint/eslint-plugin": "^8.61.1",
33
+ "@typescript-eslint/parser": "^8.61.1",
34
34
  "eslint": "^9.39.4",
35
35
  "eslint-config-prettier": "^10.1.8",
36
36
  "eslint-import-resolver-typescript": "^4.4.5",