@doolehealth/service-lib 1.0.0 → 1.0.1

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ServiceLib
2
2
 
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.3.0.
3
+ This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 19.2.9.
4
4
 
5
5
  ## Code scaffolding
6
6
 
@@ -1143,6 +1143,14 @@ class DooleService {
1143
1143
  return res;
1144
1144
  }));
1145
1145
  }
1146
+ getPatientData(params) {
1147
+ let path = 'patient/data';
1148
+ const endpoint = this.api.getEndpoint(path);
1149
+ return this.http.post(endpoint, params).pipe(map((res) => {
1150
+ //////console.log(`[DooleService] postAPIpasswordRecovery(${path}) res: `, res);
1151
+ return res;
1152
+ }));
1153
+ }
1146
1154
  getAPIStaffSlots(params) {
1147
1155
  let path = `staff/${params.id}/availability`;
1148
1156
  let endpoint;
@@ -2426,6 +2434,12 @@ class DooleService {
2426
2434
  return res;
2427
2435
  }));
2428
2436
  }
2437
+ put(endpt, items) {
2438
+ const endpoint = this.api.getEndpoint(endpt);
2439
+ return this.http.put(endpoint, items).pipe(map((res) => {
2440
+ return res;
2441
+ }));
2442
+ }
2429
2443
  setPushNotification(pushNotification) {
2430
2444
  this.pushNotification = pushNotification;
2431
2445
  }