@nomalism-com/api 0.43.50 → 0.43.52

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
@@ -60,7 +60,6 @@ declare class Repository$1T implements Nomalism$1.Chat.IRepository {
60
60
  private api;
61
61
  constructor({ api, route }: IModuleConstructor);
62
62
  findByOwnerId(params: Nomalism$1.shared.IFindByIdRequest): Promise<Nomalism$1.Chat.IFindActiveByOwnerIdResponse>;
63
- findBySubscriberId(params: Nomalism$1.shared.IFindByIdRequest): Promise<Nomalism$1.Chat.IPublicFindBySubscriberId>;
64
63
  create(body: Nomalism$1.Chat.ICreateRequest): Promise<Nomalism$1.Chat.Entity>;
65
64
  update({ id }: Nomalism$1.shared.IFindByIdRequest, body: Nomalism$1.Chat.IUpdateRequest): Promise<void>;
66
65
  deleteOne({ id }: Nomalism$1.shared.IFindByIdRequest): Promise<void>;
@@ -1611,7 +1610,6 @@ declare class Repository$d implements Nomalism$1.ChatSubscriber.IRepository {
1611
1610
  constructor({ api, route }: IModuleConstructor);
1612
1611
  createOrUpdate(data: Nomalism$1.ChatSubscriber.ICreateOrUpdateRequest): Promise<string>;
1613
1612
  findByOwner(params: Nomalism$1.ChatSubscriber.IFindRequest): Promise<Nomalism$1.ChatSubscriber.IFindByOwnerResponse[]>;
1614
- publicFindByOwner(params: Nomalism$1.ChatSubscriber.IFindRequest): Promise<Nomalism$1.ChatSubscriber.IFindChatSubscriberResponse>;
1615
1613
  findById({ id, }: Nomalism$1.shared.IFindByIdRequest): Promise<Nomalism$1.ChatSubscriber.IFindByIdResponse>;
1616
1614
  deleteOne({ id }: Nomalism$1.shared.IFindByIdRequest): Promise<void>;
1617
1615
  }
@@ -1709,10 +1707,9 @@ declare class Repository$6 implements Nomalism$1.Portal.IRepository {
1709
1707
  route: string;
1710
1708
  private api;
1711
1709
  constructor({ api, route }: IModuleConstructor);
1712
- publicFindByOwnerId(params?: Nomalism$1.shared.IFindByOwnerIdRequest): Promise<Nomalism$1.Portal.IPublicFindByOwnerIdResponse[]>;
1713
- publicFindBySubscriberId(params?: Nomalism$1.shared.IFindByOwnerIdRequest): Promise<Nomalism$1.Portal.IPublicFindBySubscriberIdResponse[]>;
1714
- createPublicDocumentHeaderNote(data: Nomalism$1.Portal.PublicDocumentHeaderNoteCreateRequest[]): Promise<Nomalism$1.Portal.PublicDocumentHeaderNote[]>;
1715
- updatePublicDocumentHeaderNote({ id }: Nomalism$1.shared.IFindByIdRequest, data: Nomalism$1.Portal.PublicDocumentHeaderNoteUpdateRequest[]): Promise<Nomalism$1.Portal.PublicDocumentHeaderNote[]>;
1710
+ publicFindBySubscriberId(params?: Nomalism$1.shared.IFindByIdRequest): Promise<Nomalism$1.Portal.IPublicFindBySubscriberId>;
1711
+ publicCreateDocumentHeaderNote(data: Nomalism$1.Portal.PublicDocumentHeaderNoteCreateRequest[]): Promise<Nomalism$1.Portal.PublicDocumentHeaderNote[]>;
1712
+ publicUpdateDocumentHeaderNote({ id }: Nomalism$1.shared.IFindByIdRequest, data: Nomalism$1.Portal.PublicDocumentHeaderNoteUpdateRequest[]): Promise<Nomalism$1.Portal.PublicDocumentHeaderNote[]>;
1716
1713
  }
1717
1714
 
1718
1715
  declare namespace portal {
package/dist/index.js CHANGED
@@ -273,12 +273,6 @@ var Repository4 = class {
273
273
  });
274
274
  return response.data;
275
275
  }
276
- async findBySubscriberId(params) {
277
- const response = await this.api.get(`${this.route}active_by_subscriber_id`, {
278
- params
279
- });
280
- return response.data;
281
- }
282
276
  async create(body) {
283
277
  const response = await this.api.post(`${this.route}`, body);
284
278
  return response.data;
@@ -3747,10 +3741,6 @@ var Repository110 = class {
3747
3741
  const response = await this.api.get(`${this.route}`, { params });
3748
3742
  return response.data;
3749
3743
  }
3750
- async publicFindByOwner(params) {
3751
- const response = await this.api.get(`${this.route}client_web_app`, { params });
3752
- return response.data;
3753
- }
3754
3744
  async findById({
3755
3745
  id
3756
3746
  }) {
@@ -3954,23 +3944,17 @@ var Repository117 = class {
3954
3944
  this.api = api;
3955
3945
  this.route = route;
3956
3946
  }
3957
- async publicFindByOwnerId(params) {
3958
- const response = await this.api.get(`${this.route}public_by_owner`, {
3959
- params
3960
- });
3961
- return response.data;
3962
- }
3963
3947
  async publicFindBySubscriberId(params) {
3964
3948
  const response = await this.api.get(`${this.route}public_by_subscriber`, {
3965
3949
  params
3966
3950
  });
3967
3951
  return response.data;
3968
3952
  }
3969
- async createPublicDocumentHeaderNote(data) {
3953
+ async publicCreateDocumentHeaderNote(data) {
3970
3954
  const response = await this.api.post(`${this.route}public_document_header_note`, data);
3971
3955
  return response.data;
3972
3956
  }
3973
- async updatePublicDocumentHeaderNote({ id }, data) {
3957
+ async publicUpdateDocumentHeaderNote({ id }, data) {
3974
3958
  const response = await this.api.put(`${this.route}public_document_header_note/${id}`, data);
3975
3959
  return response.data;
3976
3960
  }
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.43.50",
4
+ "version": "0.43.52",
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.43.55",
26
+ "@nomalism-com/types": "^0.43.57",
27
27
  "axios": "^1.13.6"
28
28
  },
29
29
  "devDependencies": {