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.
@@ -10,3 +10,4 @@ export * from './vault';
10
10
  export * from './workflow';
11
11
  export * from './external';
12
12
  export * from './user';
13
+ export * from './teller';
@@ -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;
@@ -0,0 +1,5 @@
1
+ export interface ResumeConsultEmailRequest {
2
+ patientEmail: string;
3
+ locale: string;
4
+ resumeConsultUrl: string;
5
+ }
@@ -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, promotionCode, consultRequest) {
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;