oro-sdk 5.0.1 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -368,13 +368,7 @@ function _wrapRegExp() {
368
368
  var g = _groups.get(re);
369
369
 
370
370
  return Object.keys(g).reduce(function (groups, name) {
371
- var i = g[name];
372
- if ("number" == typeof i) groups[name] = result[i];else {
373
- for (var k = 0; void 0 === result[i[k]] && k + 1 < i.length;) k++;
374
-
375
- groups[name] = result[i[k]];
376
- }
377
- return groups;
371
+ return groups[name] = result[g[name]], groups;
378
372
  }, Object.create(null));
379
373
  }
380
374
 
@@ -441,7 +435,7 @@ function _asyncToGenerator(fn) {
441
435
  }
442
436
 
443
437
  function _extends() {
444
- _extends = Object.assign ? Object.assign.bind() : function (target) {
438
+ _extends = Object.assign || function (target) {
445
439
  for (var i = 1; i < arguments.length; i++) {
446
440
  var source = arguments[i];
447
441
 
@@ -454,6 +448,7 @@ function _extends() {
454
448
 
455
449
  return target;
456
450
  };
451
+
457
452
  return _extends.apply(this, arguments);
458
453
  }
459
454
 
@@ -483,17 +478,18 @@ function _inheritsLoose(subClass, superClass) {
483
478
  }
484
479
 
485
480
  function _getPrototypeOf(o) {
486
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
481
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
487
482
  return o.__proto__ || Object.getPrototypeOf(o);
488
483
  };
489
484
  return _getPrototypeOf(o);
490
485
  }
491
486
 
492
487
  function _setPrototypeOf(o, p) {
493
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
488
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
494
489
  o.__proto__ = p;
495
490
  return o;
496
491
  };
492
+
497
493
  return _setPrototypeOf(o, p);
498
494
  }
499
495
 
@@ -512,7 +508,7 @@ function _isNativeReflectConstruct() {
512
508
 
513
509
  function _construct(Parent, args, Class) {
514
510
  if (_isNativeReflectConstruct()) {
515
- _construct = Reflect.construct.bind();
511
+ _construct = Reflect.construct;
516
512
  } else {
517
513
  _construct = function _construct(Parent, args, Class) {
518
514
  var a = [null];
@@ -627,7 +623,7 @@ var personalMetaToPrefix = (_personalMetaToPrefix = {}, _personalMetaToPrefix[Me
627
623
  */
628
624
 
629
625
  function identificationToPersonalInformations(data, category) {
630
- var _data;
626
+ var _data$;
631
627
 
632
628
  var prefix = personalMetaToPrefix[category];
633
629
  return {
@@ -637,7 +633,7 @@ function identificationToPersonalInformations(data, category) {
637
633
  name: data[prefix + "Name"],
638
634
  phone: data[prefix + "Phone"],
639
635
  zip: data[prefix + "Zip"],
640
- hid: (_data = data[prefix + "HID"]) != null ? _data : data[prefix + "ID"],
636
+ hid: (_data$ = data[prefix + "HID"]) != null ? _data$ : data[prefix + "ID"],
641
637
  pharmacy: data[prefix + "Pharmacy"],
642
638
  address: data[prefix + "Address"]
643
639
  };
@@ -1728,7 +1724,8 @@ function _storePatientData() {
1728
1724
  consultationId: consultationId
1729
1725
  }, {
1730
1726
  consultationId: consultationId
1731
- });
1727
+ }, false, true // the only data that needs to include an email notification
1728
+ );
1732
1729
  }), getWorkflowDataByCategory(workflow, MetadataCategory.Medical).then(function (data) {
1733
1730
  return oroClient.getOrInsertJsonData(lockboxUuid, data, {
1734
1731
  category: MetadataCategory.Medical,
@@ -2910,6 +2907,7 @@ var OroClient = /*#__PURE__*/function () {
2910
2907
  * @param category the category for the attachment data
2911
2908
  * @param lockboxOwnerUuid the lockbox owner (ignored if lockbox is owned by self)
2912
2909
  * @param previousDataUuid if it's a revision of existing file, specify the previous data uuid
2910
+ * @param withNotification if the insertion of data requires notification
2913
2911
  * @returns the data uuid
2914
2912
  */
2915
2913
  ;
@@ -2917,26 +2915,30 @@ var OroClient = /*#__PURE__*/function () {
2917
2915
  _proto.createConsultationAttachmentData =
2918
2916
  /*#__PURE__*/
2919
2917
  function () {
2920
- var _createConsultationAttachmentData = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14(lockboxUuid, data, consultationId, documentType, lockboxOwnerUuid, previousDataUuid) {
2918
+ var _createConsultationAttachmentData = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14(lockboxUuid, data, consultationId, documentType, lockboxOwnerUuid, previousDataUuid, withNotification) {
2921
2919
  return _regeneratorRuntime().wrap(function _callee14$(_context14) {
2922
2920
  while (1) {
2923
2921
  switch (_context14.prev = _context14.next) {
2924
2922
  case 0:
2923
+ if (withNotification === void 0) {
2924
+ withNotification = false;
2925
+ }
2926
+
2925
2927
  if (this.rsa) {
2926
- _context14.next = 2;
2928
+ _context14.next = 3;
2927
2929
  break;
2928
2930
  }
2929
2931
 
2930
2932
  throw IncompleteAuthentication;
2931
2933
 
2932
- case 2:
2934
+ case 3:
2933
2935
  _context14.t0 = this;
2934
2936
  _context14.t1 = lockboxUuid;
2935
2937
  _context14.t2 = Uint8Array;
2936
- _context14.next = 7;
2938
+ _context14.next = 8;
2937
2939
  return data.arrayBuffer();
2938
2940
 
2939
- case 7:
2941
+ case 8:
2940
2942
  _context14.t3 = _context14.sent;
2941
2943
  _context14.t4 = new _context14.t2(_context14.t3);
2942
2944
  _context14.t5 = {
@@ -2945,10 +2947,10 @@ var OroClient = /*#__PURE__*/function () {
2945
2947
  documentType: documentType,
2946
2948
  contentType: data.type
2947
2949
  };
2948
- _context14.next = 12;
2950
+ _context14.next = 13;
2949
2951
  return this.guardClient.whoAmI();
2950
2952
 
2951
- case 12:
2953
+ case 13:
2952
2954
  _context14.t6 = _context14.sent.sub;
2953
2955
  _context14.t7 = data.name;
2954
2956
  _context14.t8 = {
@@ -2957,9 +2959,10 @@ var OroClient = /*#__PURE__*/function () {
2957
2959
  };
2958
2960
  _context14.t9 = lockboxOwnerUuid;
2959
2961
  _context14.t10 = previousDataUuid;
2960
- return _context14.abrupt("return", _context14.t0.createBytesData.call(_context14.t0, _context14.t1, _context14.t4, _context14.t5, _context14.t8, _context14.t9, _context14.t10));
2962
+ _context14.t11 = withNotification;
2963
+ return _context14.abrupt("return", _context14.t0.createBytesData.call(_context14.t0, _context14.t1, _context14.t4, _context14.t5, _context14.t8, _context14.t9, _context14.t10, _context14.t11));
2961
2964
 
2962
- case 18:
2965
+ case 20:
2963
2966
  case "end":
2964
2967
  return _context14.stop();
2965
2968
  }
@@ -2967,7 +2970,7 @@ var OroClient = /*#__PURE__*/function () {
2967
2970
  }, _callee14, this);
2968
2971
  }));
2969
2972
 
2970
- function createConsultationAttachmentData(_x35, _x36, _x37, _x38, _x39, _x40) {
2973
+ function createConsultationAttachmentData(_x35, _x36, _x37, _x38, _x39, _x40, _x41) {
2971
2974
  return _createConsultationAttachmentData.apply(this, arguments);
2972
2975
  }
2973
2976
 
@@ -2982,6 +2985,7 @@ var OroClient = /*#__PURE__*/function () {
2982
2985
  * @param privateMeta the metadata that will be secured in the vault
2983
2986
  * @param lockboxOwnerUuid the lockbox owner (ignored if lockbox is owned by self)
2984
2987
  * @param previousDataUuid if it's a revision of existing data, specify the previous data uuid
2988
+ * @param withNotification if the insertion of data requires notification
2985
2989
  * @returns the data uuid
2986
2990
  */
2987
2991
  ;
@@ -2989,24 +2993,28 @@ var OroClient = /*#__PURE__*/function () {
2989
2993
  _proto.createJsonData =
2990
2994
  /*#__PURE__*/
2991
2995
  function () {
2992
- var _createJsonData = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15(lockboxUuid, data, meta, privateMeta, lockboxOwnerUuid, previousDataUuid) {
2996
+ var _createJsonData = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15(lockboxUuid, data, meta, privateMeta, lockboxOwnerUuid, previousDataUuid, withNotification) {
2993
2997
  var symmetricEncryptor, encryptedData, encryptedPrivateMeta, request;
2994
2998
  return _regeneratorRuntime().wrap(function _callee15$(_context15) {
2995
2999
  while (1) {
2996
3000
  switch (_context15.prev = _context15.next) {
2997
3001
  case 0:
3002
+ if (withNotification === void 0) {
3003
+ withNotification = false;
3004
+ }
3005
+
2998
3006
  if (this.rsa) {
2999
- _context15.next = 2;
3007
+ _context15.next = 3;
3000
3008
  break;
3001
3009
  }
3002
3010
 
3003
3011
  throw IncompleteAuthentication;
3004
3012
 
3005
- case 2:
3006
- _context15.next = 4;
3013
+ case 3:
3014
+ _context15.next = 5;
3007
3015
  return this.getCachedSecretCryptor(lockboxUuid, lockboxOwnerUuid);
3008
3016
 
3009
- case 4:
3017
+ case 5:
3010
3018
  symmetricEncryptor = _context15.sent;
3011
3019
  encryptedData = symmetricEncryptor.jsonEncryptToBase64Payload(data);
3012
3020
  encryptedPrivateMeta = symmetricEncryptor.jsonEncryptToBase64Payload(privateMeta);
@@ -3015,9 +3023,18 @@ var OroClient = /*#__PURE__*/function () {
3015
3023
  publicMetadata: meta,
3016
3024
  privateMetadata: encryptedPrivateMeta
3017
3025
  };
3026
+
3027
+ if (!withNotification) {
3028
+ _context15.next = 13;
3029
+ break;
3030
+ }
3031
+
3018
3032
  return _context15.abrupt("return", this.tellerClient.lockboxDataStore(lockboxUuid, request, lockboxOwnerUuid, previousDataUuid));
3019
3033
 
3020
- case 9:
3034
+ case 13:
3035
+ return _context15.abrupt("return", this.vaultClient.lockboxDataStore(lockboxUuid, request, lockboxOwnerUuid, previousDataUuid));
3036
+
3037
+ case 14:
3021
3038
  case "end":
3022
3039
  return _context15.stop();
3023
3040
  }
@@ -3025,7 +3042,7 @@ var OroClient = /*#__PURE__*/function () {
3025
3042
  }, _callee15, this);
3026
3043
  }));
3027
3044
 
3028
- function createJsonData(_x41, _x42, _x43, _x44, _x45, _x46) {
3045
+ function createJsonData(_x42, _x43, _x44, _x45, _x46, _x47, _x48) {
3029
3046
  return _createJsonData.apply(this, arguments);
3030
3047
  }
3031
3048
 
@@ -3038,6 +3055,7 @@ var OroClient = /*#__PURE__*/function () {
3038
3055
  * @param publicMetadata the public Metadata
3039
3056
  * @param privateMetadata the private Metadata
3040
3057
  * @param forceReplace set true when the insertion of data requires to replace the data when it exists already
3058
+ * @param withNotification if the insertion of data requires notification
3041
3059
  * @returns the data uuid
3042
3060
  */
3043
3061
  ;
@@ -3045,7 +3063,7 @@ var OroClient = /*#__PURE__*/function () {
3045
3063
  _proto.getOrInsertJsonData =
3046
3064
  /*#__PURE__*/
3047
3065
  function () {
3048
- var _getOrInsertJsonData = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee16(lockboxUuid, data, publicMetadata, privateMetadata, forceReplace) {
3066
+ var _getOrInsertJsonData = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee16(lockboxUuid, data, publicMetadata, privateMetadata, forceReplace, withNotification) {
3049
3067
  var manifest;
3050
3068
  return _regeneratorRuntime().wrap(function _callee16$(_context16) {
3051
3069
  while (1) {
@@ -3055,32 +3073,36 @@ var OroClient = /*#__PURE__*/function () {
3055
3073
  forceReplace = false;
3056
3074
  }
3057
3075
 
3058
- _context16.next = 3;
3076
+ if (withNotification === void 0) {
3077
+ withNotification = false;
3078
+ }
3079
+
3080
+ _context16.next = 4;
3059
3081
  return this.vaultClient.lockboxManifestGet(lockboxUuid, publicMetadata);
3060
3082
 
3061
- case 3:
3083
+ case 4:
3062
3084
  manifest = _context16.sent;
3063
3085
 
3064
3086
  if (!(!forceReplace && manifest.length > 0)) {
3065
- _context16.next = 9;
3087
+ _context16.next = 10;
3066
3088
  break;
3067
3089
  }
3068
3090
 
3069
3091
  console.log("The data for " + JSON.stringify(publicMetadata) + " already exist");
3070
3092
  return _context16.abrupt("return", manifest[0].dataUuid);
3071
3093
 
3072
- case 9:
3073
- _context16.next = 11;
3074
- return this.createJsonData(lockboxUuid, data, publicMetadata, privateMetadata, undefined, forceReplace && manifest.length > 0 ? manifest[0].dataUuid : undefined // if forceReplace and data already exist, then replace data. Otherwise insert it
3075
- )["catch"](function (err) {
3094
+ case 10:
3095
+ _context16.next = 12;
3096
+ return this.createJsonData(lockboxUuid, data, publicMetadata, privateMetadata, undefined, forceReplace && manifest.length > 0 ? manifest[0].dataUuid : undefined, // if forceReplace and data already exist, then replace data. Otherwise insert it
3097
+ withNotification)["catch"](function (err) {
3076
3098
  console.error("Error while upserting data " + JSON.stringify(publicMetadata) + " data", err);
3077
3099
  throw err;
3078
3100
  });
3079
3101
 
3080
- case 11:
3102
+ case 12:
3081
3103
  return _context16.abrupt("return", _context16.sent.dataUuid);
3082
3104
 
3083
- case 12:
3105
+ case 13:
3084
3106
  case "end":
3085
3107
  return _context16.stop();
3086
3108
  }
@@ -3088,7 +3110,7 @@ var OroClient = /*#__PURE__*/function () {
3088
3110
  }, _callee16, this);
3089
3111
  }));
3090
3112
 
3091
- function getOrInsertJsonData(_x47, _x48, _x49, _x50, _x51) {
3113
+ function getOrInsertJsonData(_x49, _x50, _x51, _x52, _x53, _x54) {
3092
3114
  return _getOrInsertJsonData.apply(this, arguments);
3093
3115
  }
3094
3116
 
@@ -3103,6 +3125,7 @@ var OroClient = /*#__PURE__*/function () {
3103
3125
  * @param privateMeta the metadata that will be secured in the vault
3104
3126
  * @param lockboxOwnerUuid the lockbox owner (ignored if lockbox is owned by self)
3105
3127
  * @param previousDataUuid if it's a revision of existing data, specify the previous data uuid
3128
+ * @param withNotification if the insertion of data requires notification
3106
3129
  * @returns the data uuid
3107
3130
  */
3108
3131
  ;
@@ -3110,24 +3133,28 @@ var OroClient = /*#__PURE__*/function () {
3110
3133
  _proto.createBytesData =
3111
3134
  /*#__PURE__*/
3112
3135
  function () {
3113
- var _createBytesData = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17(lockboxUuid, data, meta, privateMeta, lockboxOwnerUuid, previousDataUuid) {
3136
+ var _createBytesData = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17(lockboxUuid, data, meta, privateMeta, lockboxOwnerUuid, previousDataUuid, withNotification) {
3114
3137
  var symmetricEncryptor, encryptedData, encryptedPrivateMeta, request;
3115
3138
  return _regeneratorRuntime().wrap(function _callee17$(_context17) {
3116
3139
  while (1) {
3117
3140
  switch (_context17.prev = _context17.next) {
3118
3141
  case 0:
3142
+ if (withNotification === void 0) {
3143
+ withNotification = false;
3144
+ }
3145
+
3119
3146
  if (this.rsa) {
3120
- _context17.next = 2;
3147
+ _context17.next = 3;
3121
3148
  break;
3122
3149
  }
3123
3150
 
3124
3151
  throw IncompleteAuthentication;
3125
3152
 
3126
- case 2:
3127
- _context17.next = 4;
3153
+ case 3:
3154
+ _context17.next = 5;
3128
3155
  return this.getCachedSecretCryptor(lockboxUuid, lockboxOwnerUuid);
3129
3156
 
3130
- case 4:
3157
+ case 5:
3131
3158
  symmetricEncryptor = _context17.sent;
3132
3159
  encryptedData = symmetricEncryptor.bytesEncryptToBase64Payload(data);
3133
3160
  encryptedPrivateMeta = symmetricEncryptor.jsonEncryptToBase64Payload(privateMeta);
@@ -3136,9 +3163,18 @@ var OroClient = /*#__PURE__*/function () {
3136
3163
  publicMetadata: meta,
3137
3164
  privateMetadata: encryptedPrivateMeta
3138
3165
  };
3166
+
3167
+ if (!withNotification) {
3168
+ _context17.next = 13;
3169
+ break;
3170
+ }
3171
+
3139
3172
  return _context17.abrupt("return", this.tellerClient.lockboxDataStore(lockboxUuid, request, lockboxOwnerUuid, previousDataUuid));
3140
3173
 
3141
- case 9:
3174
+ case 13:
3175
+ return _context17.abrupt("return", this.vaultClient.lockboxDataStore(lockboxUuid, request, lockboxOwnerUuid, previousDataUuid));
3176
+
3177
+ case 14:
3142
3178
  case "end":
3143
3179
  return _context17.stop();
3144
3180
  }
@@ -3146,7 +3182,7 @@ var OroClient = /*#__PURE__*/function () {
3146
3182
  }, _callee17, this);
3147
3183
  }));
3148
3184
 
3149
- function createBytesData(_x52, _x53, _x54, _x55, _x56, _x57) {
3185
+ function createBytesData(_x55, _x56, _x57, _x58, _x59, _x60, _x61) {
3150
3186
  return _createBytesData.apply(this, arguments);
3151
3187
  }
3152
3188
 
@@ -3200,7 +3236,7 @@ var OroClient = /*#__PURE__*/function () {
3200
3236
  }, _callee18, this);
3201
3237
  }));
3202
3238
 
3203
- function getJsonData(_x58, _x59, _x60) {
3239
+ function getJsonData(_x62, _x63, _x64) {
3204
3240
  return _getJsonData.apply(this, arguments);
3205
3241
  }
3206
3242
 
@@ -3250,7 +3286,7 @@ var OroClient = /*#__PURE__*/function () {
3250
3286
  }, _callee19, this);
3251
3287
  }));
3252
3288
 
3253
- function getBytesData(_x61, _x62, _x63) {
3289
+ function getBytesData(_x65, _x66, _x67) {
3254
3290
  return _getBytesData.apply(this, arguments);
3255
3291
  }
3256
3292
 
@@ -3388,7 +3424,7 @@ var OroClient = /*#__PURE__*/function () {
3388
3424
  }, _callee20, this);
3389
3425
  }));
3390
3426
 
3391
- function getGrants(_x64) {
3427
+ function getGrants(_x68) {
3392
3428
  return _getGrants.apply(this, arguments);
3393
3429
  }
3394
3430
 
@@ -3488,7 +3524,7 @@ var OroClient = /*#__PURE__*/function () {
3488
3524
  }, _callee22, this);
3489
3525
  }));
3490
3526
 
3491
- function getCachedSecretCryptor(_x65, _x66) {
3527
+ function getCachedSecretCryptor(_x69, _x70) {
3492
3528
  return _getCachedSecretCryptor.apply(this, arguments);
3493
3529
  }
3494
3530
 
@@ -3527,7 +3563,7 @@ var OroClient = /*#__PURE__*/function () {
3527
3563
  }, _callee23, this);
3528
3564
  }));
3529
3565
 
3530
- function getPersonalInformationsFromConsultId(_x67, _x68, _x69) {
3566
+ function getPersonalInformationsFromConsultId(_x71, _x72, _x73) {
3531
3567
  return _getPersonalInformationsFromConsultId.apply(this, arguments);
3532
3568
  }
3533
3569
 
@@ -3565,7 +3601,7 @@ var OroClient = /*#__PURE__*/function () {
3565
3601
  }, _callee24, this);
3566
3602
  }));
3567
3603
 
3568
- function getMedicalDataFromConsultId(_x70, _x71) {
3604
+ function getMedicalDataFromConsultId(_x74, _x75) {
3569
3605
  return _getMedicalDataFromConsultId.apply(this, arguments);
3570
3606
  }
3571
3607
 
@@ -3658,7 +3694,7 @@ var OroClient = /*#__PURE__*/function () {
3658
3694
  }, _callee25);
3659
3695
  }));
3660
3696
 
3661
- return function (_x75) {
3697
+ return function (_x79) {
3662
3698
  return _ref3.apply(this, arguments);
3663
3699
  };
3664
3700
  }()));
@@ -3699,7 +3735,7 @@ var OroClient = /*#__PURE__*/function () {
3699
3735
  }, _callee26, this);
3700
3736
  }));
3701
3737
 
3702
- function getMetaCategoryFromConsultId(_x72, _x73, _x74) {
3738
+ function getMetaCategoryFromConsultId(_x76, _x77, _x78) {
3703
3739
  return _getMetaCategoryFromConsultId.apply(this, arguments);
3704
3740
  }
3705
3741
 
@@ -3786,7 +3822,7 @@ var OroClient = /*#__PURE__*/function () {
3786
3822
  }, _callee27, this);
3787
3823
  }));
