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.
- package/bundles/visorus-erp-core.umd.js +11 -0
- package/bundles/visorus-erp-core.umd.js.map +1 -1
- package/bundles/visorus-erp-core.umd.min.js +1 -1
- package/bundles/visorus-erp-core.umd.min.js.map +1 -1
- package/esm2015/lib/services/api.service.js +12 -1
- package/fesm2015/visorus-erp-core.js +11 -0
- package/fesm2015/visorus-erp-core.js.map +1 -1
- package/lib/services/api.service.d.ts +7 -0
- package/package.json +1 -1
|
@@ -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
|
}
|