eservices-core 1.0.592 → 1.0.593

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.
@@ -4,6 +4,7 @@ interface ActionGetOptions {
4
4
  export default class ActionService {
5
5
  private static url;
6
6
  static get({ criterion }: ActionGetOptions): Promise<IActionResponse[]>;
7
+ static getById(entity: string, id: number): Promise<IActionResponse[]>;
7
8
  }
8
9
  export interface IActionExecuteResult {
9
10
  code: number;
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * eservices-core v1.0.592
2
+ * eservices-core v1.0.593
3
3
  * (c) 2023 ESERVICES
4
4
  */
5
5
  'use strict';
@@ -5187,6 +5187,11 @@ class ActionService {
5187
5187
  }).then(res => res.json());
5188
5188
  });
5189
5189
  }
5190
+ static getById(entity, id) {
5191
+ return Request([this.url(), entity, id].join('/'), {
5192
+ method: "GET",
5193
+ });
5194
+ }
5190
5195
  }
5191
5196
 
5192
5197
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eservices-core",
3
- "version": "1.0.592",
3
+ "version": "1.0.593",
4
4
  "description": "Core library",
5
5
  "author": "",
6
6
  "scripts": {