3788
3824
 
3789
- function getPersonalInformations(_x76) {
3825
+ function getPersonalInformations(_x80) {
3790
3826
  return _getPersonalInformations.apply(this, arguments);
3791
3827
  }
3792
3828
 
@@ -3835,7 +3871,7 @@ var OroClient = /*#__PURE__*/function () {
3835
3871
  }, _callee28, this);
3836
3872
  }));
3837
3873
 
3838
- function getGrantFromConsultId(_x77) {
3874
+ function getGrantFromConsultId(_x81) {
3839
3875
  return _getGrantFromConsultId.apply(this, arguments);
3840
3876
  }
3841
3877
 
@@ -3885,7 +3921,7 @@ var OroClient = /*#__PURE__*/function () {
3885
3921
  }, _callee29, this);
3886
3922
  }));
3887
3923
 
3888
- function getIdentityFromConsultId(_x78) {
3924
+ function getIdentityFromConsultId(_x82) {
3889
3925
  return _getIdentityFromConsultId.apply(this, arguments);
3890
3926
  }
3891
3927
 
@@ -3964,7 +4000,7 @@ var OroClient = /*#__PURE__*/function () {
3964
4000
  }, _callee30);
3965
4001
  }));
3966
4002
 
3967
- return function (_x84) {
4003
+ return function (_x88) {
3968
4004
  return _ref4.apply(this, arguments);
3969
4005
  };
3970
4006
  }())).then(function (manifest) {
@@ -3980,7 +4016,7 @@ var OroClient = /*#__PURE__*/function () {
3980
4016
  }, _callee31, this);
3981
4017
  }));
