visorus-erp-core 10.1.0 → 10.1.2

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.
@@ -33,6 +33,13 @@ export declare class ApiService {
33
33
  * @param id El ID del recurso a eliminar
34
34
  */
35
35
  delete<T>(endpoint: string, id: number | string): Observable<T>;
36
+ /**
37
+ * Realiza una petición PATCH genérica y autenticada.
38
+ * @param endpoint El endpoint del API
39
+ * @param id El ID del recurso a actualizar parcialmente
40
+ * @param body El cuerpo con los campos a actualizar
41
+ */
42
+ patch<T>(endpoint: string, id: number | string, body: any): Observable<T>;
36
43
  static ɵfac: i0.ɵɵFactoryDef<ApiService, never>;
37
44
  static ɵprov: i0.ɵɵInjectableDef<ApiService>;
38
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "visorus-erp-core",
3
- "version": "10.1.0",
3
+ "version": "10.1.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "~10.2.5",
6
6
  "@angular/core": "~10.2.5",