@nomalism-com/api 0.39.23 → 0.39.24

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
@@ -1788,11 +1788,8 @@ declare class Repository$2 implements Nomalism$1.ChatSubscriber.IRepository {
1788
1788
  private api;
1789
1789
  constructor({ api, route, publicRoute }: IModuleConstructor);
1790
1790
  createOrUpdate(data: Nomalism$1.ChatSubscriber.ICreateOrUpdateRequest): Promise<Nomalism$1.ChatSubscriber.Entity[]>;
1791
- find(data: Nomalism$1.ChatSubscriber.IFindRequest): Promise<Nomalism$1.ChatSubscriber.IFindByIdResponse>;
1791
+ find(data: Nomalism$1.ChatSubscriber.IFindRequest): Promise<Nomalism$1.ChatSubscriber.IFindResponse[]>;
1792
1792
  deleteOne(selector: Nomalism$1.shared.IFindByIdRequest): Promise<void>;
1793
- findByOwnerId(selector: Nomalism$1.shared.IFindByIdRequest): Promise<Nomalism$1.ChatSubscriber.IFindByIdResponse>;
1794
- findByDocumentHeaderId(selector: Nomalism$1.shared.IFindByIdRequest): Promise<Nomalism$1.ChatSubscriber.IFindByIdResponse>;
1795
- findByPersonaId(selector: Nomalism$1.shared.IFindByIdRequest): Promise<Nomalism$1.ChatSubscriber.IFindByIdResponse>;
1796
1793
  }
1797
1794
 
1798
1795
  declare namespace chatSubscriber {
package/dist/index.js CHANGED
@@ -4060,20 +4060,6 @@ var Repository113 = class {
4060
4060
  async deleteOne(selector) {
4061
4061
  await this.api.post(`${this.route}/id/${selector}`);
4062
4062
  }
4063
- //TODELETE (start)
4064
- async findByOwnerId(selector) {
4065
- const response = await this.api.get(`${this.route}by_owner_id/${selector.id}`);
4066
- return response.data;
4067
- }
4068
- async findByDocumentHeaderId(selector) {
4069
- const response = await this.api.get(`${this.route}by_document_header_id/${selector.id}`);
4070
- return response.data;
4071
- }
4072
- async findByPersonaId(selector) {
4073
- const response = await this.api.get(`${this.route}by_persona_id/${selector.id}`);
4074
- return response.data;
4075
- }
4076
- //TODELETE (end)
4077
4063
  };
4078
4064
 
4079
4065
  // src/modules/stock/tag.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.23",
4
+ "version": "0.39.24",
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.31",
26
+ "@nomalism-com/types": "^0.39.32",
27
27
  "axios": "^1.9.0"
28
28
  },
29
29
  "devDependencies": {