3982
4018
 
3983
- function getLockboxManifest(_x79, _x80, _x81, _x82, _x83) {
4019
+ function getLockboxManifest(_x83, _x84, _x85, _x86, _x87) {
3984
4020
  return _getLockboxManifest.apply(this, arguments);
3985
4021
  }
3986
4022
 
@@ -4050,7 +4086,7 @@ var OroClient = /*#__PURE__*/function () {
4050
4086
  }, _callee32, this);
4051
4087
  }));
4052
4088
 
4053
- function createPersonalInformations(_x85, _x86, _x87) {
4089
+ function createPersonalInformations(_x89, _x90, _x91) {
4054
4090
  return _createPersonalInformations.apply(this, arguments);
4055
4091
  }
4056
4092
 
@@ -4120,7 +4156,7 @@ var OroClient = /*#__PURE__*/function () {
4120
4156
  }, _callee33, this);
4121
4157
  }));
4122
4158
 
4123
- function createUserPreference(_x88, _x89, _x90) {
4159
+ function createUserPreference(_x92, _x93, _x94) {
4124
4160
  return _createUserPreference.apply(this, arguments);
4125
4161
  }
4126
4162
 
@@ -4188,7 +4224,7 @@ var OroClient = /*#__PURE__*/function () {
4188
4224
  }, _callee34, this);
