oro-sdk-apis 5.13.4 → 5.13.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -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",
@@ -902,6 +902,7 @@ var VaultDataMissing = /*#__PURE__*/function (_Error8) {
902
902
  PaymentStatus["Success"] = "Success";
903
903
  PaymentStatus["Failure"] = "Failure";
904
904
  PaymentStatus["Canceled"] = "Canceled";
905
+ PaymentStatus["SuccessAndDelivered"] = "SuccessAndDelivered";
905
906
  })(exports.PaymentStatus || (exports.PaymentStatus = {}));
906
907
  (function (PractitionerStatus) {
907
908
  PractitionerStatus["Practicing"] = "Practicing";
@@ -1156,6 +1157,13 @@ var ConsultService = /*#__PURE__*/function () {
1156
1157
  }
1157
1158
  });
1158
1159
  };
1160
+ _proto.getConsultByPracticePaymentID = function getConsultByPracticePaymentID(idPracticePayment, uuidPractice) {
1161
+ return this.api.get(this.baseURL + "/v1/consults/payment-" + idPracticePayment, {
1162
+ params: {
1163
+ uuidPractice: uuidPractice
1164
+ }
1165
+ });
1166
+ };
1159
1167
  _proto.updateConsultByUUID = function updateConsultByUUID(uuidConsult, consult, uuidPractice, uuidRequester) {
1160
1168
  return this.api.put(this.baseURL + "/v1/consults/" + uuidConsult, consult, {
1161
1169
  params: {