oro-sdk-apis 1.16.0 → 1.17.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.
- package/dist/models/guard.d.ts +2 -1
- package/dist/oro-sdk-apis.cjs.development.js +19 -2
- 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 +19 -2
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/dist/services/teller.d.ts +6 -0
- package/package.json +1 -1
- package/src/models/guard.ts +2 -1
- package/src/services/apisPracticeManager.ts +3 -0
- package/src/services/teller.ts +11 -0
package/dist/oro-sdk-apis.esm.js
CHANGED
|
@@ -1239,14 +1239,19 @@ var ApisPracticeManager = /*#__PURE__*/function () {
|
|
|
1239
1239
|
return function authTokenFunc() {
|
|
1240
1240
|
return _ref.apply(this, arguments);
|
|
1241
1241
|
};
|
|
1242
|
-
}(); //
|
|
1242
|
+
}(); // Initialize the M2M token
|
|
1243
1243
|
|
|
1244
1244
|
|
|
1245
|
+
_context2.next = 7;
|
|
1246
|
+
return authTokenFunc();
|
|
1247
|
+
|
|
1248
|
+
case 7:
|
|
1249
|
+
// Set the refresh tokens callback
|
|
1245
1250
|
newPracticeInstance.apiService.setAuthRefreshFn(authTokenFunc);
|
|
1246
1251
|
this.practiceInstances.set(practiceUuid, newPracticeInstance);
|
|
1247
1252
|
return _context2.abrupt("return", newPracticeInstance);
|
|
1248
1253
|
|
|
1249
|
-
case
|
|
1254
|
+
case 10:
|
|
1250
1255
|
case "end":
|
|
1251
1256
|
return _context2.stop();
|
|
1252
1257
|
}
|
|
@@ -2958,6 +2963,18 @@ var TellerService = /*#__PURE__*/function () {
|
|
|
2958
2963
|
practice_uuid: practiceUuid
|
|
2959
2964
|
}
|
|
2960
2965
|
});
|
|
2966
|
+
}
|
|
2967
|
+
/**
|
|
2968
|
+
* This function let's you reassign a practictioner to a consult and send a notification email
|
|
2969
|
+
* @param uuidConsult the uuid of the consult to reassign
|
|
2970
|
+
* @param newPractitionerUuid the uuid of the practitioner that will get reassigned
|
|
2971
|
+
*/
|
|
2972
|
+
;
|
|
2973
|
+
|
|
2974
|
+
_proto.reassignmentEmail = function reassignmentEmail(uuidConsult, newPractitionerUuid) {
|
|
2975
|
+
return this.api.post(this.baseURL + "/v1/consult/" + uuidConsult + "/reassignment-email", {
|
|
2976
|
+
newPractitionerUuid: newPractitionerUuid
|
|
2977
|
+
});
|
|
2961
2978
|
};
|
|
2962
2979
|
|
|
2963
2980
|
return TellerService;
|