4189
4225
  }));
4190
4226
 
4191
- function getDataFromGrant(_x91, _x92) {
4227
+ function getDataFromGrant(_x95, _x96) {
4192
4228
  return _getDataFromGrant.apply(this, arguments);
4193
4229
  }
4194
4230
 
@@ -4237,7 +4273,7 @@ var OroClient = /*#__PURE__*/function () {
4237
4273
  }, _callee35, this);
4238
4274
  }));
4239
4275
 
4240
- function getUserPreferenceFromConsultId(_x93) {
4276
+ function getUserPreferenceFromConsultId(_x97) {
4241
4277
  return _getUserPreferenceFromConsultId.apply(this, arguments);
4242
4278
  }
4243
4279
 
@@ -4288,7 +4324,7 @@ var OroClient = /*#__PURE__*/function () {
4288
4324
  }, _callee36, this);
4289
4325
  }));
4290
4326
 
4291
- function getUserPreference(_x94) {
4327
+ function getUserPreference(_x98) {
4292
4328
  return _getUserPreference.apply(this, arguments);
4293
4329
  }
4294
4330
 
@@ -4337,7 +4373,7 @@ var OroClient = /*#__PURE__*/function () {
4337
4373
  }, _callee37, this);
4338
4374
  }));
4339
4375
 
