@nomalism-com/api 0.40.71 → 0.40.73

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
@@ -65,6 +65,7 @@ declare class Repository$1P implements Nomalism$1.Chat.IRepository {
65
65
  private api;
66
66
  constructor({ api, route, publicRoute }: IModuleConstructor);
67
67
  findActiveByOwnerId(params: Nomalism$1.shared.IFindByOwnerIdRequest): Promise<Nomalism$1.Chat.IPublicFindActiveByOwnerIdResponse>;
68
+ clientWebAppFindActiveByOwnerId(params: Nomalism$1.shared.IFindByOwnerIdRequest): Promise<Nomalism$1.Chat.IPublicFindActiveByOwnerIdResponse[]>;
68
69
  findActiveBySubscriberId(params: Nomalism$1.shared.IFindByOwnerIdRequest): Promise<Nomalism$1.Chat.IPublicFindActiveByOwnerIdResponse>;
69
70
  create(body: Nomalism$1.Chat.ICreateRequest): Promise<Nomalism$1.Chat.Entity>;
70
71
  update(selector: Nomalism$1.shared.IFindByIdRequest, body: Nomalism$1.Chat.IUpdateRequest): Promise<void>;
@@ -1728,6 +1729,7 @@ declare class Repository$9 implements Nomalism$1.ChatSubscriber.IRepository {
1728
1729
  constructor({ api, route, publicRoute }: IModuleConstructor);
1729
1730
  createOrUpdate(data: Nomalism$1.ChatSubscriber.ICreateOrUpdateRequest): Promise<void>;
1730
1731
  findByOwner(params: Nomalism$1.ChatSubscriber.IFindRequest): Promise<Nomalism$1.ChatSubscriber.IFindResponse[]>;
1732
+ clientWebAppFindByOwner(params: Nomalism$1.ChatSubscriber.IFindRequest): Promise<Nomalism$1.ChatSubscriber.IFindResponse[]>;
1731
1733
  findById({ id, }: Nomalism$1.shared.IFindByIdRequest): Promise<Nomalism$1.ChatSubscriber.IFindResponse>;
1732
1734
  deleteOne({ id }: Nomalism$1.shared.IFindByIdRequest): Promise<void>;
1733
1735
  }
package/dist/index.js CHANGED
@@ -278,6 +278,12 @@ var Repository4 = class {
278
278
  });
279
279
  return response.data;
280
280
  }
281
+ async clientWebAppFindActiveByOwnerId(params) {
282
+ const response = await this.api.get(`${this.route}client_web_app`, {
283
+ params
284
+ });
285
+ return response.data;
286
+ }
281
287
  async findActiveBySubscriberId(params) {
282
288
  const response = await this.api.get(`${this.route}active_by_subscriber_id`, {
283
289
  params
@@ -3881,6 +3887,10 @@ var Repository110 = class {
3881
3887
  const response = await this.api.get(`${this.route}`, { params });
3882
3888
  return response.data;
3883
3889
  }
3890
+ async clientWebAppFindByOwner(params) {
3891
+ const response = await this.api.get(`${this.route}client_web_app`, { params });
3892
+ return response.data;
3893
+ }
3884
3894
  async findById({
3885
3895
  id
3886
3896
  }) {
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.71",
4
+ "version": "0.40.73",
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.40.73",
26
+ "@nomalism-com/types": "^0.40.76",
27
27
  "axios": "^1.13.2"
28
28
  },
29
29
  "devDependencies": {