oro-sdk-apis 5.13.4 → 5.13.5
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/dist/models/practice.d.ts +2 -1
- package/dist/oro-sdk-apis.cjs.development.js +8 -0
- 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 +8 -0
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/dist/services/consult.d.ts +1 -0
- package/package.json +1 -1
- package/src/models/practice.ts +1 -0
- package/src/services/consult.ts +9 -3
@@ -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: {
|