4340
- function getRecoveryDataFromConsultId(_x95) {
4376
+ function getRecoveryDataFromConsultId(_x99) {
4341
4377
  return _getRecoveryDataFromConsultId.apply(this, arguments);
4342
4378
  }
4343
4379
 
@@ -4388,7 +4424,7 @@ var OroClient = /*#__PURE__*/function () {
4388
4424
  }, _callee38, this);
4389
4425
  }));
4390
4426
 
4391
- function getRecoveryData(_x96) {
4427
+ function getRecoveryData(_x100) {
4392
4428
  return _getRecoveryData.apply(this, arguments);
4393
4429
  }
4394
4430
 
@@ -4446,7 +4482,7 @@ var OroClient = /*#__PURE__*/function () {
4446
4482
  }, _callee39);
4447
4483
  }));
4448
4484
 
4449
- return function (_x98) {
4485
+ return function (_x102) {
4450
4486
  return _ref5.apply(this, arguments);
4451
4487
  };
4452
4488
  }())).then(function (promise) {
@@ -4466,7 +4502,7 @@ var OroClient = /*#__PURE__*/function () {
4466
4502
  }, _callee40, this);
4467
4503
  }));
4468
4504
 
4469
- function getAssignedConsultations(_x97) {
4505
+ function getAssignedConsultations(_x101) {
4470
4506
  return _getAssignedConsultations.apply(this, arguments);
4471
4507
  }
4472
4508
 
@@ -4544,7 +4580,7 @@ var OroClient = /*#__PURE__*/function () {
4544
4580
  }, _callee41);
