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/oro-sdk-apis.esm.js
CHANGED
|
@@ -1558,6 +1558,7 @@ var PracticeEmailKind;
|
|
|
1558
1558
|
PracticeEmailKind["ExamResult"] = "ExamResult";
|
|
1559
1559
|
PracticeEmailKind["Reassigned"] = "Reassigned";
|
|
1560
1560
|
PracticeEmailKind["OnlinePharmacyFaxSent"] = "OnlinePharmacyFaxSent";
|
|
1561
|
+
PracticeEmailKind["ResumeConsult"] = "ResumeConsult";
|
|
1561
1562
|
})(PracticeEmailKind || (PracticeEmailKind = {}));
|
|
1562
1563
|
|
|
1563
1564
|
var PracticeConfigKind;
|
|
@@ -2756,7 +2757,7 @@ var PracticeService = /*#__PURE__*/function () {
|
|
|
2756
2757
|
*/
|
|
2757
2758
|
;
|
|
2758
2759
|
|
|
2759
|
-
_proto.practiceCreatePaymentsIntent = function practiceCreatePaymentsIntent(practiceUuid, planId, userEmail, isoLocality, url_subdomain,
|
|
2760
|
+
_proto.practiceCreatePaymentsIntent = function practiceCreatePaymentsIntent(practiceUuid, planId, userEmail, isoLocality, url_subdomain, consultRequest) {
|
|
2760
2761
|
return this.api.post(this.baseURL + "/v1/practices/" + practiceUuid + "/payments/intents/", {
|
|
2761
2762
|
idPlan: planId,
|
|
2762
2763
|
hashUserEmail: userEmail ? this.getPaymentIntentHashedEmail(userEmail) : undefined,
|
|
@@ -2764,8 +2765,7 @@ var PracticeService = /*#__PURE__*/function () {
|
|
|
2764
2765
|
consultRequest: consultRequest
|
|
2765
2766
|
}, {
|
|
2766
2767
|
params: {
|
|
2767
|
-
url_subdomain: url_subdomain
|
|
2768
|
-
promotionCode: promotionCode
|
|
2768
|
+
url_subdomain: url_subdomain
|
|
2769
2769
|
}
|
|
2770
2770
|
});
|
|
2771
2771
|
};
|
|
@@ -3001,6 +3001,16 @@ var TellerService = /*#__PURE__*/function () {
|
|
|
3001
3001
|
consult: consult,
|
|
3002
3002
|
patientUuid: patientUuid
|
|
3003
3003
|
});
|
|
3004
|
+
}
|
|
3005
|
+
/**
|
|
3006
|
+
* This function will send an email to patient to allow them to resume the consult.
|
|
3007
|
+
* @param req the body of the resume consult request
|
|
3008
|
+
* @returns void
|
|
3009
|
+
*/
|
|
3010
|
+
;
|
|
3011
|
+
|
|
3012
|
+
_proto.sendResumeConsultEmail = function sendResumeConsultEmail(req) {
|
|
3013
|
+
return this.api.post(this.baseURL + "/v1/resume-consult-email", req);
|
|
3004
3014
|
};
|
|
3005
3015
|
|
|
3006
3016
|
return TellerService;
|