@experteam-mx/ngx-services 20.0.23 → 20.0.24

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.
@@ -1298,6 +1298,15 @@ class ApiCompaniesService {
1298
1298
  return this.http.patch(`${this.url}/employees/${id}`, body)
1299
1299
  .pipe(map(({ data }) => data));
1300
1300
  }
1301
+ /**
1302
+ * Enable an employee with the specified ID.
1303
+ * @param id - The unique identifier of the employee to update
1304
+ * @returns An Observable that emits the enabled employee data
1305
+ */
1306
+ patchEmployeeEnable(id) {
1307
+ return this.http.patch(`${this.url}/employees/${id}/enable`, {})
1308
+ .pipe(map(({ data }) => data));
1309
+ }
1301
1310
  /**
1302
1311
  * Deletes an employee based on the provided ID.
1303
1312
  *