4545
4581
  }));
4546
4582
 
4547
- return function (_x101) {
4583
+ return function (_x105) {
4548
4584
  return _ref6.apply(this, arguments);
4549
4585
  };
4550
4586
  }()));
@@ -4560,7 +4596,7 @@ var OroClient = /*#__PURE__*/function () {
4560
4596
  }, _callee42, this);
4561
4597
  }));
4562
4598
 
4563
- function getPastConsultationsFromConsultId(_x99, _x100) {
4599
+ function getPastConsultationsFromConsultId(_x103, _x104) {
4564
4600
  return _getPastConsultationsFromConsultId.apply(this, arguments);
4565
4601
  }
4566
4602
 
@@ -4618,7 +4654,7 @@ var OroClient = /*#__PURE__*/function () {
4618
4654
  }, _callee43, this);
4619
4655
  }));
4620
4656
 
4621
- function getPatientConsultationData(_x102, _x103) {
4657
+ function getPatientConsultationData(_x106, _x107) {
4622
4658
  return _getPatientConsultationData.apply(this, arguments);
4623
4659
  }
4624
4660
 
@@ -4652,7 +4688,7 @@ var OroClient = /*#__PURE__*/function () {
4652
4688
  }, _callee44, this);
4653
4689
  }));
4654
4690
 
