oro-sdk-apis 1.23.3 → 1.25.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/README.md +2 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/practice.d.ts +12 -5
- package/dist/models/teller.d.ts +5 -0
- package/dist/oro-sdk-apis.cjs.development.js +14 -4
- 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 +14 -4
- 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 +22 -7
- 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
|
@@ -1566,10 +1566,11 @@ var PracticeConfigKind;
|
|
|
1566
1566
|
(function (PracticeConfigKind) {
|
|
1567
1567
|
PracticeConfigKind["PractitionerConsultList"] = "PractitionerConsultList";
|
|
1568
1568
|
PracticeConfigKind["PractitionerChatbox"] = "PractitionerChatbox";
|
|
1569
|
-
PracticeConfigKind["
|
|
1569
|
+
PracticeConfigKind["PracticeConfigExample"] = "PracticeConfigExample";
|
|
1570
1570
|
PracticeConfigKind["PracticeLocaleSwitcher"] = "PracticeLocaleSwitcher";
|
|
1571
1571
|
PracticeConfigKind["PracticeCookieBanner"] = "PracticeCookieBanner";
|
|
1572
1572
|
PracticeConfigKind["PracticePharmacyPicker"] = "PracticePharmacyPicker";
|
|
1573
|
+
PracticeConfigKind["PracticeCssVariables"] = "PracticeCssVariables";
|
|
1573
1574
|
})(PracticeConfigKind || (PracticeConfigKind = {}));
|
|
1574
1575
|
|
|
1575
1576
|
var StripePriceType;
|
|
@@ -2757,7 +2758,7 @@ var PracticeService = /*#__PURE__*/function () {
|
|
|
2757
2758
|
*/
|
|
2758
2759
|
;
|
|
2759
2760
|
|
|
2760
|
-
_proto.practiceCreatePaymentsIntent = function practiceCreatePaymentsIntent(practiceUuid, planId, userEmail, isoLocality, url_subdomain,
|
|
2761
|
+
_proto.practiceCreatePaymentsIntent = function practiceCreatePaymentsIntent(practiceUuid, planId, userEmail, isoLocality, url_subdomain, consultRequest) {
|
|
2761
2762
|
return this.api.post(this.baseURL + "/v1/practices/" + practiceUuid + "/payments/intents/", {
|
|
2762
2763
|
idPlan: planId,
|
|
2763
2764
|
hashUserEmail: userEmail ? this.getPaymentIntentHashedEmail(userEmail) : undefined,
|
|
@@ -2765,8 +2766,7 @@ var PracticeService = /*#__PURE__*/function () {
|
|
|
2765
2766
|
consultRequest: consultRequest
|
|
2766
2767
|
}, {
|
|
2767
2768
|
params: {
|
|
2768
|
-
url_subdomain: url_subdomain
|
|
2769
|
-
promotionCode: promotionCode
|
|
2769
|
+
url_subdomain: url_subdomain
|
|
2770
2770
|
}
|
|
2771
2771
|
});
|
|
2772
2772
|
};
|
|
@@ -3002,6 +3002,16 @@ var TellerService = /*#__PURE__*/function () {
|
|
|
3002
3002
|
consult: consult,
|
|
3003
3003
|
patientUuid: patientUuid
|
|
3004
3004
|
});
|
|
3005
|
+
}
|
|
3006
|
+
/**
|
|
3007
|
+
* This function will send an email to patient to allow them to resume the consult.
|
|
3008
|
+
* @param req the body of the resume consult request
|
|
3009
|
+
* @returns void
|
|
3010
|
+
*/
|
|
3011
|
+
;
|
|
3012
|
+
|
|
3013
|
+
_proto.sendResumeConsultEmail = function sendResumeConsultEmail(req) {
|
|
3014
|
+
return this.api.post(this.baseURL + "/v1/resume-consult-email", req);
|
|
3005
3015
|
};
|
|
3006
3016
|
|
|
3007
3017
|
return TellerService;
|