oro-sdk-apis 1.23.2 → 1.24.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/dist/models/index.d.ts +1 -0
- package/dist/models/practice.d.ts +2 -1
- package/dist/models/teller.d.ts +5 -0
- package/dist/oro-sdk-apis.cjs.development.js +13 -3
- 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 +13 -3
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/dist/services/practice.d.ts +1 -1
- package/dist/services/teller.d.ts +7 -1
- package/package.json +1 -1
- package/src/models/index.ts +1 -0
- package/src/models/practice.ts +1 -0
- package/src/models/teller.ts +5 -0
- package/src/services/practice.ts +1 -2
- package/src/services/teller.ts +22 -11
- package/LICENSE +0 -21
package/dist/models/index.d.ts
CHANGED
|
@@ -96,7 +96,8 @@ export declare enum PracticeEmailKind {
|
|
|
96
96
|
FaxFailed = "FaxFailed",
|
|
97
97
|
ExamResult = "ExamResult",
|
|
98
98
|
Reassigned = "Reassigned",
|
|
99
|
-
OnlinePharmacyFaxSent = "OnlinePharmacyFaxSent"
|
|
99
|
+
OnlinePharmacyFaxSent = "OnlinePharmacyFaxSent",
|
|
100
|
+
ResumeConsult = "ResumeConsult"
|
|
100
101
|
}
|
|
101
102
|
export interface PracticeAccount {
|
|
102
103
|
id?: number;
|
|
@@ -1522,6 +1522,7 @@ var IdentityCreationConflict = /*#__PURE__*/function (_Error7) {
|
|
|
1522
1522
|
PracticeEmailKind["ExamResult"] = "ExamResult";
|
|
1523
1523
|
PracticeEmailKind["Reassigned"] = "Reassigned";
|
|
1524
1524
|
PracticeEmailKind["OnlinePharmacyFaxSent"] = "OnlinePharmacyFaxSent";
|
|
1525
|
+
PracticeEmailKind["ResumeConsult"] = "ResumeConsult";
|
|
1525
1526
|
})(exports.PracticeEmailKind || (exports.PracticeEmailKind = {}));
|
|
1526
1527
|
|
|
1527
1528
|
(function (PracticeConfigKind) {
|
|
@@ -2710,7 +2711,7 @@ var PracticeService = /*#__PURE__*/function () {
|
|
|
2710
2711
|
*/
|
|
2711
2712
|
;
|
|
2712
2713
|
|
|
2713
|
-
_proto.practiceCreatePaymentsIntent = function practiceCreatePaymentsIntent(practiceUuid, planId, userEmail, isoLocality, url_subdomain,
|
|
2714
|
+
_proto.practiceCreatePaymentsIntent = function practiceCreatePaymentsIntent(practiceUuid, planId, userEmail, isoLocality, url_subdomain, consultRequest) {
|
|
2714
2715
|
return this.api.post(this.baseURL + "/v1/practices/" + practiceUuid + "/payments/intents/", {
|
|
2715
2716
|
idPlan: planId,
|
|
2716
2717
|
hashUserEmail: userEmail ? this.getPaymentIntentHashedEmail(userEmail) : undefined,
|
|
@@ -2718,8 +2719,7 @@ var PracticeService = /*#__PURE__*/function () {
|
|
|
2718
2719
|
consultRequest: consultRequest
|
|
2719
2720
|
}, {
|
|
2720
2721
|
params: {
|
|
2721
|
-
url_subdomain: url_subdomain
|
|
2722
|
-
promotionCode: promotionCode
|
|
2722
|
+
url_subdomain: url_subdomain
|
|
2723
2723
|
}
|
|
2724
2724
|
});
|
|
2725
2725
|
};
|
|
@@ -2955,6 +2955,16 @@ var TellerService = /*#__PURE__*/function () {
|
|
|
2955
2955
|
consult: consult,
|
|
2956
2956
|
patientUuid: patientUuid
|
|
2957
2957
|
});
|
|
2958
|
+
}
|
|
2959
|
+
/**
|
|
2960
|
+
* This function will send an email to patient to allow them to resume the consult.
|
|
2961
|
+
* @param req the body of the resume consult request
|
|
2962
|
+
* @returns void
|
|
2963
|
+
*/
|
|
2964
|
+
;
|
|
2965
|
+
|
|
2966
|
+
_proto.sendResumeConsultEmail = function sendResumeConsultEmail(req) {
|
|
2967
|
+
return this.api.post(this.baseURL + "/v1/resume-consult-email", req);
|
|
2958
2968
|
};
|
|
2959
2969
|
|
|
2960
2970
|
return TellerService;
|