4655
- function getPatientPrescriptionsList(_x104) {
4691
+ function getPatientPrescriptionsList(_x108) {
4656
4692
  return _getPatientPrescriptionsList.apply(this, arguments);
4657
4693
  }
4658
4694
 
@@ -4686,7 +4722,7 @@ var OroClient = /*#__PURE__*/function () {
4686
4722
  }, _callee45, this);
4687
4723
  }));
4688
4724
 
4689
- function getPatientResultsList(_x105) {
4725
+ function getPatientResultsList(_x109) {
4690
4726
  return _getPatientResultsList.apply(this, arguments);
4691
4727
  }
4692
4728
 
@@ -4720,7 +4756,7 @@ var OroClient = /*#__PURE__*/function () {
4720
4756
  }, _callee46, this);
4721
4757
  }));
4722
4758
 
4723
- function getPatientTreatmentPlans(_x106) {
4759
+ function getPatientTreatmentPlans(_x110) {
4724
4760
  return _getPatientTreatmentPlans.apply(this, arguments);
4725
4761
  }
4726
4762
 
@@ -4756,7 +4792,7 @@ var OroClient = /*#__PURE__*/function () {
4756
4792
  }, _callee47, this);
4757
4793
  }));
4758
4794
 
4759
- function getPatientTreatmentPlanByUuid(_x107, _x108) {
4795
+ function getPatientTreatmentPlanByUuid(_x111, _x112) {
4760
4796
  return _getPatientTreatmentPlanByUuid.apply(this, arguments);
4761
4797
  }
4762
4798
 
@@ -4813,7 +4849,7 @@ var OroClient = /*#__PURE__*/function () {
4813
4849
  }, _callee48);
