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.
@@ -1329,6 +1329,8 @@ var MedicalStatus;
1329
1329
 
1330
1330
  (function (MedicalStatus) {
1331
1331
  MedicalStatus["Creating"] = "Creating";
1332
+ MedicalStatus["Assigning"] = "Assigning";
1333
+ MedicalStatus["Assigned"] = "Assigned";
1332
1334
  MedicalStatus["New"] = "New";
1333
1335
  MedicalStatus["ToAnswer"] = "ToAnswer";
1334
1336
  MedicalStatus["Answered"] = "Answered";
@@ -1524,6 +1526,7 @@ var PaymentStatus;
1524
1526
  PaymentStatus["Success"] = "Success";
1525
1527
  PaymentStatus["Failure"] = "Failure";
1526
1528
  PaymentStatus["Canceled"] = "Canceled";
1529
+ PaymentStatus["SuccessAndDelivered"] = "SuccessAndDelivered";
1527
1530
  })(PaymentStatus || (PaymentStatus = {}));
1528
1531
 
1529
1532
  var PractitionerStatus;
@@ -1849,6 +1852,14 @@ var ConsultService = /*#__PURE__*/function () {
1849
1852
  });
1850
1853
  };
1851
1854
 
1855
+ _proto.getConsultByPracticePaymentID = function getConsultByPracticePaymentID(idPracticePayment, uuidPractice) {
1856
+ return this.api.get(this.baseURL + "/v1/consults/payment-" + idPracticePayment, {
1857
+ params: {
1858
+ uuidPractice: uuidPractice
1859
+ }
1860
+ });
1861
+ };
1862
+
1852
1863
  _proto.updateConsultByUUID = function updateConsultByUUID(uuidConsult, consult, uuidPractice, uuidRequester) {
1853
1864
  return this.api.put(this.baseURL + "/v1/consults/" + uuidConsult, consult, {
1854
1865
  params: {