oro-sdk-apis 5.14.0-dev1.0 → 5.14.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -64,6 +64,8 @@ export declare enum FeeStatus {
64
64
  }
65
65
  export declare enum MedicalStatus {
66
66
  Creating = "Creating",
67
+ Assigning = "Assigning",
68
+ Assigned = "Assigned",
67
69
  New = "New",
68
70
  ToAnswer = "ToAnswer",
69
71
  Answered = "Answered",
@@ -25,7 +25,8 @@ export declare enum PaymentStatus {
25
25
  Pending = "Pending",
26
26
  Success = "Success",
27
27
  Failure = "Failure",
28
- Canceled = "Canceled"
28
+ Canceled = "Canceled",
29
+ SuccessAndDelivered = "SuccessAndDelivered"
29
30
  }
30
31
  export declare enum PractitionerStatus {
31
32
  Practicing = "Practicing",
@@ -1323,6 +1323,8 @@ var ApisPracticeManager = /*#__PURE__*/function () {
1323
1323
 
1324
1324
  (function (MedicalStatus) {
1325
1325
  MedicalStatus["Creating"] = "Creating";
1326
+ MedicalStatus["Assigning"] = "Assigning";
1327
+ MedicalStatus["Assigned"] = "Assigned";
1326
1328
  MedicalStatus["New"] = "New";
1327
1329
  MedicalStatus["ToAnswer"] = "ToAnswer";
1328
1330
  MedicalStatus["Answered"] = "Answered";
@@ -1493,6 +1495,7 @@ var VaultDataMissing = /*#__PURE__*/function (_Error8) {
1493
1495
  PaymentStatus["Success"] = "Success";
1494
1496
  PaymentStatus["Failure"] = "Failure";
1495
1497
  PaymentStatus["Canceled"] = "Canceled";
1498
+ PaymentStatus["SuccessAndDelivered"] = "SuccessAndDelivered";
1496
1499
  })(exports.PaymentStatus || (exports.PaymentStatus = {}));
1497
1500
 
1498
1501
  (function (PractitionerStatus) {
@@ -1770,6 +1773,14 @@ var ConsultService = /*#__PURE__*/function () {
1770
1773
  });
1771
1774
  };
1772
1775
 
1776
+ _proto.getConsultByPracticePaymentID = function getConsultByPracticePaymentID(idPracticePayment, uuidPractice) {
1777
+ return this.api.get(this.baseURL + "/v1/consults/payment-" + idPracticePayment, {
1778
+ params: {
1779
+ uuidPractice: uuidPractice
1780
+ }
1781
+ });
1782
+ };
1783
+
1773
1784
  _proto.updateConsultByUUID = function updateConsultByUUID(uuidConsult, consult, uuidPractice, uuidRequester) {
1774
1785
  return this.api.put(this.baseURL + "/v1/consults/" + uuidConsult, consult, {
1775
1786
  params: {