@nomalism-com/api 0.40.100 → 0.40.102

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
@@ -62,7 +62,7 @@ declare class Repository$1R implements Nomalism$1.Chat.IRepository {
62
62
  constructor({ api, route }: IModuleConstructor);
63
63
  findActiveByOwnerId(params: Nomalism$1.shared.IFindByOwnerIdRequest): Promise<Nomalism$1.Chat.IPublicFindActiveByOwnerIdResponse>;
64
64
  clientWebAppFindActiveByOwnerId(params: Nomalism$1.shared.IFindByOwnerIdRequest): Promise<Nomalism$1.Chat.IPublicClientWebAppFindActiveByOwnerIdResponse>;
65
- findActiveBySubscriberId(params: Nomalism$1.shared.IFindByOwnerIdRequest): Promise<Nomalism$1.Chat.IPublicFindActiveByOwnerIdWithPersonaResponse>;
65
+ findActiveBySubscriberId(params: Nomalism$1.shared.IFindByOwnerIdRequest): Promise<Nomalism$1.Chat.IPublicFindBySubscriberId>;
66
66
  create(body: Nomalism$1.Chat.ICreateRequest): Promise<Nomalism$1.Chat.Entity>;
67
67
  update(selector: Nomalism$1.shared.IFindByIdRequest, body: Nomalism$1.Chat.IUpdateRequest): Promise<void>;
68
68
  deleteOne(selector: Nomalism$1.shared.IFindByIdRequest): Promise<void>;
@@ -1184,7 +1184,6 @@ declare class Repository$G implements Nomalism$1.Persona.IRepository {
1184
1184
  constructor({ api, route }: IModuleConstructor);
1185
1185
  findByOwnerId(params: Nomalism$1.shared.IFindByOwnerIdRequest): Promise<Nomalism$1.Persona.IFindByOwnerIdResponse[]>;
1186
1186
  findById(selector: Nomalism$1.shared.IFindByIdRequest): Promise<Nomalism$1.Persona.IEntityExtended | null>;
1187
- findContactPersonaByOwnerId(params: Nomalism$1.shared.IFindByOwnerIdRequest): Promise<Nomalism$1.Persona.IFindContactPersonaByOwnerId>;
1188
1187
  create(body: Nomalism$1.Persona.ICreateRequest): Promise<Nomalism$1.Persona.IEntityExtended>;
1189
1188
  update(selector: Nomalism$1.shared.IFindByIdRequest, body: Nomalism$1.Persona.IUpdateRequest): Promise<Nomalism$1.Persona.IEntityExtended | null>;
1190
1189
  deleteOne(params: Nomalism$1.Persona.IDeletePersonaRequest): Promise<Nomalism$1.Persona.IEntityExtended | null>;
package/dist/index.js CHANGED
@@ -2869,10 +2869,6 @@ var Repository79 = class {
2869
2869
  const response = await this.api.get(`${this.route}${selector.id}`);
2870
2870
  return response.data;
2871
2871
  }
2872
- async findContactPersonaByOwnerId(params) {
2873
- const response = await this.api.get(`${this.route}contact`, { params });
2874
- return response.data;
2875
- }
2876
2872
  async create(body) {
2877
2873
  const response = await this.api.post(`${this.route}`, body);
2878
2874
  return response.data;
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.100",
4
+ "version": "0.40.102",
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.100",
26
+ "@nomalism-com/types": "^0.40.103",
27
27
  "axios": "^1.13.2"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@swc/core": "^1.15.8",
31
- "@types/node": "^24.10.4",
32
- "@typescript-eslint/eslint-plugin": "^8.52.0",
33
- "@typescript-eslint/parser": "^8.52.0",
31
+ "@types/node": "^24.10.7",
32
+ "@typescript-eslint/eslint-plugin": "^8.53.0",
33
+ "@typescript-eslint/parser": "^8.53.0",
34
34
  "eslint": "^9.39.2",
35
35
  "eslint-config-prettier": "^10.1.8",
36
36
  "eslint-import-resolver-typescript": "^4.4.4",