oro-sdk-apis 3.5.0 → 3.6.0

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.
@@ -62,9 +62,15 @@ export interface TileRadioData extends ChoiceInputData {
62
62
  image?: string;
63
63
  description?: string;
64
64
  }
65
+ export declare enum InputApplyFunctions {
66
+ MakeUpperCase = "MakeUpperCase",
67
+ MakeLowerCase = "MakeLowerCase",
68
+ RemoveAllSpaces = "RemoveAllSpaces"
69
+ }
65
70
  export interface EntryData {
66
71
  id?: number;
67
72
  label?: string;
73
+ inputApply?: InputApplyFunctions | InputApplyFunctions[];
68
74
  hideLabel?: boolean;
69
75
  minorLabel?: string;
70
76
  summaryLabel?: string;
@@ -669,18 +669,19 @@ var ApisPracticeManager = /*#__PURE__*/function () {
669
669
  function () {
670
670
  var _get = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(practiceUuid) {
671
671
  var _this = this;
672
- var practiceInstance, newPracticeInstance, authTokenFunc;
672
+ var cacheKey, practiceInstance, newPracticeInstance, authTokenFunc;
673
673
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
674
674
  while (1) {
675
675
  switch (_context2.prev = _context2.next) {
676
676
  case 0:
677
- practiceInstance = this.practiceInstances.get(practiceUuid);
677
+ cacheKey = practiceUuid != null ? practiceUuid : 'none';
678
+ practiceInstance = this.practiceInstances.get(cacheKey);
678
679
  if (!practiceInstance) {
679
- _context2.next = 3;
680
+ _context2.next = 4;
680
681
  break;
681
682
  }
682
683
  return _context2.abrupt("return", practiceInstance);
683
- case 3:
684
+ case 4:
684
685
  newPracticeInstance = init(this.serviceCollReq, undefined, this.useLocalStorage); // Create one auth token callback per practice since the practice uuid needs to change
685
686
  authTokenFunc = /*#__PURE__*/function () {
686
687
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
@@ -710,14 +711,14 @@ var ApisPracticeManager = /*#__PURE__*/function () {
710
711
  return _ref.apply(this, arguments);
711
712
  };
712
713
  }(); // Initialize the M2M token
713
- _context2.next = 7;
714
+ _context2.next = 8;
714
715
  return authTokenFunc();
715
- case 7:
716
+ case 8:
716
717
  // Set the refresh tokens callback
717
718
  newPracticeInstance.apiService.setAuthRefreshFn(authTokenFunc);
718
- this.practiceInstances.set(practiceUuid, newPracticeInstance);
719
+ this.practiceInstances.set(cacheKey, newPracticeInstance);
719
720
  return _context2.abrupt("return", newPracticeInstance);
720
- case 10:
721
+ case 11:
721
722
  case "end":
722
723
  return _context2.stop();
723
724
  }
@@ -1039,6 +1040,11 @@ var VaultDataMissing = /*#__PURE__*/function (_Error8) {
1039
1040
  DocumentType["ImageAlias"] = "ImageAlias";
1040
1041
  })(exports.DocumentType || (exports.DocumentType = {}));
1041
1042
 
1043
+ (function (InputApplyFunctions) {
1044
+ InputApplyFunctions["MakeUpperCase"] = "MakeUpperCase";
1045
+ InputApplyFunctions["MakeLowerCase"] = "MakeLowerCase";
1046
+ InputApplyFunctions["RemoveAllSpaces"] = "RemoveAllSpaces";
1047
+ })(exports.InputApplyFunctions || (exports.InputApplyFunctions = {}));
1042
1048
  (function (MetadataCategory) {
1043
1049
  MetadataCategory["ChildPersonal"] = "ChildPersonal";
1044
1050
  MetadataCategory["Consultation"] = "Consultation";