oro-sdk-apis 1.16.1 → 1.17.0

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.
@@ -15,4 +15,10 @@ export declare class TellerService {
15
15
  * @returns void
16
16
  */
17
17
  notifyFaxFailed(practiceUuid: Uuid, consultationUuid: Uuid, consultationShortId: string, fax: string): Promise<void>;
18
+ /**
19
+ * This function let's you reassign a practictioner to a consult and send a notification email
20
+ * @param uuidConsult the uuid of the consult to reassign
21
+ * @param newPractitionerUuid the uuid of the practitioner that will get reassigned
22
+ */
23
+ reassignmentEmail(uuidConsult: Uuid, newPractitionerUuid: Uuid): Promise<void>;
18
24
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.16.1",
2
+ "version": "1.17.0",
3
3
  "main": "dist/index.js",
4
4
  "typings": "dist/index.d.ts",
5
5
  "files": [
@@ -51,4 +51,15 @@ export class TellerService {
51
51
  }
52
52
  )
53
53
  }
54
+
55
+ /**
56
+ * This function let's you reassign a practictioner to a consult and send a notification email
57
+ * @param uuidConsult the uuid of the consult to reassign
58
+ * @param newPractitionerUuid the uuid of the practitioner that will get reassigned
59
+ */
60
+ public reassignmentEmail(uuidConsult: Uuid, newPractitionerUuid: Uuid) {
61
+ return this.api.post<void>(`${this.baseURL}/v1/consult/${uuidConsult}/reassignment-email`, {
62
+ newPractitionerUuid,
63
+ })
64
+ }
54
65
  }