4814
4850
  }));
4815
4851
 
4816
- return function (_x112) {
4852
+ return function (_x116) {
4817
4853
  return _ref7.apply(this, arguments);
4818
4854
  };
4819
4855
  }()));
@@ -4831,7 +4867,7 @@ var OroClient = /*#__PURE__*/function () {
4831
4867
  }, _callee49, this);
4832
4868
  }));
4833
4869
 
4834
- function getPatientDocumentsList(_x109, _x110, _x111) {
4870
+ function getPatientDocumentsList(_x113, _x114, _x115) {
4835
4871
  return _getPatientDocumentsList.apply(this, arguments);
4836
4872
  }
4837
4873
 
@@ -4893,7 +4929,7 @@ var OroClient = /*#__PURE__*/function () {
4893
4929
  }, _callee50, this);
4894
4930
  }));
4895
4931
 
4896
- function recoverPrivateKeyFromSecurityQuestions(_x113, _x114, _x115, _x116) {
4932
+ function recoverPrivateKeyFromSecurityQuestions(_x117, _x118, _x119, _x120) {
4897
4933
  return _recoverPrivateKeyFromSecurityQuestions.apply(this, arguments);
4898
4934
  }
4899
4935
 
@@ -4941,7 +4977,7 @@ var OroClient = /*#__PURE__*/function () {
4941
4977
  }, _callee51, this);
4942
4978
  }));
4943
4979
 
4944
- function recoverPrivateKeyFromPassword(_x117, _x118) {
4980
+ function recoverPrivateKeyFromPassword(_x121, _x122) {
4945
4981
  return _recoverPrivateKeyFromPassword.apply(this, arguments);
4946
4982
  }
4947
4983
 
@@ -4981,7 +5017,7 @@ var OroClient = /*#__PURE__*/function () {
4981
5017
  }, _callee52, this);
4982
5018
  }));
4983
5019
 
4984
- function recoverPrivateKeyFromMasterKey(_x119, _x120) {
5020
+ function recoverPrivateKeyFromMasterKey(_x123, _x124) {
4985
5021
  return _recoverPrivateKeyFromMasterKey.apply(this, arguments);
4986
5022
  }
4987
5023
 
@@ -5032,7 +5068,7 @@ var OroClient = /*#__PURE__*/function () {
5032
5068
  }, _callee53, this);
5033
5069
  }));
5034
5070
 
5035
- function updateSecurityQuestions(_x121, _x122, _x123, _x124) {
5071
+ function updateSecurityQuestions(_x125, _x126, _x127, _x128) {
5036
5072
  return _updateSecurityQuestions.apply(this, arguments);
5037
5073
  }
5038
5074
 
@@ -5097,7 +5133,7 @@ var OroClient = /*#__PURE__*/function () {
5097
5133
  }, _callee54, this);
5098
5134
  }));
5099
5135
 
5100
- function updatePassword(_x125, _x126, _x127) {
5136
+ function updatePassword(_x129, _x130, _x131) {
5101
5137
  return _updatePassword.apply(this, arguments);
5102
5138
  }
5103
5139
 
@@ -5159,7 +5195,7 @@ var OroClient = /*#__PURE__*/function () {
5159
5195
  }, _callee55, this);
5160
5196
  }));
5161
5197
 
5162
- function updateMasterKey(_x128, _x129, _x130) {
5198
+ function updateMasterKey(_x132, _x133, _x134) {
5163
5199
  return _updateMasterKey.apply(this, arguments);
5164
5200
  }
5165
5201