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.
- package/dist/oro-sdk-apis.cjs.development.js +12 -0
- package/dist/oro-sdk-apis.cjs.development.js.map +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk-apis.esm.js +12 -0
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/dist/services/teller.d.ts +6 -0
- package/package.json +1 -1
- package/src/services/teller.ts +11 -0
|
@@ -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
package/src/services/teller.ts
CHANGED
|
@@ -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
|
}
|