@nomalism-com/api 0.45.5 → 0.45.6

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
@@ -3758,6 +3758,12 @@ var Repository109 = class {
3758
3758
  const response = await this.api.get(`${this.route}document_header_subscribers`, { params });
3759
3759
  return response.data;
3760
3760
  }
3761
+ async findDocumentHeaderSubscribersByLanguage(params) {
3762
+ const response = await this.api.get(`${this.route}document_header_subscribers_by_language`, {
3763
+ params
3764
+ });
3765
+ return response.data;
3766
+ }
3761
3767
  async findSubscribedDocumentHeaders(params) {
3762
3768
  const response = await this.api.get(`${this.route}subscribed_document_headers`, { params });
3763
3769
  return response.data;
@@ -5,6 +5,7 @@ export default class Repository implements Nomalism.ChatSubscriber.IRepository {
5
5
  private api;
6
6
  constructor({ api, route }: IModuleConstructor);
7
7
  findDocumentHeaderSubscribers(params: Nomalism.ChatSubscriber.IFindDocumentHeaderSubscribersRequest): Promise<Nomalism.ChatSubscriber.IEntityWithPersona[]>;
8
+ findDocumentHeaderSubscribersByLanguage(params: Nomalism.ChatSubscriber.IFindDocumentHeaderSubscribersByLanguageRequest): Promise<string[]>;
8
9
  findSubscribedDocumentHeaders(params: Nomalism.ChatSubscriber.IFindSubscribedDocumentHeadersRequest): Promise<Nomalism.ChatSubscriber.IEntityWithPersonaAndSubscriptions>;
9
10
  findById({ id, }: Nomalism.shared.IFindByIdRequest): Promise<Nomalism.ChatSubscriber.IEntityWithPersonaAndSubscriptions>;
10
11
  createOrUpdate(data: Nomalism.ChatSubscriber.ICreateOrUpdateRequest): Promise<string>;
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.5",
4
+ "version": "0.45.6",
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.5",
26
+ "@nomalism-com/types": "^0.45.9",
27
27
  "axios": "^1.16.1"
28
28
  },
29
29
  "devDependencies": {