@nomalism-com/api 0.45.1 → 0.45.3

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
@@ -3778,6 +3778,10 @@ var Repository109 = class {
3778
3778
  async deleteByDocumentHeader({ id }) {
3779
3779
  await this.api.delete(`${this.route}document_header/${id}`);
3780
3780
  }
3781
+ async publicAuthenticate({ id }) {
3782
+ const response = await this.api.get(`${this.route}authenticate/${id}`);
3783
+ return response.data;
3784
+ }
3781
3785
  };
3782
3786
 
3783
3787
  // src/modules/stock/tag.ts
@@ -10,4 +10,5 @@ export default class Repository implements Nomalism.ChatSubscriber.IRepository {
10
10
  createOrUpdate(data: Nomalism.ChatSubscriber.ICreateOrUpdateRequest): Promise<string>;
11
11
  deleteOne({ id }: Nomalism.shared.IFindByIdRequest): Promise<void>;
12
12
  deleteByDocumentHeader({ id }: Nomalism.shared.IFindByIdRequest): Promise<void>;
13
+ publicAuthenticate({ id }: Nomalism.shared.IFindByIdRequest): Promise<string | null>;
13
14
  }
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.45.1",
4
+ "version": "0.45.3",
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.45.1",
26
+ "@nomalism-com/types": "^0.45.4",
27
27
  "axios": "^1.16.1"
28
28
  },
29
29
  "devDependencies": {